]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
elf: Fix elf/tst-pldd with --enable-hardcoded-path-in-tests (BZ#24506)
[thirdparty/glibc.git] / ChangeLog
1 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2
3 * elf/tst-pldd.c (in_str_list): New function.
4 (do_test): Add default names for ld and libc as one option.
5
6 2019-05-02 Florian Weimer <fweimer@redhat.com>
7
8 misc: Add twalk_r function.
9 * include/search.h (__twalk_r): Declare.
10 * manual/examples/twalk.c: New file.
11 * manual/search.texi (Tree Search Function): Document twalk_r.
12 * misc/Versions (2.30): Export twalk_r.
13 (GLIBC_PRIVATE): Export __twalk_r.
14 * misc/search.h [__USE_GNU] (twalk_r): Declare.
15 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
16 (twalk_r): Add weak alias.
17 * misc/tst-tsearch.c (struct walk_trace_element): Define.
18 (walk_trace): New variable.
19 (struct twalk_with_twalk_r_closure): Define.
20 (twalk_with_twalk_r_action): New function.
21 (twalk_with_twalk_r): Likewise.
22 (walk_action): Call walk_trace_add.
23 (walk_tree_with): Rename from walk_tree. Add walk argument.
24 (walk_tree): New function.
25 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
26 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
27 Likewise.
28 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
29 Likewise.
30 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
31 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
32 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
33 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
34 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
35 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
36 Likewise.
37 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
38 Likewise.
39 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
40 Likewise.
41 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
42 (GLIBC_2.30): Likewise.
43 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
44 (GLIBC_2.30): Likewise.
45 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
46 (GLIBC_2.30): Likewise.
47 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
48 (GLIBC_2.30): Likewise.
49 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
50 Likewise.
51 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
52 (GLIBC_2.30): Likewise.
53 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
54 (GLIBC_2.30): Likewise.
55 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
56 (GLIBC_2.30): Likewise.
57 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
58 (GLIBC_2.30): Likewise.
59 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
60 Likewise.
61 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
62 Likewise.
63 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
64 Likewise.
65 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
66 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
67 Likewise.
68 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
69 Likewise.
70 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
71 Likewise.
72 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
73 Likewise.
74
75 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
76
77 Make mktime etc. compatible with __time64_t
78 Keep these functions compatible with Gnulib while adding
79 __time64_t support. The basic idea is to move private API
80 declarations from include/time.h to time/mktime-internal.h, since
81 the former file cannot easily be shared with Gnulib whereas the
82 latter can.
83 Also, do some other minor cleanup while in the neighborhood.
84 * include/time.h: Include stdbool.h, time/mktime-internal.h.
85 (__mktime_internal): Move this prototype to time/mktime-internal.h,
86 since Gnulib needs it.
87 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
88 Move these macros to time/mktime-internal.h, since Gnulib needs them.
89 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
90 (in_time_t_range): New static function.
91 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
92 so that glibc users are not tempted to use __time64_t.
93 * time/mktime-internal.h: Rewrite so that it does both glibc
94 and Gnulib work. Include time.h if not _LIBC.
95 (mktime_offset_t) [!_LIBC]: Define for gnulib.
96 (__time64_t): New type or macro, moved here from
97 posix/bits/types.h.
98 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
99 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
100 from include/time.h.
101 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
102 New macros, taken from GNulib.
103 (__mktime_internal): New prototype, moved here from include/time.h.
104 * time/mktime.c (mktime_min, mktime_max, convert_time)
105 (ranged_convert, __mktime_internal, __mktime64):
106 * time/timegm.c (__timegm64):
107 Use __time64_t, not time_t.
108 * time/mktime.c: Stop worrying about whether time_t is floating-point.
109 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
110 Rename from mktime.
111 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
112 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
113 for libc_hidden_def.
114 Include errno.h.
115 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
116 Rename from timegm.
117 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
118
119 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
120
121 [BZ #19444]
122 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
123 from `-Wmaybe-uninitialized'.
124 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
125
126 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
127
128 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
129 function.
130 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
131 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
132 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
133 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
134 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
136 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
138 Remove file.
139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
140 Likewise.
141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
142 Likewise.
143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
144 Likewise.
145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
146 New file.
147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
148 Likewise.
149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
150 Likewise.
151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
152 Likewise.
153 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
154 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
155 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
156 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
157 Likewise.
158 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
159 Likewise.
160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
161 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
162 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
163 file.
164 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
165 Likewise.
166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
167 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
168 * here.
169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
170 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
171 s_ceilf-power5+, and s_ceilf-ppc64.
172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
173 file.
174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
177 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
178 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
179 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
180 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
181
182 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
183 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
184 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
185
186 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
187
188 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
189 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
190 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
191 (sem_getvalue): Likewise.
192
193 2019-04-26 Florian Weimer <fweimer@redhat.com>
194
195 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
196 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
197
198 2019-04-26 Florian Weimer <fweimer@redhat.com>
199
200 Makeconfig: Move -Wl,-rpath-link options before library references.
201 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
202 (link-libc): Remove $(link-libc-rpath-link).
203
204 2019-04-25 Florian Weimer <fweimer@redhat.com>
205
206 * Makeconfig (+link-pie-before-libc): Remove $(CC).
207 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
208 (+link-static-before-libc): Remove $(CC).
209 (+link-static, +link-static-tests): Add $(CC).
210 (+link-before-libc): Remove $(CC).
211 (+link, +link-pie, +link-pie-printers): Add $(CC).
212
213 2019-04-26 Florian Weimer <fweimer@redhat.com>
214
215 * Makeconfig (+link-pie-before-libc): Remove $(CC).
216 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
217 (+link-static-before-libc): Remove $(CC).
218 (+link-static, +link-static-tests): Add $(CC).
219 (+link-before-libc): Remove $(CC).
220 (+link, +link-pie, +link-pie-printers): Add $(CC).
221
222 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
223
224 [BZ#24484]
225 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
226
227 2019-04-25 Florian Weimer <fweimer@redhat.com>
228
229 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
230 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
231 (bench-link-targets): New variable.
232 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
233
234 2019-04-25 Florian Weimer <fweimer@redhat.com>
235
236 Also enable BIND_NOW for programs if --enable-bind-now.
237 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
238 (+link-pie): Use $(link-extra-flags).
239 (+link-static): Likewise.
240 [! $(build-pie-default)] (+link): Likewise.
241 * manual/install.texi (Configuring and compiling): Update
242 --enable-bind-now description.
243 * INSTALL: Regenerated.
244
245 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
246
247 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
248 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
249
250 2019-04-24 Mike Frysinger <vapier@gentoo.org>
251
252 [BZ #18465]
253 * malloc/Makefile (others): Add memusagestat.
254 ($(objpfx)memusagestat): Delete rule.
255 (LDLIBS-memusagestat): New variable.
256
257 2019-04-24 Florian Weimer <fweimer@redhat.com>
258
259 * locale/Makefile (tests-special): Guard setting by
260 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
261 to run while cross-compiling.
262
263 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
264
265 [BZ #18035]
266 * elf/Makefile (tests-container): Add tst-pldd.
267 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
268 (E(find_maps)): Avoid use alloca, use default read file operations
269 instead of explicit LFS names, and fix infinite loop.
270 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
271 (get_process_info): Use _Static_assert instead of assert, use default
272 directory operations instead of explicit LFS names, and free some
273 leadek pointers.
274 * elf/tst-pldd.c: New file.
275
276 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
277
278 * malloc/arena.c (do_set_mallopt_check): Removed.
279
280 2019-04-23 Florian Weimer <fweimer@redhat.com>
281
282 locale: Add LOCPATH diagnostics to the locale program.
283 * locale/programs/locale.c (setlocale_failed): New variable.
284 (try_setlocale): New function.
285 (quote_string): Likewise.
286 (setlocale_diagnostics): Likewise.
287 (main): Call try_setlocale instead of setlocale. Call
288 setlocale_diagnostics.
289 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
290 (tst-locale-locpath.out): New target.
291 * locale/tst-locale-locpath.sh: New file.
292
293 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
294
295 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
296 to 2.30 notes.
297
298 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
299
300 [BZ #23741]
301 * malloc/hooks.c (malloc_check, realloc_check): Use
302 __builtin_add_overflow on overflow check and adapt to
303 checked_request2size change.
304 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
305 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
306 allocation size to PTRDIFF_MAX.
307 (REQUEST_OUT_OF_RANGE): Remove macro.
308 (checked_request2size): Change to inline function and limit maximum
309 requested size to PTRDIFF_MAX.
310 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
311 maximum allocation size to PTRDIFF_MAX.
312 (_mid_memalign): Use _int_memalign call for overflow check.
313 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
314 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
315 limit maximum requested size to PTRDIFF_MAX.
316 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
317 valloc, pvalloc): Add __attribute_alloc_size__.
318 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
319 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
320 larger than PTRDIFF_MAX.
321 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
322 around tests of malloc with negative sizes.
323 * malloc/tst-posix_memalign.c (do_test): Likewise.
324 * malloc/tst-pvalloc.c (do_test): Likewise.
325 * malloc/tst-valloc.c (do_test): Likewise.
326 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
327 with resulting size allocation larger than PTRDIFF_MAX with
328 reallocarray_nowarn.
329 (reallocarray_nowarn): New function.
330 * NEWS: Mention the malloc function semantic change.
331
332 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
333
334 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
335 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
336
337 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
338 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
339 * sysdeps/powerpc/fpu/s_fma.c: New file.
340 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
341
342 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
343 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
344
345 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
346 the magic flag store.
347 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
348 Likewise.
349 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
350 Likewise.
351 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
352 Remove rt_sigreturn call.
353
354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
355 Remove rt_sigreturn call.
356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
357 Likewise.
358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
360
361 * support/Makefile (libsupport-routines): Add support_subprocess,
362 xposix_spawn, xposix_spawn_file_actions_addclose, and
363 xposix_spawn_file_actions_adddup2.
364 (tst-support_capture_subprocess-ARGS): New rule.
365 * support/capture_subprocess.h (support_capture_subprogram): New
366 prototype.
367 * support/support_capture_subprocess.c (support_capture_subprocess):
368 Refactor to use support_subprocess and support_capture_poll.
369 (support_capture_subprogram): New function.
370 * support/tst-support_capture_subprocess.c (write_mode_to_str,
371 str_to_write_mode, test_common, parse_int, handle_restart,
372 do_subprocess, do_subprogram, do_multiple_tests): New functions.
373 (do_test): Add support_capture_subprogram tests.
374 * support/subprocess.h: New file.
375 * support/support_subprocess.c: Likewise.
376 * support/xposix_spawn.c: Likewise.
377 * support/xposix_spawn_file_actions_addclose.c: Likewise.
378 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
379 * support/xspawn.h: Likewise.
380
381 2019-04-17 Mike Gerow <gerow@google.com>
382
383 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
384 groups limit.
385
386 2019-04-11 Florian Weimer <fweimer@redhat.com>
387
388 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
389 domain with empty string.
390 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
391
392 2019-04-11 Florian Weimer <fweimer@redhat.com>
393
394 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
395 comment.
396 (alloc_buffer_next): Change return type to non-const. Update
397 comment.
398
399 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
400
401 * manual/time.texi (Formatting Calendar Time): Add missing percent
402 sign to conversion specifier.
403
404 2019-04-09 Carlos O'Donell <carlos@redhat.com>
405 Kwok Cheung Yeung <kcy@codesourcery.com>
406
407 [BZ #16573]
408 * malloc/mtrace.c: Define prototypes for all hooks.
409 (set_default_hooks): New function.
410 (set_trace_hooks): Likewise.
411 (save_default_hooks): Likewise.
412 (tr_freehook): Use new s*_hooks functions.
413 (tr_mallochook): Likewise.
414 (tr_reallochook): Likewise.
415 (tr_memalignhook): Likewise.
416 (mtrace): Likewise.
417 (muntrace): Likewise.
418
419 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
420
421 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
422 (generic_stpcpy): New function.
423 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
424 (generic_stpncpy): New function.
425 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
426 (generic_strcat): New function.
427 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
428 (generic_strcpy): New function.
429 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
430 (STUPID_STRNCAT): Remove function.
431 (generic_strncat): New function.
432 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
433 (STUPID_STRNCPY): Remove function.
434 (generic_strncpy): New function.
435 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
436 (generic_strnlen): New function.
437 (memchr_strnlen): New function.
438 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
439 (memchr_strlen): Likewise.
440
441 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
442
443 * benchtests/bench-strstr.c (input): Add realistic input text.
444 (stupid_strstr): Remove function.
445 (basic_strstr): Add function.
446 (twoway_strstr): Add function.
447 (do_one_test): Add result checking.
448 (do_test): Use new input text. Remove accidental early matches.
449 (test_main): Improve range of tests, reduce unaligned cases.
450
451 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
452
453 * benchtests/bench-memmem.c (simple_memmem): Remove function.
454 (basic_memmem): Add function.
455 (twoway_memmem): Add function.
456
457 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
458
459 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
460 * benchtests/bench-malloc-thread.c: Likewise.
461 * benchtests/bench-skeleton.c: Likewise.
462 * benchtests/bench-strtod.c: Likewise.
463 * benchtests/bench-timing.h: Likewise.
464
465 2019-04-08 Florian Weimer <fweimer@redhat.com>
466
467 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
468 definitions.
469 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
470 RES_INSECURE2 security checks.
471 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
472 RES_INSECURE2 handling.
473
474 2019-04-08 Florian Weimer <fweimer@redhat.com>
475
476 resolv: Remove support for RES_USE_INET6 and the inet6 option.
477 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
478 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
479 GETHOSTBYNAME.
480 * resolv/Makefile (tests): Remove tst-res_use_inet6.
481 (tests-internal): Update justification for tst-resolv-res_init,
482 tst-resolv-res_init-thread.
483 (tst-res_use_inet6): Remove target.
484 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
485 * resolv/res_debug.c (p_option): Remove "inet6" support.
486 * resolv/res_init.c (res_setoptions): Likewise.
487 * resolv/res_use_inet6.h: Remove file.
488 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
489 definition.
490 (res_use_inet6): Always return false.
491 * resolv/resolv.h (RES_USE_INET6): Remove definition.
492 * resolv/resolv_context.h: Adjust file comment.
493 (struct resolv_context): Update comment on __next field.
494 (__resolv_context_put): Update comment.
495 * resolv/tst-res_use_inet6.c: Remove file.
496 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
497 "inet6" support.
498 (test_cases): Adjust test case.
499 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
500 (thread_byname2_af_inet6): Use old byname_inet6 code.
501 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
502 (gai): Remove do_inet6 argument.
503 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
504 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
505 (thread_gai_unspec_inet6): Remove functions.
506 (do_test): Adjust thread_funcs.
507 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
508 RES_USE_INET6 flag.
509 (gaih_inet): Do not disable RES_USE_INET6 flag.
510
511 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
512
513 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
514 and remove redundant code.
515
516 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
517
518 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
519 New rule.
520 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
521 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
522 Likewise.
523 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
524 Likewise.
525 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
526 Likewise.
527 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
528 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
529 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
530 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
531 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
532 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
533 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
534 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
535 wcsrchr-power7.
536 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
538 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
539 Remove wcsrchr optimizations.
540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
541
542 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
543 the loop unroll.
544
545 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
546 New rule.
547 * sysdeps/powerpc/power6/wcschr.c: Remove file.
548 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
549 Likewise.
550 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
551 Likewise.
552 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
553 Likewise.
554 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
555 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
556 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
557 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
558 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
559 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
561 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
562 wcschr-power7.
563 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
566 Remove wcschr optimizations.
567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
568
569 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
570 the loop unroll.
571
572 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
573 New rule.
574 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
575 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
576 Likewise.
577 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
578 Likewise.
579 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
580 Likewise.
581 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
582 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
583 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
584 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
585 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
586 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
587 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
588 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
589 wcscpy-power7.
590 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
592 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
593 Remove wcscpy optimizations.
594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
595
596 * include/loop_unroll.h: New file.
597 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
598 besides generic implementation.
599
600 2019-04-03 DJ Delorie <dj@redhat.com>
601
602 * time/tst-strftime3.c (tm_to_printed): Disable warning about
603 snprintf truncating output.
604
605 2019-04-02 DJ Delorie <dj@redhat.com>
606
607 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
608 warning.
609
610 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
611
612 [BZ #22964]
613 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
614 era.
615 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
616 (mkreftable): Add rules for the new Japanese era and the new dates.
617
618 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
619 Rafal Luzynski <digitalfreak@lingonborough.com>
620
621 * time/tst-strftime2.c (date_t): Explicitly define the type.
622 (dates): Use natural month and year numbers to express a date.
623 (is_before): New function to compare dates.
624 (mkreftable): Minor improvements to simplify maintenance.
625 (do_test): Reflect the changes in dates array.
626
627 [BZ #24293]
628 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
629 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
630 * time/tst-strftime2.c (locales): Likewise.
631 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
632 2010-04-01, and 2011-04-01.
633 (mkreftable): Add rules for the new locales and the new dates.
634
635 2019-04-01 Carlos O'Donell <carlos@redhat.com>
636
637 * localedata/locales/ja_JP: Add comments to era entries.
638
639 2019-04-01 DJ Delorie <dj@redhat.com>
640
641 [BZ #24394]
642 * time/strptime_l.c (%Ey): Fix fencepost error.
643 * time/tst-strftime3.c: New.
644 * time/Makefile (tests): Add tst-strftime3.
645
646 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
647
648 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
649 conditional branch to DIVBYZERO. Fix unwind info.
650 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
651 excb after conditional branch to $powerof2. Add missing unop
652 instructions and .align directives and reorder instructions to
653 match __divqu.
654
655 2019-04-01 Richard Henderson <rth@twiddle.net>
656
657 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
658 Do not redefine.
659 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
660 Do not redefine.
661
662 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
663
664 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
665 $libc_cv_riscv_float_abi in `test' invocation.
666 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
667
668 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
669
670 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
671 asm with builtin.
672 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
673 Likewise.
674 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
675 (_GET_SI_FPSCR): Likewise.
676 (_SET_SI_FPSCR): Likewise.
677
678 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
679
680 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
681 clang 2.8.
682 (signbit): Use builtin for clang 3.3.
683 (isinf): Use builtin for clang 3.7.
684
685 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
686
687 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
688
689 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
690
691 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
692 quote in printf.
693
694 2019-03-25 Mike Crowe <mac@mcrowe.com>
695
696 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
697 pthread_rwlock_timedrdlock with calls to
698 pthread_rwlock_timedwrlock to ensure that the latter is tested
699 too. Use new function name in diagnostic messages too.
700
701 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
702 (do_test) Use libsupport test macros rather than hand-coded
703 conditionals and error messages. Ensure that sem_init returns zero
704 rather than not -1. Use <support/test-driver.c> rather than
705 test-skeleton.c.
706
707 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
708 test macros rather than hand-coded conditionals and error messages.
709 Use <support/test-driver.c> rather than test-skeleton.c.
710
711 2019-03-25 Joseph Myers <joseph@codesourcery.com>
712
713 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
714
715 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
716 (NT_MIPS_MSA): Likewise.
717
718 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
719
720 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
721 * benchtests/README: Update description.
722 * benchtests/bench-timing.h: Default to hp-timing.
723 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
724 HP_TIMING_PRINT): Remove.
725 (HP_TIMING_NOW): Add generic implementation.
726 (hp_timing_t): Change to uint64_t.
727
728 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
729 HP_TIMING_INLINE.
730 * nptl/descr.h: Likewise.
731 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
732 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
733 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
734 Abstract hp-timing usage with RTLD_* macros.
735 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
736 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
737 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
738 HP_TIMING_NONAVAIL): Likewise.
739 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
740 Likewise.
741 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
742 HP_SMALL_TIMING_AVAIL): Likewise.
743 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
744 HP_SMALL_TIMING_AVAIL): Likewise.
745 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
746 HP_SMALL_TIMING_AVAIL): Likewise.
747 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
748 HP_SMALL_TIMING_AVAIL): Likewise.
749 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
750 Likewise.
751 * sysdeps/generic/hp-timing-common.h: Update comment with
752 HP_TIMING_AVAIL removal.
753
754 * include/random-bits.h: New file.
755 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
756 (__res_context_mkquery): Remove usage hp-timing usage and replace with
757 random_bits.
758 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
759 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
760 Likewise.
761
762 * include/libc-internal.h (__get_clockfreq): Remove prototype.
763 * rt/Makefile (clock-routines): Remove get_clockfreq.
764 * rt/get_clockfreq.c: Remove file.
765 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
766 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
767 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
768 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
769 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
770
771 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
772 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
773 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
774 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
775 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
776
777 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
778 pthread_clock_settime.
779 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
780 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
781 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
782 * elf/rtld.c (_dl_start_final): Likewise.
783 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
784 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
785 Remove.
786 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
787 (_dl_cpuclock_offset): Remove.
788 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
789 cpuclock_offset_ununsed.
790 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
791 cpuclock_offset set.
792 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
793 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
794 * nptl/pthread_clock_gettime.c: Remove file.
795 * nptl/pthread_clock_settime.c: Likewise.
796 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
797 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
798 and CLOCK_PROCESS_CPUTIME_ID support.
799 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
800 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
801 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
802 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
803 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
804 Likewise.
805 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
806
807 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
808
809 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
810 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
811 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
812 New defines.
813 * sysdeps/s390/memmem-arch13.S: New file.
814 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
815 if it is only used as fallback.
816 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
817 * sysdeps/s390/multiarch/ifunc-impl-list.c
818 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
819
820 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
821
822 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
823 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
824 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
825 New defines.
826 * sysdeps/s390/multiarch/ifunc-impl-list.c
827 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
828 * sysdeps/s390/strstr-arch13.S: New file.
829 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
830 if it is only used as fallback.
831 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
832
833 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
834
835 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
836 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
837 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
838 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
839 ifunc selector.
840 * sysdeps/s390/multiarch/ifunc-impl-list.c
841 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
842 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
843 S390_IS_ARCH13_MIE3): New defines.
844
845 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
846
847 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
848 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
849 * sysdeps/s390/configure.ac: Add checks for arch13 support.
850 * sysdeps/s390/configure: Regenerated.
851
852 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
853
854 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
855 Add vxe2, vxp, dflt, sort flags.
856 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
857 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
858 capabilities.
859 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
860 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
861 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
862 HWCAP_S390_DFLT): Define.
863
864 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
865
866 [BZ #24372]
867 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
868 of compiler warning.
869 * locale/programs/ld-collate.c (collate_output): Likewise.
870
871 2019-03-21 DJ Delorie <dj@redhat.com>
872
873 [BZ #24372]
874 * iconv/iconvconfig.c (write_output): Replace floating point math
875 with integer math to avoid imprecise results.
876 * locale/programs/ld-collate.c (collate_output): Likewise.
877
878 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
879
880 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
881 Add HWCAP_S390_VX and HWCAP_S390_VXE.
882
883 2019-03-20 mansayk <6688000@gmail.com>
884
885 [BZ #24296]
886 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
887 (abday): Likewise, but remove the trailing dots.
888
889 2019-03-19 Joseph Myers <joseph@codesourcery.com>
890
891 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
892 macro.
893 (HWCAP_PACA): Likewise.
894 (HWCAP_PACG): Likewise.
895 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
896 Increase to 32.
897 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
898
899 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
900
901 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
902 should be handled.
903
904 2019-03-15 Joseph Myers <joseph@codesourcery.com>
905
906 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
907 version to 5.0.
908 (old_getpagesize): New syscall.
909
910 2019-03-15 Felix Yan <felixonmars@archlinux.org>
911
912 [BZ #24293]
913 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
914 * localedata/locales/cmn_TW (era): Likewise.
915 * localedata/locales/hak_TW (era): Likewise.
916 * localedata/locales/lzh_TW (era): Likewise.
917 * localedata/locales/nan_TW (era): Likewise.
918
919 2019-03-14 Florian Weimer <fweimer@redhat.com>
920
921 Remove obsolete, never-implemented XSI STREAMS declarations.
922 * manual/terminal.texi (Allocation): Remove portability note and
923 adjust example.
924 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
925 _SC_STREAMS.
926 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
927 * sysdeps/unix/inet/Subdirs (streams): Remove.
928 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
929 (conformtest-headers-UNIX98): Likewise.
930 (conformtest-headers-XOPEN2K): Likewise.
931 (conformtest-headers-POSIX2008): Likewise.
932 * posix/compat-streams.c: New file.
933 * posix/Makefile (routines): Add it.
934 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
935 getpmsg, isastream, putmsg, putpmsg.
936 (GLIBC_2.30): New section.
937 * bits/stropts.h: Remove file.
938 * bits/xtitypes.h: Likewise.
939 * conform/data/stropts.h-data: Likewise.
940 * include/stropts.h: Likewise.
941 * include/sys/stropts.h: Likewise.
942 * include/xtitypes.h: Likewise.
943 * streams/Makefile: Likewise.
944 * streams/fattach.c: Likewise.
945 * streams/fdetach.c: Likewise.
946 * streams/getmsg.c: Likewise.
947 * streams/getpmsg.c: Likewise.
948 * streams/isastream.c: Likewise.
949 * streams/putmsg.c: Likewise.
950 * streams/putpmsg.c: Likewise.
951 * streams/stropts.h: Likewise.
952 * streams/sys/stropts.h: Likewise.
953 * sysdeps/ia64/bits/xtitypes.h: Likewise.
954 * sysdeps/s390/bits/xtitypes.h: Likewise.
955 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
956 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
957 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
958 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
959 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
960 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
961 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
962 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
963 * sysdeps/x86/bits/xtitypes.h: Likewise.
964
965 2019-03-14 Florian Weimer <fweimer@redhat.com>
966
967 * nss/tst-nss-files-alias-truncated.c (do_test): Load
968 libnss_files.
969 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
970 but not with libnss_files.
971 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
972
973 2019-03-14 Zack Weinberg <zackw@panix.com>
974
975 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
976 Specify encoding="utf-8" when opening headers to check.
977
978 2019-03-13 Joseph Myers <joseph@codesourcery.com>
979
980 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
981 version to 5.0.
982 (Context.checkout_tar): Handle variable major version for Linux
983 kernel.
984
985 2019-03-13 Florian Weimer <fweimer@redhat.com>
986
987 [BZ #24047]
988 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
989
990 2019-03-13 Zack Weinberg <zackw@panix.com>
991
992 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
993 Move to stdlib.
994 * include/inttypes.h: Adjust to match.
995 * include/stdint.h: New wrapper.
996
997 2019-03-13 Zack Weinberg <zackw@panix.com>
998
999 * scripts/check-obsolete-constructs.py: New test script.
1000 * scripts/check-installed-headers.sh: Remove tests for
1001 obsolete typedefs, superseded by check-obsolete-constructs.py.
1002 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1003 as a special test. Update commentary.
1004 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1005 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1006 Update commentary.
1007 * posix/sys/types.h (__u_intN_t): Remove.
1008 (u_int8_t): Typedef using __uint8_t.
1009 (u_int16_t): Typedef using __uint16_t.
1010 (u_int32_t): Typedef using __uint32_t.
1011 (u_int64_t): Typedef using __uint64_t.
1012
1013 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
1014
1015 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1016 call _dl_procinfo.
1017 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1018 Ignore types other than AT_HWCAP.
1019 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1020 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1021 Likewise.
1022 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1023 in the case of falling back to generic output mechanism.
1024 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1025 Likewise.
1026
1027 2019-03-12 Florian Weimer <fweimer@redhat.com>
1028
1029 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1030
1031 2019-03-12 Florian Weimer <fweimer@redhat.com>
1032
1033 [BZ #24047]
1034 resolv: Enable full ICMP errors for UDP DNS sockets
1035 * resolv/res_enable_icmp.c: New file.
1036 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1037 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1038 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1039 socket.
1040
1041 2019-03-11 Mao Han <han_mao@c-sky.com>
1042
1043 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1044 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1045
1046 2019-03-11 Mao Han <han_mao@c-sky.com>
1047
1048 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1049 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1050 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1051
1052 2019-03-11 Mao Han <han_mao@c-sky.com>
1053
1054 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1055 directly.
1056 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1057 definition.
1058
1059 2019-03-11 Mao Han <han_mao@c-sky.com>
1060
1061 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1062 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1063 in mcontext_t
1064
1065 2019-03-08 Mike FABIAN <mfabian@redhat.com>
1066
1067 [BZ #24307]
1068 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1069 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1070 Unicode 12.0.0.
1071 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1072 * localedata/unicode-gen/PropList.txt: Likewise.
1073 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1074 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1075 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1076 * localedata/charmaps/UTF-8: Regenerate.
1077 * localedata/locales/i18n_ctype: Likewise.
1078 * localedata/locales/tr_TR: Likewise.
1079 * localedata/locales/translit_circle: Likewise.
1080 * localedata/locales/translit_cjk_compat: Likewise.
1081 * localedata/locales/translit_combining: Likewise.
1082 * localedata/locales/translit_compat: Likewise.
1083 * localedata/locales/translit_font: Likewise.
1084 * localedata/locales/translit_fraction: Likewise.
1085
1086 2019-03-07 Joseph Myers <joseph@codesourcery.com>
1087
1088 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1089 than after operators.
1090 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1091 (setitimer_locked): Likewise.
1092 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1093 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1094 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1095 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1096 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1097 (PPC_CPU_SUPPORTED): Likewise.
1098 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1099 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1100 (stat_overflow): Likewise.
1101 (statfs_overflow): Likewise.
1102 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1103 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1104 (eq_ttyname_r): Likewise.
1105 (run_chroot_tests): Likewise.
1106
1107 2019-03-07 Florian Weimer <fweimer@redhat.com>
1108
1109 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1110 header check.
1111
1112 2019-03-07 Martin Liska <mliska@suse.cz>
1113
1114 * math/Makefile: Change location where math-vector-fortran.h is
1115 installed.
1116 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1117 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1118 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1119 * scripts/check-installed-headers.sh: Skip Fortran header files.
1120 * scripts/check-wrapper-headers.py: Likewise.
1121
1122 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1123
1124 * nptl/nptl-init.c (__have_futex_clock_realtime,
1125 __have_futex_clock_realtime): Remove definition.
1126 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1127 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1128 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1129 __ASSUME_FUTEX_CLOCK_REALTIME support.
1130 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1131 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1132 * sysdeps/unix/sysv/linux/kernel-features.h
1133 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1134 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1135 Adjust comment.
1136
1137 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1138
1139 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1140 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1141 __GI___wcscpy and wcscpy.
1142
1143 2019-03-04 Florian Weimer <fweimer@redhat.com>
1144
1145 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1146 declaration.
1147 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1148 defined.
1149
1150 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
1151
1152 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1153 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1154
1155 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1156
1157 [BZ #24162]
1158 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1159 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1160
1161 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1162
1163 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1164 tests.
1165 (do_test): Likewise.
1166 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1167 (do_test_call_varg): Likewise.
1168 (do_test_call_rarg): Likewise.
1169 * sysdeps/ieee754/ldbl-opt/Makefile
1170 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1171 tst-nldbl-error.
1172 ($(objpfx)tst-nldbl-warn.c): New rule.
1173 ($(objpfx)tst-nldbl-error.c): Likewise.
1174 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1175 New variables.
1176
1177 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1178
1179 [BZ #23984]
1180 * include/bits/error-ldbl.h: New file.
1181 * include/error.h: Include stdarg.h. Declare internal functions
1182 __error_internal and __error_at_line_internal.
1183 * misc/Makefile (headers): Add bits/error-ldbl.h.
1184 * misc/bits/error-ldbl.h: New file.
1185 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1186 avoid the inclusion of bits/error.h.
1187 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1188 and __nldbl_error_at_line.
1189 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1190 (__nldbl_error, __ndlbl_error_at_line): New functions.
1191 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1192 Redirect error and error_at_line.
1193 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1195 Likewise.
1196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1197 Likewise.
1198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1199 Likewise.
1200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1201 Likewise.
1202 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1203 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1204 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1205
1206 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1207
1208 [BZ #23984]
1209 * include/bits/err-ldbl.h: New file.
1210 * include/err.h: Add prototypes for the internal functions:
1211 __vwarnx_internal and __vwarn_internal.
1212 * misc/Makefile (headers): Add bits/err-ldbl.h.
1213 * misc/bits/err-ldbl.h: New file.
1214 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1215 defined, i.e.: when -mlong-double-64 is in use.
1216 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1217 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1218 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1219 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1220 (VA_CALL): New macro.
1221 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1222 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1223 functions.
1224 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1225 declare prototypes for the new functions.
1226 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1228 Likewise.
1229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1230 Likewise.
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1232 Likewise.
1233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1234 Likewise.
1235 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1236 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1237 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1238
1239 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1240
1241 * sysdeps/ieee754/ldbl-opt/Makefile
1242 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1243 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1244 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1245
1246 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1247
1248 [BZ #23983]
1249 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1250 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1251 * argp/bits/argp-ldbl.h: New file.
1252 * include/argp.h: Include stdarg.h. Add prototypes for internal
1253 functions: __argp_error_internal and __argp_failure_internal.
1254 * include/bits/argp-ldbl.h: New file.
1255 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1256 __nldbl_argp_error and __nldbl_argp_failure.
1257 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1258 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1259 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1260 Redirect argp_error and argp_failure calls.
1261 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1263 Likewise.
1264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1265 Likewise.
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1267 Likewise.
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1269 Likewise.
1270 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1271 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1272 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1273
1274 2019-03-01 Florian Weimer <fweimer@redhat.com>
1275
1276 [BZ #20419]
1277 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1278 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1279 code, to avoid creating an ABI tag note.
1280 (modules-names-nobuild): Add tst-big-note-lib.
1281
1282 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
1283
1284 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1285 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1286
1287 2019-03-01 Florian Weimer <fweimer@redhat.com>
1288
1289 [BZ #20271]
1290 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1291 (__netlink_assert_response): Add additional missing newlines.
1292
1293 2019-02-28 Joseph Myers <joseph@codesourcery.com>
1294
1295 * sysdeps/powerpc/powerpc32/dl-machine.c
1296 (__elf_machine_fixup_plt): Use space before '('.
1297 (__process_machine_rela): Likewise.
1298 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1299 Likewise.
1300 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1301 Likewise.
1302 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1303 Likewise.
1304 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1305 (pattern): Likewise.
1306 (delta): Likewise.
1307 (check_result): Likewise.
1308 (check_excepts): Likewise.
1309 (check_op): Likewise.
1310 (fail_xr): Likewise.
1311 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1312 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1313 (SCNHSZ): Likewise.
1314 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1315 Likewise.
1316 (ARGS): Likewise.
1317 (__makecontext): Likewise.
1318 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1319 Likewise.
1320
1321 2019-02-28 Florian Weimer <fweimer@redhat.com>
1322
1323 [BZ #23937]
1324 elf: Add test with a local IFUNC resolver.
1325 * elf/ifuncmain9.c: New file.
1326 * elf/ifuncmain9pic.c: Likewise.
1327 * elf/ifuncmain9picstatic.c: Likewise.
1328 * elf/ifuncmain9pie.c: Likewise.
1329 * elf/ifuncmain9static.c: Likewise.
1330 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1331 ifuncmain9static, ifuncmain9picstatic.
1332 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1333 Add ifuncmain9, ifuncmain9pic.
1334 * elf/Makefile [multi-arch && build-shared && have-fpie]
1335 (ifunc-pie-tests): Add ifuncmain9pie.
1336 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1337 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1338 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1339
1340 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1341
1342 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1343 * configure: Regenerated.
1344 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1345
1346 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1347
1348 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1349 symbol as __wcspcy instead of wcscpy.
1350
1351 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1352
1353 * include/stdio.h (__renameat2): New hidden prototype.
1354 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1355 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1356 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1357 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1358
1359 2019-02-27 Joseph Myers <joseph@codesourcery.com>
1360
1361 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1362 if statement.
1363
1364 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1365 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1366 * benchtests/bench-strlen.c (do_test): Likewise.
1367 (test_main): Likewise.
1368 * catgets/gencat.c (read_old): Likewise.
1369 * elf/cache.c (load_aux_cache): Likewise.
1370 * iconvdata/bug-iconv8.c (do_test): Likewise.
1371 * math/test-tgmath-ret.c (do_test): Likewise.
1372 * nis/nis_call.c (rec_dirsearch): Likewise.
1373 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1374 * nptl/tst-audit-threads.c (do_test): Likewise.
1375 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1376 * nss/nss_test1.c (init): Likewise.
1377 * nss/test-netdb.c (test_hosts): Likewise.
1378 * posix/execvpe.c (maybe_script_execute): Likewise.
1379 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1380 * stdio-common/tst-printf.c (do_test): Likewise.
1381 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1382 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1383 * stdlib/qsort.c (STACK_SIZE): Likewise.
1384 * stdlib/test-canon.c (do_test): Likewise.
1385 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1386 * string/memcmp.c (OPSIZ): Likewise.
1387 * string/test-strcpy.c (do_test): Likewise.
1388 (do_random_tests): Likewise.
1389 * string/test-strlen.c (do_test): Likewise.
1390 (test_main): Likewise.
1391 * string/test-strrchr.c (do_test): Likewise.
1392 (do_random_tests): Likewise.
1393 * string/tester.c (test_memrchr): Likewise.
1394 (test_memchr): Likewise.
1395 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1396 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1397 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1398 (read_encoded_value_with_base): Likewise.
1399 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1400 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1401 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1402 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1403 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1404 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1405 Likewise.
1406 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1407 Likewise.
1408 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1409 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1410 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1411 Likewise.
1412 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1413 Likewise.
1414 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1415 Likewise.
1416 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1417 Likewise.
1418 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1419 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1420 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1421 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1422 * time/test_time.c (main): Likewise.
1423
1424 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1425
1426 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1427
1428 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1429 wmemcpy.
1430
1431 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1432 wmemcpy.
1433
1434 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1435
1436 * include/wchar.h (__wcscpy): New prototype.
1437 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1438 (__wcscpy): Route internal symbol to generic implementation.
1439 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1440 Add internal __wcscpy alias.
1441 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1442 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1443 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1444 * wcsmbs/wcscpy.c (wcscpy): Add
1445 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1446 use generic implementation.
1447 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1448
1449 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1450 wmemset.
1451
1452 * sysdeps/m68k/wcpcpy.c: Remove file.
1453 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1454
1455 2019-02-26 Joseph Myers <joseph@codesourcery.com>
1456
1457 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1458 than after operators.
1459 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1460 * sysdeps/mach/hurd/getcwd.c
1461 (__hurd_canonicalize_directory_name_internal): Likewise.
1462 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1463 (pthread_mutex_consistent): Likewise.
1464 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1465 Likewise.
1466 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1467 (__pthread_mutex_transfer_np): Likewise.
1468 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1469 (__pthread_mutex_unlock): Likewise.
1470 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1471 (mtx_owned_p): Likewise.
1472 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1473 (pthread_mutexattr_getrobust): Likewise.
1474 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1475 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1476 Likewise.
1477 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1478 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1479 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1480 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1481 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1482 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1483 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1484 Likewise.
1485 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1486 Likewise.
1487 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1488 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1489 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1490 (____longjmp_chk): Likewise.
1491 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1492 Likewise.
1493 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1494 (INTERNAL_SYSCALL): Likewise.
1495 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1496 (INTERNAL_SYSCALL): Likewise.
1497 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1498 (__get_clockfreq_via_cpuinfo): Likewise.
1499
1500 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1501 comments.
1502 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1503 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1504 (WORD_COPY_BWD): Likewise.
1505 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1506 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1507 Likewise.
1508 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1509 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1510 comment.
1511 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1512
1513 2019-02-25 Joseph Myers <joseph@codesourcery.com>
1514
1515 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1516 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1517 rather than after operators.
1518 * elf/cache.c (print_cache): Likewise.
1519 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1520 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1521 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1522 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1523 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1524 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1525 (reauth_proc): Likewise.
1526 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1527 (__file_name_split_at): Likewise.
1528 (__directory_name_split_at): Likewise.
1529 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1530 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1531 * iconv/gconv_dl.c (do_print): Likewise.
1532 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1533 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1534 * locale/setlocale.c (new_composite_name): Likewise.
1535 * malloc/memusagestat.c (main): Likewise.
1536 * misc/fstab.c (fstab_convert): Likewise.
1537 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1538 Likewise.
1539 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1540 (getgrent_next_file): Likewise.
1541 (internal_getgrnam_r): Likewise.
1542 (internal_getgrgid_r): Likewise.
1543 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1544 Likewise.
1545 (internal_getgrent_r): Likewise.
1546 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1547 (getpwent_next_nss): Likewise.
1548 (getpwent_next_file): Likewise.
1549 (internal_getpwnam_r): Likewise.
1550 (internal_getpwuid_r): Likewise.
1551 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1552 Likewise.
1553 (getspent_next_nss): Likewise.
1554 (internal_getspnam_r): Likewise.
1555 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1556 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1557 * string/strchr.c (STRCHR): Likewise.
1558 * string/strchrnul.c (STRCHRNUL): Likewise.
1559 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1560 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1561 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1562 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1563 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1564 Likewise.
1565 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1566 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1567 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1568 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1569 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1570 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1571 (open_file): Likewise.
1572 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1573 (pthread_mutexattr_setprotocol): Likewise.
1574 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1575 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1576 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1577 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1578 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1579 Likewise.
1580 (elf_machine_rela): Likewise.
1581 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1582 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1583 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1584 * sysdeps/posix/rename.c (rename): Likewise.
1585 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1586 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1587 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1588 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1589 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1590 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1591 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1592 Likewise.
1593 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1594 Likewise.
1595 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1596 * time/tzfile.c (__tzfile_compute): Likewise.
1597
1598 2019-02-22 Joseph Myers <joseph@codesourcery.com>
1599
1600 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1601 rather than after operators.
1602 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1603 * crypt/md5.c (md5_finish_ctx): Likewise.
1604 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1605 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1606 * elf/cache.c (load_aux_cache): Likewise.
1607 * elf/dl-load.c (open_verify): Likewise.
1608 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1609 * elf/readelflib.c (process_elf_file): Likewise.
1610 * elf/rtld.c (dl_main): Likewise.
1611 * elf/sprof.c (generate_call_graph): Likewise.
1612 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1613 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1614 * hurd/dtable.c (reauth_dtable): Likewise.
1615 * hurd/getdport.c (__getdport): Likewise.
1616 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1617 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1618 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1619 Likewise.
1620 * hurd/hurdioctl.c (fioctl): Likewise.
1621 * hurd/hurdselect.c (_hurd_select): Likewise.
1622 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1623 (STOPSIGS): Likewise.
1624 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1625 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1626 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1627 * hurd/msgportdemux.c (msgport_server): Likewise.
1628 * hurd/setauth.c (_hurd_setauth): Likewise.
1629 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1630 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1631 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1632 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1633 * login/tst-utmp.c (do_check): Likewise.
1634 (simulate_login): Likewise.
1635 * mach/lowlevellock.h (lll_lock): Likewise.
1636 (lll_trylock): Likewise.
1637 * math/test-fenv.c (ALL_EXC): Likewise.
1638 * math/test-fenvinline.c (ALL_EXC): Likewise.
1639 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
1640 * nis/nis_call.c (__do_niscall3): Likewise.
1641 * nis/nis_callback.c (cb_prog_1): Likewise.
1642 * nis/nis_defaults.c (searchaccess): Likewise.
1643 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1644 * nis/nis_ismember.c (internal_ismember): Likewise.
1645 * nis/nis_local_names.c (nis_local_principal): Likewise.
1646 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
1647 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
1648 Likewise.
1649 * nis/ypclnt.c (yp_match): Likewise.
1650 (yp_first): Likewise.
1651 (yp_next): Likewise.
1652 (yp_master): Likewise.
1653 (yp_order): Likewise.
1654 * nscd/hstcache.c (cache_addhst): Likewise.
1655 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1656 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1657 (internal_getpwuid_r): Likewise.
1658 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1659 * posix/glob.h (__GLOB_FLAGS): Likewise.
1660 * posix/regcomp.c (peek_token): Likewise.
1661 (peek_token_bracket): Likewise.
1662 (parse_expression): Likewise.
1663 * posix/regexec.c (sift_states_iter_mb): Likewise.
1664 (check_node_accept_bytes): Likewise.
1665 * posix/tst-spawn3.c (do_test): Likewise.
1666 * posix/wordexp-test.c (testit): Likewise.
1667 * posix/wordexp.c (parse_tilde): Likewise.
1668 (exec_comm): Likewise.
1669 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1670 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1671 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1672 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1673 * stdio-common/tst-fileno.c (do_test): Likewise.
1674 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1675 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1676 * stdlib/strtod_l.c (round_and_return): Likewise.
1677 (____STRTOF_INTERNAL): Likewise.
1678 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1679 * string/strcspn.c (STRCSPN): Likewise.
1680 * string/test-memmem.c (simple_memmem): Likewise.
1681 * termios/tcsetattr.c (tcsetattr): Likewise.
1682 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1683 * time/asctime.c (asctime_internal): Likewise.
1684 * time/strptime_l.c (__strptime_internal): Likewise.
1685 * time/sys/time.h (timercmp): Likewise.
1686 * time/tzfile.c (__tzfile_compute): Likewise.
1687
1688 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1689
1690 [BZ #21915]
1691 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
1692
1693 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1694
1695 * argp/argp-help.c (__argp_error_internal): New function,
1696 renamed from __argp_error, but that takes a 'mode_flags'
1697 parameter to control the format of long double parameters.
1698 (__argp_error): Converted into a call __argp_error_internal.
1699 (__argp_failure_internal): New function, renamed from
1700 __argp_failure, but that takes a 'mode_flags' parameter.
1701 (__argp_failure): Converted into a call __argp_failure_internal.
1702 * misc/err.c (__vwarnx_internal): New function, renamed from
1703 vwarnx, but that takes a 'mode_flags' parameter.
1704 (vwarnx): Converted into a call to __vwarnx_internal.
1705 (__vwarn_internal): New function, renamed from vwarn, but that
1706 takes a 'mode_flags' parameter.
1707 (vwarn): Converted into a call to __vwarn_internal.
1708 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
1709 call to __vfxprintf with 'mode_flags'.
1710 (__error_internal): New function, renamed from error, but that
1711 takes a 'mode_flags' parameter.
1712 (error): Converted into a call to __error_internal.
1713 (__error_at_line_internal): New function, renamed from
1714 error_at_line, but that takes a 'mode_flags' parameter.
1715 (error_at_line): Converted into a call to
1716 __error_at_line_internal.
1717 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1718 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
1719 Likewise.
1720
1721 2019-02-20 Martin Liska <mliska@suse.cz>
1722
1723 * math/Makefile: Install math-vector-fortran.h.
1724 * bits/math-vector-fortran.h: New file.
1725 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
1726
1727 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1728
1729 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
1730 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
1731
1732 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
1733
1734 * nptl/pthread_mutex_trylock.c: Fix comment.
1735
1736 2019-02-19 Carlos O'Donell <carlos@redhat.com>
1737
1738 * nptl/pthread_tryjoin.c: Fix comment.
1739
1740 2019-02-18 Joseph Myers <joseph@codesourcery.com>
1741
1742 [BZ #24231]
1743 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
1744 after R_SPARC_H34 case.
1745
1746 2019-02-18 Florian Weimer <fweimer@redhat.com>
1747
1748 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
1749 (getanswer): Do not call Dprintf.
1750 (res_gethostbyname2_context): Likewise.
1751 (res_gethostbyaddr_context): Likewise.
1752
1753 2019-02-18 Florian Weimer <fweimer@redhat.com>
1754
1755 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
1756 declaration.
1757 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1758 Remove definitions.
1759 * libio/stdfiles.c: Update comment.
1760 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1761 set _IO_stdin, _IO_stdout, _IO_stderr.
1762 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1763 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1764 inline function.
1765 (_IO_deallocate_file): New inline function.
1766 * libio/iolibio.h (_IO_vprintf): Remove definition.
1767 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1768 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1769 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1770 _IO_legacy_file.
1771 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1772 __builtin_expect. Use _IO_legacy_file.
1773
1774 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
1775
1776 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1777 Initialize ctid with a known value and remove update of ctid
1778 after clone.
1779 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1780 as assumed current value of ctid_ptr.
1781
1782 2019-02-16 Florian Weimer <fweimer@redhat.com>
1783
1784 Check that non-sysdeps headers have wrapper headers.
1785 * scripts/check-wrapper-headers.py: New file.
1786 * Makefile (tests-special): Add check-wrapper-headers.out.
1787 (check-wrapper-headers.out): New target.
1788 * Rules (tests-special): Add check-wrapper-headers.out.
1789 (check-wrapper-headers.out): New target.
1790
1791 2019-02-16 Florian Weimer <fweimer@redhat.com>
1792
1793 Add missing header wrappers under include/.
1794 * include/ar.h: New file.
1795 * include/bits/mqueue2.h: Likewise.
1796 * include/bits/stdio.h: Likewise.
1797 * include/bits/stdio2.h: Likewise.
1798 * include/fstab.h: Likewise.
1799 * include/fts.h: Likewise.
1800 * include/lastlog.h: Likewise.
1801 * include/netinet/icmp6.h: Likewise.
1802 * include/netinet/igmp.h: Likewise.
1803 * include/netinet/ip6.h: Likewise.
1804 * include/re_comp.h: Likewise.
1805 * include/regexp.h: Likewise.
1806 * include/rpcsvc/bootparam.h: Likewise.
1807 * include/rpcsvc/yp_prot.h: Likewise.
1808 * include/sys/random.h: Likewise.
1809 * include/sys/stropts.h: Likewise.
1810 * include/sys/ttychars.h: Likewise.
1811 * include/sys/vfs.h: Likewise.
1812 * include/wait.h: Likewise.
1813
1814 2019-02-16 Florian Weimer <fweimer@redhat.com>
1815
1816 * nptl_db/proc_service.h: Move to ...
1817 * sysdeps/nptl/proc_service.h: ... here.
1818 * nptl_db/thread_db.h: Move to ...
1819 * sysdeps/nptl/thread_db.h: ... here.
1820 * nptl/descr.h: Include <thread_db.h>.
1821
1822 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1823
1824 * io/Makefile (tests): Add tst-lockf.
1825 * io/lockf.c (lockf): Use __fcntl and only define for
1826 !__OFF_T_MATCHES_OFF64_T.
1827 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1828 __OFF_T_MATCHES_OFF64_T case.
1829 * io/tst-lockf.c: New file.
1830 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1831 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1832 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1833 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1834 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1836 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1837 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1838 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1839
1840 2019-02-15 Florian Weimer <fweimer@redhat.com>
1841
1842 [BZ #24211]
1843 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1844 pd->result after the thread descriptor has been freed.
1845
1846 2019-02-15 Joseph Myers <joseph@codesourcery.com>
1847
1848 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1849 from function return type.
1850
1851 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1852
1853 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1854
1855 * scripts/test_printers_common.py: Set TERM to a known harmless
1856 value.
1857
1858 2019-02-14 Joseph Myers <joseph@codesourcery.com>
1859
1860 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1861 (xdr_u_int): Likewise.
1862 (xdr_enum): Likewise.
1863 (xdr_bytes): Reword fall-through comment.
1864 (xdr_string): Likewise.
1865
1866 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1867
1868 [BZ #2421]
1869 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1870 (tests): Add tst-join8 tst-join9.
1871 * nptl/lll_timedwait_tid.c: Remove file.
1872 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1873 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1874 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1875 * nptl/pthread_join_common.c (timedwait_tid): New function.
1876 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1877 is set.
1878 * nptl/tst-join5.c (thread_join): New function.
1879 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1880 check.
1881 * nptl/tst-join8.c: New file.
1882 * nptl/tst-join9.c: Likewise.
1883 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1884 lll_futex_timed_wait_cancel): Add generic macros.
1885 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1886 Remove definitions.
1887 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1888 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1889 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1890 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1891 Remove function.
1892 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1893 Likewise.
1894 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1895 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1896 (lll_futex_timed_wait_cancel): New macro.
1897
1898 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1899
1900 * benchtests/Makefile: Add malloc-simple benchmark.
1901 * benchtests/bench-malloc-simple.c: New benchmark.
1902
1903 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1904
1905 * benchtests/bench-memmove.c (do_one_test): Remove unused
1906 ORIG_SRC.
1907 (do_test): Adjust.
1908 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1909 ORIG_SRC.
1910 (do_test): Adjust.
1911
1912 2019-01-13 Jim Wilson <jimw@sifive.com>
1913
1914 [BZ #24040]
1915 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1916 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1917 (func): New.
1918 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1919 call func directly.
1920 * nptl/Makefile (tests): Add tst-unwind-thread.
1921 (CFLAGS-tst-unwind-thread.c): Define.
1922 * nptl/tst-unwind-thread.c: New file.
1923 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1924 as undefined.
1925
1926 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1927
1928 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1929 comment wording.
1930 * nis/nis_call.c (__do_niscall3): Likewise.
1931
1932 * catgets/gencat.c (normalize_line): Use braces around empty
1933 'else' body.
1934 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1935 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1936 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1937 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1938 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1939 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1940 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1941 definition.
1942
1943 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1944 execlp returns.
1945
1946 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1947
1948 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1949 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1950 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1951 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1952 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1953 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1954 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1955 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1956 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1957 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1958 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1959 * benchtests/bench-bcopy.c: Delete file.
1960 * benchtests/bench-bzero.c: Likewise.
1961 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1962 (simple_memccpy): Remove.
1963 (generic_memccpy): Add function.
1964 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1965 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1966 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1967 (generic_mempcpy): Add new function.
1968 * benchtests/bench-memset.c (simple_bzero): Remove.
1969 (builtin_bzero): Remove.
1970 (builtin_memset): Remove.
1971 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1972 (generic_rawmemchr): Add new function.
1973
1974 2019-02-12 Florian Weimer <fweimer@redhat.com>
1975
1976 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1977
1978 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1979
1980 [BZ #24122]
1981 * elf/Makefile (tests): Add tst-audit13.
1982 (modules-names): Add tst-audit13mod1.
1983 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1984 rule.
1985 * elf/tst-audit13.c: New file.
1986 * elf/tst-audit13mod1.c: Likewise.
1987
1988 2019-02-12 Florian Weimer <fweimer@redhat.com>
1989
1990 [BZ #24122]
1991 * elf/rtld.c (unload_audit_module): New function.
1992 (report_audit_module_load_error): Likewise.
1993 (load_audit_module): Likewise. Extracted from dl_main. Call
1994 _dl_close if the laversion symbol cannot be found. Use early
1995 returns for error handling. Add malloc error check. Check for a
1996 zero return value from la_version. Remove spurious comment about
1997 static TLS initialization. Remove useless casts.
1998 (notify_audit_modules_of_loaded_object): New function. Extracted
1999 from dl_main.
2000 (load_audit_module): Likewise.
2001 (dl_main): Call load_audit_modules.
2002
2003 2019-02-12 Joseph Myers <joseph@codesourcery.com>
2004
2005 * elf/dl-exception.c (_dl_exception_create_format): Add
2006 fall-through comments.
2007 * elf/ldconfig.c (parse_conf_include): Likewise.
2008 * elf/rtld.c (print_statistics): Likewise.
2009 * locale/programs/charmap.c (parse_charmap): Likewise.
2010 * misc/mntent_r.c (__getmntent_r): Likewise.
2011 * posix/wordexp.c (parse_arith): Likewise.
2012 (parse_backtick): Likewise.
2013 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2014 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2015 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2016
2017 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
2018
2019 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2020 Use float instead of double.
2021
2022 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2023
2024 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2025
2026 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2027
2028 * sysdeps/powerpc/bits/mathinline.h: Remove.
2029
2030 2019-02-08 Florian Weimer <fweimer@redhat.com>
2031
2032 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2033 * math/bits/math-finite.h: Move to ...
2034 * bits/math-finite.h: ... here.
2035
2036 2019-02-08 Florian Weimer <fweimer@redhat.com>
2037
2038 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2039 * bits/unistd_ext.h: here.
2040
2041 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2042
2043 [BZ #21915]
2044 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2045 * nss/tst-nss-files-hosts-long.c: New file.
2046 * nss/tst-nss-files-hosts-long.root: New directory.
2047 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2048 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2049
2050 2019-02-08 Florian Weimer <fweimer@redhat.com>
2051
2052 * include/bits/unistd_ext.h: Remove file.
2053 * posix/bits/unistd_ext.h: Move to ...
2054 * sysdeps/generic/bits/unistd_ext.h: ... here.
2055
2056 2019-02-08 Florian Weimer <fweimer@redhat.com>
2057
2058 * include/bits/unistd_ext.h: New file.
2059
2060 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2061
2062 * time/tst-strftime2.c: Use array_length macros instead of magic
2063 numbers.
2064
2065 2019-02-08 Florian Weimer <fweimer@redhat.com>
2066
2067 [BZ #24161]
2068 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2069 argument.
2070 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2071 locking if the new do_locking argument is true.
2072 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2073 __run_fork_handlers.
2074
2075 2019-02-08 Florian Weimer <fweimer@redhat.com>
2076
2077 [BZ #6399]
2078 Linux: Add gettid system call wrapper.
2079 * posix/Makefile (headers): Add bits/unistd_ext.h.
2080 * posix/bits/unistd_ext.h: New file.
2081 * posix/unistd.h: Include it.
2082 * manual/process.texi (Process Identification): Document gettid.
2083 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2084 tst-gettid, tst-gettid-kill.
2085 (tst-gettid): Link with $(shared-thread-library).
2086 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2087 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2088 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2089 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2090 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2091 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2092 Add gettid.
2093 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2094 Likewise.
2095 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2096 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2097 Likewise.
2098 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2099 Likewise.
2100 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2101 Likewise.
2102 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2103 Likewise.
2104 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2105 Likewise.
2106 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2107 Likewise.
2108 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2109 Likewise.
2110 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2111 (GLIBC_2.30): Likewise.
2112 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2113 (GLIBC_2.30): Likewise.
2114 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2115 (GLIBC_2.30): Likewise.
2116 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2117 (GLIBC_2.30): Likewise.
2118 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2119 Likewise.
2120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2121 (GLIBC_2.30): Likewise.
2122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2123 (GLIBC_2.30): Likewise.
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2125 (GLIBC_2.30): Likewise.
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2127 (GLIBC_2.30): Likewise.
2128 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2129 Likewise.
2130 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2131 Likewise.
2132 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2133 Likewise.
2134 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2135 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2136 Likewise.
2137 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2138 Likewise.
2139 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2140 Likewise.
2141 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2142 Likewise.
2143 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2144
2145 2019-02-08 Florian Weimer <fweimer@redhat.com>
2146
2147 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2148 compatibility symbols.
2149
2150 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
2151
2152 [BZ #24180]
2153 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2154 Add compiler barriers and comments.
2155
2156 2019-02-07 Florian Weimer <fweimer@redhat.com>
2157
2158 * include/array_length.h (array_length): Do not use a statement
2159 expression and _Static_assert, so that array_length can be used at
2160 file scope and as a constant expression.
2161
2162 2019-02-07 Florian Weimer <fweimer@redhat.com>
2163
2164 * support/xdlfcn.h (xdlmopen): Declare.
2165 * support/xdlmopen.c: New file.
2166 * support/Makefile (libsupport-routines): Add xdlmopen.
2167
2168 2019-02-06 Joseph Myers <joseph@codesourcery.com>
2169
2170 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2171 before return type, without separate inline.
2172 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2173 * elf/dl-tunables.h (tunable_is_name): Likewise.
2174 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2175 (do_set_top_pad): Likewise.
2176 (do_set_mmap_threshold): Likewise.
2177 (do_set_mmaps_max): Likewise.
2178 (do_set_mallopt_check): Likewise.
2179 (do_set_perturb_byte): Likewise.
2180 (do_set_arena_test): Likewise.
2181 (do_set_arena_max): Likewise.
2182 (do_set_tcache_max): Likewise.
2183 (do_set_tcache_count): Likewise.
2184 (do_set_tcache_unsorted_limit): Likewise.
2185 * nis/nis_subr.c (count_dots): Likewise.
2186 * nptl/allocatestack.c (advise_stack_range): Likewise.
2187 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2188 (do_sin): Likewise.
2189 (reduce_sincos): Likewise.
2190 (do_sincos): Likewise.
2191 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2192 (do_set_elision_enable): Likewise.
2193 (TUNABLE_CALLBACK_FNDECL): Likewise.
2194
2195 2019-02-06 Florian Weimer <fweimer@redhat.com>
2196
2197 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2198 (xdlsym): Use dlerror to detect a NULL symbol.
2199
2200 2019-02-06 Florian Weimer <fweimer@redhat.com>
2201
2202 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2203 <stap-probe.h>.
2204 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2205
2206 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2207
2208 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2209
2210 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2211
2212 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2213 __wmemcmp and weak alias to wmemcmp.
2214
2215 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2216
2217 [BZ #23403]
2218 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2219 TLS_TCB_AT_TP tls variant.
2220 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2221 Add alignment checks.
2222 * support/Makefile (libsupport-routines): Add xposix_memalign and
2223 xpthread_setstack.
2224 * support/support.h: Add xposix_memalign.
2225 * support/xthread.h: Add xpthread_attr_setstack.
2226 * support/xposix_memalign.c: New File.
2227 * support/xpthread_attr_setstack.c: Likewise.
2228
2229 2019-02-05 Florian Weimer <fweimer@redhat.com>
2230
2231 [BZ #24164]
2232 arm: Use "nr" constraint for Systemtap probes, to avoid the
2233 compiler using memory operands for constants, due to the "o"
2234 alternative in the default "nor" constraint.
2235 * include/stap-probe.h [USE_STAP_PROBE]: Include
2236 <stap-probe-machine.h>
2237 * sysdeps/generic/stap-probe-machine.h: New file.
2238 * sysdeps/arm/stap-probe-machine.h: Likewise.
2239
2240 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2241
2242 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2243 with 0, not tcache->entries[tc_idx].
2244
2245 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2246 once.
2247
2248 2019-02-04 Andreas Schwab <schwab@suse.de>
2249
2250 [BZ #16976]
2251 [BZ #17396]
2252 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2253 looking up collating elements match against (wide) character
2254 sequence instead of name. Correct alignment adjustment.
2255 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2256 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2257 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2258 (LOCALES): Add cs_CZ.ISO-8859-2.
2259 * posix/tst-fnmatch4.c: New file.
2260 * posix/tst-fnmatch5.c: New file.
2261 * include/wchar.h (__wmemcmp): Declare.
2262 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2263 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2264 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2265 * sysdeps/s390/wmemcmp.c: Likewise.
2266
2267 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2268
2269 [BZ #24155]
2270 CVE-2019-7309
2271 * NEWS: Updated for CVE-2019-7309.
2272 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2273 upper 32 bits of RDX register for x32. Use unsigned Jcc
2274 instructions, instead of signed.
2275 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2276 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2277
2278 2019-02-04 Florian Weimer <fweimer@redhat.com>
2279
2280 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2281 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2282 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2283 Likewise.
2284 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2285 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2286 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2287 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2288 Likewise.
2289 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2290 Likewise.
2291 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2292 Likewise.
2293 (posix_spawn_file_actions_addopen): Likewise.
2294 (posix_spawn_file_actions_addclose): Likewise.
2295 (posix_spawn_file_actions_adddup2): Likewise.
2296 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2297 qualifiers.
2298 (posix_spawn_file_actions_addfchdir_np): Likewise.
2299
2300 2019-02-04 David Newall <glibc@davidnewall.com>
2301
2302 elf: Implement --preload option for the dynamic linker.
2303 * elf/rtld.c (preloadarg): New variable.
2304 (handle_preload_list): Pass through “where” argument to
2305 do_preload.
2306 (dl_main): Handle "--preload" and add second call to
2307 handle_preload_list.
2308 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2309 (tst-rtld-preload-OBJS): Set variable.
2310 (tst-rtld-preload.out): New target.
2311 * elf/tst-rtld-preload.sh: New file.
2312
2313 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2314
2315 * Makefile (testrun.sh): Exit in case of incorrect argument.
2316
2317 2019-02-04 Florian Weimer <fweimer@redhat.com>
2318
2319 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2320 alignment gaps.
2321
2322 2019-02-03 Florian Weimer <fweimer@redhat.com>
2323
2324 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2325 implicit overflow checks.
2326
2327 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2328
2329 * stdlib/isomac.c: Include <unistd.h>.
2330
2331 2019-02-03 Florian Weimer <fweimer@redhat.com>
2332
2333 * include/time.h (__tzfile_default): Use int, not long int, for
2334 the GMT offsets.
2335 * time/tzfile.c (struct ttinfo): Change type of the offset member
2336 to int.
2337 (__tzfile_read): Remove useless cast.
2338 (__tzfile_default): Adjust prototype.
2339 * time/tzset.c (tz_rule): Change type of the offset member to int.
2340 (parse_offset): Change the type of the sign variable to int.
2341
2342 2019-02-03 Florian Weimer <fweimer@redhat.com>
2343
2344 [BZ #24153]
2345 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2346 * libio/getchar.c (getchar): Likewise.
2347 * libio/getchar_u.c (getchar_unlocked): Likewise.
2348 * libio/getwchar.c (getwchar): Likewise.
2349 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2350 * libio/iogets.c (_IO_gets): Likewise.
2351 * libio/vscanf.c (_IO_vscanf): Likewise.
2352 * libio/vwscanf.c (__vwscanf): Likewise.
2353 * libio/tst-bz24153.c: New file.
2354 * libio/Makefile (tests): Add it.
2355
2356 2019-02-02 Florian Weimer <fweimer@redhat.com>
2357
2358 [BZ #14829]
2359 * manual/resource.texi (Basic Scheduling Functions): Add
2360 portability note. Change process to task throughout the section.
2361 Remove incorrect comment about sched_yield as it affects
2362 tasks/threads, not entire processes.
2363 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2364 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2365
2366 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2367
2368 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2369 * configure: Regenerated.
2370 * manual/install.texi (Tools for Compilation): Update minimum GCC
2371 version.
2372 * INSTALL: Regenerated.
2373
2374 2019-02-01 Florian Weimer <fweimer@redhat.com>
2375
2376 * support/support_test_compare_string.c
2377 (support_test_compare_string): Use "string" in error message.
2378 * support/tst-test_compare_string.c (do_test): Adjust.
2379
2380 2019-02-01 Florian Weimer <fweimer@redhat.com>
2381
2382 * support/support_format_address_family.c
2383 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2384
2385 2019-02-01 Florian Weimer <fweimer@redhat.com>
2386
2387 * manual/socket.texi (Internet Address Formats): Clarify the byte
2388 order of struct sockaddr_in, struct sockaddr_in6. Document
2389 sin6_flowinfo and sin6_scope_id.
2390
2391 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2392
2393 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2394 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2395 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2396 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2397 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2398 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2399
2400 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2401
2402 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2403 [!MEMCHR](MEMCHR): Set to __memchr.
2404 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2405 Add memchr_generic and memchr_nosimd.
2406 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2407 (__libc_ifunc_impl_list): Add memchr ifuncs.
2408 * sysdeps/aarch64/multiarch/memchr.c: New file.
2409 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2410 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2411
2412 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2413
2414 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2415 Add memset_emag.
2416 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2417 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2418 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2419 Add IS_EMAG check for ifunc dispatch.
2420 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2421 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2422
2423 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2424
2425 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2426 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2427 Add emag.
2428 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2429 New macro.
2430
2431 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
2432
2433 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2434
2435 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
2436
2437 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2438 syscall-template file.
2439
2440 2019-01-31 Carlos O'Donell <carlos@redhat.com>
2441 Torvald Riegel <triegel@redhat.com>
2442 Rik Prohaska <prohaska7@gmail.com>
2443
2444 [BZ# 23844]
2445 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2446 tst-rwlock-trywrlock-stall.
2447 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2448 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2449 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2450 Set __wrphase_fute to 1 only if we started the write phase.
2451 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2452 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2453 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2454 * support/xpthread_rwlock_destroy.c: New file.
2455 * support/xthread.h: Declare xpthread_rwlock_destroy.
2456
2457 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2458
2459 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2460 version to 4.0.2.
2461
2462 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2463
2464 [BZ #24051]
2465 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2466 * libio/fileops.c (_IO_new_file_underflow): Likewise
2467 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2468 * libio/putchar.c (putchar): Likewise.
2469 * libio/putchar_u.c (putchar_unlocked): Likewise.
2470 * libio/putwchar.c (putchar): Likewise.
2471 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2472 * libio/tst-bz24051.c: New test.
2473 * libio/Makefile (tests): Add tst-bz24051
2474
2475 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2476
2477 CVE-2019-9169
2478 regex: fix read overrun [BZ #24114]
2479 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2480 https://debbugs.gnu.org/34140
2481 * posix/regexec.c (proceed_next_node):
2482 Do not read past end of input buffer.
2483
2484 2019-01-31 Florian Weimer <fweimer@redhat.com>
2485
2486 [BZ #24059]
2487 * nss/nss_files/files-alias.c (get_next_alias): Handle
2488 continuation line without newline at the end.
2489 * nss/tst-nss-files-alias-truncated.c: New file.
2490 * nss/Makefile [$(build-shared)] (tests): Add
2491 tst-nss-files-alias-truncated.
2492 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2493 * support/namespace.h (struct support_chroot_configuration): Add
2494 aliases member.
2495 (struct support_chroot): Add path_aliases member.
2496 * support/support_chroot.c (support_chroot_create): Handle
2497 aliases.
2498 (support_chroot_free): Free path_aliases.
2499
2500 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2501
2502 * version.h (RELEASE): Set to "development".
2503 (VERSION): Set to "2.29.9000".
2504 * NEWS: Add section for 2.30.
2505
2506 * version.h (RELEASE): Set to "stable".
2507 (VERSION): Set to "2.29".
2508 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2509
2510 * NEWS: Add the list of bugs fixed in 2.29.
2511 * manual/contrib.texi: Update contributors list with some more
2512 names.
2513 * manual/install.texi: Update latest versions of packages
2514 tested.
2515 * INSTALL: Regenerated.
2516
2517 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2518
2519 * po/be.po: Update translations.
2520 * po/bg.po: Likewise.
2521 * po/ca.po: Likewise.
2522 * po/cs.po: Likewise.
2523 * po/da.po: Likewise.
2524 * po/de.po: Likewise.
2525 * po/el.po: Likewise.
2526 * po/eo.po: Likewise.
2527 * po/es.po: Likewise.
2528 * po/fi.po: Likewise.
2529 * po/fr.po: Likewise.
2530 * po/gl.po: Likewise.
2531 * po/hr.po: Likewise.
2532 * po/hu.po: Likewise.
2533 * po/ia.po: Likewise.
2534 * po/id.po: Likewise.
2535 * po/it.po: Likewise.
2536 * po/ja.po: Likewise.
2537 * po/ko.po: Likewise.
2538 * po/lt.po: Likewise.
2539 * po/nb.po: Likewise.
2540 * po/nl.po: Likewise.
2541 * po/pl.po: Likewise.
2542 * po/pt_BR.po: Likewise.
2543 * po/ru.po: Likewise.
2544 * po/rw.po: Likewise.
2545 * po/sk.po: Likewise.
2546 * po/sl.po: Likewise.
2547 * po/sv.po: Likewise.
2548 * po/tr.po: Likewise.
2549 * po/uk.po: Likewise.
2550 * po/vi.po: Likewise.
2551 * po/zh_CN.po: Likewise.
2552 * po/zh_TW.po: Likewise.
2553
2554 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2555
2556 [BZ #24130]
2557 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2558 of $f3 register on $y_is_neg path.
2559
2560 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2561
2562 [BZ #24110]
2563 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2564 sigaltstack.ss_flags.
2565
2566 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2567
2568 [BZ #23758]
2569 * manual/time.texi (strftime): Document "%Ey".
2570 * time/strftime_l.c (__strftime_internal): Set the default width
2571 padding with zero of "%Ey" to 2.
2572
2573 [BZ #24096]
2574 * manual/time.texi (strftime): Document "%EC" and "%EY".
2575 * time/Makefile (tests): Add tst-strftime2.
2576 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2577 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2578 override padding for "%Ey".
2579 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2580 "%Ey" in the subformat as if decorated with that flag.
2581 * time/tst-strftime2.c: New file.
2582
2583 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2584
2585 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2586 are not defined.
2587
2588 [BZ #24122]
2589 * elf/Makefile (tests): Add tst-audit13.
2590 (modules-names): Add tst-audit13mod1.
2591 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2592 rule.
2593 * elf/rtld.c (dl_main): Handle invalid audit module version.
2594 * elf/tst-audit13.c: New file.
2595 * elf/tst-audit13mod1.c: Likewise.
2596
2597 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2598
2599 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2600 returned by __hurd_at_flags.
2601 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2602 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2603 directly instead of __hurd_file_name_lookup.
2604
2605 2019-01-21 Joseph Myers <joseph@codesourcery.com>
2606
2607 * scripts/build-many-glibcs.py (Context.checkout): Default
2608 binutils version to 2.32 branch.
2609
2610 2019-01-21 Florian Weimer <fweimer@redhat.com>
2611
2612 [BZ #20018]
2613 CVE-2016-10739
2614 resolv: Reject trailing characters in host names
2615 * include/arpa/inet.h (__inet_aton_exact): Declare.
2616 (inet_aton): Remove hidden prototype. No longer used internally.
2617 * nscd/gai.c (__inet_aton): Do not define.
2618 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2619 * nss/digits_dots.c (__inet_aton): Likewise.
2620 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2621 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2622 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2623 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2624 (tst-resolv-trailing): Likewise.
2625 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2626 libc.
2627 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2628 Make static. Add endp parameter.
2629 (__inet_aton_exact): New function.
2630 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2631 (__inet_addr): Call inet_aton_end.
2632 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2633 not just IPv6. Call __inet_aton_exact.
2634 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
2635 (tests): Make const. Add additional test cases with trailing
2636 characters.
2637 (do_test): Use array_length.
2638 * resolv/tst-inet_aton_exact.c: New file.
2639 * resolv/tst-resolv-trailing.c: Likewise.
2640 * resolv/tst-resolv-nondecimal.c: Likewise.
2641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
2642
2643 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2644
2645 [BZ# 24097]
2646 CVE-2019-6488
2647 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
2648 Clear the upper 32 bits of RSI register.
2649 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
2650 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
2651 and tst-size_t-wcsnlen.
2652 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
2653 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2654
2655 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2656
2657 [BZ# 24097]
2658 CVE-2019-6488
2659 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2660 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2661 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2662 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2663 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2664
2665 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2666
2667 [BZ# 24097]
2668 CVE-2019-6488
2669 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2670 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2671 * sysdeps/x86_64/strcmp.S: Likewise.
2672 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2673 tst-size_t-strncmp and tst-size_t-wcsncmp.
2674 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2675 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2676 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2677
2678 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2679
2680 [BZ# 24097]
2681 CVE-2019-6488
2682 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2683 RDX_LP for length. Clear the upper 32 bits of RDX register.
2684 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2685 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2686 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2687 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2688
2689 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2690
2691 [BZ# 24097]
2692 CVE-2019-6488
2693 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2694 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2695 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2696 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2697
2698 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2699
2700 [BZ# 24097]
2701 CVE-2019-6488
2702 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2703 length. Clear the upper 32 bits of RDX register.
2704 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2705 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2706 Likewise.
2707 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2708 Likewise.
2709 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
2710 tst-size_t-wmemchr.
2711 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2712
2713 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2714
2715 [BZ# 24097]
2716 CVE-2019-6488
2717 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2718 length. Clear the upper 32 bits of RDX register.
2719 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2720 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2721 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
2722 tst-size_t-wmemcmp.
2723 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
2724 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
2725
2726 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2727
2728 [BZ# 24097]
2729 CVE-2019-6488
2730 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
2731 upper 32 bits of RDX register.
2732 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2733 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
2734 tst-size_t-wmemchr.
2735 * sysdeps/x86_64/x32/test-size_t.h: New file.
2736 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
2737 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
2738
2739 2019-01-18 Florian Weimer <fweimer@redhat.com>
2740
2741 [BZ #24112]
2742 resolv: Do not send queries for non-host-names in nss_dns.
2743 * resolv/nss_dns/dns-host.c (check_name): New function.
2744 (_nss_dns_gethostbyname2_r): Use it.
2745 (_nss_dns_gethostbyname_r): Likewise.
2746 (_nss_dns_gethostbyname4_r): Likewise.
2747
2748 2019-01-21 Florian Weimer <fweimer@redhat.com>
2749
2750 * resolv/inet_addr.c: Reformat to GNU style.
2751 (__inet_addr, __inet_aton): Update comment.
2752
2753 2019-01-18 Florian Weimer <fweimer@redhat.com>
2754
2755 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
2756 ("malloc: Use current (C11-style) atomics for fastbin access").
2757 This commit introduces a substantial performance regression on
2758 POWER and Aarch64.
2759 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2760 (REMOVE_FB): Define.
2761 (_int_malloc): Use it and reindent.
2762 (_int_free): Use CAS loop with
2763 catomic_compare_and_exchange_val_rel.
2764 (malloc_consolidate): Use atomic_exchange_acq.
2765
2766
2767 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2768
2769 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2770 -Wl,-z,now.
2771 (LDFLAGS-tst-minsigstksz-2): Likewise.
2772 (LDFLAGS-tst-minsigstksz-3): Likewise.
2773 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2774 (LDFLAGS-tst-minsigstksz-4): Likewise.
2775
2776 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2777
2778 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2779 than "alternate".
2780
2781 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
2782
2783 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2784
2785 2019-01-16 Zack Weinberg <zackw@panix.com>
2786
2787 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2788 (xget_sigstack_location): New test support functions.
2789 * support/xsigstack.c: New file, implementing them.
2790 * support/tst-xsigstack.c: New test for them.
2791 * support/Makefile: Update.
2792
2793 * signal/tst-minsigstksz-1.c
2794 * signal/tst-minsigstksz-2.c
2795 * signal/tst-minsigstksz-3.c
2796 * signal/tst-minsigstksz-3a.c
2797 * signal/tst-minsigstksz-4.c: New tests.
2798 * signal/Makefile: Run them.
2799
2800 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2801
2802 * po/libc.pot: Regenerate.
2803
2804 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2805
2806 * math/libm-test-fma.inc (fma_test_data): Set
2807 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2808
2809 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2810
2811 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2812 (do_test): Changed __vector __int128_t to __vector unsigned int.
2813
2814 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2815
2816 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2817 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2818 stpcpy-avx2 and stpncpy-avx2.
2819 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2820 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2821 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2822 and __stpncpy_avx2.
2823 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2824 ifunc-strcpy.h}: rename header for a more generic name.
2825 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2826 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2827 AVX unaligned load is fast and vzeroupper is preferred.
2828 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2829 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2830 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2831 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2832 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2833 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2834
2835 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2836
2837 * argp/argp-help.c: Fix typo in comment.
2838 * misc/sys/cdefs.h: Likewise.
2839 * posix/regexec.c (sift_states_iter_mb): Likewise.
2840 * socket/sockatmark.c: Likewise.
2841 * socket/sys/socket.h: Likewise.
2842 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2843 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2844 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2845 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2846 * sysdeps/unix/sockatmark.c: Likewise.
2847 * time/strptime_l.c: Likewise.
2848
2849 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2850
2851 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2852 missing space after the cast of "_NL_CURRENT".
2853
2854 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2855
2856 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2857 ifdef to fix read of VSCR.
2858 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2859 tst-ucontext-ppc64-vscr.c to test list.
2860 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2861
2862 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2863
2864 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2865 fall-through.
2866
2867 2019-01-09 Jim Wilson <jimw@sifive.com>
2868
2869 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2870
2871 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2872
2873 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2874 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2875 __memcpy_falkor for ares.
2876 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2877 Add new define.
2878 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2879 Add ares cpu.
2880
2881 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2882
2883 [BZ #24066]
2884 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2885 4_FP_W_TYPEs are used for IEEE quad precision.
2886 * soft-fp/extendhftf2.c: Likewise.
2887 * soft-fp/extendsftf2.c: Likewise.
2888 * soft-fp/extendxftf2.c: Likewise.
2889 * soft-fp/trunctfdf2.c: Likewise.
2890 * soft-fp/trunctfhf2.c: Likewise.
2891 * soft-fp/trunctfsf2.c: Likewise.
2892 * soft-fp/trunctfxf2.c: Likewise.
2893 * sysdeps/alpha/ots_cvttx.c: Likewise.
2894 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2895 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2896 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2897 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2898 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2899 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2900 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2901 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2902 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2903 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2904 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2905 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2906 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2907 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2908 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2909 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2910 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2911
2912 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2913
2914 [BZ #24024]
2915 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2916 code with -fmath-errno.
2917 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2918 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2919 * string/test-strerror-errno.c: New file.
2920
2921 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2922
2923 [BZ #24046]
2924 * localedata/locales/en_US (date_fmt): Add, set to
2925 "%a %d %b %Y %r %Z".
2926
2927 2019-01-07 Florian Weimer <fweimer@redhat.com>
2928
2929 [BZ #24063]
2930 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2931 instead of @var{errno}.
2932 (Parsing of Integers): Likewise.
2933 (Parsing of Floats): Likewise.
2934 * manual/filesys.texi (Working with Directory Trees): Likewise.
2935 (Temporary Files): Likewise.
2936 * manual/job.texi (Terminal Access Functions): Likewise.
2937 * manual/llio.texi (Synchronizing I/O): Likewise.
2938 * manual/math.texi (SVID Random): Likewise.
2939 * manual/message.texi (The catgets Functions): Likewise.
2940 (Translation with gettext): Likewise.
2941 (Locating gettext catalog): Likewise.
2942 (Charset conversion in gettext): Likewise.
2943 * manual/nss.texi (NSS Module Function Internals): Likewise.
2944 * manual/search.texi (Hash Search Function): Likewise.
2945 * manual/setjmp.texi (System V contexts): Likewise.
2946 * manual/time.texi (Sleeping): Likewise.
2947 * manual/users.texi (Lookup User): Likewise.
2948 (Lookup Group): Likewise.
2949
2950 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2951
2952 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2953 fix typo.
2954
2955 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
2956
2957 [BZ #19444]
2958 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2959 __builtin_unreachable for default case in switch.
2960 (__ieee754_yn): Likewise.
2961 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2962 (__ieee754_ynl): Likewise.
2963 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2964 (__ieee754_ynl): Likewise.
2965 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2966 (__ieee754_ynl): Likewise.
2967
2968 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2969
2970 * manual/maint.texi: Use @{ and @}.
2971
2972 2019-01-04 Florian Weimer <fweimer@redhat.com>
2973
2974 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2975 function.
2976 (do_in_chroot_1): Call it.
2977 (run_chroot_tests):
2978 Improve error reporting in case it is not possible to create a
2979 collision for the PTY name required by the test.
2980
2981 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2982
2983 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2984 lll_wait_tid with timeout.
2985 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2986 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2987 futex_reltimed_wait_cancelable for cancelabla mode.
2988 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2989 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2990 macros.
2991 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2992 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2993 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2994 SYSCALL_CANCEL_NCS): New macro.
2995 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2996 (lll_timedwait_tid): Remove macro.
2997 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2998 Likewise.
2999 (lll_timedwait_tid): Likewise.
3000 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3001 Likewise.
3002 (lll_timedwait_tid): Likewise.
3003 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3004 Likewise.
3005 (lll_timedwait_tid): Likewise.
3006 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3007 Use INTERNAL_SYSCALL_CANCEL.
3008 * sysdeps/unix/sysv/linux/futex-internal.h
3009 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3010 instead of __pthread_{enable,disable}_asynccancel.
3011 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3012 (lll_futex_wait_cancel): New macro.
3013
3014 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3015 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3016
3017 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3018 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3019
3020 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3021 in backtrace analysis.
3022 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3023 side-effects.
3024 (tf_send): Likewise.
3025
3026 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3027 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3028 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3029 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3030 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3031 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3032 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3033 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3034 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3035 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3036 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3037 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3038 Likewise.
3039 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3040 tst-cancel-wrappers.sh.
3041 (generated): Remove tst-cancel-wrappers.out.
3042 (tst-cancel-wrappers.out): Remove rule.
3043 * nptl/tst-cancel-wrappers.sh: Remove file.
3044
3045 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3046
3047 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3048 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3049 Update.
3050
3051 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3052
3053 [BZ #23640]
3054 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3055 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3056 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3057 close-on-exec reset for adddup2 file action.
3058 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3059
3060 2019-01-03 Zack Weinberg <zackw@panix.com>
3061
3062 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3063 parameter. Only use deprecated scanf when __USE_GNU is defined
3064 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3065 than 201103L, whichever is relevant for the language being compiled.
3066
3067 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3068 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3069 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3070 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3071 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3072
3073 * libio/iovsscanf.c
3074 * libio/fwscanf.c
3075 * libio/iovswscanf.c
3076 * libio/swscanf.c
3077 * libio/vscanf.c
3078 * libio/vwscanf.c
3079 * libio/wscanf.c
3080 * stdio-common/fscanf.c
3081 * stdio-common/scanf.c
3082 * stdio-common/vfscanf.c
3083 * stdio-common/vfwscanf.c
3084 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3085 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3086 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3087 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3088 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3089 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3090 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3091 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3092 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3093 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3094 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3095 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3096 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3097 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3098 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3099
3100 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3101 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3102 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3103 not sscanf.
3104 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3105 with a preprocessor macro.
3106
3107 * stdio-common/bug21.c, stdio-common/scanf14.c:
3108 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3109 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3110 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3111 to xscanf, xfscanf, xsscanf.
3112
3113 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3114 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3115 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3116 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3117 xfscanf, xsscanf.
3118 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3119 override feature selection macros or provide definitions of u_char etc.
3120 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3121 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3122 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3123 with -std=gnu89.
3124
3125 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3126
3127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3128 bits/termios-misc.h.
3129 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3130 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3131 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3132 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3133 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3134 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3135
3136 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3137 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3138 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3139 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3140 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3141 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3142 termios-misc.h.
3143 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3144 (sysdep_headers): Add termios-misc.h.
3145
3146 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3147 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3148 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3149
3150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3151 termios-tcflow.h.
3152 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3153 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3154 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3155 TCSAFLUSH): Move to termios-tcflow.h.
3156 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3157 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3158 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3159 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3160
3161 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3162 termios-c_lflag.h.
3163 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3164 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3165 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3166 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3167 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3168 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3169 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3170 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3171 Likewise.
3172 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3173 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3174 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3175 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3176
3177 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3178 termios-c_cflag.h.
3179 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3180 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3181 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3182 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3183 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3184 termios-c_cflag.h.
3185 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3186 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3187 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3188 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3189
3190 [BZ #23783]
3191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3192 termios-baud.h.
3193 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3194 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3195 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3196 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3197 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3198 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3199 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3200 __MAX_BAUD): Move to termios-baud.h.
3201 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3202 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3203 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3204 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3205 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3206
3207 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3208 termios-c_oflag.h.
3209 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3210 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3211 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3212 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3213 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3214 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3215 termios-c_oflag.h.
3216 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3217 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3218 FFR1): Likewise.
3219 [USE_MISC] (XTABS): Likewise.
3220 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3221 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3222 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3223 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3224
3225 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3226 termios-c_iflag.h.
3227 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3228 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3229 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3230 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3231 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3232 IUTF8): Move to termios-c_iflag.h.
3233 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3234 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3235 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3236 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3237
3238 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3239 termios-cc.h.
3240 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3241 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3242 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3243 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3244 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3245 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3246 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3247 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3248 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3249 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3250 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3251 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3252
3253 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3254 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3255 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3256 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3258 termios-struct.h.
3259 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3260 termios-struct.h.
3261 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3262 Likewise.
3263 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3264 Likewise.
3265 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3266 Likewise.
3267 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3268 Likewise.
3269 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3270 _HAVE_C_OSPEED): Define.
3271 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3272 _HAVE_C_OSPEED): Likewise.
3273 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3274 _HAVE_C_OSPEED): Likewise.
3275 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3276 (cfsetospeed): Check for define value instead of existence.
3277 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3278 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3279 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3280 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3281 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3282
3283 [BZ #17783]
3284 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3285 Define.
3286 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3287 (TIOCSER_TEMT): Likewise.
3288 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3289 (TEOCSER_TEMT): Likewise.
3290
3291 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
3292
3293 [BZ #24011]
3294 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3295
3296 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3297
3298 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3299
3300 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3301
3302 * sysdeps/htl/pt-barrierattr-setpshared.c
3303 (pthread_barrierattr_setpshared): Add stub warning.
3304 * sysdeps/htl/pt-condattr-setpshared.c
3305 (pthread_condattr_setpshared): Likewise.
3306 * sysdeps/htl/pt-mutexattr-setpshared.c
3307 (pthread_mutexattr_setpshared): Likewise.
3308 * sysdeps/htl/pt-rwlockattr-setpshared.c
3309 (pthread_rwlockattr_setpshared): Likewise.
3310 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3311 (pthread_mutexattr_setpshared): Likewise.
3312
3313 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3314
3315 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3316 constants to match with Linux 4.20.
3317
3318 * sysdeps/mips/mips32/libm-test-ulps: Update.
3319 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3320
3321 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3322
3323 [BZ #24034]
3324 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3325 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3326 than __typeof (...) for the a_ptr variable.
3327
3328 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3329
3330 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3331 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3332 * libio/Makefile (tests): Add tst-sprintf-ub and
3333 tst-sprintf-chk-ub.
3334 (CFLAGS-tst-sprintf-ub.c): New variable.
3335 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3336 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3337 destination buffer and check for overflows in fortified mode.
3338 * libio/libioP.h (PRINTF_CHK): New macro.
3339 * libio/tst-sprintf-chk-ub.c: New file.
3340 * libio/tst-sprintf-ub.c: Likewise.
3341
3342 2019-01-02 Florian Weimer <fweimer@redhat.com>
3343
3344 [BZ #24018]
3345 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3346 failure.
3347
3348 2019-01-02 Florian Weimer <fweimer@redhat.com>
3349
3350 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3351
3352 2019-01-01 Joseph Myers <joseph@codesourcery.com>
3353
3354 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3355 macro.
3356
3357 * sysdeps/unix/sysv/linux/netpacket/packet.h
3358 (PACKET_IGNORE_OUTGOING): New macro.
3359
3360 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3361 macro.
3362
3363 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3364 version to 4.20.
3365 (riscv_flush_icache): New syscall.
3366
3367 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3368 trailing whitespace removed.
3369 * scripts/config.guess: Update to version 2019-01-01.
3370 * scripts/config.sub: Update to version 2019-01-01.
3371 * scripts/move-if-change: Update from gnulib.
3372
3373 * NEWS: Update copyright dates.
3374 * catgets/gencat.c (print_version): Likewise.
3375 * csu/version.c (banner): Likewise.
3376 * debug/catchsegv.sh: Likewise.
3377 * debug/pcprofiledump.c (print_version): Likewise.
3378 * debug/xtrace.sh (do_version): Likewise.
3379 * elf/ldconfig.c (print_version): Likewise.
3380 * elf/ldd.bash.in: Likewise.
3381 * elf/pldd.c (print_version): Likewise.
3382 * elf/sotruss.sh: Likewise.
3383 * elf/sprof.c (print_version): Likewise.
3384 * iconv/iconv_prog.c (print_version): Likewise.
3385 * iconv/iconvconfig.c (print_version): Likewise.
3386 * locale/programs/locale.c (print_version): Likewise.
3387 * locale/programs/localedef.c (print_version): Likewise.
3388 * login/programs/pt_chown.c (print_version): Likewise.
3389 * malloc/memusage.sh (do_version): Likewise.
3390 * malloc/memusagestat.c (print_version): Likewise.
3391 * malloc/mtrace.pl: Likewise.
3392 * manual/libc.texinfo: Likewise.
3393 * nptl/version.c (banner): Likewise.
3394 * nscd/nscd.c (print_version): Likewise.
3395 * nss/getent.c (print_version): Likewise.
3396 * nss/makedb.c (print_version): Likewise.
3397 * posix/getconf.c (main): Likewise.
3398 * scripts/test-installation.pl: Likewise.
3399 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3400
3401 * All files with FSF copyright notices: Update copyright dates
3402 using scripts/update-copyrights.
3403 * locale/programs/charmap-kw.h: Regenerated.
3404 * locale/programs/locfile-kw.h: Likewise.
3405
3406 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3407
3408 * timezone/zdump.c: Update from tzcode 2018i.
3409 * timezone/zic.c: Likewise.
3410
3411 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3412
3413 regex: improve Gnulib port to AIX
3414 From the glibc point of view, this removes duplicate macro
3415 definitions and is obviously safe.
3416 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3417 * posix/regex_internal.h:
3418 (__attribute__, __attribute_warn_unused_result__):
3419 Remove; already defined elsewhere.
3420
3421 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
3422
3423 [BZ #24027]
3424 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3425 copying operation. (ncopies had the wrong type, resulting in an
3426 integer wraparound and too few elements being copied.)
3427
3428 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3429
3430 [BZ #24022]
3431 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3432 <asm/syscalls.h> exists with __has_include__ before including it.
3433
3434 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3435
3436 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3437 version to 4.20.
3438
3439 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
3440
3441 * hurd/lookup-retry: Include <unistd.h>.
3442 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3443 Release it on return. Handle "pid" magical lookup retry.
3444
3445 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3446
3447 [BZ #10496]
3448 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3449 (t_fmt_ampm): Likewise.
3450 * localedata/locales/aa_ER (t_fmt): Likewise.
3451 (t_fmt_ampm): Likewise.
3452 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3453 (t_fmt_ampm): Likewise.
3454 * localedata/locales/aa_ET (t_fmt): Likewise.
3455 (t_fmt_ampm): Likewise.
3456 * localedata/locales/am_ET (t_fmt): Likewise.
3457 (t_fmt_ampm): Likewise.
3458 * localedata/locales/byn_ER (t_fmt): Likewise.
3459 (t_fmt_ampm): Likewise.
3460 * localedata/locales/om_ET (t_fmt): Likewise.
3461 (t_fmt_ampm): Likewise.
3462 * localedata/locales/sid_ET (t_fmt): Likewise.
3463 (t_fmt_ampm): Likewise.
3464 * localedata/locales/so_DJ (t_fmt): Likewise.
3465 (t_fmt_ampm): Likewise.
3466 * localedata/locales/so_ET (t_fmt): Likewise.
3467 (t_fmt_ampm): Likewise.
3468 * localedata/locales/so_SO (t_fmt): Likewise.
3469 (t_fmt_ampm): Likewise.
3470 * localedata/locales/ti_ER (t_fmt): Likewise.
3471 (t_fmt_ampm): Likewise.
3472 * localedata/locales/ti_ET (t_fmt): Likewise.
3473 (t_fmt_ampm): Likewise.
3474 * localedata/locales/tig_ER (t_fmt): Likewise.
3475 (t_fmt_ampm): Likewise.
3476 * localedata/locales/wal_ET (t_fmt): Likewise.
3477 (t_fmt_ampm): Likewise.
3478
3479 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3480 * localedata/locales/ar_IN (t_fmt): Likewise.
3481 * localedata/locales/bhb_IN (t_fmt): Likewise.
3482 * localedata/locales/bho_IN (t_fmt): Likewise.
3483 * localedata/locales/bi_VU (t_fmt): Likewise.
3484 * localedata/locales/bn_BD (t_fmt): Likewise.
3485 * localedata/locales/bn_IN (t_fmt): Likewise.
3486 * localedata/locales/brx_IN (t_fmt): Likewise.
3487 * localedata/locales/doi_IN (t_fmt): Likewise.
3488 * localedata/locales/en_HK (t_fmt): Likewise.
3489 (t_fmt_ampm): Likewise.
3490 * localedata/locales/en_IN (t_fmt): Likewise.
3491 * localedata/locales/en_PH (t_fmt): Likewise.
3492 * localedata/locales/gu_IN (t_fmt): Likewise.
3493 * localedata/locales/hi_IN (t_fmt): Likewise.
3494 * localedata/locales/hif_FJ (t_fmt): Likewise.
3495 * localedata/locales/hne_IN (t_fmt): Likewise.
3496 * localedata/locales/kn_IN (t_fmt): Likewise.
3497 * localedata/locales/kok_IN (t_fmt): Likewise.
3498 * localedata/locales/ks_IN (t_fmt): Likewise.
3499 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3500 * localedata/locales/mag_IN (t_fmt): Likewise.
3501 * localedata/locales/mai_IN (t_fmt): Likewise.
3502 * localedata/locales/mjw_IN (t_fmt): Likewise.
3503 * localedata/locales/ml_IN (t_fmt): Likewise.
3504 * localedata/locales/mni_IN (t_fmt): Likewise.
3505 * localedata/locales/mr_IN (t_fmt): Likewise.
3506 * localedata/locales/ms_MY (t_fmt): Likewise.
3507 * localedata/locales/pa_IN (t_fmt): Likewise.
3508 * localedata/locales/raj_IN (t_fmt): Likewise.
3509 * localedata/locales/sa_IN (t_fmt): Likewise.
3510 * localedata/locales/sat_IN (t_fmt): Likewise.
3511 * localedata/locales/sd_IN (t_fmt): Likewise.
3512 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3513 * localedata/locales/tcy_IN (t_fmt): Likewise.
3514 * localedata/locales/the_NP (t_fmt): Likewise.
3515 * localedata/locales/to_TO (t_fmt): Likewise.
3516 * localedata/locales/ur_IN (t_fmt): Likewise.
3517
3518 * localedata/locales/hif_FJ (d_t_fmt): Set to
3519 "%A %d %b %Y %I:%M:%S %p".
3520 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3521
3522 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3523 * localedata/locales/ar_BH (t_fmt): Likewise.
3524 * localedata/locales/ar_DZ (t_fmt): Likewise.
3525 * localedata/locales/ar_EG (t_fmt): Likewise.
3526 * localedata/locales/ar_IQ (t_fmt): Likewise.
3527 * localedata/locales/ar_JO (t_fmt): Likewise.
3528 * localedata/locales/ar_KW (t_fmt): Likewise.
3529 * localedata/locales/ar_LB (t_fmt): Likewise.
3530 * localedata/locales/ar_LY (t_fmt): Likewise.
3531 * localedata/locales/ar_OM (t_fmt): Likewise.
3532 * localedata/locales/ar_QA (t_fmt): Likewise.
3533 * localedata/locales/ar_SD (t_fmt): Likewise.
3534 * localedata/locales/ar_SS (t_fmt): Likewise.
3535 * localedata/locales/ar_SY (t_fmt): Likewise.
3536 * localedata/locales/ar_TN (t_fmt): Likewise.
3537 * localedata/locales/ar_YE (t_fmt): Likewise.
3538
3539 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3540 (t_fmt_ampm): Likewise.
3541 * localedata/locales/gez_ET (t_fmt): Likewise.
3542 (t_fmt_ampm): Likewise.
3543
3544 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3545 (t_fmt_ampm): Likewise.
3546 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3547
3548 * localedata/locales/zh_HK (t_fmt):
3549 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3550
3551 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3552 because this locale does not use the 12-hour clock.
3553 (t_fmt): Set to "%Z %H:%M:%S".
3554 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3555
3556 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3557 because this locale does not use the 12-hour clock.
3558 (t_fmt): Set to "%H:%M:%S %Z".
3559 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3560
3561 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3562 because this locale does not use the 12-hour clock.
3563 (t_fmt): Set to "%T".
3564 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3565 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3566
3567 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3568 because this locale does not use the 12-hour clock.
3569 (t_fmt): Set to "%H:%M:%S %Z".
3570 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3571
3572 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3573 because this locale does not use the 12-hour clock.
3574 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3575 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3576
3577 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3578
3579 [BZ #10496]
3580 [BZ #23724]
3581 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3582 (t_fmt_ampm): Likewise.
3583 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3584 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3585 (d_fmt): Set to "%-d.%-m.%y".
3586
3587 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3588
3589 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3590 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3591 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3592 Likewise.
3593 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3594 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3595 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3596 function.
3597 * support/blob_repeat.c (check_mul_overflow_size_t,
3598 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3599
3600 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3601
3602 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3603
3604 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3605
3606 regex: simplify Gnulib port
3607 This simplifies the code, by removing stuff intended for porting
3608 to Gnulib but no longer needed there.
3609 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3610 uses of libc_hidden_def, weak_alias.
3611 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3612 _Restrict_ except for public-facing headers.
3613 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3614 Remove; already defined elsewhere.
3615 * posix/regex.c, posix/regex_internal.h:
3616 Use __GNUC_PREREQ instead of rolling our own.
3617 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3618
3619 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3620
3621 * benchtests/bench-strlen.c (generic_strlen): New function.
3622 (memchr_strlen): New function.
3623
3624 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3625
3626 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3627 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3628 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3629
3630 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3631
3632 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3633
3634 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3635
3636 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
3637 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
3638 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
3639 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
3640 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
3641 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
3642 <sysdeps/ieee754/flt-32/s_sincosf.c>.
3643
3644 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3645
3646 [BZ #24023]
3647 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
3648 PLT reference in libc.so.
3649 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
3650 _Q_lltoq and _Q_qtod PLT references in libc.so.
3651
3652 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3653
3654 * benchtests/bench-memchr.c: Cleanup defines.
3655 * benchtests/bench-memcmp.c: Likewise.
3656 * benchtests/bench-memset.c: Likewise.
3657 * benchtests/bench-memset-large.c: Likewise.
3658 * benchtests/bench-memset-walk.c: Likewise.
3659 * benchtests/bench-stpcpy.c: Likewise.
3660 * benchtests/bench-stpncpy.c: Likewise.
3661 * benchtests/bench-strcat.c: Likewise.
3662 * benchtests/bench-strchr.c: Likewise.
3663 * benchtests/bench-strcmp.c: Likewise.
3664 * benchtests/bench-strcpy.c: Likewise.
3665 * benchtests/bench-strcspn.c: Likewise.
3666 * benchtests/bench-string.h: Likewise.
3667 * benchtests/bench-strlen.c: Likewise.
3668 * benchtests/bench-strncat.c: Likewise.
3669 * benchtests/bench-strncmp.c: Likewise.
3670 * benchtests/bench-strncpy.c: Likewise.
3671 * benchtests/bench-strnlen.c: Likewise.
3672 * benchtests/bench-strpbrk.c: Likewise.
3673 * benchtests/bench-strrchr.c: Likewise.
3674 * benchtests/bench-strspn.c: Likewise.
3675
3676 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3677
3678 * stdlib/longlong.h: Update from GCC.
3679
3680 [BZ #23993]
3681 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3682 * configure: Regenerated.
3683 * manual/install.texi (Tools for Compilation): Update minimum GCC
3684 version.
3685 * INSTALL: Regenerated.
3686
3687 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
3688
3689 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3690
3691 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
3692
3693 * malloc/malloc.c (mremap_chunk): Additional checks.
3694
3695 2018-12-21 Mao Han <han_mao@c-sky.com>
3696
3697 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3698 * scripts/build-many-glibcs.py: Add C-SKY targets.
3699 * sysdeps/csky/Implies: New file.
3700 * sysdeps/csky/Makefile: Likewise.
3701 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3702 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3703 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3704 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3705 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3706 * sysdeps/csky/abiv2/memmove.S: Likewise.
3707 * sysdeps/csky/abiv2/memset.S: Likewise.
3708 * sysdeps/csky/abiv2/setjmp.S: Likewise.
3709 * sysdeps/csky/abiv2/start.S: Likewise.
3710 * sysdeps/csky/abiv2/strcmp.S: Likewise.
3711 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3712 * sysdeps/csky/abiv2/strlen.S: Likewise.
3713 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3714 * sysdeps/csky/abort-instr.h: Likewise.
3715 * sysdeps/csky/atomic-machine.h: Likewise.
3716 * sysdeps/csky/bits/endian.h: Likewise.
3717 * sysdeps/csky/bits/fenv.h: Likewise.
3718 * sysdeps/csky/bits/link.h: Likewise.
3719 * sysdeps/csky/bits/setjmp.h: Likewise.
3720 * sysdeps/csky/bsd-_setjmp.S: Likewise.
3721 * sysdeps/csky/bsd-setjmp.S: Likewise.
3722 * sysdeps/csky/configure: Likewise.
3723 * sysdeps/csky/configure.ac: Likewise.
3724 * sysdeps/csky/dl-machine.h: Likewise.
3725 * sysdeps/csky/dl-procinfo.c: Likewise.
3726 * sysdeps/csky/dl-procinfo.h: Likewise.
3727 * sysdeps/csky/dl-sysdep.h: Likewise.
3728 * sysdeps/csky/dl-tls.h: Likewise.
3729 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
3730 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
3731 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
3732 * sysdeps/csky/fpu/fegetenv.c: Likewise.
3733 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
3734 * sysdeps/csky/fpu/fegetmode.c: Likewise.
3735 * sysdeps/csky/fpu/fegetround.c: Likewise.
3736 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
3737 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
3738 * sysdeps/csky/fpu/fenv_private.h: Likewise.
3739 * sysdeps/csky/fpu/fesetenv.c: Likewise.
3740 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
3741 * sysdeps/csky/fpu/fesetmode.c: Likewise.
3742 * sysdeps/csky/fpu/fesetround.c: Likewise.
3743 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
3744 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
3745 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
3746 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
3747 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
3748 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
3749 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
3750 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
3751 * sysdeps/csky/fpu_control.h: Likewise.
3752 * sysdeps/csky/gccframe.h: Likewise.
3753 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
3754 * sysdeps/csky/ldsodefs.h: Likewise.
3755 * sysdeps/csky/libc-tls.c: Likewise.
3756 * sysdeps/csky/linkmap.h: Likewise.
3757 * sysdeps/csky/machine-gmon.h: Likewise.
3758 * sysdeps/csky/memusage.h: Likewise.
3759 * sysdeps/csky/nofpu/Implies: Likewise.
3760 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3761 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3762 * sysdeps/csky/nptl/Makefile: Likewise.
3763 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3764 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3765 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3766 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3767 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3768 * sysdeps/csky/nptl/tls.h: Likewise.
3769 * sysdeps/csky/preconfigure: Likewise.
3770 * sysdeps/csky/sfp-machine.h: Likewise.
3771 * sysdeps/csky/sotruss-lib.c: Likewise.
3772 * sysdeps/csky/stackinfo.h: Likewise.
3773 * sysdeps/csky/sysdep.h: Likewise.
3774 * sysdeps/csky/tininess.h: Likewise.
3775 * sysdeps/csky/tst-audit.h: Likewise.
3776 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3777 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3778 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3779 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3780 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3781 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3782 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3783 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3784 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3785 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3786 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3787 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3788 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3789 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3790 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3791 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3792 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3793 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3794 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3795 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3796 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3797 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3798 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3799 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3800 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3801 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3802 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3803 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3804 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3805 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3806 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3807 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3808 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3809 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3810 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3811 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3812 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3813 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3814 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3815 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3816 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3817 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3818 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3819 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3820
3821 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3822
3823 * include/time.h (__difftime64): Add.
3824 * time/difftime.c (subtract): convert to 64-bit time.
3825 * time/difftime.c (__difftime64): Add.
3826 * time/difftime.c (__difftime): Wrap around __difftime64.
3827
3828 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3829
3830 * manual/examples/add.c: Remove redundant "if not".
3831 * manual/examples/argp-ex1.c: Likewise.
3832 * manual/examples/argp-ex2.c: Likewise.
3833 * manual/examples/argp-ex3.c: Likewise.
3834 * manual/examples/argp-ex4.c: Likewise.
3835 * manual/examples/atexit.c: Likewise.
3836 * manual/examples/db.c: Likewise.
3837 * manual/examples/dir.c: Likewise.
3838 * manual/examples/dir2.c: Likewise.
3839 * manual/examples/execinfo.c: Likewise.
3840 * manual/examples/filecli.c: Likewise.
3841 * manual/examples/filesrv.c: Likewise.
3842 * manual/examples/fmtmsgexpl.c: Likewise.
3843 * manual/examples/genpass.c: Likewise.
3844 * manual/examples/inetcli.c: Likewise.
3845 * manual/examples/inetsrv.c: Likewise.
3846 * manual/examples/isockad.c: Likewise.
3847 * manual/examples/longopt.c: Likewise.
3848 * manual/examples/memopen.c: Likewise.
3849 * manual/examples/memstrm.c: Likewise.
3850 * manual/examples/mkdirent.c: Likewise.
3851 * manual/examples/mkfsock.c: Likewise.
3852 * manual/examples/mkisock.c: Likewise.
3853 * manual/examples/mygetpass.c: Likewise.
3854 * manual/examples/pipe.c: Likewise.
3855 * manual/examples/popen.c: Likewise.
3856 * manual/examples/rprintf.c: Likewise.
3857 * manual/examples/search.c: Likewise.
3858 * manual/examples/select.c: Likewise.
3859 * manual/examples/setjmp.c: Likewise.
3860 * manual/examples/sigh1.c: Likewise.
3861 * manual/examples/sigusr.c: Likewise.
3862 * manual/examples/stpcpy.c: Likewise.
3863 * manual/examples/strdupa.c: Likewise.
3864 * manual/examples/strftim.c: Likewise.
3865 * manual/examples/subopt.c: Likewise.
3866 * manual/examples/swapcontext.c: Likewise.
3867 * manual/examples/termios.c: Likewise.
3868 * manual/examples/testopt.c: Likewise.
3869 * manual/examples/testpass.c: Likewise.
3870 * manual/examples/timeval_subtract.c: Likewise.
3871
3872 2018-12-19 Joseph Myers <joseph@codesourcery.com>
3873
3874 * sysdeps/x86/fpu/math_private.h: New file.
3875 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3876
3877 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3878 definition.
3879 (cosh): Likewise.
3880 (tanh): Likewise.
3881
3882 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3883
3884 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3885 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3886 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3887 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3888 fields.
3889 (_dl_show_auxv): Give a special treatment to
3890 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3891 and AT_L3_CACHEGEOMETRY.
3892 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3893 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3894 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3895 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3896
3897 2018-12-19 Andreas Schwab <schwab@suse.de>
3898
3899 * nscd/connections.c (check_use): Don't abort on invalid len.
3900
3901 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3902
3903 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3904 values in the 64bit value cases.
3905
3906 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3907
3908 * include/time.h
3909 (__ctime64_r): Add.
3910 * time/ctime_r.c
3911 (__ctime64_r): Add.
3912 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3913
3914 * include/time.h
3915 (__ctime64): Add.
3916 * time/gmtime.c
3917 (__ctime64): Add.
3918 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3919
3920 * include/time.h
3921 (__gmtime64_r): Add.
3922 * time/gmtime.c
3923 (__gmtime64_r): Add.
3924 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3925
3926 * include/time.h
3927 (__gmtime64): Add.
3928 * time/gmtime.c
3929 (__gmtime64): Add.
3930 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3931
3932 * include/time.h
3933 (__localtime64_r): Add.
3934 * time/localtime.c
3935 (__localtime64_r): Add.
3936 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3937
3938 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3939
3940 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3941 kernel_sigction definition.
3942
3943 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3944
3945 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3946
3947 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3948 __syscall_rt_sigaction.
3949 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3950 (kernel_sigaction): Use Linux generic defintion.
3951 (STUB): Define.
3952 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3953 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3954 (__syscall_rt_sigaction): Remove implementation.
3955 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3956 hidden.
3957 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3958 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3959 INTERNAL_SYSCALL): Remove definitions.
3960 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3961 action and signal set size.
3962 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3963 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3964
3965 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3966 James Clarke <jrtc27@jrtc27.com>
3967
3968 [BZ #23967]
3969 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3970 Define if SA_RESTORER is defined.
3971 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3972 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3973 already defined.
3974 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3975 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3976 definitions.
3977 (HAS_SA_RESTORER): Define.
3978 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3979 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3980 (HAS_SA_RESTORER): Define.
3981 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3982 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3983 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3984 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3985 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3986
3987 2018-12-18 Joseph Myers <joseph@codesourcery.com>
3988
3989 * sysdeps/unix/sysv/linux/kernel-features.h
3990 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3991 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3992 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3993 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3994 (__ASSUME_ST_INO_64_BIT): Likewise.
3995 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3996 <kernel-features.h>.
3997 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3998 Remove conditional code.
3999 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4000 <kernel-features.h>.
4001 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4002 Remove conditional code.
4003 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4004 <kernel-features.h>.
4005 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4006 Remove conditional code.
4007 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4008 <kernel-features.h>.
4009 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4010 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4011
4012 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4013
4014 * sysdeps/s390/multiarch/ifunc-resolve.h
4015 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4016 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4017 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4018 Delete macro definition.
4019 (s390_libc_ifunc_init): Rename to
4020 s390_libc_ifunc_expr_stfle_init.
4021 * sysdeps/s390/bzero: Use
4022 s390_libc_ifunc_expr_stfle_init instead of
4023 s390_libc_ifunc_init.
4024 * sysdeps/s390/memcmp.c: Likewise.
4025 * sysdeps/s390/memcpy.c: Likewise.
4026 * sysdeps/s390/mempcpy.c: Likewise.
4027 * sysdeps/s390/memset.c: Likewise.
4028
4029 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4030
4031 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4032 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4033
4034 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4035
4036 * sysdeps/s390/multiarch/Makefile
4037 (sysdep_routines): Remove wmemcmp variants.
4038 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4039 * sysdeps/s390/multiarch/ifunc-impl-list.c
4040 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4041 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4042 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4043 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4044 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4045 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4046 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4047 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4048
4049 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4050
4051 * sysdeps/s390/multiarch/Makefile
4052 (sysdep_routines): Remove wmemset variants.
4053 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4054 * sysdeps/s390/multiarch/ifunc-impl-list.c
4055 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4056 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4057 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4058 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4059 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4060 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4061 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4062 * sysdeps/s390/ifunc-wmemset.h: New file.
4063
4064 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4065
4066 * sysdeps/s390/multiarch/Makefile
4067 (sysdep_routines): Remove wmemchr variants.
4068 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4069 * sysdeps/s390/multiarch/ifunc-impl-list.c
4070 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4071 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4072 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4073 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4074 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4075 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4076 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4077 * sysdeps/s390/ifunc-wmemchr.h: New file.
4078
4079 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4080
4081 * sysdeps/s390/multiarch/Makefile
4082 (sysdep_routines): Remove wcscspn variants.
4083 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4084 * sysdeps/s390/multiarch/ifunc-impl-list.c
4085 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4086 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4087 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4088 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4089 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4090 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4091 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4092 * sysdeps/s390/ifunc-wcscspn.h: New file.
4093
4094 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4095
4096 * sysdeps/s390/multiarch/Makefile
4097 (sysdep_routines): Remove wcspbrk variants.
4098 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4099 * sysdeps/s390/multiarch/ifunc-impl-list.c
4100 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4101 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4102 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4103 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4104 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4105 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4106 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4107 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4108
4109 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4110
4111 * sysdeps/s390/multiarch/Makefile
4112 (sysdep_routines): Remove wcsspn variants.
4113 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4114 * sysdeps/s390/multiarch/ifunc-impl-list.c
4115 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4116 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4117 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4118 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4119 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4120 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4121 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4122 * sysdeps/s390/ifunc-wcsspn.h: New file.
4123
4124 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4125
4126 * sysdeps/s390/multiarch/Makefile
4127 (sysdep_routines): Remove wcsrchr variants.
4128 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4129 * sysdeps/s390/multiarch/ifunc-impl-list.c
4130 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4131 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4132 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4133 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4134 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4135 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4136 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4137 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4138
4139 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4140
4141 * sysdeps/s390/multiarch/Makefile
4142 (sysdep_routines): Remove wcschrnul variants.
4143 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4144 * sysdeps/s390/multiarch/ifunc-impl-list.c
4145 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4146 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4147 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4148 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4149 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4150 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4151 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4152 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4153
4154 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4155
4156 * sysdeps/s390/multiarch/Makefile
4157 (sysdep_routines): Remove wcschr variants.
4158 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4159 * sysdeps/s390/multiarch/ifunc-impl-list.c
4160 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4161 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4162 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4163 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4164 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4165 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4166 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4167 * sysdeps/s390/ifunc-wcschr.h: New file.
4168
4169 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4170
4171 * sysdeps/s390/multiarch/Makefile
4172 (sysdep_routines): Remove wcsncmp variants.
4173 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4174 * sysdeps/s390/multiarch/ifunc-impl-list.c
4175 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4176 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4177 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4178 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4179 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4180 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4181 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4182 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4183
4184 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4185
4186 * sysdeps/s390/multiarch/Makefile
4187 (sysdep_routines): Remove wcscmp variants.
4188 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4189 * sysdeps/s390/multiarch/ifunc-impl-list.c
4190 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4191 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4192 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4193 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4194 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4195 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4196 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4197 * sysdeps/s390/ifunc-wcscmp.h: New file.
4198
4199 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4200
4201 * sysdeps/s390/multiarch/Makefile
4202 (sysdep_routines): Remove wcsncat variants.
4203 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4204 * sysdeps/s390/multiarch/ifunc-impl-list.c
4205 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4206 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4207 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4208 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4209 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4210 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4211 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4212 * sysdeps/s390/ifunc-wcsncat.h: New file.
4213
4214 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4215
4216 * sysdeps/s390/multiarch/Makefile
4217 (sysdep_routines): Remove wcscat variants.
4218 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4219 * sysdeps/s390/multiarch/ifunc-impl-list.c
4220 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4221 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4222 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4223 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4224 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4225 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4226 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4227 * sysdeps/s390/ifunc-wcscat.h: New file.
4228
4229 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4230
4231 * sysdeps/s390/multiarch/Makefile
4232 (sysdep_routines): Remove wcpncpy variants.
4233 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4234 * sysdeps/s390/multiarch/ifunc-impl-list.c
4235 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4236 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4237 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4238 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4239 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4240 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4241 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4242 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4243
4244 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4245
4246 * sysdeps/s390/multiarch/Makefile
4247 (sysdep_routines): Remove wcsncpy variants.
4248 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4249 * sysdeps/s390/multiarch/ifunc-impl-list.c
4250 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4251 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4252 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4253 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4254 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4255 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4256 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4257 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4258
4259 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4260
4261 * sysdeps/s390/multiarch/Makefile
4262 (sysdep_routines): Remove wcpcpy variants.
4263 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4264 * sysdeps/s390/multiarch/ifunc-impl-list.c
4265 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4266 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4267 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4268 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4269 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4270 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4271 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4272 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4273
4274 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4275
4276 * sysdeps/s390/multiarch/Makefile
4277 (sysdep_routines): Remove wcscpy variants.
4278 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4279 * sysdeps/s390/multiarch/ifunc-impl-list.c
4280 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4281 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4282 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4283 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4284 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4285 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4286 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4287 * sysdeps/s390/ifunc-wcscpy.h: New file.
4288
4289 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4290
4291 * sysdeps/s390/multiarch/Makefile
4292 (sysdep_routines): Remove wcsnlen variants.
4293 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4294 * sysdeps/s390/multiarch/ifunc-impl-list.c
4295 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4296 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4297 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4298 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4299 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4300 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4301 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4302 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4303
4304 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4305
4306 * sysdeps/s390/multiarch/Makefile
4307 (sysdep_routines): Remove wcslen variants.
4308 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4309 * sysdeps/s390/multiarch/ifunc-impl-list.c
4310 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4311 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4312 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4313 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4314 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4315 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4316 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4317 * sysdeps/s390/ifunc-wcslen.h: New file.
4318
4319 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4320
4321 * sysdeps/s390/multiarch/Makefile
4322 (sysdep_routines): Remove memrchr variants.
4323 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4324 * sysdeps/s390/multiarch/ifunc-impl-list.c
4325 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4326 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4327 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4328 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4329 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4330 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4331 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4332 * sysdeps/s390/ifunc-memrchr.h: New file.
4333
4334 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4335
4336 * sysdeps/s390/multiarch/Makefile
4337 (sysdep_routines): Remove memccpy variants.
4338 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4339 * sysdeps/s390/multiarch/ifunc-impl-list.c
4340 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4341 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4342 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4343 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4344 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4345 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4346 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4347 * sysdeps/s390/ifunc-memccpy.h: New file.
4348
4349 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4350
4351 * sysdeps/s390/multiarch/Makefile
4352 (sysdep_routines): Remove rawmemchr variants.
4353 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4354 * sysdeps/s390/multiarch/ifunc-impl-list.c
4355 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4356 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4357 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4358 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4359 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4360 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4361 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4362 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4363
4364 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4365
4366 * sysdeps/s390/multiarch/Makefile
4367 (sysdep_routines): Remove memchr variants.
4368 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4369 * sysdeps/s390/multiarch/ifunc-impl-list.c
4370 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4371 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4372 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4373 * sysdeps/s390/multiarch/memchr.c: Move to ...
4374 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4375 * sysdeps/s390/ifunc-memchr.h: New file.
4376 * sysdeps/s390/s390-64/memchr.S: Move to ...
4377 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4378 for 31/64bit and ifunc handling.
4379 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4380 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4381 * sysdeps/s390/s390-32/memchr.S: Likewise.
4382
4383 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4384
4385 * sysdeps/s390/multiarch/Makefile
4386 (sysdep_routines): Remove strcspn variants.
4387 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4388 * sysdeps/s390/multiarch/ifunc-impl-list.c
4389 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4390 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4391 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4392 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4393 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4394 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4395 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4396 * sysdeps/s390/ifunc-strcspn.h: New file.
4397
4398 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4399
4400 * sysdeps/s390/multiarch/Makefile
4401 (sysdep_routines): Remove strpbrk variants.
4402 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4403 * sysdeps/s390/multiarch/ifunc-impl-list.c
4404 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4405 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4406 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4407 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4408 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4409 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4410 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4411 * sysdeps/s390/ifunc-strpbrk.h: New file.
4412
4413 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4414
4415 * sysdeps/s390/multiarch/Makefile
4416 (sysdep_routines): Remove strspn variants.
4417 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4418 * sysdeps/s390/multiarch/ifunc-impl-list.c
4419 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4420 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4421 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4422 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4423 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4424 * sysdeps/s390/multiarch/strspn.c: Move to ...
4425 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4426 * sysdeps/s390/ifunc-strspn.h: New file.
4427
4428 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4429
4430 * sysdeps/s390/multiarch/Makefile
4431 (sysdep_routines): Remove strrchr variants.
4432 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4433 * sysdeps/s390/multiarch/ifunc-impl-list.c
4434 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4435 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4436 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4437 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4438 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4439 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4440 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4441 * sysdeps/s390/ifunc-strrchr.h: New file.
4442
4443 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4444
4445 * sysdeps/s390/multiarch/Makefile
4446 (sysdep_routines): Remove strchrnul variants.
4447 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4448 * sysdeps/s390/multiarch/ifunc-impl-list.c
4449 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4450 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4451 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4452 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4453 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4454 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4455 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4456 * sysdeps/s390/ifunc-strchrnul.h: New file.
4457
4458 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4459
4460 * sysdeps/s390/multiarch/Makefile
4461 (sysdep_routines): Remove strchr variants.
4462 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4463 * sysdeps/s390/multiarch/ifunc-impl-list.c
4464 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4465 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4466 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4467 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4468 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4469 * sysdeps/s390/multiarch/strchr.c: Move to ...
4470 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4471 * sysdeps/s390/ifunc-strchr.h: New file.
4472
4473 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4474
4475 * sysdeps/s390/multiarch/Makefile
4476 (sysdep_routines): Remove strncmp variants.
4477 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4478 * sysdeps/s390/multiarch/ifunc-impl-list.c
4479 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4480 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4481 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4482 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4483 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4484 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4485 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4486 * sysdeps/s390/ifunc-strncmp.h: New file.
4487
4488 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4489
4490 * sysdeps/s390/multiarch/Makefile
4491 (sysdep_routines): Remove strcmp variants.
4492 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4493 * sysdeps/s390/multiarch/ifunc-impl-list.c
4494 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4495 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4496 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4497 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4498 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4499 * sysdeps/s390/ifunc-strcmp.h: New file.
4500 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4501 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4502 for 31/64bit and ifunc handling.
4503 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4504 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4505 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4506
4507 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4508
4509 * sysdeps/s390/multiarch/Makefile
4510 (sysdep_routines): Remove strncat variants.
4511 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4512 * sysdeps/s390/multiarch/ifunc-impl-list.c
4513 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4514 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4515 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4516 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4517 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4518 * sysdeps/s390/multiarch/strncat.c: Move to ...
4519 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4520 * sysdeps/s390/ifunc-strncat.h: New file.
4521
4522 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4523
4524 * sysdeps/s390/multiarch/Makefile
4525 (sysdep_routines): Remove strcat variants.
4526 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4527 * sysdeps/s390/multiarch/ifunc-impl-list.c
4528 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4529 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4530 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4531 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4532 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4533 * sysdeps/s390/multiarch/strcat.c: Move to ...
4534 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4535 * sysdeps/s390/ifunc-strcat.h: New file.
4536
4537 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4538
4539 * sysdeps/s390/multiarch/Makefile
4540 (sysdep_routines): Remove stpncpy variants.
4541 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4542 * sysdeps/s390/multiarch/ifunc-impl-list.c
4543 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4544 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4545 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4546 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4547 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4548 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4549 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4550 * sysdeps/s390/ifunc-stpncpy.h: New file.
4551
4552 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4553
4554 * sysdeps/s390/multiarch/Makefile
4555 (sysdep_routines): Remove strncpy variants.
4556 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4557 * sysdeps/s390/multiarch/ifunc-impl-list.c
4558 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4559 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4560 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4561 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4562 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4563 * sysdeps/s390/ifunc-strncpy.h: New file.
4564 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4565 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4566 and adjust ifunc handling.
4567 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4568 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4569 and adjust ifunc handling.
4570 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4571 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4572
4573 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4574
4575 * sysdeps/s390/multiarch/Makefile
4576 (sysdep_routines): Remove stpcpy variants.
4577 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4578 * sysdeps/s390/multiarch/ifunc-impl-list.c
4579 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4580 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4581 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4582 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4583 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4584 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4585 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4586 * sysdeps/s390/ifunc-stpcpy.h: New file.
4587
4588 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4589
4590 * sysdeps/s390/multiarch/Makefile
4591 (sysdep_routines): Remove strcpy variants.
4592 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4593 * sysdeps/s390/multiarch/ifunc-impl-list.c
4594 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4595 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4596 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4597 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4598 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4599 * sysdeps/s390/ifunc-strcpy.h: New file.
4600 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4601 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4602 for 31/64bit and ifunc handling.
4603 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4604 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4605 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4606
4607 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4608
4609 * sysdeps/s390/multiarch/Makefile
4610 (sysdep_routines): Remove strnlen variants.
4611 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4612 * sysdeps/s390/multiarch/ifunc-impl-list.c
4613 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4614 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4615 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4616 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4617 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4618 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4619 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4620 * sysdeps/s390/ifunc-strnlen.h: New file.
4621
4622 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4623
4624 * sysdeps/s390/multiarch/Makefile
4625 (sysdep_routines): Remove strlen variants.
4626 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4627 * sysdeps/s390/multiarch/ifunc-impl-list.c
4628 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4629 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4630 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4631 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4632 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4633 * sysdeps/s390/multiarch/strlen.c: Move to ...
4634 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
4635 * sysdeps/s390/ifunc-strlen.h: New file.
4636
4637 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4638
4639 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
4640 * sysdeps/s390/multiarch/ifunc-impl-list.c
4641 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
4642 * sysdeps/s390/ifunc-memmem.h: New file.
4643 * sysdeps/s390/memmem.c: Likewise.
4644 * sysdeps/s390/memmem-c.c: Likewise.
4645 * sysdeps/s390/memmem-vx.c: Likewise.
4646
4647 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4648
4649 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
4650 * sysdeps/s390/multiarch/ifunc-impl-list.c
4651 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
4652 * sysdeps/s390/ifunc-strstr.h: New file.
4653 * sysdeps/s390/strstr.c: Likewise.
4654 * sysdeps/s390/strstr-c.c: Likewise.
4655 * sysdeps/s390/strstr-vx.c: Likewise.
4656
4657 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4658
4659 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4660 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4661 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4662 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4663 New defines.
4664 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4665 * sysdeps/s390/memmove-c.c: New file.
4666 * sysdeps/s390/memmove.c: Likewise.
4667 * sysdeps/s390/multiarch/ifunc-impl-list.c
4668 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4669
4670 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4671
4672 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4673 * sysdeps/s390/configure.ac: Add check for z13 support.
4674 * sysdeps/s390/configure: Regenerated.
4675
4676 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4677
4678 * sysdeps/s390/memcopy.h: New file.
4679
4680 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4681
4682 * sysdeps/s390/s390-32/bcopy.S: Remove.
4683 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4684
4685 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4686
4687 * sysdeps/s390/ifunc-memcpy.h: New File.
4688 * sysdeps/s390/memcpy.S: Move to ...
4689 * sysdeps/s390/memcpy-z900.S ... here.
4690 Move implementations from memcpy-s390x.s to here.
4691 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4692 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4693 Remove memcpy/mempcpy variants.
4694 * sysdeps/s390/Makefile (sysdep_routines):
4695 Add memcpy/mempcpy variants.
4696 * sysdeps/s390/multiarch/ifunc-impl-list.c
4697 (__libc_ifunc_impl_list): Adjust ifunc variants for
4698 memcpy and mempcpy.
4699 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4700 to ...
4701 * sysdeps/s390/memcpy.c: ... here.
4702 Adjust ifunc variants for memcpy.
4703 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4704 * sysdeps/s390/mempcpy.c: ... here.
4705 Adjust ifunc variants for mempcpy.
4706 * sysdeps/s390/mempcpy.S: Delete file.
4707
4708 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4709
4710 * sysdeps/s390/s390-64/memcpy.S: Move to ...
4711 * sysdeps/s390/memcpy.S: ... here.
4712 Adjust to be usable for 31/64bit.
4713 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4714 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4715 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4716 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4717 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4718 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4719 Adjust to be usable for 31/64bit.
4720 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
4721 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
4722 * sysdeps/s390/multiarch/memcpy.c: ... here.
4723 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
4724
4725 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4726
4727 * sysdeps/s390/ifunc-memcmp.h: New File.
4728 * sysdeps/s390/memcmp.S: Move to ...
4729 * sysdeps/s390/memcmp-z900.S ... here.
4730 Move implementations from memcmp-s390x.s to here.
4731 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
4732 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4733 Remove memcmp variants.
4734 * sysdeps/s390/Makefile (sysdep_routines):
4735 Add memcmp variants.
4736 * sysdeps/s390/multiarch/ifunc-impl-list.c
4737 (__libc_ifunc_impl_list): Adjust ifunc variants for
4738 memcmp.
4739 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
4740 to ...
4741 * sysdeps/s390/memcmp.c: ... here.
4742 Adjust ifunc variants for memcmp.
4743
4744 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4745
4746 * sysdeps/s390/s390-64/memcmp.S: Move to ...
4747 * sysdeps/s390/memcmp.S: ... here.
4748 Adjust to be usable for 31/64bit.
4749 * sysdeps/s390/s390-32/memcmp.S: Delete File.
4750 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
4751 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4752 Remove memcmp.
4753 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4754 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
4755 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
4756 Adjust to be usable for 31/64bit.
4757 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
4758 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4759 * sysdeps/s390/multiarch/memcmp.c: ... here.
4760 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4761
4762 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4763
4764 * sysdeps/s390/s390-32/bzero.S: Delete file.
4765 * sysdeps/s390/s390-64/bzero.S: Likewise.
4766 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4767 * sysdeps/s390/bzero.c: New file.
4768 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4769 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4770 * sysdeps/s390/multiarch/ifunc-impl-list.c
4771 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4772
4773 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4774
4775 * sysdeps/s390/ifunc-memset.h: New File.
4776 * sysdeps/s390/memset.S: Move to ...
4777 * sysdeps/s390/memset-z900.S ... here.
4778 Move implementations from memset-s390x.s to here.
4779 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4780 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4781 Remove memset variants.
4782 * sysdeps/s390/Makefile (sysdep_routines):
4783 Add memset variants.
4784 * sysdeps/s390/multiarch/ifunc-impl-list.c
4785 (__libc_ifunc_impl_list): Adjust ifunc variants for
4786 memset.
4787 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4788 to ...
4789 * sysdeps/s390/memset.c: ... here.
4790 Adjust ifunc variants for memset.
4791
4792 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4793
4794 * sysdeps/s390/s390-64/memset.S: Move to ...
4795 * sysdeps/s390/memset.S: ... here.
4796 Adjust to be usable for 31/64bit.
4797 * sysdeps/s390/s390-32/memset.S: Delete File.
4798 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4799 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4800 Remove memset.
4801 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4802 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4803 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4804 Adjust to be usable for 31/64bit.
4805 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4806 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4807 * sysdeps/s390/multiarch/memset.c: ... here.
4808 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4809
4810 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4811
4812 * sysdeps/s390/multiarch/ifunc-resolve.h
4813 (s390_libc_ifunc_init, s390_libc_ifunc,
4814 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4815
4816 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4817
4818 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4819 * sysdeps/s390/configure.ac: Add check for z10 support.
4820 * sysdeps/s390/configure: Regenerated.
4821
4822 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4823
4824 * sysdeps/i386/atomic-machine.h: Merged with ...
4825 * sysdeps/x86_64/atomic-machine.h: To ...
4826 * sysdeps/x86/atomic-machine.h: This. New file.
4827
4828 2018-12-18 Florian Weimer <fweimer@redhat.com>
4829
4830 Rewrite locale/gen-translit.pl in Python.
4831 * locale/Makefile (generated): Add C-translit.h.
4832 (before-compile): Add $(objpfx)C-translit.h.
4833 (C-translit.h): Move to $(objpfx). Create target directory.
4834 Build using Python script.
4835 * locale/gen-translit.py: New file.
4836 * locale/gen-translit.pl: Remove file.
4837 * locale/C-translit.h.in: Change comment character to '#' for
4838 easier parsing without a C preprocessor.
4839 * locale/C-translit.h: Remove generated file.
4840 * manual/install.texi (Tools for Compilation): Do not mention
4841 C-translit.h.
4842 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4843 Remove locale/C-translit.h.
4844 * scripts/update-copyrights: Likewise.
4845 * INSTALL: Regenerate.
4846
4847 2018-12-18 Florian Weimer <fweimer@redhat.com>
4848
4849 [BZ #23995]
4850 * localedata/locales/bi_VU: Remove executable bit from file.
4851
4852 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4853
4854 * include/time.h
4855 (__localtime64): Add.
4856 * manual/maint.texi: Document Y2038 symbol handling.
4857 * time/localtime.c
4858 (__localtime64): Add.
4859 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
4860
4861 2018-12-17 Joseph Myers <joseph@codesourcery.com>
4862
4863 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4864 Do not clobber r12.
4865
4866 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4867 to allow extra macros from first or second sources.
4868 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4869 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4870 (tests-special): Add $(objpfx)tst-mman-consts.out.
4871 ($(objpfx)tst-mman-consts.out): New makefile target.
4872
4873 2018-12-17 Mao Han <han_mao@c-sky.com>
4874
4875 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4876 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4877 without stat64 system call support.
4878 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4879 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4880 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4881 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4882 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4883 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4884 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4885 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4886 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4887 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4888 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4889
4890 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4891
4892 regex: fix storage-exhaustion error
4893 [BZ #18040]
4894 * posix/regexec.c (get_subexp):
4895 Do not continue if storage is exhausted.
4896
4897 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
4898
4899 regex: fix heap-use-after-free error
4900 [BZ #18040]
4901 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4902 https://debbugs.gnu.org/32592
4903 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4904 call extend_buffers which reallocates the re_string_t internal buffer.
4905 Local variable 'buf' was not updated in such case, resulting in
4906 use-after-free.
4907 * posix/regexec.c (get_subexp): Update 'buf' after call to
4908 get_subexp_sub.
4909
4910 2018-12-15 Florian Weimer <fweimer@redhat.com>
4911
4912 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4913 (minimum_stride_size): Use it.
4914 (support_blob_repeat_allocate): Likewise.
4915
4916 2018-12-14 Joseph Myers <joseph@codesourcery.com>
4917
4918 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4919 definition.
4920 (acosh): Likewise.
4921 (atanh): Likewise.
4922
4923 2018-12-14 Florian Weimer <fweimer@redhat.com>
4924
4925 * manual/process.texi (Process Creation Concepts): Remove
4926 documentation of process (ID) lifetime. List more process
4927 creation functions. Reference Process Identification section.
4928 (Process Identification): Add information about process ID
4929 lifetime. Describe Linux thread/task IDs.
4930 * manual/signal.texi (Signaling Another Process): Mention that the
4931 signal is always sent to the process.
4932
4933 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4934
4935 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4936 and tst-ldbl-efgcvt.
4937 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4938 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4939 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4940 (fcvt_tests, output_error, output_r_error, do_test): Use the
4941 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4942 select the type of floating-point variables and arguments; to
4943 produce extra tests for double and conversion specifiers for
4944 printf; and to set the names of called functions.
4945 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4946 in tst-efgcvt-template.c.
4947 * misc/tst-ldbl-efgcvt.c: Likewise.
4948
4949 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
4950
4951 * nss/Makefile (tst-nss-test3.out): New rule.
4952
4953 2018-12-13 Joseph Myers <joseph@codesourcery.com>
4954
4955 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4956 clobber sp.
4957
4958 2018-12-13 fanjinke <fanjinke@hygon.cn>
4959
4960 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4961 "HygonGenuine".
4962
4963 2018-12-13 Andreas Schwab <schwab@suse.de>
4964
4965 [BZ #23861]
4966 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
4967 (__pthread_rwlock_rdlock_full): Update expected value for
4968 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4969 * nptl/tst-rwlock-pwn.c: New file.
4970 * nptl/Makefile (tests): Add tst-rwlock-pwn.
4971
4972 2018-12-12 Joseph Myers <joseph@codesourcery.com>
4973
4974 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4975 definition.
4976
4977 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4978
4979 * benchtests/scripts/compare_bench.py (do_compare): write to
4980 stderr in casestat is not present.
4981 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4982 stderr in case timings field is not present. Also string showing
4983 the output filename goes into the stderr.
4984
4985 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4986
4987 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4988 and ZeroDivisorError exceptions.
4989 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4990 argument to loop through user provided statistics.
4991 * benchtests/scripts/compare_bench.py (main): Include the --stats
4992 argument.
4993
4994 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4995
4996 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4997 instead of return.
4998
4999 2018-12-12 Florian Weimer <fweimer@redhat.com>
5000
5001 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5002 clause to copyright header.
5003
5004 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5005
5006 [BZ #23614]
5007 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5008 registers saved in the stack frame.
5009 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5010 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5011
5012 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5013
5014 * include/bits/monetary-ldbl.h: New file.
5015 * include/bits/printf-ldbl.h: Likewise.
5016 * include/bits/stdio-ldbl.h: Likewise.
5017 * include/bits/stdlib-ldbl.h: Likewise.
5018 * include/bits/syslog-ldbl.h: Likewise.
5019 * include/bits/wchar-ldbl.h: Likewise.
5020
5021 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5022
5023 * libio/libio.h: Remove redirection for _IO_vfprintf.
5024
5025 2018-12-11 Andreas Schwab <schwab@suse.de>
5026
5027 * Makerules: Remove all references to abilist-pattern.
5028 (update-all-abi): Simplify find expression.
5029
5030 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5031
5032 [BZ #23961]
5033 * math/auto-libm-test-in: Add new test case.
5034 * math/auto-libm-test-out-pow: Regenerated.
5035 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5036
5037 2018-12-10 DJ Delorie <dj@redhat.com>
5038
5039 [BZ #23948]
5040 * support/test-container.c: Move postclean step to before we
5041 change namespaces.
5042
5043 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5044
5045 * scripts/gen-as-const.py (main): Handle --python option.
5046 * scripts/gen-py-const.awk: Remove.
5047 * Makerules (py-const-script): Use gen-as-const.py.
5048 ($(py-const)): Likewise.
5049 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5050 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5051 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5052 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5053 ~PTHREAD_MUTEX_NO_ELISION_NP.
5054 * manual/README.pretty-printers: Update reference to
5055 gen-py-const.awk.
5056
5057 * scripts/glibcextract.py: New file.
5058 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5059 or tempfile. Import glibcexctract.
5060 (compute_c_consts): Remove. Moved to glibcextract.py.
5061 (gen_test): Update reference to compute_c_consts.
5062 (main): Likewise.
5063 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5064 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5065 * sysdeps/unix/sysv/linux/Makefile
5066 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5067 Redirect stderr as well as stdout.
5068
5069 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5070
5071 [BZ #19767]
5072 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
5073 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5074 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
5075 ALWAYS_USE_VSYSCALL.
5076 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
5077 ALWAYS_USE_VSYSCALL.
5078 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5079 ALWAYS_USE_VSYSCALL.
5080
5081 2018-12-10 Florian Weimer <fweimer@redhat.com>
5082
5083 [BZ #23972]
5084 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5085 offset instead of count for clarity. Fix typo in comment.
5086 (__old_getdents64): Keep track of previous offset. Use it to call
5087 handle_overflow.
5088 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5089 that d_off is never zero.
5090
5091 2018-12-10 Andreas Schwab <schwab@suse.de>
5092
5093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5094 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5096 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5097 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5098
5099 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5100
5101 * timezone/private.h: Update from tzcode 2018g.
5102 * timezone/tzfile.h: Likewise.
5103 * timezone/tzselect.ksh: Likewise.
5104 * timezone/zdump.c: Likewise.
5105 * timezone/zic.c: Likewise.
5106
5107 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5108
5109 [BZ #23490]
5110 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5111 (do_test): Adjust buffer size and fix format.
5112
5113 2018-12-07 DJ Delorie <dj@redhat.com>
5114
5115 [BZ #23907]
5116 * malloc/tst-tcfree3.c: New.
5117 * malloc/Makefile: Add it.
5118
5119 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5120
5121 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5122
5123 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5124
5125 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5126 used as a mask for the mode argument of __vfscanf_internal and
5127 __vfwscanf_internal.
5128 * stdio-common/vfscanf-internal.c
5129 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5130 (__strtof128_internal): Define to __wcstof128_internal.
5131 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5132 __strtof128_internal or __wcstof128_internal when the format of
5133 long double is the same as _Float128.
5134
5135 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5136
5137 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5138 * posix/confstr.c (confstr): Rename to __confstr.
5139 (__confstr): Add hidden def.
5140 (confstr): Add weak alias for __confstr.
5141 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5142 confstr.
5143
5144 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5145
5146 * NEWS: Mention getcpu.
5147 * include/sched.h (__getcpu): New libc_hidden_proto.
5148 * manual/resource.texi: Document getcpu.
5149 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5150 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5151 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5152 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5153 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5154 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5155 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5156 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5157 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5158 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5159 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5160 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5161 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5162 Likewise.
5163 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5164 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5165 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5167 Likewise.
5168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5169 Likewise.
5170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5171 Likewise.
5172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5173 Likewise.
5174 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5175 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5176 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5177 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5178 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5179 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5180 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5181 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5182 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5183 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5184 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5185 Also check getcpu.
5186
5187 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5188
5189 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5190 functions.
5191 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5192
5193 2018-12-07 Florian Weimer <fweimer@redhat.com>
5194
5195 [BZ #17405]
5196 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5197 * posix/Versions (GLIBC_2.29): Export
5198 posix_spawn_file_actions_addfchdir_np.
5199 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5200 * posix/spawn_faction_destroy.c
5201 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5202 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5203 and the field action.fchdir_action.
5204 * posix/tst-spawn-chdir.c (add_chdir): New function.
5205 (do_test): Add do_fchdir loop. Call add_chdir.
5206 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5207 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5208 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5209 posix_spawn_file_actions_addfchdir_np.
5210 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5211 Likewise.
5212 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5213 Likewise.
5214 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5215 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5216 Likewise.
5217 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5218 Likewise.
5219 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5220 Likewise.
5221 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5222 Likewise.
5223 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5224 Likewise.
5225 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5226 Likewise.
5227 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5228 (GLIBC_2.29): Likewise.
5229 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5230 (GLIBC_2.29): Likewise.
5231 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5232 (GLIBC_2.29): Likewise.
5233 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5234 (GLIBC_2.29): Likewise.
5235 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5236 Likewise.
5237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5238 (GLIBC_2.29): Likewise.
5239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5240 (GLIBC_2.29): Likewise.
5241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5242 (GLIBC_2.29): Likewise.
5243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5244 (GLIBC_2.29): Likewise.
5245 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5246 Likewise.
5247 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5248 Likewise.
5249 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5250 Likewise.
5251 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5252 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5253 Likewise.
5254 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5255 Likewise.
5256 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5257 Likewise.
5258 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5259 Likewise.
5260
5261 2018-12-06 Joseph Myers <joseph@codesourcery.com>
5262
5263 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5264 trailing whitespace removed.
5265 * scripts/config.guess: Update to version 2018-11-28.
5266 * scripts/config.sub: Update to version 2018-11-28.
5267 * scripts/install-sh: Update to version 2018-03-11.20.
5268 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5269 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5270
5271 2018-12-07 Florian Weimer <fweimer@redhat.com>
5272
5273 [BZ #23927]
5274 CVE-2018-19591
5275 * inet/tst-if_index-long.c: New file.
5276 * inet/Makefile (tests): Add tst-if_index-long.
5277
5278 2018-12-07 Florian Weimer <fweimer@redhat.com>
5279
5280 * support/check.h (support_record_failure_is_failed): Declare.
5281 * support/descriptors.h: New file.
5282 * support/support_descriptors.c: Likewise.
5283 * support/tst-support_descriptors.c: Likewise.
5284 * support/support_record_failure.c
5285 (support_record_failure_is_failed): New function.
5286 * support/Makefile (libsupport-routines): Add support_descriptors.
5287 (tests): Add tst-support_descriptors.
5288
5289 2018-12-05 Zack Weinberg <zackw@panix.com>
5290 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5291
5292 * stdio-common/vfprintf-internal.c
5293 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5294 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5295 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5296 and __no_long_double.
5297 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5298 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5299 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5300 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5301 and __nldbl_*syslog* functions.
5302 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5303 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5304 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5305 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5306 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5307 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5308 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5309 (__nldbl_vwprintf, __nldbl_wprintf):
5310 Directly call the appropriate __v*printf_internal routine, passing
5311 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5312 variable names.
5313 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5314 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5315 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5316 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5317 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5318 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5319 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5320 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5321 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5322 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5323 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5324 (__nldbl_syslog, __nldbl_vsyslog):
5325 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5326 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5327 appropriate.
5328 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5329 appropriate.
5330
5331 2018-12-05 Zack Weinberg <zackw@panix.com>
5332 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5333
5334 [BZ #11319]
5335 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5336 Moved here from debug/vsprintf_chk.c.
5337 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5338 and completion logic for the strfile to match exactly what
5339 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5340 _IO_str_init_static_internal instead of maxlen-1.
5341 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5342 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5343 __vsprintf_internal.
5344
5345 * debug/vsprintf_chk.c (__vsprintf_chk)
5346 * debug/sprintf_chk.c (__sprintf_chk):
5347 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5348 'flags' argument is positive, and slen as maxlen. No need to lock
5349 the FILE and/or construct a temporary FILE. Minimize and normalize
5350 header inclusions and variable names. Do not libc_hidden_def anything.
5351
5352 * debug/asprintf_chk.c (__asprintf_chk)
5353 * debug/dprintf_chk.c (__dprintf_chk)
5354 * debug/fprintf_chk.c (__fprintf_chk)
5355 * debug/fwprintf_chk.c (__fwprintf_chk)
5356 * debug/printf_chk.c (__printf_chk)
5357 * debug/snprintf_chk.c (__snprintf_chk)
5358 * debug/swprintf_chk.c (__swprintf_chk)
5359 * debug/vasprintf_chk.c (__vasprintf_chk)
5360 * debug/vdprintf_chk.c (__vdprintf_chk)
5361 * debug/vfprintf_chk.c (__vfprintf_chk)
5362 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5363 * debug/vprintf_chk.c (__vprintf_chk)
5364 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5365 * debug/vswprintf_chk.c (__vswprintf_chk)
5366 * debug/vwprintf_chk.c (__vwprintf_chk)
5367 * debug/wprintf_chk.c (__wprintf_chk):
5368 Directly call the corresponding vxxprintf_internal function, passing
5369 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5370 the FILE and/or construct a temporary FILE. Minimize and normalize
5371 header inclusions and variable names. Do not libc_hidden_def anything.
5372
5373 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5374 __obstack_vprintf_internal.
5375 (__obstack_vprintf_chk): Convert into a wrapper that calls
5376 __obstack_vprintf_internal (these two functions already had the
5377 same code) and move to new file...
5378 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5379 file.
5380 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5381 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5382 * debug/Makefile (routines): Add vobprintf_chk.
5383
5384 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5385 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5386 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5387 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5388 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5389 (__nldbl___obstack_vfprintf_chk):
5390 Directly call the corresponding vxxprintf_internal function,
5391 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5392 duplicate comparison of slen with 0 or maxlen from the corresponding
5393 non-__nldbl function.
5394
5395 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5396 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5397 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5398 Remove libc_hidden_proto.
5399
5400 * stdio-common/vfprintf-internal.c
5401 (__vfprintf_internal, __vfwprintf_internal):
5402 Do not check _IO_FLAGS2_FORTIFY.
5403 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5404 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5405 a comment explaining why it has the maxlen argument.
5406 (_IO_acquire_lock_clear_flags2_fct): Remove.
5407 (_IO_acquire_lock_clear_flags2): Remove.
5408 (_IO_release_lock): Remove conditional statement which will
5409 now never execute.
5410 (_IO_acquire_lock): Remove variable which is now unused.
5411 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5412 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5413
5414 * stdio-common/Makefile (tests): Add tst-bz11319 and
5415 tst-bz11319-fortify2.
5416 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5417 * stdio-common/tst-bz11319-fortify2.c: New file.
5418 * stdio-common/tst-bz11319.c: Likewise.
5419
5420 2018-12-05 Zack Weinberg <zackw@panix.com>
5421 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5422
5423 * misc/syslog.c: Include libioP.h, not iolibio.h.
5424 (__vsyslog_internal): New function with the former body of
5425 __vsyslog_chk; takes mode_flags argument same as
5426 __v*printf_internal. Call __vfprintf_internal directly.
5427
5428 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5429 Remove libc_hidden_def.
5430 (__syslog, __syslog_chk): Use __vsyslog_internal.
5431 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5432
5433 * include/sys/syslog.h: Add multiple inclusion guard.
5434 Add prototype for __vsyslog_internal.
5435 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5436
5437 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5438 Use __vsyslog_internal.
5439
5440 2018-12-05 Zack Weinberg <zackw@panix.com>
5441 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5442
5443 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5444 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5445 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5446 New functions.
5447 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5448 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5449
5450 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5451 Include wctype.h here if COMPILE_WPRINTF is defined.
5452 Define __vfprintf_internal or __vfwprintf_internal, depending
5453 on COMPILE_WPRINTF.
5454 Temporarily, on entry to this function, update mode_flags
5455 according to the environmental settings corresponding to
5456 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5457 Throughout, check mode_flags instead of __ldbl_is_dbl and
5458 _IO_FLAGS2_FORTIFY on the destination FILE.
5459 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5460 Include vfprintf-internal.c. Don't include wctype.h.
5461 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5462 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5463 and vfprintf.
5464 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5465 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5466 and vfwprintf.
5467 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5468
5469 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5470 and add mode_flags argument; use __vfprintf_internal.
5471 (__vdprintf): New function. Alias vdprintf to this.
5472 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5473 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5474 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5475 (__obstack_printf): Use __obstack_printf_internal.
5476 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5477 public aliases __vsnprintf and vsnprintf.
5478 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5479 called internally.
5480 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5481 public aliases _IO_vsprintf and vsprintf.
5482 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5483 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5484 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5485 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5486 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5487
5488 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5489 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5490 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5491 * stdio-common/printf.c: Use __vfprintf_internal.
5492
5493 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5494 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5495 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5496
5497 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5498 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5499 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5500 __vfwprintf_internal.
5501
5502 * libio/libio.h: Remove libc_hidden_proto and declaration for
5503 _IO_vfprintf.
5504 Remove declaration of _IO_vfwprintf.
5505 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5506 _IO_vsprintf.
5507 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5508 _IO_obstack_printf.
5509 * include/stdio.h: Add prototype for __vasprintf.
5510 (__vsnprintf): Remove declaration, because there are no more
5511 internal calls.
5512 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5513 declaration, because there are no more internal calls.
5514
5515 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5516 __vsnprintf_internal, instead of _IO_vsnprintf.
5517 * argp/argp-help.c (__argp_error, __argp_failure): Use
5518 __vasprintf_internal, instead of _IO_vasprintf.
5519 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5520 redefine, because there are no more internal calls.
5521
5522 2018-12-05 Zack Weinberg <zackw@panix.com>
5523 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5524
5525 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5526 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5527 Include libio/strfile.h instead of libioP.h.
5528 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5529 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5530 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5531 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5532 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5533 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5534 necessary. Do not set __no_long_double. Normalize variable names.
5535 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5536 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5537 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5538 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5539 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5540 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5541 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5542 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5543 Do not set __no_long_double. Normalize variable names.
5544
5545 2018-12-05 Zack Weinberg <zackw@panix.com>
5546 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5547
5548 * stdio-common/isoc99_scanf.c
5549 * stdio-common/isoc99_fscanf.c
5550 * stdio-common/isoc99_sscanf.c
5551 * stdio-common/isoc99_vscanf.c
5552 * stdio-common/isoc99_vfscanf.c
5553 * stdio-common/isoc99_vsscanf.c
5554 * wcsmbs/isoc99_wscanf.c
5555 * wcsmbs/isoc99_fwscanf.c
5556 * wcsmbs/isoc99_swscanf.c
5557 * wcsmbs/isoc99_vwscanf.c
5558 * wcsmbs/isoc99_vfwscanf.c
5559 * wcsmbs/isoc99_vswscanf.c:
5560 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5561 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5562 No need to lock and unlock the FILE passed to that function.
5563
5564 * stdio-common/vfscanf-internal.c
5565 (__vfscanf_internal, __vfwscanf_internal):
5566 Don't look at _IO_FLAGS2_SCANF_STD.
5567 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5568 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5569 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5570
5571 2018-12-05 Zack Weinberg <zackw@panix.com>
5572 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5573
5574 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5575 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5576 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5577 * libio/strfile.h: Add multiple inclusion guard.
5578 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5579
5580 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5581 consistency with the other version of this file.
5582 (ldbl_compat_symbol): New macro.
5583 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5584 New macro.
5585
5586 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5587 Define __vfscanf_internal or __vfwscanf_internal, depending on
5588 COMPILE_WSCANF; don't define any other public symbols.
5589 Remove errval and code to set errp.
5590 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5591 as the mode_flags argument.
5592 (encode_error, conv_error, input_error): Don't set errval.
5593 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5594 Include vfscanf-internal.c.
5595 * stdio-common/vfscanf.c: New file defining the public entry
5596 point vfscanf, which calls __vfscanf_internal.
5597 * stdio-common/vfwscanf.c: New file defining the public entry
5598 point vfwscanf, which calls __vfwscanf_internal.
5599
5600 * stdio-common/iovfscanf.c: New file.
5601 * stdio-common/iovfwscanf.c: Likewise.
5602
5603 * stdio-common/Makefile (routines): Add vfscanf-internal,
5604 vfwscanf-internal, iovfscanf, iovfwscanf.
5605 * stdio-common/Versions: Mention GLIBC_2.29, so that
5606 it can be used in SHLIB_COMPAT expressions.
5607 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5608 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5609 Call __vfscanf_internal, instead of _IO_vfscanf.
5610 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5611 _IO_vfscanf.
5612 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5613 _IO_vfwscanf.
5614
5615 * libio/iovsscanf.c: Clean up includes, when possible. Use
5616 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5617 __vfscanf_internal or __vfwscanf_internal directly.
5618 * libio/iovswscanf.c: Likewise.
5619 * libio/swscanf.c: Likewise.
5620 * libio/vscanf.c: Likewise.
5621 * libio/vwscanf.c: Likewise.
5622 * libio/wscanf.c: Likewise.
5623 * stdio-common/isoc99_fscanf.c: Likewise.
5624 * stdio-common/isoc99_scanf.c: Likewise.
5625 * stdio-common/isoc99_sscanf.c: Likewise.
5626 * stdio-common/isoc99_vfscanf.c: Likewise.
5627 * stdio-common/isoc99_vscanf.c: Likewise.
5628 * stdio-common/isoc99_vsscanf.c: Likewise.
5629 * stdio-common/scanf.c: Likewise.
5630 * stdio-common/sscanf.c: Likewise.
5631 * wcsmbs/isoc99_fwscanf.c: Likewise.
5632 * wcsmbs/isoc99_swscanf.c: Likewise.
5633 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5634 * wcsmbs/isoc99_vswscanf.c: Likewise.
5635 * wcsmbs/isoc99_vwscanf.c: Likewise.
5636 * wcsmbs/isoc99_wscanf.c: Likewise.
5637
5638 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
5639
5640 * include/time.h
5641 (__tz_compute): Replace time_t with __time64_t.
5642 (__tz_convert): Replace time_t* with __time64_t.
5643 (__offtime): Replace time_t* with __time64_t.
5644 * time/gmtime.c
5645 (__gmtime_r): Adjust call to __tz_convert.
5646 (gmtime): Likewise.
5647 * time/localtime.c
5648 (__localtime_r): Likewise.
5649 (localtime): Likewise.
5650 * time/offtime.c: Replace time_t with __time64_t.
5651 * time/tzset.c: Likewise.
5652
5653 2018-12-04 Joseph Myers <joseph@codesourcery.com>
5654
5655 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5656 dynamic linker unless [$(run-built-tests) = yes].
5657
5658 2018-12-03 DJ Delorie <dj@delorie.com>
5659
5660 * support/test-container.c (check_for_unshare_hints): New.
5661 (main): Call it if unshare fails. Add support for "su" scriptlet
5662 command.
5663
5664 2018-12-03 Joseph Myers <joseph@codesourcery.com>
5665
5666 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5667 'START' to indicate that start text should be output.
5668 (gen_test): Likewise.
5669 (main): Generate 'START' for first symbol or '--' line, or at end
5670 of input if not previously generated.
5671
5672 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5673
5674 [BZ #19767]
5675 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5676 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5677 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5678 ALWAYS_USE_VSYSCALL.
5679
5680 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5681
5682 [BZ #23913]
5683 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5684 new_argv by one.
5685
5686 2018-12-03 Carlos O'Donell <carlos@redhat.com>
5687
5688 [BZ #23923]
5689 * locale/programs/localedef.c: Declare boolean hard_links default true.
5690 (options): Add --no-hard-links option.
5691 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5692 * locale/programs/localedef.h: Declare prototype for hard_links.
5693 * locale/programs/locfile.c (write_locale_data): Don't use hard
5694 links if hard_links is false.
5695
5696 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5697
5698 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5699 cpu_features_basic.
5700 (__cache_sysconf): Likewise.
5701 (init_cacheinfo): Likewise.
5702 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5703 populate COMMON_CPUID_INDEX_80000007 and
5704 COMMON_CPUID_INDEX_80000008.
5705 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5706 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5707 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5708 (init_cpu_features): Use _Static_assert on
5709 index_arch_Fast_Unaligned_Load.
5710 __get_cpuid_registers and __get_arch_feature. Updated for
5711 cpu_features_basic. Set stepping in cpu_features.
5712 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5713 (FEATURE_INDEX_2): New.
5714 (FEATURE_INDEX_MAX): Changed to enum.
5715 (COMMON_CPUID_INDEX_D_ECX_1): New.
5716 (COMMON_CPUID_INDEX_80000007): Likewise.
5717 (COMMON_CPUID_INDEX_80000008): Likewise.
5718 (cpuid_registers): Likewise.
5719 (cpu_features_basic): Likewise.
5720 (CPU_FEATURE_USABLE): Likewise.
5721 (bit_arch_XXX_Usable): Likewise.
5722 (cpu_features): Use cpuid_registers and cpu_features_basic.
5723 (bit_arch_XXX): Reweritten.
5724 (bit_cpu_XXX): Likewise.
5725 (index_cpu_XXX): Likewise.
5726 (reg_XXX): Likewise.
5727 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
5728 <support/check.h>.
5729 (CHECK_CPU_FEATURE): New.
5730 (CHECK_CPU_FEATURE_USABLE): Likewise.
5731 (cpu_kinds): Likewise.
5732 (do_test): Print vendor, family, model and stepping. Check
5733 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
5734 (TEST_FUNCTION): Removed.
5735 Include <support/test-driver.c> instead of
5736 "../../test-skeleton.c".
5737 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
5738 Check POPCNT instead of POPCOUNT.
5739 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
5740
5741 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5742
5743 * scripts/gen-as-const.py (main): Avoid emitting empty line when
5744 there is no element in `consts'.
5745
5746 2018-12-01 Florian Weimer <fweimer@redhat.com>
5747
5748 * support/support_capture_subprocess.c
5749 (support_capture_subprocess): Check that pipe descriptors have
5750 expected values. Close original pipe descriptors in subprocess.
5751
5752 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5753
5754 [BZ #23032]
5755 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
5756 attr with __pthread_default_barrierattr.
5757 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
5758 attr with __pthread_default_condattr.
5759 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5760 attr with __pthread_default_mutexattr.
5761 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5762 attr with __pthread_default_rwlockattr.
5763
5764 2018-12-01 Kemi Wang <kemi.wang@intel.com>
5765
5766 * manual/tunables.texi (POSIX Thread Tunables): New node.
5767 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5768 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5769 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5770 __pthread_tunables_init.
5771 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5772 (max_adaptive_count): Define.
5773 * nptl/pthread_mutex_conf.c: New file.
5774 * nptl/pthread_mutex_conf.h: New file.
5775 * sysdeps/generic/adaptive_spin_count.h: New file.
5776 * sysdeps/nptl/dl-tunables.list: New file.
5777 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5778 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5779 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5780 Likewise.
5781
5782 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5783
5784 [BZ #20544]
5785 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5786 * stdlib/on_exit.c (__on_exit): Likewise.
5787 * stdlib/Makefile (tests): Add tst-bz20544.
5788 * stdlib/tst-bz20544.c: New test.
5789
5790 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5791
5792 [BZ #19767]
5793 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5794 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5795 New.
5796
5797 2018-11-30 Florian Weimer <fweimer@redhat.com>
5798
5799 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5800 Extend error logging.
5801 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5802 symbol.
5803
5804 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5805
5806 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5807 __sigismember instead of sigismember.
5808 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5809 cancel_handler): New definitions.
5810 (do_system): Use posix_spawn instead of fork and execl and remove
5811 reentracy code.
5812 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5813 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5814 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5815 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5816 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5817 * sysdeps/unix/sysv/linux/system.c: Likewise.
5818
5819 [BZ #22834]
5820 [BZ #17490]
5821 * NEWS: Add new semantic for atfork with popen and system.
5822 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5823 fork and execl.
5824
5825 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5826
5827 [BZ #23690]
5828 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5829 modification order when accessing reloc_result->addr.
5830 * include/link.h (reloc_result): Add field init.
5831 * nptl/Makefile (tests): Add tst-audit-threads.
5832 (modules-names): Add tst-audit-threads-mod1 and
5833 tst-audit-threads-mod2.
5834 Add rules to build tst-audit-threads.
5835 * nptl/tst-audit-threads-mod1.c: New file.
5836 * nptl/tst-audit-threads-mod2.c: Likewise.
5837 * nptl/tst-audit-threads.c: Likewise.
5838 * nptl/tst-audit-threads.h: Likewise.
5839
5840 2018-11-30 Joseph Myers <joseph@codesourcery.com>
5841
5842 * scripts/gen-as-const.py: New file.
5843 * scripts/gen-as-const.awk: Remove.
5844 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5845 gen-as-const.py.
5846 ($(objpfx)test-as-const-%.c): Likewise.
5847
5848 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5849
5850 * elf/dl-exception.c: Include <_itoa.h>.
5851
5852 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5853
5854 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5855 returned by __f_setlk.
5856
5857 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5858 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5859
5860 * elf/Makefile (tests-internal): Add tst-create_format1.
5861 * elf/dl-exception.c (_dl_exception_create_format): Support
5862 %x, %lx and %zx.
5863 * elf/tst-create_format1.c: New file.
5864
5865 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5866
5867 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5868 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5869 gnulib.)
5870 * argp/argp-help.c (__argp_failure): Likewise.
5871
5872 2018-11-29 Mao Han <han_mao@c-sky.com>
5873
5874 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5875 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5876 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5877 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5878 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5879 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5880 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5881 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5882 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5883 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5884 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5885 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5886 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5887 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5888 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5889 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5890 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5891 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5892 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5893 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5894 (R_CKCORE_TLS_TPOFF32): New defines.
5895
5896 2018-11-29 Florian Weimer <fweimer@redhat.com>
5897
5898 * posix/Makefile (before-compile): Remove testcases.h and
5899 ptestcases.h.
5900 (generated): Add testcases.h and ptestcases.h.
5901 (testcases.h, ptestcases.h): Move to $(objpfx).
5902 (runtests.o): Add dependency on testcases.h.
5903 (runptests.o): Add dependency on ptestcases.h.
5904 * posix/testcases.h, posix/ptestcases.h: Remove files.
5905 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5906 not touch posix/testcases.h and posix/ptestcases.h.
5907
5908 2018-11-28 Florian Weimer <fweimer@redhat.com>
5909
5910 support: Add signal support to support_capture_subprocess_check.
5911 * support/capture_subprocess.h (support_capture_subprocess_check):
5912 Adjust comment and rename parameter.
5913 * support/support_capture_subprocess_check.c
5914 (print_actual_status): New function.
5915 (support_capture_subprocess_check): Support negative
5916 status_or_signal. Call print_actual_status.
5917 * support/tst-support_capture_subprocess.c (do_test): Call
5918 support_capture_subprocess_check.
5919 * libio/tst-vtables-common.c (termination_status)
5920 (init_termination_status): Remove.
5921 (check_for_termination): Adjust support_capture_subprocess_check
5922 call.
5923 (do_test): Remove call to init_termination_status.
5924
5925 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5926
5927 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5928 source directory instead of a copy.
5929 (CommandList.create_copy_dir): Remove.
5930
5931 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
5932
5933 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5934
5935 2018-11-28 Florian Weimer <fweimer@redhat.com>
5936
5937 * support/support.h (support_quote_string): Do not use str
5938 parameter name.
5939
5940 2018-11-27 Joseph Myers <joseph@codesourcery.com>
5941
5942 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5943 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5944
5945 2018-11-27 Florian Weimer <fweimer@redhat.com>
5946
5947 * support/support.h (support_quote_string): Declare.
5948 * support/support_quote_string.c: New file.
5949 * support/tst-support_quote_string.c: Likewise.
5950 * support/Makefile (libsupport-routines): Add
5951 support_quote_string.
5952 (tests): Add tst-support_quote_string.
5953
5954 2018-11-27 Florian Weimer <fweimer@redhat.com>
5955
5956 [BZ #23927]
5957 CVE-2018-19591
5958 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5959 descriptor leak in case of ENODEV error.
5960
5961 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5962
5963 [BZ #19767]
5964 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5965 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5966 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5967
5968 2018-11-26 Carlos O'Donell <carlos@redhat.com>
5969
5970 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5971 Error for unknown lines.
5972
5973 2018-11-26 Joseph Myers <joseph@codesourcery.com>
5974
5975 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5976 Touch additional files.
5977
5978 2018-11-26 Florian Weimer <fweimer@redhat.com>
5979
5980 [BZ #23907]
5981 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5982 double-frees.
5983
5984 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5985
5986 [BZ #19767]
5987 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5988 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5989 SHARED. Include sysdep.h.
5990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5991 ALWAYS_USE_VSYSCALL.
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5993 ALWAYS_USE_VSYSCALL.
5994
5995 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5996
5997 [BZ #19767]
5998 * nptl/Makefile (tests-static): Add tst-cond11-static.
5999 (tests): Likewise.
6000 * nptl/tst-cond11-static.c: New File.
6001 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6002 tst-affinity-static.
6003 (tests): Likewise.
6004 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6005 instead of SHARED.
6006 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6007 (USE_VSYSCALL): Likewise.
6008 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6009 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6010 instead of SHARED.
6011 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6012 SHARED.
6013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6014 New.
6015
6016 2018-11-23 Joseph Myers <joseph@codesourcery.com>
6017
6018 [BZ #23915]
6019 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6020 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6021 Undefine.
6022
6023 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6024
6025 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6026 (tst-cet-legacy-1a-ARGS): New.
6027 ($(objpfx)tst-cet-legacy-1a): New target.
6028 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6029
6030 2018-11-22 Joseph Myers <joseph@codesourcery.com>
6031
6032 * conform/conformtest.py (CompileSubTest.__init__): Set
6033 self.run_early to False.
6034 (ExecuteSubTest.__init__): Likewise.
6035 (HeaderTests.run): Try running all non-optional, non-XFAILed
6036 compilation tests in a single execution of the compiler.
6037
6038 * conform/conformtest.py (CompileSubTest): New class.
6039 (ExecuteSubTest): Likewise.
6040 (ElementTest.run): Rename to gen_subtests. Append tests to
6041 self.subtests instead of running them.
6042 (ConstantTest.run): Likewise.
6043 (SymbolTest.run): Likewise.
6044 (TypeTest.run): Likewise.
6045 (TagTest.run): Likewise.
6046 (FunctionTest.run): Likewise.
6047 (VariableTest.run): Likewise.
6048 (MacroFunctionTest.run): Likewise.
6049 (MacroStrTest.run): Likewise.
6050 (HeaderTests.handle_test_line): Generate subtests for tests.
6051 (HeaderTests.run): Run subtests for tests.
6052
6053 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6054
6055 * math/Versions (GLIBC_2.29): Add pow.
6056 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6057 symbol.
6058 * math/w_pow.c: New file.
6059 * sysdeps/i386/fpu/w_pow.c: New file.
6060 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6061 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6062 and add necessary aliases.
6063 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6064 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6065 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6066 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6067 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6068 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6069 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6070 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6071 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6072 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6073 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6074 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6075 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6076 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6077 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6082 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6083 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6084 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6085 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6086 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6087 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6088 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6089 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6090 __pow.
6091 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6092 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6093 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6094
6095 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6096
6097 * math/Versions (GLIBC_2.29): Add log2.
6098 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6099 symbol.
6100 * math/w_log2.c: New file.
6101 * sysdeps/i386/fpu/w_log2.c: New file.
6102 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6103 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6104 and add necessary aliases.
6105 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6106 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6107 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6108 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6109 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6110 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6111 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6112 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6113 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6114 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6115 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6116 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6117 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6118 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6119 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6124 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6125 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6126 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6127 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6128 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6129 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6130 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6131
6132 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6133
6134 * math/Versions (GLIBC_2.29): Add log.
6135 * math/w_log_compat.c (__log_compat): Change to versioned compat
6136 symbol.
6137 * math/w_log.c: New file.
6138 * sysdeps/i386/fpu/w_log.c: New file.
6139 * sysdeps/ia64/fpu/e_log.S: Update.
6140 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6141 and add necessary aliases.
6142 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6143 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6144 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6145 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6146 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6147 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6148 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6149 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6150 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6151 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6152 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6153 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6154 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6155 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6156 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6161 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6162 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6163 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6164 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6165 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6166 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6167 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6168 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6169 __log.
6170 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6171 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6172 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6173 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6174
6175 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6176
6177 * math/Versions (GLIBC_2.29): Add exp and exp2.
6178 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6179 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6180 * math/w_exp_compat.c (__exp_compat): Likewise.
6181 * math/w_exp.c: New file.
6182 * math/w_exp2.c: New file.
6183 * sysdeps/i386/fpu/w_exp.c: New file.
6184 * sysdeps/i386/fpu/w_exp2.c: New file.
6185 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6186 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6187 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6188 and add necessary aliases.
6189 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6190 and add necessary aliases.
6191 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6192 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6193 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6194 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6195 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6196 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6197 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6198 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6199 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6200 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6201 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6202 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6203 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6204 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6205 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6206 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6207 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6212 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6213 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6214 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6215 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6216 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6217 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6218 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6219 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6220 (__ieee754_exp): Rename to __exp.
6221 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6222 (__ieee754_exp): Rename to __exp.
6223 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6224 (__ieee754_exp): Rename to __exp.
6225 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6226 __exp.
6227 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6228
6229 2018-11-20 DJ Delorie <dj@redhat.com>
6230
6231 * malloc/malloc.c (tcache_entry): Add key field.
6232 (tcache_put): Set it.
6233 (tcache_get): Likewise.
6234 (_int_free): Check for double free in tcache.
6235 * malloc/tst-tcfree1.c: New.
6236 * malloc/tst-tcfree2.c: New.
6237 * malloc/Makefile: Run the new tests.
6238 * manual/probes.texi: Document memory_tcache_double_free probe.
6239
6240 * dlfcn/dlerror.c (check_free): Prevent double frees.
6241
6242 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6243
6244 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6245
6246 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6247
6248 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6249 in tests. Use names for format arguments.
6250 (ConstantTest.run): Likewise.
6251 (SymbolTest.run): Likewise.
6252 (TypeTest.run): Likewise.
6253 (TagTest.run): Likewise.
6254 (FunctionTest.run): Likewise.
6255 (VariableTest.run): Likewise.
6256 (MacroFunctionTest.run): Likewise.
6257 (MacroStrTest.run): Likewise.
6258 (HeaderTests.__init__): Set self.num_tests.
6259 (HeaderTests.handle_test_line): Set test.num. Increment
6260 self.num_tests.
6261
6262 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6263
6264 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6265 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6266 SEEK_SET.
6267
6268 2018-11-19 Mao Han <han_mao@c-sky.com>
6269
6270 * scripts/config.guess: Update to version 2018-08-29.
6271 * scripts/config.sub: Update to version 2018-08-29.
6272
6273 2018-11-19 Florian Weimer <fweimer@redhat.com>
6274
6275 support: Print timestamps in timeout handler.
6276 * support/support_test_main.c (print_timestamp): New function.
6277 (signal_handler): Use it to print the termination time and the
6278 time of the last write to standard output.
6279
6280 2018-11-16 Zack Weinberg <zackw@panix.com>
6281 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6282
6283 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6284 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6285 argument.
6286 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6287 and add flags argument. Check flags instead of __ldbl_is_dbl when
6288 deciding whether to set is_long_double.
6289 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6290 passing zero for flags argument.
6291 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6292
6293 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6294 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6295 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6296 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6297 variable names. Remove libc_hidden_def/libc_hidden_proto from
6298 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6299 longer called from within the library.
6300 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6301 for __nldbl___vstrfmon_l, declare it explicitly.
6302
6303 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6304
6305 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6306
6307 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6308 macros
6309 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6310 F_SETLK64, F_SETLKW64, respectively.
6311 * sysdeps/mach/hurd/f_setlk.c: New file.
6312 * sysdeps/mach/hurd/f_setlk.h: New file.
6313 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6314 f_setlk.
6315 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6316 (__libc_fcntl): Move non-flock operations to...
6317 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6318 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6319
6320 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6321
6322 mktime: DEBUG_MKTIME cleanup
6323 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6324 And it’s no longer needed now that glibc and Gnulib both have
6325 their own testing mechanisms for mktime.
6326 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6327
6328 mktime: fix non-EOVERFLOW errno handling
6329 [BZ#23789]
6330 mktime was not properly reporting failures when the underlying
6331 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6332 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6333 The problem could happen on non-glibc platforms, with Gnulib.
6334 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6335 (tm_diff): ... this simpler function, which does not change errno.
6336 All callers changed to deal with errno themselves.
6337 (ranged_convert, __mktime_internal): Return failure immediately if
6338 the underlying function reports any failure other than EOVERFLOW.
6339 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6340 gap code fails.
6341
6342 mktime: fix bug with Y2038 DST transition
6343 [BZ#23789]
6344 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6345 mishandle a DST transition that jumps over the Y2038 boundary.
6346 No such DST transitions are known so this is only a theoretical
6347 bug, but we might as well do things right.
6348
6349 mktime: make more room for overflow
6350 [BZ#23789]
6351 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6352 This is so that we can add tm_diff results to a previous guess,
6353 which will be useful in a later patch.
6354
6355 mktime: simplify offset guess
6356 [BZ#23789]
6357 * time/mktime.c (__mktime_internal): Omit excess precision.
6358
6359 mktime: new test for mktime failure
6360 [BZ#23789]
6361 Based on a test suggested by Albert Aribaud in:
6362 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6363 * time/Makefile (tests): Add bug-mktime4.
6364 * time/bug-mktime4.c: New file.
6365
6366 mktime: fix EOVERFLOW bug
6367 [BZ#23789]
6368 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6369 Include libc-config.h, not config.h, for __set_errno.
6370 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6371
6372 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6373
6374 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6375 __attribute_copy__ to copy attributes from name. Drop static qualifier
6376 to avoid warnings about leaf attribute not having effect on static
6377 functions.
6378
6379 2018-11-13 Florian Weimer <fweimer@redhat.com>
6380
6381 * malloc/malloc.c (fastbin_push_entry): New function.
6382 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6383 (REMOVE_FB): Remove macro.
6384 (_int_malloc): Use fastbin_pop_entry and reindent.
6385 (_int_free): Use fastbin_push_entry.
6386 (malloc_consolidate): Use atomic_exchange_acquire.
6387
6388 2018-11-13 Joseph Myers <joseph@codesourcery.com>
6389
6390 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6391 alias attribute, not with strong_alias.
6392
6393 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6394 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6395 with additional parameter thread.
6396 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6397 in terms of __hidden_ver2.
6398 (hidden_tls_def): New macro.
6399 (libc_hidden_tls_def): Likewise.
6400 (rtld_hidden_tls_def): Likewise.
6401 (libm_hidden_tls_def): Likewise.
6402 (libmvec_hidden_tls_def): Likewise.
6403 (libresolv_hidden_tls_def): Likewise.
6404 (librt_hidden_tls_def): Likewise.
6405 (libdl_hidden_tls_def): Likewise.
6406 (libnss_files_hidden_tls_def): Likewise.
6407 (libnsl_hidden_tls_def): Likewise.
6408 (libnss_nisplus_hidden_tls_def): Likewise.
6409 (libutil_hidden_tls_def): Likewise.
6410 (libutil_hidden_tls_def): Likweise.
6411 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6412 libc_hidden_tls_def.
6413 (__sim_disabled_exceptions_thread): Likewise.
6414 (__sim_round_mode_thread): Likewise.
6415
6416 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6417 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6418 copy attributes from name.
6419
6420 2018-11-12 Joseph Myers <joseph@codesourcery.com>
6421
6422 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6423 Use __attribute_copy__ to copy attributes from name.
6424
6425 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6426 with __hidden_ver1 call.
6427 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6428 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6429 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6430 (__cosf): Do not declare here.
6431 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6432 (__sincosf): Do not declare here.
6433 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6434 (__sinf): Do not declare here.
6435
6436 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6437 (__BIG_ENDIAN): Likewise.
6438 (__BYTE_ORDER): Likewise.
6439 (strong_alias): Likewise.
6440 (_strong_alias): Likewise.
6441
6442 2018-11-12 Florian Weimer <fweimer@redhat.com>
6443
6444 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6445 function. Move after the definition of in_smallbin_range. Do not
6446 use __builtin_expect for paths that lead to a noreturn function.
6447 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6448 because it is unclear whether this is in fact an unlikely
6449 condition.
6450 (_int_malloc, _int_free): Adjust.
6451 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6452 variables.
6453 * malloc/arena.c (heap_trim): Likewise.
6454
6455 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6456
6457 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6458 it, free it if needed.
6459 (reauthenticate): Test and use ccwdir.
6460 (child_init_port): In non-resetids case, test and use ccwdir.
6461 (child_chdir): New nested function to set ccwdir.
6462 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6463 * hurd/hurd/port.h (_hurd_port_move): New function.
6464 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6465 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
6466 * hurd/Versions (_hurd_port_move): Export function.
6467 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6468 symbol.
6469 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6470 of dtablesize for allocating dtable_cloexec.
6471
6472 2018-11-09 Martin Sebor <msebor@redhat.com>
6473
6474 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6475 it's already defined.
6476 (_strong_alias): Use __attribute_copy__.
6477 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6478 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6479 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6480 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6481 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6482 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6483 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6484 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6485 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6486 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6487 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6488 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6489 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6490 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6491 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6492 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6493 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6494 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6495 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6496
6497 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6498
6499 * misc/tst-efgcvt.c: Include support/check.h and
6500 support/test-driver.c. Do not include test-skeleton.c.
6501 (error_count): Remove.
6502 (output_error): Replace increments to error_count with calls to
6503 support_record_failure.
6504 (output_r_error): Likewise.
6505 (special): Likewise.
6506 (do_test): Unconditionally return zero.
6507 (TEST_FUNCTION): Remove.
6508
6509 2018-11-09 Joseph Myers <joseph@codesourcery.com>
6510
6511 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6512 not $(@D)/scratch.
6513 ($(linknamespace-header-tests)): Likewise.
6514
6515 * conform/conformtest.py: New file.
6516 * conform/conformtest.pl: Remove.
6517 * conform/GlibcConform.pm: Likewise.
6518 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6519 (KEYWORDS_C99): Likewise.
6520 (KEYWORDS): Likewise.
6521 * conform/Makefile ($(conformtest-header-tests)): Use
6522 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6523 option. Use --header instead of --headers.
6524 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6525 function entries.
6526 * conform/data/spawn.h-data: Likewise.
6527 * conform/data/fcntl.h-data (openat): Add space after function
6528 name.
6529 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6530 (wcscasecmp_l): Likewise.
6531 * conform/data/termios.h-data (c_cc): Add space after element
6532 name.
6533
6534 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6535
6536 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6537 instead of manually comparing and reporting mismatching strings.
6538 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6539 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6540
6541 2018-11-08 Joseph Myers <joseph@codesourcery.com>
6542
6543 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6544 __ASSUME_SOCKETCALL.
6545 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6546 (__ASSUME_SOCKETCALL): Remove.
6547 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6548 (__ASSUME_SOCKETCALL): Likewise.
6549 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6550 (__ASSUME_SOCKETCALL): Likewise.
6551 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6552 (__ASSUME_SOCKETCALL): Likewise.
6553 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6554 (__ASSUME_SOCKETCALL): Likewise.
6555 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6556 (__ASSUME_SOCKETCALL): Likewise.
6557 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6558 (__ASSUME_SOCKETCALL): Likewise.
6559
6560 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6561
6562 [BZ #23509]
6563 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6564 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6565 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6566 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6567 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6568 lc_unknown.
6569
6570 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6571
6572 [BZ #17630]
6573 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6574
6575 2018-11-07 Joseph Myers <joseph@codesourcery.com>
6576
6577 [BZ #23867]
6578 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6579 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6580 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6581 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6582
6583 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6584
6585 * support/support_test_compare_string.c
6586 (support_test_compare_string): Fix printf format.
6587
6588 2018-11-07 Florian Weimer <fweimer@redhat.com>
6589
6590 Implement TEST_COMPARE_STRING.
6591 * support/check.h (TEST_COMPARE_STRING): Define.
6592 (support_test_compare_string): Declare.
6593 * support/Makefile (libsupport-routines): Add
6594 support_test_compare_string.
6595 (tests): Add tst-test_compare_string.
6596 * support/support_test_compare_string.c: New file.
6597 * support/tst-test_compare_string.c: Likewise.
6598
6599 2018-11-07 Andreas Schwab <schwab@suse.de>
6600
6601 [BZ #23864]
6602 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6603 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6604 Undef.
6605
6606 2018-11-06 Joseph Myers <joseph@codesourcery.com>
6607
6608 [BZ #23862]
6609 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6610 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6611 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6612 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6613 Likewise.
6614
6615 2018-11-06 Florian Weimer <fweimer@redhat.com>
6616
6617 [BZ #17405]
6618 * posix/Makefile (routines): Add spawn_faction_addchdir.
6619 (tests): Add tst-spawn-chdir.
6620 * posix/Versions (GLIBC_2.29): Add
6621 posix_spawn_file_actions_addchdir_np.
6622 * posix/spawn_faction_addchdir.c: New file.
6623 * posix/spawn_faction_destroy.c
6624 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6625 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6626 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6627 chdir_action.
6628 * posix/tst-spawn-chdir.c: New file.
6629 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6630 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6631 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6632 posix_spawn_file_actions_addchdir_np.
6633 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6634 Likewise.
6635 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6636 Likewise.
6637 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6638 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6639 Likewise.
6640 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6641 Likewise.
6642 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6643 Likewise.
6644 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6645 Likewise.
6646 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6647 Likewise.
6648 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6649 Likewise.
6650 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6651 (GLIBC_2.29): Likewise.
6652 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6653 (GLIBC_2.29): Likewise.
6654 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6655 (GLIBC_2.29): Likewise.
6656 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6657 (GLIBC_2.29): Likewise.
6658 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6659 Likewise.
6660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6661 (GLIBC_2.29): Likewise.
6662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6663 (GLIBC_2.29): Likewise.
6664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6665 (GLIBC_2.29): Likewise.
6666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6667 (GLIBC_2.29): Likewise.
6668 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6669 Likewise.
6670 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6671 Likewise.
6672 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6673 Likewise.
6674 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6675 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6676 Likewise.
6677 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6678 Likewise.
6679 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6680 Likewise.
6681 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6682 Likewise.
6683
6684 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6685
6686 * misc/Makefile (tests): Add tst-ldbl-error.
6687 * misc/tst-ldbl-error.c: New file.
6688
6689 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6690
6691 * misc/Makefile (tests): Add tst-ldbl-warn.
6692 * misc/tst-ldbl-warn.c: New file.
6693
6694 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6695
6696 * argp/Makefile (tests): Add tst-ldbl-argp.
6697 * argp/tst-ldbl-argp.c: New file.
6698
6699 2018-11-05 Arjun Shankar <arjun@redhat.com>
6700
6701 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6702 __gconv_path_elem and call __gconv_get_path unconditionally.
6703
6704 2018-11-05 Andreas Schwab <schwab@suse.de>
6705
6706 [BZ #22927]
6707 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6708 creating the first helper thread failed.
6709
6710 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6711
6712 * sysdeps/mach/hurd/msync.c: New file.
6713
6714 2018-11-02 Florian Weimer <fweimer@redhat.com>
6715
6716 * support/shell-container.c (copy_func): Call
6717 support_copy_file_range instead of copy_file_range to support
6718 cross-device copies.
6719
6720 2018-11-02 Florian Weimer <fweimer@redhat.com>
6721
6722 * support/test-container.c: Include <libc-pointer-arith.h> for
6723 ALIGN_UP.
6724
6725 2018-11-01 Zong Li <zong@andestech.com>
6726
6727 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
6728 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
6729 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
6730 (__FP_FRAC_SET_8): Add implementation for RV32 use.
6731
6732 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
6733 variable to avoid overlap arguments.
6734
6735 2018-11-01 Joseph Myers <joseph@codesourcery.com>
6736
6737 * posix/bug-regex22.c (main): Use puts with distinct error
6738 messages for unexpected success of re_compile_pattern, not printf
6739 with NULL argument to %s.
6740
6741 * stdio-common/bug22.c: Include <libc-diag.h>.
6742 (do_test): Disable -Wformat-overflow= warnings around fprintf
6743 calls outputting more than INT_MAX characters.
6744 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
6745 around printf call with NULL %s argument.
6746
6747 [BZ #23848]
6748 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
6749 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
6750 Undefine.
6751 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6752 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6753 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6754 (__ASSUME_SENDTO_SYSCALL): Likewise.
6755 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6756 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
6757 [!__arch64__].
6758 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6759 (__ASSUME_CONNECT_SYSCALL): Likewise.
6760 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6761 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6762 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6763 Define.
6764 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6765 Likewise.
6766 [__LINUX_KERNEL_VERSION >= 0x040400]
6767 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6768 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6769 Remove.
6770 (listen): Likewise.
6771 (setsockopt): Likewise.
6772
6773 2018-11-01 Fredrik Noring <noring@nocrew.org>
6774
6775 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6776 with the ISA override.
6777
6778 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6779
6780 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6781 #endif.
6782
6783 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6784
6785 * manual/errno.texi (EIEIO): Document how translators should
6786 translate the error message.
6787 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6788 printing trailing whitespaces refused by git.
6789 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6790 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6791 * hurd/Makefile (user-interfaces): Add pci.
6792
6793 2018-10-30 Joseph Myers <joseph@codesourcery.com>
6794
6795 * conform/linknamespace.py: New file.
6796 * conform/linknamespace.pl: Remove file.
6797 * conform/Makefile ($(linknamespace-header-tests)): Use
6798 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6799 option.
6800
6801 2018-10-30 Florian Weimer <fweimer@redhat.com>
6802
6803 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6804 memory leaks.
6805
6806 2018-10-30 Florian Weimer <fweimer@redhat.com>
6807
6808 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6809
6810 2018-10-30 Florian Weimer <fweimer@redhat.com>
6811
6812 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6813 support_blob_repeat.
6814
6815 2018-10-30 Florian Weimer <fweimer@redhat.com>
6816
6817 Avoid spurious test failures in stdlib/test-bz22786.
6818 * support/Makefile (libsupport-routines): Add blob_repeat.
6819 (tests): Add tst-support_blob_repeat.
6820 * support/blob_repeat.h: New file.
6821 * support/blob_repeat.c: Likewise.
6822 * support/tst-support_blob_repeat.c: Likewise.
6823 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6824 support_blob_repeat_allocate.
6825
6826 2018-10-30 Andreas Schwab <schwab@suse.de>
6827
6828 [BZ #23125]
6829 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6830 Don't use tail call.
6831 * elf/tst-unwind-main.c: New file.
6832 * elf/Makefile (tests): Add tst-unwind-main.
6833 (CFLAGS-tst-unwind-main.c): Define.
6834
6835 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6836
6837 [BZ #23791]
6838 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6839 n_cs_precedes to 0.
6840 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6841
6842 2018-10-29 Joseph Myers <joseph@codesourcery.com>
6843
6844 * conform/glibcconform.py: Do not import shutil.
6845 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6846 of mkdtemp.
6847
6848 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6849 critic_missing for versions before 3.4.
6850 * configure: Regenerated.
6851 * manual/install.texi (Tools for Compilation): Document
6852 requirement for Python to build glibc.
6853 * INSTALL: Regenerated.
6854 * Rules [PYTHON]: Make code unconditional.
6855 * benchtests/Makefile [PYTHON]: Likewise.
6856 * conform/Makefile [PYTHON]: Likewise.
6857 * manual/Makefile [PYTHON]: Likewise.
6858 * math/Makefile [PYTHON]: Likewise.
6859
6860 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6861
6862 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
6863 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
6864 answer to interrupt_operation, return EIEIO instead of EINTR.
6865 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6866 _hurd_intr_rpc_msg_about_to global point to start of controlled
6867 assembly snippet. Make it check canceled flag.
6868 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6869 the _hurd_intr_rpc_msg_about_to point.
6870 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6871 issue, remove cancel flag check.
6872
6873 2018-10-26 Joseph Myers <joseph@codesourcery.com>
6874
6875 * scripts/build-many-glibcs.py: Remove compatibility for missing
6876 os.cpu_count and re.fullmatch.
6877
6878 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6879
6880 [BZ #23822]
6881 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6882 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6883 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6884
6885 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6886
6887 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6888 macro.
6889
6890 2018-10-25 Florian Weimer <fweimer@redhat.com>
6891
6892 [BZ #23562]
6893 [BZ #23821]
6894 XFAIL siginfo_t si_band conform test on sparc64.
6895 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6896 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6897 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6898 (conformtest-xfail-conds): Add sparc64-linux.
6899 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6900 sparc64.
6901 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6902
6903 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6904
6905 * elf/elf.h (NT_MIPS_DSP): New macro.
6906 (NT_MIPS_FP_MODE): Likewise.
6907
6908 2018-10-25 Zong Li <zong@andestech.com>
6909
6910 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6911 name by adding the file extension (.so).
6912
6913 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6914
6915 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6916 (test-xfail-ISO11/threads.h/linknamespace,
6917 test-xfail-ISO11/threads.h/conform): Add.
6918
6919 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6920
6921 * math/gen-libm-test.py: Import os.
6922 (ALL_FLOATS_MANUAL): New constant.
6923 (ALL_FLOATS_SUFFIX): Likewise.
6924 (Ulps.all_functions): New function.
6925 (real_all_ulps): Likewise.
6926 (generate_err_table_sub): Likewise.
6927 (generate_err_table): Likewise.
6928 (main): Handle -s and -m options.
6929 * manual/libm-err-tab.pl: Remove.
6930 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6931 instead of libm-err-tab.pl.
6932 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6933 != no].
6934 * manual/install.texi (Tools for Compilation): Document
6935 requirement for Python to build manual.
6936 * INSTALL: Regenerated.
6937
6938 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6939
6940 * bits/time64.h: New file.
6941 * include/time.h: Replace internal_time_t with __time64_t.
6942 * posix/bits/types (__time64_t): Add.
6943 * stdlib/Makefile: Add bits/time64.h to includes.
6944 * time/tzfile.c: Replace internal_time_t with __time64_t.
6945
6946 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6947
6948 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6949 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6950 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6951 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6952 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6953 prototype.
6954 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6955 * posix/spawn_faction_addclose.c
6956 (__posix_spawn_file_actions_addclose): Add hidden definition.
6957 * posix/spawn_faction_adddup2.c
6958 (__posix_spawn_file_actions_adddup2): Likewise.
6959 * posix/spawn_faction_destroy.c
6960 (__posix_spawn_file_actions_destroy): Likewise.
6961 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6962 Likewise.
6963 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6964 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6965 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6966 Likewise.
6967 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6968 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6969 Likewise.
6970
6971 2018-10-24 Andreas Schwab <schwab@suse.de>
6972
6973 [BZ #18093]
6974 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6975 format cache.
6976 * elf/cache.c (print_cache): Likewise.
6977
6978 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6979
6980 * bits/timesize.h: New file.
6981 * stdlib/Makefile (headers): Add bits/timesize.h.
6982 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6983 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6984 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6985 (__SEM_PAD_AFTER_TIME): Likewise.
6986 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6987 (__SHM_PAD_AFTER_TIME): Likewise.
6988 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6989 (__MSQ_PAD_BEFORE_TIME): Likewise.
6990 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6991 (__SEM_PAD_BEFORE_TIME): Likewise.
6992 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6993 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6994 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6995 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6996 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6997 (__MSQ_PAD_BEFORE_TIME): Likewise.
6998 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6999 (__SEM_PAD_BEFORE_TIME): Likewise.
7000 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7001 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7002 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7003 (__MSQ_PAD_BEFORE_TIME): Likewise.
7004 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7005 (__SEM_PAD_BEFORE_TIME): Likewise.
7006 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7007 (__SHM_PAD_BEFORE_TIME): Likewise.
7008 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7009 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7010 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7011
7012 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7013
7014 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7015 USE_RDTSCP is defined.
7016 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7017 USE_RDTSCP is defined.
7018
7019 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7020
7021 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7022 defined.
7023
7024 [BZ #23709]
7025 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7026 independently of other flags.
7027
7028 2018-10-23 Florian Weimer <fweimer@redhat.com>
7029
7030 * time/tst-mktime2.c (N_STRINGS): Remove.
7031 (set_timezone): New function.
7032 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7033 (mktime_test1): Report localtime failure and check errno value.
7034 Use TEST_COMPARE.
7035 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7036 (do_test): Remove alarm call. Use set_timezone and array_length.
7037
7038 2018-10-23 Andreas Schwab <schwab@suse.de>
7039
7040 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7041 (__start_context): Use END instead of PSEUDO_END.
7042
7043 2018-10-22 Joseph Myers <joseph@codesourcery.com>
7044
7045 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7046 version to 4.19.
7047
7048 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7049 version to 4.19.
7050
7051 [BZ #23793]
7052 * wcsmbs/c32rtomb.c: New file.
7053 * wcsmbs/mbrtoc32.c: Likewise.
7054 * wcsmbs/tst-c32-state.c: Likewise.
7055 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7056 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7057 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7058 (tests): Add tst-c32-state.
7059 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7060 $(gen-locales).
7061
7062 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7063
7064 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7065 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7066
7067 2018-10-19 Joseph Myers <joseph@codesourcery.com>
7068
7069 [BZ #23794]
7070 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7071 pair and return 0 in that case, and use saved character to
7072 interpret following character.
7073 * wcsmbs/tst-c16-surrogate.c: New file.
7074 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7075 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7076 Depend on $(gen-locales)
7077
7078 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7079
7080 [BZ #23562]
7081 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7082 (struct siginfo_t): Use correct type for si_band.
7083
7084 2018-10-19 Florian Weimer <fweimer@redhat.com>
7085
7086 [BZ #23689]
7087 * resource/bits/types/struct_rusage.h (struct rusage): Update
7088 comment on struct. Remove extraneous field comment.
7089
7090 2018-10-18 David S. Miller <davem@davemloft.net>
7091
7092 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7093 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7094 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7095 sysdep_routines in subdir elf.
7096 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7097 version for __vdso_clock_gettime.
7098 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7099 Define.
7100 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7101 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7102
7103 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7104
7105 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7106
7107 * sysdeps/i386/init-arch.h: Removed.
7108 * sysdeps/i386/i586/init-arch.h: Likewise.
7109 * sysdeps/i386/i686/init-arch.h: Likewise.
7110 * sysdeps/i386/i686/hp-timing.h: Likewise.
7111 * sysdeps/x86_64/hp-timing.h: Likewise.
7112 * sysdeps/i386/isa.h: New file.
7113 * sysdeps/i386/i586/isa.h: Likewise.
7114 * sysdeps/i386/i686/isa.h: Likewise.
7115 * sysdeps/x86_64/isa.h: Likewise.
7116 * sysdeps/x86/hp-timing.h: New file.
7117 * sysdeps/x86/init-arch.h: Include <isa.h>.
7118
7119 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7120
7121 * math/libm-test-pow.inc (pow_test_data): Do not allow
7122 divide-by-zero exception for pow(+/- 0, -Inf).
7123
7124 2018-10-17 Zack Weinberg <zackw@panix.com>
7125
7126 * manual/job.texi (Job Control is Optional): Remove node, as
7127 job control has not been optional in quite some time.
7128 (Job Control): Mention briefly that systems older than
7129 POSIX.1-2001 might not support job control.
7130 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7131 defined on systems conforming to POSIX.1-2001.
7132
7133 2018-10-17 Arjun Shankar <arjun@redhat.com>
7134
7135 [BZ #22062]
7136 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7137 indentation.
7138 * (__gconv_read_conf): Mark function static.
7139 * (once): New static variable.
7140 * (__gconv_load_conf): New function.
7141 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7142 * iconv/gconv_db.c (once): Remove static variable.
7143 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7144 __gconv_read_conf.
7145 * (__gconv_find_transform): Likewise.
7146 * iconv/tst-iconv-mt.c: New test.
7147 * iconv/Makefile: Add tst-iconv_mt.
7148
7149 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7150
7151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7152 bits/shm-pad.h.
7153 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7154 (shmatt_t): Define as __syscall_ulong_t.
7155 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7156 and [__SHM_PAD_AFTER_TIME].
7157 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7158 Define shm_segsz and associated padding based on
7159 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7160 Use __syscall_ulong_t instead of unsigned long int.
7161 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7162 unsigned long int.
7163 [__USE_MISC] (struct shm_info): Likewise.
7164 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7165 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7166 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7167 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7168 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7169 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7170 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7171 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7172 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7173 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7174 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7175
7176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7177 bits/shmlba.h.
7178 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7179 (SHMLBA): Remove macro.
7180 (__getpagesize): Remove function declaration.
7181 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7182 <bits/shmlba.h>.
7183 (SHMLBA): Remove macro.
7184 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7185 <bits/shmlba.h>.
7186 (SHMLBA): Remove macro.
7187 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7188 <bits/shmlba.h>.
7189 (SHMLBA): Remove macro.
7190 (__getpagesize): Remove function declaration.
7191 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7192 <bits/shmlba.h>.
7193 (SHMLBA): Remove macro.
7194 (__getshmlba): Remove function declaration.
7195 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7196 (SHMLBA): Remove macro.
7197 (__getpagesize): Remove function declaration.
7198 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7199 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7200 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7201 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7202 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7203 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7204 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7205 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7206 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7207 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7208
7209 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
7210
7211 [BZ #23275]
7212 * nptl/tst-mutex10.c: New File.
7213 * nptl/Makefile (tests): Add tst-mutex10.
7214 (tst-mutex10-ENV): New variable.
7215 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7216 Ensure that elision path is used if elision is available.
7217 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7218 Likewise.
7219 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7220 Likewise.
7221 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7222 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7223 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7224 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7225 Likewise.
7226 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7227 (__pthread_mutex_cond_lock_adjust): Likewise.
7228 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7229 Likewise.
7230 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7231 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7232 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7233 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7234 Add comments.
7235 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7236 Use atomic_load_relaxed and atomic_store_relaxed.
7237 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7238 Use atomic_store_relaxed.
7239
7240 2018-10-17 Andreas Schwab <schwab@suse.de>
7241
7242 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7243 * crypt/badsalttest.c (TIMEOUT): Likewise.
7244 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7245 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7246 * io/test-lfs.c (TIMEOUT): Likewise.
7247 * libio/tst-atime.c (TIMEOUT): Likewise.
7248 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7249 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7250 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7251 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7252 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7253 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7254 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7255 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7256 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7257 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7258 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7259 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7260 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7261 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7262 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7263 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7264 * nptl/tst-once2.c (TIMEOUT): Likewise.
7265 * nptl/tst-once3.c (TIMEOUT): Likewise.
7266 * nptl/tst-once4.c (TIMEOUT): Likewise.
7267 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7268 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7269 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7270 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7271 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7272 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7273 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7274 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7275 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7276 * posix/tst-chmod.c (TIMEOUT): Likewise.
7277 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7278 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7279 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7280 * posix/tst-regex2.c (TIMEOUT): Likewise.
7281 * posix/tst-waitid.c (TIMEOUT): Likewise.
7282 * rt/tst-aio.c (TIMEOUT): Likewise.
7283 * rt/tst-aio10.c (TIMEOUT): Likewise.
7284 * rt/tst-aio4.c (TIMEOUT): Likewise.
7285 * rt/tst-aio5.c (TIMEOUT): Likewise.
7286 * rt/tst-aio6.c (TIMEOUT): Likewise.
7287 * rt/tst-aio64.c (TIMEOUT): Likewise.
7288 * rt/tst-aio7.c (TIMEOUT): Likewise.
7289 * rt/tst-aio9.c (TIMEOUT): Likewise.
7290 * rt/tst-clock.c (TIMEOUT): Likewise.
7291 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7292 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7293 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7294 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7295 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7296 * rt/tst-timer4.c (TIMEOUT): Likewise.
7297 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7298 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7299 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7300 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7301 * time/tst-ftime.c (TIMEOUT): Likewise.
7302 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7303
7304 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
7305
7306 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7307 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7308 for thunderX2.
7309
7310 2018-10-15 Joseph Myers <joseph@codesourcery.com>
7311
7312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7313 bits/sem-pad.h.
7314 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7315 instead of <bits/wordsize.h>.
7316 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7317 and [__SEM_PAD_AFTER_TIME].
7318 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7319 __syscall_ulong_t instead of unsigned long int.
7320 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7321 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7322 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7323 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7324 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7325 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7326 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7327 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7328 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7329 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7330 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7331
7332 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7333
7334 regex: simplify by using intprops.h
7335 [BZ#23744]
7336 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7337 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7338 intprops.h defines them.
7339
7340 regex: __builtin_expect → __glibc_unlikely
7341 [BZ#23744]
7342 This refactoring was prompted by a problem when the regex code is
7343 used as part of Gnulib and when the builder’s compiler does not grok
7344 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7345 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7346 Although this refactoring does not fix the problem directly,
7347 we might as well have Gawk use the now-preferred glibc style for when
7348 __builtin_expect is unavailable.
7349 * posix/regex_internal.h (BE): Remove.
7350 All uses replaced by __glibc_unlikely or __glibc_likely.
7351
7352 2018-10-11 Joseph Myers <joseph@codesourcery.com>
7353
7354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7355 bits/msq-pad.h.
7356 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7357 instead of <bits/wordsize.h>.
7358 (msgqnum_t): Define as __syscall_ulong_t.
7359 (msglen_t): Likewise.
7360 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7361 and [__MSQ_PAD_AFTER_TIME].
7362 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7363 __syscall_ulong_t instead of unsigned long int.
7364 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7365 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7366 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7367 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7368 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7369 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7370 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7371 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7372 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7373 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7374 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7375
7376 2018-10-10 Joseph Myers <joseph@codesourcery.com>
7377
7378 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7379 (struct shmid_ds): Condition padding after time fields on
7380 [__WORDSIZE == 32].
7381 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7382 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7383 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7384
7385 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7386 (struct semid_ds): Condition padding after time fields on
7387 [__WORDSIZE == 32].
7388 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7389 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7390 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7391 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7392
7393 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7394 (struct msqid_ds): Condition padding after time fields on
7395 [__WORDSIZE == 32].
7396 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7397 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7398 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7399 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7400
7401 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7402
7403 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7404
7405 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7406
7407 * libio/tst-readline.c (TIMEOUT): Define.
7408
7409 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7410
7411 mktime fix for Gnulib + coreutils
7412 [BZ#23745]
7413 This fix affects only Gnulib. Problem discovered when
7414 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7415 * time/mktime.c:
7416 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7417 Do not define since it is not used. Defining an unused static
7418 function prompts a warning from GCC when Coreutils is configured
7419 with --enable-gcc-warnings.
7420
7421 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7422
7423 * benchtests/scripts/compare_bench.py (main): set float type on
7424 threshold argument.
7425
7426 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7427
7428 [BZ #23740]
7429 * localedata/locales/kl_GL (mon): Update, the relative case.
7430 (alt_mon): Add, fill with month names in the nominative case.
7431 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7432 (d_fmt): Set to "%b %d %Y".
7433
7434 2018-10-04 Joseph Myers <joseph@codesourcery.com>
7435
7436 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7437 <bits/mman-linux.h>.
7438 (PROT_READ): Don't define here.
7439 (PROT_WRITE): Likewise.
7440 (PROT_EXEC): Likewise.
7441 (PROT_NONE): Likewise.
7442 (PROT_GROWSDOWN): Likewise.
7443 (PROT_GROWSUP): Likewise.
7444 (MAP_SHARED): Likewise.
7445 (MAP_PRIVATE): Likewise.
7446 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7447 [__USE_MISC] (MAP_FILE): Likewise.
7448 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7449 [__USE_MISC] (MAP_ANON): Likewise.
7450 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7451 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7452 (MCL_CURRENT): Likewise.
7453 (MCL_FUTURE): Likewise.
7454 (MCL_ONFAULT): Likewise.
7455 [__USE_MISC] (MADV_NORMAL): Likewise.
7456 [__USE_MISC] (MADV_RANDOM): Likewise.
7457 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7458 [__USE_MISC] (MADV_WILLNEED): Likewise.
7459 [__USE_MISC] (MADV_DONTNEED): Likewise.
7460 [__USE_MISC] (MADV_FREE): Likewise.
7461 [__USE_MISC] (MADV_REMOVE): Likewise.
7462 [__USE_MISC] (MADV_DONTFORK): Likewise.
7463 [__USE_MISC] (MADV_DOFORK): Likewise.
7464 [__USE_MISC] (MADV_HWPOISON): Likewise.
7465 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7466 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7467 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7468 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7469 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7470 (__MAP_ANONYMOUS): New macro.
7471 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7472 <bits/mman-linux.h> inclusion.
7473 (MAP_FIXED): Likewise.
7474 (MS_SYNC): Likewise.
7475 (MS_ASYNC): Likewise.
7476 (MS_INVALIDATE): Likewise.
7477 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7478 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7479 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7480 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7481 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7482 [__USE_MISC] (MADV_DODUMP): Likewise.
7483 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7484 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7485
7486 [BZ #23735]
7487 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7488 Define.
7489 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7490 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7491 Add test-nldbl-redirect.
7492 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7493 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7494 $(objpfx)libnldbl_nonshared.a.
7495
7496 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
7497
7498 * support/support.h (support_objdir_elf_ldso): New variable.
7499 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7500 * support/Makefile (CFLAGS-support_paths.c): Add definition
7501 for OBJDIR_ELF_LDSO_PATH.
7502 * support/test-container.c (main): Search for the ld.so
7503 which is also used by the testsuite.
7504
7505 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7506
7507 [BZ #20209]
7508 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7509 should be "sap" rather than "sab".
7510 (day): Fix spelling of Sunday, should be "sapaat" rather than
7511 "sabaat".
7512
7513 2018-10-02 Joseph Myers <joseph@codesourcery.com>
7514
7515 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7516
7517 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7518
7519 [BZ #19444]
7520 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7521 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7522 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7523
7524 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7525
7526 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7527
7528 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7529
7530 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7531 Add -mrtm.
7532 (CFLAGS-elision-unlock.c): Likewise.
7533 (CFLAGS-elision-timed.c): Likewise.
7534 (CFLAGS-elision-trylock.c): Likewise.
7535 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7536
7537 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7538
7539 [BZ #21037]
7540 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7541 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7542 new fd_to_filename interface.
7543 * libio/freopen64.c (freopen64): Likewise.
7544 * libio/tst-memstream.h: New file.
7545 * libio/tst-memstream4.c: Likewise.
7546 * libio/tst-wmemstream4.c: Likewise.
7547 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7548 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7549 and remove internal dynamic allocation.
7550
7551 2018-10-01 Joseph Myers <joseph@codesourcery.com>
7552
7553 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7554 (MREMAP_MAYMOVE): Do not define here.
7555 [__USE_GNU] (MREMAP_FIXED): Likewise.
7556 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7557 (MREMAP_MAYMOVE): Define here instead.
7558 [__USE_GNU] (MREMAP_FIXED): Likewise.
7559 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7560 (MREMAP_MAYMOVE): Remove.
7561 [__USE_GNU] (MREMAP_FIXED): Likewise.
7562
7563 2018-09-28 Joseph Myers <joseph@codesourcery.com>
7564
7565 * math/fromfp.h: Do not include <math_private.h>.
7566 * math/s_cacosh_template.c: Likewise.
7567 * math/s_casin_template.c: Likewise.
7568 * math/s_casinh_template.c: Likewise.
7569 * math/s_ccos_template.c: Likewise.
7570 * math/s_cproj_template.c: Likewise.
7571 * math/s_fdim_template.c: Likewise.
7572 * math/s_fmaxmag_template.c: Likewise.
7573 * math/s_fminmag_template.c: Likewise.
7574 * math/s_iseqsig_template.c: Likewise.
7575 * math/s_ldexp_template.c: Likewise.
7576 * math/s_nextdown_template.c: Likewise.
7577 * math/w_log1p_template.c: Likewise.
7578 * math/w_scalbln_template.c: Likewise.
7579 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7580 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7581 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7582 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7583 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7584 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7585 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7586 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7587 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7588 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7589 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7590 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7591 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7592 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7593 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7594 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7595 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7596 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7597 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7598 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7599 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7600 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7601 * sysdeps/ieee754/k_standardf.c: Likewise.
7602 * sysdeps/ieee754/k_standardl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7605 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7611 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7612 * sysdeps/ieee754/s_signgam.c: Likewise.
7613 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7614 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7615 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7616 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7617 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7618 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7619 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7620 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7621 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7622 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7623 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7624 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7625 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7626 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7627 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7628 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7629 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7630 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7631 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7632 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7633 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7634 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7635 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7636 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7637 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7638 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7639 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7640 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7641 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7642 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7643 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7644 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7645 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7646 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7647 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7648 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7649 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
7650 <math_private.h>.
7651 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7652
7653 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7654
7655 [BZ #23716]
7656 * sysdeps/i386/dl-cet.c: Removed.
7657 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7658 prototype.
7659 (_dl_runtime_profile_shstk): Likewise.
7660 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7661 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7662
7663 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7664
7665 [BZ #23579]
7666 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7667 do_test_with_invalid_iov): New tests.
7668 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7669 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7670 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7671 errno is ENOSYS.
7672 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7673 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7674 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7675
7676 2018-09-27 Joseph Myers <joseph@codesourcery.com>
7677
7678 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7679 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7680 (MATH_REDIRECT_BINARY_ARGS): New macro.
7681 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7682 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7683 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7684 header inclusion.
7685 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7686 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7687 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7688 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7689 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7690 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7691 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7693 Likewise.
7694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7695 Likewise.
7696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7698 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7699 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7701 Likewise.
7702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7703 Likewise.
7704 * sysdeps/generic/math_private_calls.h
7705 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7706 Do not declare and define as an inline function.
7707 * math/divtc3.c (__divtc3): Use copysign functions instead of
7708 __copysign variants.
7709 * math/multc3.c (__multc3): Likewise.
7710 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
7711 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7712 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7713 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7714 Likewise.
7715 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7716 (__ieee754_yn): Likewise.
7717 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7718 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7719 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7720 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7721 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
7722 (__sin): Likewise.
7723 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
7724 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7725 Likewise.
7726 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7727 Likewise.
7728 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7729 Likewise.
7730 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7731 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7732 Likewise.
7733 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7734 (__ieee754_ynf): Likewise.
7735 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7736 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7737 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7738 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7739 Likewise.
7740 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7741 (__ieee754_ynl): Likewise.
7742 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7743 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7744 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7745 Likewise.
7746 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7747 (__ieee754_ynl): Likewise.
7748 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
7749 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7750 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7751 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7752 Likewise.
7753 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7754 (__ieee754_ynl)
7755 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
7756 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7757 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
7758 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7759 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7760
7761 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7762 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7763 using MATH_REDIRECT.
7764 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7765 header inclusion.
7766 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7767 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7768 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7769 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7770 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7771 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7772 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7777 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7778 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7779 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7780 (round): Redirect to __round.
7781 (__roundl): Call round instead of __round.
7782 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7783 Remove macro.
7784 [_ARCH_PWR5X] (__roundf): Likewise.
7785 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7786 functions instead of __round variants.
7787 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7788 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7789 Likewise.
7790 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7791 Likewise.
7792 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7793 Likewise.
7794 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7795 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7796 __lroundl.
7797 (__ieee754_expl): Call roundl instead of __roundl.
7798
7799 2018-09-27 Andreas Schwab <schwab@suse.de>
7800
7801 [BZ #23717]
7802 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7803 (do_test): Make st1 static.
7804
7805 2018-09-26 Andreas Schwab <schwab@suse.de>
7806
7807 [BZ #23707]
7808 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7809 * elf/Makefile (tests): Add tst-unwind-ctor.
7810 (modules-names): Add tst-unwind-ctor-lib.
7811 ($(objpfx)tst-unwind-ctor): Depend on
7812 $(objpfx)tst-unwind-ctor-lib.so.
7813
7814 2018-09-26 Joseph Myers <joseph@codesourcery.com>
7815
7816 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7817 file. Most contents moved from ....
7818 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7819 and include <bits/mman-map-flags-generic.h>.
7820 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7821 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7822 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7823 <bits/mman-map-flags-generic.h>.
7824 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7825 macros defined in <bits/mman-map-flags-generic.h>.
7826 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7827 <bits/mman-map-flags-generic.h>.
7828 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7829 defined in <bits/mman-map-flags-generic.h>.
7830
7831 2018-09-26 Andreas Schwab <schwab@suse.de>
7832
7833 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7834 output.
7835
7836 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7837 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7838 Fangrui Song <maskray@google.com>
7839
7840 [BZ #20480]
7841 * config.make.in (have-textrel_ifunc): New define.
7842 * configure.ac: Add check if linker supports textrel relocation with
7843 ifunc.
7844 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7845 tst-ifunc-textrel.
7846 (CFLAGS-tst-ifunc-textrel.c): New rule.
7847 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7848 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7849 * elf/tst-ifunc-textrel.c: New file.
7850
7851 2018-09-25 Joseph Myers <joseph@codesourcery.com>
7852
7853 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7854 <bits/procfs-prregset.h>.
7855 (prgregset_t): Define using __prgregset_t.
7856 (prfpregset_t): Define using __prfpregset_t.
7857 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7858 (sysdep_headers): Add bits/procfs-prregset.h.
7859 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7860 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7861 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7862 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7863
7864 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7865 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7866 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7867 pr_uid and pr_gid.
7868 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7869 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7870 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7871 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7872 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7873 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7874 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7875 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7876 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7877 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7878 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7879 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7880 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7881 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7882 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7883 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7884 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7885 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7886 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7887 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7888 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7889 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7890 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7891 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7892
7893 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7894 AArch64 version. Include <bits/procfs.h>.
7895 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7896 (sysdep_headers): Add bits/procfs.h.
7897 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7898 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7899 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7900 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7901 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7902 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7903 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7904 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7905 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7906 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7907 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7908 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7909 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7910 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7911 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7912 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7913 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7914
7915 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7916
7917 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7918 Use libsupport.
7919
7920 2018-09-25 Arjun Shankar <arjun@redhat.com>
7921
7922 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7923 (__gconv_max_path_elem_len): Likewise.
7924 (__gconv_nmodules): Likewise.
7925 (__gconv_get_path): Likewise.
7926 (path_elem): Move to ...
7927 * iconv/gconv_conf.c: ... here.
7928 (__gconv_get_path): Mark function static.
7929 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7930 * iconv/gconv_open.c: ... here.
7931
7932 2018-09-24 Andreas Schwab <schwab@suse.de>
7933
7934 * scripts/haveversions.awk: New file.
7935 * Makerules ($(common-objpfx)Versions.def)
7936 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7937 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7938 Move rules ...
7939 * Makeconfig ($(common-objpfx)Versions.def)
7940 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7941 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7942 ... here.
7943 ($(common-objpfx)Versions.mk): New rule. Include it.
7944 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7945 Emit error if build-obsolete-nsl = yes.
7946 * manual/install.texi (Configuring and compiling): Describe
7947 --enable-obsolete-nsl as unavaiable after version 2.28.
7948 * INSTALL: Regenerate.
7949
7950 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7951
7952 * NEWS: Add note about new TLE support on powerpc64le.
7953 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7954 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7955 __ununsed1.
7956 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7957 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7958 * sysdeps/powerpc/powerpc32/sysdep.h,
7959 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7960 ABORT_TRANSACTION): Remove macros.
7961 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7962 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7963 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7965 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7966 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7967 usage.
7968 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7969
7970 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7971
7972 [BZ #10425]
7973 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7974 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7975 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7976 which is the same as in it_IT.
7977 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7978 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7979
7980 2018-09-20 Joseph Myers <joseph@codesourcery.com>
7981
7982 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7983 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7984 using MATH_REDIRECT.
7985 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7986 header inclusion.
7987 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7988 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7989 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7990 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7991 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7992 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7997 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7998 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7999 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8000 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8001 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8002 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8003 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8004 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8005 (ceil): Redirect to __ceil.
8006 (floor): Redirect to __floor.
8007 (trunc): Redirect to __trunc.
8008 (__truncl): Call trunc instead of __trunc.
8009 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8010 Remove macro.
8011 [_ARCH_PWR5X] (__truncf): Likewise.
8012 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8013 trunc functions instead of __trunc variants.
8014 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8015 Likewise.
8016 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8017 Likewise.
8018 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8019 Likewise.
8020 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8021 Likewise.
8022
8023 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8024 [__i586__ || __pentium__].
8025 [__i486__]: Handle explicitly.
8026 (HAS_CPUID): Define to 1 if above macros are undefined.
8027 (HAS_I586): Likewise.
8028 (HAS_I686): Likewise.
8029
8030 2018-09-20 Florian Weimer <fweimer@redhat.com>
8031
8032 * misc/tst-gethostid.c: New file.
8033 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8034 (tst-gethostid): Link with -ldl.
8035
8036 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8037
8038 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8039 value from gethostbyname_r.
8040
8041 2018-09-19 Carlos O'Donell <carlos@redhat.com>
8042
8043 * stdlib/tst-setcontext9.c (f1): Rename to...
8044 (f1a): ... this.
8045 (f1b): New function implementing lower half of f1 in alternate stack.
8046
8047 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8048
8049 Fix mktime localtime offset confusion
8050 [BZ #23603]
8051 * include/time.h (__mktime_internal): The localtime offset is now
8052 of type long int instead of time_t. This is the longstanding type
8053 in glibc, and it is more than enough to represent difference
8054 between localtime and gmtime even if it is 32 bits and time_t is
8055 64. Changing it now will let us avoid an unnecessary change when
8056 time_t is widened to 64 bits on 32-bit platforms.
8057 * time/mktime-internal.h (mktime_offset_t): Now long int.
8058
8059 Merge mktime, timegm from upstream Gnulib
8060 [BZ #23603][BZ #16346]
8061 This fixes some obscure problems with integer overflow.
8062 Although it looks scary, it is almost all a byte-for-byte copy
8063 from Gnulib, and the Gnulib code has been tested reasonably well.
8064 * include/intprops.h: New file, copied from Gnulib.
8065 * include/verify.h, time/mktime-internal.h:
8066 New tiny files, simplified from Gnulib.
8067 * time/mktime.c: Copy from Gnulib. This has the following changes:
8068 Do not include config.h if DEBUG_MKTIME is nonzero.
8069 Include stdbool.h, intprops.h, verify.h.
8070 Include string.h only if needed.
8071 Include stdlib.h on MS-Windows.
8072 Include mktime-internal.h.
8073 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8074 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8075 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8076 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8077 simplify later conditionals; default the others to zero. Use
8078 these conditionals to express only the code needed on the current
8079 platform. In uses of these conditionals, explicitly spell out how
8080 _LIBC affects things, so it’s easier to review from a glibc
8081 viewpoint.
8082 (WRAPV): Remove; no longer needed now that we have
8083 systematic overflow checking.
8084 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8085 compartmentalize tzset issues. Move system-dependent tzsettish
8086 code here from mktime.
8087 (verify): Remove; now done by verify.h. All uses changed.
8088 (long_int): Use a more-conservative definition, to avoid
8089 integer overflow.
8090 (SHR): Remove, replacing with ...
8091 (shr): New function, which means we needn’t worry about side
8092 effects in args, and conversion analysis is simpler.
8093 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8094 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8095 (time_t_avg, time_t_add_ok): Remove.
8096 (mktime_min, mktime_max): New constants.
8097 (leapyear, isdst_differ): Use bool for booleans.
8098 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8099 Use long_int, not time_t, for mktime differences.
8100 (long_int_avg): New function, replacing time_t_avg.
8101 INT_ADD_WRAPV replaces time_t_add_ok.
8102 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8103 All uses changed.
8104 (convert_time): New function.
8105 (ranged_convert): Use it.
8106 (__mktime_internal): Last arg now points to mktime_offset_t, not
8107 time_t. All uses changed. This is a no-op on glibc, where
8108 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8109 offset guess. Directly check for integer overflow instead of
8110 using a heuristic that works only 99.9...% of the time.
8111 Access *OFFSET only once, to avoid an unlikely race if the
8112 compiler delays a load and if this cascades into a signed integer
8113 overflow.
8114 (mktime): Move tzsettish code to my_tzset, and move
8115 localtime_offset to within mktime so that it doesn’t
8116 need a separate ifdef.
8117 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8118 instead of localtime.
8119 * time/timegm.c: Copy from Gnulib. This has the following changes:
8120 Include mktime-internal.h.
8121 [!_LIBC]: Include config.h and time.h. Do not include
8122 timegm.h or time_r.h. Make __mktime_internal a macro,
8123 and include mktime-internal.h to get its declaration.
8124 (timegm): Temporary is now mktime_offset_t, not time_t.
8125 This affects only Gnulib.
8126
8127 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8128
8129 [BZ #23637]
8130 * string/test-strstr.c (pr23637): New function.
8131 (test_main): Add tests with longer needles.
8132 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8133 * string/strstr.c (AVAILABLE): Likewise.
8134
8135 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8136
8137 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8138
8139 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8140
8141 * NEWS: Mention pow improvements.
8142 * math/Makefile (type-double-routines): Add e_pow_log_data.
8143 * sysdeps/generic/math_private.h (__exp1): Remove.
8144 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8145 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8146 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8147 contraction.
8148 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8149 (exp_inline): Remove.
8150 (__ieee754_exp): Only single double input is handled.
8151 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8152 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8153 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8154 (__pow_log_data): Define.
8155 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8156 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8157 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8158 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8159 contraction.
8160 (CFLAGS-e_pow-fma4.c): Likewise.
8161
8162 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8163
8164 Simplify tzfile fstat failure code
8165 [BZ #21716]
8166 * time/tzfile.c (__tzfile_read): Simplify slightly.
8167
8168 Fix tzfile low-memory assertion failure
8169 [BZ #21716]
8170 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8171 when registering time zone abbreviations.
8172
8173 2018-09-18 Joseph Myers <joseph@codesourcery.com>
8174
8175 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8176 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8177 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8178 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8179 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8180 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8181 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8182 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8183 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8184
8185 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8186 __ceil.
8187 (__ceill): Call ceil instead of __ceil.
8188 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8189 __floor.
8190 (__floorl): Call floor instead of __floor.
8191
8192 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8193
8194 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8195 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8196 using MATH_REDIRECT.
8197 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8198 header inclusion.
8199 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8200 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8201 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8202 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8203 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8204 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8205 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8206 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8211 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8212 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8215 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8216 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8217 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8218 Remove macro.
8219 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8220 functions instead of __ceil variants.
8221 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8222 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8223 Likewise.
8224 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8225 Likewise.
8226 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8227 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8228 Likewise.
8229 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8230 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8231
8232 [BZ #21286]
8233 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8234 constant.
8235 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8236 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8237 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8238 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8239 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8240 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8241 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8242 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8243 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8244 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8245 (ILL_BADIADDR): Remove constant.
8246 (TRAP_BRANCH): Likewise.
8247 (TRAP_HWBKPT): Likewise.
8248
8249 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8250
8251 [BZ #23656]
8252 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8253 Remove [_MIPS_SIM = _ABIN32] conditional case.
8254 (struct elf_prpsinfo): Likewise.
8255
8256 [BZ #23649]
8257 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8258 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8259 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8260 Likewise.
8261 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8262 elf_prpsinfo): Likewise.
8263 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8264 elf_prpsinfo): Likewise.
8265 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8266 Likewise.
8267
8268 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8269 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8270 using MATH_REDIRECT.
8271 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8272 header inclusion.
8273 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8274 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8275 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8276 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8277 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8279 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8280 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8281 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8282 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8283 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8284 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8285 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8286 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8287 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8288 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8289 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8290 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8291 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8294 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8295 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8296 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8297 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8298 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8299 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8300 __rint variants.
8301 * math/e_scalbf.c (invalid_fn): Likewise.
8302 * math/e_scalbl.c (invalid_fn): Likewise.
8303 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8304 Likewise.
8305 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8306 Likewise.
8307 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8308 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8309 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8310 Likewise.
8311 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8312 Likewise.
8313 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8314 Likewise.
8315 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8316 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8317
8318 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8319 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8320 New macro.
8321 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8322 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8323 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8324 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8325 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8326 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8327 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8328 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8329 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8330 && !NO_MATH_REDIRECT] (floor): Likewise.
8331 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8332 header inclusion.
8333 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8334 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8335 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8336 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8337 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8338 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8340 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8345 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8346 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8349 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8350 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8351 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8352 Remove macro.
8353 [_ARCH_PWR5X] (__floorf): Likewise.
8354 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8355 inline function.
8356 [__SSE4_1__] (__floorf): Likewise.
8357 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8358 instead of __floor variants.
8359 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8360 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8361 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8362 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8363 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8364 * math/w_tgamma_compat.c (__tgamma): Likewise.
8365 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8366 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8367 * math/w_tgammal_compat.c (__tgammal): Likewise.
8368 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8369 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8370 Likewise.
8371 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8372 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8373 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8374 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8375 Likewise.
8376 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8377 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8378 Likewise.
8379 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8380 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8381 Likewise.
8382 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8383 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8384 Likewise.
8385 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8386 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8387 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8388 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8389 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8390 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8391
8392 2018-09-12 Joseph Myers <joseph@codesourcery.com>
8393
8394 * elf/Makefile (modules-names-tests): New variable.
8395
8396 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8397
8398 * NEWS: Mention log2 improvements.
8399 * math/Makefile (type-double-routines): Add e_log2_data.
8400 * sysdeps/i386/fpu/e_log2_data.c: New file.
8401 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8402 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8403 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8404 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8405 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8406 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8407
8408 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8409
8410 * NEWS: Mention log improvement.
8411 * math/Makefile (type-double-routines): Add e_log_data.
8412 * sysdeps/i386/fpu/e_log_data.c: New file.
8413 * sysdeps/ia64/fpu/e_log_data.c: New file.
8414 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8415 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8416 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8417 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8418 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8419 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8420
8421 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8422 Xuepeng Guo <xuepeng.guo@intel.com>
8423
8424 [BZ #23606]
8425 * sysdeps/i386/start.S: Include <sysdep.h>
8426 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8427 enabled. Add cfi_undefined (eip).
8428
8429 2018-09-11 Joseph Myers <joseph@codesourcery.com>
8430
8431 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8432 (MOVQ): Likewise.
8433 (EXTRACT_WORDS64): Likewise.
8434 (INSERT_WORDS64): Likewise.
8435 (GET_FLOAT_WORD): Likewise.
8436 (SET_FLOAT_WORD): Likewise.
8437
8438 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8439 argument.
8440 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8441 build, but not for second build if --full-gcc. Use
8442 --enable-languages=all for second build if --full-gcc.
8443 (get_parser): Add --full-gcc option.
8444 (main): Update call to Context.
8445
8446 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8447
8448 [BZ #10797]
8449 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8450 Single Quotation Mark).
8451 (thousands_sep): Likewise.
8452 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8453 * localedata/locales/it_IT (thousands_sep): Use ".".
8454 (grouping): Use "3;3".
8455
8456 2018-09-10 Joseph Myers <joseph@codesourcery.com>
8457
8458 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8459 x86_64 and i686 configs using --enable-obsolete-rpc
8460 --enable-obsolete-nsl.
8461
8462 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8463
8464 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8465
8466 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8467
8468 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8469 Increment size of new_argv by one.
8470
8471 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8472
8473 [BZ #17426]
8474 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8475 * localedata/locales/ar_IN (d_fmt): Likewise.
8476 * localedata/locales/bhb_IN (d_fmt): Likewise.
8477 * localedata/locales/bho_IN (d_fmt): Likewise.
8478 * localedata/locales/bn_BD (d_fmt): Likewise.
8479 * localedata/locales/bn_IN (d_fmt): Likewise.
8480 * localedata/locales/doi_IN (d_fmt): Likewise.
8481 * localedata/locales/gu_IN (d_fmt): Likewise.
8482 * localedata/locales/hi_IN (d_fmt): Likewise.
8483 * localedata/locales/hne_IN (d_fmt): Likewise.
8484 * localedata/locales/kn_IN (d_fmt): Likewise.
8485 * localedata/locales/mag_IN (d_fmt): Likewise.
8486 * localedata/locales/mai_IN (d_fmt): Likewise.
8487 * localedata/locales/mjw_IN (d_fmt): Likewise.
8488 * localedata/locales/ml_IN (d_fmt): Likewise.
8489 * localedata/locales/mni_IN (d_fmt): Likewise.
8490 * localedata/locales/mr_IN (d_fmt): Likewise.
8491 * localedata/locales/pa_IN (d_fmt): Likewise.
8492 * localedata/locales/raj_IN (d_fmt): Likewise.
8493 * localedata/locales/sat_IN (d_fmt): Likewise.
8494 * localedata/locales/sd_IN (d_fmt): Likewise.
8495 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8496 * localedata/locales/ta_IN (d_fmt): Likewise.
8497 * localedata/locales/ta_LK (d_fmt): Likewise.
8498 * localedata/locales/tcy_IN (d_fmt): Likewise.
8499 * localedata/locales/ur_IN (d_fmt): Likewise.
8500
8501 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8502 * localedata/locales/ks_IN (d_fmt): Likewise.
8503 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8504
8505 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8506 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8507 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8508 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8509
8510 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8511
8512 * NEWS: Mention exp and exp2 improvements.
8513 * math/Makefile (libm-support): Remove t_exp.
8514 (type-double-routines): Add math_err and e_exp_data.
8515 * sysdeps/aarch64/libm-test-ulps: Update.
8516 * sysdeps/arm/libm-test-ulps: Update.
8517 * sysdeps/i386/fpu/e_exp_data.c: New file.
8518 * sysdeps/i386/fpu/math_err.c: New file.
8519 * sysdeps/i386/fpu/t_exp.c: Remove.
8520 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8521 * sysdeps/ia64/fpu/math_err.c: New file.
8522 * sysdeps/ia64/fpu/t_exp.c: Remove.
8523 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8524 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8525 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8526 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8527 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8528 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8529 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8530 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8531 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8532 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8533 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8534 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8535 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8536 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8539
8540 2018-09-05 Joseph Myers <joseph@codesourcery.com>
8541
8542 * sysdeps/alpha/fpu/math_private.h: Remove.
8543
8544 * sysdeps/generic/math_private.h
8545 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8546 Move this inline function ....
8547 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8548 * include/math.h [!_ISOMAC]: To here....
8549
8550 2018-09-04 Joseph Myers <joseph@codesourcery.com>
8551
8552 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8553 code ....
8554 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8555 * include/fenv.h [!_ISOMAC]: ... to here.
8556 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8557 (feraiseexcept): Likewise.
8558 * math/fromfp.h: Do not include <fenv_private.h>.
8559 * math/s_cexp_template.c: Likewise.
8560 * math/s_csin_template.c: Likewise.
8561 * math/s_csinh_template.c: Likewise.
8562 * math/s_ctan_template.c: Likewise.
8563 * math/s_ctanh_template.c: Likewise.
8564 * math/s_iseqsig_template.c: Likewise.
8565 * math/w_acos_compat.c: Likewise.
8566 * math/w_acosf_compat.c: Likewise.
8567 * math/w_acosl_compat.c: Likewise.
8568 * math/w_asin_compat.c: Likewise.
8569 * math/w_asinf_compat.c: Likewise.
8570 * math/w_asinl_compat.c: Likewise.
8571 * math/w_j0_compat.c: Likewise.
8572 * math/w_j0f_compat.c: Likewise.
8573 * math/w_j0l_compat.c: Likewise.
8574 * math/w_j1_compat.c: Likewise.
8575 * math/w_j1f_compat.c: Likewise.
8576 * math/w_j1l_compat.c: Likewise.
8577 * math/w_jn_compat.c: Likewise.
8578 * math/w_jnf_compat.c: Likewise.
8579 * math/w_log10_compat.c: Likewise.
8580 * math/w_log10f_compat.c: Likewise.
8581 * math/w_log10l_compat.c: Likewise.
8582 * math/w_log2_compat.c: Likewise.
8583 * math/w_log2f_compat.c: Likewise.
8584 * math/w_log2l_compat.c: Likewise.
8585 * math/w_log_compat.c: Likewise.
8586 * math/w_logf_compat.c: Likewise.
8587 * math/w_logl_compat.c: Likewise.
8588 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8589 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8590 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8591 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8592 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8593 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8594 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8595 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8596 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8597 * sysdeps/ieee754/k_standardl.c: Likewise.
8598 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8599 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8600 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8601 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8602 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8603 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8604 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8605 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8606 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8607 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8608 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8609 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8610 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8611 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8612 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8613 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8614 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8615 * math/w_ilogb_template.c: Include <fenv.h> instead of
8616 <fenv_private.h>.
8617 * math/w_llogb_template.c: Likewise.
8618 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8619 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8620
8621 2018-09-03 Joseph Myers <joseph@codesourcery.com>
8622
8623 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8624 * math/fromfp.h: Include <fenv_private.h>.
8625 * math/math-narrow.h: Likewise.
8626 * math/s_cexp_template.c: Likewise.
8627 * math/s_csin_template.c: Likewise.
8628 * math/s_csinh_template.c: Likewise.
8629 * math/s_ctan_template.c: Likewise.
8630 * math/s_ctanh_template.c: Likewise.
8631 * math/s_iseqsig_template.c: Likewise.
8632 * math/w_acos_compat.c: Likewise.
8633 * math/w_acosf_compat.c: Likewise.
8634 * math/w_acosl_compat.c: Likewise.
8635 * math/w_asin_compat.c: Likewise.
8636 * math/w_asinf_compat.c: Likewise.
8637 * math/w_asinl_compat.c: Likewise.
8638 * math/w_ilogb_template.c: Likewise.
8639 * math/w_j0_compat.c: Likewise.
8640 * math/w_j0f_compat.c: Likewise.
8641 * math/w_j0l_compat.c: Likewise.
8642 * math/w_j1_compat.c: Likewise.
8643 * math/w_j1f_compat.c: Likewise.
8644 * math/w_j1l_compat.c: Likewise.
8645 * math/w_jn_compat.c: Likewise.
8646 * math/w_jnf_compat.c: Likewise.
8647 * math/w_llogb_template.c: Likewise.
8648 * math/w_log10_compat.c: Likewise.
8649 * math/w_log10f_compat.c: Likewise.
8650 * math/w_log10l_compat.c: Likewise.
8651 * math/w_log2_compat.c: Likewise.
8652 * math/w_log2f_compat.c: Likewise.
8653 * math/w_log2l_compat.c: Likewise.
8654 * math/w_log_compat.c: Likewise.
8655 * math/w_logf_compat.c: Likewise.
8656 * math/w_logl_compat.c: Likewise.
8657 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8658 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8659 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8660 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8661 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8662 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8663 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8664 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8665 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8666 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8667 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8668 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8669 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8670 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8674 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8675 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8679 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8680 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8681 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8685 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8686 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8687 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8688 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8689 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8690 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8691 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8692 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8693 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8694 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8695 * sysdeps/ieee754/k_standardl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8721 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8722 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8724 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8726 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8727 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8728 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8729 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8730 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8732 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8733 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8734 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8735 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8736 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8737 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8738 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8739 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8740 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8741 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8742 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8743 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8744 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8745 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8746 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8747 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8748 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8749 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8750 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8751 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8752 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8753 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8754 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8755 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8756 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8757 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8758 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8759 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8760 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8761 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8762 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8763 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8764 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8765 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8766 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8767
8768 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8769
8770 [BZ #20271]
8771 * include/stdio.h (__libc_fatal): Mention newline in comment.
8772 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8773 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8774 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8775 * nss/nsswitch.c (__nss_next2): Likewise.
8776 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8777 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8778 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8779 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8780 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8781 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8782 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8783 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8784 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8785 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8786 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8787 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8788 (__netlink_assert_response): Likewise.
8789
8790 2018-08-31 Joseph Myers <joseph@codesourcery.com>
8791
8792 * conform/glibcconform.py: New file.
8793 * conform/list-header-symbols.py: Likewise.
8794 * conform/list-header-symbols.pl: Remove.
8795 * conform/Makefile (tests-special): Only add linknamespace tests
8796 if [PYTHON].
8797 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8798
8799 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8800
8801 [BZ #23597]
8802 * support/Makefile (libsupport-routines): Add
8803 support_copy_file_range and xcopy_file_range.
8804 * support/support.h: Include <sys/types.h>.
8805 (support_copy_file_range): New prototype.
8806 * support/support_copy_file_range.c: New file. Copied and
8807 modified from io/copy_file_range-compat.c.
8808 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8809 instead of copy_file_range.
8810 * support/xcopy_file_range.c: New file.
8811 * support/xunistd.h (xcopy_file_range): New prototype.
8812
8813 2018-08-30 Carlos O'Donell <carlos@redhat.com>
8814
8815 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8816 xpthread_create and xpthread_join.
8817
8818 2018-08-30 Florian Weimer <fweimer@redhat.com>
8819
8820 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8821
8822 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
8823
8824 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8825 if malloc fails.
8826
8827 2018-08-29 Joseph Myers <joseph@codesourcery.com>
8828
8829 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8830 and minus_oflow as non-finite.
8831
8832 2018-08-28 Joseph Myers <joseph@codesourcery.com>
8833
8834 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8835 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8836 moved to fenv_private.h except for ...
8837 (TOINT_INTRINSICS): Kept in math_private.h.
8838 (roundtoint): Likewise.
8839 (converttoint): Likewise.
8840 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8841 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8842 * sysdeps/arm/math_private.h: Remove.
8843 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8844 ....
8845 * sysdeps/generic/math_private.h: ... this file. Include
8846 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8847 Include <fenv_private.h>. Remove functions and macros moved to
8848 fenv_private.h.
8849 * sysdeps/i386/fpu/math_private.h: Remove.
8850 * sysdeps/mips/math_private.h: Move to ....
8851 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8852 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8853 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8854 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8855 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8856 * sysdeps/powerpc/fpu/math_private.h: Do not include
8857 <fenv_private.h>.
8858 * sysdeps/riscv/rvf/math_private.h: Move to ....
8859 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8860 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8861 <fenv_private.h>.
8862 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8863 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8864 * sysdeps/sparc/fpu/math_private.h: Remove.
8865 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8866 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8867 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8868 <fenv_private.h>.
8869 * sysdeps/x86_64/fpu/math_private.h: Do not include
8870 <sysdeps/i386/fpu/fenv_private.h>.
8871
8872 2018-08-28 Florian Weimer <fweimer@redhat.com>
8873
8874 [BZ #23578]
8875 * posix/tst-regcomp-truncated.c: New file.
8876 * posix/Makefile (tests): Add it.
8877 (tst-regcomp-truncated.out): Depend on generated locales.
8878
8879 2018-08-28 Florian Weimer <fweimer@redhat.com>
8880
8881 * support/test-container.c (main): Treat unshare failure with
8882 EPERM as an unsupported test.
8883
8884 2018-08-28 Florian Weimer <fweimer@redhat.com>
8885
8886 [BZ #23520]
8887 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8888 * nscd/netgroupcache.c
8889 (addgetnetgrentX): Add tofreep parameter. Do not free
8890 heap-allocated buffer.
8891 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8892 (addgetnetgrentX_ignore): New function.
8893 (addgetnetgrent): Call it.
8894 (readdgetnetgrent): Likewise.
8895
8896 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8897
8898 * string/memmem.c: Use memcmp for first match.
8899
8900 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8901
8902 [BZ #17426]
8903 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8904
8905 2018-08-27 DJ Delorie <dj@redhat.com>
8906
8907 * support/Makefile (others): Don't list programs explicitly as a
8908 dependency of "others".
8909
8910 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8911
8912 * sysdeps/generic/math-tests-trap-force.h: New file.
8913 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8914 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8915 * sysdeps/powerpc/math-tests.h: Remove file.
8916 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8917
8918 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8919 Torvald Riegel <triegel@redhat.com>
8920
8921 [BZ #23538]
8922 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8923 Update r to include the set wake-request flag if waiters are
8924 remaining after spinning.
8925
8926 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8927
8928 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8929
8930 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8931
8932 [BZ #23578]
8933 regex: fix uninitialized memory access
8934 I introduced this bug into gnulib in commit
8935 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8936 eventually it was merged into glibc. The bug was found by
8937 project-repo <bugs@feusi.co> and reported here:
8938 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8939 Diagnosis and draft fix reported by Assaf Gordon here:
8940 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8941 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8942 * posix/regex_internal.c (build_wcs_upper_buffer):
8943 Fix bug when mbrtowc returns 0.
8944
8945 2018-08-24 Carlos O'Donell <carlos@redhat.com>
8946
8947 * po/be.po: Update translation.
8948
8949 2018-08-24 DJ Delorie <dj@delorie.com>
8950
8951 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8952 $(libunwind).
8953
8954 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8955
8956 [BZ #23400]
8957 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8958 create temporary files in source tree.
8959
8960 2018-08-24 Joseph Myers <joseph@codesourcery.com>
8961
8962 * sysdeps/generic/math-tests-trap.h: New file.
8963 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8964 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8965 * sysdeps/aarch64/math-tests.h: Remove file.
8966 * sysdeps/arm/math-tests.h: Likewise.
8967 * sysdeps/riscv/math-tests.h: Likewise.
8968 * sysdeps/aarch64/math-tests-trap.h: New file.
8969 * sysdeps/arm/math-tests-trap.h: Likewise.
8970 * sysdeps/riscv/math-tests-trap.h: Likewise.
8971
8972 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8973
8974 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8975 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8976 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8977 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8978 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8979 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8980 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8981 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8982 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8983 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8984 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8985 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8986 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8987 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8988 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8989 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8990 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8991 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8992
8993 2018-08-23 Joseph Myers <joseph@codesourcery.com>
8994
8995 * sysdeps/generic/math-tests-exceptions.h: New file.
8996 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8997 (EXCEPTION_TESTS_float): Do not define here.
8998 (EXCEPTION_TESTS_double): Likewise.
8999 (EXCEPTION_TESTS_long_double): Likewise.
9000 (EXCEPTION_TESTS_float128): Likewise.
9001 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9002 Likewise.
9003 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9004 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9005 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9006 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9007 * sysdeps/mips/math-tests.h: Likewise.
9008 * sysdeps/nios2/math-tests.h: Likewise.
9009 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9010 (EXCEPTION_TESTS_float): Do not define here.
9011 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9012 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9013 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9014
9015 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9016
9017 * NEWS: Move optimized sinf entry to 2.29.
9018
9019 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9020
9021 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9022
9023 2018-08-22 DJ Delorie <dj@redhat.com>
9024
9025 * Makefile (testroot.pristine): New rules to initialize the
9026 test-in-container "testroot".
9027 * Makerules (all-testsuite): Add tests-container.
9028 * Rules (tests-expected): Add tests-container.
9029 (binaries-all-tests): Likewise.
9030 (tests-container): New, run these tests in the testroot container.
9031 * support/Makefile (others): Add *-container, support_paths.c,
9032 xmkdirp, and links-dso-program.
9033 * support/links-dso-program-c.c: New.
9034 * support/links-dso-program.cc: New.
9035 * support/test-container.c: New.
9036 * support/shell-container.c: New.
9037 * support/echo-container.c: New.
9038 * support/true-container.c: New.
9039 * support/xmkdirp.c: New.
9040 * support/xsymlink.c: New.
9041 * support/support_paths.c: New.
9042 * support/support.h: Add support paths prototypes.
9043 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9044
9045 * nss/tst-nss-test3.c: Convert to test-in-container.
9046 * nss/tst-nss-test3.root/: New.
9047
9048 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9049
9050 regex: port Gnulib code to z/OS POSIX environment
9051 Problem reported by Arnold Robbins in:
9052 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9053 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9054 Undef.
9055
9056 2018-08-22 Joseph Myers <joseph@codesourcery.com>
9057
9058 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9059 (ROUNDING_TESTS_double): Remove.
9060 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9061 (ROUNDING_TESTS_double): Remove.
9062 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9063 (ROUNDING_TESTS_double): Remove.
9064 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9065 (ROUNDING_TESTS_float): Remove.
9066 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9067 (ROUNDING_TESTS_float): Remove.
9068 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9069 (ROUNDING_TESTS_float): Remove.
9070 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9071 !TEST_MATHVEC here.
9072 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9073 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9074
9075 * sysdeps/generic/math-tests-rounding.h: New file.
9076 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9077 (ROUNDING_TESTS_float): Do not define here.
9078 (ROUNDING_TESTS_double): Likewise.
9079 (ROUNDING_TESTS_long_double): Likewise.
9080 (ROUNDING_TESTS_float128): Likewise.
9081 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9082 (ROUNDING_TESTS_double): Undefine before defining.
9083 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9084 (ROUNDING_TESTS_double): Undefine before defining.
9085 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9086 (ROUNDING_TESTS_double): Undefine before defining.
9087 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9088 (ROUNDING_TESTS_float): Undefine before defining.
9089 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9090 (ROUNDING_TESTS_float): Undefine before defining.
9091 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9092 (ROUNDING_TESTS_float): Undefine before defining.
9093 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9094 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9095 not define here.
9096 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9097 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9098 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9099 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9100 (ROUNDING_TESTS_float): Do not define here.
9101 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9102 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9103 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9104 (ROUNDING_TESTS_float): Likewise.
9105 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9106 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9107 * sysdeps/mips/math-tests.h [__mips_soft_float]
9108 (ROUNDING_TESTS_float): Likewise.
9109 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9110 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9111 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9112 (ROUNDING_TESTS_double): Likewise.
9113 (ROUNDING_TESTS_long_double): Likewise.
9114
9115 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
9116
9117 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9118 (PF_XDP): New macro.
9119 (AF_XDP): New macro.
9120 (SOL_XDP): New macro.
9121
9122 2018-08-21 Joseph Myers <joseph@codesourcery.com>
9123
9124 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9125 (TCP_INQ): Likewise.
9126 (TCP_CM_INQ): Likewise.
9127 (TCP_REPAIR_ON): Likewise.
9128 (TCP_REPAIR_OFF): Likewise.
9129 (TCP_REPAIR_OFF_NO_WP): Likewise.
9130 (struct tcp_zerocopy_receive): New type.
9131
9132 2018-08-21 Florian Weimer <fweimer@redhat.com>
9133
9134 * support/support.h (support_descriptor_supports_holes): Declare.
9135 * support/Makefile (libsupport-routines): Add
9136 support_descriptor_supports_holes.
9137 * support/support_descriptor_supports_holes.c: New file.
9138 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9139 and stop testing if holes are not supported.
9140 * io/test-lfs.c (do_prepare): Likewise.
9141 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9142 Likewise.
9143 * timezone/tst-tzset.c (create_tz_file): Likewise.
9144 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9145 variable.
9146 (do_prepare): Set it.
9147 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9148
9149 2018-08-21 Florian Weimer <fweimer@redhat.com>
9150
9151 [BZ #17248]
9152 * Makeconfig (+cflags): Do not sort (and deduplicate).
9153
9154 2018-08-21 Florian Weimer <fweimer@redhat.com>
9155
9156 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9157 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9158
9159 2018-08-20 Florian Weimer <fweimer@redhat.com>
9160
9161 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9162 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9163
9164 2018-08-20 Joseph Myers <joseph@codesourcery.com>
9165
9166 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9167 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9168 and ssi_arch members.
9169
9170 * elf/elf.c (NT_VMCOREDD): New macro.
9171 (AT_MINSIGSTKSZ): Likewise.
9172
9173 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9174
9175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9176 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9177 s_cosf-ppc64 and s_cosf-power8.
9178 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9179 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9180 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9181 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9188 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9189 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9190
9191 2018-08-17 Florian Weimer <fweimer@redhat.com>
9192
9193 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9194
9195 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9196
9197 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9198
9199 2018-08-16 Florian Weimer <fweimer@redhat.com>
9200
9201 * configure.ac: Add --with-nonshared-cflags option.
9202 * config.make.in (extra-nonshared-cflags): Set variable.
9203 * Makeconfig (CFLAGS-.oS): Use it.
9204 * manual/install.texi (Configuring and compiling): Document
9205 --with-nonshared-cflags.
9206 * configure: Regenerate.
9207 * INSTALL: Likewise.
9208
9209 2018-08-16 Florian Weimer <fweimer@redhat.com>
9210
9211 * Makeconfig (ASFLAGS): Always append required assembler flags.
9212
9213 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9214
9215 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9216 (malloc_consolidate): Likewise.
9217
9218 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9219
9220 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9221
9222 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9223
9224 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9225 every strlen call.
9226
9227 * benchtests/bench-strlen.c: Print performance numbers in json.
9228
9229 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9230
9231 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9232 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9233 only for little endian.
9234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9235 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9236 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9237 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9238 Add check for little endian.
9239 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9240 (__strcmp_power9): Add check for little endian.
9241 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9242 Add check for little endian.
9243 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9244 (__strncmp_power9): Add check for little endian.
9245 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9246 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9247 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9248 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9249 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9250
9251 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9252
9253 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9254 [!STRLEN](STRLEN): Set to __strlen.
9255 * sysdeps/aarch64/multiarch/strlen.c: New file.
9256 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9257 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9258 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9259 (__libc_ifunc_impl_list): Add strlen.
9260 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9261 strlen_generic and strlen_asimd.
9262
9263 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9264
9265 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9266 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9267 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9268
9269 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9270
9271 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9272
9273 2018-08-14 Florian Weimer <fweimer@redhat.com>
9274
9275 [BZ #23519]
9276 * include/stdio.h (__vfxprintf): Declare.
9277 * stdio-common/fxprintf.c (__vfxprintf): New function.
9278 (__fxprintf): Call it.
9279 * misc/err.c (convert_and_print): Remove function.
9280 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9281 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9282 * misc/Makefile (tests): Add tst-warn-wide.
9283 * misc/tst-warn-wide.c: New file.
9284
9285 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9286 Szabolcs Nagy <szabolcs.nagy@arm.com>
9287
9288 * NEWS: Mention sinf, cosf, sincosf.
9289 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9290 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9291 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9292 constants rather than including generic sincosf.h.
9293 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9294 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9295 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9296 (reduced_cos): Remove.
9297 (sinf_poly): New function.
9298 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9299
9300 2018-08-14 Florian Weimer <fweimer@redhat.com>
9301
9302 [BZ #23521]
9303 [BZ #23522]
9304 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9305 processing, bail out if no room, and close the stream before
9306 returning ERANGE.
9307 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9308 (tst-nss-files-alias-leak): Link with libdl.
9309 (tst-nss-files-alias-leak.out): Depend on nss_files.
9310
9311 * nss/tst-nss-files-alias-leak.c: New file.
9312
9313 2018-08-14 Florian Weimer <fweimer@redhat.com>
9314
9315 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9316 server_user, stat_user.
9317
9318 2018-08-13 Joseph Myers <joseph@codesourcery.com>
9319
9320 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9321 version to 4.18.
9322 (io_pgetevents): New syscall.
9323 (rseq): Likewise.
9324
9325 * manual/install.texi (Configuring and compiling): Do not list
9326 tools used for testing pretty printers here.
9327 (Tools for Compilation): List Python, PExpect and GDB here.
9328 Update descriptions of uses of Perl and Python.
9329 * INSTALL: Regenerate.
9330
9331 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9332 version to 4.18.
9333
9334 2018-08-13 Florian Weimer <fweimer@redhat.com>
9335
9336 * misc/error.c (error): Add missing va_end call.
9337 (error_at_line): Likewise.
9338
9339 2018-08-13 Florian Weimer <fweimer@redhat.com>
9340
9341 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9342
9343 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9344
9345 * benchtests/scripts/benchout.schema.json (properties): Add
9346 new properties.
9347
9348 * benchtests/bench-skeleton.c (main): Add duration and
9349 iterations attributes.
9350
9351 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9352
9353 regex: Gnulib unibyte RRI uses bytes not chars
9354 Adjust the non-glibc code to agree with what Gawk needs for
9355 rational range interpretation (RRI) for regular expression ranges.
9356 In unibyte locales, Gawk wants ranges to use the underlying byte
9357 rather than the character code point. This change does not affect
9358 glibc proper.
9359 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9360 In unibyte locales, use the byte value rather than
9361 running it through btowc.
9362
9363 2018-08-10 Joseph Myers <joseph@codesourcery.com>
9364
9365 * sysdeps/generic/math-tests-snan.h: New file.
9366 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9367 (SNAN_TESTS_float): Do not define here.
9368 (SNAN_TESTS_double): Likewise.
9369 (SNAN_TESTS_long_double): Likewise.
9370 (SNAN_TESTS_float128): Likewise.
9371 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9372 * sysdeps/i386/fpu/math-tests.h: Remove file.
9373 * sysdeps/ia64/math-tests-snan.h: New file.
9374 * sysdeps/ia64/math-tests.h: Remove file.
9375 * sysdeps/x86/math-tests.h: Likewise.
9376 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9377
9378 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9379 Szabolcs Nagy <szabolcs.nagy@arm.com>
9380
9381 * math/Makefile: Add s_sincosf_data.c.
9382 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9383 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9384 (sincosf_poly): Likewise.
9385 (reduce_small): Likewise.
9386 (reduce_large): Likewise.
9387 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9388 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9389 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9390 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9391
9392 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9393 Szabolcs Nagy <szabolcs.nagy@arm.com>
9394
9395 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9396 (converttoint): Use lround.
9397 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9398 document the semantics when TOINT_INTRINSICS is set.
9399 (converttoint): Likewise.
9400 (TOINT_RINT): Remove.
9401 (TOINT_SHIFT): Remove.
9402 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9403 path.
9404
9405 2018-08-10 Florian Weimer <fweimer@redhat.com>
9406
9407 [BZ #23497]
9408 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9409 function.
9410 (__old_getdents64): Use getdents64. Convert entries without
9411 moving them.
9412 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9413 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9414 tst-readdir64-compat.
9415
9416 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9417
9418 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9419 Fix unwind.
9420
9421 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9422
9423 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9424 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9425 code to s390x-mcount.h and #include it.
9426 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9427 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9428 (__fentry__): Add.
9429
9430 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9431
9432 * stdlib/Versions: Remove __fentry__.
9433 * sysdeps/i386/Versions: Add __fentry__.
9434 * sysdeps/x86_64/Versions: Add __fentry__.
9435
9436 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9437
9438 * sysdeps/s390/Makefile: Register the new tests.
9439 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9440 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9441 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9442 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9443 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9444 * sysdeps/s390/tst-dl-runtime.c: New file.
9445
9446 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9447
9448 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9449 Do not clobber R0.
9450
9451 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9452
9453 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9454 Do not clobber R0.
9455
9456 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9457
9458 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9459 Do not clobber R0.
9460
9461 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9462
9463 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9464 Do not clobber R0.
9465
9466 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9467
9468 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9469 Use symbolic offsets for stack variables.
9470
9471 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9472
9473 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9474 Use symbolic offsets for stack variables.
9475
9476 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9477
9478 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9479 Use symbolic offsets for stack variables.
9480
9481 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9482
9483 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9484 Use symbolic offsets for stack variables.
9485
9486 2018-08-09 Joseph Myers <joseph@codesourcery.com>
9487
9488 * math/gen-libm-test.py: New file.
9489 * math/gen-libm-test.pl: Remove.
9490 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9491 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9492 gen-libm-test.pl.
9493 ($(libm-test-c-noauto-obj)): Likewise.
9494 ($(libm-test-c-auto-obj)): Likewise.
9495 ($(libm-test-c-narrow-obj)): Likewise.
9496 (regen-ulps): Likewise.
9497 * math/README.libm-test: Update references to gen-libm-test.pl.
9498 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9499 referencing gen-libm-test.pl.
9500 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9501 * math/libm-test-support.c: Likewise.
9502 * math/libm-test-support.h: Likewise.
9503 * sysdeps/generic/libm-test-ulps: Likewise.
9504
9505 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9506
9507 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9508 Fix value.
9509
9510 2018-08-08 Joseph Myers <joseph@codesourcery.com>
9511
9512 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9513 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9514
9515 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9516
9517 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9518 symbols.
9519 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9520 __pthread_setspecific): Add hidden proto.
9521 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9522 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
9523
9524 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9525
9526 * benchtests/bench-string.h (buf1_size, buf2_size): New
9527 variables.
9528 (init_sizes): New function.
9529 (test_init): Use it.
9530 (alloc_buf, exit_error): New functions.
9531 (alloc_bufs): Use ALLOC_BUF.
9532 (realloc_bufs): Remove.
9533 * benchtests/bench-memcmp.c (do_test): Adjust.
9534 * benchtests/bench-memset-large.c (do_test): Likewise.
9535 * benchtests/bench-memset-walk.c (do_test): Likewise.
9536 * benchtests/bench-memset.c (do_test): Likewise.
9537 * benchtests/bench-strncmp.c (do_test): Likewise.
9538
9539 2018-08-06 Andreas Schwab <schwab@suse.de>
9540
9541 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9542 of CONST_THREAD_AREA.
9543
9544 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9545
9546 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9547 (STATE_SAVE_MASK): Likewise.
9548 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9549 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9550 (STATE_SAVE_MASK): Likewise.
9551 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9552 instead of <cpu-features.h>.
9553
9554 2018-08-03 DJ Delorie <dj@redhat.com>
9555
9556 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
9557 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
9558
9559 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9560
9561 2018-08-03 Joseph Myers <joseph@codesourcery.com>
9562
9563 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9564 after TEST_* calls.
9565 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9566 * math/libm-test-logb.inc (logb_test_data): Likewise.
9567
9568 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9569
9570 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9571 * string/strstr.c (AVAILABLE): Likewise.
9572
9573 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9574
9575 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9576 <init-arch.h>.
9577 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9578 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9579 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9580
9581 2018-08-03 Carlos O'Donell <carlos@redhat.com>
9582
9583 * po/be.po: Update translation.
9584
9585 * po/be.po: Update translation.
9586
9587 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9588
9589 * sysdeps/x86/cpu-features-offsets.sym
9590 (rtld_global_ro_offsetof): Removed.
9591 (CPU_FEATURES_SIZE): Likewise.
9592 (CPUID_OFFSET): Likewise.
9593 (CPUID_SIZE): Likewise.
9594 (CPUID_EAX_OFFSET): Likewise.
9595 (CPUID_EBX_OFFSET): Likewise.
9596 (CPUID_ECX_OFFSET): Likewise.
9597 (CPUID_EDX_OFFSET): Likewise.
9598 (FAMILY_OFFSET): Likewise.
9599 (MODEL_OFFSET): Likewise.
9600 (FEATURE_OFFSET): Likewise.
9601 (FEATURE_SIZ): Likewise.
9602 (COMMON_CPUID_INDEX_1): Likewise.
9603 (COMMON_CPUID_INDEX_7): Likewise.
9604 (FEATURE_INDEX_1): Likewise.
9605 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9606
9607 2018-08-02 Carlos O'Donell <carlos@redhat.com>
9608
9609 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9610 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9611 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9612 (install-locales): Depend on install-locale-archive.
9613 (install-locale-archive): Define.
9614 (install-locale-files): Define.
9615 (build-one-locale): Define macro.
9616 * manual/install.texi (Running make install): Document.
9617 * manual/INSTALL: Regenerate.
9618
9619 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9620
9621 * benchtests/scripts/compare_strings.py: Import traceback.
9622 (parse_file): Pretty-print error.
9623
9624 * NEWS: Mention the change.
9625 * elf/dl-tunables.list: Rename tune namespace to cpu.
9626 * sysdeps/powerpc/dl-tunables.list: Likewise.
9627 * sysdeps/x86/dl-tunables.list: Likewise.
9628 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9629 cpu.name.
9630 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9631 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9632 * manual/README.tunables: Likewise.
9633 * manual/tunables.texi: Likewise.
9634 * sysdeps/powerpc/cpu-features.c: Likewise.
9635 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9636 (init_cpu_features): Likewise.
9637 * sysdeps/x86/cpu-features.c: Likewise.
9638 * sysdeps/x86/cpu-features.h: Likewise.
9639 * sysdeps/x86/cpu-tunables.c: Likewise.
9640 * sysdeps/x86_64/Makefile: Likewise.
9641 * sysdeps/x86/dl-cet.c: Likewise.
9642
9643 2018-08-02 Joseph Myers <joseph@codesourcery.com>
9644
9645 [BZ #23479]
9646 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
9647 [__mips_hard_float].
9648 (FE_UNDERFLOW): Likewise.
9649 (FE_OVERFLOW): Likewise.
9650 (FE_DIVBYZERO): Likewise.
9651 (FE_INVALID): Likewise.
9652 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
9653 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9654 (FE_UPWARD): Likewise.
9655 (FE_DOWNWARD): Likewise.
9656 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9657 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9658 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9659 [__mips_hard_float].
9660 (FP_ROUNDMODE): Likewise.
9661 (FP_RND_NEAREST): Likewise.
9662 (FP_RND_ZERO): Likewise.
9663 (FP_RND_PINF): Likewise.
9664 (FP_RND_MINF): Likewise.
9665 (FP_EX_INVALID): Likewise.
9666 (FP_EX_OVERFLOW): Likewise.
9667 (FP_EX_UNDERFLOW): Likewise.
9668 (FP_EX_DIVZERO): Likewise.
9669 (FP_EX_INEXACT): Likewise.
9670 (FP_INIT_ROUNDMODE): Likewise.
9671 * sysdeps/mips/nofpu/fesetenv.c: New file.
9672 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9673
9674 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9675
9676 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9677 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9678 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9679 conditional on [FE_UPWARD].
9680
9681 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9682
9683 regex: fix memory leak in Gnulib
9684 Problem and fix reported by Assaf Gordon in:
9685 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9686 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9687 range_ends members too, as they are defined in 'struct
9688 re_charset_t' even if not _LIBC. This affects only Gnulib.
9689
9690 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9691
9692 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9693 ...
9694 (get_common_indices): This.
9695 (init_cpu_features): Updated.
9696
9697 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9698
9699 * sysdeps/generic/math-tests-snan-payload.h: New file.
9700 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9701 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9702 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9703 * sysdeps/generic/math-tests.h: Include
9704 <math-tests-snan-payload.h>.
9705 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9706 * sysdeps/hppa/math-tests.h: Remove file.
9707 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9708 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9709 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
9710 Likewise.
9711
9712 * sysdeps/generic/math-tests-snan-cast.h: New file.
9713 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9714 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9715 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9716 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9717
9718 2018-08-01 Carlos O'Donel <carlos@redhat.com>
9719
9720 * version.h (RELEASE): Set to "development".
9721 (VERSION): Set to "2.28.9000".
9722 * NEWS (2.29): New section.
9723
9724 * version.h (RELEASE): Set to "stable".
9725 (VERSION): Set to "2.28".
9726 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
9727 * NEWS: Add the list of bugs fixed in 2.28.
9728
9729 * po/ca.po: Update to latest version.
9730 * po/cs.po: Likewise
9731 * po/da.po: Likewise
9732 * po/el.po: Likewise
9733 * po/eo.po: Likewise
9734 * po/es.po: Likewise
9735 * po/fi.po: Likewise
9736 * po/fr.po: Likewise
9737 * po/gl.po: Likewise
9738 * po/hu.po: Likewise
9739 * po/ia.po: Likewise
9740 * po/id.po: Likewise
9741 * po/it.po: Likewise
9742 * po/ja.po: Likewise
9743 * po/ko.po: Likewise
9744 * po/lt.po: Likewise
9745 * po/nb.po: Likewise
9746 * po/nl.po: Likewise
9747 * po/pt_BR.po: Likewise
9748 * po/ru.po: Likewise
9749 * po/rw.po: Likewise
9750 * po/sk.po: Likewise
9751 * po/sl.po: Likewise
9752 * po/tr.po: Likewise
9753 * po/zh_CN.po: Likewise
9754 * po/zh_TW.po: Likewise
9755
9756 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9757
9758 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9759 initialization...
9760 (init): ... before initializing libpthread.
9761
9762 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9763 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9764 (__mach_setup_tls): ... new function.
9765 (mach_setup_tls): New alias.
9766 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9767 __mach_setup_thread.
9768 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9769 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9770 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9771 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9772
9773 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9774
9775 * manual/install.texi: Update versions.
9776 * INSTALL: Regenerate.
9777
9778 * manual/contrib.texi (Contributors): Update contributions.
9779
9780 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9781
9782 * po/be.po: Update translations.
9783
9784 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9785
9786 * sysdeps/sh/libm-test-ulps: Update.
9787
9788 2018-07-30 Carlos O'Donell <carlos@redhat.com>
9789
9790 * po/bg.po: Update translations.
9791 * po/de.po: Likewise.
9792 * po/hr.po: Likewise.
9793 * po/pt_BR.po: Likewise.
9794 * po/sv.po: Likewise.
9795 * po/vi.po: Likewise.
9796
9797 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9798
9799 [BZ #23467]
9800 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9801 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9802 (CFLAGS-tst-cet-property-1.o): New.
9803 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9804 ($(objpfx)tst-cet-property-2): Likewise.
9805 ($(objpfx)tst-cet-property-2.out): Likewise.
9806 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9807 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9808 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9809 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9810 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9811
9812 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9813
9814 [BZ #23458]
9815 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9816
9817 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9818
9819 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9820 __sbrk): Do not set attribute_hidden.
9821 * sysdeps/mach/hurd/not-errno.h: New file.
9822 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9823 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9824
9825 2018-07-27 Carlos O'Donell <carlos@redhat.com>
9826
9827 * po/uk.po: Update translations.
9828 * po/cs.po: Likewise.
9829 * po/pl.po: Likewise.
9830
9831 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9832
9833 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9834 parse beyond the note end.
9835
9836 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9837
9838 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9839 kernel does not support OFD locks.
9840 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9841
9842 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9843
9844 * sysdeps/mach/hurd/Versions (libc): Make __access and
9845 __access_noerrno external so they can override the ld symbols.
9846 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9847 __writev, __open64, __access_noerrno extern so they can be overrided.
9848 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9849 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9850
9851 2018-07-26 Carlos O'Donell <carlos@redhat.com>
9852
9853 * po/libc.pot: Regenerate.
9854
9855 2018-07-26 Joseph Myers <joseph@codesourcery.com>
9856
9857 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9858
9859 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9860
9861 [BZ #23459]
9862 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9863 function.
9864 (init_cpu_features): Call get_extended_indices for both Intel
9865 and AMD CPUs.
9866 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9867 Remove "for AMD" comment.
9868
9869 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9870
9871 [BZ # 23456]
9872 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9873 COMMON_CPUID_INDEX_80000001.
9874
9875 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
9876
9877 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9878 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9879
9880 2018-07-26 Florian Weimer <fweimer@redhat.com>
9881
9882 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9883 aliases for symbols not in the implementation namespace.
9884
9885 2018-07-25 Carlos O'Donell <carlos@redhat.com>
9886
9887 [BZ #23393]
9888 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9889 lowercase in LATIN script.
9890 * localedata/Makefile (test-input): Add en_US.UTF-8.
9891 * localedata/en_US.UTF-8.in: New file.
9892 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9893 and restore old tests.
9894 * posix/tst-regexloc.c (do_test): Add back range expression test.
9895
9896 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9897
9898 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9899
9900 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9901
9902 * nptl/threads.h: Move to ...
9903 * sysdeps/nptl/threads.h: ... here.
9904 * sysdeps/hurd/stdc-predef.h: New file.
9905
9906 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9907
9908 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9909 tst-cet-setcontext-1 if CET is enabled.
9910 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9911 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9912
9913 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9914
9915 * include/threads.h: Move to ...
9916 * sysdeps/nptl/threads.h: ... here.
9917 * sysdeps/htl/threads.h: New file.
9918 * conform/Makefile (linknamespace-libs-ISO11): Use
9919 static-thread-library instead of linking libpthread.
9920 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9921
9922 2018-07-25 Florian Weimer <fweimer@redhat.com>
9923
9924 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9925 nanoseconds into seconds.
9926 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9927 (do_test): Likewise.
9928 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9929 (do_test): Likewise. Avoid nanosecond overflow and spurious
9930 timeouts due to system load.
9931 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9932 (child_wait): Increment it.
9933 (do_test): Wait as long as necessary until all expected threads
9934 have arrived.
9935
9936 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9937 H.J. Lu <hongjiu.lu@intel.com>
9938
9939 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9940 __ssp.
9941 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9942 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9943 (__push___start_context): New.
9944 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9945 <asm/prctl.h>.
9946 (__getcontext): Record the current shadow stack base. Save the
9947 caller's shadow stack pointer and base.
9948 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9949 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9950 (__push___start_context): New prototype.
9951 (__makecontext): Call __push___start_context to allocate a new
9952 shadow stack, push __start_context onto the new stack as well
9953 as the new shadow stack.
9954 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9955 <asm/prctl.h>.
9956 (__setcontext): Restore the target shadow stack.
9957 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9958 <asm/prctl.h>.
9959 (__swapcontext): Record the current shadow stack base. Save
9960 the caller's shadow stack pointer and base. Restore the target
9961 shadow stack.
9962 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9963 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9964 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9965
9966 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9967
9968 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9969 tst-setcontext8 and tst-setcontext9.
9970 * stdlib/tst-setcontext6.c: New file.
9971 * stdlib/tst-setcontext7.c: Likewise.
9972 * stdlib/tst-setcontext8.c: Likewise.
9973 * stdlib/tst-setcontext9.c: Likewise.
9974
9975 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9976
9977 * stdlib/Makefile ((tests): Add tst-setcontext5.
9978 * stdlib/tst-setcontext5.c: New file.
9979
9980 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9981
9982 * stdlib/Makefile (tests): Add tst-setcontext4.
9983 * stdlib/tst-setcontext4.c: New file.
9984
9985 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9986
9987 * stdlib/Makefile (tests): Add tst-swapcontext1.
9988 * stdlib/tst-swapcontext1.c: New test.
9989
9990 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9991
9992 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9993 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9994 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9995 and tst-cet-legacy-4c.
9996 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9997 and tst-cet-legacy-mod-4.
9998 (CFLAGS-tst-cet-legacy-2.c): New.
9999 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10000 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10001 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10002 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10003 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10004 ($(objpfx)tst-cet-legacy-1): Likewise.
10005 ($(objpfx)tst-cet-legacy-2): Likewise.
10006 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10007 ($(objpfx)tst-cet-legacy-2a): Likewise.
10008 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10009 ($(objpfx)tst-cet-legacy-4): Likewise.
10010 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10011 ($(objpfx)tst-cet-legacy-4a): Likewise.
10012 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10013 (tst-cet-legacy-4a-ENV): Likewise.
10014 ($(objpfx)tst-cet-legacy-4b): Likewise.
10015 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10016 (tst-cet-legacy-4b-ENV): Likewise.
10017 ($(objpfx)tst-cet-legacy-4c): Likewise.
10018 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10019 (tst-cet-legacy-4c-ENV): Likewise.
10020 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10021 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10022 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10023 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10024 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10025 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10026 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10027 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10028 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10029 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10030 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10031
10032 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10033
10034 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10035 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10036 with ssp_base.
10037 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10038 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10039 with ssp_base.
10040
10041 2018-07-25 Andreas Schwab <schwab@suse.de>
10042
10043 [BZ #23442]
10044 * locale/weightwc.h (findidx): Handle the case where usrc is a
10045 prefix of cp but one character too short.
10046
10047 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10048
10049 * NEWS: Add ISO C threads addition.
10050
10051 2018-07-24 Florian Weimer <fweimer@redhat.com>
10052
10053 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10054 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10055 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10056 4.13.
10057
10058 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10059
10060 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10061 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10062 <sys/prctl.h> and <asm/prctl.h>.
10063 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10064 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10065 and <asm/prctl.h>.
10066 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10067 ARCH_CET_LEGACY_BITMAP.
10068 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10069 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10070 * sysdeps/x86/libc-start.c: Include <startup.h>.
10071
10072 2018-07-24 Florian Weimer <fweimer@redhat.com>
10073
10074 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10075 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10076
10077 2018-07-24 Rical Jasan <rj@2c3t.io>
10078 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10079 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10080
10081 [BZ #14092]
10082 * manual/debug.texi: Update adjacent chapter name.
10083 * manual/probes.texi: Likewise.
10084 * manual/threads.texi (ISO C Threads): New section.
10085 (POSIX Threads): Convert to a section.
10086
10087 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10088 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10089
10090 [BZ# 14092]
10091 * nptl/Makefile (tests): Add new test files.
10092 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10093 * nptl/tst-cnd-basic.c: Likewise.
10094 * nptl/tst-cnd-broadcast.c: Likewise.
10095 * nptl/tst-cnd-timedwait.c: Likewise.
10096 * nptl/tst-mtx-basic.c: Likewise.
10097 * nptl/tst-mtx-recursive.c: Likewise.
10098 * nptl/tst-mtx-timedlock.c: Likewise.
10099 * nptl/tst-mtx-trylock.c: Likewise.
10100 * nptl/tst-thrd-basic.c: Likewise.
10101 * nptl/tst-thrd-detach.c: Likewise.
10102 * nptl/tst-thrd-sleep.c: Likewise.
10103 * nptl/tst-tss-basic.c: Likewise.
10104
10105 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10106
10107 [BZ #14092]
10108 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10109 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10110 symbols.
10111 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10112 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10113 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10114 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10115 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10116 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10117 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10118 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10119 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10120 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10121 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10122 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10124 Likewise.
10125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10126 Likewise.
10127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10128 Likewise.
10129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10130 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10131 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10132 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10133 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10134 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10135 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10136 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10137 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10138 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10139 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10140 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10141 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10142 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10143 Likewise.
10144 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10145 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10146 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10147 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10148 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10149 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10150 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10151 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10152 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10153 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10154 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10155 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10156 ikewise.
10157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10159 Likewise.
10160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10161 Likewise.
10162 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10163 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10164 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10165 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10166 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10167 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10168 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10169 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10170
10171 [BZ #14092]
10172 * conform/data/threads.h-data (thread_local): New macro.
10173 (TSS_DTOR_ITERATIONS): Likewise.
10174 (tss_t): New type.
10175 (tss_dtor_t): Likewise.
10176 (tss_create): New function.
10177 (tss_get): Likewise.
10178 (tss_set): Likewise.
10179 (tss_delete): Likewise.
10180 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10181 tss_get, and tss_set objects.
10182 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10183 * nptl/tss_create.c: New file.
10184 * nptl/tss_delete.c: Likewise.
10185 * nptl/tss_get.c: Likewise.
10186 * nptl/tss_set.c: Likewise.
10187 * sysdeps/nptl/threads.h (thread_local): New define.
10188 (TSS_DTOR_ITERATIONS): Likewise.
10189 (tss_t): New typedef.
10190 (tss_dtor_t): Likewise.
10191 (tss_create): New prototype.
10192 (tss_get): Likewise.
10193 (tss_set): Likewise.
10194 (tss_delete): Likewise.
10195
10196 [BZ #14092]
10197 * conform/data/threads.h-data (cnd_t): New type.
10198 (cnd_init): New function.
10199 (cnd_signal): Likewise.
10200 (cnd_broadcast): Likewise.
10201 (cnd_wait): Likewise.
10202 (cnd_timedwait): Likewise.
10203 (cnd_destroy): Likewise.
10204 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10205 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10206 object.
10207 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10208 * nptl/cnd_broadcast.c: New file.
10209 * nptl/cnd_destroy.c: Likewise.
10210 * nptl/cnd_init.c: Likewise.
10211 * nptl/cnd_signal.c: Likewise.
10212 * nptl/cnd_timedwait.c: Likewise.
10213 * nptl/cnd_wait.c: Likewise.
10214 * sysdeps/nptl/threads.h (cnd_t): New type.
10215 (cnd_init): New prototype.
10216 (cnd_signa): Likewise.
10217 (cnd_broadcast): Likewise.
10218 (cnd_wait): Likewise.
10219 (cnd_timedwait): Likewise.
10220 (cnd_destroy): Likewise.
10221
10222 [BZ #14092]
10223 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10224 (once_flag): New type.
10225 (call_once): New function.
10226 * nptl/Makefile (libpthread-routines): Add call_once object.
10227 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10228 * nptl/call_once.c: New file.
10229 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10230 (once_flag): New type.
10231 (call_once): New prototype.
10232
10233 [BZ #14092]
10234 * conform/data/threads.h-data (mtx_plain): New constant.
10235 (mtx_recursive): Likewise.
10236 (mtx_timed): Likewise.
10237 (mtx_t): New type.
10238 (mtx_init): New function.
10239 (mtx_lock): Likewise.
10240 (mtx_timedlock): Likewise.
10241 (mtx_trylock): Likewise.
10242 (mtx_unlock): Likewise.
10243 (mtx_destroy): Likewise.
10244 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10245 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10246 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10247 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10248 * nptl/mtx_destroy.c: New file.
10249 * nptl/mtx_init.c: Likewise.
10250 * nptl/mtx_lock.c: Likewise.
10251 * nptl/mtx_timedlock.c: Likewise.
10252 * nptl/mtx_trylock.c: Likewise.
10253 * nptl/mtx_unlock.c: Likewise.
10254 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10255 (mtx_recursive): Likewise.
10256 (mtx_timed): Likewise.
10257 (mtx_t): New type.
10258 (mtx_init): New prototype.
10259 (mtx_lock): Likewise.
10260 (mtx_timedlock): Likewise.
10261 (mtx_trylock): Likewise.
10262 (mtx_unlock): Likewise.
10263 (mtx_destroy): Likewise.
10264
10265 [BZ #14092]
10266 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10267 (linknamespace-libs-ISO11): Add libpthread.a.
10268 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10269 functions.
10270 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10271 * nptl/Makefile (headers): Add threads.h.
10272 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10273 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10274 thrd_yield.
10275 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10276 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10277 thrd_join, thrd_sleep, and thrd_yield symbols.
10278 * nptl/descr.h (struct pthread): Add c11 field.
10279 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10280 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10281 routine with expected function prototype.
10282 (__pthread_create_2_1): Add C11 threads check based on attribute
10283 value.
10284 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10285 * nptl/thrd_create.c: New file.
10286 * nptl/thrd_current.c: Likewise.
10287 * nptl/thrd_detach.c: Likewise.
10288 * nptl/thrd_equal.c: Likewise.
10289 * nptl/thrd_exit.c: Likewise.
10290 * nptl/thrd_join.c: Likewise.
10291 * nptl/thrd_priv.h: Likewise.
10292 * nptl/thrd_sleep.c: Likewise.
10293 * nptl/thrd_yield.c: Likewise.
10294 * include/threads.h: Likewise.
10295
10296 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10297
10298 * bits/indirect-return.h: New file.
10299 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10300 * sysdeps/x86/bits/indirect-return.h: Likewise.
10301 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10302 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10303 (swapcontext): Add __INDIRECT_RETURN.
10304 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10305 (prepare_test_buffer): Use it.
10306
10307 2018-07-24 Andreas Schwab <schwab@suse.de>
10308
10309 [BZ #23448]
10310 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10311 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10312
10313 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10314
10315 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10316 Redefine if shadow stack is enabled.
10317 (SYSCALL_ERROR_LABEL): Likewise.
10318 (__vfork): Pop shadow stack and jump back to to caller directly
10319 when shadow stack is in use.
10320 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10321 Redefine if shadow stack is enabled.
10322 (SYSCALL_ERROR_LABEL): Likewise.
10323 (__vfork): Pop shadow stack and jump back to to caller directly
10324 when shadow stack is in use.
10325
10326 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10327
10328 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10329 enabled.
10330 (foo): Likewise.
10331 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10332 (foo): Likewise.
10333
10334 2018-07-20 Joseph Myers <joseph@codesourcery.com>
10335
10336 * scripts/build-many-glibcs.py (Context.checkout): Default
10337 binutils version to 2.31 branch.
10338
10339 2018-07-20 Zong Li <zong@andestech.com>
10340
10341 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10342 URL of gcc's tarball.
10343
10344 2018-07-20 Florian Weimer <fweimer@redhat.com>
10345
10346 [BZ #23396]
10347 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10348 not compare an extra byte after the end of the weights.
10349
10350 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10351
10352 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10353 to 1.
10354 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10355 hidden prototypes.
10356 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10357 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
10358 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10359 list of libraries whose stack executability is expected.
10360 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10361 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10362 variable.
10363 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10364 libc.so libpthread.so.
10365
10366 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10367
10368 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10369 SOCK_NONBLOCK.
10370 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10371 and SOCK_NONBLOCK.
10372 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10373 implement __pipe2.
10374 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
10375
10376 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10377
10378 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10379 library to improve command line parsing.
10380 (__main__): make schema file as optional parameter (--schema),
10381 defaulting to benchtests/scripts/benchout.schema.json.
10382 (main): move out of the parsing stuff to __main_  and leave it
10383 only as caller of main comparison functions.
10384
10385 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10386
10387 * NEWS: Add a note for Intel CET status.
10388 * manual/install.texi: Likewise.
10389 * INSTALL: Regenerated.
10390
10391 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10392
10393 [BZ #23140]
10394 * localedata/locales/oc_FR (mon): Rename to...
10395 (alt_mon): This, then update October (typo fix).
10396 (mon): New content (genitive case, month names preceded by
10397 "de" or "d’").
10398
10399 [BZ #23422]
10400 * localedata/locales/oc_FR (abday): Update all items.
10401 (day): Update Wednesday and Saturday (typo fixes).
10402 (abmon): Update all items, except May.
10403 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10404 (LC_IDENTIFICATION): Bump the revision number and date.
10405 Keep the "category" entries in alphabetic order.
10406 (LC_ADDRESS): Remove no longer needed comment.
10407 (LC_COLLATE): Use “copy "ca_ES"”.
10408 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10409 "name_mrs".
10410
10411 2018-07-18 Joseph Myers <joseph@codesourcery.com>
10412
10413 * grp/tst_fgetgrent.c: Include <unistd.h>.
10414 (main): Use mkstemp instead of tmpnam.
10415 * io/test-utime.c (main): Likewise.
10416 * posix/annexc.c (macrofile): Change to modifiable array.
10417 (main): Remove macrofile here.
10418 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10419 macrofile here.
10420 (check_header): Do not remove macrofile here.
10421 * posix/bug-getopt1.c: Include <stdlib.h>.
10422 (do_test): Use mkstemp instead of tmpnam.
10423 * posix/bug-getopt2.c: Include <stdlib.h>.
10424 (do_test): Use mkstemp instead of tmpnam.
10425 * posix/bug-getopt3.c: Include <stdlib.h>.
10426 (do_test): Use mkstemp instead of tmpnam.
10427 * posix/bug-getopt4.c: Include <stdlib.h>.
10428 (do_test): Use mkstemp instead of tmpnam.
10429 * posix/bug-getopt5.c: Include <stdlib.h>.
10430 (do_test): Use mkstemp instead of tmpnam.
10431 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10432 (main): Use mkstemp instead of tmpnam.
10433 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10434 (main): Use mkstemp instead of tmpnam.
10435 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10436 (main): use mkstemp instead of tmpnam.
10437 * stdlib/isomac.c (macrofile): Change to modifiable array.
10438 (main): Remove macrofile here.
10439 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10440 macrofile here.
10441 (check_header): Do not remove macrofile here.
10442
10443 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10444
10445 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10446 glibc.tune.x86_shstk.
10447
10448 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10449
10450 * NEWS: Mention --enable-cet.
10451 * manual/install.texi: Document --enable-cet.
10452 * INSTALL: Regenerated.
10453
10454 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10455
10456 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10457 Add _CET_NOTRACK before indirect jump to jump table.
10458
10459 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10460
10461 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10462 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10463 to jump table.
10464
10465 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10466
10467 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10468 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10469 to jump table.
10470
10471 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10472
10473 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10474 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10475 to jump table.
10476
10477 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10478
10479 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10480 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10481 to jump table.
10482
10483 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10484
10485 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10486 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10487 to jump table.
10488 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10489
10490 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10491
10492 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10493 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10494 to jump table.
10495
10496 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10497
10498 * sysdeps/i386/i686/multiarch/memset-sse2.S
10499 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10500 to jump table.
10501
10502 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10503
10504 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10505 indirect jump to jump table.
10506
10507 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10508
10509 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10510 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10511 to jump table.
10512 (MEMCPY): Likewise.
10513
10514 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10515
10516 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10517 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10518 to jump table.
10519 (MEMCPY): Likewise.
10520
10521 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10522
10523 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10524 _CET_NOTRACK before indirect jump to jump table.
10525
10526 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10527
10528 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10529 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10530 to jump table.
10531
10532 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10533
10534 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10535 indirect jump to jump table.
10536
10537 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10538
10539 [BZ #22241]
10540 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10541 (LOCALES): Likewise.
10542 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10543 * localedata/locales/sah_RU: New file.
10544 * localedata/sah_RU.UTF-8.in: New file.
10545
10546 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10547
10548 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10549 "sysdep.h".
10550 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10551 _CET_ENDBR to indirect jump targets and adjust jump destination
10552 for _CET_ENDBR.
10553 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10554 "sysdep.h".
10555 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10556 _CET_ENDBR to indirect jump targets and adjust jump destination
10557 for _CET_ENDBR.
10558 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10559 "sysdep.h".
10560 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10561 _CET_ENDBR to indirect jump targets and adjust jump destination
10562 for _CET_ENDBR.
10563
10564 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10565
10566 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10567 _CET_ENDBR.
10568
10569 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10570
10571 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10572 _CET_ENDBR.
10573 (_dl_tlsdesc_undefweak): Likewise.
10574 (_dl_tlsdesc_dynamic): Likewise.
10575 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10576 (_dl_tlsdesc_resolve_rel): Likewise.
10577 (_dl_tlsdesc_resolve_rela): Likewise.
10578 (_dl_tlsdesc_resolve_hold): Likewise.
10579 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10580 (_dl_tlsdesc_undefweak): Likewise.
10581 (_dl_tlsdesc_dynamic): Likewise.
10582 (_dl_tlsdesc_resolve_rela): Likewise.
10583 (_dl_tlsdesc_resolve_hold): Likewise.
10584
10585 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10586
10587 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10588 (_fini): Likewise.
10589 * sysdeps/x86_64/crti.S (_init): Likewise.
10590 (_fini): Likewise.
10591
10592 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10593
10594 [BZ #23140]
10595 * localedata/locales/os_RU (mon): Rename to...
10596 (alt_mon): This.
10597 (mon): Import from CLDR (genitive case).
10598
10599 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10600
10601 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10602 cet-tunables.h> when CET is enabled.
10603
10604 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10605
10606 [BZ #21598]
10607 * configure.ac: Add --enable-cet.
10608 * configure: Regenerated.
10609 * elf/Makefille (all-built-dso): Add a comment.
10610 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10611 Include <dl-prop.h>.
10612 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10613 segment.
10614 * elf/dl-open.c: Include <dl-prop.h>.
10615 (dl_open_worker): Call _dl_open_check.
10616 * elf/rtld.c: Include <dl-prop.h>.
10617 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10618 _rtld_main_check.
10619 * sysdeps/generic/dl-prop.h: New file.
10620 * sysdeps/i386/dl-cet.c: Likewise.
10621 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10622 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10623 * sysdeps/x86/cet-tunables.h: Likewise.
10624 * sysdeps/x86/check-cet.awk: Likewise.
10625 * sysdeps/x86/configure: Likewise.
10626 * sysdeps/x86/configure.ac: Likewise.
10627 * sysdeps/x86/dl-cet.c: Likewise.
10628 * sysdeps/x86/dl-procruntime.c: Likewise.
10629 * sysdeps/x86/dl-prop.h: Likewise.
10630 * sysdeps/x86/libc-start.h: Likewise.
10631 * sysdeps/x86/link_map.h: Likewise.
10632 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10633 _CET_ENDBR.
10634 (_dl_runtime_profile): Likewise.
10635 (_dl_runtime_resolve_shstk): New.
10636 (_dl_runtime_profile_shstk): Likewise.
10637 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
10638 if CET is enabled.
10639 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
10640 (CFLAGS-.os): Likewise.
10641 (CFLAGS-.op): Likewise.
10642 (CFLAGS-.oS): Likewise.
10643 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
10644 is enabled.
10645 (tests-special): Add $(objpfx)check-cet.out.
10646 (cet-built-dso): New.
10647 (+$(cet-built-dso:=.note)): Likewise.
10648 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
10649 ($(objpfx)check-cet.out): New.
10650 (generated): Add check-cet.out.
10651 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
10652 <cet-tunables.h>.
10653 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10654 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10655 (init_cpu_features): Call get_cet_status to check CET status
10656 and update dl_x86_feature_1 with CET status. Call
10657 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10658 (set_x86_shstk). Disable and lock CET in libc.a.
10659 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10660 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10661 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10662 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10663 (_CET_ENDBR): Define if not defined.
10664 (ENTRY): Add _CET_ENDBR.
10665 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10666 x86_shstk.
10667 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10668 _CET_ENDBR.
10669 (_dl_runtime_profile): Likewise.
10670
10671 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10672
10673 [BZ #21895]
10674 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10675 restore r2 on longjmp.
10676 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10677 test list.
10678 Added rules to build test tst-setjmp-bug21895-static.
10679 Added module setjmp-bug21895 and rules to build a shared object from it.
10680 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10681 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10682
10683 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10684
10685 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10686 * benchtests/bench-strstr.c: Likewise.
10687 * string/memmem.c (FASTSEARCH): Define.
10688 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10689 Add support for FASTSEARCH.
10690 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10691 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10692 (FASTSEARCH): Define.
10693 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10694 * string/test-strstr.c: Likewise.
10695
10696 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10697
10698 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10699 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10700
10701 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10702 H.J. Lu <hongjiu.lu@intel.com>
10703
10704 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10705 (__longjmp): Restore shadow stack pointer if shadow stack is
10706 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10707 isn't defined for __longjmp_cancel.
10708 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
10709 (_setjmp): Save shadow stack pointer if shadow stack is enabled
10710 and SHADOW_STACK_POINTER_OFFSET is defined.
10711 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10712 (setjmp): Save shadow stack pointer if shadow stack is enabled
10713 and SHADOW_STACK_POINTER_OFFSET is defined.
10714 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
10715 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10716 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10717 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10718 <jmp_buf-ssp.h>.
10719 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10720 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10721 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
10722 Remove jmp_buf-ssp.sym.
10723 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10724 <jmp_buf-ssp.h>.
10725 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10726 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10727 * sysdeps/x86/Makefile (gen-as-const-headers): Add
10728 jmp_buf-ssp.sym.
10729 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
10730 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
10731 (__longjmp): Restore shadow stack pointer if shadow stack is
10732 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10733 isn't defined for __longjmp_cancel.
10734 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
10735 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10736 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10737
10738 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
10739
10740 [BZ #22563]
10741 * nptl/pthread_create.c: Include <tls-setup.h>.
10742 (__pthread_create_2_1): Call tls_setup_tcbhead.
10743 * sysdeps/generic/tls-setup.h: New file.
10744 * sysdeps/x86/nptl/tls-setup.h: Likewise.
10745 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10746 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
10747 Likewise.
10748 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
10749 to feature_1.
10750 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10751 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
10752 (X86_FEATURE_1_SHSTK): Likewise.
10753 (CET_ENABLED): Likewise.
10754 (IBT_ENABLED): Likewise.
10755 (SHSTK_ENABLED): Likewise.
10756
10757 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10758
10759 [BZ #23208]
10760 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10761 (LOCALES): Likewise.
10762 * localedata/dsb_DE.UTF-8.in: New file.
10763 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10764
10765 2018-07-12 Florian Weimer <fweimer@redhat.com>
10766
10767 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10768 __mprotect, not mprotect.
10769
10770 2018-07-11 Florian Weimer <fweimer@redhat.com>
10771
10772 * io/Makefile (headers): Add bits/statx.h.
10773
10774 2018-07-10 Mike FABIAN <mfabian@redhat.com>
10775
10776 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10777 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10778 and headers.
10779 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10780 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10781 for utf8_gen.py
10782
10783 2018-07-10 Florian Weimer <fweimer@redhat.com>
10784
10785 * io/Makefile (routines): Add statx.
10786 (tests-internal): Add tst-statx.
10787 * io/Versions (GLIBC_2.28): Export statx.
10788 * io/bits/statx.h: New file.
10789 * io/sys/stat.h [__USE_GNU]: Include it.
10790 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10791 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10792 Define.
10793 * io/statx.c: New file.
10794 * io/statx_generic.: Likewise.
10795 * io/tst-statx.: Likewise.
10796 * include/bits/statx.h: Likewise.
10797 * sysdeps/unix/sysv/linux/kernel-features.h
10798 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10799 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10800 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10801 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10802 Undefine.
10803 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10804 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10805 * sysdeps/unix/sysv/linux/statx.c: New file.
10806 * manual/filesys.texi: Note that statx is undocumented.
10807 * sysdeps/**/libc*.abilist: Update.
10808
10809 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10810
10811 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10812 a kernel issue which lead to test failure in some cases.
10813
10814 2018-07-10 Florian Weimer <fweimer@redhat.com>
10815
10816 [BZ #23036]
10817 * posix/regexec.c (check_node_accept_bytes): When comparing
10818 weights, do not compare an extra byte after the end of the
10819 weights.
10820
10821 2018-07-10 Florian Weimer <fweimer@redhat.com>
10822
10823 * libio/readline.c: Fix copyright year.
10824 * libio/tst-readline.c Likewise.
10825 * nss/tst-nss-files-hosts-getent.c: Likewise.
10826
10827 2018-07-06 Florian Weimer <fweimer@redhat.com>
10828
10829 [BZ #18991]
10830 * nss/nss_files/files-XXX.c (internal_getent): Use
10831 __libc_readline_unlocked. Seek back to the start of the line if
10832 parsing failes with ERANGE.
10833 (get_contents_ret, get_contents): Remove.
10834 * nss/tst-nss-files-hosts-getent.c: New file.
10835 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10836 (tst-nss-files-hosts-getent): Link with -ldl.
10837
10838 2018-07-06 Florian Weimer <fweimer@redhat.com>
10839
10840 * include/stdio.h (__libc_readline_unlocked): Declare.
10841 (__ftello64, __fseeko64): Declare aliases.
10842 * libio/readline.c: New file.
10843 * libio/tst-readline.c: Likewise.
10844 (routines): Add readline.
10845 (tests-internal): Add tst-readlime.
10846 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10847 __libc_readline_unlocked.
10848 * libio/fseeko.c (__fseeko): Rename from fseeko.
10849 (fseeko): Add alias.
10850 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10851 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10852 (fseeko64): Add alias.
10853 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10854 * libio/ftello64.c (__ftello64): Rename from ftello64.
10855 (ftello64): Add alias.
10856
10857 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10858
10859 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10860 HWCAP_ATOMICS.
10861
10862 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10863
10864 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10865 Use dl_hwcap without masking.
10866 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10867 Remove HWCAP_CPUID.
10868
10869 2018-07-06 Florian Weimer <fweimer@redhat.com>
10870
10871 * conform/conformtest.pl (checknamespace): Escape literal braces
10872 in regular expressions.
10873
10874 2018-07-06 Amit Pawar <amit.pawar@amd.com>
10875
10876 * sysdeps/x86/cpu-features.c (get_common_indeces):
10877 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10878 * sysdeps/x86/cpu-features.c (init_cpu_features):
10879 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10880
10881 2018-07-05 Florian Weimer <fweimer@redhat.com>
10882
10883 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10884 protector.
10885 (CFLAGS-elf-init.oS): Likewise.
10886
10887 2018-07-05 Florian Weimer <fweimer@redhat.com>
10888 Carlos O'Donell <carlos@redhat.com>
10889
10890 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10891 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10892 with stack protector enabled because there is no risk of infinite
10893 recursion.
10894
10895 2018-07-05 Maciej W. Rozycki <macro@mips.com>
10896
10897 [BZ #19818]
10898 [BZ #23307]
10899 * libc-abis (ABSOLUTE): New ABI.
10900 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10901 * NEWS: Mention the new ABI.
10902
10903 2018-07-05 Florian Weimer <fweimer@redhat.com>
10904
10905 [BZ # 17662]
10906 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10907 (RENAME_WHITEOUT): Define.
10908 [__USE_GNU] (renameat2): Declare.
10909 * stdio-common/Makefile (routines): Add renameat2.
10910 (tests): Add tst-renameat2.
10911 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10912 * stdio-common/renameat2.c: New file.
10913 * stdio-common/tst-renameat2.c: Likewise.
10914 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10915 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10916 undocumented.
10917 * sysdeps/unix/sysv/linux/kernel-features.h
10918 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10919 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10920 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10921 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10922 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10923 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10924 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10925 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10926 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10927 * include/stdio.h (__renameat): Add alias for renameat.
10928 * stdio-common/renameat.c (__renameat): Rename from renameat.
10929 Add hidden definition and alias.
10930 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10931 * sysdeps/mach/hurd/renameat.c: Likewise.
10932 * sysdeps/**/libc*.abilist: Add renameat2.
10933
10934 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10935
10936 * posix/bug-regex33.c: Fix build after regex sync.
10937
10938 2018-07-04 Carlos O'Donell <carlos@redhat.com>
10939
10940 [BZ #23164]
10941 * localedata/tst-langinfo-setlocale.c: New file.
10942 * localedata/tst-langinfo-setlocale-static.c: New file.
10943 * localedata/tst-langinfo-newlocale.c: New file.
10944 * localedata/tst-langinfo-newlocale-static.c: New file.
10945 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10946 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10947 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10948 (tests-static): Remove tst-langinfo-static. Add
10949 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10950 (tests-special): Remove $(objpfx)tst-langinfo.out,
10951 $(objpfx)tst-langinfo-static.out. Add
10952 $(objpfx)tst-langinfo-setlocale.out,
10953 $(objpfx)tst-langinfo-newlocale.out,
10954 $(objpfx)tst-langinfo-setlocale-static.out,
10955 $(objpfx)tst-langinfo-newlocale-static.out.
10956 ($(objpfx)tst-langinfo.out): Remove.
10957 ($(objpfx)tst-langinfo-static.out): Remove.
10958 ($(objpfx)tst-langinfo-newlocale.out): New target.
10959 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10960 (test-xfail-tst-langinfo-newlocale-static): Add.
10961 ($(objpfx)tst-langinfo-setlocale.out): New target.
10962 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10963 * localedata/tst-langinfo.c: Call test_locale.
10964 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10965 data.
10966
10967 2018-07-04 Florian Weimer <fweimer@redhat.com>
10968
10969 testrun.sh: Implement --tool=strace, --tool=valgrind
10970 * Makefile (testrun-script): Define variable.
10971 (testrun.sh): Use variable.
10972 * manual/install.texi (Tools for Compilation): make 4.0 or later
10973 is required.
10974 * configure.ac: Check for make 4.0 or later.
10975 * INSTALL: Regenerate.
10976 * configure: Likewise.
10977
10978 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10979
10980 [BZ #23233]
10981 [BZ #21163]
10982 [BZ #18986]
10983 [BZ #13762]
10984 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10985 * posix/PCRE.tests: Remove invalid test.
10986 * posix/bug-regex28.c: Fix expected values for used syntax.
10987 * posix/bug-regex37.c: New file.
10988 * posix/bug-regex38.c: Likewise.
10989 * posix/regcomp.c: Sync with gnulib.
10990 * posix/regex.c: Likewise.
10991 * posix/regex.h: Likewise.
10992 * posix/regex_internal.c: Likewise.
10993 * posix/regex_internal.h: Likewise.
10994 * posix/regexec.c: Likewise.
10995
10996 2018-06-26 Mike FABIAN <mfabian@redhat.com>
10997
10998 [BZ #23308]
10999 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11000 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11001 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11002 * localedata/unicode-gen/PropList.txt: likewise.
11003 * localedata/unicode-gen/UnicodeData.txt: likewise.
11004 * localedata/charmaps/UTF-8: Regenerate.
11005 * localedata/locales/i18n_ctype: likewise.
11006 * localedata/locales/tr_TR: likewise.
11007 * localedata/locales/translit_circle: likewise.
11008 * localedata/locales/translit_cjk_compat: likewise.
11009 * localedata/locales/translit_combining: likewise.
11010 * localedata/locales/translit_compat: likewise.
11011 * localedata/locales/translit_font: likewise.
11012 * localedata/locales/translit_fraction: likewise.
11013
11014 2018-07-03 Florian Weimer <fweimer@redhat.com>
11015
11016 [BZ #23363]
11017 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11018 * stdio-common/tst-printf.sh: Adjust expected output.
11019 * LICENSES: Update.
11020
11021 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11022
11023 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11024 symbol.
11025
11026 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11027
11028 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11029 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11030 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11031 * stdio-common/tst-printfsz-islongdouble.c: New file.
11032 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11033 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11034 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11035 [subdir == stdio-common] (tests-internal): Add
11036 test-printf-size-ieee128, and test-printf-size-ibm128.
11037 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11038 (CFLAGS-test-printf-size-ibm128.c): New variables.
11039 [subdir == stdio-common] (tests-special): Add
11040 $(objpfx)test-printf-size-ieee128.out and
11041 $(objpfx)test-printf-size-ibm128.out.
11042 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11043 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11044 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11045 __printf_sizeieee128.
11046 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11047 New file.
11048 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11049 Likewise.
11050 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11051 Likewise.
11052
11053 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11054
11055 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11056 (exp2f_inline): Likewise.
11057 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11058 (__math_uflowf): Likewise.
11059 (__math_may_uflowf): Likewise.
11060 (__math_divzerof): Likewise.
11061 (__math_invalidf): Likewise.
11062 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11063 (__math_oflowf): Likewise.
11064 (__math_uflowf): Likewise.
11065 (__math_may_uflowf): Likewise.
11066 (__math_divzerof): Likewise.
11067 (__math_invalidf): Likewise.
11068
11069 2018-06-29 DJ Delorie <dj@redhat.com>
11070 Carlos O'Donell <carlos@redhat.com>
11071
11072 [BZ #23329]
11073 * include/libc-symbols.h: Comment the freeres framework.
11074 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11075 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11076 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11077 * dlfcn/dlerror.c: Include libc-symbols.h
11078 (__dlerror_main_freeres): New function.
11079 * dlfcn/dlfreeres.c: New file.
11080 * dlfcn/sdlfreeres.c: New file.
11081 * include/dlfcn.h: Declare __dlerror_main_freeres.
11082 * malloc/set-freeres.c: Declare __libdl_freeres, and
11083 __libpthread_freeres.
11084 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11085 the releavant libraries are loaded.
11086 * malloc/thread-freeres.c: Add comments.
11087 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11088 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11089 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11090 (__free_stacks): Rename to...
11091 (free_stacks): ...this. Mark static.
11092 (queue_stack): Call free_stacks.
11093 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11094 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11095 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11096 ptr_freeres element from struct.
11097 (pthread_functions): Remove .ptr_freeres from struct initializer.
11098 [SHARED] (nptl_freeres): Remove.
11099 * nptl/nptlfreeres.c: New file.
11100 * nptl/pthreadP.h
11101 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11102 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11103 attribute_hidden.
11104 (__free_stacks): Rename to...
11105 (__nptl_stacks_freeres): ...this.
11106 (__shm_directory_freeres): Declare.
11107 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11108 (__nptl_unwind_freeres): ...this.
11109 * resolv/res-close.c: Add comment.
11110 * resolv/resolv_conf.c: Include libc-symbols.h.
11111 * string/strerror_l.c: Include libc-symbols.h.
11112 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11113 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11114 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11115 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11116
11117 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11118
11119 * stdlib/tst-strfmon_l.c: Add tests for long double.
11120
11121 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
11122
11123 [BZ #23208]
11124 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11125 * localedata/locales/dsb_DE: New file.
11126
11127 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11128
11129 [BZ #23140]
11130 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11131 genitive case).
11132 (alt_mon): New entry, import from CLDR (nominative case).
11133
11134 2018-06-29 Sylvain Lesage <severo@rednegra.net>
11135
11136 [BZ #22996]
11137 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11138
11139 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11140
11141 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11142 Use vector registers.
11143
11144 * sysdeps/aarch64/multiarch/memmove_falkor.S
11145 (__memcpy_falkor): Use vector registers.
11146
11147 2018-06-29 Martin Sebor <msebor@redhat.com>
11148
11149 * manual/stdio.texi (Customizing Printf): Mention interaction
11150 with GCC built-ins.
11151
11152 2018-06-29 Maciej W. Rozycki <macro@mips.com>
11153
11154 [BZ #23307]
11155 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11156 `st_value' is 0 if `st_shndx' is SHN_ABS.
11157 * elf/tst-absolute-zero.c: New file.
11158 * elf/tst-absolute-zero-lib.c: New file.
11159 * elf/tst-absolute-zero-lib.lds: New file.
11160 * elf/Makefile (tests): Add `tst-absolute-zero'.
11161 (modules-names): Add `tst-absolute-zero-lib'.
11162 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11163 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11164 ($(objpfx)tst-absolute-zero: New dependency.
11165
11166 2018-06-29 Zack Weinberg <zackw@panix.com>
11167
11168 * configure.ac: New command-line option --disable-crypt.
11169 Force --disable-nss-crypt when --disable-crypt is given, with a
11170 warning if it was explicitly enabled.
11171 * configure: Regenerate.
11172 * config.make.in: New boolean substitution variable $(build-crypt).
11173 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11174 when $(build-crypt).
11175 * manual/install.texi: Document --disable-crypt.
11176 * INSTALL: Regenerate.
11177
11178 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11179 which is never set.
11180 * conform/Makefile: Only include libcrypt.a in
11181 linknamespace-libs-xsi and linknamespace-libs-XPG4
11182 when $(build-crypt).
11183 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11184 USE_CRYPT to 1 when $(build-crypt).
11185 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11186 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11187 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11188
11189 2018-06-29 Zack Weinberg <zackw@panix.com>
11190
11191 * crypt/crypt.h, posix/unistd.h: Update comments and
11192 prototypes for crypt and crypt_r.
11193
11194 * manual/crypt.texi (Cryptographic Functions): New initial
11195 exposition.
11196 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11197 (Unpredictable Bytes): Improve initial exposition. Clarify error
11198 behavior of getentropy and getrandom.
11199 * manual/examples/genpass.c: Generate a salt using getentropy
11200 instead of the current time. Use hash $5$ (SHA-2-256).
11201 * manual/examples/testpass.c: Demonstrate validation against
11202 hashes generated with three different one-way functions.
11203
11204 * manual/intro.texi: crypt.texi does not need an overview
11205 anymore.
11206
11207 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11208 * manual/terminal.texi: Consistently refer to "passphrases"
11209 * instead of "passwords", and to the "user database" instead
11210 * of the "password database".
11211 * manual/users.texi: Similarly. Add notes about how actual
11212 passphrase hashes are now stored in the shadow database.
11213 Remove 20-year-old junk todo note.
11214
11215 2018-06-29 Zack Weinberg <zackw@panix.com>
11216
11217 * manual/crypt.texi: Use a normal top-level @node declaration.
11218 Move most of the introductory text to the 'crypt' section.
11219 Move the example programs below the @deftypefun for 'crypt_r'.
11220 Move the 'getpass' section...
11221 * manual/terminal.texi: ...here.
11222
11223 2018-06-29 Zack Weinberg <zackw@panix.com>
11224 Florian Weimer <fweimer@redhat.com>
11225
11226 * posix/unistd.h: Do not declare encrypt.
11227 (_XOPEN_CRYPT): Remove macro definition.
11228 (crypt): Declare only for _USE_MISC.
11229 * stdlib/stdlib.h: Do not declare setkey.
11230 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11231 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11232
11233 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11234 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11235 into compat symbols. Don't define initial_perm if it's not
11236 going to be used.
11237 * crypt/cert.c: Link explicitly with the expected versions for
11238 setkey and encrypt. If they are not available at all, mark
11239 the test as unsupported.
11240
11241 * sunrpc/des_crypt.c: Unconditionally block linkage with
11242 cbc_crypt and ecb_crypt for new binaries.
11243 * sunrpc/des_soft.c: Unconditionally block linkage with
11244 des_setparity for new binaries.
11245
11246 * manual/crypt.texi: Remove the entire "DES Encryption"
11247 section. Also remove the paragraph talking about FIPS 140-2
11248 from the introduction.
11249 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11250 of libgcrypt for "real" encryption, not DES.
11251 * manual/conf.texi (Constants for Sysconf): Mention that
11252 _XOPEN_CRYPT is no longer impelemented.
11253
11254 * conform/data/unistd.h-data: Remove crypt function declaration.
11255
11256 2018-06-29 Florian Weimer <fweimer@redhat.com>
11257
11258 [BZ #23351]
11259 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11260 (disallow_malloc_check): Remove variable.
11261 (__malloc_check_init): Adjust.
11262 (malloc_set_state): Update comment.
11263 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11264 declarations.
11265
11266 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11267
11268 [BZ #23140]
11269 * localedata/locales/ast_ES (mon): Rename to...
11270 (alt_mon): This.
11271 (mon): Import from CLDR (genitive case).
11272
11273 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11274 Jakub Sitnicki <jkbs@redhat.com>
11275
11276 [BZ #21812]
11277 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11278 on NLM_F_DUMP_INTR.
11279
11280 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11281
11282 * manual/llio.texi: Remove spurious space.
11283
11284 2018-06-28 Florian Weimer <fweimer@redhat.com>
11285
11286 [BZ #23349]
11287 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11288 _STRUCT_TIMESPEC.
11289
11290 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11291
11292 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
11293 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
11294 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11295 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11296 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11297 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11298 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11299
11300 2018-06-27 Maciej W. Rozycki <macro@mips.com>
11301
11302 [BZ #23266]
11303 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11304 Copy and null-terminate entries that are not terminated, in
11305 addition to empty ones.
11306
11307 2018-06-27 Florian Weimer <fweimer@redhat.com>
11308
11309 [BZ #18023]
11310 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11311 (extend_alloca_account): Remove.
11312 * manual/stdio.texi (Variable Arguments Output): Update comment.
11313
11314 2018-06-27 Joseph Myers <joseph@codesourcery.com>
11315
11316 * nptl/sockperf.c: Remove file.
11317
11318 2018-06-27 Florian Weimer <fweimer@redhat.com>
11319
11320 [BZ #18023]
11321 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11322 scratch_buffer instead of extend_alloca.
11323
11324 2018-06-27 Florian Weimer <fweimer@redhat.com>
11325
11326 [BZ #18023]
11327 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11328 scratch_buffer instead of extend_alloca. Update comments.
11329
11330 2018-06-27 Florian Weimer <fweimer@redhat.com>
11331
11332 [BZ #18023]
11333 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11334 instead of extend_alloca.
11335
11336 2018-06-26 Joseph Myers <joseph@codesourcery.com>
11337
11338 [BZ #13888]
11339 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11340 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11341 /tmp.
11342 * scripts/test-installation.pl: Put temporary files in build
11343 directory, not /tmp.
11344 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11345 (CFLAGS-bug4.c): Likewise.
11346 (CFLAGS-bug5.c): Likewise.
11347 (CFLAGS-test-fseek.c): Likewise.
11348 (CFLAGS-test-popen.c): Likewise.
11349 (CFLAGS-test_rdwr.c): Likewise.
11350 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11351 /tmp.
11352 * stdio-common/bug4.c (main): Likewise.
11353 * stdio-common/bug5.c (main): Likewise.
11354 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11355 * stdio-common/test-popen.c (do_test): Likewise.
11356 * stdio-common/test_rdwr.c (main): Likewise.
11357
11358 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
11359
11360 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11361 (sem_open): Set sem.newsem.pad to zero for valgrind.
11362
11363 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11364
11365 [BZ #20251]
11366 * NEWS: Mention fcntl64 addition.
11367 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11368 * login/utmp_file.c: Likewise.
11369 * sysdeps/posix/fdopendir.c: Likewise.
11370 * sysdeps/posix/opendir.c: Likewise.
11371 * sysdeps/unix/pt-fcntl.c: Likewise.
11372 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11373 __fcntl64_nocancel_adjusted): New prototype.
11374 (__fcntl_nocancel_adjusted): Remove prototype.
11375 * io/Makefile (routines): Add fcntl64.
11376 (CFLAGS-fcntl64.c): New rule.
11377 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11378 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11379 * io/fcntl.h (fcntl64): Add prototype and redirect if
11380 __USE_FILE_OFFSET64 is defined.
11381 * io/fcntl64.c: New file.
11382 * manual/llio.text: Add a note for which commands fcntl acts a
11383 cancellation point.
11384 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11385 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11386 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11387 New symbols.
11388 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11389 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11390 non-LFS case.
11391 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11392 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11393 to __fcntl64_nocancel.
11394 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11395 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11396 to __fcntl64_nocancel.
11397 * sysdeps/generic/not-cancel.h: Likewise.
11398 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11399 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11400 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11401 (fcntl64): New symbol.
11402 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11403 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11404 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11407 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11408 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11409 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11410 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11411 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11412 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11413 fcntl64): Likewise.
11414 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11415 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11416 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11417 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11418 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11419 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11420 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11421 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11422 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11424 Likewise.
11425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11426 Likewise.
11427 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11428 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11429 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11430
11431 2018-06-26 Florian Weimer <fweimer@redhat.com>
11432
11433 Run thread shutdown functions in an explicit order.
11434 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11435 definition.
11436 (__libc_thread_freeres): Call thread shutdown functions
11437 explicitly.
11438 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11439 * include/string.h (__strerror_thread_freeres): Declare.
11440 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11441 arena_thread_freeres. No longer static. Remove thread shutdown
11442 hook registration.
11443 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11444 Declare.
11445 * resolv/res-close.c (__res_thread_freeres): Renamed from
11446 res_thread_freeres. No longer static. Remove thread shutdown
11447 hook registration.
11448 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11449 * resolv/resolv_conf.c (freeres): Remove incorrect section
11450 attribute and use libc_freeres_fn.
11451 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11452 strerror_thread_freeres. No longer static. Remove thread
11453 shutdown hook registration.
11454 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11455 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11456 shutdown hook registration.
11457 * Makerules (shlib.lds): Do not provide section boundary symbols
11458 for __libc_thread_subfreeres.
11459 * manual/memory.texi (Basic Allocation): Update comment.
11460
11461 2018-06-26 Florian Weimer <fweimer@redhat.com>
11462
11463 Remove always-defined _RPC_THREAD_SAFE_ macro.
11464 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11465 Do not define _RPC_THREAD_SAFE_.
11466 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11467 conditional.
11468 * sunrpc/clnt_perr.c: Likewise.
11469 * sunrpc/clnt_raw.c: Likewise.
11470 * sunrpc/clnt_simp.c: Likewise.
11471 * sunrpc/key_call.c: Likewise.
11472 * sunrpc/rpc_common.c: Likewise.
11473 * sunrpc/rpc_main.c: Likewise.
11474 * sunrpc/rpc_thread.c: Likewise.
11475 * sunrpc/svc.c: Likewise.
11476 * sunrpc/svc_raw.c: Likewise.
11477 * sunrpc/svc_simple.c: Likewise.
11478 * sumrpc/svcauth_des.c: Likewise.
11479
11480 2018-06-26 Florian Weimer <fweimer@redhat.com>
11481
11482 * libio/Makefile (tests-internal): Add tst-vtables,
11483 tst-vtables-interposed.
11484 * libio/tst-vtables.c: New file.
11485 * libio/tst-vtables-common.c: Likewise.
11486 * libio/tst-vtables-interposed.c: Likewise.
11487
11488 2018-06-26 Florian Weimer <fweimer@redhat.com>
11489
11490 * support/support_test_main.c (support_test_main): Only call
11491 setvbuf if not disables.
11492 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11493 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11494
11495 2018-06-26 Florian Weimer <fweimer@redhat.com>
11496
11497 [BZ #23313]
11498 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11499
11500 2018-06-25 Florian Weimer <fweimer@redhat.com>
11501
11502 [BZ #18023]
11503 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11504 Use struct scratch_buffer instead of extend_alloca.
11505
11506 2018-06-25 Florian Weimer <fweimer@redhat.com>
11507
11508 [BZ #18023]
11509 * nss/getent.c (initgroups_keys): Use dynarray instead of
11510 extend_alloca.
11511
11512 2018-06-25 Florian Weimer <fweimer@redhat.com>
11513
11514 [BZ #18023]
11515 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11516 Use struct scratch_buffer instead of extend_alloca.
11517
11518 2018-06-25 Florian Weimer <fweimer@redhat.com>
11519
11520 [BZ #18023]
11521 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11522 back to malloc directly, without stack allocations.
11523
11524 2018-06-25 Florian Weimer <fweimer@redhat.com>
11525
11526 [BZ #18023]
11527 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11528 of extend_alloca.
11529
11530 2018-06-25 Florian Weimer <fweimer@redhat.com>
11531
11532 [BZ #18023]
11533 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11534 of extend_alloca.
11535 * nscd/hstcache.c (addhstbyX): Likewise.
11536 * nscd/pwdcache.c (addpwbyX): Likewise.
11537 * nscd/servicescache.c (addservbyX): Likewise.
11538
11539 2018-06-25 Florian Weimer <fweimer@redhat.com>
11540
11541 [BZ #18023]
11542 * nscd/connections.c (read_cmdline): New function.
11543 (restart): Use it. Update comment.
11544
11545 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11546
11547 [BZ #23140]
11548 * localedata/locales/csb_PL (mon): Rename to...
11549 (alt_mon): This.
11550 (abmon): Rename to...
11551 (ab_alt_mon): This.
11552 (mon): Add with proper genitive forms, copy from Wikipedia.
11553 (abmon): Likewise.
11554
11555 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11556
11557 [BZ #19485]
11558 * localedata/locales/csb_PL (mon): Fix typos:
11559 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11560 (yesstr): Add, value is "jo".
11561 (nostr): Add, value is "nié".
11562
11563 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11564
11565 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11566 all log1p and significand functions on m680x0.
11567 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11568 of s_significand.c..
11569 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11570 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11571 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11572 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11573 s_log1p.c and include it..
11574
11575 2018-06-21 Vincent Chen <vincentc@andestech.com>
11576
11577 * elf/elf.h (R_NDS32_NONE): New define.
11578 (R_NDS32_32_RELA): Likewise.
11579 (R_NDS32_COPY): Likewise.
11580 (R_NDS32_GLOB_DAT): Likewise.
11581 (R_NDS32_JUMP_SLOT): Likewise.
11582 (R_NDS32_RELATIVE): Likewise.
11583 (R_NDS32_TLS_TPOFF): Likewise.
11584 (R_NDS32_TLS_DESC): Likewise.
11585
11586 2018-06-21 Mark Wielaard <mark@klomp.org>
11587
11588 * elf/elf.h (R_BPF_MAP_FD): Removed.
11589 (R_BPF_64_64, R_BPF_64_32): New.
11590
11591 2018-06-21 Florian Weimer <fweimer@redhat.com>
11592
11593 [BZ #23253]
11594 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11595 Renamed from libc_feholdsetround_ctx.
11596 (default_libc_feresetround_ctx): Renamed from
11597 libc_feresetround_ctx.
11598 (default_libc_feholdsetround_noex_ctx): Renamed from
11599 libc_feholdsetround_noex_ctx.
11600 (default_libc_feresetround_noex_ctx): Renamed from
11601 libc_feresetround_noex_ctx.
11602 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11603 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11604 forwardning to the old implementations under the new names.
11605 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11606 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11607 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11608 (libc_feresetround_ctx): Forward to default implements for i386
11609 and MATH_SET_BOTH_ROUNDING_MODES.
11610 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11611 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11612
11613 2018-06-20 Joseph Myers <joseph@codesourcery.com>
11614
11615 * string/tst-cmp.c: Include <libc-diag.h>.
11616 (strncmp_max): Disable -Wstringop-overflow= around call to
11617 strncmp.
11618 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11619 strncasecmp.
11620
11621 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11622 (main): Disable -Wunused-value around call to strpbrk.
11623 * string/bug-strspn1.c: Include <libc-diag.h>.
11624 (main): Disable -Wunused-value around call to strspn.
11625
11626 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11627 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11628
11629 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11630 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11631
11632 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11633
11634 * math/Makefile (libm-calls): Move s_significandF to...
11635 (gen-libm-calls): ... here.
11636 * math/s_significand_template.c: New file.
11637 * math/s_significand.c: Removed.
11638 * math/s_significandf.c: Removed.
11639 * math/s_significandl.c: Removed.
11640 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
11641 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
11642
11643 * math/e_exp2_template.c (declare_mgen_finite_alias,
11644 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
11645 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
11646 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
11647
11648 2018-06-20 Florian Weimer <fweimer@redhat.com>
11649
11650 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
11651
11652 2018-06-19 Joseph Myers <joseph@codesourcery.com>
11653
11654 [BZ #23280]
11655 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11656 floating-point number to strtod functions rather than possibly
11657 negating result of those functions.
11658 * stdio-common/tst-scanf-round.c: New file.
11659 * stdio-common/Makefile (tests): Add tst-scanf-round.
11660 ($(objpfx)tst-scanf-round): Depend on $(libm).
11661
11662 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11663
11664 * sysdeps/mach/hurd/localplt.data: Move to...
11665 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11666 R_386_GLOB_DAT like on Linux i386.
11667
11668 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11669
11670 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11671 (SHM_STAT_ANY): New macro.
11672 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11673 (SHM_STAT_ANY): Likewise.
11674 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11675 (SHM_STAT_ANY): Likewise.
11676 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11677 (SHM_STAT_ANY): Likewise.
11678 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11679 (SHM_STAT_ANY): Likewise.
11680 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11681 (SHM_STAT_ANY): Likewise.
11682 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11683 (SHM_STAT_ANY): Likewise.
11684 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11685 (SHM_STAT_ANY): Likewise.
11686 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11687 (SHM_STAT_ANY): Likewise.
11688 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11689 (SHM_STAT_ANY): Likewise.
11690 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11691 (SHM_STAT_ANY): Likewise.
11692 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11693 (SHM_STAT_ANY): Likewise.
11694
11695 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11696 (SEM_STAT_ANY): New macro.
11697 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11698 (SEM_STAT_ANY): Likewise.
11699 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11700 (SEM_STAT_ANY): Likewise.
11701 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11702 (SEM_STAT_ANY): Likewise.
11703 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11704 (SEM_STAT_ANY): Likewise.
11705 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11706 (SEM_STAT_ANY): Likewise.
11707 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11708 (SEM_STAT_ANY): Likewise.
11709 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
11710 (SEM_STAT_ANY): Likewise.
11711 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11712 (SEM_STAT_ANY): Likewise.
11713 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11714 (SEM_STAT_ANY): Likewise.
11715
11716 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11717 (MSG_STAT_ANY): New macro.
11718 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11719 (MSG_STAT_ANY): Likewise.
11720 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
11721 (MSG_STAT_ANY): Likewise.
11722 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
11723 (MSG_STAT_ANY): Likewise.
11724 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
11725 (MSG_STAT_ANY): Likewise.
11726 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
11727 (MSG_STAT_ANY): Likewise.
11728 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
11729 (MSG_STAT_ANY): Likewise.
11730 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
11731 (MSG_STAT_ANY): Likewise.
11732 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
11733 (MSG_STAT_ANY): Likewise.
11734 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
11735 (MSG_STAT_ANY): Likewise.
11736
11737 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11738 (MAP_TYPE): Change value to 0x2b.
11739
11740 2018-06-18 Florian Weimer <fweimer@redhat.com>
11741
11742 [BZ #15722]
11743 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
11744 socket with SOCK_CLOEXEC.
11745
11746 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11747
11748 [BZ #23303]
11749 * sysdeps/powerpc/powerpc64/le/Makefile
11750 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
11751 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
11752 (gnulib-tests): Also add $(f128-loader-link) for
11753 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
11754
11755 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11756
11757 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
11758 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11759 of sendfile.
11760 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11761 (sendfile64): New strong alias.
11762 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11763 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11764 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
11765 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11766 attribute.
11767 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11768 ___pthread_get_cleanup_stack.
11769 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
11770 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11771 * mach/shortcut.awk: Make syscall stubs include
11772 <mach-shortcuts-hidden.h> and add hidden definition.
11773 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
11774 (__mach_msg): Add hidden prototype.
11775 * mach/msg.c: Include <mach.h>.
11776 (__mach_msg): Add hidden definition.
11777 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11778 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11779 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11780 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
11781 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11782 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
11783 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11784 prototype and definition.
11785 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11786 hidden target for _hurd_self_sigstate.
11787
11788 2018-06-15 Joseph Myers <joseph@codesourcery.com>
11789
11790 [BZ #23007]
11791 * stdlib/tst-strtod-nan-sign-main.c: New file.
11792 * stdlib/tst-strtod-nan-sign.c: Likewise.
11793 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11794 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11795 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11796 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11797 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11798
11799 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11800
11801 [BZ #23007]
11802 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11803 appropriate sign.
11804
11805 2018-06-14 Florian Weimer <fweimer@redhat.com>
11806
11807 [BZ #23290]
11808 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11809 that the result stays within the ISO-8859-1 range.
11810 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11811 characters are defined in IBM273.
11812
11813 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11814
11815 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11816 __mach_task_self): Remove attribute_hidden.
11817
11818 2018-06-14 Joseph Myers <joseph@codesourcery.com>
11819
11820 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11821 ignore -Wrestrict for one test.
11822
11823 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11824 Szabolcs Nagy <szabolcs.nagy@arm.com>
11825
11826 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11827
11828 2018-06-14 Florian Weimer <fweimer@redhat.com>
11829
11830 * scripts/update-abilist.sh: Accept empty list of files to patch.
11831
11832 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11833
11834 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11835 test-xfail-check-abi-libmachuser): Add.
11836 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11837 __libc_read and __libc_write to __read and __write.
11838 * sysdeps/hurd/include/hurd/port.h: New file.
11839 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11840 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11841 __thread_switch, __evc_wait): Move declarations to...
11842 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11843 attribute_hidden.
11844 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11845 use PLT to call _hurd_self_sigstate.
11846
11847 2018-06-13 Joseph Myers <joseph@codesourcery.com>
11848
11849 [BZ #23279]
11850 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11851 MAX_EXP as overflowing.
11852 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11853 overflow flag.
11854 (round_str): Output also whether result overflows in each rounding
11855 mode.
11856 * stdlib/tst-strtod-round-data: Add more tests.
11857 * stdlib/tst-strtod-round-data.h: Regenerated.
11858 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11859 (TEST): Handle extra arguments for overflow flags.
11860 (struct test_overflow): New type.
11861 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11862 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11863 (test_in_one_mode): Take argument with overflow information.
11864 (do_test): Update calls to test_in_one_mode.
11865
11866 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11867
11868 * elf/dl-load (_dl_dst_substitute): Correct comment.
11869 (_dl_dst_count): Likewise.
11870
11871 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11872 lll_futex_timed_wait.
11873
11874 2018-06-12 Joseph Myers <joseph@codesourcery.com>
11875
11876 [BZ #23277]
11877 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11878 attribute.
11879 * math/test-nan-const.c: New file.
11880 * math/Makefile (tests): Add test-nan-const.
11881 (CFLAGS-test-nan-const.c): New variable.
11882
11883 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11884
11885 * benchtests/scripts/compare_strings.py (process_results): Add
11886 funcs argument. Compare only functions which are selected.
11887 (main): Check if base function is among selected functions.
11888 Pass selected functions to process_results.
11889 (__main__): Add -f/--functions argument.
11890
11891 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11892 Hongbo Zhang <hongbo.zhang@linaro.org>
11893
11894 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11895 __memcpy_falkor for phecda core.
11896 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11897 __memmove_falkor for phecda core.
11898 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11899 __memset_falkor for phecda core.
11900 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11901 for phecda core.
11902 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11903 macro to identify phecda core.
11904
11905 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11906 Andreas Schwab <schwab@suse.de>
11907 Dmitry V. Levin <ldv@altlinux.org>
11908 Florian Weimer <fweimer@redhat.com>
11909
11910 [BZ #23102]
11911 [BZ #21942]
11912 [BZ #18018]
11913 [BZ #23259]
11914 CVE-2011-0536
11915 * elf/dl-dst.h: Remove DL_DST_COUNT.
11916 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11917 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11918 (is_dst): Comment. Support ELF gABI.
11919 (_dl_dst_count): Comment. Simplify and count DSTs.
11920 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11921 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11922 locals.
11923
11924 2018-06-12 Zack Weinberg <zackw@panix.com>
11925
11926 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11927 * sysdeps/unix/sysv/linux/dl-sysdep.c
11928 Include not-cancel.h. Use __close_nocancel instead of __close,
11929 __open64_nocancel instead of __open, __read_nocancel instead of
11930 __libc_read, and __write_nocancel instead of __libc_write.
11931
11932 * csu/check_fds.c (check_one_fd)
11933 * sysdeps/posix/fdopendir.c (__fdopendir)
11934 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11935 instead of __fcntl and/or __libc_fcntl.
11936
11937 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11938 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11939 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11940 Use __open64_nocancel instead of __open_nocancel.
11941
11942 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11943 hidden_proto declarations to the end and issue them if either
11944 IS_IN(libc) or IS_IN(rtld).
11945 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11946 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11947 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11948 read_nocancel, waitpid_nocancel, write_nocancel.
11949
11950 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11951 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11952 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11953
11954 * nptl/pt-fcntl.c: New file.
11955 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11956 (libpthread-routines): Add pt-fcntl.
11957 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11958 (__libc_fcntl): Remove attribute_hidden.
11959 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11960 __fcntl_nocancel_adjusted, not fcntl_common.
11961 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11962 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11963 to fcntl_nocancel.c.
11964 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11967 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11968
11969 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11970 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11971 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11972 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11973 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11974 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11975 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11976 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11977 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11978 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11979 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11980 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11981 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11982 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11983 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11984 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11985 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11986 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11987 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11988 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11989
11990 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11991 libpthread-routines.
11992 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11993 defines nothing.
11994
11995 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11996 __libc_read, and __write instead of __libc_write. Define
11997 __open64 in addition to __open.
11998
11999 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12000
12001 [BZ #23250]
12002 [BZ #10686]
12003 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12004 to _private_tm[3] and add __glibc_reserved2.
12005 Add _Static_assert of offset of __private_ss == 0x30.
12006 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12007 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12008
12009 2018-06-12 Florian Weimer <fweimer@redhat.com>
12010
12011 x86: Make strncmp usable from rtld.
12012 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12013 __strncmp_ia32 if in libc (and not in rtld).
12014 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12015 strncmp if not in libc (and not to __strncmp_sse2).
12016
12017 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12018
12019 [BZ #23140]
12020 * localedata/locales/gd_GB (mon): Rename to...
12021 (alt_mon): This.
12022 (mon): Import from CLDR (genitive case).
12023 * localedata/locales/hsb_DE (mon): Rename to...
12024 (alt_mon): This.
12025 (mon): Import from CLDR (genitive case).
12026 * localedata/locales/wa_BE (mon): Rename to...
12027 (alt_mon): This.
12028 (mon): Add, fill with the proper genitive forms, but CLDR data
12029 is incomplete; completed according to the comments in this file.
12030 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12031
12032 * localedata/locales/wa_BE (country_name): Reword
12033 "Beljike" -> "Beldjike".
12034
12035 2018-06-11 Joseph Myers <joseph@codesourcery.com>
12036
12037 [BZ #23272]
12038 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12039 cases of non-finite arguments.
12040 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12041
12042 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
12043
12044 [BZ #23174]
12045 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12046
12047 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12048
12049 [BZ #23264]
12050 * include/unistd.h (__execvpex): New prototype.
12051 * posix/Makefile (tests): Add tst-spawn4.
12052 (tests-internal): Add tst-spawn4-compat.
12053 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12054 * posix/tst-spawn4-compat.c: New file.
12055 * posix/tst-spawn4.c: Likewise.
12056 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12057 binaries as shell scripts.
12058 * sysdeps/posix/spawni.c (__spawni): Likewise.
12059
12060 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12061
12062 [BZ #23145]
12063 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12064 ($(all-built-dso:=.dynsym): New target.
12065 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12066 ($(objpfx)check-initfini.out): New target.
12067 (generated): Add check-initfini.out.
12068 * scripts/check-initfini.awk: New file.
12069 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12070 (_fini): Likewise.
12071 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12072 (_fini): Likewise.
12073 * sysdeps/arm/crti.S (_init): Mark as hidden.
12074 (_fini): Likewise.
12075 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12076 (_fini): Likewise.
12077 * sysdeps/i386/crti.S (_init): Mark as hidden.
12078 (_fini): Likewise.
12079 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12080 (_fini): Likewise.
12081 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12082 (_fini): Likewise.
12083 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12084 (_fini): Likewise.
12085 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12086 (_fini): Likewise.
12087 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12088 (_fini): Likewise.
12089 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12090 (_fini): Likewise.
12091 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12092 (_fini): Likewise.
12093 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12094 (_fini): Likewise.
12095 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12096 (_fini): Likewise.
12097 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12098 (_fini): Likewise.
12099 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12100 (_fini): Likewise.
12101 * sysdeps/sh/crti.S (_init): Mark as hidden.
12102 (_fini): Likewise.
12103 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12104 (_fini): Likewise.
12105 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12106 (_fini): Likewise.
12107
12108 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12109
12110 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12111 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12112 and TF redirection to KFtype and KF only when the default
12113 long double type is not the IEEE 128-bit floating point type.
12114
12115 2018-06-05 Joseph Myers <joseph@codesourcery.com>
12116
12117 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12118 macro.
12119 (HWCAP_USCAT): Likewise.
12120 (HWCAP_ILRCPC): Likewise.
12121 (HWCAP_FLAGM): Likewise.
12122 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12123 Increase to 28.
12124 (_dl_aarch64_cap_flags): Add new flag names.
12125
12126 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12127 (MAP_FIXED_NOREPLACE): New macro.
12128 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12129 (MAP_FIXED_NOREPLACE): Likewise.
12130 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12131 (MAP_FIXED_NOREPLACE): Likewise.
12132 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12133 (MAP_FIXED_NOREPLACE): Likewise.
12134 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12135 (MAP_FIXED_NOREPLACE): Likewise.
12136 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12137 (MAP_FIXED_NOREPLACE): Likewise.
12138 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12139 (MAP_FIXED_NOREPLACE): Likewise.
12140 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12141 (MAP_FIXED_NOREPLACE): Likewise.
12142 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12143 (MAP_FIXED_NOREPLACE): Likewise.
12144 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12145 (MAP_FIXED_NOREPLACE): Likewise.
12146 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12147 (MAP_FIXED_NOREPLACE): Likewise.
12148 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12149 (MAP_FIXED_NOREPLACE): Likewise.
12150 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12151 (MAP_FIXED_NOREPLACE): Likewise.
12152 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12153 (MAP_FIXED_NOREPLACE): Likewise.
12154 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12155 (MAP_FIXED_NOREPLACE): Likewise.
12156
12157 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12158 version to 4.17.
12159
12160 2018-06-04 Joseph Myers <joseph@codesourcery.com>
12161
12162 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12163 version to 4.17
12164
12165 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12166
12167 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12168 int.
12169 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12170
12171 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12172
12173 * benchtests/scripts/compare_string.py: (process_results) Catch
12174 exception in non-existent base_func and catch exception in
12175 non-existent attribute.
12176 (parse_file) Catch exception if input file does not exist.
12177
12178 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12179
12180 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12181 options to avoid diff calculation and omit header, respectively.
12182 (main): process --no-diff and --no-header
12183
12184 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12185 H.J. Lu <hongjiu.lu@intel.com>
12186
12187 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12188 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12189 wcsncmp-sse2.
12190 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12191 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12192 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12193 and __wcsncmp_sse2.
12194 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12195 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12196 AVX unaligned load is fast and vzeroupper is preferred.
12197 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12198 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12199 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12200 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12201 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12202 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12203 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12204 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12205 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12206 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12207 is undefined.
12208
12209 2018-06-01 Florian Weimer <fweimer@redhat.com>
12210
12211 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12212 configuring with --disable-multi-arch, building with
12213 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12214 Haswell-era CPU.
12215
12216 2018-06-01 Florian Weimer <fweimer@redhat.com>
12217
12218 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12219 results from building with “-march=x86-64 -mtune=generic
12220 -mfpmath=sse” and running on a Haswell-era CPU.
12221
12222 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12223
12224 [BZ #18473]
12225 * soft-fp/sqrttf2.c: Remove file.
12226 * soft-fp/sqrtdf2.c: Move to ....
12227 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12228 <shlib-compat.h>.
12229 (__sqrtdf2): Make conditional on
12230 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12231 symbol.
12232 * soft-fp/sqrtsf2.c: Move to ....
12233 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12234 <shlib-compat.h>.
12235 (__sqrtsf2): Make conditional on
12236 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12237 symbol.
12238 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12239 (gcc-double-routines): Remove sqrtdf2.
12240 (gcc-quad-routines): Remove sqrttf2.
12241 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12242 Do not filter out sqrtsf2 and sqrtdf2.
12243 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12244 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12245
12246 2018-06-01 Florian Weimer <fweimer@redhat.com>
12247
12248 * sysdeps/generic/libcidn.abilist: Remove file.
12249
12250 2018-06-01 Florian Weimer <fweimer@redhat.com>
12251
12252 [BZ #23236]
12253 * libio/strfile.h (struct _IO_str_fields): Rename members to
12254 discourage their use and add comment.
12255 (_IO_STR_DYNAMIC): Remove unused macro.
12256 * libio/strops.c (_IO_str_init_static_internal): Do not use
12257 callback pointers. Call malloc and free.
12258 (_IO_str_overflow): Do not use callback pointers. Call malloc
12259 and free.
12260 (enlarge_userbuf): Likewise.
12261 (_IO_str_finish): Call free.
12262 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12263 _allocate_buffer_unused.
12264 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12265 and free.
12266 (enlarge_userbuf): Likewise.
12267 (_IO_wstr_finish): Call free.
12268 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12269 _allocate_buffer_unused, _free_buffer_unused.
12270 * libio/memstream.c (__open_memstream): Likewise.
12271 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12272 * libio/wmemstream.c (open_wmemstream): Likewise.
12273
12274 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12275
12276 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12277 AMD Ryzen 7 1800X.
12278
12279 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12280
12281 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12282 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12283 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12284 New file.
12285 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12286 Likewise.
12287 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12288
12289 2018-05-29 Florian Weimer <fweimer@redhat.com>
12290
12291 * support/Makefile (libsupport-routines): Add
12292 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12293 xpthread_barrierattr_setpshared.
12294 * support/xpthread_barrierattr_destroy.c: New file.
12295 * support/xpthread_barrierattr_init.c: Likewise.
12296 * support/xpthread_barrierattr_setpshared.c: Likewise.
12297
12298 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12299
12300 [BZ #23206]
12301 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12302 _r_debug and update DT_DEBUG for debugger.
12303
12304 2018-05-29 Florian Weimer <fweimer@redhat.com>
12305
12306 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12307 (tst-strtod5i.out): Likewise.
12308
12309 2018-05-25 Joseph Myers <joseph@codesourcery.com>
12310
12311 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12312 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12313 (sparc64-quad-routines): New variable. Moved from ....
12314 [$(subdir) = soft-fp] (sysdep_routines): Add
12315 $(sparc64-quad-routines). Moved from ....
12316 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12317 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12318 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12319 moved from ....
12320 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12321 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12322 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12323 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12324 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12325 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12326 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12327 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12328 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12329 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12330 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12331 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12332 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12333 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12334 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12335 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12336 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12337 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12338 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12339 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12340 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12341 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12342 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12343 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12344 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12345 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12346 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12347 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12348 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12349 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12350 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12351 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12352 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12353 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12354 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12355 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12356 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12357 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12358 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12359 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12360 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12361 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12362 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12363 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12364 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12365 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12366 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12367 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12368 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12369 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12370 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12371 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12372 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12373 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12374 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12375 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12376 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12377 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12378
12379 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12380 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12381 (sparc32-quad-routines): New variable. Moved from ....
12382 [$(subdir) = soft-fp] (sysdep_routines): Add
12383 $(sparc32-quad-routines). Moved from ....
12384 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12385 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12386 moved from ....
12387 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12388 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12389 * sysdeps/sparc/sparc32/q_add.c: ... here.
12390 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12391 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12392 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12393 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12394 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12395 * sysdeps/sparc/sparc32/q_div.c: ... here.
12396 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12397 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12398 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12399 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12400 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12401 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12402 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12403 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12404 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12405 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12406 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12407 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12408 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12409 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12410 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12411 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12412 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12413 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12414 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12415 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12416 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12417 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12418 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12419 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12420 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12421 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12422 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12423 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12424 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12425 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12426 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12427 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12428 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12429 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12430 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12431 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12432 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12433 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12434 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12435 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12436 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12437 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12438 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12439 * sysdeps/sparc/sparc32/q_util.c: ... here.
12440 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12441 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12442 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12443 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12444
12445 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12446 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12447
12448 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12449 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12450 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12451 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12452
12453 2018-05-24 Joseph Myers <joseph@codesourcery.com>
12454
12455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12456 powerpc/soft-fp.
12457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12458 Likewise.
12459 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12460 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12461
12462 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12463
12464 [BZ #23171]
12465 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12466 double version.
12467
12468 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12469
12470 * sysdeps/sh/Implies: Remove sh/soft-fp.
12471 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12472 * sysdeps/sh/sfp-machine.h: ... here.
12473
12474 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12475
12476 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12477 (__mempcpy_erms): Skip zero length.
12478 (__memmove_erms): Likewise.
12479 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12480 (__memset_erms): Likewise.
12481
12482 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12483
12484 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12485 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12486 Add functions moved from ....
12487 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12488 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12489 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12490 from ....
12491 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12492 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12493 * sysdeps/alpha/e_sqrtl.c: ... here.
12494 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12495 * sysdeps/alpha/local-soft-fp.h: ... here.
12496 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12497 * sysdeps/alpha/ots_add.c: ... here.
12498 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12499 * sysdeps/alpha/ots_cmp.c: ... here.
12500 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12501 * sysdeps/alpha/ots_cmpe.c: ... here.
12502 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12503 * sysdeps/alpha/ots_cvtqux.c: ... here.
12504 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12505 * sysdeps/alpha/ots_cvtqx.c: ... here.
12506 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12507 * sysdeps/alpha/ots_cvttx.c: ... here.
12508 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12509 * sysdeps/alpha/ots_cvtxq.c: ... here.
12510 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12511 * sysdeps/alpha/ots_cvtxt.c: ... here.
12512 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12513 * sysdeps/alpha/ots_div.c: ... here.
12514 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12515 * sysdeps/alpha/ots_mul.c: ... here.
12516 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12517 * sysdeps/alpha/ots_nintxq.c: ... here.
12518 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12519 * sysdeps/alpha/ots_sub.c: ... here.
12520 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12521 * sysdeps/alpha/sfp-machine.h: ... here.
12522
12523 2018-05-23 Florian Weimer <fweimer@redhat.com>
12524
12525 [BZ #19728]
12526 [BZ #19729]
12527 [BZ #22247]
12528 CVE-2016-6261
12529 CVE-2016-6263
12530 CVE-2017-14062
12531 Switch to extern IDNA implementation (libidn2).
12532 * libidn: Remove subdirectory.
12533 * LICENSES: Do not mention licensing conditions for the removed
12534 libidn code.
12535 * config.h.in (HAVE_LIBIDN): Remove.
12536 * include/dlfcn.h (__libc_dlopen): Update comment.
12537 * include/idna.h: Remove file.
12538 * inet/Makefile (routines): Add idna.
12539 (tests-static, tests-internal): Add tst-idna_name_classify.
12540 (LOCALES): Generate locales for tests.
12541 (tst-idna_name_classify.out): Depend on generated locales.
12542 * inet/idna_name_classify.c: New file.
12543 * inet/tst-idna_name_classify.c: Likewise.
12544 * inet/net-internal.h (__idna_to_dns_encoding)
12545 (__idna_from_dns_encoding): Declare.
12546 * inet/net-internal.h (enum idna_name_classification): Define.
12547 (__idna_name_classify): Declare.
12548 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12549 __idna_from_dns_encoding.
12550 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12551 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12552 name as a fallback in case of encoding errors.
12553 (getnameinfo): Use DEPRECATED_NI_IDN.
12554 * inet/idna.c: New file.
12555 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12556 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12557 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12558 (modules-names): Add tst-no-libidn2.
12559 (extra-test-objs): Add tst-no-libidn2.os.
12560 (LDFLAGS-tst-no-libidn2.so): Set soname.
12561 (LOCALES): Set, and generate locales.
12562 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12563 (tst-resolv-ai_idn-latin1): Likewise.
12564 (tst-resolv-ai_idn-nolibidn2): Likewise.
12565 (tst-resolv-ai_idn.out): Depend on locales.
12566 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12567 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12568 tst-no-libidn2.so.
12569 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12570 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12571 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12572 * resolv/tst-resolv-ai_idn.c: New file.
12573 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12574 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12575 * resolv/tst-no-libidn2.c: Likewise.
12576 * support/support_format_addrinfo.c (format_ai_flags): Do not
12577 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12578 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12579 (gaih_inet): Call __idna_to_dns_encoding and
12580 __idna_from_dns_encoding, and use the original (punycode) name if
12581 __idna_from_dns_encoding fails due to an encoding error.
12582 (getaddrinfo): Use DEPRECATED_AI_IDN.
12583 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12584 * sysdeps/unix/inet/configure: Remove file.
12585 * sysdeps/unix/inet/configure.ac: Likewise.
12586
12587 2018-05-23 Florian Weimer <fweimer@redhat.com>
12588
12589 Implement allocate_once.
12590 * include/allocate_once.h: New file.
12591 * misc/allocate_once.c: Likewise.
12592 * misc/tst-allocate_once.c: Likewise.
12593 * misc/Makefile (routines): Add allocate_once.
12594 (tests-internal): Add tst-allocate_once.
12595 (generated): Add tst-allocate_once.mtrace,
12596 tst-allocate_once-mem.out.
12597 (tests-special): Add tst-allocate_once-mem.out.
12598 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12599 (tst-allocate_once-mem.out): Call mtrace.
12600 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12601
12602 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12603
12604 [BZ #23196]
12605 * string/test-memcpy.c (do_test1): New function.
12606 (test_main): Call it.
12607
12608 2018-05-23 Andreas Schwab <schwab@suse.de>
12609
12610 [BZ #23196]
12611 CVE-2018-11237
12612 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12613 (L(preloop_large)): Save initial destination pointer in %r11 and
12614 use it instead of %rax after the loop.
12615 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12616
12617 2018-05-22 Joseph Myers <joseph@codesourcery.com>
12618
12619 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12620 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12621 -I../soft-fp. Moved from ....
12622 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12623 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12624 * sysdeps/aarch64/e_sqrtl.c: ... here.
12625 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12626 * sysdeps/aarch64/sfp-machine.h: ... here.
12627
12628 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12629 -Wmaybe-uninitialized around access to fq[0].
12630 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12631 Likewise.
12632
12633 [BZ #18471]
12634 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
12635 aliases for non-libc case of versioned symbols.
12636 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
12637 (llseek): Define as compat symbol if
12638 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
12639 with link warning.
12640 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
12641 Make into a compat symbol, disabled for minimum symbol version
12642 GLIBC_2.28 and later.
12643 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
12644
12645 2018-05-22 Florian Weimer <fweimer@redhat.com>
12646
12647 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
12648 not add -mpreferred-stack-boundary=4.
12649 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
12650 (stack-align-test-flags): Likewise.
12651 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
12652 Likewise.
12653 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12654 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12655 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12656 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12657 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12658 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12659 (CFLAGS-tst-align2.c): Likewise.
12660
12661 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12662
12663 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12664 (index_arch_Prefer_FSRM): Likewise.
12665 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12666 Also check Prefer_FSRM.
12667 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12668 Also return OPTIMIZE (erms) for Prefer_FSRM.
12669
12670 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12671
12672 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12673 (index_cpu_FSRM): Likewise.
12674 (reg_FSRM): Likewise.
12675
12676 2018-05-18 Joseph Myers <joseph@codesourcery.com>
12677
12678 * math/gen-tgmath-tests.py: Import sys.
12679 (Tests.__init__): Initialize macros_seen.
12680 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12681 if requested to do so for this macro.
12682 (Tests.add_all_tests): Take argument for macro for which to
12683 generate tests.
12684 (Tests.check_macro_list): New function.
12685 (main): Handle check-list argument and argument specifying macro
12686 for which to generate tests.
12687 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12688 [PYTHON] (tgmath3-macro-tests): Likewise.
12689 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12690 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12691 not test-tgmath3.c.
12692 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12693 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12694 to CFLAGS.
12695 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12696 [PYTHON] ($(foreach
12697 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12698 rule.
12699 [PYTHON] (tests-special): Add
12700 $(objpfx)test-tgmath3-macro-list.out.
12701 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12702
12703 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12704 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12705 later.
12706
12707 [BZ #22639]
12708 * time/tzset.c (SECSPERDAY): Cast to time_t.
12709 * time/tst-y2039.c: New file.
12710 * time/Makefile (tests): Add tst-y2039.
12711
12712 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12713
12714 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12715 (PREFETCH_ONE_SET): Remove duplicate line.
12716
12717 2018-05-17 Florian Weimer <fweimer@redhat.com>
12718
12719 * sysdeps/generic/math-type-macros-double.h: Include
12720 <math-nan-payload-double.h> after <libm-alias-double.h>.
12721 * sysdeps/generic/math-type-macros-float.h: Include
12722 <math-nan-payload-float.h> after <libm-alias-float.h>.
12723 * sysdeps/generic/math-type-macros-float128.h: Include
12724 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
12725 * sysdeps/generic/math-type-macros-ldouble.h: Include
12726 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
12727
12728 2018-05-17 Andreas Schwab <schwab@suse.de>
12729
12730 * resolv/res_send.c (__res_context_send): Don't set errno when
12731 returing error after malloc failure.
12732
12733 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
12734
12735 * nptl/allocatestack.c (allocate_stack): Remove the
12736 !__ASSUME_PRIVATE_FUTEX paths.
12737 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
12738 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12739 Likewise.
12740 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
12741 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12742 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12743 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12744 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
12745 !__ASSUME_PRIVATE_FUTEX path.
12746 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
12747 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
12748 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12749 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
12750 !__ASSUME_PRIVATE_FUTEX macros.
12751 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12752 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12753 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12754 * sysdeps/unix/sysv/linux/kernel-features.h
12755 (__ASSUME_PRIVATE_FUTEX): Removed.
12756
12757 2018-05-17 Joseph Myers <joseph@codesourcery.com>
12758
12759 * math/Makefile (libm-narrow-fns): Add div.
12760 (libm-test-funcs-narrow): Likewise.
12761 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12762 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12763 * math/gen-auto-libm-tests.c (test_functions): Add div.
12764 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12765 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12766 (NARROW_DIV_TRIVIAL): Likewise.
12767 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12768 macro.
12769 (__ddivl): Likewise.
12770 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12771 ddiv.
12772 (CFLAGS-nldbl-ddiv.c): New variable.
12773 (CFLAGS-nldbl-fdiv.c): Likewise.
12774 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12775 __nldbl_ddivl.
12776 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12777 prototype.
12778 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12779 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12780 * math/auto-libm-test-in: Add tests of div.
12781 * math/auto-libm-test-out-narrow-div: New generated file.
12782 * math/libm-test-narrow-div.inc: New file.
12783 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12784 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12785 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12786 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12787 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12788 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12789 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12790 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12791 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12792 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12793 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12794 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12795 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12796 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12797 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12798 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12799 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12800 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12802 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12803 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12804 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12805 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12806 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12807 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12808 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12809 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12810 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12811 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12812 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12813 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12814 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12819 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12821 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12822 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12823 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12824 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12825 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12826 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12827
12828 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12829
12830 [BZ #23178]
12831 * nscd/nscd-client.h (sendfileall): Remove prototype.
12832 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12833 (handle_request): Use writeall instead of sendfileall.
12834 * nscd/aicache.c (addhstaiX): Likewise.
12835 * nscd/grpcache.c (cache_addgr): Likewise.
12836 * nscd/hstcache.c (cache_addhst): Likewise.
12837 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12838 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12839 * nscd/pwdcache.c (cache_addpw): Likewise.
12840 * nscd/servicescache.c (cache_addserv): Likewise.
12841 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12842 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12843 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12844 Remove define.
12845
12846 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12847
12848 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12849 Include <string/strncat.c>.
12850 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12851 alias.
12852 (__GI___strncat): New hidden alias.
12853
12854 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12855
12856 * sysdeps/mips/mips32/libm-test-ulps: Update.
12857 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12858
12859 2018-05-16 Florian Weimer <fweimer@redhat.com>
12860
12861 * support/Makefile (libsupport-routines): Add support_quote_blob,
12862 support_test_compare_blob.
12863 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12864 * support/check.h (TEST_COMPARE_BLOB): Define.
12865 (support_test_compare_blob): Declare.
12866 * support/support.h (support_quote_blob): Declare.
12867 * support/support_quote_blob.c: New file.
12868 * support/support_test_compare_blob.c: Likewise.
12869 * support/tst-support_quote_blob.c: Likewise.
12870 * support/tst-test_compare_blob.c: Likewise.
12871
12872 2018-05-16 Florian Weimer <fweimer@redhat.com>
12873
12874 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12875 of <strtod_nan_double.h>.
12876 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12877 instead of SET_MANTISSA.
12878 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12879 of include <strtod_nan_float.h>.
12880 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12881 instead of <strtod_nan_ldouble.h>.
12882 * stdlib/strtod_nan_double.h: Move to ...
12883 * sysdeps/generic/math-nan-payload-double.h: ... here.
12884 (FLOAT): Remove definition.
12885 (SET_MANTISSA): Rename to ...
12886 (SET_NAN_PAYLOAD): ... this.
12887 * stdlib/strtod_nan_float.h: Move to ...
12888 * sysdeps/generic/math-nan-payload-float.h: ... here.
12889 (FLOAT): Remove definition.
12890 (SET_MANTISSA): Rename to ...
12891 (SET_NAN_PAYLOAD): ... this.
12892 * sysdeps/generic/math-type-macros-double.h: Include
12893 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12894 instead of <math-svid-compat.h>.
12895 * sysdeps/generic/math-type-macros-float.h: Include
12896 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12897 instead of <math-svid-compat.h>.
12898 * sysdeps/generic/math-type-macros-float128.h: Include
12899 <math-nan-payload-float128.h>.
12900 * sysdeps/generic/math-type-macros-ldouble.h: Include
12901 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12902 instead of <math-svid-compat.h>.
12903 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12904 check for definition.
12905 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12906 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12907 Include <ieee754_float128.h>.
12908 (FLOAT): Remove definition.
12909 (SET_MANTISSA): Rename to ...
12910 (SET_NAN_PAYLOAD): ... this.
12911 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12912 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12913 Do not include <float128_private.h>.
12914 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12915 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12916 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12917 (FLOAT): Remove definition.
12918 (SET_MANTISSA): Rename to ...
12919 (SET_NAN_PAYLOAD): ... this.
12920 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12921 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12922 (FLOAT): Remove definition.
12923 (SET_MANTISSA): Rename to ...
12924 (SET_NAN_PAYLOAD): ... this.
12925 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12926 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12927 (FLOAT): Remove definition.
12928 (SET_MANTISSA): Rename to ...
12929 (SET_NAN_PAYLOAD): ... this.
12930 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12931 of "../stdlib/strtod_nan_double.h".
12932 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12933 of "../stdlib/strtod_nan_float.h".
12934 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12935 instead of "../stdlib/strtod_nan_ldouble.h".
12936 * manual/arith.texi (Parsing of Floats): Adjust comment.
12937
12938 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12939
12940 * math/Makefile (libm-narrow-fns): Add mul.
12941 (libm-test-funcs-narrow): Likewise.
12942 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12943 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12944 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12945 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12946 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12947 (NARROW_MUL_TRIVIAL): Likewise.
12948 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12949 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12950 macro.
12951 (__dmull): Likewise.
12952 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12953 dmul.
12954 (CFLAGS-nldbl-dmul.c): New variable.
12955 (CFLAGS-nldbl-fmul.c): Likewise.
12956 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12957 __nldbl_dmull.
12958 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12959 prototype.
12960 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12961 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12962 * math/auto-libm-test-in: Add tests of mul.
12963 * math/auto-libm-test-out-narrow-mul: New generated file.
12964 * math/libm-test-narrow-mul.inc: New file.
12965 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12966 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12967 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12968 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12969 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12970 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12971 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12972 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12973 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12974 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12975 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12976 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12977 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12978 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12979 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12980 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12981 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12982 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12984 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12985 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12986 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12987 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12988 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12989 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12990 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12991 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12992 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12993 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12994 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12995 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12996 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13001 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13002 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13003 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13004 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13005 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13006 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13007 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13008 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13009
13010 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13011
13012 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13013 with *%eax in call.
13014
13015 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13016
13017 * sysdeps/i386/ldsodefs.h: Removed.
13018 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13019 * sysdeps/x86/ldsodefs.h: This.
13020 (La_i86_regs): New.
13021 (La_i86_retval): Likewise.
13022 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13023 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13024
13025 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13026
13027 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13028 unnecessary testl.
13029
13030 2018-05-13 Alan Modra <amodra@gmail.com>
13031
13032 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13033 R_PARISC_TLS_DTPOFF32 reloc addend.
13034
13035 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13036
13037 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13038 * math/math.h: Restrict the prototype definition for the functions
13039 issignaling(_Float128) and iszero(_Float128); and template
13040 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13041 __HAVE_FLOAT128_UNLIKE_LDBL.
13042 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13043 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13044 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13045 __f128() constants; define the type _Float128 as long double;
13046 and reuse long double in __CFLOAT128.
13047
13048 2018-05-11 Joseph Myers <joseph@codesourcery.com>
13049
13050 * sysdeps/generic/math_private.h: Do not include
13051 <math-barriers.h>.
13052 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13053 <math_private.h>.
13054 * math/fromfp.h: Include <math-barriers.h>.
13055 * math/math-narrow.h: Likewise.
13056 * math/s_nextafter.c: Likewise.
13057 * math/s_nexttowardf.c: Likewise.
13058 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13059 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13060 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13061 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13062 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13063 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13064 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13066 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13068 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13071 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13072 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13073 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13074 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13075 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13076 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13077 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13078 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13079 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13080 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13081 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13082 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13083 * sysdeps/ieee754/k_standardl.c: Likewise.
13084 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13085 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13086 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13087 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13088 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13089 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13090 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13091 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13092 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13093 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13094 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13095 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13096 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13097 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13098 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13099 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13100 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13101 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13102 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13103 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13104 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13105 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13106
13107 2018-05-11 Florian Weimer <fweimer@redhat.com>
13108
13109 Use 64-bit epoch values in the time zone file parser.
13110 * include/time.h (internal_time_t): Define.
13111 (__tzfile_compute): Use it.
13112 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13113 member.
13114 (transitions): Switch to internal_time_t.
13115 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13116 types.
13117 (__tzfile_compute): Use internal_time_t for timer argument. Check
13118 for truncation before calling __offtime.
13119
13120 2018-05-11 Florian Weimer <fweimer@redhat.com>
13121
13122 [BZ #23166]
13123 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13124 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13125 Likewise.
13126 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13127 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13128 export without --enable-obsolete-rpc.
13129 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13130 symbol. This should not have been exported, ever.
13131
13132 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13133
13134 [BZ #23152]
13135 * localedata/locales/gd_GB (abmon): Fix typo in May:
13136 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13137
13138 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13139
13140 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13141 Use multiple registers to copy data in loop tail.
13142
13143 * sysdeps/aarch64/multiarch/memmove_falkor.S
13144 (__memmove_falkor): Use multiple registers to move data in
13145 loop tail.
13146
13147 2018-05-10 Joseph Myers <joseph@codesourcery.com>
13148
13149 * math/math-underflow.h: New file.
13150 * sysdeps/generic/math_private.h: Do not include <float.h>.
13151 (fabs_tg): Remove macro. Moved to math-underflow.h.
13152 (min_of_type_f): Likewise.
13153 (min_of_type_): Likewise.
13154 (min_of_type_l): Likewise.
13155 (min_of_type_f128): Likewise.
13156 (min_of_type): Likewise.
13157 (math_check_force_underflow): Likewise.
13158 (math_check_force_underflow_nonneg): Likewise.
13159 (math_check_force_underflow_complex): Likewise.
13160 * math/e_exp2_template.c: Include <math-underflow.h>.
13161 * math/k_casinh_template.c: Likewise.
13162 * math/s_catan_template.c: Likewise.
13163 * math/s_catanh_template.c: Likewise.
13164 * math/s_ccosh_template.c: Likewise.
13165 * math/s_cexp_template.c: Likewise.
13166 * math/s_clog10_template.c: Likewise.
13167 * math/s_clog_template.c: Likewise.
13168 * math/s_csin_template.c: Likewise.
13169 * math/s_csinh_template.c: Likewise.
13170 * math/s_csqrt_template.c: Likewise.
13171 * math/s_ctan_template.c: Likewise.
13172 * math/s_ctanh_template.c: Likewise.
13173 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13174 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13175 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13176 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13177 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13178 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13179 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13180 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13181 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13182 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13183 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13184 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13185 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13186 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13187 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13188 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13189 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13190 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13191 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13192 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13193 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13194 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13195 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13196 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13197 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13198 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13199 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13200 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13201 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13202 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13203 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13204 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13205 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13206 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13207 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13208 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13209 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13210 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13211 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13212 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13213 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13214 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13215 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13216 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13217 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13218 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13219 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13220 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13221 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13222 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13223 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13224 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13225 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13226 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13227 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13228 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13229 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13230 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13231 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13232 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13233 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13234 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13235 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13236 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13237 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13238 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13239 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13240 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13241 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13242 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13243 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13244 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13245 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13246 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13247 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13248 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13249 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13250 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13251 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13252 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13253 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13254 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13255 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13256 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13257
13258 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13259
13260 * sysdeps/generic/math-barriers.h: New file.
13261 * sysdeps/generic/math_private.h [!math_opt_barrier]
13262 (math_opt_barrier): Move to math-barriers.h.
13263 [!math_opt_barrier] (math_force_eval): Likewise.
13264 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13265 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13266 math-barriers.h.
13267 (math_force_eval): Likewise.
13268 * sysdeps/alpha/fpu/math-barriers.h: New file.
13269 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13270 math-barriers.h.
13271 (math_force_eval): Likewise.
13272 * sysdeps/x86/fpu/math-barriers.h: New file.
13273 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13274 math-barriers.h.
13275 (math_force_eval): Likewise.
13276 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13277 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13278 multiple-include guard for rename.
13279 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13280 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13281 math-barriers.h.
13282 (math_force_eval): Likewise.
13283
13284 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13285
13286 [BZ #22786]
13287 CVE-2018-11236
13288 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13289 computation.
13290 * stdlib/Makefile (test-bz22786): New test.
13291 * stdlib/test-bz22786.c: New test.
13292
13293 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13294
13295 * include/math-narrow-eval.h: New file. Contents moved from ....
13296 * sysdeps/generic/math_private.h: ... here.
13297 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13298 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13299 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13300 * stdlib/strtod_l.c: Likewise.
13301 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13302 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13303 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13304 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13305 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13306 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13307 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13308 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13310 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13311 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13312 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13313 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13314 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13315 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13316 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13317 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13318 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13319 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13320 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13321 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13322 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13323 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13324 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13325 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13326 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13327 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13328 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13329 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13330
13331 2018-05-08 Andreas Schwab <schwab@suse.de>
13332
13333 * sysdeps/nptl/internaltypes.h: Fix comment.
13334
13335 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13336
13337 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13338 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13339 hidden.
13340
13341 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13342
13343 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13344 of I into loop header.
13345 * benchtests/bench-memmove-walk.c
13346 (test_main): Likewise.
13347
13348 2018-05-07 Alexandre Oliva <oliva@gnu.org>
13349
13350 Revert:
13351 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13352 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13353
13354 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13355
13356 [BZ #20419]
13357 * elf/dl-load.c (open_verify): Fix stack overflow.
13358 * elf/Makefile (tst-big-note): New test.
13359 * elf/tst-big-note-lib.S: New.
13360 * elf/tst-big-note.c: New.
13361
13362 2018-05-04 Joseph Myers <joseph@codesourcery.com>
13363
13364 * scripts/abilist.awk: Ignore absolute symbols.
13365 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13366 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13367 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13368 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13369 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13370 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13371 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13372 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13373 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13374 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13375 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13376 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13377 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13378 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13379 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13380 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13381 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13382 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13383 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13384 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13385 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13386 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13387 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13388 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13389 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13390 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13391 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13392 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13393 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13394 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13395 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13396 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13397 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13398 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13399 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13400 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13401 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13402 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13403 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13404 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13405 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13406 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13407 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13408 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13409 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13410 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13411 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13412 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13413 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13414 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13415 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13416 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13417 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13418 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13419 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13420 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13421 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13422 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13423 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13424 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13425 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13426 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13427 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13428 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13429 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13430 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13431 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13432 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13433 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13434 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13435 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13436 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13437 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13438 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13439 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13440 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13441 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13442 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13443 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13444 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13445 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13446 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13447 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13448 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13449 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13450 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13451 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13452 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13453 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13454 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13455 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13456 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13457 Likewise.
13458 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13459 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13460 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13461 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13462 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13463 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13464 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13465 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13466 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13467 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13468 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13469 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13470 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13471 Likewise.
13472 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13473 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13474 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13475 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13476 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13477 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13478 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13479 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13480 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13481 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13482 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13483 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13484 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13485 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13486 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13487 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13488 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13489 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13490 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13491 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13492 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13493 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13494 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13495 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13496 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13497 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13498 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13499 Likewise.
13500 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13501 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13502 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13503 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13504 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13505 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13506 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13507 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13508 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13509 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13510 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13511 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13512 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13513 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13514 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13515 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13516 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13517 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13518 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13519 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13520 Likewise.
13521 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13522 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13523 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13524 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13525 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13526 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13527 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13528 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13529 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13530 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13531 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13532 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13533 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13534 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13535 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13536 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13537 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13538 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13539 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13540 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13541 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13542 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13543 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13544 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13545 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13546 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13547 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13548 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13553 Likewise.
13554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13559 Likewise.
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13561 Likewise.
13562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13564 Likewise.
13565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13567 Likewise.
13568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13569 Likewise.
13570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13573 Likewise.
13574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13575 Likewise.
13576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13577 Likewise.
13578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13582 Likewise.
13583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13589 Likewise.
13590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13592 Likewise.
13593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13594 Likewise.
13595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13596 Likewise.
13597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13598 Likewise.
13599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13602 Likewise.
13603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13604 Likewise.
13605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13606 Likewise.
13607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13608 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13609 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13610 Likewise.
13611 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13612 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13613 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13614 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13615 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13616 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13617 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13618 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13619 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13620 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13621 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13622 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13623 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13624 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13625 Likewise.
13626 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13627 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13628 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13629 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13630 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13631 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13632 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13633 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13634 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
13635 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
13636 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13637 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13638 Likewise.
13639 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13640 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
13641 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
13642 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13643 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
13644 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13645 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
13646 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
13647 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
13648 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
13649 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13650 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
13651 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
13652 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13653 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13654 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13655 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13656 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13657 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13658 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13659 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13660 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13661 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13662 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13663 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13664 Likewise.
13665 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13666 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13667 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13668 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13669 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13670 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13671 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13672 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13673 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13674 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13675 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13676 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13677 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13678 Likewise.
13679 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13680 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13681 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13682 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13683 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13684 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13685 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13686 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13687 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13688 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13689 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13690 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13691 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13692 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13693 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13694 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13695 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13696 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13697 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13698 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13699 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13700 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13701 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13702 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13703 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13704 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13705 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13706 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13707 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13708 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
13709 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
13710 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13711 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13712 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13713 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13714 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13715 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13716 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13717
13718 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13719
13720 [BZ #23137]
13721 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
13722 Use atomic_load_acquire to load __tid.
13723
13724 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13725
13726 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
13727 Restore the pointer into %rdx, after syscall and use %rdx,
13728 instead of %rsi, to restore context.
13729
13730 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13731
13732 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
13733 Pop the pointer into %rdx after syscall and use %rdx, instead
13734 of %rsi, to restore context.
13735
13736 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13737
13738 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
13739 handlers after setjmp.
13740 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
13741 defined.
13742 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
13743 <libc-pointer-arith.h>.
13744 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
13745 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
13746 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
13747 _JUMP_BUF_SIGSET_BITS_PER_WORD.
13748 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
13749 * sysdeps/x86/__longjmp_cancel.S: New file.
13750 * sysdeps/x86/longjmp.c: Likewise.
13751 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
13752
13753 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13754
13755 * NEWS: Add ustat.h deprecation entry.
13756 * bits/ustat.h: Remove file.
13757 * misc/sys/ustat.h: Likewise.
13758 * misc/ustat.h: Likewise.
13759 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13760 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13761 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13762 compatibility mode.
13763 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13764 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13765 generic Linux implementation.
13766
13767 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13768
13769 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13770 * math/w_expl_compat.c: Likewise.
13771 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13772
13773 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13774
13775 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13776
13777 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13778
13779 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13780 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13781 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13782 Remove.
13783 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13785 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13786 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13787 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13788 and SYSCALL_LL64.
13789
13790 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13791
13792 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13793
13794 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13795 * math/w_asin_template.c: Likewise.
13796 * math/w_atanh_template.c: Likewise.
13797
13798 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13799
13800 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13801 to powerpc/powerpc64/be for big-endian.
13802 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13803 little-endian.
13804
13805 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13806 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13807 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13808 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13809 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13810 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13811 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13812 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13813 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13814 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13815 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13816 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13817 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13818 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13819 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13820 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13821 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13822 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13823 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13824 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13825 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13826 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13827 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13828 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13829 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13830 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13831 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13832 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13833 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13834 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13835 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13836 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13837
13838 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13839 adjusted to imply powerpc64 and older processors on powerpc64/be.
13840 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13841 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13842 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13843 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13844 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13845 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13846 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13847 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13848 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13849 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13850 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13851 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13852 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13853 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13854 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13855 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13856 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13857 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13858 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13859 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13860 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13861 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13862 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13863 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13864 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13865 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13866 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13867 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13868 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13869 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13870 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13871
13872 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13873 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13874 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13875 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13876
13877 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13878 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13879 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13880 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13881
13882 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13883 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13884 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13885 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13886 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13887 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13888 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13889 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13890 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13891 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13892 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13893
13894 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13895 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13896 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13897 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13898 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13899 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13900 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13901 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13902 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13903 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13904 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13905
13906 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13907 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13908 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13909 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13910 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13911 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13912 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13913 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13914 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13915 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13916 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13917 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13918
13919 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13920 and adjusted to imply olders processors.
13921 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13922 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13923 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13924 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13925 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13926 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13927 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13928 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13929 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13930 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13931 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13932
13933 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13934 powerpc64/le.
13935 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13936 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13937
13938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13939 powerpc64le.
13940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13942
13943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13944 powerpc64/be.
13945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13948
13949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13950 powerpc64 and adjusted.
13951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13954 Likewise.
13955
13956 2018-04-27 Joseph Myers <joseph@codesourcery.com>
13957
13958 * sysdeps/tile: Remove.
13959 * sysdeps/unix/sysv/linux/tile: Likewise.
13960 * README (tilegx-*-linux-gnu): Remove from list of supported
13961 configurations.
13962 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13963 contribution of support for generic Linux kernel syscall
13964 interface.
13965 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13966 tilegx configurations.
13967 (Config.install_linux_headers): Do not handle tile.
13968 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13969 in comment.
13970 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13971 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13972 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13973 conditional undefine and redefine.
13974 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13975 in comment.
13976 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13977 conditional undefine and redefine.
13978
13979 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13980
13981 * signal/tst-sigaction.c: New file to test BZ #23069.
13982 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13983
13984 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13985
13986 [BZ #22766]
13987 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13988 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13989 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13990 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13991
13992 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13993
13994 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13995 _DIRENT_MATCHES_DIRENT64 is not defined.
13996 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13997 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13998 is defined.
13999 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14000 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14001
14002 2018-04-25 Joseph Myers <joseph@codesourcery.com>
14003
14004 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14005 version to GCC 8 branch.
14006
14007 2018-04-24 Joseph Myers <joseph@codesourcery.com>
14008
14009 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14010 (check_no_hidden): Use type of original function when declaring
14011 alias.
14012
14013 * sysdeps/unix/sysv/linux/sys/ptrace.h
14014 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14015 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14016 (struct __ptrace_seccomp_metadata): New type.
14017 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14018 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14019 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14020 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14021 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14022 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14023 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14024 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14025 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14026 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14027 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14028 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14029 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14030 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14031 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14032 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14033
14034 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14035
14036 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14037 defined.
14038 * dirent/versionsort.c (versionsort): Likewise.
14039 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14040 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14041 * dirent/versionsort64.c (versionsort64): Likewise.
14042 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14043 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14044 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14045 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14046 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14047 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14048 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14049 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14050 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14051 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14054 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14055 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14056
14057 2018-04-23 Joseph Myers <joseph@codesourcery.com>
14058
14059 * elf/elf.h (NT_PPC_PKEY): New macro.
14060
14061 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
14062
14063 [BZ #23094]
14064 * localedata/locales/hr_HR: fix thousands_sep and
14065 mon_thousands_sep
14066
14067 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14068
14069 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14070 (XTABS): Define to TAB3.
14071
14072 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14073
14074 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14075
14076 * dirent/scandir-tail-common.c: New file.
14077 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14078 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14079 * dirent/scandir.c: Use scandir-tail-common.c.
14080 * dirent/scandirat.c: Likewise.
14081 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14082 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14083 if _DIRENT_MATCHES_DIRENT64 is defined.
14084 * dirent/scandirat64.c (scandirat64): Likewise.
14085 * include/dirent.h (__scandir_tail): Only define iff
14086 _DIRENT_MATCHES_DIRENT64 is not defined.
14087 (__scandir64_tail): Define regardless.
14088 (__scandirat, scandirat64): Remove libc_hidden_proto.
14089 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14090 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14092 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14093 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14094 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14095 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14096
14097 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14098
14099 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14100 New macro.
14101 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14102 Increase to 24.
14103 (_dl_aarch64_cap_flags): Add asimdfhm.
14104
14105 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14106
14107 * sysdeps/nios2/libm-test-ulps: Update.
14108
14109 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14110
14111 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14112 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14113
14114 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14115 requirements.
14116 (_DIRENT_MATCHES_DIRENT64): Undef
14117 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14118 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14119 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14120 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14121 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14122 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14123 use getdents64 syscalls as base.
14124 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14125 symbol if required.
14126 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14127 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14128 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14129 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14130 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14131 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14132 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14133 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14134 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14135 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14136 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14137
14138 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14139
14140 * scripts/test_printers_common.py (init_test): Disable lock elision.
14141
14142 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14143
14144 * math/test-tgmath.c (count_double, count_float,
14145 count_ldouble, count_cdouble, count_cfloat,
14146 count_cldouble): Use volatile int.
14147
14148 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14149
14150 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14151 (conformtest-xfail-conds): Add i386-gnu.
14152 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
14153 i386-gnu.
14154 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14155 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14156 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14157 msqid_ds.msg_lrpid): Likewise.
14158 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14159 Likewise.
14160 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14161 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
14162 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14163 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14164 unsigned int.
14165 (struct statvfs64): Likewise.
14166 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14167 Likewise.
14168 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14169 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14170 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14171 instead of wait_queue.
14172 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14173 instead of vm_area_struct.
14174 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14175 struct sched_param definition to it.
14176 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14177 * bits/types/struct_sched_param.h: New file.
14178 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14179 <bits/types/struct_sched_param.h> instead of <sched.h>.
14180 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14181 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14182 generic version but include <bits/pthreadtypes.h> to make struct
14183 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14184 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14185 non-compliant.
14186 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14187 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14188 [__USE_XOPEN] (OFDEL): New macro.
14189 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14190 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14191 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14192 prototypes.
14193 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14194 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14195 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14196 non-compliant.
14197 * sysdeps/i386/sys/ucontext.h: Likewise.
14198 * sysdeps/m68k/sys/ucontext.h: Likewise.
14199 * sysdeps/mips/sys/ucontext.h: Likewise.
14200 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14201 * sysdeps/mach/hurd/i386/Makefile
14202 (test-xfail-POSIX/fcntl.h/conform): Add.
14203 (test-xfail-POSIX/signal.h/conform): Add.
14204 (test-xfail-POSIX/semaphore.h/conform): Add.
14205 (test-xfail-POSIX/regex.h/conform): Add.
14206 (test-xfail-POSIX/aio.h/conform): Add.
14207 (test-xfail-POSIX/mqueue.h/conform): Add.
14208 (test-xfail-POSIX/sys/types.h/conform): Add.
14209 (test-xfail-UNIX98/fcntl.h/conform): Add.
14210 (test-xfail-UNIX98/netdb.h/conform): Add.
14211 (test-xfail-UNIX98/signal.h/conform): Add.
14212 (test-xfail-UNIX98/semaphore.h/conform): Add.
14213 (test-xfail-UNIX98/regex.h/conform): Add.
14214 (test-xfail-UNIX98/aio.h/conform): Add.
14215 (test-xfail-UNIX98/ftw.h/conform): Add.
14216 (test-xfail-UNIX98/mqueue.h/conform): Add.
14217 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14218 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14219 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14220 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14221 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14222 (test-xfail-UNIX98/sys/types.h/conform): Add.
14223 (test-xfail-UNIX98/stdlib.h/conform): Add.
14224 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14225 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14226 (test-xfail-POSIX2008/netdb.h/conform): Add.
14227 (test-xfail-POSIX2008/signal.h/conform): Add.
14228 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14229 (test-xfail-POSIX2008/regex.h/conform): Add.
14230 (test-xfail-POSIX2008/aio.h/conform): Add.
14231 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14232 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14233 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14234 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14235 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14236 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14237 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14238 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14239 (test-xfail-XOPEN2K/signal.h/conform): Add.
14240 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14241 (test-xfail-XOPEN2K/regex.h/conform): Add.
14242 (test-xfail-XOPEN2K/aio.h/conform): Add.
14243 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14244 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14245 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14246 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14247 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14248 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14249 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14250 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14251 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14252 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14253 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14254 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14255 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14256 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14257 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14258 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14259 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14260 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14261 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14262 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14263 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14264 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14265 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14266 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14267 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14268 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
14269 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14270 i386-gnu.
14271 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14272 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
14273
14274 2018-04-18 Joseph Myers <joseph@codesourcery.com>
14275
14276 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14277 --enable-obsolete for powerpc-linux-gnuspe.
14278
14279 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14280
14281 * conform/data/sys/un.h-data: Allow sun_ prefix.
14282 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
14283 prototypes.
14284 * sysdeps/mach/include/mach.h: Likewise.
14285 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14286 * sysdeps/mach/include/mach_error.h: Likewise.
14287
14288 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14289
14290 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14291 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14292 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14293 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14294
14295 2018-04-16 Andreas Schwab <schwab@suse.de>
14296
14297 [BZ #19527]
14298 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14299
14300 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14301
14302 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14303 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14304
14305 2018-04-12 DJ Delorie <dj@redhat.com>
14306
14307 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14308 version to 4.16.
14309
14310 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14311
14312 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14313 (struct kernel_sigaction): Use the same definition on 31bit as is used
14314 on 64bit.
14315
14316 2018-04-09 Florian Weimer <fweimer@redhat.com>
14317
14318 [BZ #23037]
14319 * resolv/res_send.c (send_dg): Use designated initializers instead
14320 of assignment to zero-initialize other fields of struct mmsghdr.
14321
14322 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14323
14324 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14325 __READDIR_ALIAS): Undefine after usage.
14326 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14327 __READDIR_R_ALIAS): Likewise.
14328 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14329 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14330 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14331 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14332 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14333 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14334 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14335 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14336 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14337 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14338 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14339 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14340 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14341 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14342 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14343 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14344 * sysdeps/unix/sysv/linux/readdir.c: New file.
14345 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14346 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14347 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14348
14349 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14350
14351 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14352
14353 * manual/charset.texi (Converting a Character): Fix typo.
14354
14355 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14356
14357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14358
14359 * sysdeps/arm/libm-test-ulps: Update.
14360
14361 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14362 as base implementation.
14363 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14364 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14365 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14366 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14367 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14368 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14369 remove unrequired definitions and update comments.
14370 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14371 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14372 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14373 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14374 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14375 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14376 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14377 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14378 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14379 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14380 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14381 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14382 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14383 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14384 and RESET_SA_RESTORER hooks.
14385
14386 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14387
14388 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14389
14390 2018-04-05 Florian Weimer <fweimer@redhat.com>
14391
14392 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14393 integer overflow, memory leak on error, and indeterminate errno
14394 value. Add a null wide character to terminate the result string.
14395 * manual/charset.texi (Converting a Character): Mention embedded
14396 null bytes in the mbrtowc input string. Explain what happens in
14397 the -2 result case. Do not claim that mbrtowc is simple or
14398 obvious to use. Adjust the description of the code example. Use
14399 @code, not @var, for concrete variables.
14400
14401 2018-04-05 Florian Weimer <fweimer@redhat.com>
14402
14403 * manual/examples/mbstouwcs.c: New file.
14404 * manual/charset.texi (Converting a Character): Include it.
14405
14406 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14407
14408 * include/dirent.h (dirfd): Add hidden proto.
14409 * dirent/dirfd.c (dirfd): Add hidden def.
14410 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14411 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
14412
14413 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14414
14415 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14416 sin, cos and sincos to 1 ULP.
14417
14418 2018-04-04 Maciej W. Rozycki <macro@mips.com>
14419
14420 [BZ #19818]
14421 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14422 symbols.
14423 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14424 * elf/tst-absolute-sym.c: New file.
14425 * elf/tst-absolute-sym-lib.c: New file.
14426 * elf/tst-absolute-sym-lib.lds: New file.
14427 * elf/Makefile (tests): Add `tst-absolute-sym'.
14428 (modules-names): Add `tst-absolute-sym-lib'.
14429 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14430 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14431 ($(objpfx)tst-absolute-sym): New dependency.
14432
14433 [BZ #19818]
14434 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14435 parameter.
14436 (SYMBOL_ADDRESS): New macro.
14437 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14438 SYMBOL_ADDRESS for symbol address calculation.
14439 * elf/dl-runtime.c (_dl_fixup): Likewise.
14440 (_dl_profile_fixup): Likewise.
14441 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14442 * elf/rtld.c (dl_main): Likewise.
14443 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14444 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14445 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14446 (elf_machine_rela): Likewise.
14447 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14448 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14449 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14450 (elf_machine_rela): Likewise.
14451 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14452 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14453 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14454 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14455 Likewise.
14456 (elf_machine_reloc): Likewise.
14457 (elf_machine_got_rel): Likewise.
14458 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14459 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14460 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14461 Likewise.
14462 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14463 Likewise.
14464 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14465 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14466 Likewise.
14467 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14468 Likewise.
14469 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14470 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14471 Likewise.
14472 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14473 Likewise.
14474 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14475 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14476
14477 2018-04-04 Zack Weinberg <zackw@panix.com>
14478
14479 * sysdeps/generic/internal-signals.h: Include signal.h,
14480 sigsetops.h, and stdbool.h.
14481 (__libc_signal_block_all): Actually block all signals.
14482 (__libc_signal_block_app): Likewise.
14483 (__libc_signal_restore_set): Actually restore the signal mask.
14484
14485 2018-04-04 Florian Weimer <fweimer@redhat.com>
14486
14487 inet: Actually build and run tst-deadline.
14488 * inet/Makefile (tests-internal): Add tst-deadline and do not
14489 overwrite the variable.
14490 (tests-static-internal): Remove variable.
14491
14492 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14493
14494 [BZ #22947]
14495 * bits/uio-ext.h (RWF_APPEND): New.
14496 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14497 * manual/llio.texi: Document RWF_APPEND.
14498 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14499 (RWF_SUPPORTED): Add RWF_APPEND.
14500
14501 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14502
14503 [BZ #22391]
14504 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14505 check for internal nptl signals.
14506 * nptl/sigaction.c (__sigaction): Likewise.
14507 * signal/sigaddset.c (sigaddset): Likewise.
14508 * signal/sigdelset.c (sigdelset): Likewise.
14509 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14510 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14511 value.
14512 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14513 to filter out internal nptl signals.
14514 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14515 also check realtime signals using standard macros.
14516 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14517 __is_internal_signal, __libc_signal_block_all,
14518 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14519 * sysdeps/nptl/sigfillset.c: Remove file.
14520 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14521 Change return to bool.
14522 (__clear_internal_signals): Remove SIGTIMER clean since it is
14523 equal to SIGCANEL on Linux.
14524 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14525 signal set was constructed using standard functions.
14526
14527 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14528
14529 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14530 ifname is too long.
14531 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14532 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
14533 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14534 hidden def.
14535 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
14536 * signal/sigaddset.c: Include <sigsetopts.h>.
14537 * signal/sigdelset.c: Likewise.
14538
14539 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14540
14541 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14542 (__cos): Likewise.
14543 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14544 logic as sin and cos.
14545
14546 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14547
14548 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14549 inputs. Return correct sign.
14550 (do_sincos): Remove small input check before do_sin, let do_sin set
14551 the sign.
14552 (__sin): Likewise.
14553 (__cos): Likewise.
14554
14555 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14556
14557 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14558 (do_cos_slow): Likewise.
14559 (do_sin_slow): Likewise.
14560 (reduce_and_compute): Likewise.
14561 (slow): Likewise.
14562 (slow1): Likewise.
14563 (slow2): Likewise.
14564 (sloww): Likewise.
14565 (sloww1): Likewise.
14566 (sloww2): Likewise.
14567 (bslow): Likewise.
14568 (bslow1): Likewise.
14569 (bslow2): Likewise.
14570 (cslow2): Likewise.
14571
14572 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14573
14574 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14575 (do_cos): Remove corp parameter and calculations.
14576 (do_sin): Likewise.
14577 (do_sincos): Remove cor variable.
14578 (__sin): Use do_sincos for huge inputs.
14579 (__cos): Likewise.
14580 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14581 (reduce_and_compute_sincos): Remove unused function.
14582
14583 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14584
14585 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14586 reduce_sincos, improve accuracy to 136 bits.
14587 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14588 (__sin): Use improved reduction and simplified do_sincos calculation.
14589 (__cos): Likewise.
14590 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14591
14592 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14593
14594 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14595 (do_sincos_2): Likewise.
14596 (__sin): Remove middle range reduction case.
14597 (__cos): Likewise.
14598 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14599 reduction case.
14600
14601 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14602
14603 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14604 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14605 inputs.
14606 (__cos): Likewise.
14607 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14608
14609 2018-04-03 Joseph Myers <joseph@codesourcery.com>
14610
14611 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14612 version to 4.16
14613
14614 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14615
14616 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14617 Remove definitions.
14618 (opendir_oflags): Use O_DIRECTORY regardless.
14619 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14620 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14621
14622 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14623
14624 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14625 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14626 macros.
14627 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14628 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14629 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14630 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
14631 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14632 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
14633
14634 * htl/Makefile: Bump licence to LGPL 2.1+.
14635 * htl/alloca_cutoff.c: Likewise.
14636 * htl/cthreads-compat.c: Likewise.
14637 * htl/lockfile.c: Likewise.
14638 * htl/pt-alloc.c: Likewise.
14639 * htl/pt-cancel.c: Likewise.
14640 * htl/pt-cleanup.c: Likewise.
14641 * htl/pt-create.c: Likewise.
14642 * htl/pt-dealloc.c: Likewise.
14643 * htl/pt-detach.c: Likewise.
14644 * htl/pt-exit.c: Likewise.
14645 * htl/pt-getattr.c: Likewise.
14646 * htl/pt-initialize.c: Likewise.
14647 * htl/pt-internal.h: Likewise.
14648 * htl/pt-join.c: Likewise.
14649 * htl/pt-self.c: Likewise.
14650 * htl/pt-setcancelstate.c: Likewise.
14651 * htl/pt-setcanceltype.c: Likewise.
14652 * htl/pt-sigmask.c: Likewise.
14653 * htl/pt-spin-inlines.c: Likewise.
14654 * htl/pt-testcancel.c: Likewise.
14655 * htl/pt-yield.c: Likewise.
14656 * htl/tests/test-1.c: Likewise.
14657 * htl/tests/test-10.c: Likewise.
14658 * htl/tests/test-11.c: Likewise.
14659 * htl/tests/test-12.c: Likewise.
14660 * htl/tests/test-13.c: Likewise.
14661 * htl/tests/test-14.c: Likewise.
14662 * htl/tests/test-15.c: Likewise.
14663 * htl/tests/test-16.c: Likewise.
14664 * htl/tests/test-17.c: Likewise.
14665 * htl/tests/test-2.c: Likewise.
14666 * htl/tests/test-3.c: Likewise.
14667 * htl/tests/test-4.c: Likewise.
14668 * htl/tests/test-5.c: Likewise.
14669 * htl/tests/test-6.c: Likewise.
14670 * htl/tests/test-7.c: Likewise.
14671 * htl/tests/test-8.c: Likewise.
14672 * htl/tests/test-9.c: Likewise.
14673 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14674 * sysdeps/htl/bits/cancelation.h: Likewise.
14675 * sysdeps/htl/bits/pthread-np.h: Likewise.
14676 * sysdeps/htl/bits/pthread.h: Likewise.
14677 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14678 * sysdeps/htl/bits/semaphore.h: Likewise.
14679 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14680 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14681 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14682 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14683 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14684 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14685 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14686 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14687 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14688 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14689 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14690 * sysdeps/htl/old_pt-atfork.c: Likewise.
14691 * sysdeps/htl/pt-atfork.c: Likewise.
14692 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14693 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14694 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14695 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14696 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14697 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14698 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14699 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14700 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14701 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14702 * sysdeps/htl/pt-attr-init.c: Likewise.
14703 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14704 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14705 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14706 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14707 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14708 * sysdeps/htl/pt-attr-setscope.c: Likewise.
14709 * sysdeps/htl/pt-attr-setstack.c: Likewise.
14710 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
14711 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14712 * sysdeps/htl/pt-attr.c: Likewise.
14713 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14714 * sysdeps/htl/pt-barrier-init.c: Likewise.
14715 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14716 * sysdeps/htl/pt-barrier.c: Likewise.
14717 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14718 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14719 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14720 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
14721 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
14722 * sysdeps/htl/pt-cond-destroy.c: Likewise.
14723 * sysdeps/htl/pt-cond-init.c: Likewise.
14724 * sysdeps/htl/pt-cond-signal.c: Likewise.
14725 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
14726 * sysdeps/htl/pt-cond-wait.c: Likewise.
14727 * sysdeps/htl/pt-cond.c: Likewise.
14728 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
14729 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
14730 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
14731 * sysdeps/htl/pt-condattr-init.c: Likewise.
14732 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
14733 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
14734 * sysdeps/htl/pt-destroy-specific.c: Likewise.
14735 * sysdeps/htl/pt-equal.c: Likewise.
14736 * sysdeps/htl/pt-getconcurrency.c: Likewise.
14737 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
14738 * sysdeps/htl/pt-getschedparam.c: Likewise.
14739 * sysdeps/htl/pt-getspecific.c: Likewise.
14740 * sysdeps/htl/pt-init-specific.c: Likewise.
14741 * sysdeps/htl/pt-key-create.c: Likewise.
14742 * sysdeps/htl/pt-key-delete.c: Likewise.
14743 * sysdeps/htl/pt-key.h: Likewise.
14744 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
14745 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
14746 * sysdeps/htl/pt-mutex-init.c: Likewise.
14747 * sysdeps/htl/pt-mutex-lock.c: Likewise.
14748 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
14749 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
14750 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
14751 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
14752 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
14753 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
14754 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
14755 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
14756 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
14757 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
14758 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14759 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14760 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14761 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14762 * sysdeps/htl/pt-mutexattr.c: Likewise.
14763 * sysdeps/htl/pt-once.c: Likewise.
14764 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14765 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14766 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14767 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14768 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14769 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14770 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14771 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14772 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14773 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14774 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14775 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14776 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14777 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14778 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14779 * sysdeps/htl/pt-setschedparam.c: Likewise.
14780 * sysdeps/htl/pt-setschedprio.c: Likewise.
14781 * sysdeps/htl/pt-setspecific.c: Likewise.
14782 * sysdeps/htl/pt-spin.c: Likewise.
14783 * sysdeps/htl/pt-startup.c: Likewise.
14784 * sysdeps/htl/pthread.h: Likewise.
14785 * sysdeps/htl/sem-close.c: Likewise.
14786 * sysdeps/htl/sem-destroy.c: Likewise.
14787 * sysdeps/htl/sem-getvalue.c: Likewise.
14788 * sysdeps/htl/sem-init.c: Likewise.
14789 * sysdeps/htl/sem-open.c: Likewise.
14790 * sysdeps/htl/sem-post.c: Likewise.
14791 * sysdeps/htl/sem-timedwait.c: Likewise.
14792 * sysdeps/htl/sem-trywait.c: Likewise.
14793 * sysdeps/htl/sem-unlink.c: Likewise.
14794 * sysdeps/htl/sem-wait.c: Likewise.
14795 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14796 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14797 * sysdeps/mach/htl/pt-block.c: Likewise.
14798 * sysdeps/mach/htl/pt-spin.c: Likewise.
14799 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14800 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14801 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14802 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14803 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14804 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14805 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14806 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14807 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14808 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14809 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14810 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14811 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14812 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14813 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14814 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14815 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14816 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14817 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14818 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14819 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14820 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14821 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14822 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14823 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14824 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14825 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14826 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14827 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14828 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14829 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14830 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14831 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14832 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14833 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14834 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14835 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14836 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14837 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14838 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14839 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14840 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14841 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14842
14843 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14844 * README: Remove the mention of out-of-tree patches needed for
14845 GNU/Hurd.
14846
14847 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14848 (UTIME_NOW, UTIME_OMIT): Define macros.
14849
14850 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14851 instead of pthread_detach.
14852 (__cthread_fork): Call __pthread_create instead of pthread_create.
14853 (__cthread_keycreate): Call __pthread_key_create instead of
14854 pthread_key_create.
14855 (__cthread_getspecific): Call __pthread_getspecific instead of
14856 pthread_getspecific.
14857 (__cthread_setspecific): Call __pthread_setspecific instead of
14858 pthread_setspecific.
14859 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14860 __pthread_mutex_unlock instead of pthread_mutex_lock and
14861 pthread_mutex_unlock.
14862 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14863 ___pthread_get_cleanup_stack.
14864 (__pthread_get_cleanup_stack): New strong alias.
14865 * htl/pt-create.c: Include <pthreadP.h>.
14866 (entry_point): Call __pthread_exit instead of pthread_exit.
14867 (pthread_create): Rename to __pthread_create.
14868 (pthread_create): New strong alias.
14869 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14870 (pthread_detach): New strong alias.
14871 (__pthread_detach): Call __pthread_cond_broadcast instead of
14872 pthread_cond_broadcast.
14873 * htl/pt-exit.c: Include <pthreadP.h>.
14874 (__pthread_exit): Call __pthread_setcancelstate and
14875 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14876 __pthread_get_cleanup_stack.
14877 * htl/pt-testcancel.c: Include <pthreadP.h>.
14878 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14879 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14880 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14881 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14882 pthread_attr_getstacksize.
14883 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14884 Rename to __pthread_attr_getstackaddr.
14885 (pthread_attr_getstackaddr): New strong alias.
14886 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14887 Rename to __pthread_attr_getstacksize.
14888 (pthread_attr_getstacksize): New strong alias.
14889 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14890 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14891 (pthread_attr_setstack): New strong alias.
14892 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14893 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14894 pthread_attr_getstacksize, pthread_attr_setstacksize and
14895 pthread_attr_setstackaddr.
14896 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14897 Rename to __pthread_attr_setstackaddr.
14898 (pthread_attr_setstackaddr): New strong alias.
14899 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14900 Rename to __pthread_attr_setstacksize.
14901 (pthread_attr_setstacksize): New strong alias.
14902 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14903 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14904 pthread_exit.
14905 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14906 (__pthread_key_create): New hidden def.
14907 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14908 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14909 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14910 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14911 __pthread_setspecific, __pthread_setcancelstate,
14912 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14913 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14914 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14915 declarations.
14916 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14917 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14918 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14919 (pthread_attr_setstackaddr): New strong alias.
14920 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14921 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14922 (pthread_attr_setstacksize): New strong alias.
14923 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14924 (call_exit): Call __pthread_exit instead of pthread_exit.
14925 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14926 (_pthread_mutex_init): New hidden definition.
14927 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14928 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14929 instead of pthread_attr_init and pthread_attr_setstack.
14930
14931 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14932 __vm_deallocate instead of vm_allocate and vm_deallocate.
14933 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14934 setenv.
14935 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14936 of geteuid.
14937 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14938 strdup.
14939 * hurd/siginfo.c: Include <libioP.h>.
14940 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14941 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14942 munmap.
14943 * mach/devstream.c: Include <libioP.h>.
14944 (dealloc_ref): Call __mach_port_deallocate instead of
14945 mach_port_deallocate.
14946 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14947 Call __mach_port_deallocate instead of mach_port_deallocate.
14948 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14949 pathconf.
14950 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14951 munmap.
14952 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14953 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14954 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14955 of munmap.
14956 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14957 of close.
14958 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14959 instead of sysconf.
14960 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14961 __clock_gettime instead of clock_gettime.
14962 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14963 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14964 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14965 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14966 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14967 tcgetattr.
14968 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14969 __clock_gettime and __nanosleep instead of clock_gettime and
14970 nanosleep.
14971 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14972 __hurd_catch_signal.
14973 (hurd_catch_signal): New strong alias.
14974 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14975 __hurd_catch_signal instead of hurd_catch_signal.
14976 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14977 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14978 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14979 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14980 (_hurd_thread_sigstate): Add hidden def.
14981 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14982 mutex_unlock.
14983 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14984 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14985 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14986 __hurd_file_name_path_lookup.
14987 (hurd_file_name_path_lookup): New strong alias.
14988 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14989 hurd_file_name_path_lookup.
14990 * mach/errstring.c (mach_error_type): Add hidden def.
14991 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14992 * mach/mutex-init.c (__mutex_init): Add hidden def.
14993 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14994 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14995 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14996 * sysdeps/mach/hurd/getcwd.c
14997 (_hurd_canonicalize_directory_name_internal): Rename to
14998 __hurd_canonicalize_directory_name_internal.
14999 (_hurd_canonicalize_directory_name_internal): New strong alias.
15000 (__canonicalize_directory_name_internal, __getcwd): Call
15001 __hurd_canonicalize_directory_name_internal instead of
15002 _hurd_canonicalize_directory_name_internal.
15003 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15004 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15005 hidden defs.
15006 * sysdeps/hurd/include/hurd.h: New file.
15007 * sysdeps/hurd/include/hurd/fd.h: New file.
15008 * sysdeps/hurd/include/hurd/signal.h: New file.
15009 * sysdeps/mach/include/lock-intern.h: New file.
15010 * sysdeps/mach/include/mach.h: New file.
15011 * sysdeps/mach/include/mach/mig_support.h: New file.
15012 * sysdeps/mach/include/mach_error.h: New file.
15013 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15014 prototype.
15015 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15016 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15017 _HEADER_H_HIDDEN_DEF macro.
15018 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15019 _hurd_fd_error_signal): Add hidden prototype.
15020 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15021 hidden def.
15022 * libio/iolibio.h (_IO_puts): New hidden prototype.
15023 * libio/ioputs.c (_IO_puts): New hidden def.
15024 * sysdeps/mach/hurd/localplt.data: New file.
15025
15026 2018-04-02 Agustina Arzille <avarzille@riseup.net>
15027 Amos Jeffries <squid3@treenet.co.nz>
15028 David Michael <fedora.dm0@gmail.com>
15029 Marco Gerards <marco@gnu.org>
15030 Marcus Brinkmann <marcus@gnu.org>
15031 Neal H. Walfield <neal@gnu.org>
15032 Pino Toscano <toscano.pino@tiscali.it>
15033 Richard Braun <rbraun@sceen.net>
15034 Roland McGrath <roland@gnu.org>
15035 Samuel Thibault <samuel.thibault@ens-lyon.org>
15036 Thomas DiModica <ricinwich@yahoo.com>
15037 Thomas Schwinge <tschwinge@gnu.org>
15038
15039 * htl: New directory.
15040 * sysdeps/htl: New directory.
15041 * sysdeps/hurd/htl: New directory.
15042 * sysdeps/i386/htl: New directory.
15043 * sysdeps/mach/htl: New directory.
15044 * sysdeps/mach/hurd/htl: New directory.
15045 * sysdeps/mach/hurd/i386/htl: New directory.
15046 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15047 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15048 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15049
15050 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15051
15052 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15053 signals in thread created for runing timers.
15054
15055 2018-04-01 Florian Weimer <fweimer@redhat.com>
15056
15057 * support/support_format_addrinfo.c (support_format_addrinfo):
15058 Include unknown error number in formatted result.
15059
15060 2018-03-29 Florian Weimer <fweimer@redhat.com>
15061
15062 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15063 capture SIGBUS.
15064
15065 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15066
15067 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15068 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15069 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15070 (__ASSUME_CLONE_BACKWARDS): Define.
15071
15072 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15073
15074 [BZ #23024]
15075 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15076 early when linux sentinel value is set.
15077
15078 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15079
15080 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15081
15082 2018-03-27 Andreas Schwab <schwab@suse.de>
15083
15084 [BZ #23005]
15085 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15086 allocation of private copy of nsaddr_list fails.
15087
15088 2018-03-26 Joseph Myers <joseph@codesourcery.com>
15089
15090 [BZ #16552]
15091 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15092 * sysdeps/unix/sysv/linux/umount.c: ... here.
15093 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15094 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15095 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15096 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15098 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15099 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15100
15101 2018-03-26 Andreas Schwab <schwab@suse.de>
15102
15103 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15104 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15105 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15106 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15107 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15108 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15109 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15110 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15111 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15112 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15113 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15114 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15115 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15116 (R_RISCV_NUM): Define.
15117
15118 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15119
15120 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15121 TLS declaration of errno.
15122 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15123 __libc_setup_tls.
15124 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15125 (ARCH_SETUP_TLS): Likewise.
15126 * sysdeps/mach/hurd/libc-start.h: New file copied from
15127 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
15128 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15129 instead of __libc_setup_tls.
15130 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
15131 __libc_setup_tls before initializing libpthread and running _hurd_init
15132 which starts the signal thread.
15133 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15134 Declare function.
15135 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15136
15137 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15138
15139 [BZ #22998]
15140 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15141 after it is defined.
15142
15143 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15144 Max Horn <max@quendi.de>
15145
15146 [BZ #22644]
15147 CVE-2017-18269
15148 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15149 branch conditions.
15150 * string/test-memmove.c (do_test2): New testcase.
15151
15152 2018-03-22 Joseph Myers <joseph@codesourcery.com>
15153
15154 * sysdeps/generic/frame.h: Remove file.
15155 * sysdeps/arm/frame.h: Likewise.
15156 * sysdeps/hppa/frame.h: Likewise.
15157 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15158 macro.
15159 (GET_FRAME): Likewise.
15160 (GET_STACK): Likewise.
15161 (CALL_SIGHANDLER): Likewise.
15162 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15163 Likewise.
15164 (GET_FRAME): Likewise.
15165 (GET_STACK): Likewise.
15166 (CALL_SIGHANDLER): Likewise.
15167 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15168 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15169 (GET_FRAME): Likewise.
15170 (GET_STACK): Likewise.
15171 (CALL_SIGHANDLER): Likewise.
15172 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15173 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15174 (GET_FRAME): Likewise.
15175 (GET_STACK): Likewise.
15176 (ADVANCE_STACK_FRAME): Likewise.
15177 (CALL_SIGHANDLER): Likewise.
15178 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15179 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15180 (GET_FRAME): Likewise.
15181 (GET_STACK): Likewise.
15182 (CALL_SIGHANDLER): Likewise.
15183 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15184 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15185 (GET_FRAME): Likewise.
15186 (GET_STACK): Likewise.
15187 (CALL_SIGHANDLER): Likewise.
15188 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15189 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15190 (GET_FRAME): Likewise.
15191 (GET_STACK): Likewise.
15192 (CALL_SIGHANDLER): Likewise.
15193 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15194 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15195 (GET_FRAME): Likewise.
15196 (GET_STACK): Likewise.
15197 (CALL_SIGHANDLER): Likewise.
15198 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15199 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15200 (GET_FRAME): Likewise.
15201 (GET_STACK): Likewise.
15202 (CALL_SIGHANDLER): Likewise.
15203 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15204 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15205 (GET_FRAME): Likewise.
15206 (GET_STACK): Likewise.
15207 (CALL_SIGHANDLER): Likewise.
15208 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15209 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15210 (GET_FRAME): Likewise.
15211 (GET_STACK): Likewise.
15212 (CALL_SIGHANDLER): Likewise.
15213 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15214 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15215 (GET_FRAME): Likewise.
15216 (GET_STACK): Likewise.
15217 (CALL_SIGHANDLER): Likewise.
15218 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15219 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15220 (GET_FRAME): Likewise.
15221 (GET_STACK): Likewise.
15222 (CALL_SIGHANDLER): Likewise.
15223 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15224 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15225 (FIRST_FRAME_POINTER): Likewise.
15226 (ADVANCE_STACK_FRAME): Likewise.
15227 (GET_STACK): Likewise.
15228 (GET_FRAME): Likewise.
15229 (CALL_SIGHANDLER): Likewise.
15230 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15231 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15232 (ADVANCE_STACK_FRAME): Likewise.
15233 (GET_STACK): Likewise.
15234 (GET_FRAME): Likewise.
15235 (CALL_SIGHANDLER): Likewise.
15236 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15237 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15238 (GET_FRAME): Likewise.
15239 (GET_STACK): Likewise.
15240 (CALL_SIGHANDLER): Likewise.
15241 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15242 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15243 (GET_FRAME): Likewise.
15244 (GET_STACK): Likewise.
15245 (CALL_SIGHANDLER): Likewise.
15246
15247 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15248
15249 * sysdeps/x86_64/backtrace.c: Move to ....
15250 * debug/backtrace.c: ... here.
15251 * sysdeps/aarch64/backtrace.c: Remove file.
15252 * sysdeps/alpha/backtrace.c: Likewise.
15253 * sysdeps/hppa/backtrace.c: Likewise.
15254 * sysdeps/ia64/backtrace.c: Likewise.
15255 * sysdeps/mips/backtrace.c: Likewise.
15256 * sysdeps/nios2/backtrace.c: Likewise.
15257 * sysdeps/riscv/backtrace.c: Likewise.
15258 * sysdeps/sh/backtrace.c: Likewise.
15259 * sysdeps/tile/backtrace.c: Likewise.
15260
15261 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15262
15263 [BZ #22987]
15264 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15265 function.
15266 (fdimf): Likewise.
15267 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15268
15269 [BZ #17343]
15270 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15271 possibly overflowing computations.
15272
15273 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15274
15275 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15276 values from Linux-specific section now that it is in the GNU section.
15277 * sysdeps/gnu/errlist.c: Regenerate.
15278
15279 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15280
15281 * math/Makefile (libm-narrow-fns): Add sub.
15282 (libm-test-funcs-narrow): Likewise.
15283 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15284 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15285 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15286 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15287 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15288 (NARROW_SUB_TRIVIAL): Likewise.
15289 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15290 macro.
15291 (__dsubl): Likewise.
15292 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15293 dsub.
15294 (CFLAGS-nldbl-dsub.c): New variable.
15295 (CFLAGS-nldbl-fsub.c): Likewise.
15296 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15297 __nldbl_dsubl.
15298 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15299 prototype.
15300 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15301 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15302 * math/auto-libm-test-in: Add tests of sub.
15303 * math/auto-libm-test-out-narrow-sub: New generated file.
15304 * math/libm-test-narrow-sub.inc: New file.
15305 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15306 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15307 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15308 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15309 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15310 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15311 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15312 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15313 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15314 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15315 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15316 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15317 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15318 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15319 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15320 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15321 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15322 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15324 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15325 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15326 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15327 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15328 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15329 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15330 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15331 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15332 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15333 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15334 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15335 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15336 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15341 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15342 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15343 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15344 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15345 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15346 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15347 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15348 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15349 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15350 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15351
15352 2018-03-19 Joseph Myers <joseph@codesourcery.com>
15353
15354 [BZ #20079]
15355 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15356
15357 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15358
15359 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15360
15361 2018-03-18 Richard Braun <rbraun@sceen.net>
15362
15363 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15364 thread reference.
15365
15366 2018-03-18 Agustina Arzille <avarzille@riseup.net>
15367
15368 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15369 (__libc_cleanup_fct): Define function.
15370 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15371 __libc_cleanup_end): Rewrite implementation using
15372 __attribute__ ((__cleanup__)).
15373 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
15374 * hurd/Makefile (routines): Add hurdlock.
15375 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15376 interface.
15377 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15378 * hurd/hurdpid.c: Include <lowlevellock.h>
15379 (_S_msg_proc_newids): Use lll_wait to synchronize.
15380 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15381 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15382 * mach/Makefile (lock-headers): Remove machine-lock.h.
15383 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15384 <machine-lock.h>.
15385 (__spin_lock_t): New type.
15386 (__SPIN_LOCK_INITIALIZER): New macro.
15387 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15388 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15389 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15390 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15391 (__mutex_init): Initialize with lll.
15392 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15393 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15394 needing lll.
15395 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15396 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15397 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15398 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15399 (__setpgid): Use lll for synchronization.
15400 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15401 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15402 instead of <cthreads.h>.
15403 (_IO_lock_inexpensive): New macro
15404 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15405 (__libc_lock_self0): New declaration.
15406 (__libc_lock_owner_self): New macro.
15407 (__libc_key_t): Remove type.
15408 (_LIBC_LOCK_INITIALIZER): New macro.
15409 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15410 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15411 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15412 __libc_lock_define_initialized_recursive,
15413 __rtld_lock_define_initialized_recursive,
15414 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15415 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15416 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15417 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15418 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15419 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15420 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15421 New macros.
15422 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15423 * hurd/hurdlock.c: New file.
15424 * hurd/hurdlock.h: New file.
15425 * mach/lowlevellock.h: New file
15426
15427 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15428
15429 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
15430 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15431 when opening a symlink with O_NOFOLLOW.
15432 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15433 path when flags contains O_NOFOLLOW.
15434 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15435 if flags contains O_DIRECTORY and the result is a directory.
15436 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15437 oneself when the pointer given in D is nul (as set by ext2fs).
15438 * sysdeps/mach/hurd/mlockall.c: New file.
15439 * sysdeps/mach/hurd/munlockall.c: New file.
15440
15441 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15442
15443 * hurd/hurdsig.c: Include <pthread.h>.
15444 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15445 get the signal thread stack layout.
15446 * hurd/Makefile (headers): Remove threadvar.h.
15447 (inline-headers): Remove threadvar.h.
15448 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15449 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15450 __hurd_threadvar_max, __hurd_errno_location.
15451 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15452 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15453 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15454 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15455 unless TLS is not initialized yet, in which case we do not need a
15456 critical section yet anyway.
15457 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15458 <machine-sp.h>.
15459 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15460 declarations.
15461 (__hurd_threadvar_index): Remove enum.
15462 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15463 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15464 inlines.
15465 (__hurd_reply_port0): New variable declaration.
15466 (__hurd_local_reply_port): New macro.
15467 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15468 (interrupted_reply_port_location): Add thread_t parameter. Use it
15469 with THREAD_TCB to access thread-local variables.
15470 (_hurdsig_abort_rpcs): Pass ss->thread to
15471 interrupted_reply_port_location.
15472 (_hurd_internal_post_signal): Likewise.
15473 (_hurdsig_init): Use presence of cthread_fork instead of
15474 __hurd_threadvar_stack_mask to start signal thread by hand.
15475 Remove signal thread threadvar initialization.
15476 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15477 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15478 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15479 of threadvar.
15480 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15481 __libc_lock_self0.
15482 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15483 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15484 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15485 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15486 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15487 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15488 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15489 define variables.
15490 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15491 <hurd/threadvar.h>.
15492 [IS_IN(rtld)] (rtld_errno): New variable.
15493 [IS_IN(rtld)] (__errno_location): New weak function.
15494 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15495 * sysdeps/mach/hurd/errno.c: Remove file.
15496 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15497 (__fork): Remove THREADVAR_SPACE macro and its use.
15498 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15499 variable.
15500 (init): Do not initialize threadvar.
15501 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15502 symbol.
15503 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15504 __hurd_local_reply_port instead of threadvar.
15505 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15506 _hurd_sigstate fields.
15507 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15508 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15509 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15510 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15511 instead of threadvar.
15512 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15513 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15514 (use_threadvar, global_reply_port): Remove variables.
15515 (__hurd_reply_port0): New variable.
15516 (__mig_get_reply_port): Use __hurd_local_reply_port and
15517 __hurd_reply_port0 instead of threadvar.
15518 (__mig_dealloc_reply_port): Likewise.
15519 (__mig_init): Do not initialize threadvar.
15520 * sysdeps/mach/hurd/profil.c: Fix comment.
15521 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15522 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15523 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15524 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15525 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15526 __cthread_setspecific.
15527 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15528 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15529 __cthread_t instead of cthread_fork, cthread_detach,
15530 pthread_getattr_np, pthread_attr_getstack.
15531 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15532 __cthread_keycreate.
15533 (cthread_getspecific): Rename to __cthread_getspecific.
15534 (cthread_setspecific): Rename to __cthread_setspecific.
15535 (__libc_getspecific): Use __cthread_getspecific instead of
15536 cthread_getspecific.
15537 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15538 __cthread_keycreate instead of cthread_keycreate.
15539 (__libc_setspecific): Use __cthread_setspecific instead of
15540 cthread_setspecific.
15541 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15542 Likewise.
15543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15544 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15545 testing whether it is defined.
15546
15547 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15548
15549 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15550 Define macro.
15551 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15552 * sysdeps/mach/i386/thread_state.h
15553 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15554 i386_THREAD_STATE.
15555 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15556 i386_THREAD_STATE.
15557 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15558
15559 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15560 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15561
15562 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15563 macros.
15564 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15565 descriptor instead of creating a new one.
15566 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15567
15568 * mach/setup-thread.c: Include <ldsodefs.h>.
15569 (__mach_setup_thread): Call _dl_allocate_tls, pass
15570 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15571 MACHINE_THREAD_STATE_FLAVOR, before getting
15572 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15573 MACHINE_THREAD_STATE_FLAVOR with the result.
15574 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15575 MACHINE_THREAD_STATE_FIX_NEW.
15576 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15577 too. Add original thread parameter.
15578
15579 2018-03-16 Joseph Myers <joseph@codesourcery.com>
15580
15581 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15582 Remove inline function.
15583
15584 * sysdeps/i386/fpu/libm-test-ulps: Update.
15585 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15586
15587 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15588
15589 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15590 commit.
15591
15592 2018-03-15 Joseph Myers <joseph@codesourcery.com>
15593
15594 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15595 (__sincos_code): Remove define and undefine.
15596 [__FAST_MATH__] (__sincos): Remove inline function.
15597 [__FAST_MATH__] (__sincosf): Remove inline function.
15598 [__FAST_MATH__] (__sincosl): Remove inline function.
15599 (__atan2l): Remove inline functions.
15600 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15601 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15602 function.
15603 (floor): Remove inline function.
15604 (ceil): Likewise.
15605 [__FAST_MATH__] (__ldexp_code): Remove macro.
15606 [__FAST_MATH__] (ldexp): Remove inline function.
15607 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15608 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15609 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15610 [__USE_ISOC99] (__lrint_code): Remove macro.
15611 [__USE_ISOC99] (__llrint_code): Likewise.
15612 [__USE_ISOC99] (lrintf): Remove inline function.
15613 [__USE_ISOC99] (lrint): Likewise.
15614 [__USE_ISOC99] (lrintl): Likewise.
15615 [__USE_ISOC99] (llrint): Likewise.
15616 [__USE_ISOC99] (llrintf): Likewise.
15617 [__USE_ISOC99] (llrintl): Likewise.
15618
15619 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15620
15621 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15622 (__ieee754_sqrtf): Remove.
15623 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15624 (__ieee754_sqrtf): Remove.
15625 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15626 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15627 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15628 (__ieee754_sqrtf): Remove.
15629 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15630 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15631 (sqrtf): Remove.
15632 (sqrtl): Remove.
15633 (__ieee754_sqrt): Remove.
15634 (__ieee754_sqrtf): Remove.
15635 (__ieee754_sqrtl): Remove.
15636 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15637 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
15638 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
15639 (__ieee754_sqrtf): Remove.
15640 (__ieee754_sqrtl): Remove.
15641
15642 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15643
15644 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
15645 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15646 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15647 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
15648 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
15649 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15650 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15651 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15652 Likewise.
15653 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15654 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15655 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15656 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15657 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15658 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15659 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15660 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15661 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15662 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15663 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15664 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15665 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15666 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15667 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15668 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15669 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15670 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15671 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15672 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15673 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15674 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15675 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15676 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15677 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15678 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15679 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15680 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15681 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15682 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15683 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15684 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15685 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15686 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15687 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15688 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15689 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15690 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15691 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15692 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15693
15694 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15695
15696 * include/math.h (sqrt): Declare with asm redirect.
15697 (sqrtf): Likewise.
15698 (sqrtl): Likewise.
15699 (sqrtf128): Likewise.
15700 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15701 nonlib and libnldbl with -fmath-errno.
15702 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15703 * math/w_sqrt_template.c: Likewise.
15704 * math/w_sqrtf_compat.c: Likewise.
15705 * math/w_sqrtl_compat.c: Likewise.
15706 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15707 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15708 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
15709 complex.h.
15710
15711 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15712
15713 * benchtests/Makefile: Define _ISOMAC.
15714 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15715 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15716 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15717 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15718 * benchtests/bench-timing.h: Define attribute_hidden.
15719
15720 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
15721
15722 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
15723 mov + lsr.
15724
15725 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15726
15727 [BZ #22963]
15728 * localedata/locales/cs_CZ (mon): Rename to...
15729 (alt_mon): This.
15730 (mon): Import from CLDR (genitive case).
15731
15732 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15733
15734 [BZ #22937]
15735 * localedata/locales/el_CY (abmon): Rename to...
15736 (ab_alt_mon): This.
15737 (abmon): Import from CLDR (abbreviated genitive case).
15738 * localedata/locales/el_GR (abmon): Rename to...
15739 (ab_alt_mon): This.
15740 (abmon): Import from CLDR (abbreviated genitive case).
15741
15742 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15743
15744 [BZ #22932]
15745 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
15746
15747 2018-03-15 Robert Buj <robert.buj@gmail.com>
15748
15749 [BZ #22848]
15750 * localedata/locales/ca_ES (abmon): Rename to...
15751 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15752 (mon): Rename to...
15753 (alt_mon): This.
15754 (abmon): Import from CLDR (genitive case, month names preceded by
15755 "de" or "d’").
15756 (mon): Likewise.
15757 (abday): Synchronize with CLDR.
15758 (d_t_fmt): Likewise.
15759 (d_fmt): Likewise.
15760 (am_pm): Likewise.
15761
15762 (LC_TIME): Improve indentation.
15763 (LC_TELEPHONE): Likewise.
15764 (LC_NAME): Likewise.
15765 (LC_ADDRESS): Likewise.
15766
15767 2018-03-14 Joseph Myers <joseph@codesourcery.com>
15768
15769 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15770 (lrintf): Remove definitions used only with old GCC.
15771 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15772 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15773 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15774 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15775 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15776 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15777 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15778 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15779 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15780 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15781 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15782 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15783 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15784 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15785 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15786 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15787 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15788 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15789 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15790 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15791 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15792 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15793 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15794 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15795 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15796 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15797 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15798 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15799
15800 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15801
15802 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15803 instruction to unbreak builds with binutils 2.26 and older.
15804
15805 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15806
15807 * sysdeps/aarch64/strncmp.S (count): New macro.
15808 (strncmp): Store misaligned length in SRC1 in COUNT.
15809 (mutual_align): Adjust.
15810 (misaligned8): Load dword at a time when it is safe.
15811
15812 2018-03-12 Zack Weinberg <zackw@panix.com>
15813
15814 [BZ #1190]
15815 [BZ #19476]
15816 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15817 if the _IO_EOF_SEEN bit is already set; update commentary.
15818 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15819 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15820
15821 * support/support_openpty.c, support/tty.h: New files.
15822 * support/Makefile (libsupport-routines): Add support_openpty.
15823
15824 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15825 New test cases.
15826 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15827 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15828
15829 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15830
15831 * po/pt_BR.po: Update translations.
15832
15833 2018-03-12 David Michael <fedora.dm0@gmail.com>
15834
15835 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15836 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15837 get a port to the startup server.
15838
15839 2018-03-11 Zack Weinberg <zackw@panix.com>
15840
15841 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15842 before nldbl-compat.h.
15843
15844 2018-03-10 Zack Weinberg <zackw@panix.com>
15845
15846 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15847 math.h or math_private.h.
15848
15849 * sysdeps/alpha/fpu/s_isnan.c
15850 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15851 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15852 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15853 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15854 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15855 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15856 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15857 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15858 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15861 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15862 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15863 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15864 Include math_private.h.
15865
15866 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15867 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15868 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15869 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15870 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15871 * sysdeps/powerpc/power7/fpu/s_logb.c:
15872 Include math.h and math_private.h.
15873
15874 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15875 uses of $at in .set noat / .set at.
15876
15877 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15878
15879 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15880 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15881 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15882 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15883 Likewise.
15884
15885 2018-03-09 Florian Weimer <fweimer@redhat.com>
15886
15887 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15888 in comment.
15889
15890 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15891
15892 [BZ #22919]
15893 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15894 Add nop before __startcontext, add explaining comments.
15895
15896 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15897
15898 [BZ #22926]
15899 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15900 empty for __SPE__.
15901 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15902 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15903 Do not build hardware transactional code for __SPE__.
15904 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15905 (__lll_trylock_elision): Likewise.
15906 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15907 (__lll_unlock_elision): Likewise.
15908
15909 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
15910 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15911 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15912 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15913 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15914 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15915 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15916 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15917 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15918 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15919 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15920 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15921 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15922 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15923 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15924 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15925 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15926 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15927 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15928 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15929 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15930 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15931 (__ASSUME_CLONE_BACKWARDS): Define.
15932 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15933 __clone2 if __NR_clone2 is defined.
15934 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15935 (__ASSUME_CLONE_BACKWARDS): Likewise.
15936 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15937 (__ASSUME_CLONE_BACKWARDS): Likewise.
15938 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15939 (__ASSUME_CLONE2): Likewise.
15940 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15941 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15942 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15943 variants and the define architecture can use.
15944 (__ASSUME_CLONE_DEFAULT): Define as default.
15945 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15946 (__ASSUME_CLONE_BACKWARDS): Likewise.
15947 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15948 (__ASSUME_CLONE_BACKWARDS): Likewise.
15949 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15950 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15951
15952 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15953
15954 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15955
15956 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15957 time.
15958
15959 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15960 (do_test_limit): Likewise.
15961
15962 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15963 for every implementation.
15964 (do_test): Likewise.
15965
15966 * benchtests/bench-strncmp.c: Convert output to json.
15967
15968 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15969
15970 * io/futimens.c: Add missing start-of-file descriptive comment.
15971 * io/utime.c: Likewise.
15972 * misc/futimesat.c: Likewise.
15973 * misc/utimes.c: Likewise.
15974 * sysdeps/mach/hurd/futimesat.c: Likewise.
15975 * sysdeps/mach/hurd/utimes.c: Likewise.
15976 * sysdeps/posix/utime.c: Likewise.
15977 * sysdeps/posix/utimes.c: Likewise.
15978 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15979 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15980 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15981 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15982
15983 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15984
15985 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15986 hurd_futimes.
15987 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15988 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15989 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15990 (__futimens): Move implementation to...
15991 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15992 utime_tvalue_from_tspec): ... new helper functions.
15993 (hurd_futimens): New function.
15994 * sysdeps/mach/hurd/futimesat.c: New file.
15995 * sysdeps/mach/hurd/utimensat.c: New file.
15996
15997 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15998
15999 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16000 UTIME_OMIT): New macros.
16001 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16002 before reverting to converting time spec to time value and calling
16003 __file_utimes.
16004 * sysdeps/mach/hurd/utime-helper.c: New file.
16005 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16006 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16007 reverting to utime_tvalue_from_tval and __file_utimes.
16008 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16009 (__lutimes): Just call hurd_futimens after lookup.
16010 * sysdeps/mach/hurd/utimes.c: Likewise.
16011
16012 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16013
16014 * bits/sigaction.h: Add include guard.
16015 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16016 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16017 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16018 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16019 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16020 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16021 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16022 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16023 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16024
16025 2018-03-05 Joseph Myers <joseph@codesourcery.com>
16026
16027 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16028 -Wmaybe-uninitialized for -Os.
16029 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16030 this disabling.
16031
16032 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16033
16034 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16035 __INO_T_MATCHES_INO64_T is defined.
16036 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16037 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16038 of definition.
16039 * dirent/alphasort64.c: Likewise.
16040 * dirent/scandir.c: Likewise.
16041 * dirent/scandir64-tail.c: Likewise.
16042 * dirent/scandir64.c: Likewise.
16043 * dirent/scandirat.c: Likewise.
16044 * dirent/scandirat64.c: Likewise.
16045 * dirent/versionsort.c: Likewise.
16046 * dirent/versionsort64.c: Likewise.
16047 * include/dirent.h: Likewise.
16048
16049 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16050 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16051 for socketpair endpoint.
16052 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16053 WRITE_BUFFER_SIZE as buffer size for sending socket.
16054 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16055 issue on system where send is implemented with sendto syscall.
16056 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16057 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16058 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16059 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16060
16061 [BZ #21269]
16062 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16063 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16064 sa_restorer for vDSO case.
16065 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16066
16067 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16068
16069 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
16070 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16071 * hurd/hurd/ioctl.h: Include <mach/port.h>
16072 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
16073 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16074 <mach/mach_types.h> and <mach/message.h>.
16075 (headers): Move mach/param.h to bits/mach/param.h.
16076 * sysdeps/mach/i386/mach/param.h: Move file to ...
16077 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16078 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16079 of <mach/param.h>.
16080 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16081 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16082 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
16083 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16084 trivial, for C++ conformity.
16085 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
16086 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16087 Process mig output through $(migheadersed).
16088 * hurd/Makefile (migheadersed): Define variable.
16089 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16090 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16091 headers.
16092 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16093 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16094 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16095 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16096 <bits/types/sigset_t.h>.
16097 [!defined __USE_GNU]: Do not #error out.
16098 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16099 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16100 Include <stddef.h> and <bits/types/sigset_t.h>
16101 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16102 instead of sighandler_t.
16103 * stdlib/errno.h (error_t): Move definition to...
16104 * bits/types/error_t.h: ... new header.
16105 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16106 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16107 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16108 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16109 * hurd/hurd.h: Include <bits/types/error_t.h>
16110 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16111 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16112 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16113 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16114 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16115 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
16116 * sysdeps/mach/hurd/futimens.c: New file.
16117
16118 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16119
16120 [BZ #22918]
16121 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16122 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16123 * nscd/gai.c (__nss_hosts_database): Readd definition.
16124 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16125 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16126 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16127
16128 2018-03-02 Joseph Myers <joseph@codesourcery.com>
16129
16130 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16131 (ifunc_one): Likewise.
16132
16133 2018-03-01 DJ Delorie <dj@delorie.com>
16134
16135 [BZ #22342]
16136 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16137 key value.
16138
16139 2018-03-01 Maciej W. Rozycki <macro@mips.com>
16140
16141 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16142 `match_pid' parameter.
16143 (td_ta_thr_iter): Update accordingly.
16144
16145 2018-03-01 Florian Weimer <fweimer@redhat.com>
16146
16147 * nptl/Makefile (install-lib-ldscripts): Remove.
16148 (install): Remove rule.
16149 ($(inst_libdir)/libpthread.so): Likewise.
16150
16151 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16152
16153 [BZ #22896]
16154 * localedata/locales/an_ES: update month and day names,
16155 improve d_fmt, improve postal_fmt, add country_post,
16156 add country_isbn
16157
16158 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16159
16160 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16161 Ukrainian instead of Bulgarian.
16162
16163 2018-03-01 Florian Weimer <fweimer@redhat.com>
16164
16165 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16166 reference.
16167
16168 2018-03-01 Florian Weimer <fweimer@redhat.com>
16169
16170 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16171 * nptl/Makefile (routines): Add pthread_atfork.
16172 (static-only-routines): Set to pthread_atfork.
16173 (libpthread-routines): Remove pthread_atfork.
16174 (libpthread-static-only-routines): Remove.
16175 (install): Update comment.
16176 (libpthread.so): Do not install libpthread_nonshared.a.
16177 (tests): Do not link with libpthread_nonshared.a.
16178 (generated): Remove libpthread_nonshared.a.
16179 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16180 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16181 with libpthread_nonshared.a.
16182
16183 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16184
16185 [BZ #22902]
16186 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16187 (libc_feholdexcept_setroundf128): New macro.
16188 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16189
16190 [BZ #15105]
16191 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16192 libc_hidden_def.
16193 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16194 * include/inttypes.h: New file.
16195
16196 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16197
16198 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16199 -Os in two more places.
16200
16201 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16202
16203 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16204 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16205 be sorted correctly at the moment because of a bug.
16206
16207 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16208
16209 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16210 treat ñ as a primary different character, sync the collation
16211 for Spanish with CLDR.
16212 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16213 * localedata/Makefile: Add new test files.
16214 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16215 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16216 collation order.
16217 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16218 * localedata/am_ET.UTF-8.in: New test file.
16219 * localedata/az_AZ.UTF-8.in: Likewise.
16220 * localedata/be_BY.UTF-8.in: Likewise.
16221 * localedata/ber_DZ.UTF-8.in: Likewise.
16222 * localedata/ber_MA.UTF-8.in: Likewise.
16223 * localedata/bg_BG.UTF-8.in: Likewise.
16224 * localedata/br_FR.UTF-8.in: Likewise.
16225 * localedata/cmn_TW.UTF-8.in: Likewise.
16226 * localedata/crh_UA.UTF-8.in: Likewise.
16227 * localedata/csb_PL.UTF-8.in: Likewise.
16228 * localedata/cv_RU.UTF-8.in: Likewise.
16229 * localedata/cy_GB.UTF-8.in: Likewise.
16230 * localedata/dz_BT.UTF-8.in: Likewise.
16231 * localedata/eo.UTF-8.in: Likewise.
16232 * localedata/es_ES.UTF-8.in: Likewise.
16233 * localedata/fa_IR.UTF-8.in: Likewise.
16234 * localedata/fi_FI.UTF-8.in: Likewise.
16235 * localedata/fil_PH.UTF-8.in: Likewise.
16236 * localedata/fur_IT.UTF-8.in: Likewise.
16237 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16238 * localedata/ha_NG.UTF-8.in: Likewise.
16239 * localedata/ig_NG.UTF-8.in: Likewise.
16240 * localedata/ik_CA.UTF-8.in: Likewise.
16241 * localedata/kk_KZ.UTF-8.in: Likewise.
16242 * localedata/ku_TR.UTF-8.in: Likewise.
16243 * localedata/ky_KG.UTF-8.in: Likewise.
16244 * localedata/ln_CD.UTF-8.in: Likewise.
16245 * localedata/mi_NZ.UTF-8.in: Likewise.
16246 * localedata/ml_IN.UTF-8.in: Likewise.
16247 * localedata/mn_MN.UTF-8.in: Likewise.
16248 * localedata/mr_IN.UTF-8.in: Likewise.
16249 * localedata/mt_MT.UTF-8.in: Likewise.
16250 * localedata/nb_NO.UTF-8.in: Likewise.
16251 * localedata/om_KE.UTF-8.in: Likewise.
16252 * localedata/os_RU.UTF-8.in: Likewise.
16253 * localedata/ps_AF.UTF-8.in: Likewise.
16254 * localedata/ro_RO.UTF-8.in: Likewise.
16255 * localedata/ru_RU.UTF-8.in: Likewise.
16256 * localedata/sc_IT.UTF-8.in: Likewise.
16257 * localedata/se_NO.UTF-8.in: Likewise.
16258 * localedata/sq_AL.UTF-8.in: Likewise.
16259 * localedata/sv_SE.UTF-8.in: Likewise.
16260 * localedata/szl_PL.UTF-8.in: Likewise.
16261 * localedata/tg_TJ.UTF-8.in: Likewise.
16262 * localedata/tk_TM.UTF-8.in: Likewise.
16263 * localedata/tt_RU.UTF-8.in: Likewise.
16264 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16265 * localedata/ug_CN.UTF-8.in: Likewise.
16266 * localedata/uz_UZ.UTF-8.in: Likewise.
16267 * localedata/vi_VN.UTF-8.in: Likewise.
16268 * localedata/yi_US.UTF-8.in: Likewise.
16269 * localedata/yo_NG.UTF-8.in: Likewise.
16270 * localedata/zh_CN.UTF-8.in: Likewise.
16271 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16272 file and fix bugs in the collation.
16273 * localedata/locales/az_AZ: Likewise.
16274 * localedata/locales/be_BY: Likewise.
16275 * localedata/locales/ber_DZ: Likewise.
16276 * localedata/locales/ber_MA: Likewise.
16277 * localedata/locales/bg_BG: Likewise.
16278 * localedata/locales/br_FR: Likewise.
16279 * localedata/locales/br_FR@euro: Likewise.
16280 * localedata/locales/ca_ES: Likewise.
16281 * localedata/locales/cns11643_stroke: Likewise.
16282 * localedata/locales/crh_UA: Likewise.
16283 * localedata/locales/cs_CZ: Likewise.
16284 * localedata/locales/csb_PL: Likewise.
16285 * localedata/locales/cv_RU: Likewise.
16286 * localedata/locales/cy_GB: Likewise.
16287 * localedata/locales/da_DK: Likewise.
16288 * localedata/locales/dz_BT: Likewise.
16289 * localedata/locales/en_CA: Likewise.
16290 * localedata/locales/eo: Likewise.
16291 * localedata/locales/es_CU: Likewise.
16292 * localedata/locales/es_EC: Likewise.
16293 * localedata/locales/es_ES: Likewise.
16294 * localedata/locales/es_US: Likewise.
16295 * localedata/locales/et_EE: Likewise.
16296 * localedata/locales/fa_IR: Likewise.
16297 * localedata/locales/fi_FI: Likewise.
16298 * localedata/locales/fil_PH: Likewise.
16299 * localedata/locales/fur_IT: Likewise.
16300 * localedata/locales/gez_ER@abegede: Likewise.
16301 * localedata/locales/ha_NG: Likewise.
16302 * localedata/locales/hr_HR: Likewise.
16303 * localedata/locales/hsb_DE: Likewise.
16304 * localedata/locales/hu_HU: Likewise.
16305 * localedata/locales/ig_NG: Likewise.
16306 * localedata/locales/ik_CA: Likewise.
16307 * localedata/locales/is_IS: Likewise.
16308 * localedata/locales/iso14651_t1_pinyin: Likewise.
16309 * localedata/locales/kk_KZ: Likewise.
16310 * localedata/locales/ku_TR: Likewise.
16311 * localedata/locales/ky_KG: Likewise.
16312 * localedata/locales/ln_CD: Likewise.
16313 * localedata/locales/lt_LT: Likewise.
16314 * localedata/locales/lv_LV: Likewise.
16315 * localedata/locales/mi_NZ: Likewise.
16316 * localedata/locales/ml_IN: Likewise.
16317 * localedata/locales/mn_MN: Likewise.
16318 * localedata/locales/mr_IN: Likewise.
16319 * localedata/locales/mt_MT: Likewise.
16320 * localedata/locales/nb_NO: Likewise.
16321 * localedata/locales/om_KE: Likewise.
16322 * localedata/locales/os_RU: Likewise.
16323 * localedata/locales/pl_PL: Likewise.
16324 * localedata/locales/ps_AF: Likewise.
16325 * localedata/locales/ro_RO: Likewise.
16326 * localedata/locales/ru_RU: Likewise.
16327 * localedata/locales/ru_UA: Likewise.
16328 * localedata/locales/sc_IT: Likewise.
16329 * localedata/locales/se_NO: Likewise.
16330 * localedata/locales/si_LK: Likewise.
16331 * localedata/locales/sq_AL: Likewise.
16332 * localedata/locales/sv_FI: Likewise.
16333 * localedata/locales/sv_FI@euro: Likewise.
16334 * localedata/locales/sv_SE: Likewise.
16335 * localedata/locales/szl_PL: Likewise.
16336 * localedata/locales/tg_TJ: Likewise.
16337 * localedata/locales/ti_ER: Likewise.
16338 * localedata/locales/tk_TM: Likewise.
16339 * localedata/locales/tl_PH: Likewise.
16340 * localedata/locales/tr_TR: Likewise.
16341 * localedata/locales/tt_RU: Likewise.
16342 * localedata/locales/tt_RU@iqtelif: Likewise.
16343 * localedata/locales/ug_CN: Likewise.
16344 * localedata/locales/uk_UA: Likewise.
16345 * localedata/locales/uz_UZ: Likewise.
16346 * localedata/locales/uz_UZ@cyrillic: Likewise.
16347 * localedata/locales/vi_VN: Likewise.
16348 * localedata/locales/yi_US: Likewise.
16349 * localedata/locales/yo_NG: Likewise.
16350
16351 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16352
16353 * gen-locales.mk: Make test files which contain @ modifiers in their
16354 name work.
16355 * localedata/gen-locale.sh: Likewise.
16356
16357 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16358
16359 * posix/tst-fnmatch.input: Fix results for range expressions
16360 for non C locales.
16361 * posix/tst-regexloc.c: Do not use a range expression for
16362 de_DE.ISO-8859-1 locale.
16363
16364 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16365
16366 * posix/bug-regex5.c: Fix test case because with the new
16367 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16368 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16369 file.
16370
16371 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16372
16373 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16374 downloaded from ISO, the collation order of @-. and space has changed.
16375 Therefore, this test file needed to be adapted.
16376 * localedata/fr_CA.UTF-8.in: Likewise.
16377 * localedata/fr_FR.UTF-8.in: Likewise.
16378 * localedata/uk_UA.UTF-8.in: Likewise.
16379
16380 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16381
16382 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16383 order of ȥ in the new iso14651_t1_common file.
16384 * localedata/pl_PL.UTF-8.in: Likewise.
16385
16386 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16387
16388 * localedata/locales/iso14651_t1_common: Add sections for various
16389 scripts to the iso14651_t1_common file.
16390
16391 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16392
16393 * localedata/locales/iso14651_t1_common: Use the code point of a
16394 character in the fourth collation level instead of IGNORE for all
16395 entries which have IGNORE on all 4 levels.
16396
16397 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16398
16399 * localedata/locales/iso14651_t1_common: Add some convenient collation
16400 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16401 rules similar to those in CLDR.
16402
16403 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16404
16405 * localedata/locales/iso14651_t1_common: The new version of this
16406 file downloaded from ISO contained several syntax errors which
16407 are fixed by this patch.
16408
16409 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16410
16411 * localedata/locales/iso14651_t1_common: replace all <U.....>
16412 with <U000.....> because glibc understands only 4 digit or 8 digit
16413
16414 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16415
16416 * localedata/locales/iso14651_t1_common: Necessary changes
16417 to make the file downloaded from ISO usable by glibc.
16418
16419 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16420
16421 [BZ #14095]
16422 * localedata/locales/iso14651_t1_common: Update file to
16423 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16424
16425 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16426
16427 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16428 of <nptl/pthreadP.h>
16429 (thread_attr_compare): Move function to...
16430 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
16431 * sysdeps/nptl/timer_routines.h: ... new header.
16432 * sysdeps/mach/hurd/gai_misc.h: New file.
16433
16434 2018-02-26 Joseph Myers <joseph@codesourcery.com>
16435
16436 * string/strcoll_l.c: Include <libc-diag.h>.
16437 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16438 declarations of seq1 and seq2.
16439
16440 [BZ #15105]
16441 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16442 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16443
16444 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16445
16446 [BZ #22433]
16447 [BZ #22807]
16448 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16449 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16450 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16451 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16452 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16453 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16454
16455 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16456
16457 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16458 macros used in __ptrace_request.
16459
16460 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16461
16462 [BZ #22792]
16463 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16464 to $(CC).
16465 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16466 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16467 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16468 <tcb-offsets.h>.
16469
16470 2018-02-23 Joseph Myers <joseph@codesourcery.com>
16471
16472 [BZ #15105]
16473 * ctype/ctype.c (tolower): Use libc_hidden_def.
16474 (toupper): Likewise.
16475 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16476 [!_ISOMAC] (toupper): Likewise.
16477
16478 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16479
16480 * localedata/Makefile: Remove --quiet argument when
16481 installing locales
16482
16483 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16484
16485 [BZ #17438]
16486 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16487 in d_fmt.
16488 * localedata/locales/pt_PT (LC_TIME): likewise
16489
16490 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16491
16492 [BZ #22646]
16493 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16494 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16495 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16496
16497 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16498
16499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16500
16501 * nptl/Makefile (routines): Remove unregister-atfork.
16502 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16503 (fork_handler_alloc): Remove function.
16504 (fork_handlers, fork_handler_init): New variables.
16505 (__fork_lock): Rename to atfork_lock.
16506 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16507 to use a dynamic array to add/remove atfork handlers.
16508 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16509 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16510 Remove declaration.
16511 (fork_handler): Remove next, refcntr, and need_signal member.
16512 (__run_fork_handler_type): New enum.
16513 (__run_fork_handlers): New prototype.
16514 * nptl/register-atfork.c: Remove file.
16515 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16516
16517 * sysdeps/nptl/nptl-signals.h: Move to ...
16518 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16519 comments.
16520 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16521 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16522 unnecessary check for SIGTIMER.
16523 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16524 remove unnecessary removal of SIGTIMER.
16525 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16526 include-signals.h rename.
16527 * nptl/pthreadP.h: Likewise.
16528 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16529 __is_internal_signal instead of __nptl_is_internal_signal.
16530
16531 2018-02-22 Andrew Waterman <andrew@sifive.com>
16532
16533 [BZ # 22884]
16534 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16535 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16536 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16537 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16538
16539 2018-02-22 DJ Delorie <dj@delorie.com>
16540
16541 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16542
16543 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16544
16545 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16546 do_misaligned, not misaligned8.
16547
16548 2018-02-22 Steve Ellcey <sellcey@cavium.com>
16549
16550 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16551 Add memcpy_thunderx2.
16552 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16553 Increment to 4.
16554 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16555 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16556 and IS_THUNDERX2PA checks.
16557 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16558 Use macro to set name appropriately.
16559 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16560 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16561 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16562 New macro.
16563 (IS_THUNDERX2): New macro.
16564
16565 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16566
16567 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16568
16569 2018-02-21 Zack Weinberg <zackw@panix.com>
16570
16571 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16572 Define here, unconditionally.
16573 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16574 * libio/libioP.h: Remove #if 0 blocks.
16575 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16576 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16577 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16578
16579 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16580 Assume weak_alias is always defined.
16581
16582 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16583 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16584 Remove #if 0 and #ifdef TODO blocks.
16585 Assume text_set_element is always defined.
16586
16587 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16588 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16589 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16590
16591 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16592 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16593 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16594 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16595 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16596 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16597 Reformat bit flags for _flags field to make occupancy clearer.
16598 Update commentary.
16599 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16600 Keep definitions consistent with those in libio/libio.h.
16601
16602 * libio/libio.h (_IO_file_flags): Remove macro.
16603 All uses changed to _flags.
16604
16605 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16606 (__HAVE_COLUMN, _IO_BE): Don't define.
16607 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16608 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16609 * libio/libioP.h (EOF): Don't define.
16610 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16611 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16612 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16613 testing _IO_UNIFIED_JUMPTABLES.
16614
16615 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16616 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16617 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16618 (_IO_size_t): Delete; all uses changed to size_t.
16619 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16620 (_IO_off_t): Delete; all uses changed to off_t.
16621 (_IO_off64_t): Delete; all uses changed to off64_t.
16622 (_IO_pid_t): Delete; all uses changed to pid_t.
16623 (_IO_uid_t): Delete; all uses changed to uid_t.
16624 (_IO_wint_t): Delete; all uses changed to wint_t.
16625 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16626 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16627 (_IO_cookie_io_functions_t): Delete; all uses changed to
16628 cookie_io_functions_t.
16629 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16630 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16631 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16632 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16633
16634 * libio/iofopncook.c: Remove unnecessary forward declarations.
16635 * libio/iolibio.h: Correct outdated commentary.
16636 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
16637 * stdio-common/fxprintf.c (__fxprintf_nocancel):
16638 Remove unnecessary casts.
16639 * stdio-common/getline.c: Use _IO_getdelim directly.
16640 Don't redefine ssize_t.
16641 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
16642 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
16643 Remove outdated comments.
16644 * stdio-common/vfscanf.c: Don't redefine va_list.
16645
16646 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
16647 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
16648 Remove preprocessor conditionals on _LIBC and __USE_GNU,
16649 which are always true, and __cplusplus, which is always false.
16650
16651 2018-02-21 Joseph Myers <joseph@codesourcery.com>
16652
16653 [BZ #15105]
16654 [BZ #19463]
16655 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16656 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16657 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16658 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16659 libc_hidden_proto.
16660 [!_ISOMAC] (putc_unlocked): Likewise.
16661 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16662 define inline if [__USE_EXTERN_INLINES].
16663 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16664 putc_unlocked.
16665
16666 [BZ #15105]
16667 [BZ #19463]
16668 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16669 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16670 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16671 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16672 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16673 getc_unlocked.
16674 * time/tzfile.c (__tzfile_read): Likewise.
16675
16676 2018-02-21 Mike FABIAN <mfabian@redhat.com>
16677
16678 [BZ #22517]
16679 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16680
16681 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16682
16683 * io/fcntl.h: Fix a typo in a comment.
16684
16685 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16686
16687 [BZ #22862]
16688 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16689 define _DEFAULT_SOURCE.
16690 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16691
16692 2018-02-21 Florian Weimer <fweimer@redhat.com>
16693
16694 [BZ #20890]
16695 * elf/cache.c (save_cache): Call fsync on temporary file before
16696 renaming it.
16697 (save_aux_cache): Call fdatasync on temporary file before renaming
16698 it.
16699
16700 2018-02-21 Florian Weimer <fweimer@redhat.com>
16701
16702 [BZ #22787]
16703 * include/caller.h: Remove file.
16704 * elf/dl-caller.c: Likewise.
16705 * elf/Makefile (dl-routines): Remove dl-caller.
16706 (shared-only-routines): Do not add dl-caller.
16707 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
16708 __check_caller.
16709 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
16710 member.
16711 (dl_open_worker): Do not call __check_caller.
16712 (_dl_open): Do not set caller_dl_open member.
16713 * elf/rtld.c (_rtld_global_ro): Do not initialize
16714 _dl_check_caller member.
16715 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16716 _dl_check_caller member.
16717 (_dl_check_caller): Remove declaration.
16718 * sysdeps/unix/sysv/linux/dl-execstack.c
16719 (_dl_make_stack_executable): Do not call __check_caller.
16720
16721 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16722
16723 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
16724 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
16725
16726 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16727
16728 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
16729 description.
16730
16731 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16732
16733 [BZ #16335]
16734 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
16735 of 199606L, 200112L, and 200809L.
16736 (_XOPEN_SOURCE): Document special values of 600 and 700.
16737 (_ISOC11_SOURCE): Document macro.
16738 (_ATFILE_SOURCE): Likewise.
16739 (_FORTIFY_SOURCE): Likewise.
16740
16741 2018-02-19 Joseph Myers <joseph@codesourcery.com>
16742
16743 [BZ #15105]
16744 [BZ #19463]
16745 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
16746 and define as weak alias of __ferror_unlocked. Use
16747 libc_hidden_weak.
16748 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
16749 libc_hidden_proto.
16750 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
16751 function if [__USE_EXTERN_INLINES].
16752 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
16753 ferror_unlocked.
16754
16755 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
16756
16757 [BZ #6889]
16758 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16759
16760 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16761
16762 [BZ #22818]
16763 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16764 the GLIBC_2.1 version.
16765
16766 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16767
16768 [BZ #21508]
16769 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16770 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16771 intl/tst-gettext-de.po from po/de.po by removing the
16772 POT-Creation-Date line.
16773 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16774 ../po/de.po.
16775 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16776 ../po/de.po.
16777
16778 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16779
16780 * mach/Makefile (headers): Add mach/param.h.
16781 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16782 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
16783 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16784 (__ptsname_r): Move implementation to...
16785 (__ptsname_internal): ... new function. Add filling the STP
16786 structure.
16787
16788 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
16789
16790 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16791 idouble to 1 ULP.
16792
16793 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
16794
16795 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16796 syntax.
16797
16798 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16799
16800 * nptl/Makefile (tst-mutex8-ENV): Delete.
16801 * nptl/tst-mutex8.c (check_type):
16802 Add runtime check if mutex will be elided.
16803
16804 2018-02-15 Joseph Myers <joseph@codesourcery.com>
16805
16806 [BZ #20980]
16807 [BZ #21234]
16808 * manual/install.texi (Configuring and compiling): Describe
16809 passing CC and CFLAGS on configure command line, not as
16810 environment variables. Use @code markup on those variables.
16811 Specify what options go in CC and what go in CFLAGS. Note the
16812 requirement to compile with optimization.
16813 * INSTALL: Regenerated.
16814
16815 [BZ #18124]
16816 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16817 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16818 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16819 __sigprocmask instead of sigprocmask.
16820 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16821 Likewise.
16822 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16823 __sigsetjmp and sigprocmask.
16824
16825 [BZ #15105]
16826 * include/argz.h (argz_next): Use libc_hidden_proto.
16827 (__argz_next): Likewise.
16828 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16829 (argz_next): Use libc_hidden_weak.
16830
16831 [BZ #15105]
16832 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16833 libc_hidden_proto.
16834 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16835 libc_hidden_def.
16836
16837 [BZ #15105]
16838 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16839 libc_hidden_proto.
16840 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16841
16842 [BZ #15105]
16843 [BZ #19463]
16844 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16845 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16846 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16847 (__feof_unlocked): New declaration, and inline function if
16848 [__USE_EXTERN_INLINES].
16849 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16850 instead of feof_unlocked.
16851 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16852 * nss/nsswitch.c (nss_parse_file): Likewise.
16853 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16854 Likewise.
16855 * time/getdate.c (__getdate_r): Likewise.
16856 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16857 Define as macro to call __feof_unlocked.
16858
16859 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16860
16861 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16862
16863 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16864
16865 * math/Makefile: Remove mpexp.c and mplog.c
16866 * sysdeps/i386/fpu/mpexp.c: Delete file.
16867 * sysdeps/i386/fpu/mplog.c: Likewise.
16868 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16869 * sysdeps/ia64/fpu/mplog.c: Likewise.
16870 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16871 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16872 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16873 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16874 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16875 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16876 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16877 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16878 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16879 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16880 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16881 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16882 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16883 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16884 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16885 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16886
16887 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16888
16889 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16890
16891 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16892
16893 * sysdeps/sh/libm-test-ulps: Update.
16894
16895 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16896
16897 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16898 idouble to 1 ULP.
16899
16900 2018-02-12 Zack Weinberg <zackw@panix.com>
16901
16902 [BZ #19239]
16903 * posix/sys/types.h: Don't include sys/sysmacros.h.
16904 * misc/sys/sysmacros.h: Remove the conditional deprecation
16905 warnings for the macros defined by this header.
16906
16907 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16908
16909 * manual/probes.texi: Remove slowexp probes.
16910 * math/Makefile: Remove slowexp.
16911 * sysdeps/generic/math_private.h (__slowexp): Remove.
16912 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16913 document error bounds.
16914 * sysdeps/i386/fpu/slowexp.c: Remove.
16915 * sysdeps/ia64/fpu/slowexp.c: Remove.
16916 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16917 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16918 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16919 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16920 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16921 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16922 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16923 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16924 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16925 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16926 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16927
16928 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16929
16930 [BZ #13932]
16931 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16932 * benchtests/pow-inputs: Update comment for slow path cases.
16933 * manual/probes.texi (slowpow_p10): Delete removed probe.
16934 (slowpow_p10): Likewise.
16935 * math/Makefile: Remove halfulp.c and slowpow.c.
16936 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16937 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16938 (__halfulp): Remove.
16939 (__slowpow): Remove.
16940 * sysdeps/i386/fpu/halfulp.c: Delete file.
16941 * sysdeps/i386/fpu/slowpow.c: Likewise.
16942 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16943 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16944 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16945 improve comments and add error analysis.
16946 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16947 (power1): Remove function:
16948 (log1): Remove error argument, add error analysis.
16949 (my_log2): Remove function.
16950 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16951 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16952 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16953 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16954 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16955 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16956 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16957 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16958 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16959 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16960 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16961 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16962 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16963 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16964
16965 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16966
16967 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16968 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16969
16970 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16971
16972 [BZ #22433]
16973 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16974 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16975 and PTRACE_SETHBPREGS.
16976
16977 2018-02-10 Zack Weinberg <zackw@panix.com>
16978
16979 [BZ #22830]
16980 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16981 correctly.
16982 * malloc/tst-malloc-stats-cancellation.c: New test case.
16983 * malloc/Makefile: Add new test case.
16984
16985 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16986
16987 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16988
16989 2018-02-10 Joseph Myers <joseph@codesourcery.com>
16990
16991 * math/Makefile (libm-narrow-fns): Add add.
16992 (libm-test-funcs-narrow): Likewise.
16993 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16994 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16995 * math/gen-auto-libm-tests.c (test_functions): Add add.
16996 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16997 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16998 (NARROW_ADD_TRIVIAL): Likewise.
16999 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17000 macro.
17001 (__daddl): Likewise.
17002 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17003 dadd.
17004 (CFLAGS-nldbl-dadd.c): New variable.
17005 (CFLAGS-nldbl-fadd.c): Likewise.
17006 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17007 __nldbl_daddl.
17008 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17009 prototype.
17010 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17011 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17012 * math/auto-libm-test-in: Add tests of add.
17013 * math/auto-libm-test-out-narrow-add: New generated file.
17014 * math/libm-test-narrow-add.inc: New file.
17015 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17016 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17017 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17018 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17019 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17020 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17021 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17022 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17023 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17024 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17025 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17026 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17027 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17028 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17029 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17030 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17031 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17032 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17034 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17035 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17036 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17037 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17038 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17039 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17040 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17041 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17042 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17043 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17044 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17045 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17046 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17051 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17052 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17053 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17054 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17055 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17056 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17057 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17058 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17059 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17060 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17061
17062 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17063 (f128-pairs): New variable.
17064 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17065 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17066 to CFLAGS.
17067 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17068 Also make tests add $(f128-loader-link) to gnulib-tests.
17069
17070 2018-02-09 DJ Delorie <dj@redhat.com>
17071
17072 [BZ #22827]
17073 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17074 64-bit ELF type for 64-bit ELF objects.
17075
17076 2018-02-09 Joseph Myers <joseph@codesourcery.com>
17077
17078 * math/libm-test-driver.c (snan_tests_arg): New variable.
17079 * math/libm-test-support.h (snan_tests_arg): New declaration.
17080 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17081
17082 * math/Makefile (test-type-pairs): New variable.
17083 (test-type-pairs-f64xf128-yes): Likewise.
17084 (tests): Add test-narrow-macros.
17085 (libm-test-funcs-narrow): New variable.
17086 (libm-test-c-narrow): Likewise.
17087 (generated): Add $(libm-test-c-narrow).
17088 (libm-tests-base-narrow): New variable.
17089 (libm-tests-narrow): Likewise.
17090 (libm-tests): Add $(libm-tests-narrow).
17091 (libm-tests-for-type): Handle $(libm-tests-narrow).
17092 (libm-test-c-narrow-obj): New variable.
17093 ($(libm-test-c-narrow-obj)): New rule.
17094 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17095 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17096 $(o-iterator) to set dependencies and CFLAGS.
17097 * math/gen-auto-libm-tests.c: Document use for narrowing
17098 functions.
17099 (output_for_one_input_case): Take argument NARROW.
17100 (generate_output): Likewise. Update call to
17101 output_for_one_input_case.
17102 (main): Take --narrow option. Update call to generate_output.
17103 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17104 (apply_lit): Update call to _apply_lit.
17105 (apply_arglit): New function.
17106 (parse_args): Handle "a" arguments.
17107 (parse_auto_input): Handle format names using ":".
17108 * math/README.libm-test: Document "a" parameter type.
17109 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17110 (ARG_TYPE_TRUE_MIN): Likewise.
17111 (ARG_TYPE_MAX): Likwise.
17112 (ARG_MIN_EXP): Likewise.
17113 (ARG_MAX_EXP): Likewise.
17114 (ARG_MANT_DIG): Likewise.
17115 (TEST_COND_arg_ibm128): Likewise.
17116 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17117 (TEST_COND_arg_fmt): New macro.
17118 (init_max_error): Update prototype.
17119 * math/libm-test-support.c (test_ibm128): New variable.
17120 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17121 instead of using [TEST_COND_ibm128] conditional.
17122 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17123 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17124 [TEST_NARROW] (TEST_MSG): New definition.
17125 (arg_plus_zero): New macro.
17126 (arg_minus_zero): Likewise.
17127 (arg_plus_infty): Likewise.
17128 (arg_minus_infty): Likewise.
17129 (arg_qnan_value_pl): Likewise.
17130 (arg_qnan_value): Likewise.
17131 (arg_snan_value_pl): Likewise.
17132 (arg_snan_value): Likewise.
17133 (arg_max_value): Likewise.
17134 (arg_min_value): Likewise.
17135 (arg_min_subnorm_value): Likewise.
17136 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17137 (RUN_TEST_LOOP_aa_f): New macro.
17138 (TEST_SUFF): New macro.
17139 (TEST_SUFF_STR): Likewise.
17140 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17141 (TEST_COND_any_ibm128): New macro.
17142 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17143 this_func. Update call to init_max_error.
17144 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17145 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17146 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17147 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17148 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17149 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17150 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17151 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17152 * math/test-math-vector.h (TEST_NARROW): Likewise.
17153 * math/test-arg-double.h: New file.
17154 * math/test-arg-float128.h: Likewise.
17155 * math/test-arg-float32x.h: Likewise.
17156 * math/test-arg-float64.h: Likewise.
17157 * math/test-arg-float64x.h: Likewise.
17158 * math/test-arg-ldouble.h: Likewise.
17159 * math/test-math-narrow.h: Likewise.
17160 * math/test-narrow-macros.c: Likewise.
17161 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17162 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17163 test-narrow-macros-ldbl-64.
17164 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17165
17166 * math/bits/mathcalls-narrow.h: New file.
17167 * include/bits/mathcalls-narrow.h: Likewise.
17168 * math/math-narrow.h: Likewise.
17169 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17170 (__MATHCALL_NARROW_ARGS_2): Likewise.
17171 (__MATHCALL_NARROW_ARGS_3): Likewise.
17172 (__MATHCALL_NARROW_NORMAL): Likewise.
17173 (__MATHCALL_NARROW_REDIR): Likewise.
17174 (__MATHCALL_NARROW): Likewise.
17175 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17176 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17177 defined.
17178 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17179 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17180 (libm-narrow-fns): New variable.
17181 (libm-narrow-types-basic): Likewise.
17182 (libm-narrow-types-ldouble-yes): Likewise.
17183 (libm-narrow-types-float128-yes): Likewise.
17184 (libm-narrow-types-float128-alias-yes): Likewise.
17185 (libm-narrow-types): Likewise.
17186 (libm-routines): Add narrowing functions.
17187 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17188 (libc_feholdexcept_setroundf128): New macro.
17189 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17190 * sysdeps/ieee754/float128/float128_private.h: Include
17191 <math/math-narrow.h>.
17192 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17193 Undefine and redefine.
17194 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17195 (libm_alias_float_ldouble): Undefine and redefine.
17196 (libm_alias_double_ldouble): Likewise.
17197
17198 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17199
17200 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17201
17202 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17203 FPCR/FPSR.
17204
17205 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17206
17207 * manual/creature.texi: Convert references to gcc.info to gcc.
17208 * manual/stdio.texi: Likewise.
17209 * manual/string.texi: Likewise.
17210
17211 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17212
17213 [BZ #17979]
17214 * posix/bits/types.h (__int_least8_t): New typedef.
17215 (__uint_least8_t): Likewise.
17216 (__int_least16_t): Likewise.
17217 (__uint_least16_t): Likewise.
17218 (__int_least32_t): Likewise.
17219 (__uint_least32_t): Likewise.
17220 (__int_least64_t): Likewise.
17221 (__uint_least64_t): Likewise.
17222 * sysdeps/generic/stdint.h (int_least8_t): Define using
17223 __int_least8_t.
17224 (int_least16_t): Define using __int_least16_t.
17225 (int_least32_t): Define using __int_least32_t.
17226 (int_least64_t): Define using __int_least64_t.
17227 (uint_least8_t): Define using __uint_least8_t.
17228 (uint_least16_t): Define using __uint_least16_t.
17229 (uint_least32_t): Define using __uint_least32_t.
17230 (uint_least64_t): Define using __uint_least64_t.
17231 * wcsmbs/uchar.h: Include <bits/types.h>.
17232 (char16_t): Define using __uint_least16_t conditional only on
17233 [!__USE_ISOCXX11].
17234 (char32_t): Define using __uint_least32_t conditional only on
17235 [!__USE_ISOCXX11].
17236 * wcsmbs/test-char-types.c: New file.
17237 * wcsmbs/Makefile (tests): Add test-char-types.
17238
17239 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17240 version to 4.0.1.
17241
17242 2018-02-07 Zack Weinberg <zackw@panix.com>
17243
17244 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17245 Delete all contents except for definitions of _G_HAVE_MMAP and
17246 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17247 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17248 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17249 change as above.
17250
17251 * libio/libio.h: Don't include bits/_G_config.h here.
17252 Include stddef.h with __need_wchar_t defined. Include
17253 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17254 Define _IO_iconv_t here, directly.
17255 Don't define _IO_HAVE_ST_BLKSIZE.
17256 * libio/libioP.h: Include _G_config.h here. Move include of
17257 shlib-compat.h up with rest of includes. Simplify conditionals
17258 controlling definition of _IO_JUMPS_OFFSET.
17259
17260 * csu/init.c: Remove always-true #if around entire file.
17261 Don't include stdio.h. Set _IO_stdin_used to hardwired
17262 constant 0x20001, and update commentary.
17263 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17264 Replace all uses of _G_va_list with __gnuc_va_list.
17265 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17266 instead of #if _IO_HAVE_ST_BLKSIZE.
17267 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17268 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17269 not #ifdef.
17270
17271 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17272 multiple-include guard to match.
17273 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17274 into this file.
17275 Remove preprocessor conditionals that are always true and/or
17276 redundant to other preprocessor conditionals in the same nest.
17277 Include shlib-compat.h unconditionally.
17278 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17279 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17280 defined after including stdio.h.
17281 Use __BEGIN_DECLS/__END_DECLS.
17282
17283 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17284 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17285 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17286
17287 2018-02-07 Zack Weinberg <zackw@panix.com>
17288
17289 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17290 New single-type headers split from _G_config.h.
17291 * libio/bits/types/cookie_io_functions_t.h
17292 * libio/bits/types/struct_FILE.h
17293 New single-type headers split from libio.h.
17294
17295 * libio/Makefile: Install the above new headers. Don't install
17296 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17297 bits/libio-ldbl.h.
17298 * libio/_G_config.h, libio/libio.h: Delete file.
17299
17300 * libio/bits/libio.h: Remove improper-inclusion guard.
17301 Include stdio.h and don't repeat anything that it does.
17302 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17303 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17304 __io_read_fn as cookie_read_function_t,
17305 __io_write_fn as cookie_write_function_t,
17306 __io_seek_fn as cookie_seek_function_t,
17307 __io_close_fn as cookie_close_function_t,
17308 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17309 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17310 here, in the "compatibility defines" section. Remove an #if 0
17311 block. Use the "body" macros from bits/types/struct_FILE.h to
17312 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17313 and _IO_ferror_unlocked.
17314 Move prototypes of __uflow and __overflow...
17315
17316 * libio/stdio.h: ...here. Don't include bits/libio.h.
17317 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
17318 directly from stdarg.h. Include bits/types/__fpos_t.h,
17319 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17320 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17321 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17322 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17323 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17324 __ssize_t, not _IO_ssize_t. Unconditionally define
17325 BUFSIZ as 8192 and EOF as (-1).
17326
17327 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17328 macros from bits/types/struct_FILE.h instead of _IO_* macros
17329 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17330 instead of _IO_ssize_t.
17331 * libio/bits/stdio2.h: Similarly.
17332
17333 * libio/iolibio.h: Add multiple-include guard.
17334 Include bits/libio.h after stdio.h.
17335 * libio/libioP.h: Add multiple-include guard.
17336 Include stdio.h and bits/libio.h before iolibio.h.
17337
17338 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
17339 * include/bits/types/cookie_io_functions_t.h
17340 * include/bits/types/struct_FILE.h: New wrappers.
17341
17342 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
17343 Get definitions of _G_fpos_t and _G_fpos64_t from
17344 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17345 respectively. Remove improper-inclusion guards.
17346
17347 * conform/data/stdio.h-data: Update expectations of va_list.
17348 * scripts/check-installed-headers.sh: Remove special case for
17349 libio.h and _G_config.h.
17350
17351 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17352
17353 [BZ #15105]
17354 [BZ #19463]
17355 * include/sys/sysmacros.h [!_ISOMAC]
17356 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17357 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17358 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17359 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17360 libc_hidden_proto.
17361 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17362 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17363 Likewise.
17364 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17365 Undefine and redefine to add use __gnu_dev_ prefix.
17366 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17367 Likewise.
17368 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17369 and define as hidden inline function.
17370 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17371 Likewise.
17372 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17373 Likewise.
17374 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17375 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17376 (gnu_dev_minor): Likewise.
17377 (gnu_dev_makedev): Likewise.
17378 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17379 makedev.
17380 * posix/wordexp.c (exec_comm_child): Likewise.
17381 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17382 instead of minor and __gnu_dev_major instead of major.
17383 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17384 __gnu_dev_major instead of major.
17385 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17386 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17387 instead of gnu_dev_minor.
17388 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17389 (SLAVE_P): Likewise.
17390 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17391 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17392 instead of major.
17393
17394 [BZ #21313]
17395 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17396 in another place.
17397 * locale/weightwc.h (findidx): Likewise.
17398
17399 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17400
17401 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17402 (slowlog_inexact): Likewise
17403 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17404 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17405
17406 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17407
17408 [BZ #22797]
17409 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17410 missing second underscore to parameter name.
17411
17412 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17413
17414 [BZ #14508]
17415 [BZ #15512]
17416 [BZ #17082]
17417 [BZ #20530]
17418 * bits/byteswap.h: Update file comment. Do not include
17419 <bits/byteswap-16.h>.
17420 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17421 constant.
17422 (__bswap_16): Define as inline function.
17423 (__bswap_constant_32): Reformat definition.
17424 (__bswap_32): Always define as inline function, not macro, using
17425 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17426 otherwise __bswap_constant_32.
17427 (__bswap_constant_64): Reformat definition. Do not use
17428 __extension__ here.
17429 (__bswap_64): Always define as inline function, not macro. Use
17430 __extension__ on function definition. Use __builtin_bswap64 if
17431 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17432 * string/test-endian-file-scope.c: New file.
17433 * string/test-endian-sign-conversion.c: Likewise.
17434 * string/Makefile (headers): Remove bits/byteswap-16.h.
17435 (tests): Add test-endian-file-scope and
17436 test-endian-sign-conversion.
17437 (CFLAGS-test-endian-sign-conversion.c): New variable.
17438 * bits/byteswap-16.h: Remove file.
17439 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17440 * sysdeps/ia64/bits/byteswap.h: Likewise.
17441 * sysdeps/m68k/bits/byteswap.h: Likewise.
17442 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17443 * sysdeps/s390/bits/byteswap.h: Likewise.
17444 * sysdeps/tile/bits/byteswap.h: Likewise.
17445 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17446 * sysdeps/x86/bits/byteswap.h: Likewise.
17447
17448 [BZ #17721]
17449 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17450 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17451 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17452 199901L] (__restrict): Define to restrict.
17453
17454 [BZ #19667]
17455 * string/testcopy.c: Include <support/support.h>. Do not include
17456 <malloc.h>. Use <support/test-driver.c>.
17457 (main): Rename to do_test. Make static. Use xmalloc instead of
17458 malloc.
17459
17460 [BZ #13575]
17461 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17462 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17463 (SSIZE_MAX): Define to INT_MAX.
17464 * posix/test-ssize-max.c: New file.
17465 * posix/Makefile (tests): Add test-ssize-max.
17466
17467 [BZ #19668]
17468 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17469 <support/support.h>. Do not include <malloc.h>.
17470 (query_auxv): Use xmalloc instead of malloc.
17471
17472 [BZ #14553]
17473 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17474 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17475 instead of loff_t.
17476
17477 2018-02-06 Florian Weimer <fweimer@redhat.com>
17478
17479 [BZ #18023]
17480 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17481 Use scratch_buffer instead of extend_alloca.
17482
17483 2018-02-06 Zack Weinberg <zackw@panix.com>
17484
17485 * libio/stdio.h: Don't define getc or putc as macros.
17486 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17487 not _IO_getc and _IO_putc.
17488
17489 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17490 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17491
17492 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17493
17494 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17495 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17496
17497 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17498
17499 [BZ #14890]
17500 * elf/elf.h (NT_PRFPREG): New macro.
17501 (NT_S390_VXRS_LOW): Likewise.
17502 (NT_S390_VXRS_HIGH): Likewise.
17503 (NT_S390_GS_CB): Likewise.
17504 (NT_S390_GS_BC): Likewise.
17505 (NT_S390_RI_CB): Likewise.
17506
17507 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17508 (MAP_SYNC): New macro.
17509 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17510 Likewise.
17511 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17512 (MAP_SYNC): Likewise.
17513 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17514 (MAP_SYNC): Likewise.
17515 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17516 (MAP_SYNC): Likewise.
17517 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17518 (MAP_SYNC): Likewise.
17519 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17520 (MAP_SYNC): Likewise.
17521 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17522 (MAP_SYNC): Likewise.
17523 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17524 Likewise.
17525 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17526 Likewise.
17527
17528 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17529 (MAP_SHARED_VALIDATE): New macro.
17530 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17531 (MAP_SHARED_VALIDATE): Likewise.
17532
17533 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17534
17535 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17536 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17537 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17538
17539 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17540
17541 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17542 (DT_NUM): Updated to 35.
17543
17544 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17545
17546 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17547 __builtin_expect with __glibc_likely and __glibc_unlikely.
17548 (elf_machine_rela): Likewise.
17549 (elf_machine_lazy_rel): Likewise.
17550
17551 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17552
17553 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
17554 __builtin_expect with __glibc_likely and __glibc_unlikely.
17555 (elf_machine_lazy_rel): Likewise.
17556
17557 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17558
17559 [BZ #22638]
17560 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17561 SHARED.
17562 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
17563
17564 2018-02-05 Andreas Schwab <schwab@suse.de>
17565
17566 [BZ #22761]
17567 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17568 string.
17569
17570 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17571
17572 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17573 not check against PTHREAD_STACK_MIN.
17574
17575 2018-02-02 Sean McKean <smckean83@gmail.com>
17576
17577 [BZ #22735]
17578 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17579
17580 2018-02-02 Florian Weimer <fweimer@redhat.com>
17581
17582 [BZ #22753]
17583 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17584 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17585 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17586 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17587 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17588 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17589 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17590 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17591 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17592 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17593 * misc/tst-preadvwritev2.c (do_test): Call it.
17594 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17595
17596 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17597
17598 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17599
17600 * benchtests/bench-memcmp.c: Print json instead of plain text.
17601
17602 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17603 every test run.
17604
17605 2018-02-01 Joseph Myers <joseph@codesourcery.com>
17606
17607 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17608 version to 4.15.
17609 (s390_sthyi): New syscall.
17610
17611 * sysdeps/generic/ldbl-classify-compat.h: New file.
17612 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17613 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17614 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17615 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17616 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17617 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17618 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17619 <ldbl-classify-compat.h>.
17620 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17621 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17622 <ldbl-classify-compat.h>.
17623 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17624 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17625 <ldbl-classify-compat.h>.
17626 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17627 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17628 <ldbl-classify-compat.h>.
17629 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17630 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17631 <ldbl-classify-compat.h>.
17632 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17633 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17634 <ldbl-classify-compat.h>.
17635 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17636 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
17637 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17638 * sysdeps/m68k/coldfire/math_private.h: Remove file.
17639 * sysdeps/microblaze/math_private.h: Likewise.
17640 * sysdeps/nios2/math_private.h: Likewise.
17641 * sysdeps/sh/math_private.h: Likewise.
17642
17643 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
17644 * sysdeps/m68k/coldfire/math_private.h: ... here.
17645 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
17646 * sysdeps/tile/math_private.h: Likewise.
17647 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
17648 Remove macro.
17649 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
17650 Likewise.
17651
17652 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17653 Remove macro.
17654 (libc_fetestexcept): Likewise.
17655 (libc_feupdateenv_test): Likewise.
17656 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17657 (libc_fetestexcept): Likewise.
17658 (libc_feupdateenv_test): Likewise.
17659 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17660 (libc_fetestexcept): Likewise.
17661 (libc_feupdateenv_test): Likewise.
17662 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17663 (libc_fetestexcept): Likewise.
17664 (libc_feupdateenv_test): Likewise.
17665
17666 * sysdeps/generic/math_private.h
17667 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17668 New inline function.
17669 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17670 Likewise.
17671
17672 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17673 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17674 * sysdeps/generic/math_private.h
17675 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17676 inline function.
17677 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17678 Likewise.
17679 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17680 Likewise.
17681 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17682 Likewise.
17683 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17684 Likewise.
17685 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17686 Likewise.
17687 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17688 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17689 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17690 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17691 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17692 (__fegetenv): Likewise.
17693 (fesetenv): Likewise.
17694 (__fesetenv): Likewise.
17695 (feupdateenv): Likewise.
17696 (__feupdateenv): Likewise.
17697 (fegetround): Likewise.
17698 (__fegetround): Likewise.
17699 (fesetround): Likewise.
17700 (__fesetround): Likewise.
17701
17702 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17703 (feraiseexcept): New macro.
17704 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17705 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17706 Remove macro.
17707 (__feraiseexcept): Likewise.
17708 (feclearexcept): Likewise.
17709 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
17710 (__feraiseexcept): Likewise.
17711 (feclearexcept): Likewise.
17712 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17713 (__feraiseexcept): Likewise.
17714 (feclearexcept): Likewise.
17715 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17716 (__feraiseexcept): Likewise.
17717 (feclearexcept): Likewise.
17718 (fetestexcept): Likewise.
17719
17720 * sysdeps/m68k/coldfire/math-tests.h: New file.
17721
17722 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
17723 * sysdeps/m68k/bits/fenv.h: ... here.
17724 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
17725 not define.
17726 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
17727 Likewise.
17728 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
17729 Likewise.
17730 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
17731 Likewise.
17732 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
17733 Likewise.
17734 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
17735 Define to 0.
17736 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
17737 (__FE_UNDEFINED): New enum constant.
17738 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
17739 Do not define.
17740 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
17741 Likewise.
17742 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
17743 Likewise.
17744 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
17745 to match generic bits/fenv.h.
17746 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
17747 Do not define.
17748
17749 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
17750 packed on bits.
17751 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
17752 * soft-fp/half.h (union _FP_UNION_H): Likewise.
17753 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
17754 * soft-fp/single.h (union _FP_UNION_S): Likewise.
17755
17756 2018-02-01 Carlos O'Donell <carlos@redhat.com>
17757 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
17758 Joseph Myers <joseph@codesourcery.com>
17759
17760 [BZ #21314]
17761 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17762 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17763 computation using c.
17764 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17765 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17766 computation using c.
17767
17768 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17769
17770 * version.h (RELEASE): Set to "development".
17771 (VERSION): Set to "2.27.9000".
17772 * NEWS (2.28): New section.
17773
17774 * version.h (RELEASE): Set to "stable".
17775 (VERSION): Set to "2.27".
17776 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17777
17778 * NEWS: Add the list of bugs fixed in 2.27.
17779
17780 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17781
17782 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17783 against PTHREAD_STACK_MIN.
17784
17785 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17786
17787 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17788 New entries.
17789 (Rafal Luzynski, Andreas Schwab): Update.
17790
17791 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17792
17793 [BZ #10871]
17794 * NEWS: List the languages which actually use the alternative
17795 months feature in this release. Also explain that "alt_mon" and
17796 "ab_alt_mon" are optional.
17797
17798 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17799
17800 [BZ #22765]
17801 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17802
17803 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17804
17805 * manual/install.texi (Tools for Compilation): Update the newest
17806 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17807 * INSTALL: Regenerated.
17808
17809 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17810
17811 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17812 instead of __builtin_expect.
17813
17814 2018-01-30 Florian Weimer <fweimer@redhat.com>
17815
17816 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17817 data.
17818 * nss/tst-nss-getpwent.c (do_test): Likewise.
17819
17820 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17821
17822 [BZ #10871]
17823 * localedata/locales/hr_HR (mon): Rename to...
17824 (alt_mon): This.
17825 (mon): Import from CLDR (genitive case).
17826 (d_t_fmt): Update the comment.
17827
17828 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17829
17830 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17831 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17832 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17833
17834 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17835
17836 * mach/Versions: Fix version when __mach_host_self_ was added.
17837 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17838 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17839 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17840 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17841 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17842 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17843 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17844 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17845 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17846 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17847 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17848 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
17849 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17850 || to respect codestyle.
17851 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17852 (do_test_bz20181): Rename accordingly.
17853 * malloc/malloc.c: Include <assert.h>.
17854 (assert): Do not define.
17855 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
17856 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17857 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
17858 * sysdeps/mach/hurd/hp-timing.h: New file.
17859 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
17860
17861 2018-01-29 Darius Rad <darius@bluespec.com>
17862
17863 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17864
17865 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
17866
17867 * sysdeps/init_array/crti.S (.section .init_array): Add
17868 PREINIT_FUNCTION when defined.
17869 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
17870 * config.h.in: Regenerate.
17871 * manual/platform.texi: Add RISC-V documenation for
17872 __riscv_flush_icache.
17873 * sysdeps/riscv/__longjmp.S: New file.
17874 * sysdeps/riscv/backtrace.c: Likewise.
17875 * sysdeps/riscv/bits/endian.h: Likewise.
17876 * sysdeps/riscv/bits/setjmp.h: Likewise.
17877 * sysdeps/riscv/bits/wordsize.h: Likewise.
17878 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17879 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17880 * sysdeps/riscv/dl-trampoline.S: Likewise.
17881 * sysdeps/riscv/gccframe.h: Likewise.
17882 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17883 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17884 * sysdeps/riscv/machine-gmon.h: Likewise.
17885 * sysdeps/riscv/memusage.h: Likewise.
17886 * sysdeps/riscv/setjmp.S: Likewise.
17887 * sysdeps/riscv/sys/asm.h: Likewise.
17888 * sysdeps/riscv/tls-macros.h: Likewise.
17889 * sysdeps/riscv/dl-tls.h: New file.
17890 * sysdeps/riscv/libc-tls.c: Likewise.
17891 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17892 * sysdeps/riscv/nptl/tls.h: Likewise.
17893 * sysdeps/riscv/stackinfo.h: Likewise.
17894 * sysdeps/riscv/bits/fenv.h: New file.
17895 * sysdeps/riscv/e_sqrtl.c: Likewise.
17896 * sysdeps/riscv/fpu_control.h: Likewise.
17897 * sysdeps/riscv/math-tests.h: Likewise.
17898 * sysdeps/riscv/nofpu/Implies: Likewise.
17899 * sysdeps/riscv/sfp-machine.h: Likewise.
17900 * sysdeps/riscv/tininess.h: Likewise.
17901 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17902 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17903 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17904 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17905 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17906 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17907 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17908 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17909 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17910 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17911 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17912 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17913 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17914 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17915 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17916 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17917 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17918 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17919 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17920 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17921 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17922 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17923 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17924 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17925 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17926 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17927 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17928 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17929 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17930 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17931 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17932 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17933 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17934 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17935 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17936 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17937 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17938 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17939 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17940 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17941 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17942 * sysdeps/riscv/rvf/math_private.h: Likewise.
17943 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17944 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17945 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17946 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17947 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17948 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17949 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17950 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17951 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17952 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17953 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17954 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17955 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17956 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17957 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17958 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
17959 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17960 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17961 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17962 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
17963 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17964 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17965 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17966 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17967 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17968 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17969 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17970 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17971 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
17972 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17973 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17974 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17975 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17976 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17977 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17978 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17979 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17980 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17981 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17982 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17983 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17984 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17985 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17986 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17987 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17988 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17989 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17990 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17991 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17992 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17993 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
17994 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17995 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17996 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
17997 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17998 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17999 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18000 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18001 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18002 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18003 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18004 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18006 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18007 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18008 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18009 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18010 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18011 * sysdeps/riscv/Implies: New file.
18012 * sysdeps/riscv/Makefile: Likewise.
18013 * sysdeps/riscv/configure: Likewise.
18014 * sysdeps/riscv/configure.ac: Likewise.
18015 * sysdeps/riscv/nptl/Makefile: Likewise.
18016 * sysdeps/riscv/preconfigure: Likewise.
18017 * sysdeps/riscv/rv64/Implies-after: Likewise.
18018 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18019 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18020 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18021 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18022 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18023 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18024 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18025 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18026 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18027 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18028 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
18029 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18030 (Config): Likewise.
18031
18032 2018-01-29 Florian Weimer <fweimer@redhat.com>
18033
18034 [BZ #22701]
18035 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18036 libnsl_hidden_proto.
18037 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18038 libnsl_hidden_proto.
18039 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18040 * nis/Makefile (libnsl-routines): Add nss-default only for
18041 build-obsolete-nsl.
18042 * nis/nis_defaults.c (__nis_default_ttl): Add
18043 libnsl_hidden_nolink_def.
18044 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18045 declaration.
18046 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18047 * nis/ypclnt.c (yp_maplist): Likewise.
18048
18049 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18050
18051 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18052 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18053
18054 2018-01-29 Joseph Myers <joseph@codesourcery.com>
18055
18056 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18057 clean -dxfq for git updates when replacing sources.
18058
18059 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18060 --disable-libcilkrts unconditionally, not just for the final GCC
18061 build for Hurd.
18062
18063 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18064 version to 4.15.
18065
18066 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18067
18068 [BZ #10871]
18069 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18070 case).
18071
18072 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18073
18074 [BZ #10871]
18075 * localedata/locales/be_BY (mon): Rename to...
18076 (alt_mon): This, then synchronize with CLDR (nominative case).
18077 (abmon): Rename to...
18078 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18079 (mon): Import from CLDR (genitive case).
18080 (abmon): Likewise.
18081 * localedata/locales/be_BY@latin (mon): Rename to...
18082 (alt_mon): This.
18083 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18084
18085 * localedata/locales/be_BY@latin (lang_name): Reworded to
18086 "biełaruskaja mova".
18087
18088 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18089
18090 [BZ #10871]
18091 * localedata/locales/el_CY (mon): Renamed to...
18092 (alt_mon): This.
18093 (mon): Import from CLDR (genitive case).
18094 * localedata/locales/el_GR: Likewise.
18095
18096 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18097
18098 [BZ #10871]
18099 * localedata/locales/ru_RU (mon): Rename to...
18100 (alt_mon): This.
18101 (abmon): Rename to...
18102 (ab_alt_mon): This.
18103 (mon): Import from CLDR (genitive case).
18104 (abmon): Copy from the old content except the 5th month which is
18105 now in the genitive case, even when abbreviated.
18106 * localedata/locales/ru_UA: Likewise.
18107 * time/tst-strptime.c (day_tests): Add an actual example of
18108 a difference between %b and %Ob in Russian.
18109
18110 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18111
18112 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
18113 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18114 a `c' variable.
18115 * resolv/res-close.c: Include <stdlib.h>.
18116 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18117 <sys/wait.h>, <time.h>, <sys/uio.h>.
18118 (NOT_CANCEL_H): Add inclusion guard.
18119 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
18120 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18121 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18122 return 0.
18123 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18124 vm_address_t * to ElfW(Addr) * for dl_main parameter.
18125 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18126 instead of void *.
18127 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18128 timer_ptr2id to cast struct timer_node * to void *.
18129 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18130 --disable-libcilkrts to gcc configure.
18131 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18132 and make them the default for now.
18133 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18134 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
18135 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18136 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18137 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18138 MACH_IPC_COMPAT.
18139 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18140 __task_terminate would ever return successfully.
18141 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18142 to global scope.
18143 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18144 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
18145 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18146 critical section to make code simpler and avoid warning.
18147 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18148 critical section to make code simpler and avoid warning.
18149 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18150 const char * instead of char *.
18151 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18152 __hurd_file_name_split, hurd_file_name_split,
18153 __hurd_directory_name_split, hurd_directory_name_split,
18154 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18155 hurd_file_name_path_lookup): Make lookup function parameter take a
18156 const char *name instead of char *name.
18157 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18158 __hurd_directory_name_split): Likewise.
18159 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18160 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
18161 * sysdeps/mach/hurd/check_native.c: New file.
18162 * sysdeps/mach/hurd/check_pf.c: New file.
18163 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18164 (__freeifaddrs): Define macro to freeifaddrs.
18165 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18166 * sysdeps/mach/libmachuser.abilist: New file.
18167 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18168 (do_test_bz20181): Rename accordingly.
18169 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
18170 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18171 <sys/mount.h>.
18172 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18173 version only if __USE_EXTERN_INLINES is defined.
18174 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18175 __hurd_sockfail): Likewise.
18176 (_hurd_fd_get): Always declare functions, and provide inline versions
18177 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18178 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18179 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18180 _hurd_port_set): Always declare functions, and provide inline versions
18181 only if __USE_EXTERN_INLINES and _LIBC are defined and
18182 IS_IN(libc).
18183 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18184 _hurd_critical_section_unlock): Likewise.
18185 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18186 * __hurd_threadvar_location): Likewise.
18187 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18188 _hurd_userlink_clear): Likewise.
18189 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18190 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18191 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18192 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18193 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18194 __spin_lock_locked): Likewise.
18195 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18196 __spin_lock_locked): Likewise.
18197 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18198 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18199 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18200 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18201 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18202 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18203 _POSIX_NO_TRUNC): Define to 0.
18204 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18205 check size against PTHREAD_STACK_MIN.
18206 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18207 IS_IN(libpthread)]: Include <sigsetops.h>.
18208 * mach/Makefile (user-interfaces): Add mach/gnumach.
18209 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18210 * sysdeps/mach/configure (mach_interface_list): Regenerate.
18211 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18212 instead of invalid -1.
18213 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18214 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18215 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18216 <net/ppp_defs.h>.
18217
18218 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18219
18220 * hurd/fcntl-internal.h: New file.
18221
18222 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18223
18224 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18225
18226 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18227
18228 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18229
18230 [BZ #22701]
18231 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18232 Build only shared objects.
18233
18234 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18235
18236 * README: Update for hppa.
18237
18238 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18239
18240 * sysdeps/sparc/fpu/libm-test-ulps: Update
18241 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18242
18243 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18244
18245 Revert:
18246
18247 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18248
18249 [BZ #22563]
18250 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18251 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18252 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18253 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18254 to feature_1.
18255
18256 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18257
18258 [BZ #22563]
18259 * bits/types/__cancel_jmp_buf_tag.h: New file.
18260 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18261 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18262 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18263 * nptl/Makefile (headers): Add
18264 bits/types/__cancel_jmp_buf_tag.h.
18265 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18266 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18267 * sysdeps/nptl/pthread.h: Include
18268 <bits/types/__cancel_jmp_buf_tag.h>.
18269 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18270 __cancel_jmp_buf.
18271 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18272
18273 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18274
18275 [BZ #10871]
18276 * localedata/locales/uk_UA (mon): Renamed to...
18277 (alt_mon): This.
18278 (alt_digits): "0" removed and then renamed to...
18279 (mon): This.
18280 (date_fmt): Definition changed not to use the alternative
18281 digits hack.
18282
18283 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
18284
18285 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18286 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18287 * elf/elf.h (EF_RISCV_RVC): New define.
18288 (EF_RISCV_FLOAT_ABI): Likewise.
18289 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18290 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18291 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18292 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18293 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18294 define.
18295 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18296
18297 2018-01-25 Andreas Schwab <schwab@suse.de>
18298
18299 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18300 single quotes.
18301 * sysdeps/gnu/configure: Regenerate.
18302 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18303 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18305 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18306 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18307 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18308 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18309 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18310
18311 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18312
18313 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
18314 URL, and run autoconf, make it the default for now.
18315
18316 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18317
18318 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18319 soft-float ColdFire configuration.
18320
18321 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18322 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18323 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18324
18325 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18326 MicroBlaze file.
18327
18328 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18329 ....
18330 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18331 ... here.
18332 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18333 New file.
18334
18335 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18336 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18337 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18338 file.
18339
18340 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18341
18342 [BZ #22742]
18343 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18344 Rename to __reserved and add comment.
18345 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18346 Rename to __reserved.
18347
18348 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18349
18350 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18351 i686-gnu configurations.
18352 (Context.run_builds): Include mig, gnumach and hurd in components
18353 considered.
18354 (Context.checkout): Add mig, gnumach and hurd to components.
18355 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18356 hurd.
18357 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18358 (Config.build): Install gnumach headers, build mig and install
18359 hurd headers for 'gnu' OS.
18360 (Config.install_gnumach_headers): New function.
18361 (Config.install_hurd_headers): Likewise.
18362 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18363 when building for 'gnu' OS.
18364
18365 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
18366
18367 * manual/tunables.texi (Hardware Capability Tunables): Fix
18368 spelling.
18369
18370 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
18371
18372 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18373 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18374 (ALTMON_11, ALTMON_12): Improve documentation.
18375 * manual/time.texi (strftime): Likewise.
18376
18377 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18378
18379 [BZ #10871]
18380 * localedata/locales/pl_PL: Alternative month names added,
18381 primary month names are genitive now.
18382 * time/tst-strptime.c (day_tests): Actually use a genitive case
18383 of a month name in Polish language.
18384
18385 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18386
18387 [BZ #10871]
18388 * manual/locale.texi: Document ALTMON_1..12 constants for
18389 nl_langinfo. Specify when to use ALTMON instead of MON.
18390 * manual/time.texi (strftime, strptime): Document GNU extension
18391 permitting O modifier with %B and %b. Specify when to use
18392 %OB instead of %B.
18393
18394 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18395
18396 [BZ #10871]
18397 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18398 names, define them as the same as abbreviated month names explicitly.
18399 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18400 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18401 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18402 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18403 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18404 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18405 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18406 _NL_WABALTMON_12): New enum constants.
18407 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18408 wab_alt_mon, and ab_alt_mon_defined members.
18409 (time_output): Output ab_alt_mon and wab_alt_mon members.
18410 (time_read): Read them, initialize them as copies of abmon and wabmon
18411 respectively if they are missing, initialize ab_alt_mon_defined.
18412 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18413 * locale/programs/locfile-kw.h: Regenerate.
18414 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18415 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18416 and ru_RU.UTF-8.
18417 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18418 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18419 (__strftime_internal): Handle %Ob and %Oh formats.
18420 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18421 (__strptime_internal): Handle %Ob and %Oh formats.
18422 * time/tst-strptime.c (day_tests): Add more tests to parse different
18423 forms of month names including the new %Ob format specifier.
18424
18425 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18426
18427 [BZ #10871]
18428 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18429 define them as the same as primary full month names explicitly.
18430 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18431 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18432 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18433 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18434 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18435 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18436 _NL_WALTMON_12): New enum constants.
18437 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18438 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18439 macros.
18440 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18441 walt_mon, and alt_mon_defined members.
18442 (time_output): Output alt_mon and walt_mon members.
18443 (time_read): Read them, initialize them as copies of mon and wmon
18444 respectively if they are missing, initialize alt_mon_defined.
18445 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18446 * locale/programs/locfile-kw.h: Regenerate.
18447 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18448 * localedata/tst-langinfo.c (map): Add tests for the new constants
18449 ALTMON_1 .. ALTMON_12.
18450 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18451 and pl_PL.UTF-8.
18452 * time/strftime_l.c (f_altmonth): New macro.
18453 (__strftime_internal): Handle %OB format.
18454 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18455 (__strptime_internal): Handle %OB format.
18456 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18457 of month names including the new %OB format specifier.
18458
18459 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18460
18461 [BZ #22685]
18462 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18463 from ABORT_TRANSACTION.
18464 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18465 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18466 ABORT_TRANSACTION_IMPL): Likewise.
18467 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18468 Linux code, but remove the code that aborts transactions.
18469
18470 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18471
18472 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18473
18474 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18475
18476 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18477 in date: "2004-14-09" should be "2004-09-14".
18478 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18479 "2003-15-09" should be "2003-09-15".
18480
18481 2018-01-18 Arjun Shankar <arjun@redhat.com>
18482
18483 [BZ #22343]
18484 [BZ #22774]
18485 CVE-2018-6485
18486 CVE-2018-6551
18487 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18488 after padding.
18489 (_int_memalign): check for integer overflow before calling
18490 _int_malloc.
18491 * malloc/tst-malloc-too-large.c: New test.
18492 * malloc/Makefile: Add tst-malloc-too-large.
18493
18494 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18495
18496 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18497 in date: "2017-24-07" should be "2017-07-24".
18498 * localedata/locales/mai_IN: Likewise.
18499 * localedata/locales/mai_NP: Likewise.
18500
18501 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18502
18503 * po/ru.po: Update translations.
18504
18505 2018-01-17 Joseph Myers <joseph@codesourcery.com>
18506
18507 [BZ #22719]
18508 * sysdeps/hppa/backtrace.c: New file.
18509
18510 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18511
18512 [BZ #22715]
18513 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18514 align La_x86_64_retval to VEC_SIZE.
18515
18516 2018-01-16 Joseph Myers <joseph@codesourcery.com>
18517
18518 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18519 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18520
18521 2018-01-16 Florian Weimer <fweimer@redhat.com>
18522
18523 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18524 Move tst-thread-exit-clobber ...
18525 [$(CXX)] (tests-unsupported): ... to here.
18526
18527 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18528
18529 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18530 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18531 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18532 (_dl_aarch64_cap_flags): Update.
18533 (_DL_HWCAP_COUNT): Update.
18534
18535 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18536
18537 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18538 (_DL_HWCAP_LAST): Remove.
18539 (_DL_HWCAP_COUNT): Move to ...
18540 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18541 (_DL_HWCAP_COUNT): ... here.
18542
18543 2018-01-16 Florian Weimer <fweimer@redhat.com>
18544
18545 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18546 mode with GNU extensions.
18547
18548 2018-01-15 Alan Hayward <alan.hayward@arm.com>
18549
18550 * elf/elf.h (NT_ARM_SVE): Define.
18551
18552 2018-01-15 Florian Weimer <fweimer@redhat.com>
18553
18554 [BZ #22636]
18555 * nptl/tst-minstack-throw.cc: New file.
18556 * nptl/Makefile (tests): Add tst-minstack-throw.
18557 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18558 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18559
18560 2018-01-15 Joseph Myers <joseph@codesourcery.com>
18561
18562 * scripts/build-many-glibcs.py (Context.checkout): Default
18563 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18564 version to 1.1.0.
18565
18566 2018-01-13 Carlos O'Donell <carlos@redhat.com>
18567
18568 [BZ #22707]
18569 * elf/elf.h (DF_1_STUB): Define.
18570 (DF_1_PIE): Define.
18571
18572 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18573
18574 [BZ #22697]
18575 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18576 Do not add 0.5 to integer or out-of-range arguments.
18577
18578 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18579
18580 * po/bg.po: Update translations.
18581 * po/cs.po: Likewise.
18582 * po/de.po: Likewise.
18583 * po/ko.po: Likewise.
18584 * po/pl.po: Likewise.
18585 * po/sv.po: Likewise.
18586 * po/uk.po: Likewise.
18587 * po/vi.po: Likewise.
18588
18589 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18590
18591 * aarch64/start.S (_start): Use __wrap_main.
18592 (__wrap_main): New local symbol.
18593
18594 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18595
18596 [BZ #22679]
18597 CVE-2018-1000001
18598 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18599 generic_getcwd if the path returned by getcwd syscall is not absolute.
18600 * io/tst-getcwd-abspath.c: New test.
18601 * io/Makefile (tests): Add tst-getcwd-abspath.
18602
18603 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18604
18605 * malloc/malloc.c (malloc_consolidate): Add size check.
18606
18607 2018-01-12 Florian Weimer <fweimer@redhat.com>
18608
18609 * support/write_message.c (write_message): Preserve errno.
18610 * support/check.c (print_failure): Likewise.
18611 * support/support_test_verify_impl.c (support_test_verify_impl):
18612 Likewise.
18613 * support/support_test_compare_failure.c
18614 (support_test_compare_failure): Likewise.
18615
18616 2018-01-12 Florian Weimer <fweimer@redhat.com>
18617
18618 [BZ #22701]
18619 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18620 Prevent installation of libnsl.so.
18621 (libnsl-inhibit-o): Do not build (or install) static libraries.
18622
18623 2018-01-12 Egmont Koblinger <egmont@gmail.com>
18624
18625 [BZ #22657]
18626 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18627 before the day number which may produce a double space.
18628 (date_fmt): Likewise.
18629
18630 2018-01-12 Joseph Myers <joseph@codesourcery.com>
18631
18632 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18633 instead of fegetenv.
18634
18635 2018-01-11 Joseph Myers <joseph@codesourcery.com>
18636
18637 [BZ #22702]
18638 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
18639 comment to say exceptions are discarded.
18640 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
18641 __fegetenv.
18642 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
18643 be enabled.
18644
18645 2018-01-11 Florian Weimer <fweimer@redhat.com>
18646
18647 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
18648 and error message.
18649
18650 2018-01-11 Florian Weimer <fweimer@redhat.com>
18651
18652 [BZ #22636]
18653 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18654 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18655
18656 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18657
18658 [BZ #22693]
18659 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18660 negative arguments in test for NaN or infinity argument.
18661
18662 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18663
18664 * po/libc.pot: Regenerate.
18665
18666 2018-01-10 Florian Weimer <fweimer@redhat.com>
18667
18668 [BZ #22636]
18669 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18670 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18671
18672 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18673
18674 * hurd/hurd/fd.h: Include <fcntl.h>
18675 (__hurd_at_flags): New function.
18676 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18677 with call to __hurd_at_flags.
18678 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18679 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18680 __faccessat
18681 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18682 (__access_noerrno): Use __faccessat_common instead of access_common.
18683 (__access): Likewise.
18684 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18685 with a call to __faccessat.
18686 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18687 (__faccessat_common): ... this. Move implementation of __access into it when
18688 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18689 reauthenticate_cwdir_at helper to implement AT mechanism.
18690 (__faccessat_noerrno): New function, just calls __faccessat_common.
18691 (__faccessat): New function, just calls __faccessat_common.
18692 (faccessat): Define weak alias.
18693
18694 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18695
18696 [BZ #22691]
18697 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18698 (CFLAGS-s_fmaxmagl.c): New variable.
18699 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18700
18701 [BZ #22690]
18702 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18703 long int for arguments of possibly overflowing addition or
18704 subtraction.
18705 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18706
18707 2018-01-09 Joseph Myers <joseph@codesourcery.com>
18708
18709 [BZ #22688]
18710 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18711 (CFLAGS-e_remainderl.c): New variable.
18712
18713 [BZ #22687]
18714 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18715 variable.
18716 (CFLAGS-s_cacoshl.c): Likewise.
18717 (CFLAGS-s_casinhl.c): Likewise.
18718 (CFLAGS-s_catanl.c): Likewise.
18719 (CFLAGS-s_catanhl.c): Likewise.
18720 (CFLAGS-s_cexpl.c): Likewise.
18721 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
18722 (CFLAGS-s_csinhl.c): Likewise.
18723 (CFLAGS-s_clogl.c): Likewise.
18724 (CFLAGS-s_clog10l.c): Likewise.
18725 (CFLAGS-s_csinl.c): Likewise.
18726 (CFLAGS-s_csqrtl.c): Likewise.
18727
18728 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
18729 2017-01-09 Svante Signell <svante.signell@gmail.com>
18730
18731 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
18732 (_hurd_exec_paths): New function.
18733 * hurd/hurd.h (_hurd_exec): Deprecate function.
18734 (_hurd_exec_paths): Declare function.
18735 * hurd/Versions: Export _hurd_exec_paths.
18736 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
18737 (__execve): Use __getcwd to build absolute path, and use
18738 _hurd_exec_paths instead of _hurd_exec.
18739 * sysdeps/mach/hurd/spawni.c: Likewise.
18740 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
18741 _hurd_exec.
18742
18743 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
18744
18745 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
18746 test instead of failing in case of ENOENT returned by posix_openpt.
18747
18748 2018-01-08 Florian Weimer <fweimer@redhat.com>
18749
18750 resolv: Support binary labels in test framework.
18751 * support/resolv_test.c (struct to_be_freed): Remove.
18752 (struct compressed_name): New.
18753 (allocate_compressed_name, ascii_tolower)
18754 (compare_compressed_name): New functions.
18755 (struct resolv_response_builder): Update type of
18756 compression_offsets for use with tsearch. Rempve to_be_freed.
18757 (response_push_pointer_to_free): Remove function.
18758 (resolv_response_add_name): Rewrite using struct compressed_name
18759 and tsearch instead of hsearch_r.
18760 (response_builder_allocate): Remove initialization of
18761 compression_offsets.
18762 (response_builder_free): Update for removal of to_be_freed. Use
18763 tdestroy instead of hdestroy_r.
18764 * resolv/Makefile (tests): Add tst-resolv-binary.
18765 (tst-resolv-binary): Link with -lresolv -lpthread.
18766
18767 2018-01-08 Florian Weimer <fweimer@redhat.com>
18768
18769 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18770 time. Pass positive flag instead of negative flag to
18771 support_test_compare_failure.
18772 (support_test_compare_failure): Change negative parameter to
18773 positive.
18774 * support/support_test_compare_failure.c (report)
18775 (support_test_compare_failure): Likewise.
18776 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18777 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18778
18779 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18780
18781 [BZ #22637]
18782 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18783 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18784 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18785 stacksize.
18786 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18787
18788 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18789
18790 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18791 Add s_sincosf-sse2 and s_sincosf-fma.
18792 (CFLAGS-s_sincosf-fma.c): New.
18793 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18794 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18795 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18796 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18797 __sincosf is defined.
18798
18799 2018-01-08 Florian Weimer <fweimer@redhat.com>
18800
18801 * nptl/tst-thread-exit-clobber.cc: New file.
18802 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18803 C++11 mode.
18804 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18805 (tests): Add tst-thread-exit-clobber.
18806 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18807
18808 2018-01-08 Florian Weimer <fweimer@redhat.com>
18809
18810 * support/check.h (support_static_assert): Define.
18811 (TEST_COMPARE): Use it.
18812
18813 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18814
18815 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18816 [!__RLIM_T_MATCHES_RLIM64_T]
18817 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18818 __getrlimit64. Add libc_hidden_weak.
18819
18820 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
18821
18822 * elf/elf.h (R_RISCV_NONE): New define.
18823 (R_RISCV_32): Likewise.
18824 (R_RISCV_64): Likewise.
18825 (R_RISCV_RELATIVE): Likewise.
18826 (R_RISCV_COPY): Likewise.
18827 (R_RISCV_JUMP_SLOT): Likewise.
18828 (R_RISCV_TLS_DTPMOD32): Likewise.
18829 (R_RISCV_TLS_DTPMOD64): Likewise.
18830 (R_RISCV_TLS_DTPREL32): Likewise.
18831 (R_RISCV_TLS_DTPREL64): Likewise.
18832 (R_RISCV_TLS_TPREL32): Likewise.
18833 (R_RISCV_TLS_TPREL64): Likewise.
18834 * Makerules (make-link-multidir): Make directories before linking into
18835 them.
18836 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18837 define.
18838 (VDSO_HASH_LINUX_4_15): Likewise.
18839 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18840 in subdirectories of lib.
18841 * nptl/Makefile (/librt.so): Always depend on
18842 "$(shared-thread-library)".
18843
18844 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18845
18846 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
18847 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18848 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18849 (___tls_get_addr).
18850 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
18851 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18852 "-O2 -march=i686".
18853 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
18854 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18855 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18856 * sysdeps/gnu/glob-lstat-compat.c: New file.
18857 * sysdeps/gnu/glob64-lstat-compat.c: New file.
18858 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
18859
18860 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18861
18862 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18863 Reserve 16 chars to reloc_addr before calling _itoa_word.
18864
18865 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18866
18867 [BZ #22678]
18868 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18869 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18870
18871 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18872 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18873
18874 * resource/tst-getrlimit.c: Add copyright header.
18875
18876 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18877 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18878
18879 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18880 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18881 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18882 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18883 instead.
18884 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18885 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18886 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18887 RLIM64_INFINITY): Fix values to match the kernel ones.
18888 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18889 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18890 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18891 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18892 getrlimit64@@GLIBC_2_27.
18893 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18894 and setrlimit64.
18895 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18896 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18897 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18898 setrlimit, getrlimit64 and setrlimit64.
18899
18900 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18901
18902 [BZ #22648]
18903 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18904 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18905
18906 2018-01-04 Joseph Myers <joseph@codesourcery.com>
18907
18908 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18909 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18910 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18911
18912 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18913
18914 [BZ #15479]
18915 [BZ #22666]
18916 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18917 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18918
18919 [BZ #15479]
18920 [BZ #22665]
18921 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18922 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18923 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18924 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18925
18926 2018-01-04 Florian Weimer <fweimer@redhat.com>
18927
18928 [BZ #22667]
18929 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18930 Align the stack before calling exit.
18931 * stdlib/tst-makecontext-align.c: New file.
18932 * stdlib/Makefile (tests): Add tst-makecontext-align.
18933
18934 2018-01-04 Florian Weimer <fweimer@redhat.com>
18935
18936 Add support for calling dlvsym from libc.so.
18937 * include/dlfcn.h (__libc_dlvsym): Declare.
18938 * elf/Makefile (tests-static-internal): Add
18939 tst-libc_dlvsym-static.
18940 (tests-internal): Add tst-libc_dlvsym.
18941 (modules-names): Add tst-libc_dlvsym-dso.
18942 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18943 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18944 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18945 object tst-libc_dlvsym-dso.so needs to be built before running
18946 these tests.
18947 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18948 * elf/Versions: Export __libc_dlvsym.
18949 * elf/dl-libc.c (struct do_dlvsym_args): New.
18950 (do_dlvsym, __libc_dlvsym): New functions.
18951 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18952 (_dl_open_hook2): New variable.
18953 (__libc_register_dl_open_hook): Set it.
18954 * elf/tst-libc_dlvsym-dso.c: New file.
18955 * elf/tst-libc_dlvsym-static.c: Likewise.
18956 * elf/tst-libc_dlvsym.c: Likewise.
18957 * elf/tst-libc_dlvsym.h: Likewise.
18958
18959 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18960
18961 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18962 include <sys/mount.h>.
18963
18964 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18965
18966 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18967 Add __NO_MATH_ERRNO__ check.
18968
18969 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18970
18971 * sysdeps/mips/mips32/libm-test-ulps: Update.
18972 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18973
18974 2018-01-02 Florian Weimer <fweimer@redhat.com>
18975
18976 * misc/tst-pselect.c: Add copyright header.
18977
18978 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18979
18980 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18981 comment.
18982 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18983 comment.
18984 (settrlimit): Rename into setrlimit.
18985 (__sttrlimit): Rename into __setrlimit.
18986
18987 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18988 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18989 never defined in that case.
18990
18991 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18992
18993 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18994
18995 * sysdeps/arm/libm-test-ulps: Update.
18996
18997 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18998 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18999
19000 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19001
19002 * NEWS: Add cosf and sincosf to list of optimized functions.
19003
19004 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19005
19006 [BZ #22660]
19007 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19008 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19009 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19010 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19011
19012 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19013
19014 [BZ #22433]
19015 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19016
19017 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19018 making a copy of it.
19019
19020 2018-01-01 Joseph Myers <joseph@codesourcery.com>
19021
19022 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19023 trailing whitespace removed.
19024 * scripts/config.guess: Update to version 2018-01-01.
19025 * scripts/config.sub: Update to version 2018-01-01.
19026 * scripts/move-if-change: Update from gnulib.
19027
19028 * NEWS: Update copyright dates.
19029 * catgets/gencat.c (print_version): Likewise.
19030 * csu/version.c (banner): Likewise.
19031 * debug/catchsegv.sh: Likewise.
19032 * debug/pcprofiledump.c (print_version): Likewise.
19033 * debug/xtrace.sh (do_version): Likewise.
19034 * elf/ldconfig.c (print_version): Likewise.
19035 * elf/ldd.bash.in: Likewise.
19036 * elf/pldd.c (print_version): Likewise.
19037 * elf/sotruss.sh: Likewise.
19038 * elf/sprof.c (print_version): Likewise.
19039 * iconv/iconv_prog.c (print_version): Likewise.
19040 * iconv/iconvconfig.c (print_version): Likewise.
19041 * locale/programs/locale.c (print_version): Likewise.
19042 * locale/programs/localedef.c (print_version): Likewise.
19043 * login/programs/pt_chown.c (print_version): Likewise.
19044 * malloc/memusage.sh (do_version): Likewise.
19045 * malloc/memusagestat.c (print_version): Likewise.
19046 * malloc/mtrace.pl: Likewise.
19047 * manual/libc.texinfo: Likewise.
19048 * nptl/version.c (banner): Likewise.
19049 * nscd/nscd.c (print_version): Likewise.
19050 * nss/getent.c (print_version): Likewise.
19051 * nss/makedb.c (print_version): Likewise.
19052 * posix/getconf.c (main): Likewise.
19053 * scripts/test-installation.pl: Likewise.
19054 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19055
19056 * All files with FSF copyright notices: Update copyright dates
19057 using scripts/update-copyrights.
19058 * locale/programs/charmap-kw.h: Regenerated.
19059 * locale/programs/locfile-kw.h: Likewise.
19060
19061 2017-12-31 Zack Weinberg <zackw@panix.com>
19062
19063 * libio/bits/libio-ldbl.h: Correct check for improper
19064 inclusion. Add own multiple include guard.
19065
19066 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19067 Dmitry V. Levin <ldv@altlinux.org>
19068
19069 [BZ #22625]
19070 CVE-2017-16997
19071 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19072 string token expansion. Check for NULL pointer or empty string possibly
19073 returned by expand_dynamic_string_token.
19074 (decompose_rpath): Check for empty path after dynamic string
19075 token expansion.
19076
19077 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19078
19079 [BZ #22433]
19080 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19081
19082 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19083 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19084 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19085 and PTRACE_SYSCALL.
19086 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19087 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19088 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19089 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19090 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19091 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19092
19093 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19094 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19095 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19096 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19098 bits/ptrace-shared.h.
19099 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19100 <bits/ptrace-shared.h>.
19101 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19102 __ptrace_peeksiginfo_flags, ptrace): Remove.
19103 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19104 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19105 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19106 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19107 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19108
19109 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19110
19111 [BZ #17804]
19112 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19113 end of the loop. Improve comments.
19114
19115 2017-12-29 Zack Weinberg <zackw@panix.com>
19116
19117 [BZ #22615]
19118 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19119 might be set on success.
19120
19121 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19122
19123 [BZ #22611]
19124 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19125 is unchanged on success.
19126
19127 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19128
19129 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19130 updated.
19131 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19132 expand_dynamic_string_token): Likewise.
19133 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19134 is_path argument.
19135
19136 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19137 contains ':'.
19138
19139 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19140 is set and name contains ':', and all code depending on these checks.
19141
19142 2017-12-24 Zack Weinberg <zackw@panix.com>
19143
19144 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19145 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19146 respectively.
19147 * libio/libio.h: Rename the original version of this file to
19148 libio/bits/libio.h. Error out if not included by stdio.h or the
19149 stub libio.h.
19150 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19151 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19152 if not included by bits/libio.h or the stub _G_config.h.
19153 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19154 sysdeps/unix/sysv/linux/bits. Error out if not included by
19155 bits/libio.h or the stub _G_config.h.
19156 * libio/stdio.h: Include bits/libio.h, not libio.h.
19157 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19158 well as libio.h and _G_config.h.
19159
19160 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19161 * libio/strfile.h, stdio-common/vfscanf.c
19162 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19163 Include stdio.h, not _G_config.h nor libio.h.
19164 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19165 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19166
19167 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19168
19169 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19170
19171 [BZ #22347]
19172 * stdlib/getrandom.c (getrandom): Fix comment.
19173 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19174
19175 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
19176
19177 [BZ #21161]
19178 * manual/arith.texi (strtoul): Fix a typo.
19179
19180 [BZ #22596]
19181 * manual/arith.texi (finite): Fix the description of the return
19182 value.
19183
19184 2017-12-22 Eric Blake <ebb9@byu.net>
19185
19186 Avoid gcc warnings on cygwin
19187 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19188 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19189 Avoid unused variable.
19190
19191 2017-12-22 Florian Weimer <fweimer@redhat.com>
19192
19193 * io/Makefile (routines): Add copy_file_range.
19194 (tests): Add tst-copy_file_range.
19195 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19196 * io/Versions (GLIBC_2.27): Export copy_file_range.
19197 * io/copy_file_range-compat.c: New file.
19198 * io/copy_file_range.c: Likewise.
19199 * io/tst-copy_file_range-compat.c: Likewise.
19200 * io/tst-copy_file_range.c: Likewise.
19201 * manual/llio.texi (Copying File Data): New section.
19202 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19203 * support/Makefile (libsupport-routines): Add support-xfstat,
19204 xftruncate, xlseek.
19205 * support/support-xfstat.c: New file.
19206 * support/xftruncate.c: Likewise.
19207 * support/xlseek.c: Likewise.
19208 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19209 * sysdeps/unix/sysv/linux/**.abilist: Update.
19210 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19211
19212 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19213
19214 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19215 disable-multi-arch variant to aarch64-linux-gnu.
19216
19217 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19218
19219 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19220 trailing whitespace removed.
19221 * scripts/config.guess: Update to version 2017-12-17.
19222 * scripts/config.sub: Update to version 2017-11-23.
19223 * scripts/install-sh: Update to version 2017-09-23.17.
19224 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19225
19226 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19227
19228 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19229 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19230 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19231 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19232 * sysdeps/tile/crtn.S: Likewise.
19233 * sysdeps/tile/dl-start.S (_start): Likewise.
19234 * sysdeps/tile/dl-trampoline.S: Likewise.
19235 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19236 * sysdeps/tile/start.S (_start): Likewise.
19237 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19238 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19239 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19240 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19241 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19242 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19243 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19244
19245 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19246 comment.
19247 * sysdeps/tile/preconfigure: Remove tilegx folder.
19248 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19249 * sysdeps/tile/Implies: ... here.
19250 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19251 * sysdeps/tile/Makefile: ... here.
19252 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19253 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19254 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19255 * sysdeps/tile/bits/wordsize.h: ... here.
19256 * sysdeps/tile/tilegx/*: Move to ...
19257 * sysdeps/tile/*: ... here.
19258 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19259 * sysdeps/tile/tilegx32/Implies: ... here.
19260 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19261 * sysdeps/tile/tilegx64/Implies: ... here.
19262 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19263 to ...
19264 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19265 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19266 * sysdeps/unix/sysv/linux/tile/*: ... here.
19267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19268 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19270 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19271
19272 * README: Remove tilepro-*-linux-gnu from supported architecture.
19273 * scripts/build-many-glibcs.py: Likewise.
19274 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19275 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19276 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19277 elf_machine_matches_host, elf_machine_dynamic,
19278 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19279 howto, elf_machine_rela): Likewise.
19280 * sysdeps/tile/dl-start.S (_start): Likewise.
19281 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19282 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19283 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19284 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19285 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19286 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19287 Likewise.
19288 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19289 * sysdeps/tile/preconfigure: Likewise.
19290 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19291 POINTER_CHK_GUARD): Likewise.
19292 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19293 * sysdeps/tile/start.S (_start): Likewise.
19294 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19295 Likewise.
19296 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19297 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19298 CMOVNEZ): Remove.
19299 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19300 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19301 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19302 Likewise.
19303 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19304 * sysdeps/tile/tilepro/Implies: Remove file.
19305 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19306 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19307 * sysdeps/tile/tilepro/memchr.c: Likewise.
19308 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19309 * sysdeps/tile/tilepro/memset.c: Likewise.
19310 * sysdeps/tile/tilepro/memusage.h: Likewise.
19311 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19312 * sysdeps/tile/tilepro/strchr.c: Likewise.
19313 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19314 * sysdeps/tile/tilepro/strlen.c: Likewise.
19315 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19316 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19317 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19318 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19319 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19320 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19321 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19322 Likewise.
19323 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19324 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19325 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19326 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19327 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19328 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19329 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19330 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19331 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19332 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19333 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19334 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19335 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19336 tilepro mention in comment.
19337
19338 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19339 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19340 * nptl/pthread_join_common.c: New file: common function used on
19341 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19342 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19343 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19344 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19345 (cleanup): Move definition to pthread_join_common.c.
19346 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19347 Remove superflous checks.
19348 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19349 Likewise.
19350
19351 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19352
19353 * sysdeps/aarch64/libm-test-ulps: Update.
19354
19355 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19356
19357 * sysdeps/aarch64/memset.S (MEMSET): Define.
19358
19359 2017-12-20 Florian Weimer <fweimer@redhat.com>
19360
19361 [BZ #22635]
19362 nptl: Provide full implementation of pthread_self in libc.so.
19363 * nptl/Makefile (routines): Add pthread_self.
19364 (libpthread-routines): Replace pthread_self with
19365 compat-pthread_self.
19366 * nptl/forward.c (pthread_self): Remove.
19367 * nptl/nptl-init.c (pthread_functions): Do not initialize
19368 ptr_pthread_self.
19369 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19370 * nptl/compat-pthread_self.c: New file.
19371 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19372 Remove ptr_pthread_self.
19373
19374 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19375
19376 * posix/regcomp.c: Fix spelling in comments.
19377 * posix/regex.h: Likewise.
19378 * posix/regex_internal.c: Likewise.
19379 * posix/regexec.c: Likewise.
19380
19381 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19382
19383 [BZ #22377]
19384 * math/Makefile [C++] (tests): Add test for iseqsig.
19385 * math/math.h [C++] (iseqsig): New implementation, which does
19386 not rely on __MATH_TG/__builtin_types_compatible_p.
19387 * math/test-math-iseqsig.cc: New file.
19388 * sysdeps/powerpc/powerpc64le/Makefile
19389 (CFLAGS-test-math-iseqsig.cc): New variable.
19390
19391 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19392
19393 * elf/dl-load.c (is_trusted_path): Remove.
19394 (fillin_rpath): Remove check_trusted argument and its use,
19395 all callers changed.
19396
19397 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19398
19399 [BZ #22630]
19400 * Makeconfig (link-pie-before-libc): Replace -pie with
19401 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19402 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19403 (tst-dlopen-aout-no-pie): New.
19404 (LDFLAGS-tst-prelink): Removed.
19405 (tst-prelink-no-pie): New.
19406 (LDFLAGS-tst-main1): Removed.
19407 (tst-main1-no-pie): New.
19408 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19409 (tst-gmon-no-pie): New.
19410
19411 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19412
19413 * manual/install.texi: Document that --enable-static-pie
19414 implies PIE.
19415 * INSTALL: Regenerated.
19416
19417 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19418
19419 [BZ #21309]
19420 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19421 unsigned.
19422
19423 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19424
19425 Revert:
19426
19427 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19428
19429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19430
19431 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19432
19433 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19434 <errno.h>. Include "eexp.tbl".
19435 (half): New constant.
19436 (one): Likewise.
19437 (__ieee754_exp): Rewrite.
19438 (__slowexp): Remove prototype.
19439 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19440 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19441 * sysdeps/i386/fpu/slowexp.c: Likewise.
19442 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19443 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19444 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19445 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19446 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19447 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19448 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19449 comment.
19450 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19451 (CPPFLAGS-slowexp.c): Remove variable.
19452 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19453 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19454 (CFLAGS-slowexp-fma.c): Remove variable.
19455 (CFLAGS-slowexp-fma4.c): Likewise.
19456 (CFLAGS-slowexp-avx.c): Likewise.
19457 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19458 define as macro.
19459 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19460 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19461 * math/Makefile (type-double-routines): Remove slowexp.
19462 * manual/probes.texi (slowexp_p6): Remove.
19463 (slowexp_p32): Likewise.
19464
19465 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19466
19467 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19468 arithmetic.
19469
19470 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19471
19472 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19473
19474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19475
19476 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19477
19478 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19479 <errno.h>. Include "eexp.tbl".
19480 (half): New constant.
19481 (one): Likewise.
19482 (__ieee754_exp): Rewrite.
19483 (__slowexp): Remove prototype.
19484 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19485 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19486 * sysdeps/i386/fpu/slowexp.c: Likewise.
19487 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19488 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19489 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19490 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19491 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19492 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19493 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19494 comment.
19495 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19496 (CPPFLAGS-slowexp.c): Remove variable.
19497 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19498 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19499 (CFLAGS-slowexp-fma.c): Remove variable.
19500 (CFLAGS-slowexp-fma4.c): Likewise.
19501 (CFLAGS-slowexp-avx.c): Likewise.
19502 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19503 define as macro.
19504 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19505 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19506 * math/Makefile (type-double-routines): Remove slowexp.
19507 * manual/probes.texi (slowexp_p6): Remove.
19508 (slowexp_p32): Likewise.
19509
19510 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19511 James Clarke <jrtc27@jrtc27.com>
19512
19513 [BZ #22603]
19514 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19515 addition.
19516
19517 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19518
19519 [BZ #22605]
19520 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19521 code.
19522
19523 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19524
19525 [BZ #22563]
19526 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19527 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19528 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19529 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19530 to feature_1.
19531
19532 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19533
19534 [BZ #22563]
19535 * bits/types/__cancel_jmp_buf_tag.h: New file.
19536 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19537 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19538 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19539 * nptl/Makefile (headers): Add
19540 bits/types/__cancel_jmp_buf_tag.h.
19541 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19542 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19543 * sysdeps/nptl/pthread.h: Include
19544 <bits/types/__cancel_jmp_buf_tag.h>.
19545 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19546 __cancel_jmp_buf.
19547 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19548
19549 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19550
19551 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19552 --enable-static-pie variants to x86_64, x32 and i686.
19553
19554 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19555
19556 [BZ #22631]
19557 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19558 argument for attrubutes. All callers changed.
19559 (__inline_mathop1): Likewise. All callers changed.
19560 (__inline_mathop): Likewise. All callers changed.
19561 [__USE_MISC] (scalbn): Use __inline_forward instead of
19562 __inline_forward_c.
19563 [__USE_ISOC99] (scalbln): Likewise.
19564 [__USE_ISOC99] (nearbyint): Likewise.
19565 [__USE_ISOC99] (lrint): Likewise.
19566 [__USE_MISC] (scalbnf): Likewise.
19567 [__USE_ISOC99] (scalblnf): Likewise.
19568 [__USE_ISOC99] (nearbyintf): Likewise.
19569 [__USE_ISOC99] (lrintf): Likewise.
19570 [__USE_MISC] (scalbnl): Likewise.
19571 [__USE_ISOC99] (scalblnl): Likewise.
19572 [__USE_ISOC99] (nearbyintl): Likewise.
19573 [__USE_ISOC99] (lrintl): Likewise.
19574 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19575 __inline_mathop and __m81_defun changed.
19576
19577 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19578 CPU or FPU for ARM hard-float configurations.
19579
19580 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19581
19582 * nptl/tst-attr3.c: Include <libc-diag.h>.
19583 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19584
19585 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19586
19587 * string/tester.c (test_strncat): Also disable -Warray-bounds
19588 warnings for two tests.
19589
19590 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19591
19592 [BZ #22614]
19593 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19594 $(cc-pie-default) == yes.
19595 * config.make.in (cc-pie-default): New.
19596 * configure.ac (libc_cv_pie_default): Renamed to ...
19597 (libc_cv_cc_pie_default): This.
19598 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19599 * configure: Regenerated.
19600
19601 2017-12-18 Florian Weimer <fweimer@redhat.com>
19602
19603 [BZ #20204]
19604 ld.so: Harden dl-libc/libdl hooks.
19605 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19606 (rtld_active): New function.
19607 * dlfcn/dladdr.c (__dladdr): Call it.
19608 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19609 * dlfcn/dlclose.c (__dlcose): Likewise.
19610 * dlfcn/dlerror.c (__dlerror): Likewise.
19611 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19612 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19613 * dlfcn/dlopen.c (__dlopen): Likewise.
19614 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19615 * dlfcn/dlsym.c (__dlsym): Likewise.
19616 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19617 * libio/vtables.c (_IO_vtable_check): Likewise.
19618 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19619 (__libc_dlclose): Likewise.
19620 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19621 assignment.
19622
19623 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19624
19625 [BZ #22446]
19626 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19627 buffers for readlink input and output.
19628
19629 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19630
19631 [BZ #22624]
19632 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19633 inhibit_stack_protector.
19634
19635 [BZ #22624]
19636 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
19637 inhibit_stack_protector.
19638
19639 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
19640
19641 [BZ #22627]
19642 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
19643 code and invocation.
19644
19645 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19646
19647 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
19648
19649 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
19650
19651 [BZ #22505]
19652 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19653
19654 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19655
19656 * sysdeps/s390/fpu/libm-test-ulps: Update.
19657
19658 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19659
19660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19661
19662 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19663
19664 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19665 constants to s_sincosf.h file.
19666 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19667 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19668 implementation.
19669 * sysdeps/ieee754/flt-32/s_sincosf.h:
19670 New file.
19671
19672 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19673
19674 [BZ #14681]
19675 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19676 before mtrace.
19677
19678 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19679
19680 [BZ #19574]
19681 * INSTALL: Regenerated.
19682 * Makeconfig (real-static-start-installed-name): New.
19683 (pic-default): Updated for --enable-static-pie.
19684 (pie-default): New for --enable-static-pie.
19685 (default-pie-ldflag): Likewise.
19686 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19687 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19688 Replace $(static-start-installed-name) with
19689 $(real-static-start-installed-name).
19690 (+prectorT): Updated for --enable-static-pie.
19691 (+postctorT): Likewise.
19692 (CFLAGS-.o): Add $(pie-default).
19693 (CFLAGS-.op): Likewise.
19694 * NEWS: Mention --enable-static-pie.
19695 * config.h.in (ENABLE_STATIC_PIE): New.
19696 * configure.ac (--enable-static-pie): New configure option.
19697 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19698 (have-static-pie): Likewise.
19699 Enable static PIE if linker supports --no-dynamic-linker.
19700 (ENABLE_STATIC_PIE): New AC_DEFINE.
19701 (enable-static-pie): New LIBC_CONFIG_VAR.
19702 * configure: Regenerated.
19703 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19704 gr$(start-installed-name) for --enable-static-pie.
19705 (extra-objs): Likewise.
19706 (install-lib): Likewise.
19707 (extra-objs): Add static-reloc.o and static-reloc.os
19708 ($(objpfx)$(start-installed-name)): Also depend on
19709 $(objpfx)static-reloc.o.
19710 ($(objpfx)r$(start-installed-name)): New.
19711 ($(objpfx)g$(start-installed-name)): Also depend on
19712 $(objpfx)static-reloc.os.
19713 ($(objpfx)gr$(start-installed-name)): New.
19714 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19715 in libc.a.
19716 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19717 initimage.
19718 * csu/static-reloc.c: New file.
19719 * elf/Makefile (routines): Add dl-reloc-static-pie.
19720 (elide-routines.os): Likewise.
19721 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
19722 (tst-tls1-static-non-pie-no-pie): New.
19723 * elf/dl-reloc-static-pie.c: New file.
19724 * elf/dl-support.c (_dl_get_dl_main_map): New function.
19725 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
19726 STATIC_PIE_BOOTSTRAP.
19727 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19728 * gmon/Makefile (tests): Add tst-gmon-static-pie.
19729 (tests-static): Likewise.
19730 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
19731 (tst-gmon-static-no-pie): New.
19732 (CFLAGS-tst-gmon-static-pie.c): Likewise.
19733 (CRT-tst-gmon-static-pie): Likewise.
19734 (tst-gmon-static-pie-ENV): Likewise.
19735 (tests-special): Likewise.
19736 ($(objpfx)tst-gmon-static-pie.out): Likewise.
19737 (clean-tst-gmon-static-pie-data): Likewise.
19738 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
19739 * gmon/tst-gmon-static-pie.c: New file.
19740 * manual/install.texi: Document --enable-static-pie.
19741 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
19742 (_dl_get_dl_main_map): Likewise.
19743 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
19744 * sysdeps/x86_64/configure.ac: Likewise.
19745 * sysdeps/i386/configure: Regenerated.
19746 * sysdeps/x86_64/configure: Likewise.
19747 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
19748 (ASFLAGS-.op): Likewise.
19749
19750 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19751
19752 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
19753 * posix/tst-mmap-offset.c (fname): Use /tmp.
19754 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
19755
19756 2017-12-15 Steve Ellcey <sellcey@cavium.com>
19757
19758 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19759
19760 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19761
19762 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19763 errno.
19764
19765 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19766
19767 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19768 --with-float=hard for arm-linux-gnueabihf configurations.
19769
19770 [BZ #14121]
19771 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19772 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19773 ($(mo-installed)): Use $(objpfx)%.mo.
19774 (realclean): Remove rule.
19775
19776 * po/Makefile (linguas): Remove rule and dependencies.
19777 (linguas.mo): Likewise.
19778 (.PHONY): Do not depend on linguas and linguas.mo.
19779 (podir): Remove variable.
19780 (pofiles): Likewise.
19781 [$(pofiles)] (%.po): Remove rule.
19782
19783 * sysdeps/sparc/sparc32/Makefile
19784 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19785 start-of-line whitespace in argument of echo.
19786 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19787 with whitespace. Generate __wrap_.udiv alias.
19788 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19789 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19790 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19791 * sysdeps/sparc/sparc32/urem.S: Likewise.
19792
19793 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19794
19795 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19796 for aligned inputs.
19797
19798 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19799
19800 * benchtests/bench-strcmp.c: Print output in JSON format.
19801
19802 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19803
19804 2017-12-14 Florian Weimer <fweimer@redhat.com>
19805
19806 [BZ #22607]
19807 CVE-2017-1000409
19808 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19809 the expanded path string.
19810
19811 2017-12-14 Florian Weimer <fweimer@redhat.com>
19812
19813 [BZ #22606]
19814 CVE-2017-1000408
19815 * elf/dl-load.c (system_dirs): Update comment.
19816 (nsystem_dirs_len): Use array_length.
19817 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19818
19819 2017-12-14 Florian Weimer <fweimer@redhat.com>
19820
19821 Simplify compiling most of support/ outside of glibc.
19822 * support/check_addrinfo.c: Include <string.h>.
19823 * support/check_dns_packet.c: Likewise.
19824 * support/check_hostent.c: Likewise.
19825 * support/support_can_chroot.c: Include <support/xunistd.h>.
19826 * support/support_format_addrinfo.c: Include <stdlib.h>
19827 * support/support_format_dns_packet.c: Include <stdbool.h>.
19828 * support/support_format_hostent.c: Include <stdlib.h>.
19829 * support/support_format_netent.c: Likewise.
19830 * support/support_write_string.c: Include <support/xunistd.h>.
19831 * support/xdlfcn.c: Include <stddef.h>.
19832
19833 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19834
19835 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19836
19837 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19838 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19839
19840 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19841 (sysdeps_routines): Add memset-niagara7.
19842 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19843 Likewise.
19844 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19845 file.
19846 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19847 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19848 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19849 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19850 Add niagara7 option.
19851 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19852 memset.
19853
19854 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19855 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19856 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19857 Likewise.
19858 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19859 New file.
19860 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19861 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19862 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19863 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19864 and __memmove_niagara7.
19865 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19866 Add niagara7 option.
19867 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19868 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19869 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19870 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19871 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19872
19873 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19874
19875 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19876 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19877 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19878 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19879
19880 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19881 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19882 _dl_sparc_cap_flags array.
19883 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19884
19885 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19886
19887 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19888 time whenever possible.
19889
19890 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19891
19892 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19893 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19894
19895 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19896
19897 * soft-fp/fmadf4.c: Move to ....
19898 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19899 * soft-fp/fmasf4.c: Move to ....
19900 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19901 * soft-fp/fmatf4.c: Move to ....
19902 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19903 * sysdeps/ieee754/soft-fp/Makefile: New file.
19904 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19905 * sysdeps/arm/preconfigure: Regenerated.
19906 * sysdeps/arm/nofpu/Implies: New file.
19907 * sysdeps/arm/s_fma.c: Remove file.
19908 * sysdeps/arm/s_fmaf.c: Likewise.
19909 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19910 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19911 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19912 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19913 * sysdeps/microblaze/s_fma.c: Remove file.
19914 * sysdeps/microblaze/s_fmaf.c: Likewise.
19915 * sysdeps/mips/mips32/nofpu/Implies: New file.
19916 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19917 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19918 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19919 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19920 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19921 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19922 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19923 implementation.
19924 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19925 * sysdeps/nios2/s_fma.c: Remove file.
19926 * sysdeps/nios2/s_fmaf.c: Likewise.
19927 * sysdeps/sh/nofpu/Implies: New file.
19928 * sysdeps/sh/s_fma.c: Remove file.
19929 * sysdeps/sh/s_fmaf.c: Likewise.
19930 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19931 * sysdeps/tile/s_fma.c: Remove file.
19932 * sysdeps/tile/s_fmaf.c: Likewise.
19933
19934 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19935
19936 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19937 Add s_cosf-sse2 and s_cosf-fma.
19938 (CFLAGS-s_cosf-fma.c): New.
19939 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19940 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19941 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19942
19943 2017-12-12 Steve Ellcey <sellcey@cavium.com>
19944
19945 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19946
19947 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19948
19949 * libio/Makefile (tests): Add tst-bz22415.
19950 (tst-bz22415-ENV): New rule.
19951 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19952 (tests-special): Add tst-bz22415-mem.out.
19953 ($(objpfx)tst-bz22415-mem.out): New rule.
19954 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19955 in case of a successful seek operation.
19956 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19957 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19958 buffer is required.
19959 * libio/tst-bz22415.c: New test.
19960
19961 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19962
19963 2017-12-12 James Clarke <jrtc27@jrtc27.com>
19964
19965 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19966 __IPC_64 to 0 to avoid IPC_64 being set.
19967
19968 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19969
19970 [BZ #22593]
19971 * math/bits/mathcalls.h (nextafter): Remove const.
19972 (nexttoward): Likewise.
19973
19974 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19975
19976 * configure.ac (--with-fp): Remove configure option.
19977 (with_fp_cond): New variable.
19978 (libc_cv_with_fp): New configure test. Use this variable instead
19979 of with_fp.
19980 * configure: Regenerated.
19981 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19982 * manual/install.texi (Configuring and compiling): Remove
19983 --without-fp.
19984 * INSTALL: Regenerated.
19985 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19986 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19987 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19988 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19989 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19990 use --without-fp to configure glibc.
19991
19992 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
19993
19994 * manual/locale.texi (nl_langinfo): Fix a typo.
19995
19996 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
19997
19998 [BZ #22588]
19999 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20000
20001 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20002
20003 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20004 (CFLAGS-argp-parse.c): Likewise.
20005 (CFLAGS-argp-fmtstream.c): Likewise.
20006 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20007 (CPPFLAGS-sha512-crypt.c): Likewise.
20008 (CPPFLAGS-md5-crypt.c): Likewise.
20009 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20010 (CFLAGS-stack_chk_fail_local.c): Likewise.
20011 (CFLAGS-backtrace.c): Likewise.
20012 (CFLAGS-sprintf_chk.c): Likewise.
20013 (CFLAGS-snprintf_chk.c): Likewise.
20014 (CFLAGS-vsprintf_chk.c): Likewise.
20015 (CFLAGS-vsnprintf_chk.c): Likewise.
20016 (CFLAGS-asprintf_chk.c): Likewise.
20017 (CFLAGS-vasprintf_chk.c): Likewise.
20018 (CFLAGS-obprintf_chk.c): Likewise.
20019 (CFLAGS-dprintf_chk.c): Likewise.
20020 (CFLAGS-vdprintf_chk.c): Likewise.
20021 (CFLAGS-printf_chk.c): Likewise.
20022 (CFLAGS-fprintf_chk.c): Likewise.
20023 (CFLAGS-vprintf_chk.c): Likewise.
20024 (CFLAGS-vfprintf_chk.c): Likewise.
20025 (CFLAGS-gets_chk.c): Likewise.
20026 (CFLAGS-fgets_chk.c): Likewise.
20027 (CFLAGS-fgets_u_chk.c): Likewise.
20028 (CFLAGS-fread_chk.c): Likewise.
20029 (CFLAGS-fread_u_chk.c): Likewise.
20030 (CFLAGS-swprintf_chk.c): Likewise.
20031 (CFLAGS-vswprintf_chk.c): Likewise.
20032 (CFLAGS-wprintf_chk.c): Likewise.
20033 (CFLAGS-fwprintf_chk.c): Likewise.
20034 (CFLAGS-vwprintf_chk.c): Likewise.
20035 (CFLAGS-vfwprintf_chk.c): Likewise.
20036 (CFLAGS-fgetws_chk.c): Likewise.
20037 (CFLAGS-fgetws_u_chk.c): Likewise.
20038 (CFLAGS-read_chk.c): Likewise.
20039 (CFLAGS-pread_chk.c): Likewise.
20040 (CFLAGS-pread64_chk.c): Likewise.
20041 (CFLAGS-recv_chk.c): Likewise.
20042 (CFLAGS-recvfrom_chk.c): Likewise.
20043 (CFLAGS-tst-longjmp_chk.c): Likewise.
20044 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20045 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20046 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20047 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20048 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20049 (CFLAGS-tst-chk1.c): Likewise.
20050 (CFLAGS-tst-chk2.c): Likewise.
20051 (CFLAGS-tst-chk3.c): Likewise.
20052 (CFLAGS-tst-chk4.cc): Likewise.
20053 (CFLAGS-tst-chk5.cc): Likewise.
20054 (CFLAGS-tst-chk6.cc): Likewise.
20055 (CFLAGS-tst-lfschk1.c): Likewise.
20056 (CFLAGS-tst-lfschk2.c): Likewise.
20057 (CFLAGS-tst-lfschk3.c): Likewise.
20058 (CFLAGS-tst-lfschk4.cc): Likewise.
20059 (CFLAGS-tst-lfschk5.cc): Likewise.
20060 (CFLAGS-tst-lfschk6.cc): Likewise.
20061 (CFLAGS-tst-ssp-1.c): Likewise.
20062 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20063 (CFLAGS-scandir64.c): Likewise.
20064 (CFLAGS-scandir-tail.c): Likewise.
20065 (CFLAGS-scandir64-tail.c): Likewise.
20066 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20067 (CFLAGS-dl-tunables.c): Likewise.
20068 (CFLAGS-dl-runtime.c): Likewise.
20069 (CFLAGS-dl-lookup.c): Likewise.
20070 (CFLAGS-dl-iterate-phdr.c): Likewise.
20071 (CFLAGS-vismain.c): Likewise.
20072 (CFLAGS-tst-linkall-static.c): Likewise.
20073 (CFLAGS-tst-linkall-static.c): Likewise.
20074 (CPPFLAGS-dl-load.c): Likewise.
20075 (CFLAGS-ldconfig.c): Likewise.
20076 (CFLAGS-dl-cache.c): Likewise.
20077 (CFLAGS-cache.c): Likewise.
20078 (CFLAGS-rtld.c): Likewise.
20079 (CFLAGS-multiload.c): Likewise.
20080 (CFLAGS-filtmod1.c): Likewise.
20081 (CFLAGS-tst-align.c): Likewise.
20082 (CFLAGS-tst-align2.c): Likewise.
20083 (CFLAGS-tst-alignmod.c): Likewise.
20084 (CFLAGS-tst-alignmod2.c): Likewise.
20085 (CPPFLAGS-tst-execstack.c): Likewise.
20086 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20087 (CFLAGS-tst-latepthreadmod.c): Likewise.
20088 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20089 (CFLAGS-getgrnam_r.c): Likewise.
20090 (CFLAGS-getgrent_r.c): Likewise.
20091 (CFLAGS-getgrent.c): Likewise.
20092 (CFLAGS-fgetgrent.c): Likewise.
20093 (CFLAGS-fgetgrent_r.c): Likewise.
20094 (CFLAGS-putgrent.c): Likewise.
20095 (CFLAGS-initgroups.c): Likewise.
20096 (CFLAGS-getgrgid.c): Likewise.
20097 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20098 (CFLAGS-getsgent.c): Likewise.
20099 (CFLAGS-fgetsgent.c): Likewise.
20100 (CFLAGS-fgetsgent_r.c): Likewise.
20101 (CFLAGS-putsgent.c): Likewise.
20102 (CFLAGS-getsgnam.c): Likewise.
20103 (CFLAGS-getsgnam_r.c): Likewise.
20104 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20105 (CFLAGS-iconv_charmap.c): Likewise.
20106 (CFLAGS-dummy-repertoire.c): Likewise.
20107 (CFLAGS-charmap.c): Likewise.
20108 (CFLAGS-linereader.c): Likewise.
20109 (CFLAGS-simple-hash.c): Likewise.
20110 (CFLAGS-gconv_conf.c): Likewise.
20111 (CFLAGS-iconvconfig.c): Likewise.
20112 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20113 (CFLAGS-gethstbyad.c): Likewise.
20114 (CFLAGS-gethstbynm_r.c): Likewise.
20115 (CFLAGS-gethstbynm.c): Likewise.
20116 (CFLAGS-gethstbynm2_r.c): Likewise.
20117 (CFLAGS-gethstbynm2.c): Likewise.
20118 (CFLAGS-gethstent_r.c): Likewise.
20119 (CFLAGS-gethstent.c): Likewise.
20120 (CFLAGS-rcmd.c): Likewise.
20121 (CFLAGS-getnetbynm_r.c): Likewise.
20122 (CFLAGS-getnetbynm.c): Likewise.
20123 (CFLAGS-getnetbyad_r.c): Likewise.
20124 (CFLAGS-getnetbyad.c): Likewise.
20125 (CFLAGS-getnetent_r.c): Likewise.
20126 (CFLAGS-getnetent.c): Likewise.
20127 (CFLAGS-getaliasent_r.c): Likewise.
20128 (CFLAGS-getaliasent.c): Likewise.
20129 (CFLAGS-getrpcent_r.c): Likewise.
20130 (CFLAGS-getrpcent.c): Likewise.
20131 (CFLAGS-getservent_r.c): Likewise.
20132 (CFLAGS-getservent.c): Likewise.
20133 (CFLAGS-getprtent_r.c): Likewise.
20134 (CFLAGS-getprtent.c): Likewise.
20135 (CFLAGS-either_ntoh.c): Likewise.
20136 (CFLAGS-either_hton.c): Likewise.
20137 (CFLAGS-getnetgrent.c): Likewise.
20138 (CFLAGS-getnetgrent_r.c): Likewise.
20139 (CFLAGS-tst-checks-posix.c): Likewise.
20140 (CFLAGS-tst-sockaddr.c): Likewise.
20141 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20142 (CFLAGS-tst-translit.c): Likewise.
20143 (CFLAGS-tst-gettext2.c): Likewise.
20144 (CFLAGS-tst-codeset.c): Likewise.
20145 (CFLAGS-tst-gettext3.c): Likewise.
20146 (CFLAGS-tst-gettext4.c): Likewise.
20147 (CFLAGS-tst-gettext5.c): Likewise.
20148 (CFLAGS-tst-gettext6.c): Likewise.
20149 * io/Makefile (CFLAGS-open.c): Likewise.
20150 (CFLAGS-open64.c): Likewise.
20151 (CFLAGS-creat.c): Likewise.
20152 (CFLAGS-creat64.c): Likewise.
20153 (CFLAGS-fcntl.c): Likewise.
20154 (CFLAGS-poll.c): Likewise.
20155 (CFLAGS-ppoll.c): Likewise.
20156 (CFLAGS-lockf.c): Likewise.
20157 (CFLAGS-statfs.c): Likewise.
20158 (CFLAGS-fstatfs.c): Likewise.
20159 (CFLAGS-statvfs.c): Likewise.
20160 (CFLAGS-fstatvfs.c): Likewise.
20161 (CFLAGS-fts.c): Likewise.
20162 (CFLAGS-fts64.c): Likewise.
20163 (CFLAGS-ftw.c): Likewise.
20164 (CFLAGS-ftw64.c): Likewise.
20165 (CFLAGS-lockf.c): Likewise.
20166 (CFLAGS-posix_fallocate.c): Likewise.
20167 (CFLAGS-posix_fallocate64.c): Likewise.
20168 (CFLAGS-fallocate.c): Likewise.
20169 (CFLAGS-fallocate64.c): Likewise.
20170 (CFLAGS-read.c): Likewise.
20171 (CFLAGS-write.c): Likewise.
20172 (CFLAGS-test-stat.c): Likewise.
20173 (CFLAGS-test-lfs.c): Likewise.
20174 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20175 (CFLAGS-fputc.c): Likewise.
20176 (CFLAGS-fputwc.c): Likewise.
20177 (CFLAGS-freopen64.c): Likewise.
20178 (CFLAGS-freopen.c): Likewise.
20179 (CFLAGS-fseek.c): Likewise.
20180 (CFLAGS-fseeko64.c): Likewise.
20181 (CFLAGS-fseeko.c): Likewise.
20182 (CFLAGS-ftello64.c): Likewise.
20183 (CFLAGS-ftello.c): Likewise.
20184 (CFLAGS-fwide.c): Likewise.
20185 (CFLAGS-genops.c): Likewise.
20186 (CFLAGS-getc.c): Likewise.
20187 (CFLAGS-getchar.c): Likewise.
20188 (CFLAGS-getwc.c): Likewise.
20189 (CFLAGS-getwchar.c): Likewise.
20190 (CFLAGS-iofclose.c): Likewise.
20191 (CFLAGS-iofflush.c): Likewise.
20192 (CFLAGS-iofgetpos64.c): Likewise.
20193 (CFLAGS-iofgetpos.c): Likewise.
20194 (CFLAGS-iofgets.c): Likewise.
20195 (CFLAGS-iofgetws.c): Likewise.
20196 (CFLAGS-iofputs.c): Likewise.
20197 (CFLAGS-iofputws.c): Likewise.
20198 (CFLAGS-iofread.c): Likewise.
20199 (CFLAGS-iofsetpos64.c): Likewise.
20200 (CFLAGS-iofsetpos.c): Likewise.
20201 (CFLAGS-ioftell.c): Likewise.
20202 (CFLAGS-iofwrite.c): Likewise.
20203 (CFLAGS-iogetdelim.c): Likewise.
20204 (CFLAGS-iogetline.c): Likewise.
20205 (CFLAGS-iogets.c): Likewise.
20206 (CFLAGS-iogetwline.c): Likewise.
20207 (CFLAGS-ioputs.c): Likewise.
20208 (CFLAGS-ioseekoff.c): Likewise.
20209 (CFLAGS-ioseekpos.c): Likewise.
20210 (CFLAGS-iosetbuffer.c): Likewise.
20211 (CFLAGS-iosetvbuf.c): Likewise.
20212 (CFLAGS-ioungetc.c): Likewise.
20213 (CFLAGS-ioungetwc.c): Likewise.
20214 (CFLAGS-oldfileops.c): Likewise.
20215 (CFLAGS-oldiofclose.c): Likewise.
20216 (CFLAGS-oldiofgetpos64.c): Likewise.
20217 (CFLAGS-oldiofgetpos.c): Likewise.
20218 (CFLAGS-oldiofsetpos64.c): Likewise.
20219 (CFLAGS-oldiofsetpos.c): Likewise.
20220 (CFLAGS-peekc.c): Likewise.
20221 (CFLAGS-putc.c): Likewise.
20222 (CFLAGS-putchar.c): Likewise.
20223 (CFLAGS-putwc.c): Likewise.
20224 (CFLAGS-putwchar.c): Likewise.
20225 (CFLAGS-rewind.c): Likewise.
20226 (CFLAGS-wfileops.c): Likewise.
20227 (CFLAGS-wgenops.c): Likewise.
20228 (CFLAGS-oldiofopen.c): Likewise.
20229 (CFLAGS-iofopen.c): Likewise.
20230 (CFLAGS-iofopen64.c): Likewise.
20231 (CFLAGS-oldtmpfile.c): Likewise.
20232 (CFLAGS-tst_putwc.c): Likewise.
20233 * locale/Makefile (CFLAGS-md5.c): Likewise.
20234 (CFLAGS-charmap.c): Likewise.
20235 (CFLAGS-locfile.c): Likewise.
20236 (CFLAGS-charmap-dir.c): Likewise.
20237 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20238 (CFLAGS-getpt.c): Likewise.
20239 (CFLAGS-pt_chown.c): Likewise.
20240 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20241 (CFLAGS-obstack.c): Likewise.
20242 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20243 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20244 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20245 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20246 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20247 (CFLAGS-test-tgmath.c): Likewise.
20248 (CFLAGS-test-tgmath2.c): Likewise.
20249 (CFLAGS-test-tgmath-ret.c): Likewise.
20250 (CFLAGS-test-powl.c): Likewise.
20251 (CFLAGS-test-snan.c): Likewise.
20252 (CFLAGS-test-signgam-finite.c): Likewise.
20253 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20254 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20255 (CFLAGS-test-signgam-uchar.c): Likewise.
20256 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20257 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20258 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20259 (CFLAGS-test-signgam-uint.c): Likewise.
20260 (CFLAGS-test-signgam-uint-init.c): Likewise.
20261 (CFLAGS-test-signgam-uint-static.c): Likewise.
20262 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20263 (CFLAGS-test-signgam-ullong.c): Likewise.
20264 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20265 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20266 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20267 (CFLAGS-test-math-cxx11.cc): Likewise.
20268 (CFLAGS-test-math-isinff.cc): Likewise.
20269 (CFLAGS-test-math-iszero.cc): Likewise.
20270 (CFLAGS-test-math-issignaling.cc): Likewise.
20271 (CFLAGS-test-math-iscanonical.cc): Likewise.
20272 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20273 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20274 (CFLAGS-test-flt-eval-method.c): Likewise.
20275 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20276 (CFLAGS-test-finite-macros.c): Likewise.
20277 * misc/Makefile (CFLAGS-select.c): Likewise.
20278 (CFLAGS-tsearch.c): Likewise.
20279 (CFLAGS-lsearch.c): Likewise.
20280 (CFLAGS-pselect.c): Likewise.
20281 (CFLAGS-readv.c): Likewise.
20282 (CFLAGS-writev.c): Likewise.
20283 (CFLAGS-preadv.c): Likewise.
20284 (CFLAGS-preadv64.c): Likewise.
20285 (CFLAGS-pwritev.c): Likewise.
20286 (CFLAGS-pwritev64.c): Likewise.
20287 (CFLAGS-preadv2.c): Likewise.
20288 (CFLAGS-preadv64v2.c): Likewise.
20289 (CFLAGS-pwritev2.c): Likewise.
20290 (CFLAGS-pwritev64v2.c): Likewise.
20291 (CFLAGS-usleep.c): Likewise.
20292 (CFLAGS-syslog.c): Likewise.
20293 (CFLAGS-error.c): Likewise.
20294 (CFLAGS-getpass.c): Likewise.
20295 (CFLAGS-mkstemp.c): Likewise.
20296 (CFLAGS-mkstemp64.c): Likewise.
20297 (CFLAGS-getsysstats.c): Likewise.
20298 (CFLAGS-getusershell.c): Likewise.
20299 (CFLAGS-err.c): Likewise.
20300 (CFLAGS-tst-tsearch.c): Likewise.
20301 (CFLAGS-msync.c): Likewise.
20302 (CFLAGS-fdatasync.c): Likewise.
20303 (CFLAGS-fsync.c): Likewise.
20304 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20305 (CFLAGS-unwind.c): Likewise.
20306 (CFLAGS-unwind-forcedunwind.c): Likewise.
20307 (CFLAGS-pthread_cancel.c): Likewise.
20308 (CFLAGS-pthread_setcancelstate.c): Likewise.
20309 (CFLAGS-pthread_setcanceltype.c): Likewise.
20310 (CFLAGS-cancellation.c): Likewise.
20311 (CFLAGS-libc-cancellation.c): Likewise.
20312 (CFLAGS-pthread_exit.c): Likewise.
20313 (CFLAGS-forward.c): Likewise.
20314 (CFLAGS-pthread_testcancel.c): Likewise.
20315 (CFLAGS-pthread_join.c): Likewise.
20316 (CFLAGS-pthread_timedjoin.c): Likewise.
20317 (CFLAGS-pthread_once.c): Likewise.
20318 (CFLAGS-pthread_cond_wait.c): Likewise.
20319 (CFLAGS-sem_wait.c): Likewise.
20320 (CFLAGS-sem_timedwait.c): Likewise.
20321 (CFLAGS-fcntl.c): Likewise.
20322 (CFLAGS-lockf.c): Likewise.
20323 (CFLAGS-pread.c): Likewise.
20324 (CFLAGS-pread64.c): Likewise.
20325 (CFLAGS-pwrite.c): Likewise.
20326 (CFLAGS-pwrite64.c): Likewise.
20327 (CFLAGS-wait.c): Likewise.
20328 (CFLAGS-waitpid.c): Likewise.
20329 (CFLAGS-sigwait.c): Likewise.
20330 (CFLAGS-msgrcv.c): Likewise.
20331 (CFLAGS-msgsnd.c): Likewise.
20332 (CFLAGS-tcdrain.c): Likewise.
20333 (CFLAGS-open.c): Likewise.
20334 (CFLAGS-open64.c): Likewise.
20335 (CFLAGS-pause.c): Likewise.
20336 (CFLAGS-recv.c): Likewise.
20337 (CFLAGS-send.c): Likewise.
20338 (CFLAGS-accept.c): Likewise.
20339 (CFLAGS-sendto.c): Likewise.
20340 (CFLAGS-connect.c): Likewise.
20341 (CFLAGS-recvfrom.c): Likewise.
20342 (CFLAGS-recvmsg.c): Likewise.
20343 (CFLAGS-sendmsg.c): Likewise.
20344 (CFLAGS-close.c): Likewise.
20345 (CFLAGS-read.c): Likewise.
20346 (CFLAGS-write.c): Likewise.
20347 (CFLAGS-nanosleep.c): Likewise.
20348 (CFLAGS-sigsuspend.c): Likewise.
20349 (CFLAGS-msync.c): Likewise.
20350 (CFLAGS-fdatasync.c): Likewise.
20351 (CFLAGS-fsync.c): Likewise.
20352 (CFLAGS-pt-system.c): Likewise.
20353 (CFLAGS-tst-cleanup2.c): Likewise.
20354 (CFLAGS-tst-cleanupx2.c): Likewise.
20355 (CFLAGS-flockfile.c): Likewise.
20356 (CFLAGS-ftrylockfile.c): Likewise.
20357 (CFLAGS-funlockfile.c): Likewise.
20358 (CFLAGS-tst-initializers1.c): Likewise.
20359 (CFLAGS-tst-initializers1-c89.c): Likewise.
20360 (CFLAGS-tst-initializers1-c99.c): Likewise.
20361 (CFLAGS-tst-initializers1-c11.c): Likewise.
20362 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20363 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20364 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20365 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20366 (CFLAGS-nscd_getgr_r.c): Likewise.
20367 (CFLAGS-nscd_gethst_r.c): Likewise.
20368 (CFLAGS-nscd_getai.c): Likewise.
20369 (CFLAGS-nscd_initgroups.c): Likewise.
20370 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20371 (CFLAGS-pause.c): Likewise.
20372 (CFLAGS-pread.c): Likewise.
20373 (CFLAGS-pread64.c): Likewise.
20374 (CFLAGS-pwrite.c): Likewise.
20375 (CFLAGS-pwrite64.c): Likewise.
20376 (CFLAGS-sleep.c): Likewise.
20377 (CFLAGS-wait.c): Likewise.
20378 (CFLAGS-waitid.c): Likewise.
20379 (CFLAGS-waitpid.c): Likewise.
20380 (CFLAGS-getopt.c): Likewise.
20381 (CFLAGS-wordexp.c): Likewise.
20382 (CFLAGS-sysconf.c): Likewise.
20383 (CFLAGS-pathconf.c): Likewise.
20384 (CFLAGS-fpathconf.c): Likewise.
20385 (CFLAGS-spawn.c): Likewise.
20386 (CFLAGS-spawnp.c): Likewise.
20387 (CFLAGS-spawni.c): Likewise.
20388 (CFLAGS-glob.c): Likewise.
20389 (CFLAGS-glob64.c): Likewise.
20390 (CFLAGS-getconf.c): Likewise.
20391 (CFLAGS-nanosleep.c): Likewise.
20392 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20393 (CFLAGS-getpwent.c): Likewise.
20394 (CFLAGS-getpw.c): Likewise.
20395 (CFLAGS-fgetpwent_r.c): Likewise.
20396 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20397 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20398 (CFLAGS-mq_timedreceive.c): Likewise.
20399 (CFLAGS-mq_timedsend.c): Likewise.
20400 (CFLAGS-clock_nanosleep.c): Likewise.
20401 (CFLAGS-librt-cancellation.c): Likewise.
20402 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20403 (CFLAGS-getspent.c): Likewise.
20404 (CFLAGS-fgetspent.c): Likewise.
20405 (CFLAGS-fgetspent_r.c): Likewise.
20406 (CFLAGS-putspent.c): Likewise.
20407 (CFLAGS-getspnam.c): Likewise.
20408 (CFLAGS-getspnam_r.c): Likewise.
20409 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20410 (CFLAGS-sigsuspend.c): Likewise.
20411 (CFLAGS-sigtimedwait.c): Likewise.
20412 (CFLAGS-sigwait.c): Likewise.
20413 (CFLAGS-sigwaitinfo.c): Likewise.
20414 (CFLAGS-sigreturn.c): Likewise.
20415 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20416 (CFLAGS-vfwprintf.c): Likewise.
20417 (CFLAGS-tmpfile.c): Likewise.
20418 (CFLAGS-tmpfile64.c): Likewise.
20419 (CFLAGS-tempname.c): Likewise.
20420 (CFLAGS-psignal.c): Likewise.
20421 (CFLAGS-vprintf.c): Likewise.
20422 (CFLAGS-cuserid.c): Likewise.
20423 (CFLAGS-errlist.c): Likewise.
20424 (CFLAGS-siglist.c): Likewise.
20425 (CFLAGS-scanf15.c): Likewise.
20426 (CFLAGS-scanf17.c): Likewise.
20427 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20428 (CFLAGS-msort.c): Likewise.
20429 (CFLAGS-qsort.c): Likewise.
20430 (CFLAGS-system.c): Likewise.
20431 (CFLAGS-fmtmsg.c): Likewise.
20432 (CFLAGS-strfmon.c): Likewise.
20433 (CFLAGS-strfmon_l.c): Likewise.
20434 (CFLAGS-strfromd.c): Likewise.
20435 (CFLAGS-strfromf.c): Likewise.
20436 (CFLAGS-strfroml.c): Likewise.
20437 (CFLAGS-tst-bsearch.c): Likewise.
20438 (CFLAGS-tst-qsort.c): Likewise.
20439 (CFLAGS-tst-makecontext2.c): Likewise.
20440 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20441 (CFLAGS-xnlm_prot.c): Likewise.
20442 (CFLAGS-xrstat.c): Likewise.
20443 (CFLAGS-xyppasswd.c): Likewise.
20444 (CFLAGS-xklm_prot.c): Likewise.
20445 (CFLAGS-xrex.c): Likewise.
20446 (CFLAGS-xsm_inter.c): Likewise.
20447 (CFLAGS-xmount.c): Likewise.
20448 (CFLAGS-xrusers.c): Likewise.
20449 (CFLAGS-xspray.c): Likewise.
20450 (CFLAGS-xnfs_prot.c): Likewise.
20451 (CFLAGS-xrquota.c): Likewise.
20452 (CFLAGS-xkey_prot.c): Likewise.
20453 (CFLAGS-auth_unix.c): Likewise.
20454 (CFLAGS-key_call.c): Likewise.
20455 (CFLAGS-pmap_rmt.c): Likewise.
20456 (CFLAGS-clnt_perr.c): Likewise.
20457 (CFLAGS-openchild.c): Likewise.
20458 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20459 (CFLAGS-msgsnd.c): Likewise.
20460 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20461 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20462 (CFLAGS-tzset.c): Likewise.
20463 (CFLAGS-getdate.c): Likewise.
20464 (CFLAGS-test_time.c): Likewise.
20465 (CPPFLAGS-tst-tzname.c): Likewise.
20466 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20467 (CFLAGS-zic.c): Likewise.
20468 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20469 (CFLAGS-wcswidth.c): Likewise.
20470 (CFLAGS-wcstol.c): Likewise.
20471 (CFLAGS-wcstoul.c): Likewise.
20472 (CFLAGS-wcstoll.c): Likewise.
20473 (CFLAGS-wcstoull.c): Likewise.
20474 (CFLAGS-wcstod.c): Likewise.
20475 (CFLAGS-wcstold.c): Likewise.
20476 (CFLAGS-wcstof128.c): Likewise.
20477 (CFLAGS-wcstof.c): Likewise.
20478 (CFLAGS-wcstol_l.c): Likewise.
20479 (CFLAGS-wcstoul_l.c): Likewise.
20480 (CFLAGS-wcstoll_l.c): Likewise.
20481 (CFLAGS-wcstoull_l.c): Likewise.
20482 (CFLAGS-wcstod_l.c): Likewise.
20483 (CFLAGS-wcstold_l.c): Likewise.
20484 (CFLAGS-wcstof128_l.c): Likewise.
20485 (CFLAGS-wcstof_l.c): Likewise.
20486 (CPPFLAGS-tst-wchar-h.c): Likewise.
20487 (CPPFLAGS-wcstold_l.c): Likewise.
20488
20489 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
20490
20491 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20492
20493 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20494 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20495
20496 * manual/tunables.texi (Hardware Capability Tunables): Document
20497 glibc.tune.cached_memopt.
20498 * sysdeps/powerpc/cpu-features.c: New file.
20499 * sysdeps/powerpc/cpu-features.h: New file.
20500 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20501 _dl_powerpc_cpu_features.
20502 * sysdeps/powerpc/dl-tunables.list: New file.
20503 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20504 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20505 (INIT_ARCH): Initialize use_aligned_memopt.
20506 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20507 IS_IN(rtld))]: Restrict dl_platform_init availability and
20508 initialize CPU features used by tunables.
20509 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20510 Add memcpy-power8-cached.
20511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20512 __memcpy_power8_cached.
20513 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20514 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20515 New file.
20516
20517 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20518
20519 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20520 (CFLAGS-noinl-tester.c): Likewise.
20521 (CFLAGS-tst-strlen.c): Likewise.
20522 (CFLAGS-stratcliff.c): Likewise.
20523 (CFLAGS-test-ffs.c): Likewise.
20524 (CFLAGS-tst-inlcall.c): Likewise.
20525 (CFLAGS-tst-xbzero-opt.c): Likewise.
20526 (CFLAGS-memcpy.c): Likewise.
20527 (CFLAGS-wordcopy.c): Likewise.
20528
20529 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20530
20531 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20532 Store r15 on stack and add cfi rule.
20533 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20534 Likewise.
20535
20536 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
20537
20538 [BZ #22577]
20539 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20540 call.
20541
20542 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20543
20544 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20545 Add s_sinf-sse2 and s_sinf-fma.
20546 (CFLAGS-s_sinf-fma.c): New.
20547 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20548 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20549 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20550
20551 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20552
20553 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20554
20555 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20556
20557 [BZ #22568]
20558 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20559 part of result to imaginary part of argument if it is zero and the
20560 real part of the argument is not finite.
20561 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20562 of result to real part of argument if it is zero and the imaginary
20563 part of the argument is not finite.
20564
20565 2017-12-07 Mike FABIAN <mfabian@redhat.com>
20566
20567 [BZ #22524]
20568 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20569 and to the list of locales to be built for testing.
20570 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20571 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20572 and build the collation rules upon that.
20573
20574 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20575
20576 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20577 * manual/math.texi (Mathematics): Document support for _Float32.
20578 * math/Makefile (test-types): Add float32.
20579 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20580 * stdlib/Versions (GLIBC_2.27): Likewise.
20581 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20582 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20583 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20584 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20585 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20586 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20587 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20588 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20589 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20590 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20591 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20592 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20593 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20594 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20595 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20596 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20597 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20598 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20599 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20600 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20601 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20602 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20603 Likewise.
20604 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20605 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20606 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20607 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20608 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20610 Likewise.
20611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20612 Likewise.
20613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20614 Likewise.
20615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20616 Likewise.
20617
20618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20619 Likewise.
20620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20621 Likewise.
20622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20623 Likewise.
20624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20625 Likewise.
20626 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20627 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20628 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20629 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20630 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20631 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20632 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20633 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20634 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20635 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20637 Likewise.
20638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20639 Likewise.
20640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20641 Likewise.
20642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20643 Likewise.
20644 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20645 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20646 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20647 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20648 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20649 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20650 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20651 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20652
20653 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20654
20655 * stdlib/strtof.c: Include <bits/floatn.h>
20656 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20657 and later undefine as macro. Define as weak alias if
20658 [!USE_WIDE_CHAR].
20659 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20660 and later undefine as macro. Define as weak alias if
20661 [USE_WIDE_CHAR].
20662 * stdlib/strtof_l.c: Include <bits/floatn.h>
20663 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20664 and later undefine as macro. Define as weak alias if
20665 [!USE_WIDE_CHAR].
20666 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20667 and later undefine as macro. Define as weak alias if
20668 [USE_WIDE_CHAR].
20669
20670 * stdlib/strfromf.c: Include <bits/floatn.h>.
20671 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20672 and later undefine as macro and define as weak alias.
20673
20674 * math/test-float32.h: New file.
20675
20676 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20677 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20678 (libm_alias_float_other_r): Create f32 alias.
20679 (libm_alias_float_r): Use semicolon before call to
20680 libm_alias_float_other_r.
20681
20682 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20683 second argument to libm_alias_float_other.
20684 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20685 second argument to libm_alias_float_other.
20686 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20687 argument to libm_alias_float_other.
20688
20689 [BZ #22561]
20690 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20691 real part of result for argument 0 + i * NaN.
20692 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20693 results for tests of 0 + i * NaN.
20694
20695 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20696
20697 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20698
20699 2017-12-06 David S. Miller <davem@davemloft.net>
20700
20701 * sysdeps/sparc/fpu/libm-test-ulps: Update
20702 exp_{downward,towardzero,upward} ulps.
20703
20704 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20705
20706 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
20707 variables static.
20708
20709 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
20710 (Y0_2D): Likewise.
20711 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20712 (Y0_2D): Likewise.
20713 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20714 (Y0_2D): Likewise.
20715 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20716 (Y0_2D): Likewise.
20717
20718 2017-12-06 Mike FABIAN <mfabian@redhat.com>
20719
20720 [BZ #22515]
20721 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
20722 and to the list of locales to be built for testing.
20723 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
20724 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
20725 and build the collation rules upon that.
20726
20727 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20728
20729 * NEWS: Add sinf to list of optimized functions.
20730
20731 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20732
20733 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
20734 (__HAVE_FLOAT32X): Likewise.
20735 * manual/math.texi (Mathematics): Document support for _Float64
20736 and _Float32x.
20737 * math/Makefile (test-types): Add float64 and float32x.
20738 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
20739 functions.
20740 * stdlib/Versions (GLIBC_2.27): Likewise.
20741 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20742 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20743 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20744 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20745 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20746 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20747 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20748 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20749 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20750 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20751 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20752 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20753 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20754 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20755 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20756 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20757 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20758 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20759 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20760 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20761 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20762 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20763 Likewise.
20764 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20765 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20766 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20767 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20768 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20770 Likewise.
20771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20772 Likewise.
20773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20774 Likewise.
20775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20776 Likewise.
20777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20778 Likewise.
20779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20780 Likewise.
20781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20782 Likewise.
20783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20784 Likewise.
20785 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20786 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20787 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20788 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20789 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20790 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20791 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20792 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20793 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20794 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20796 Likewise.
20797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20798 Likewise.
20799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20800 Likewise.
20801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20802 Likewise.
20803 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20804 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20805 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20806 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20807 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20808 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20809 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20810 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20811
20812 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20813
20814 * bits/floatn-common.h: Include <bits/long-double.h>.
20815 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20816 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20817 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20818 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20819 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20820 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20821 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20822 (__builtin_huge_valf64): Use __builtin_huge_vall.
20823 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20824 (__builtin_inff64): Use __builtin_infl.
20825 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20826 (__builtin_nanf64): Use __builtin_nanl.
20827 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20828 (__builtin_nansf64): Use __builtin_nansl.
20829
20830 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20831 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20832 Carlos O'Donnell <carlos@redhat.com>
20833
20834 * elf/dl-tunables.list: Add elision parameters.
20835 * manual/tunables.texi: Add entries about elision tunable.
20836 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20837 Add callback functions to dynamically enable/disable elision.
20838 Add multiple callbacks functions to set elision parameters.
20839 Deleted __libc_enable_secure check.
20840 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20841 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20842 * configure: Regenerated.
20843 * configure.ac: Option enable_lock_elision was deleted.
20844 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20845 * config.make.in: Remove references to enable_lock_elision.
20846 * manual/install.texi: Elision configure option was removed.
20847 * INSTALL: Regenerated to remove enable_lock_elision.
20848 * nptl/Makefile:
20849 Disable elision so it can verify error case for destroying a mutex.
20850 * sysdeps/powerpc/nptl/elide.h:
20851 Cleanup ENABLE_LOCK_ELISION check.
20852 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20853 * sysdeps/s390/configure: Regenerated.
20854 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20855 * nptl/tst-mutex8.c:
20856 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20857 * sysdeps/powerpc/powerpc32/sysdep.h:
20858 Deleted all ENABLE_LOCK_ELISION checks.
20859 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20860 * sysdeps/powerpc/sysdep.h: Likewise.
20861 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20862 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20863 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20864 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20865 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20866 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20867 enable-lock-elision.
20868
20869 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20870
20871 * stdlib/strtod.c: Include <bits/floatn.h>.
20872 (BUILD_DOUBLE): New macro.
20873 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20874 (strtof64): Define and later undefine as macro. Define as weak
20875 alias if [!USE_WIDE_CHAR].
20876 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20877 (wcstof64): Define and later undefine as macro. Define as weak
20878 alias if [USE_WIDE_CHAR].
20879 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20880 (strtof32x): Define and later undefine as macro. Define as weak
20881 alias if [!USE_WIDE_CHAR].
20882 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20883 (wcstof32x): Define and later undefine as macro. Define as weak
20884 alias if [USE_WIDE_CHAR].
20885 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20886 (BUILD_DOUBLE): New macro.
20887 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20888 (strtof64_l): Define and later undefine as macro. Define as weak
20889 alias if [!USE_WIDE_CHAR].
20890 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20891 (wcstof64_l): Define and later undefine as macro. Define as weak
20892 alias if [USE_WIDE_CHAR].
20893 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20894 (strtof32x_l): Define and later undefine as macro. Define as weak
20895 alias if [!USE_WIDE_CHAR].
20896 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20897 (wcstof32x_l): Define and later undefine as macro. Define as weak
20898 alias if [USE_WIDE_CHAR].
20899
20900 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20901
20902 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20903 (reduced): Use ones as double instead of integer.
20904
20905 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20906
20907 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20908
20909 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20910
20911 * stdlib/strfromd.c: Include <bits/floatn.h>.
20912 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20913 and later undefine as macro and define as weak alias.
20914 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20915 Likewise.
20916
20917 * math/test-float32x.h: New file.
20918 * math/test-float64.h: Likewise.
20919
20920 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20921 (libm_alias_double_other_r_f64): New macro.
20922 (libm_alias_double_other_r_f32x): Likewise.
20923 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20924 libm_alias_double_other_r_f32x.
20925 (libm_alias_double_r): Use semicolon before call to
20926 libm_alias_double_other_r.
20927 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20928 <bits/floatn.h>.
20929 (libm_alias_double_other_r_f64): New macro.
20930 (libm_alias_double_other_r_f32x): Likewise.
20931 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20932 libm_alias_double_other_r_f32x.
20933
20934 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20935
20936 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20937 int.
20938 (SINF_FUNC): Likewise. Replace floor with simple casts.
20939
20940 2017-12-05 Mike FABIAN <mfabian@redhat.com>
20941
20942 [BZ #22517]
20943 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20944 and to the list of locales to be built for testing.
20945 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20946 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20947 and build the collation rules upon that.
20948
20949 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20950
20951 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20952 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20953 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20954 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20955 instead of __insn__xxx.
20956 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20957 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20958 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20959 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20960 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20961 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20962
20963 2017-12-05 Florian Weimer <fweimer@redhat.com>
20964
20965 Linux: Implement interfaces for memory protection keys
20966 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20967 xsignal, xsysconf.
20968 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20969 * support/xunistd.h (xsysconf): Declare.
20970 * support/xraise.c: New file.
20971 * support/xsigaction.c: Likewise.
20972 * support/xsignal.c: Likewise.
20973 * support/xsysconf.c: Likewise.
20974 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20975 pkey_set, pkey_get, pkey_mprotect.
20976 [misc] (tests): Add tst-pkey.
20977 (tst-pkey): Link with -lpthread.
20978 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20979 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20980 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20981 (PKEY_DISABLE_WRITE): Define.
20982 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20983 Declare.
20984 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20985 (SEGV_PKUERR): Add.
20986 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20987 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20988 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20989 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20990 Add.
20991 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20992 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20993 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20994 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20995 * sysdeps/unix/sysv/linux/**.abilist: Update.
20996
20997 2017-12-05 Florian Weimer <fweimer@redhat.com>
20998
20999 * support/tst-test_compare.c (subprocess): Use long long instead
21000 of long argument for consistent type width across 32-bit and
21001 64-bit architectures.
21002 (do_test): Adjust expected output.
21003
21004 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21005
21006 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21007 (cosf): Define using libm_alias_float.
21008 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21009 (fabsf): Define using libm_alias_float.
21010 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21011 (fmaf): Define using libm_alias_float.
21012 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21013 (rintf): Define using libm_alias_float.
21014 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21015 (sinf): Define using libm_alias_float.
21016 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21017 <libm-alias-float.h>.
21018 (modff): Define using libm_alias_float.
21019 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21020 <libm-alias-float.h>.
21021 (logbf): Define using libm_alias_float.
21022 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21023 <libm-alias-float.h>.
21024 (ceilf): Define using libm_alias_float.
21025 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21026 <libm-alias-float.h>.
21027 (copysignf): Define using libm_alias_float.
21028 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21029 <libm-alias-float.h>.
21030 (floorf): Define using libm_alias_float.
21031 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21032 <libm-alias-float.h>.
21033 (llrintf): Define using libm_alias_float.
21034 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21035 <libm-alias-float.h>.
21036 (llroundf): Define using libm_alias_float.
21037 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21038 <libm-alias-float.h>.
21039 (lrintf): Define using libm_alias_float.
21040 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21041 <libm-alias-float.h>.
21042 (lroundf): Define using libm_alias_float.
21043 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21044 <libm-alias-float.h>.
21045 (nearbyintf): Define using libm_alias_float.
21046 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21047 <libm-alias-float.h>.
21048 (rintf): Define using libm_alias_float.
21049 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21050 <libm-alias-float.h>.
21051 (roundf): Define using libm_alias_float.
21052 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21053 <libm-alias-float.h>.
21054 (truncf): Define using libm_alias_float.
21055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21056 Include <libm-alias-float.h>.
21057 (ceilf): Define using libm_alias_float.
21058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21059 Include <libm-alias-float.h>.
21060 (copysignf): Define using libm_alias_float.
21061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21062 Include <libm-alias-float.h>.
21063 (floorf): Define using libm_alias_float.
21064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21065 Include <libm-alias-float.h>.
21066 (llrintf): Define using libm_alias_float.
21067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21068 Include <libm-alias-float.h>.
21069 (llroundf): Define using libm_alias_float.
21070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21071 Include <libm-alias-float.h>.
21072 (logbf): Define using libm_alias_float.
21073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21074 Include <libm-alias-float.h>.
21075 (lrintf): Define using libm_alias_float.
21076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21077 Include <libm-alias-float.h>.
21078 (lroundf): Define using libm_alias_float.
21079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21080 Include <libm-alias-float.h>.
21081 (modff): Define using libm_alias_float.
21082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21083 Include <libm-alias-float.h>.
21084 (roundf): Define using libm_alias_float.
21085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21086 Include <libm-alias-float.h>.
21087 (truncf): Define using libm_alias_float.
21088 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21089 <libm-alias-float.h>.
21090 (llrintf): Define using libm_alias_float.
21091 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21092 <libm-alias-float.h>.
21093 (llroundf): Define using libm_alias_float.
21094 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21095 <libm-alias-float.h>.
21096 (ceilf): Define using libm_alias_float.
21097 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21098 <libm-alias-float.h>.
21099 (floorf): Define using libm_alias_float.
21100 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21101 <libm-alias-float.h>.
21102 (llroundf): Define using libm_alias_float.
21103 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21104 <libm-alias-float.h>.
21105 (lroundf): Define using libm_alias_float.
21106 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21107 <libm-alias-float.h>.
21108 (roundf): Define using libm_alias_float.
21109 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21110 <libm-alias-float.h>.
21111 (truncf): Define using libm_alias_float.
21112 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21113 <libm-alias-float.h>.
21114 (copysignf): Define using libm_alias_float.
21115 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21116 <libm-alias-float.h>.
21117 (llrintf): Define using libm_alias_float.
21118 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21119 <libm-alias-float.h>.
21120 (llroundf): Define using libm_alias_float.
21121 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21122 <libm-alias-float.h>.
21123 (lrintf): Define using libm_alias_float.
21124 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21125 <libm-alias-float.h>.
21126 (lroundf): Define using libm_alias_float.
21127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21128 <libm-alias-float.h>.
21129 (ceilf): Define using libm_alias_float.
21130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21131 <libm-alias-float.h>.
21132 (copysignf): Define using libm_alias_float.
21133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21134 <libm-alias-float.h>.
21135 (cosf): Define using libm_alias_float.
21136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21137 <libm-alias-float.h>.
21138 (floorf): Define using libm_alias_float.
21139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21140 <libm-alias-float.h>.
21141 (llrintf): Define using libm_alias_float.
21142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21143 <libm-alias-float.h>.
21144 (llroundf): Define using libm_alias_float.
21145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21146 <libm-alias-float.h>.
21147 (logbf): Define using libm_alias_float.
21148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21149 <libm-alias-float.h>.
21150 (modff): Define using libm_alias_float.
21151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21152 <libm-alias-float.h>.
21153 (roundf): Define using libm_alias_float.
21154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21155 <libm-alias-float.h>.
21156 (sinf): Define using libm_alias_float.
21157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21158 <libm-alias-float.h>.
21159 (truncf): Define using libm_alias_float.
21160 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21161 <libm-alias-float.h>.
21162 (ceilf): Define using libm_alias_float.
21163 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21164 <libm-alias-float.h>.
21165 (copysignf): Define using libm_alias_float.
21166 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21167 <libm-alias-float.h>.
21168 (floorf): Define using libm_alias_float.
21169 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21170 <libm-alias-float.h>.
21171 (llrintf): Define using libm_alias_float.
21172 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21173 <libm-alias-float.h>.
21174 (llroundf): Define using libm_alias_float.
21175 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21176 <libm-alias-float.h>.
21177 (nearbyintf): Define using libm_alias_float.
21178 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21179 <libm-alias-float.h>.
21180 (rintf): Define using libm_alias_float.
21181 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21182 <libm-alias-float.h>.
21183 (roundf): Define using libm_alias_float.
21184 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21185 <libm-alias-float.h>.
21186 (truncf): Define using libm_alias_float.
21187 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21188 <libm-alias-float.h>.
21189 (ceilf): Define using libm_alias_float.
21190 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21191 <libm-alias-float.h>.
21192 (floorf): Define using libm_alias_float.
21193 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21194 <libm-alias-float.h>.
21195 (llroundf): Define using libm_alias_float.
21196 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21197 <libm-alias-float.h>.
21198 (roundf): Define using libm_alias_float.
21199 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21200 <libm-alias-float.h>.
21201 (truncf): Define using libm_alias_float.
21202 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21203 <libm-alias-float.h>.
21204 (copysignf): Define using libm_alias_float.
21205 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21206 <libm-alias-float.h>.
21207 (llrintf): Define using libm_alias_float.
21208 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21209 <libm-alias-float.h>.
21210 (llroundf): Define using libm_alias_float.
21211 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21212 <libm-alias-float.h>.
21213 (cosf): Define using libm_alias_float.
21214 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21215 <libm-alias-float.h>.
21216 (llrintf): Define using libm_alias_float.
21217 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21218 <libm-alias-float.h>.
21219 (llroundf): Define using libm_alias_float.
21220 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21221 <libm-alias-float.h>.
21222 (sinf): Define using libm_alias_float.
21223
21224 2017-12-04 Florian Weimer <fweimer@redhat.com>
21225
21226 * support/check.h (TEST_COMPARE): Define.
21227 (support_test_compare_failure): Declare.
21228 * support/Makefile (libsupport-routines): Add
21229 support_test_compare_failure.
21230 (tests): Add tst-test_compare.
21231 * support /support_test_compare_failure.c: New file.
21232 * support/tst-test_compare.c: Likewise.
21233
21234 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21235
21236 [BZ #22527]
21237 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21238 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21239 available, this rewrite of the collation rules does reproduce
21240 the test file in the same order.
21241
21242 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21243
21244 [BZ #10580]
21245 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21246 digraphs in the month and day names. Using single code points for
21247 digraphs is deprecated. While there are dedicated Unicode
21248 codepoints, for the digraphs, these are included for backwards
21249 compatibility and modern texts use a sequence of Basic Latin
21250 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21251 This makes the month and day names agree exactly with CLDR now,
21252 CLDR does not use the single code points for the digraphs either.
21253
21254 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21255
21256 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21257
21258 2017-12-04 Joseph Myers <joseph@codesourcery.com>
21259
21260 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21261 of floor.
21262
21263 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21264
21265 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21266 Define only for libc.so.
21267
21268 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21269
21270 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21271 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
21272 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
21273 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21274 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21275
21276 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21277
21278 [BZ #5997]
21279 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21280
21281 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
21282
21283 [BZ libc/19170]
21284 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21285 PREINIT_FUNCTION_WEAK is nonzero.
21286 (gmon_initializer): New function. Put procedure label for it in
21287 .init_array section.
21288 (_init): Don't call PREINIT_FUNCTION.
21289 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21290 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21291 value when map argument is null.
21292
21293 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21294 depi instruction from PIC pc-relative sequence.
21295 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21296 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21297 (elf_machine_load_address): Likewise.
21298 (elf_machine_runtime_setup): Likewise.
21299
21300 2017-12-02 Joseph Myers <joseph@codesourcery.com>
21301
21302 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21303 <libm-alias-double.h>.
21304 (logb): Define using libm_alias_double.
21305 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21306 <libm-alias-double.h>.
21307 (copysign): Define using libm_alias_double.
21308 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21309 <libm-alias-double.h>.
21310 (llrint): Define using libm_alias_double.
21311 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21312 <libm-alias-double.h>.
21313 (llround): Define using libm_alias_double.
21314 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21315 <libm-alias-double.h>.
21316 (lrint): Define using libm_alias_double.
21317 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21318 <libm-alias-double.h>.
21319 (lround): Define using libm_alias_double.
21320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21321 Include <libm-alias-double.h>.
21322 (copysign): Define using libm_alias_double.
21323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21324 Include <libm-alias-double.h>.
21325 (llrint): Define using libm_alias_double.
21326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21327 Include <libm-alias-double.h>.
21328 (llround): Define using libm_alias_double.
21329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21330 <libm-alias-double.h>.
21331 (logb): Define using libm_alias_double.
21332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21333 Include <libm-alias-double.h>.
21334 (lrint): Define using libm_alias_double.
21335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21336 Include <libm-alias-double.h>.
21337 (lround): Define using libm_alias_double.
21338 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21339 <libm-alias-double.h>.
21340 (llrint): Define using libm_alias_double.
21341 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21342 <libm-alias-double.h>.
21343 (llround): Define using libm_alias_double.
21344 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21345 <libm-alias-double.h>.
21346 (llround): Define using libm_alias_double.
21347 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21348 <libm-alias-double.h>.
21349 (lround): Define using libm_alias_double.
21350 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21351 <libm-alias-double.h>.
21352 (copysign): Define using libm_alias_double.
21353 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21354 <libm-alias-double.h>.
21355 (llrint): Define using libm_alias_double.
21356 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21357 <libm-alias-double.h>.
21358 (llround): Define using libm_alias_double.
21359 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21360 <libm-alias-double.h>.
21361 (lrint): Define using libm_alias_double.
21362 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21363 <libm-alias-double.h>.
21364 (lround): Define using libm_alias_double.
21365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21366 <libm-alias-double.h>.
21367 (copysign): Define using libm_alias_double.
21368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21369 <libm-alias-double.h>.
21370 (llrint): Define using libm_alias_double.
21371 (lrint): Likewise.
21372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21373 <libm-alias-double.h>.
21374 (llround): Define using libm_alias_double.
21375 (lround): Likewise.
21376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21377 <libm-alias-double.h>.
21378 (logb): Define using libm_alias_double.
21379 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21380 <libm-alias-double.h>.
21381 (copysign): Define using libm_alias_double.
21382 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21383 <libm-alias-double.h>.
21384 (llrint): Define using libm_alias_double.
21385 (lrint): Likewise.
21386 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21387 <libm-alias-double.h>.
21388 (llround): Define using libm_alias_double.
21389 (lround): Likewise.
21390 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21391 <libm-alias-double.h>.
21392 (llround): Define using libm_alias_double.
21393 (lround): Likewise.
21394 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21395 <libm-alias-double.h>.
21396 (copysign): Define using libm_alias_double.
21397 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21398 <libm-alias-double.h>.
21399 (llrint): Define using libm_alias_double.
21400 (lrint): Likewise.
21401 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21402 <libm-alias-double.h>.
21403 (llround): Define using libm_alias_double.
21404 (lround): Likewise.
21405 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21406 <libm-alias-double.h>.
21407 (llrint): Define using libm_alias_double.
21408 (lrint): Likewise.
21409 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21410 <libm-alias-double.h>.
21411 (llround): Define using libm_alias_double.
21412 (lround): Likewise.
21413
21414 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21415
21416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21417 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21418 compat symbol based on llround.
21419
21420 * sysdeps/powerpc/power7/fpu/s_logb.c
21421 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21422 symbol based on __logb, not on logb.
21423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21424 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21426 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21427
21428 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21429 (rint): Define using libm_alias_double.
21430 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21431 <libm-alias-double.h>.
21432 (modf): Define using libm_alias_double.
21433 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21434 <libm-alias-double.h>.
21435 (ceil): Define using libm_alias_double.
21436 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21437 <libm-alias-double.h>.
21438 (floor): Define using libm_alias_double.
21439 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21440 <libm-alias-double.h>.
21441 (nearbyint): Define using libm_alias_double.
21442 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21443 <libm-alias-double.h>.
21444 (rint): Define using libm_alias_double.
21445 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21446 <libm-alias-double.h>.
21447 (round): Define using libm_alias_double.
21448 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21449 <libm-alias-double.h>.
21450 (trunc): Define using libm_alias_double.
21451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21452 <libm-alias-double.h>.
21453 (ceil): Define using libm_alias_double.
21454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21455 Include <libm-alias-double.h>.
21456 (floor): Define using libm_alias_double.
21457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21458 <libm-alias-double.h>.
21459 (modf): Define using libm_alias_double.
21460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21461 Include <libm-alias-double.h>.
21462 (round): Define using libm_alias_double.
21463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21464 Include <libm-alias-double.h>.
21465 (trunc): Define using libm_alias_double.
21466 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21467 <libm-alias-double.h>.
21468 (ceil): Define using libm_alias_double.
21469 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21470 <libm-alias-double.h>.
21471 (floor): Define using libm_alias_double.
21472 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21473 <libm-alias-double.h>.
21474 (round): Define using libm_alias_double.
21475 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21476 <libm-alias-double.h>.
21477 (trunc): Define using libm_alias_double.
21478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21479 <libm-alias-double.h>.
21480 (ceil): Define using libm_alias_double.
21481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21482 <libm-alias-double.h>.
21483 (floor): Define using libm_alias_double.
21484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21485 <libm-alias-double.h>.
21486 (modf): Define using libm_alias_double.
21487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21488 <libm-alias-double.h>.
21489 (round): Define using libm_alias_double.
21490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21491 <libm-alias-double.h>.
21492 (trunc): Define using libm_alias_double.
21493 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21494 <libm-alias-double.h>.
21495 (ceil): Define using libm_alias_double.
21496 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21497 <libm-alias-double.h>.
21498 (floor): Define using libm_alias_double.
21499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21500 <libm-alias-double.h>.
21501 (nearbyint): Define using libm_alias_double.
21502 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21503 <libm-alias-double.h>.
21504 (rint): Define using libm_alias_double.
21505 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21506 <libm-alias-double.h>.
21507 (round): Define using libm_alias_double.
21508 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21509 <libm-alias-double.h>.
21510 (trunc): Define using libm_alias_double.
21511 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21512 <libm-alias-double.h>.
21513 (ceil): Define using libm_alias_double.
21514 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21515 <libm-alias-double.h>.
21516 (floor): Define using libm_alias_double.
21517 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21518 <libm-alias-double.h>.
21519 (round): Define using libm_alias_double.
21520 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21521 <libm-alias-double.h>.
21522 (trunc): Define using libm_alias_double.
21523
21524 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21525 (fabs): Define using libm_alias_double.
21526 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21527 (fma): Define using libm_alias_double.
21528 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21529 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21530 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21531 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21532
21533 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21534
21535 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21536
21537 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21538 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21539 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21540
21541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21542 due redirect macro.
21543
21544 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21545
21546 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21547
21548 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21549
21550 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21551 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21552 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21553 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21554
21555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21556 (libm-sysdep_routines): Add s_nearbyintf-generic and
21557 s_nearbyint-generic.
21558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21559 New file.
21560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21562 Likewise.
21563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21564 Likewise.
21565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21566 file.
21567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21568 Likewise.
21569
21570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21571 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21573 file.
21574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21576 Likewise.
21577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21580
21581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21582 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21584 file.
21585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21587 Likewise.
21588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21591
21592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21593 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21595 file.
21596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21598 Likewise.
21599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21602
21603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21604 (sysdep_calls): New rule.
21605 (sysdep_routines): Use sysdep_calls as base.
21606 (libm-sysdep_routines): Add generic rule for symbols shared with
21607 libc. Add s_copysign-generic and s_copysign-generic objects.
21608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21609 New file.
21610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21612 Likewise.
21613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21616
21617 2017-12-01 Mike FABIAN <mfabian@redhat.com>
21618
21619 [BZ #22519]
21620 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21621 the list of locales to be built for testing.
21622 * localedata/is_IS.UTF-8.in: New file.
21623 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21624 on iso14651_t1.
21625
21626 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21627
21628 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21629 <libm-alias-float.h>.
21630 (fabsf): Define using libm_alias_float.
21631
21632 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21633
21634 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
21635
21636 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21637
21638 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
21639 <libm-alias-float.h>.
21640 (fabsf): Define using libm_alias_float.
21641 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
21642 <libm-alias-float.h>.
21643 (lrintf): Define using libm_alias_float.
21644 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
21645 <libm-alias-float.h>.
21646 (rintf): Define using libm_alias_float.
21647
21648 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
21649 <libm-alias-double.h>.
21650 (fabs): Define using libm_alias_double.
21651 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
21652 <libm-alias-double.h>.
21653 (lrint): Define using libm_alias_double.
21654 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21655 <libm-alias-double.h>.
21656 (rint): Define using libm_alias_double.
21657
21658 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21659 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21660 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21661 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21662 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21663 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21664 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21665 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21666 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21667 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21668 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21669 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21670 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21671 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21672 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21673 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21674 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21675 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21676 s_atan_template.c.
21677 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21678 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21679 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21680 s_ceil_template.c.
21681 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21682 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21683 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21684 s_cos_template.c.
21685 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21686 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21687 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21688 s_expm1_template.c.
21689 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21690 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21691 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21692 s_fabs_template.c.
21693 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21694 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21695 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21696 s_floor_template.c.
21697 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21698 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21699 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21700 s_frexp_template.c.
21701 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21702 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21703 s_lrint_template.c.
21704 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21705 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21706 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21707 s_modf_template.c.
21708 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
21709 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
21710 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
21711 s_nearbyint_template.c.
21712 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21713 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21714 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21715 s_remquo_template.c.
21716 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21717 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21718 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21719 s_rint_template.c.
21720 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
21721 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
21722 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
21723 s_sin_template.c.
21724 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
21725 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
21726 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
21727 s_sincos_template.c.
21728 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
21729 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
21730 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
21731 s_tan_template.c.
21732 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
21733 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
21734 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
21735 s_tanh_template.c.
21736 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
21737 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
21738 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
21739 s_trunc_template.c.
21740 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
21741 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
21742 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
21743 s_atan.c instead of including s_atan.c.
21744 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
21745 s_atanf.c instead of including s_atanf.c.
21746 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
21747 s_atanl.c instead of including s_atanl.c.
21748 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
21749 instead of s_atan.c.
21750 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
21751 instead of s_atanf.c.
21752 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
21753 instead of s_atanl.c.
21754
21755 * scripts/update-copyrights: Do not handle intl/plural.c
21756 specially.
21757
21758 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21759
21760 [BZ #22432]
21761 * configure.ac (BISON): Require to be present.
21762 * configure: Regenerated.
21763 * intl/Makefile (generated): Add plural.c.
21764 [$(BISON) != no]: Make code unconditional.
21765 (plural.c): Change rule to $(objpfx)plural.c.
21766 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21767 * intl/plural.c: Remove.
21768 * manual/install.texi (Tools for Compilation): Document bison as
21769 required.
21770 * INSTALL: Regenerated.
21771
21772 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21773
21774 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21775 <libm-alias-double.h>.
21776 (llrint): Define using libm_alias_double.
21777 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21778 <libm-alias-float.h>.
21779 (llrintf): Define using libm_alias_float.
21780 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21781 <libm-alias-ldouble.h>.
21782 (llrintl): Define using libm_alias_ldouble.
21783
21784 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21785 declare_mgen_alias instead of weak_alias.
21786 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21787 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21788 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21789
21790 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21791
21792 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21793 Add add_n-generic.
21794 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21795 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21796 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21797
21798 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21799 Add submul_1-generic.
21800 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21801 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21802 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21803
21804 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21805 Add addmul_1-generic.
21806 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21807 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21808 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21809
21810 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21811 Add sub_n-generic.
21812 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21813 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21814 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21815
21816 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21817 Add mul_1-generic.
21818 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21819 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21820 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21821
21822 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21823
21824 According to CLDR, collation rules for Serbian and Bosnian
21825 should be the same as for Croatian.
21826
21827 [BZ #22534]
21828 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21829 and to the list of locales to be built for testing.
21830 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21831 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21832 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21833 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21834
21835 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21836
21837 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21838 to make test case pass.
21839 * localedata/hr_HR.UTF-8.in: Add more test strings.
21840
21841 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21842
21843 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21844
21845 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21846
21847 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21848 the list of locales to built for testing.
21849 * localedata/hr_HR.UTF-8.in: New file.
21850
21851 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21852
21853 [BZ #10580]
21854 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21855 iso14651_t1.
21856 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21857 CLDR (except use ligatures for the digraphs, CLDR does not use
21858 the ligatures), add first_workday, some fixes in the date and time
21859 formats.
21860 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21861 for Đ and đ.
21862 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21863 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21864 Add int_p_cs_precedes and int_n_cs_precedes.
21865 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21866 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21867 LC_MONETARY now).
21868 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21869 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21870 name_miss.
21871 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21872 and lang_lib. Change postal_fmt.
21873
21874 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21875
21876 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21877 <setjmp.h>.
21878 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21879 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21880 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21881 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21882 * sysdeps/generic/setjmpP.h: New file.
21883 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21884 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21885 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21886 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21887 Add jmp_buf-ssp.sym.
21888 (tests): Add tst-saved_mask-1.
21889
21890 2017-11-30 Arjun Shankar <arjun@redhat.com>
21891
21892 [BZ #22375]
21893 CVE-2017-17426
21894 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21895 instead of request2size.
21896
21897 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21898
21899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21900 (__lllrint): Remove alias.
21901 (lllrint): Likewise.
21902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21903 (__lllrintf): Likewise.
21904 (lllrintf): Likewise.
21905
21906 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21907 <libm-alias-float.h>.
21908 (copysignf): Define using libm_alias_float.
21909 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21910 <libm-alias-float.h>.
21911 (fabsf): Define using libm_alias_float.
21912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21913 Include <libm-alias-float.h>.
21914 (copysignf): Define using libm_alias_float.
21915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21916 <libm-alias-float.h>.
21917 (fabsf): Define using libm_alias_float.
21918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21919 <libm-alias-float.h>.
21920 (fdimf): Define using libm_alias_float.
21921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21922 <libm-alias-float.h>.
21923 (fmaf): Define using libm_alias_float.
21924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21925 <libm-alias-float.h>.
21926 (llrintf): Define using libm_alias_float.
21927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21928 Include <libm-alias-float.h>.
21929 (nearbyintf): Define using libm_alias_float.
21930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21931 <libm-alias-float.h>.
21932 (rintf): Define using libm_alias_float.
21933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21934 <libm-alias-float.h>.
21935 (llrintf): Define using libm_alias_float.
21936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21937 <libm-alias-float.h>.
21938 (lrintf): Define using libm_alias_float.
21939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21940 <libm-alias-float.h>.
21941 (nearbyintf): Define using libm_alias_float.
21942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21943 <libm-alias-float.h>.
21944 (rintf): Define using libm_alias_float.
21945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21946 <libm-alias-float.h>.
21947 (ceilf): Define using libm_alias_float.
21948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21949 <libm-alias-float.h>.
21950 (floorf): Define using libm_alias_float.
21951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21952 <libm-alias-float.h>.
21953 (fmaf): Define using libm_alias_float.
21954 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21955 <libm-alias-float.h>.
21956 (lrintf): Define using libm_alias_float.
21957 (llrintf): Likewise.
21958 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21959 <libm-alias-float.h>.
21960 (nearbyintf): Define using libm_alias_float.
21961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21962 <libm-alias-float.h>.
21963 (rintf): Define using libm_alias_float.
21964 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21965 <libm-alias-float.h>.
21966 (truncf): Define using libm_alias_float.
21967 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21968 <libm-alias-float.h>.
21969 (copysignf): Define using libm_alias_float.
21970 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21971 <libm-alias-float.h>.
21972 (fabsf): Define using libm_alias_float.
21973 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21974 <libm-alias-float.h>.
21975 (lrintf): Define using libm_alias_float.
21976 (llrintf): Likewise.
21977 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21978 <libm-alias-float.h>.
21979 (nearbyintf): Define using libm_alias_float.
21980 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21981 <libm-alias-float.h>.
21982 (rintf): Define using libm_alias_float.
21983
21984 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21985
21986 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21987 <libm-alias-double.h>.
21988 (copysign): Define using libm_alias_double.
21989 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21990 <libm-alias-double.h>.
21991 (fabs): Define using libm_alias_double.
21992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21993 Include <libm-alias-double.h>.
21994 (copysign): Define using libm_alias_double.
21995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21996 <libm-alias-double.h>.
21997 (fabs): Define using libm_alias_double.
21998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21999 <libm-alias-double.h>.
22000 (fdim): Define using libm_alias_double.
22001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22002 <libm-alias-double.h>.
22003 (fma): Define using libm_alias_double.
22004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22005 <libm-alias-double.h>.
22006 (llrint): Define using libm_alias_double.
22007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22008 Include <libm-alias-double.h>.
22009 (nearbyint): Define using libm_alias_double.
22010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22011 <libm-alias-double.h>.
22012 (rint): Define using libm_alias_double.
22013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22014 <libm-alias-double.h>.
22015 (fabs): Define using libm_alias_double.
22016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22017 <libm-alias-double.h>.
22018 (llrint): Define using libm_alias_double.
22019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22020 <libm-alias-double.h>.
22021 (nearbyint): Define using libm_alias_double.
22022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22023 <libm-alias-double.h>.
22024 (rint): Define using libm_alias_double.
22025 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22026 <libm-alias-double.h>.
22027 (ceil): Define using libm_alias_double.
22028 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22029 <libm-alias-double.h>.
22030 (floor): Define using libm_alias_double.
22031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22032 <libm-alias-double.h>.
22033 (fma): Define using libm_alias_double.
22034 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22035 <libm-alias-double.h>.
22036 (lrint): Define using libm_alias_double.
22037 (llrint): Likewise.
22038 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22039 <libm-alias-double.h>.
22040 (nearbyint): Define using libm_alias_double.
22041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22042 <libm-alias-double.h>.
22043 (rint): Define using libm_alias_double.
22044 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22045 <libm-alias-double.h>.
22046 (trunc): Define using libm_alias_double.
22047 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22048 <libm-alias-double.h>.
22049 (copysign): Define using libm_alias_double.
22050 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22051 <libm-alias-double.h>.
22052 (fabs): Define using libm_alias_double.
22053 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22054 <libm-alias-double.h>.
22055 (lrint): Define using libm_alias_double.
22056 (llrint): Likewise.
22057 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22058 <libm-alias-double.h>.
22059 (nearbyint): Define using libm_alias_double.
22060 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22061 <libm-alias-double.h>.
22062 (rint): Define using libm_alias_double.
22063
22064 [BZ #22229]
22065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22066 <math_ldbl_opt.h>.
22067 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22068
22069 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22070 SPARC --disable-multi-arch glibc variants.
22071
22072 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22073 <libm-alias-float.h>.
22074 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22075 if [SHARED].
22076 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22077 <libm-alias-float.h>.
22078 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22079 if [SHARED].
22080 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22081 <libm-alias-float.h>.
22082 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22083 if [SHARED].
22084 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22085 <libm-alias-float.h>.
22086 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22087 if [SHARED].
22088 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22089 <libm-alias-float.h>.
22090 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22091 if [SHARED].
22092 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22093 <libm-alias-float.h>.
22094 (ceilf): Define using libm_alias_float.
22095 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22096 <libm-alias-float.h>.
22097 (floorf): Define using libm_alias_float.
22098 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22099 <libm-alias-float.h>.
22100 (fmaf): Define using libm_alias_float.
22101 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22102 <libm-alias-float.h>.
22103 (nearbyintf): Define using libm_alias_float.
22104 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22105 <libm-alias-float.h>.
22106 (rintf): Define using libm_alias_float.
22107 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22108 <libm-alias-float.h>.
22109 (truncf): Define using libm_alias_float.
22110 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22111 (copysignf): Define using libm_alias_float.
22112 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22113 (cosf): Define using libm_alias_float.
22114 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22115 (fabsf): Define using libm_alias_float.
22116 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22117 (fmaxf): Define using libm_alias_float.
22118 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22119 (fminf): Define using libm_alias_float.
22120 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22121 (llrintf): Define using libm_alias_float.
22122 [!__ILP32__] (lrintf): Likewise.
22123 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22124 (sincosf): Define using libm_alias_float.
22125 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22126 (sinf): Define using libm_alias_float.
22127 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22128 (lrintf): Define using libm_alias_float.
22129
22130 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22131 <libm-alias-double.h>.
22132 (atan): Define using libm_alias_double.
22133 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22134 <libm-alias-double.h>.
22135 (ceil): Define using libm_alias_double.
22136 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22137 <libm-alias-double.h>.
22138 (floor): Define using libm_alias_double.
22139 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22140 <libm-alias-double.h>.
22141 (fma): Define using libm_alias_double.
22142 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22143 <libm-alias-double.h>.
22144 (nearbyint): Define using libm_alias_double.
22145 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22146 <libm-alias-double.h>.
22147 (rint): Define using libm_alias_double.
22148 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22149 <libm-alias-double.h>.
22150 (sin): Define using libm_alias_double.
22151 (cos): Likewise.
22152 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22153 <libm-alias-double.h>.
22154 (tan): Define using libm_alias_double.
22155 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22156 <libm-alias-double.h>.
22157 (trunc): Define using libm_alias_double.
22158 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22159 (copysign): Define using libm_alias_double.
22160 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22161 (fabs): Define using libm_alias_double.
22162 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22163 (fmax): Define using libm_alias_double.
22164 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22165 (fmin): Define using libm_alias_double.
22166 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22167 (llrint): Define using libm_alias_double.
22168 [!__ILP32__] (lrint): Likewise.
22169 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22170 (lrint): Define using libm_alias_double.
22171
22172 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22173
22174 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22175 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22176 objects.
22177 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22178 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22179 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22180 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22181 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22182 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22183
22184 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22185 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22186 objects.
22187 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22188 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22189 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22190 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22191 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22192 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22193
22194 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22195 (libm-sysdep_routines): Add s_nearbyint-generic and
22196 s_nearbyintf-generic objects.
22197 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22198 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22199 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22200 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22201 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22202 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22203
22204 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22205 Add s_finitef-generic and s_finite-generic objects.
22206 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22207 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22208 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22209 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22210 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22211 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22212
22213 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22214 Add s_isinff-generic and s_isinf-generic objects.
22215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22221
22222 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22223 Add s_isnanf-generic and s_isnan-generic objects.
22224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22230
22231 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22232 macro.
22233 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22234 rule.
22235 (sysdep_routines): Use sysdep_calls as base.
22236 (libm-sysdep_routines): Add generic rule for symbols shared with
22237 libc. Add s_signbit-generic and s_signbitf-generic objects.
22238 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22239 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22240 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22241 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22242 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22243 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22244
22245 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22246
22247 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22248 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22249 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22250 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22251 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22252 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22253 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22254 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22255 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22256 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22257 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22258 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22259 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22260 libm_alias_float_r.
22261 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22262 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22263 (logf): Likewise.
22264 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22265 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22266 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22267 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22268 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22269 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22270 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22271 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22272 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22273 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22274 libm_alias_float.
22275 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22276 (cosf): Likewise.
22277 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22278 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22279 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22280 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22281 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22282 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22283 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22284 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22285 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22286 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22287 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22288 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22289 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22290 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22291 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22292 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22293 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22294 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22295 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22296 libm_alias_float.
22297 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22298 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22299 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22300 * sysdeps/ia64/fpu/w_lgammaf_main.c
22301 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22302 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22303
22304 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22305 Alexandre Oliva <aoliva@redhat.com>
22306
22307 [BZ #17750]
22308 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22309 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22310 accents sorting.
22311 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22312 sorting.
22313 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22314 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22315 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22316 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22317 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22318 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22319 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22320 instead of “ifdef DIACRIT_BACKWARD”.
22321
22322 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22323
22324 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22325 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22326 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22327 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22328 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22329 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22331 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22332 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22333 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22336 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22337 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22338 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22339 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22340 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22341 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22343 ($(have-as-vis3) == yes): Remove conditional.
22344 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22345 Likewise.
22346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22347 file.
22348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22349 file.
22350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22351 file.
22352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22353 file.
22354 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22355 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22356 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22357 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22360 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22361 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22362
22363 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22364
22365 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22366 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22367 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22368 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22369 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22370 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22371 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22372 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22373 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22374 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22375 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22376 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22377 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22378 libm_alias_double_r.
22379 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22380 (log): Likewise.
22381 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22382 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22383 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22384 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22385 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22386 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22387 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22388 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22389 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22390 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22391 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22392 libm_alias_double.
22393 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22394 (cos): Likewise.
22395 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22396 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22397 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22398 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22399 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22400 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22401 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22402 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22403 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22404 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22405 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22406 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22407 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22408 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22409 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22410 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22411 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22412 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22413 libm_alias_double.
22414 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22415 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22416 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22417 * sysdeps/ia64/fpu/w_lgamma_main.c
22418 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22419 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22420
22421 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
22422
22423 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22424 address of $global$ into %dp register earlier. Use pc-relative
22425 instruction sequence for PIC case.
22426
22427 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22428
22429 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22430 (asinhf): Define using libm_alias_float.
22431 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22432 (atanf): Define using libm_alias_float.
22433 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22434 (cbrtf): Define using libm_alias_float.
22435 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22436 (ceilf): Define using libm_alias_float.
22437 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22438 (copysignf): Define using libm_alias_float.
22439 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22440 (expm1f): Define using libm_alias_float.
22441 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22442 (fabsf): Define using libm_alias_float.
22443 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22444 (floorf): Define using libm_alias_float.
22445 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22446 (fmaxf): Define using libm_alias_float.
22447 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22448 (fminf): Define using libm_alias_float.
22449 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22450 (frexpf): Define using libm_alias_float.
22451 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22452 (llrintf): Define using libm_alias_float.
22453 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22454 (logbf): Define using libm_alias_float.
22455 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22456 (lrintf): Define using libm_alias_float.
22457 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22458 (nearbyintf): Define using libm_alias_float.
22459 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22460 (remquof): Define using libm_alias_float.
22461 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22462 (rintf): Define using libm_alias_float.
22463 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22464 (truncf): Define using libm_alias_float.
22465 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22466 <libm-alias-float.h>.
22467 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22468 if [SHARED].
22469 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22470 <libm-alias-float.h>.
22471 (expf): Define using libm_alias_float, or libm_alias_float_other
22472 if [SHARED].
22473 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22474 <libm-alias-float.h>.
22475 (log2f): Define using libm_alias_float, or libm_alias_float_other
22476 if [SHARED].
22477 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22478 <libm-alias-float.h>.
22479 (logf): Define using libm_alias_float, or libm_alias_float_other
22480 if [SHARED].
22481 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22482 <libm-alias-float.h>.
22483 (powf): Define using libm_alias_float, or libm_alias_float_other
22484 if [SHARED].
22485 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22486 <libm-alias-float.h>.
22487 (cosf): Define using libm_alias_float.
22488 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22489 <libm-alias-float.h>.
22490 (sincosf): Define using libm_alias_float.
22491 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22492 <libm-alias-float.h>.
22493 (sinf): Define using libm_alias_float.
22494 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22495 (fmaxf): Define using libm_alias_float.
22496 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22497 (fminf): Define using libm_alias_float.
22498 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22499 <libm-alias-float.h>.
22500 (fmaf): Define using libm_alias_float.
22501
22502 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22503 (asinh): Define using libm_alias_double.
22504 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22505 (atan): Define using libm_alias_double.
22506 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22507 (cbrt): Define using libm_alias_double.
22508 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22509 (ceil): Define using libm_alias_double.
22510 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22511 (copysign): Define using libm_alias_double.
22512 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22513 (expm1): Define using libm_alias_double.
22514 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22515 (fabs): Define using libm_alias_double.
22516 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22517 (fdim): Define using libm_alias_double.
22518 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22519 (floor): Define using libm_alias_double.
22520 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22521 (fmax): Define using libm_alias_double.
22522 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22523 (fmin): Define using libm_alias_double.
22524 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22525 (frexp): Define using libm_alias_double.
22526 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22527 (llrint): Define using libm_alias_double.
22528 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22529 (logb): Define using libm_alias_double.
22530 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22531 (lrint): Define using libm_alias_double.
22532 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22533 (nearbyint): Define using libm_alias_double.
22534 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22535 (remquo): Define using libm_alias_double.
22536 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22537 (rint): Define using libm_alias_double.
22538 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22539 (trunc): Define using libm_alias_double.
22540 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22541 (fmax): Define using libm_alias_double.
22542 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22543 (fmin): Define using libm_alias_double.
22544 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22545 (fma): Define using libm_alias_double.
22546
22547 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22548
22549 [BZ #22370]
22550 * elf/dl-hwcaps.c (ROUND): Removed.
22551 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22552 and ELF_NOTE_NEXT_OFFSET.
22553 * elf/dl-load.c (ROUND): Removed.
22554 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22555 * elf/readelflib.c (ROUND): Removed.
22556 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22557 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22558 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22559 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22560
22561 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22562
22563 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22564 [!__fmaf] (fmaf): Define using libm_alias_float.
22565
22566 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22567 [!__fma] (fma): Define using libm_alias_double.
22568 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22569
22570 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22571
22572 [BZ #22336]
22573 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22574 and implement the collation rules for cs from CLDR on top of that.
22575 * Makefile: Add cs_CZ.UTF-8 to test-input.
22576 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22577
22578 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22579
22580 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22581
22582 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22583 Icarus Sparry <icarus.w.sparry@intel.com>
22584
22585 * benchtests/Makefile:Add BENCHSET to allow subsets of
22586 benchmarks to be run.
22587 * benchtests/README: Add documentation for: Running subsets of
22588 benchmarks.
22589
22590 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22591
22592 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22593 range of tests names.
22594
22595 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22596 result from property and remove "max", min" and "mean" from
22597 required properties based on benchtests/bench-skeleton.c.
22598
22599 2017-11-28 Florian Weimer <fweimer@redhat.com>
22600
22601 [BZ #20826]
22602 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22603 due to Internet requirement.
22604 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22605 tst-getaddrinfo5.
22606 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22607
22608 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22609
22610 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22611 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22612 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22613 (sysdep_routines): Add memset-ultra1.
22614 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22615 file.
22616 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22617 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22618 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22619 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22620 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22621 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22622 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22623 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22624
22625 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22626 file.
22627 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22628 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22629 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22630 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22631 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22632 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22633 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
22634 macro.
22635 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22636 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
22637 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22638 (sysdep_routines): Add memcpy-ultra1.
22639 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
22640 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
22641
22642 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22643
22644 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
22645 (cfloat_versions): Take function argument without trailing 'f'.
22646 Call libm_alias_float_other.
22647 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
22648 * sysdeps/alpha/fpu/cargf.c: Likewise.
22649 * sysdeps/alpha/fpu/cimagf.c: Likewise.
22650 * sysdeps/alpha/fpu/conjf.c: Likewise.
22651 * sysdeps/alpha/fpu/crealf.c: Likewise.
22652 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
22653 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22654 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22655 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22656 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22657 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22658 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22659 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22660 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22661 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22662 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22663 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22664 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22665 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22666 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22667 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22668 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22669 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22670 (clog10f): Use libm_alias_float_other.
22671 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22672 (ceilf): Define using libm_alias_float.
22673 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22674 (copysignf): Define using libm_alias_float.
22675 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22676 (fabsf): Define using libm_alias_float.
22677 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22678 (floorf): Define using libm_alias_float.
22679 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22680 (fmaxf): Define using libm_alias_float.
22681 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22682 (fminf): Define using libm_alias_float.
22683 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22684 (lrintf): Define using libm_alias_float.
22685 (llrintf): Likewise.
22686 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22687 (lroundf): Define using libm_alias_float.
22688 (llroundf): Likewise.
22689 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22690 (rintf): Define using libm_alias_float.
22691 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22692 (truncf): Define using libm_alias_float.
22693
22694 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22695 (ceilf): Define using libm_alias_float.
22696 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22697 (floorf): Define using libm_alias_float.
22698 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22699 (fmaf): Define using libm_alias_float.
22700 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22701 (fmaxf): Define using libm_alias_float.
22702 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22703 (fminf): Define using libm_alias_float.
22704 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22705 (llrintf): Define using libm_alias_float.
22706 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22707 (llroundf): Define using libm_alias_float.
22708 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22709 (lrintf): Define using libm_alias_float.
22710 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22711 (lroundf): Define using libm_alias_float.
22712 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22713 <libm-alias-float.h>.
22714 (nearbyintf): Define using libm_alias_float.
22715 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22716 (rintf): Define using libm_alias_float.
22717 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22718 (roundf): Define using libm_alias_float.
22719 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22720 (truncf): Define using libm_alias_float.
22721
22722 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
22723 (ceil): Define using libm_alias_double.
22724 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
22725 (copysign): Define using libm_alias_double.
22726 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
22727 (fabs): Define using libm_alias_double.
22728 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
22729 (floor): Define using libm_alias_double.
22730 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
22731 (fmax): Define using libm_alias_double.
22732 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
22733 (fmin): Define using libm_alias_double.
22734 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
22735 (lrint): Define using libm_alias_double.
22736 (llrint): Likewise.
22737 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
22738 (lround): Define using libm_alias_double.
22739 (llround): Likewise.
22740 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
22741 (rint): Define using libm_alias_double.
22742 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
22743 (trunc): Define using libm_alias_double.
22744
22745 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22746 (libm_alias_double_r): Add semicolon after weak_alias call.
22747
22748 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22749
22750 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
22751 (ceil): Define using libm_alias_double.
22752 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
22753 (floor): Define using libm_alias_double.
22754 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
22755 (fma): Define using libm_alias_double.
22756 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
22757 (fmax): Define using libm_alias_double.
22758 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22759 (fmin): Define using libm_alias_double.
22760 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22761 (llrint): Define using libm_alias_double.
22762 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22763 (llround): Define using libm_alias_double.
22764 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22765 (lrint): Define using libm_alias_double.
22766 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22767 (lround): Define using libm_alias_double.
22768 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22769 (nearbyint): Define using libm_alias_double.
22770 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22771 (rint): Define using libm_alias_double.
22772 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22773 (round): Define using libm_alias_double.
22774 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22775 (trunc): Define using libm_alias_double.
22776
22777 2017-11-27 Florian Weimer <fweimer@redhat.com>
22778
22779 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22780 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22781 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22782 (tests): Add tst-mlock2.
22783 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22784 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22785 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22786 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22787 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22788 for mlock. Document mlock2.
22789
22790 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22791
22792 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22793 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22794 Likewise.
22795 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22796 Likewise.
22797 * sysdeps/x86/Makeconfig: New file.
22798 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22799 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22800 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22801 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22802 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22803 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22804 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22805 Likewise.
22806 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22807 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22808 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22809 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22810 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22811 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22812 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22813 * manual/math.texi (Mathematics): Document support for _Float64x.
22814 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22815 * stdlib/Versions (GLIBC_2.27): Likewise.
22816 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22817 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22818 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22819 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22820 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22821 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22822 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22823 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22824 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22825 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22826 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22827 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22829 Likewise.
22830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22831 Likewise.
22832 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22833 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22834 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22835 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22836 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22837 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22838 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22839 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22840 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22841 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22842 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22843 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22844 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22845 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22846
22847 2017-11-27 Andreas Schwab <schwab@suse.de>
22848
22849 * elf/Makefile (dl-routines): Add dl-sort-maps.
22850 * elf/dl-sort-maps.c: New file.
22851 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22852 (_dl_sort_maps): Declare.
22853 * elf/dl-fini.c (_dl_sort_fini): Remove.
22854 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22855 * elf/dl-close.c (_dl_close_worker): Likewise.
22856 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22857 open-coding it.
22858 * elf/dl-open.c (dl_open_worker): Likewise.
22859
22860 2017-11-24 Joseph Myers <joseph@codesourcery.com>
22861
22862 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22863 using libm_alias_float128.
22864 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22865 Likewise.
22866 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22867 Likewise.
22868 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22869 (setpayloadsigf128): Likewise.
22870 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22871 Likewise.
22872 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22873 Likewise.
22874
22875 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22876 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22877 -mfloat128 to CFLAGS.
22878 ($(foreach
22879 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22880 Likewise.
22881 (CFLAGS-libm-test-support-float64x.c): New variable.
22882 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22883 $(f128-loader-link) to gnulib-tests.
22884
22885 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22886 (libm_alias_float128_other_r): If
22887 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22888 alias.
22889 (libm_alias_float128_r): Add semicolon after weak_alias call.
22890 * sysdeps/generic/libm-alias-ldouble.h
22891 (libm_alias_ldouble_other_r_f128): New macro.
22892 (libm_alias_ldouble_other_r_f64x): Likewise.
22893 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22894 and libm_alias_ldouble_other_r_f64x.
22895 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22896 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22897 (libm_alias_ldouble_other_r_f128): New macro.
22898 (libm_alias_ldouble_other_r_f64x): Likewise.
22899 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22900 and libm_alias_ldouble_other_r_f64x.
22901
22902 * stdlib/strfroml.c: Always include <stdlib.h>.
22903 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22904 undefine as macro and define as weak alias.
22905 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22906 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22907 <stdlib.h>.
22908 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22909 Define and later undefine as macro and define as weak alias.
22910
22911 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22912 Define and later undefine as macro. Define as weak alias if
22913 [!USE_WIDE_CHAR].
22914 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22915 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22916 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22917 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22918 Define and later undefine as macro. Define as weak alias if
22919 [!USE_WIDE_CHAR].
22920 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22921 Define and later undefine as macro. Define as weak alias if
22922 [USE_WIDE_CHAR].
22923 * sysdeps/ieee754/float128/strtof128_l.c
22924 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22925 Define and later undefine as macro. Define as weak alias if
22926 [!USE_WIDE_CHAR].
22927 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22928 Define and later undefine as macro. Define as weak alias if
22929 [USE_WIDE_CHAR].
22930 * sysdeps/ieee754/ldbl-128/strtold_l.c
22931 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22932 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22933 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22934 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22935 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22936 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22937 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22938 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22939 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22940 * sysdeps/ieee754/ldbl-96/strtold_l.c
22941 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22942 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22943 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22944 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22945
22946 * math/test-float64x.h: New file.
22947 * math/Makefile (type-float64x-yes): New variable.
22948 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22949
22950 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22951 function-like macro.
22952 (min_of_type_): Likewise.
22953 (min_of_type_l): Likewise.
22954 (min_of_type_f128): Likewise.
22955 (min_of_type): Pass () as last argument of __MATH_TG.
22956
22957 * stdlib/tst-strtod-round-skeleton.c
22958 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22959 headers.
22960
22961 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22962 for combinations of long double with _Float64 and _Float64x.
22963
22964 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22965 (__DECL_SIMD_cosf32): Likewise.
22966 (__DECL_SIMD_cosf64): Likewise.
22967 (__DECL_SIMD_cosf32x): Likewise.
22968 (__DECL_SIMD_cosf64x): Likewise.
22969 (__DECL_SIMD_cosf128x): Likewise.
22970 (__DECL_SIMD_sinf16): Likewise.
22971 (__DECL_SIMD_sinf32): Likewise.
22972 (__DECL_SIMD_sinf64): Likewise.
22973 (__DECL_SIMD_sinf32x): Likewise.
22974 (__DECL_SIMD_sinf64x): Likewise.
22975 (__DECL_SIMD_sinf128x): Likewise.
22976 (__DECL_SIMD_sincosf16): Likewise.
22977 (__DECL_SIMD_sincosf32): Likewise.
22978 (__DECL_SIMD_sincosf64): Likewise.
22979 (__DECL_SIMD_sincosf32x): Likewise.
22980 (__DECL_SIMD_sincosf64x): Likewise.
22981 (__DECL_SIMD_sincosf128x): Likewise.
22982 (__DECL_SIMD_logf16): Likewise.
22983 (__DECL_SIMD_logf32): Likewise.
22984 (__DECL_SIMD_logf64): Likewise.
22985 (__DECL_SIMD_logf32x): Likewise.
22986 (__DECL_SIMD_logf64x): Likewise.
22987 (__DECL_SIMD_logf128x): Likewise.
22988 (__DECL_SIMD_expf16): Likewise.
22989 (__DECL_SIMD_expf32): Likewise.
22990 (__DECL_SIMD_expf64): Likewise.
22991 (__DECL_SIMD_expf32x): Likewise.
22992 (__DECL_SIMD_expf64x): Likewise.
22993 (__DECL_SIMD_expf128x): Likewise.
22994 (__DECL_SIMD_powf16): Likewise.
22995 (__DECL_SIMD_powf32): Likewise.
22996 (__DECL_SIMD_powf64): Likewise.
22997 (__DECL_SIMD_powf32x): Likewise.
22998 (__DECL_SIMD_powf64x): Likewise.
22999 (__DECL_SIMD_powf128x): Likewise.
23000
23001 * stdlib/Versions (libc): Move entries for wcstof128 and
23002 wcstof128_l to ....
23003 * wcsmbs/Versions (libc): ... here.
23004 Include <float128-abi.h>.
23005
23006 2017-11-24 Florian Weimer <fweimer@redhat.com>
23007
23008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23009 bits/mman-shared.h.
23010 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23011 <bits/mman-shared.h>.
23012 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23013 to ...
23014 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23015 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23016 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23017 <bits/mman-shared.h>.
23018
23019 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23020
23021 [BZ #22457]
23022 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23023 posix_memalign/free.
23024 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23025
23026 2017-11-22 Mike FABIAN <mfabian@redhat.com>
23027
23028 [BZ #22469]
23029 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23030 and implement the collation rules for pl from CLDR on top of that.
23031 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23032 of locales to be built for testing.
23033 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23034
23035 2017-11-23 Joseph Myers <joseph@codesourcery.com>
23036
23037 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23038 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23039 libm_alias_ldouble_other.
23040 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23041 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23042 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23043 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23044 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23045 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23046 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23047 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23048 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23049 libm_alias_ldouble_r.
23050 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23051 libm_alias_ldouble_other.
23052 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23053 (log10l): Likewise.
23054 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23055 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23056 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23057 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23058 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23059 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23060 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23061 (atan2l): Likewise.
23062 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23063 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23064 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23065 libm_alias_ldouble.
23066 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23067 (cosl): Likewise.
23068 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23069 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23070 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23071 (expl): Likewise.
23072 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23073 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23074 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23075 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23076 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23077 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23078 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23079 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23080 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23081 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23082 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23083 libm_alias_ldouble.
23084 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23085 libm_alias_ldouble_other.
23086 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23087 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23088 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23089 libm_alias_ldouble.
23090 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23091 libm_alias_ldouble_other.
23092 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23093 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23094 * sysdeps/ia64/fpu/w_lgammal_main.c
23095 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23096 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23097
23098 2017-11-23 Florian Weimer <fweimer@redhat.com>
23099
23100 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23101 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23102 alike. Remove freeres marker.
23103 * malloc/arena.c (arena_thread_freeres): Call
23104 tcache_thread_shutdown.
23105
23106 2017-11-23 Florian Weimer <fweimer@redhat.com>
23107
23108 [BZ #22459]
23109 Export nscd hash function as __nss_hash.
23110 * include/nss.h (__nss_hash): Declare.
23111 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23112 symbol.
23113 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23114 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23115 of __nscd_hash.
23116 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23117 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23118 * nss/Makefiles (routines): Add nss_hash.
23119 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23120 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23121 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23122 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23123
23124 2017-11-23 Florian Weimer <fweimer@redhat.com>
23125
23126 [BZ #22478]
23127 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23128 Return error code, not -1.
23129 * signal/tst-sigwait-eintr.c: New file.
23130 * signal/Makefile (tests): Add tst-sigwait-eintr.
23131
23132 2017-11-23 Florian Weimer <fweimer@redhat.com>
23133
23134 Linux: Add memfd_create system call wrapper
23135 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23136 tst-memfd_create.
23137 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23138 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23139 [__USE_GNU] (memfd_create): Declare.
23140 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23141 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23142 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23143 * sysdeps/unix/sysv/linux/**.abilist: Update.
23144 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23145
23146 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23147
23148 * localedata/gen-locale.sh: Fix typo in variable name.
23149
23150 * resolv/res_debug.c (p_secstodate): Condition definition on
23151 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23152 directly as __p_secstodate, and as a compat symbol. Do not use
23153 libresolv_hidden_def.
23154 * resolv/resolv.h (p_secstodate): Remove macro and function
23155 declaration.
23156 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23157 using p_secstodate.
23158 * include/resolv.h (__p_secstodate): Do not use
23159 libresolv_hidden_proto.
23160 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23161 (tests-internal): ... here.
23162 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23163 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23164 and declare and use __p_secstodate and use compat_symbol_reference
23165 in that case.
23166 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23167 implementation returning 77.
23168
23169 [BZ #22463]
23170 * resolv/res_debug.c: Include <libc-diag.h>.
23171 (p_secstodate): Assert time_t at least as wide as u_long. On
23172 overflow, use integer seconds since the epoch as output, or use
23173 "<overflow>" as output and set errno to EOVERFLOW if integer
23174 seconds since the epoch would be 14 or more characters.
23175 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23176 for sprintf call.
23177 * resolv/tst-p_secstodate.c: New file.
23178 * resolv/Makefile (tests): Add tst-p_secstodate.
23179 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23180
23181 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23182 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23183 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23184
23185 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23186
23187 * posix/regcomp.c (init_word_char): Add comments.
23188
23189 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23190
23191 [BZ #22447]
23192 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23193 strlen to compute length of ut_user and set trailing NUL byte of
23194 result explicitly.
23195
23196 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23197
23198 [BZ #15537]
23199 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23200 using “copy "iso14651_t1"” and then implementing the
23201 collation rules for lv from CLDR on top of that.
23202 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23203 of locales to be built for testing.
23204 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23205 sorting.
23206
23207 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23208
23209 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23210 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23211 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23212 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23213 [__USE_MISC] (MADV_HWPOISON): New macro.
23214 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23215
23216 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23217
23218 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23219 -Wmissing-braces on GCC 4.9.
23220
23221 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23222
23223 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23224 * sysdeps/s390/s390-32/start.S (_start): Likewise
23225 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23226 (thread_start): Likewise.
23227 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23228 (thread_start): Likewise.
23229 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23230 (__makecontext_ret): Likewise.
23231 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23232 (__makecontext_ret): Likewise.
23233
23234 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23235
23236 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23237 __wcschrnul): Remove attribute_hidden.
23238
23239 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23240
23241 regex: don't assume uint64_t or uint32_t
23242 This avoids -Werror=overflow errors for 32-bit systems in
23243 the 64-bit case. Problem reported by Joseph Myers in:
23244 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23245 Also, when this code is used in Gnulib it ports to platforms
23246 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23247 them, and on some 32-bit compilers there is no uint64_t.
23248 Problem reported by Gianluigi Tiesi in:
23249 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23250 * posix/regcomp.c (init_word_char): Don't assume that the types
23251 uint64_t and uint32_t exist. Adapted from Gnulib patch
23252 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23253 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23254
23255 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23256
23257 * sysdeps/aarch64/memset-reg.h: New file.
23258 * sysdeps/aarch64/memset.S: Use it.
23259 (__memset): Rename to MEMSET macro.
23260 [ZVA_MACRO]: Use zva_macro.
23261 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23262 Add memset_generic and memset_falkor.
23263 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23264 (__libc_ifunc_impl_list): Add memset ifuncs.
23265 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23266 local variable zva_size.
23267 * sysdeps/aarch64/multiarch/memset.c: New file.
23268 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23269 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23270 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23271 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23272 (DCZID_DZP_MASK): New macro.
23273 (DCZID_BS_MASK): Likewise.
23274 (init_cpu_features): Read and set zva_size.
23275 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23276 (struct cpu_features): New member zva_size.
23277
23278 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23279 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23280 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23281
23282 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23283 backwards. Fix timing computation.
23284 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23285 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23286 on memset by N at a time. Fix timing computation.
23287
23288 2017-11-20 Florian Weimer <fweimer@redhat.com>
23289
23290 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23291 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23292
23293 2017-11-19 Florian Weimer <fweimer@redhat.com>
23294
23295 manual: Document mprotect
23296 * manual/memory.texi (Memory Protection): New section.
23297 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23298 documentation of PROT_* flags and reference the Memory Protection
23299 section instead.
23300
23301 2017-11-19 Florian Weimer <fweimer@redhat.com>
23302
23303 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23304 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23305 (Scatter-Gather): ... to here. Remove misleading comment.
23306
23307 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
23308
23309 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23310 style.
23311
23312 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23313 when /proc/<pid>/setgroups does not exist.
23314
23315 2017-11-18 Florian Weimer <fweimer@redhat.com>
23316
23317 * sysdeps/unix/sysv/linux/tst-ttyname.c
23318 (become_root_in_mount_ns): Remove.
23319 (do_in_chroot_1): Call support_enter_mount_namespace.
23320 (do_in_chroot_2): Likewise.
23321 (do_test): Call support_become_root early.
23322
23323 2017-11-18 Florian Weimer <fweimer@redhat.com>
23324
23325 * support/namespace.h (support_enter_mount_namespace): Declare.
23326 * support/support_enter_mount_namespace.c: New file.
23327 * support/Makefile (libsupport-routines): Add
23328 support_enter_mount_namespace.
23329
23330 2017-11-18 Florian Weimer <fweimer@redhat.com>
23331
23332 * support/temp_file.c (support_create_temp_directory): Use
23333 test_dir and do not rely on the presence of the XXXXXX suffix.
23334 * support/temp_file.h (support_create_temp_directory): Update
23335 comment.
23336 * support/tst-xreadlink.c (do_test): Adjust.
23337 * support/support_chroot.c (support_chroot_create): Likewise.
23338
23339 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23340
23341 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23342 macro.
23343 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23344 htm-no-suspend.
23345
23346 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23347
23348 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23349 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23350 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23351 (ceill): Define using libm_alias_ldouble.
23352 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23353 <libm-alias-ldouble.h>.
23354 (copysignl): Define using libm_alias_ldouble.
23355 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23356 (fabsl): Define using libm_alias_ldouble.
23357 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23358 (floorl): Define using libm_alias_ldouble.
23359 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23360 (fmaxl): Define using libm_alias_ldouble.
23361 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23362 (fminl): Define using libm_alias_ldouble.
23363 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23364 (llrintl): Define using libm_alias_ldouble.
23365 (lrintl): Likewise.
23366 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23367 <libm-alias-ldouble.h>.
23368 (nearbyintl): Define using libm_alias_ldouble.
23369 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23370 (truncl): Define using libm_alias_ldouble.
23371 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23372 <libm-alias-ldouble.h>.
23373 (lrintl): Define using libm_alias_ldouble.
23374
23375 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23376 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23377 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23378 (asinhl): Define using libm_alias_ldouble.
23379 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23380 (atanl): Define using libm_alias_ldouble.
23381 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23382 (cbrtl): Define using libm_alias_ldouble.
23383 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23384 (ceill): Define using libm_alias_ldouble.
23385 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23386 (copysignl): Define using libm_alias_ldouble.
23387 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23388 (fabsl): Define using libm_alias_ldouble.
23389 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23390 (floorl): Define using libm_alias_ldouble.
23391 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23392 (fmaxl): Define using libm_alias_ldouble.
23393 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23394 (fminl): Define using libm_alias_ldouble.
23395 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23396 (frexpl): Define using libm_alias_ldouble.
23397 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23398 (llrintl): Define using libm_alias_ldouble.
23399 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23400 (logbl): Define using libm_alias_ldouble.
23401 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23402 (lrintl): Define using libm_alias_ldouble.
23403 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23404 (nearbyintl): Define using libm_alias_ldouble.
23405 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23406 (nextafterl): Define using libm_alias_ldouble.
23407 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23408 (remquol): Define using libm_alias_ldouble.
23409 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23410 (rintl): Define using libm_alias_ldouble.
23411 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23412 (truncl): Define using libm_alias_ldouble.
23413 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23414 (fmaxl): Define using libm_alias_ldouble.
23415 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23416 (fminl): Define using libm_alias_ldouble.
23417
23418 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23419 to C syntax instead of availability and properties of types.
23420 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23421 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23422 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23423 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23424 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23425 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23426
23427 2017-11-17 Florian Weimer <fweimer@redhat.com>
23428
23429 support_become_root: Enable file creation in namespaces.
23430 * support/support_become_root.c (setup_mapping): New function.
23431 (support_become_root): Call it.
23432
23433 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23434
23435 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23436 macro.
23437
23438 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23439
23440 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23441 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23442
23443 2017-11-16 Joseph Myers <joseph@codesourcery.com>
23444
23445 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23446
23447 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23448 version to 4.14.
23449
23450 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23451
23452 * INSTALL: Fix botched up regeneration.
23453
23454 * NEWS: Update sourceare link to https.
23455 * configure.ac: Likewise.
23456 * crypt/md5test-giant.c: Likewise.
23457 * dlfcn/bug-atexit1.c: Likewise.
23458 * dlfcn/bug-atexit2.c: Likewise.
23459 * localedata/README: Likewise.
23460 * malloc/tst-mallocfork.c: Likewise.
23461 * manual/install.texi: Likewise.
23462 * nptl/tst-pthread-getattr.c: Likewise.
23463 * stdio-common/tst-fgets.c: Likewise.
23464 * stdio-common/tst-fwrite.c: Likewise.
23465 * sunrpc/Makefile: Likewise.
23466 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23467 * wcsmbs/tst-mbrtowc2.c: Likewise.
23468 * configure: Regenerate.
23469 * INSTALL: Regenerate.
23470
23471 2017-11-15 Martin Sebor <msebor@redhat.com>
23472
23473 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23474 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23475 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23476
23477 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23478
23479 [BZ #22145]
23480 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23481 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23482
23483 [BZ #22145]
23484 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23485 Defer is_pty check until end of the function.
23486 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23487
23488 [BZ #22145]
23489 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23490 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23491 (ttyname): Likewise.
23492 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23493 (__ttyname_r): Likewise.
23494
23495 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23496 int to bool.
23497
23498 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23499
23500 * manual/terminal.texi (Is It a Terminal):
23501 Mention ENODEV for ttyname and ttyname_r.
23502
23503 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23504
23505 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23506 constant and macro.
23507
23508 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23509 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23510 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23511 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23512 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23513 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23514
23515 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23516
23517 * signal/sigrelse.c (sigrelse): Optimize implementation.
23518
23519 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23520 (__sigpause): Rely on __sigsuspend to implement single thread
23521 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23522
23523 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23524
23525 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23526 kernel version to 4.14.
23527
23528 2017-11-15 Steve Ellcey <sellcey@cavium.com>
23529
23530 [BZ #22442]
23531 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23532 Check if ifname is too long.
23533
23534 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23535
23536 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23537
23538 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23539
23540 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23541 was accidentally lost.
23542
23543 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23544
23545 * localedata/locales/az_IR: Add standard copyright header.
23546
23547 2017-11-15 Florian Weimer <fweimer@redhat.com>
23548
23549 [BZ #22439]
23550 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23551 not just the top one. Output a new "subheaps" statistic.
23552
23553 2017-11-15 Florian Weimer <fweimer@redhat.com>
23554
23555 [BZ #22408]
23556 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23557 under the per-arena lock.
23558 * malloc/Makefile (tests): Add tst-malloc_info.
23559 (tst-malloc_info): Link with libpthread.
23560 * malloc/tst-malloc_info.c: New file.
23561
23562 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23563
23564 [BZ #21660]
23565 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23566 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23567 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23568 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23569 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23570 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23571 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23572 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23573 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23574 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23575 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23576 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23577 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23578 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23579 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23580 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23581 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23582 (__floating_type): Likewise.
23583 (__real_integer_type): Likewise.
23584 (__complex_integer_type): Likewise.
23585 (__expr_is_real): Likewise.
23586 (__tgmath_real_type_sub): Likewise.
23587 (__tgmath_real_type): Likewise.
23588 (__tgmath_complex_type_sub): Likewise.
23589 (__tgmath_complex_type): Likewise.
23590 (__TGMATH_F128): Likewise.
23591 (__TGMATH_CF128): Likewise.
23592 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23593 new macros.
23594 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23595 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23596 Likewise.
23597 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23598 Likewise.
23599 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23600 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23601 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23602 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23603 Likewise.
23604 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23605 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23606 Likewise.
23607 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23608 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23609 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23610 Likewise.
23611 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23612 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23613 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23614 (cimag): Likewise.
23615 (creal): Likewise.
23616
23617 2017-11-14 Joseph Myers <joseph@codesourcery.com>
23618
23619 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23620 for stpncpy calls for GCC 8.
23621 (test_strncat): Disable -Wstringop-truncation warning for strncat
23622 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23623 strncat call for GCC 7.
23624 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23625 calls for GCC 8.
23626 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23627 trailing NUL.
23628
23629 * string/bug-strncat1.c: Include <libc-diag.h>.
23630 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23631
23632 2017-11-13 Claude Paroz <claude@2xlibre.net>
23633
23634 [BZ #22387]
23635 * localedata/locales/aa_DJ: Improved readibility by replacing
23636 <Uxxxx> sequences in the ASCII printable range by their ASCII
23637 character equivalents.
23638 * localedata/locales/aa_ER: Likewise.
23639 * localedata/locales/aa_ER@saaho: Likewise.
23640 * localedata/locales/aa_ET: Likewise.
23641 * localedata/locales/af_ZA: Likewise.
23642 * localedata/locales/agr_PE: Likewise.
23643 * localedata/locales/ak_GH: Likewise.
23644 * localedata/locales/am_ET: Likewise.
23645 * localedata/locales/anp_IN: Likewise.
23646 * localedata/locales/ar_AE: Likewise.
23647 * localedata/locales/ar_BH: Likewise.
23648 * localedata/locales/ar_DZ: Likewise.
23649 * localedata/locales/ar_EG: Likewise.
23650 * localedata/locales/ar_IN: Likewise.
23651 * localedata/locales/ar_IQ: Likewise.
23652 * localedata/locales/ar_JO: Likewise.
23653 * localedata/locales/ar_KW: Likewise.
23654 * localedata/locales/ar_LB: Likewise.
23655 * localedata/locales/ar_LY: Likewise.
23656 * localedata/locales/ar_MA: Likewise.
23657 * localedata/locales/ar_OM: Likewise.
23658 * localedata/locales/ar_QA: Likewise.
23659 * localedata/locales/ar_SA: Likewise.
23660 * localedata/locales/ar_SD: Likewise.
23661 * localedata/locales/ar_SS: Likewise.
23662 * localedata/locales/ar_SY: Likewise.
23663 * localedata/locales/ar_TN: Likewise.
23664 * localedata/locales/ar_YE: Likewise.
23665 * localedata/locales/as_IN: Likewise.
23666 * localedata/locales/ast_ES: Likewise.
23667 * localedata/locales/ayc_PE: Likewise.
23668 * localedata/locales/az_AZ: Likewise.
23669 * localedata/locales/az_IR: Likewise.
23670 * localedata/locales/be_BY: Likewise.
23671 * localedata/locales/be_BY@latin: Likewise.
23672 * localedata/locales/bem_ZM: Likewise.
23673 * localedata/locales/ber_DZ: Likewise.
23674 * localedata/locales/ber_MA: Likewise.
23675 * localedata/locales/bg_BG: Likewise.
23676 * localedata/locales/bhb_IN: Likewise.
23677 * localedata/locales/bho_IN: Likewise.
23678 * localedata/locales/bi_VU: Likewise.
23679 * localedata/locales/bn_BD: Likewise.
23680 * localedata/locales/bn_IN: Likewise.
23681 * localedata/locales/bo_CN: Likewise.
23682 * localedata/locales/bo_IN: Likewise.
23683 * localedata/locales/br_FR: Likewise.
23684 * localedata/locales/brx_IN: Likewise.
23685 * localedata/locales/bs_BA: Likewise.
23686 * localedata/locales/byn_ER: Likewise.
23687 * localedata/locales/ca_AD: Likewise.
23688 * localedata/locales/ca_ES: Likewise.
23689 * localedata/locales/ca_FR: Likewise.
23690 * localedata/locales/ca_IT: Likewise.
23691 * localedata/locales/ce_RU: Likewise.
23692 * localedata/locales/chr_US: Likewise.
23693 * localedata/locales/cmn_TW: Likewise.
23694 * localedata/locales/crh_UA: Likewise.
23695 * localedata/locales/cs_CZ: Likewise.
23696 * localedata/locales/csb_PL: Likewise.
23697 * localedata/locales/cv_RU: Likewise.
23698 * localedata/locales/cy_GB: Likewise.
23699 * localedata/locales/da_DK: Likewise.
23700 * localedata/locales/de_AT: Likewise.
23701 * localedata/locales/de_BE: Likewise.
23702 * localedata/locales/de_CH: Likewise.
23703 * localedata/locales/de_DE: Likewise.
23704 * localedata/locales/de_IT: Likewise.
23705 * localedata/locales/de_LI: Likewise.
23706 * localedata/locales/de_LU: Likewise.
23707 * localedata/locales/doi_IN: Likewise.
23708 * localedata/locales/dv_MV: Likewise.
23709 * localedata/locales/dz_BT: Likewise.
23710 * localedata/locales/el_CY: Likewise.
23711 * localedata/locales/el_GR: Likewise.
23712 * localedata/locales/en_AG: Likewise.
23713 * localedata/locales/en_AU: Likewise.
23714 * localedata/locales/en_BW: Likewise.
23715 * localedata/locales/en_CA: Likewise.
23716 * localedata/locales/en_DK: Likewise.
23717 * localedata/locales/en_GB: Likewise.
23718 * localedata/locales/en_HK: Likewise.
23719 * localedata/locales/en_IE: Likewise.
23720 * localedata/locales/en_IL: Likewise.
23721 * localedata/locales/en_IN: Likewise.
23722 * localedata/locales/en_NG: Likewise.
23723 * localedata/locales/en_NZ: Likewise.
23724 * localedata/locales/en_PH: Likewise.
23725 * localedata/locales/en_SG: Likewise.
23726 * localedata/locales/en_US: Likewise.
23727 * localedata/locales/en_ZA: Likewise.
23728 * localedata/locales/en_ZM: Likewise.
23729 * localedata/locales/en_ZW: Likewise.
23730 * localedata/locales/eo: Likewise.
23731 * localedata/locales/es_AR: Likewise.
23732 * localedata/locales/es_BO: Likewise.
23733 * localedata/locales/es_CL: Likewise.
23734 * localedata/locales/es_CO: Likewise.
23735 * localedata/locales/es_CR: Likewise.
23736 * localedata/locales/es_CU: Likewise.
23737 * localedata/locales/es_DO: Likewise.
23738 * localedata/locales/es_EC: Likewise.
23739 * localedata/locales/es_ES: Likewise.
23740 * localedata/locales/es_GT: Likewise.
23741 * localedata/locales/es_HN: Likewise.
23742 * localedata/locales/es_MX: Likewise.
23743 * localedata/locales/es_NI: Likewise.
23744 * localedata/locales/es_PA: Likewise.
23745 * localedata/locales/es_PE: Likewise.
23746 * localedata/locales/es_PR: Likewise.
23747 * localedata/locales/es_PY: Likewise.
23748 * localedata/locales/es_SV: Likewise.
23749 * localedata/locales/es_US: Likewise.
23750 * localedata/locales/es_UY: Likewise.
23751 * localedata/locales/es_VE: Likewise.
23752 * localedata/locales/et_EE: Likewise.
23753 * localedata/locales/eu_ES: Likewise.
23754 * localedata/locales/eu_ES@euro: Likewise.
23755 * localedata/locales/fa_IR: Likewise.
23756 * localedata/locales/ff_SN: Likewise.
23757 * localedata/locales/fi_FI: Likewise.
23758 * localedata/locales/fil_PH: Likewise.
23759 * localedata/locales/fo_FO: Likewise.
23760 * localedata/locales/fr_BE: Likewise.
23761 * localedata/locales/fr_CA: Likewise.
23762 * localedata/locales/fr_CH: Likewise.
23763 * localedata/locales/fr_FR: Likewise.
23764 * localedata/locales/fr_LU: Likewise.
23765 * localedata/locales/fur_IT: Likewise.
23766 * localedata/locales/fy_DE: Likewise.
23767 * localedata/locales/fy_NL: Likewise.
23768 * localedata/locales/ga_IE: Likewise.
23769 * localedata/locales/gd_GB: Likewise.
23770 * localedata/locales/gez_ER: Likewise.
23771 * localedata/locales/gez_ET: Likewise.
23772 * localedata/locales/gl_ES: Likewise.
23773 * localedata/locales/gu_IN: Likewise.
23774 * localedata/locales/gv_GB: Likewise.
23775 * localedata/locales/ha_NG: Likewise.
23776 * localedata/locales/hak_TW: Likewise.
23777 * localedata/locales/he_IL: Likewise.
23778 * localedata/locales/hi_IN: Likewise.
23779 * localedata/locales/hif_FJ: Likewise.
23780 * localedata/locales/hne_IN: Likewise.
23781 * localedata/locales/hr_HR: Likewise.
23782 * localedata/locales/hsb_DE: Likewise.
23783 * localedata/locales/ht_HT: Likewise.
23784 * localedata/locales/hu_HU: Likewise.
23785 * localedata/locales/hy_AM: Likewise.
23786 * localedata/locales/i18n: Likewise.
23787 * localedata/locales/ia_FR: Likewise.
23788 * localedata/locales/id_ID: Likewise.
23789 * localedata/locales/ig_NG: Likewise.
23790 * localedata/locales/ik_CA: Likewise.
23791 * localedata/locales/is_IS: Likewise.
23792 * localedata/locales/it_CH: Likewise.
23793 * localedata/locales/it_IT: Likewise.
23794 * localedata/locales/iu_CA: Likewise.
23795 * localedata/locales/ja_JP: Likewise.
23796 * localedata/locales/ka_GE: Likewise.
23797 * localedata/locales/kk_KZ: Likewise.
23798 * localedata/locales/kl_GL: Likewise.
23799 * localedata/locales/kn_IN: Likewise.
23800 * localedata/locales/ko_KR: Likewise.
23801 * localedata/locales/kok_IN: Likewise.
23802 * localedata/locales/ks_IN: Likewise.
23803 * localedata/locales/ks_IN@devanagari: Likewise.
23804 * localedata/locales/ku_TR: Likewise.
23805 * localedata/locales/kw_GB: Likewise.
23806 * localedata/locales/ky_KG: Likewise.
23807 * localedata/locales/lb_LU: Likewise.
23808 * localedata/locales/lg_UG: Likewise.
23809 * localedata/locales/li_BE: Likewise.
23810 * localedata/locales/li_NL: Likewise.
23811 * localedata/locales/lij_IT: Likewise.
23812 * localedata/locales/ln_CD: Likewise.
23813 * localedata/locales/lo_LA: Likewise.
23814 * localedata/locales/lt_LT: Likewise.
23815 * localedata/locales/lv_LV: Likewise.
23816 * localedata/locales/lzh_TW: Likewise.
23817 * localedata/locales/mag_IN: Likewise.
23818 * localedata/locales/mai_IN: Likewise.
23819 * localedata/locales/mg_MG: Likewise.
23820 * localedata/locales/mhr_RU: Likewise.
23821 * localedata/locales/mi_NZ: Likewise.
23822 * localedata/locales/mk_MK: Likewise.
23823 * localedata/locales/ml_IN: Likewise.
23824 * localedata/locales/mn_MN: Likewise.
23825 * localedata/locales/mni_IN: Likewise.
23826 * localedata/locales/mr_IN: Likewise.
23827 * localedata/locales/ms_MY: Likewise.
23828 * localedata/locales/mt_MT: Likewise.
23829 * localedata/locales/my_MM: Likewise.
23830 * localedata/locales/nan_TW: Likewise.
23831 * localedata/locales/nan_TW@latin: Likewise.
23832 * localedata/locales/nb_NO: Likewise.
23833 * localedata/locales/nds_DE: Likewise.
23834 * localedata/locales/nds_NL: Likewise.
23835 * localedata/locales/ne_NP: Likewise.
23836 * localedata/locales/nhn_MX: Likewise.
23837 * localedata/locales/niu_NU: Likewise.
23838 * localedata/locales/niu_NZ: Likewise.
23839 * localedata/locales/nl_AW: Likewise.
23840 * localedata/locales/nl_BE: Likewise.
23841 * localedata/locales/nl_NL: Likewise.
23842 * localedata/locales/nn_NO: Likewise.
23843 * localedata/locales/nr_ZA: Likewise.
23844 * localedata/locales/nso_ZA: Likewise.
23845 * localedata/locales/oc_FR: Likewise.
23846 * localedata/locales/om_ET: Likewise.
23847 * localedata/locales/om_KE: Likewise.
23848 * localedata/locales/or_IN: Likewise.
23849 * localedata/locales/os_RU: Likewise.
23850 * localedata/locales/pa_IN: Likewise.
23851 * localedata/locales/pa_PK: Likewise.
23852 * localedata/locales/pap_AW: Likewise.
23853 * localedata/locales/pap_CW: Likewise.
23854 * localedata/locales/pl_PL: Likewise.
23855 * localedata/locales/ps_AF: Likewise.
23856 * localedata/locales/pt_BR: Likewise.
23857 * localedata/locales/pt_PT: Likewise.
23858 * localedata/locales/quz_PE: Likewise.
23859 * localedata/locales/raj_IN: Likewise.
23860 * localedata/locales/ro_RO: Likewise.
23861 * localedata/locales/ru_RU: Likewise.
23862 * localedata/locales/ru_UA: Likewise.
23863 * localedata/locales/rw_RW: Likewise.
23864 * localedata/locales/sa_IN: Likewise.
23865 * localedata/locales/sat_IN: Likewise.
23866 * localedata/locales/sc_IT: Likewise.
23867 * localedata/locales/sd_IN: Likewise.
23868 * localedata/locales/sd_IN@devanagari: Likewise.
23869 * localedata/locales/se_NO: Likewise.
23870 * localedata/locales/sgs_LT: Likewise.
23871 * localedata/locales/shs_CA: Likewise.
23872 * localedata/locales/si_LK: Likewise.
23873 * localedata/locales/sid_ET: Likewise.
23874 * localedata/locales/sk_SK: Likewise.
23875 * localedata/locales/sl_SI: Likewise.
23876 * localedata/locales/sm_WS: Likewise.
23877 * localedata/locales/so_DJ: Likewise.
23878 * localedata/locales/so_ET: Likewise.
23879 * localedata/locales/so_KE: Likewise.
23880 * localedata/locales/so_SO: Likewise.
23881 * localedata/locales/sq_AL: Likewise.
23882 * localedata/locales/sq_MK: Likewise.
23883 * localedata/locales/sr_ME: Likewise.
23884 * localedata/locales/sr_RS: Likewise.
23885 * localedata/locales/sr_RS@latin: Likewise.
23886 * localedata/locales/ss_ZA: Likewise.
23887 * localedata/locales/st_ZA: Likewise.
23888 * localedata/locales/sv_FI: Likewise.
23889 * localedata/locales/sv_SE: Likewise.
23890 * localedata/locales/sw_KE: Likewise.
23891 * localedata/locales/sw_TZ: Likewise.
23892 * localedata/locales/szl_PL: Likewise.
23893 * localedata/locales/ta_IN: Likewise.
23894 * localedata/locales/ta_LK: Likewise.
23895 * localedata/locales/tcy_IN: Likewise.
23896 * localedata/locales/te_IN: Likewise.
23897 * localedata/locales/tg_TJ: Likewise.
23898 * localedata/locales/th_TH: Likewise.
23899 * localedata/locales/the_NP: Likewise.
23900 * localedata/locales/ti_ER: Likewise.
23901 * localedata/locales/ti_ET: Likewise.
23902 * localedata/locales/tig_ER: Likewise.
23903 * localedata/locales/tk_TM: Likewise.
23904 * localedata/locales/tl_PH: Likewise.
23905 * localedata/locales/tn_ZA: Likewise.
23906 * localedata/locales/to_TO: Likewise.
23907 * localedata/locales/tpi_PG: Likewise.
23908 * localedata/locales/tr_CY: Likewise.
23909 * localedata/locales/tr_TR: Likewise.
23910 * localedata/locales/ts_ZA: Likewise.
23911 * localedata/locales/tt_RU: Likewise.
23912 * localedata/locales/tt_RU@iqtelif: Likewise.
23913 * localedata/locales/ug_CN: Likewise.
23914 * localedata/locales/uk_UA: Likewise.
23915 * localedata/locales/unm_US: Likewise.
23916 * localedata/locales/ur_IN: Likewise.
23917 * localedata/locales/ur_PK: Likewise.
23918 * localedata/locales/uz_UZ: Likewise.
23919 * localedata/locales/uz_UZ@cyrillic: Likewise.
23920 * localedata/locales/ve_ZA: Likewise.
23921 * localedata/locales/vi_VN: Likewise.
23922 * localedata/locales/wa_BE: Likewise.
23923 * localedata/locales/wae_CH: Likewise.
23924 * localedata/locales/wal_ET: Likewise.
23925 * localedata/locales/wo_SN: Likewise.
23926 * localedata/locales/xh_ZA: Likewise.
23927 * localedata/locales/yi_US: Likewise.
23928 * localedata/locales/yo_NG: Likewise.
23929 * localedata/locales/yue_HK: Likewise.
23930 * localedata/locales/yuw_PG: Likewise.
23931 * localedata/locales/zh_CN: Likewise.
23932 * localedata/locales/zh_HK: Likewise.
23933 * localedata/locales/zh_SG: Likewise.
23934 * localedata/locales/zh_TW: Likewise.
23935 * localedata/locales/zu_ZA: Likewise.
23936
23937 2017-11-13 Florian Weimer <fweimer@redhat.com>
23938
23939 * support/next_to_fault.h, support/next_to_fault.c: New files.
23940 * support/Makefile (libsupport-routines): Add next_to_fault.
23941 * resolv/tst-inet_pton.c (struct next_to_fault)
23942 (next_to_fault_allocate, next_to_fault_free): Remove.
23943 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23944
23945 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23946
23947 * elf/dl-support.c: Include <dl-procruntime.c>.
23948 * include/link.h: Include <link_map.h>.
23949 * sysdeps/generic/dl-procruntime.c: New file.
23950 * sysdeps/generic/link_map.h: Likewise.
23951 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23952 the writable ld.so namespace.
23953
23954 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23955
23956 timezone: pacify GCC -Wstringop-truncation
23957 Problem reported by Martin Sebor in:
23958 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23959 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23960
23961 2017-11-12 Florian Weimer <fweimer@redhat.com>
23962
23963 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23964 tst-xreadlink.
23965 (tests): Add tst-xreadlink.
23966 * support/support.h (xstrndup): Declare.
23967 * support/xunistd.h (xunlink, xreadlink): Declare.
23968 * support/temp_file.h (support_create_temp_directory): Declare.
23969 * support/temp_file.c (support_create_temp_directory): New function.
23970 * support/support_chroot.c (support_chroot_create): Use it.
23971 * support/xreadlink.c: New file.
23972 * support/xstrndup.c: Likewise.
23973 * support/xunlink.c: Likewise.
23974 * support/tst-xreadlink.c: Likewise.
23975
23976 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
23977
23978 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23979
23980 2017-11-11 Florian Weimer <fweimer@redhat.com>
23981
23982 [BZ #22409]
23983 [BZ #22412]
23984 * resolv/res_comp.c (printable_string, binary_hnok)
23985 (binary_leading_dash): New functions.
23986 (res_hnok): Reimplement using these functions and ns_name_pton.
23987 (res_ownok): Likewise.
23988 (res_mailok): Reimplement using printable_string, ns_name_pton and
23989 binary_hnok.
23990 (res_dnok): Reimplement using printable_string and ns_name_pton.
23991 * resolv/tst-res_hnok.c (tests): Add additional tests.
23992 (LETTERDIGITS, PRINTABLE): Define.
23993 (do_test): Adjust one_char results.
23994
23995 2017-11-11 Florian Weimer <fweimer@redhat.com>
23996
23997 [BZ #22413]
23998 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23999 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24000
24001 2017-11-11 Florian Weimer <fweimer@redhat.com>
24002
24003 * resolv/tst-ns_name_pton.c: New file.
24004 * resolv/Makefile (tests): Add tst-ns_name_pton.
24005 (tst-ns_name_pton): Link against libresolv.
24006
24007 2017-11-11 Florian Weimer <fweimer@redhat.com>
24008
24009 * resolv/tst-res_hnok.c: New file.
24010 * resolv/Makefile (tests): Add tst-res_hnok.
24011 (tst-res_hnok): Link against libresolv.
24012
24013 2017-11-11 Florian Weimer <fweimer@redhat.com>
24014
24015 * resolv/tst-resolv-network.c: Use test framework instead explicit
24016 main function.
24017
24018 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24019
24020 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24021 <jmp_buf-macros.h>.
24022 [!_ISOMAC] (STR_HELPER): New.
24023 [!_ISOMAC] (STR): Likewise.
24024 [!_ISOMAC] (TEST_SIZE): Likewise.
24025 [!_ISOMAC] (TEST_ALIGN): Likewise.
24026 [!_ISOMAC] (TEST_OFFSET): Likewise.
24027 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24028 field offsets of jmp_buf as well as sigjmp_buf.
24029 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24030 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24031 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24032 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24033 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24034 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24035 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24036 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24037 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24038 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24039 Likewise.
24040 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24041 Likewise.
24042 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24044 Likewise.
24045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24046 Likewise.
24047 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24048 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24049 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24050 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24051 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24053 Likewise.
24054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24055 Likewise.
24056 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24057 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24058 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24059
24060 2017-11-07 Joseph Myers <joseph@codesourcery.com>
24061
24062 * include/float.h
24063 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24064 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24065 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24066 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24067 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24068 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24069 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24070 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24071 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24072 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24073 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24074 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24075 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24076 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24077 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24078 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24079 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24080 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24081 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24082 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24083 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24084 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24085 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24086 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24087 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24088 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24089 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24090 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24091 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24092 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24093 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24094 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24095 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24096 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24097 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24098 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24099 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24100 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24101 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24102 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24103 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24104 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24105 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24106 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24107 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24108 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24109 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24110 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24111 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24112 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24113 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24114 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24115 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24116 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24117 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24118 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24119 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24120 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24121 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24122 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24123 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24124 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24125 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24126 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24127 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24128 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24129 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24130 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24131 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24132 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24133 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24134 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24135 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24136 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24137 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24138 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24139 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24140 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24141 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24142 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24143 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24144 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24145 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24146 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24147 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24148 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24149 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24150 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24151
24152 * stdlib/tst-strtod.h (F16): New macro.
24153 (F32): Likewise.
24154 (F64): Likewise.
24155 (F32X): Likewise.
24156 (F64X): Likewise.
24157 (F128X): Likewise.
24158 (IF_FLOAT16): Likewise.
24159 (IF_FLOAT32): Likewise.
24160 (IF_FLOAT64): Likewise.
24161 (IF_FLOAT32X): Likewise.
24162 (IF_FLOAT64X): Likewise.
24163 (IF_FLOAT128X): Likewise.
24164 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24165 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24166 (STRTOD_TEST_FOREACH): Likewise.
24167 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24168 (CHOOSE_f64): Likewise.
24169 (CHOOSE_f32x): Likewise.
24170 (CHOOSE_f64x): Likewise.
24171
24172 2017-11-07 Andreas Schwab <schwab@suse.de>
24173
24174 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24175
24176 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24177
24178 [BZ #22403]
24179 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24180 to be escaped.
24181 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24182 to be escaped.
24183
24184 2017-11-07 Claude Paroz <claude@2xlibre.net>
24185
24186 [BZ #22403]
24187 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24188 to be escaped.
24189 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24190 to be escaped.
24191 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24192 to be escaped.
24193
24194 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24195
24196 [BZ #22298]
24197 * nptl/allocatestack.c (allocate_stack): Check if
24198 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24199 __PTHREAD_MUTEX_HAVE_PREV is defined.
24200 * nptl/descr.h (pthread): Likewise.
24201 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24202 Likewise.
24203 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24204 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24205 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24206 * sysdeps/nptl/bits/thread-shared-types.h
24207 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24208 defines.
24209 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24210 of __WORDSIZE for internal layout.
24211 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24212 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24213 instead of __WORDSIZE whether to use an union for __spins and __list
24214 fields.
24215 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24216 case.
24217 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24218 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24219 defines.
24220 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24221 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24222 Likewise.
24223 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24224 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24225 Likewise.
24226 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24227 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24228 Likewise.
24229 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24230 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24231 Likewise.
24232 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24233 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24234 Likewise.
24235 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24236 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24237 Likewise.
24238 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24239 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24240 Likewise.
24241 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24242 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24243 Likewise.
24244 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24245 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24246 Likewise.
24247 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24248 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24249 Likewise.
24250 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24251 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24252 Likewise.
24253 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24254 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24255 Likewise.
24256 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24257 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24258 Likewise.
24259 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24260 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24261 Likewise.
24262
24263 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24264 New macros.
24265 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24266 checks for expected input type size.
24267 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24268 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24269 Likewise.
24270 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24271 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24272 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24273 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24274 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24275 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24276 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24277 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24278 superflous runtime assert check.
24279 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24280 Likewise.
24281 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24282 Likewise.
24283 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24284 Likewise.
24285 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24286 Likewise.
24287 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24288 Likewise.
24289 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24290 Likewise.
24291 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24292 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24293 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24294 Likewise.
24295 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24296 Likewise.
24297 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24298 Likewise.
24299 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24300 Likewise.
24301 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24302 Likewise.
24303 * nptl/pthread_attr_setinheritsched.c
24304 (__pthread_attr_setinheritsched): Likewise.
24305 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24306 Likewise.
24307 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24308 Likewise.
24309 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24310 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24311 __old_pthread_attr_setstack): Likewise.
24312 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24313 Likewise.
24314 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24315 Likewise.
24316 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24317 Likewise.
24318 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24319 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24320 Likewise.
24321 * nptl/tst-typesizes.c: Remove file.
24322
24323 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24324 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24325 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24326 checks for internal pthread_mutex_t offsets.
24327 * sysdeps/aarch64/nptl/pthread-offsets.h
24328 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24329 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24330 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24331 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24332 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24333 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24334 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24335 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24336 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24337 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24338 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24339 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24340 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24341 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24342 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24343 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24344 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24345 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24346
24347 2017-11-07 Florian Weimer <fweimer@redhat.com>
24348
24349 * bits/mman-linux.h: Move ...
24350 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24351 comment.
24352 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24353 outdated comment.
24354
24355 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24356
24357 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24358 Redefine STRNLEN as __strnlen_power8.
24359
24360 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24361
24362 * signal/sighold.c (sighold): Optimize implementation.
24363
24364 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24365 __NR_rt_sigqueueinfo.
24366
24367 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24368 __sigtimedwait.
24369 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24370 assume __NR_rt_sigtimedwait.
24371 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24372 and add LIBC_CANCEL_HANDLED for cancellation marking.
24373 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24374
24375 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24376 (sysdeps_routines): Add memchr_noneon.
24377 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24378 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24379 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24380 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24381 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24382 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24383 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24384
24385 * sysdeps/arm/arm-ifunc.h: New file.
24386 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24387 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24388 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24389 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24390 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24391 (__memcpy_neon): Avoid create hidden alias.
24392 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24393 (__memcpy_vfp): Likewise.
24394 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24395 (sysdep_routines): Add memcpy_arm.
24396 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24397
24398 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24399
24400 [BZ #22362]
24401 * Makerules (make-link-multidir): New.
24402 * config.make.in (multidir): New.
24403 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24404 * configure: Regenerated.
24405 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24406 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24407 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24408 New target.
24409
24410 2017-11-06 Joseph Myers <joseph@codesourcery.com>
24411
24412 [BZ #22402]
24413 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24414 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24415
24416 2017-11-04 Mike FABIAN <mfabian@redhat.com>
24417
24418 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24419 to be escaped.
24420
24421 2017-11-04 Florian Weimer <fweimer@redhat.com>
24422
24423 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24424
24425 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24426
24427 * math/math.h [__HAVE_DISTINCT_FLOAT16
24428 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24429 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24430 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24431 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24432 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24433 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24434 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24435 (__MATH_TG_F32): New macro.
24436 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24437 (__MATH_TG_F64X): Likewise.
24438 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24439 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24440
24441 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24442
24443 * po/de.po: Update translations.
24444 * po/ru.po: Likewise.
24445
24446 2017-11-03 Florian Weimer <fweimer@redhat.com>
24447
24448 * manual/filesys.texi (Hard Links): Document linkat.
24449
24450 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24451
24452 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24453 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24454 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24455 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24456 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24457 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24458 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24459 the same as _Float128.
24460 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24461 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24462 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24463
24464 * stdlib/stdlib.h
24465 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24466 Declare.
24467 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24468 Likewise.
24469 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24470 Likewise.
24471 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24472 (strtof32x): Likewise.
24473 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24474 (strtof64x): Likewise.
24475 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24476 (strtof128x): Likewise.
24477 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24478 (strfromf16): Likewise.
24479 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24480 (strfromf32): Likewise.
24481 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24482 (strfromf64): Likewise.
24483 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24484 (strfromf32x): Likewise.
24485 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24486 (strfromf64x): Likewise.
24487 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24488 (strfromf128x): Likewise.
24489 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24490 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24491 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24492 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24493 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24494 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24495
24496 2017-11-03 Richard Henderson <rth@twiddle.net>
24497
24498 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24499
24500 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24501
24502 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24503
24504 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24505
24506 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24507 DT_TLSDESC_GOT initialization.
24508 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24509 (_dl_tlsdesc_resolve_hold): Likewise.
24510 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24511 (_dl_tlsdesc_resolve_hold): Likewise.
24512 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24513 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24514
24515 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24516
24517 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24518
24519 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24520
24521 [BZ #18572]
24522 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24523 non-lazily for R_ARM_TLS_DESC.
24524
24525 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24526
24527 [BZ #17078]
24528 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24529 R_ARM_TLS_DESC case.
24530 (elf_machine_lazy_rel): Remove the prelink check.
24531
24532 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24533
24534 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24535 DT_TLSDESC_GOT initialization.
24536 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24537 (_dl_tlsdesc_resolve_rela): Likewise.
24538 (_dl_tlsdesc_resolve_hold): Likewise.
24539 (_dl_tlsdesc_undefweak): Remove ldar.
24540 (_dl_tlsdesc_dynamic): Likewise.
24541 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24542 (_dl_tlsdesc_resolve_rela): Likewise.
24543 (_dl_tlsdesc_resolve_hold): Likewise.
24544 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24545 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24546 (_dl_tlsdesc_resolve_rela): Likewise.
24547 (_dl_tlsdesc_resolve_hold): Likewise.
24548
24549 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24550
24551 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24552 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24553
24554 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24555
24556 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24557 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24558
24559 2017-11-02 Joseph Myers <joseph@codesourcery.com>
24560
24561 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24562 Declare.
24563 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24564 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24565 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24566 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24567 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24568 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24569 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24570 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24571 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24572 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24573 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24574
24575 2017-11-02 Mike FABIAN <mfabian@redhat.com>
24576
24577 [BZ #22382]
24578 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24579 * localedata/locales/tpi_PG: Add standard header.
24580
24581 2017-11-02 Florian Weimer <fweimer@redhat.com>
24582
24583 test-errno-linux: quotactl can fail with EPERM in containers.
24584 * sysdeps/unix/sysv/linux/test-errno-linux.c
24585 (LIST, LIST_FORWARD): New macros.
24586 (check_error_in_list): New function.
24587 (test_wrp_rv): Accept list of permitted error codes.
24588 (test_wrp_rv2): Remove.
24589 (test_wrp): Call test_wrp_rv with list of error codes.
24590 (test_wrp2): Accept list of error codes.
24591 (do_test): Adjust. Allow EPERM for quotactl.
24592
24593 2017-11-02 Florian Weimer <fweimer@redhat.com>
24594
24595 * stdio-common/bug16.c (do_test): Use array_length.
24596 * stdio-common/errlist.c (_sys_nerr): Likewise.
24597 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24598 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24599 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24600 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24601 (do_test): Use array_length.
24602 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24603 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24604 * stdio-common/tst-printf-round.c (do_test): Likewise.
24605 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24606 (CHECK): Use array_length.
24607 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24608 * stdio-common/tstscanf.c (main): Likewise.
24609 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24610
24611 2017-11-02 Florian Weimer <fweimer@redhat.com>
24612
24613 Add array_length and array_end macros.
24614 * include/array_length.h: New file.
24615
24616 2017-11-02 Florian Weimer <fweimer@redhat.com>
24617
24618 [BZ #22332]
24619 * posix/tst-glob-tilde.c (do_noescape): New variable.
24620 (one_test): Process it.
24621 (do_test): Set do_noescape. Add unescaping test case.
24622
24623 2017-11-01 Joseph Myers <joseph@codesourcery.com>
24624
24625 * math/complex.h
24626 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24627 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24628 with appropriate macros defined and undefined.
24629 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24630 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24631 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24632 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24633 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24634 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24635 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
24636 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24637 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
24638 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24639
24640 * math/complex.h
24641 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
24642 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
24643 that for long double. Do not condition define and undefine of
24644 _Mdouble_complex_ on [__CFLOAT128].
24645
24646 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
24647
24648 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24649 of <sysdeps/generic/sysdep.h>.
24650 (ALIGNARG): Removed.
24651 (ASM_SIZE_DIRECTIVE): Likewise.
24652 (ENTRY): Likewise.
24653 (END): Likewise.
24654 (ENTRY_CHK): Likewise.
24655 (END_CHK): Likewise.
24656 (syscall_error): Likewise.
24657 (mcount): Likewise.
24658 (PSEUDO_END): Likewise.
24659 (L): Likewise.
24660 (atom_text_section): Likewise.
24661 * sysdeps/x86/sysdep.h: New file.
24662 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24663 of <sysdeps/generic/sysdep.h>.
24664 (ALIGNARG): Removed.
24665 (ASM_SIZE_DIRECTIVE): Likewise.
24666 (ENTRY): Likewise.
24667 (END): Likewise.
24668 (ENTRY_CHK): Likewise.
24669 (END_CHK): Likewise.
24670 (syscall_error): Likewise.
24671 (mcount): Likewise.
24672 (PSEUDO_END): Likewise.
24673 (L): Likewise.
24674 (atom_text_section): Likewise.
24675
24676 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24677
24678 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24679 category of LC_CTYPE set to "i18n:2012".
24680 * localedata/locales/i18n_ctype: Regenerate.
24681
24682 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
24683
24684 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24685 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24686 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24687 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24688
24689 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24690 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24691 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24692 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24693
24694 2017-10-31 Joseph Myers <joseph@codesourcery.com>
24695
24696 * math/complex.h
24697 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24698 New macro.
24699 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24700 Likewise.
24701 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24702 Likewise.
24703 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24704 (CMPLXF32X): Likewise.
24705 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24706 (CMPLXF64X): Likewise.
24707 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24708 (CMPLXF128X): Likewise.
24709
24710 * math/math.h
24711 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24712 (__MATH_EVAL_FMT2): Define to add 0.0f.
24713
24714 2017-10-31 Alan Modra <amodra@gmail.com>
24715
24716 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24717 include sysdep.h.
24718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
24721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
24722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
24723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
24724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
24725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
24726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
24727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
24728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
24729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
24730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
24731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
24732 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
24733 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
24734 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
24735 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
24736 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
24737 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
24738 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
24739 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
24740 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
24741 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
24742 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24743 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
24744 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
24745 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
24746 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
24747 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
24748 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24749 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24750 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
24751 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
24752 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
24753 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
24754 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
24755 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
24756 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
24757 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24758 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24759 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24760 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24761 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24762 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24763 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24764 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24765 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24766 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24767 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24768 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24769 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24770 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24771 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24772 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24773 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24774 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24775 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24776 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24777 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24778 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24779 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24780 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24781 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24782 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24783 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24784 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24785 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24786 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24787
24788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24789 include sysdep.h and math_ldbl_opt.h.
24790
24791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24792 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24817
24818 2017-10-31 Alan Modra <amodra@gmail.com>
24819
24820 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24821 string/strncase_l.c, not string/strncase.c.
24822 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24823 (libc_hidden_def): Redefine.
24824
24825 2017-10-31 Alan Modra <amodra@gmail.com>
24826
24827 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24828 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24829 (__strcasecmp): Don't define.
24830
24831 2017-10-31 Alan Modra <amodra@gmail.com>
24832
24833 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24834 IS_IN (libc).
24835 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24836 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24837 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24838
24839 2017-10-31 Alan Modra <amodra@gmail.com>
24840
24841 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24842 USE_AS_STPNCPY.
24843
24844 2017-10-31 Alan Modra <amodra@gmail.com>
24845
24846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24847 Redefine only when SHARED.
24848
24849 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24850
24851 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24852 Include <bits/math-finite.h> with appropriate macros defined and
24853 undefined.
24854 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24855 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24856 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24857 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24858 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24859
24860 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24861 [!_Mlong_double_] (_Mlong_double_): Likewise.
24862 [!_Mfloat16_] (_Mfloat16_): Likewise.
24863 [!_Mfloat32_] (_Mfloat32_): Likewise.
24864 [!_Mfloat64_] (_Mfloat64_): Likewise.
24865 [!_Mfloat128_] (_Mfloat128_): Likewise.
24866 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24867 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24868 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24869 (_Mdouble_): Define without indirection through those macros.
24870 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24871 [!_Mfloat128_] (_Mfloat128_): Likewise.
24872 [_Mlong_double_] (_Mlong_double_): Likewise.
24873 (_Mdouble_): Define without indirection through those macros.
24874 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24875 not add -D_Mlong_double_=double.
24876 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24877 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24878
24879 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24880
24881 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24882
24883 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24884
24885 * sysdeps/x86/libc-start.c: Reformat.
24886
24887 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24888
24889 [BZ #22353]
24890 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24891 (1): Renamed to ...
24892 (L(Src0)): This.
24893 (L(Src1)): New.
24894 (L(Src2)): Likewise.
24895 (L(1)): Renamed to ...
24896 (L(Src3)): This.
24897
24898 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24899
24900 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24901 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24902 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24903 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24904 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24905 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24906 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24907 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24908 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24909 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24910 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24911 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24912 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24913 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24914 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24915 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24916 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24917 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24918 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24919 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24920 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24921 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24922 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24923 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24924 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24925 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24926 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24927 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24928 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24929 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24930 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24931 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24932 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24933 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24934 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24935 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24936 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24937 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24938 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24939 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24940 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24941 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24942 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24943 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24944 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24945 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24946 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24947 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24948 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24949 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24950 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24951 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24952 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24953 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24954 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24955 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24956 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24957 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24958 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24959 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24960 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24961 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24962 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24963 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24964 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24965 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24966
24967 2017-10-30 Florian Weimer <fweimer@redhat.com>
24968
24969 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24970 always defined.
24971 * io/tst-mkdirat.c (do_test): Likewise.
24972 * io/tst-mkfifoat.c (do_test): Likewise.
24973 * io/tst-mknodat.c (do_test): Likewise.
24974 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24975 * locale/programs/locale.c (select_dirs): Likewise.
24976 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24977 * posix/bug-glob2.c (my_readdir): Likewise.
24978 * posix/tst-dir.c (main): Likewise.
24979 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24980 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24981
24982 2017-10-30 Florian Weimer <fweimer@redhat.com>
24983
24984 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24985 just __USE_GNU.
24986
24987 2017-10-30 Florian Weimer <fweimer@redhat.com>
24988
24989 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24990 Convert to support/test-driver.c.
24991 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24992 New macro parameters.
24993 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24994 * posix/tst-gnuglob.c: New file.
24995 * posix/tst-gnuglob64.c: Likewise.
24996 * posix/Makefile (tests): Add tst-gnuglob64.
24997
24998 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
24999
25000 [BZ #19485]
25001 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25002 and use a better translation for March in “mon”.
25003 * localedata/locales/csb_PL: Use more ASCII to improve the
25004 readability of the source.
25005
25006 2017-10-30 Mike FABIAN <mfabian@redhat.com>
25007
25008 [BZ #13953]
25009 * localedata/locales/km_KH: Use ASCII as much
25010 as possible for better readability of the source and
25011 remove useless comments.
25012 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25013 was commented out and apparently wrong anyway because it was
25014 using Lao characters. If Buddhist era should be used
25015 for km_KH, a native speaker should write the correct formaat
25016 for Khmer.
25017 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25018 (According to CLDR, the first weekday for Cambodia is Sunday).
25019 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25020 (These were using Lao characters which must be wrong. If we get
25021 the correct data from a native speaker, we could add it back, until
25022 then it is better not to have name_mr and name_mrs at all than
25023 having it wrong).
25024
25025 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25026
25027 * locale/loadlocale.c: Correct size of
25028 _nl_value_type_LC_<category> arrays.
25029
25030 2017-10-27 Joseph Myers <joseph@codesourcery.com>
25031
25032 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25033 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25034 with appropriate macros defined and undefined.
25035 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25036 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25037 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25038 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25039 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25040
25041 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25042
25043 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25044 "-O2 -march=i586".
25045
25046 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25047
25048 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25049 with lowercase letters to make it agree with CLDR.
25050
25051 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25052
25053 [BZ #15260]
25054 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25055 first letters of yesstr and nostr in yesexpr and noexpr,
25056 not for the full words.
25057 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25058 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25059 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25060 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25061 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25062 first letters of yesstr and nostr in yesexpr and noexpr,
25063 until now only English was matched in yesexpr and noexpr.
25064 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25065 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25066 fil but not for tl. As tl and fil are very similar, using fil
25067 is probably better than using English.
25068
25069 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
25070
25071 [BZ #21706]
25072 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25073 in yesstr and nostr.
25074
25075 2017-10-26 Joseph Myers <joseph@codesourcery.com>
25076
25077 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25078 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25079 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25080 Likewise.
25081 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25082 Likewise.
25083 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25084 Likewise.
25085 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25086 Likewise.
25087 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25088 (SNANF128X): Likewise.
25089
25090 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25091 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25092 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25093 (HUGE_VAL_F32): Likewise.
25094 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25095 (HUGE_VAL_F64): Likewise.
25096 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25097 (HUGE_VAL_F32X): Likewise.
25098 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25099 (HUGE_VAL_F64X): Likewise.
25100 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25101 (HUGE_VAL_F128X): Likewise.
25102
25103 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25104
25105 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25106 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25107 for the br_FR locale.
25108
25109 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25110
25111 [BZ #21706]
25112 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25113
25114 2017-10-25 Carlos O'Donell <carlos@redhat.com>
25115
25116 * locale/programs/record-status.h: Define globals, and function
25117 prototypes. Move function bodies...
25118 * locale/programs/record-status.c: ... to here. New file.
25119 * iconv/Makefile (iconv_prog-modules): Add record-status.
25120 * locale/Makefile (lib-modules): Likewise.
25121 * iconv/iconv_prog.c: Remove verbose.
25122 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25123 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25124 record a warning about ASCII compatibility.
25125 * locale/programs/ld-monetary.c (monetary_finish): If
25126 warn_int_curr_symbol is true then record a warning about the symbol
25127 not being in our ISO 4217 list.
25128 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25129 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25130 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25131 (OPT_NO_WARN): Define.
25132 (OPT_WARN): Define.
25133 (options): Add entry for --no-warnings, and --warnings.
25134 (set_warnings): New function to enable/disable warnings.
25135 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25136 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25137 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25138 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25139 Pass flags to generate_locale.
25140 (generate_locale): Accept new flag argument and pass it to localedef
25141 invocation.
25142 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25143 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25144
25145 * localedata/Makefile (test-input-data): Use full file name.
25146 * localedata/da_DK.in: Rename to...
25147 * localedata/da_DK.ISO-8859-1.in: ...this.
25148 * localedata/de_DE.in: Rename to...
25149 * localedata/de_DE.ISO-8859-1.in: ...this.
25150 * localedata/en_US.in: Rename to...
25151 * localedata/en_US.ISO-8859-1.in: ...this.
25152 * localedata/fr_FR.in: Rename to...
25153 * localedata/fr_FR.UTF-8.in: ... this.
25154 * localedata/hr_HR.in: Rename to...
25155 * localedata/hr_HR.ISO-8859-2.in: ...this.
25156 * localedata/hu_HU.in: Rename to...
25157 * localedata/hu_HU.UTF-8.in: ...this.
25158 * localedata/si_LK.in: Rename to...
25159 * localedata/si_LK.UTF-8.in: ...this.
25160 * localedata/sv_SE.in: Rename to...
25161 * localedata/sv_SE.ISO-8859-1.in: ...this.
25162 * localedata/tr_TR.in: Rename to...
25163 * localedata/tr_TR.UTF-8.in: ...this.
25164 * localedata/uk_UA.in: Rename to...
25165 * localedata/uk_UA.UTF-8.in: ...this.
25166 * localedata/sort-test.sh: Test file is locale name with the
25167 suffix.
25168
25169 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25170 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25171 file.
25172 * localedata/locales/i18n_ctype: Regenerate.
25173 * localedata/locales/tr_TR: Likewise.
25174 * localedata/locales/translit_circle: Likewise.
25175 * localedata/locales/translit_cjk_compat: Likewise.
25176 * localedata/locales/translit_combining: Likewise.
25177 * localedata/locales/translit_compat: Likewise.
25178 * localedata/locales/translit_font: Likewise.
25179 * localedata/locales/translit_fraction: Likewise.
25180
25181 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25182
25183 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25184 lxvd2x/stxvd2x with lvx/stvx.
25185 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25186
25187 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25188
25189 * include/alloc_buffer.h: Replace "if if " with "if " in
25190 comments.
25191 * sysdeps/mips/memcpy.S: Likkewise.
25192 * sysdeps/mips/memset.S: Likewise.
25193 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25194 Likewise.
25195 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25196 Likewise.
25197 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25198 Likewise.
25199
25200 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25201
25202 [BZ #15261]
25203 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25204 yesexpr and noexpr.
25205 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25206 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25207 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25208 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25209 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25210 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25211 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25212
25213 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25214
25215 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25216 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25217 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25218 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25219 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25220 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25221 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25222 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25223 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25224 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25225 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25226 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25227
25228 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25229
25230 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25231 as possible for better readability of the source.
25232 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25233 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25234 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25235 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25236 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25237 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25238 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25239 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25240 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25241 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25242 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25243 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25244 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25245 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25246 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25247 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25248 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25249 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25250 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25251 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25252 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25253 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25254 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25255 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25256 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25257 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25258 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25259 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25260 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25261 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25262 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25263 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25264 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25265 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25266 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25267 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25268 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25269 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25270 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25271 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25272 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25273 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25274 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25275 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25276 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25277 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25278 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25279 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25280 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25281 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25282 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25283 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25284 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25285 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25286 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25287 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25288 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25289 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25290 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25291 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25292 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25293 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25294 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25295 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25296 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25297 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25298 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25299 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25300 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25301 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25302 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25303 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25304 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25305 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25306 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25307 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25308 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25309 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25310 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25311 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25312 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25313 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25314 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25315 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25316 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25317 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25318 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25319 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25320 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25321 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25322 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25323 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25324 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25325 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25326 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25327 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25328 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25329 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25330 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25331 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25332 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25333 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25334 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25335 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25336 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25337 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25338 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25339 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25340 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25341 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25342 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25343 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25344 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25345 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25346 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25347 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25348 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25349 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25350 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25351 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25352 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25353 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25354 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25355 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25356 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25357 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25358 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25359 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25360 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25361 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25362 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25363 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25364 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25365 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25366 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25367 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25368 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25369 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25370 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25371 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25372 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25373 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25374 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25375 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25376 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25377 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25378 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25379 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25380 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25381 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25382 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25383 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25384 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25385 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25386 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25387 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25388 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25389 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25390 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25391 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25392 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25393 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25394 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25395 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25396 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25397 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25398 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25399 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25400 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25401 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25402 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25403 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25404 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25405 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25406
25407 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25408
25409 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25410 (Use first letters of yesstr and nostr correctly instead of using
25411 full words).
25412
25413 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25414
25415 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25416 (Use first letters of yesstr and nostr correctly).
25417
25418 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25419
25420 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25421 also check for the first characters of yesstr and nostr.
25422 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25423 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25424
25425 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25426
25427 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25428 also check for Chinese characters.
25429
25430 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25431
25432 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25433 match also for the contents of yesstr and nostr. As the first letter
25434 of yesstr and nostr is equal, checking only for the first letter
25435 is not enough.
25436
25437 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25438
25439 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25440 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25441
25442 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25443
25444 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25445 of main contributor.
25446
25447 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25448
25449 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25450 instead of using English.
25451
25452 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25453
25454 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25455 by including the first letters of nostr and yesexpr in the regexp.
25456 Also make it more readable by using ASCII where possible.
25457
25458 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25459
25460 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25461 the first letter of nostr in the regexp. It agrees with CLDR now.
25462 Also make it more readable by using ASCII where possible.
25463
25464 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25465
25466 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25467 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25468 these strings contain a U+17D6 (which somewhat looks like a colon)
25469 instead of a real colon to separate the full words for “yes”
25470 and “no” from the single letter responses.
25471
25472 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25473
25474 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25475 it agree with CLDR (include the first letter of yesstr).
25476 Also make it more readable by using ASCII where possible.
25477
25478 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25479
25480 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25481 and improve yesexpr and noexpr. The yesstr and nostr apparently
25482 came from CLDR. And CLDR has a bug there: these strings contain
25483 a U+0903 (which looks like a colon) instead of a real colon
25484 to separate the full words for “yes” and “no” from the single
25485 letter responses.
25486
25487 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25488
25489 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25490 letters of the full yesstr and nostr in yesexpr and noexpr.
25491
25492 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25493
25494 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25495 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25496 * localedata/locales/an_ES: Make source more readable by using ASCII
25497 where possible.
25498
25499 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25500
25501 [BZ #20952]
25502 * localedata/locales/yuw_PG: New file.
25503 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25504 * locale/iso-639.def: Add Yau (Uruwa).
25505
25506 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25507
25508 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25509
25510 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25511
25512 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25513 (__libc_realloc): Likewise.
25514 (_mid_memalign): Likewise.
25515 (__libc_calloc): Likewise.
25516
25517 2017-10-23 Mike FABIAN <mfabian@redhat.com>
25518
25519 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25520 by adding the generic +1 and -0 as in all other locales.
25521 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25522 day names and make it more readable by using ASCII where possible.
25523
25524 2017-10-24 Joseph Myers <joseph@codesourcery.com>
25525
25526 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25527 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25528
25529 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25530
25531 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25532 WNOHANG in waitpid call.
25533
25534 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25535
25536 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25537 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25538
25539 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25540 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25541 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25542 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25543 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25544 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25545 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25546 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25547 variables.
25548
25549 2017-10-23 Michael Collison <michael.collison@arm.com>
25550
25551 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25552 with __builtin_sqrt.
25553 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25554 with __builtin_sqrtf.
25555 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25556 with __builtin_ceil.
25557 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25558 with __builtin_ceilf.
25559 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25560 with __builtin_floor.
25561 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25562 with __builtin_floorf.
25563 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25564 with __builtin_fma.
25565 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25566 with __builtin_fmaf.
25567 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25568 with __builtin_fmax.
25569 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25570 with __builtin_fmaxf.
25571 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25572 with __builtin_fmin.
25573 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25574 with __builtin_fminf.
25575 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25576 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25577 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25578 with builtin_rint and conversion to int.
25579 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25580 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25581 with builtin_llround.
25582 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25583 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25584 with builtin_rint and conversion to long int.
25585 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25586 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25587 with builtin_lround.
25588 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25589 with builtin_lroundf.
25590 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25591 statements with __builtin_nearbyint.
25592 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25593 statements with __builtin_nearbyintf.
25594 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25595 with __builtin_rint.
25596 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25597 with __builtin_rintf.
25598 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25599 with __builtin_round.
25600 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25601 with __builtin_roundf.
25602 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25603 with __builtin_trunc.
25604 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25605 with __builtin_truncf.
25606 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25607 and s_l[l]round[f].c too.
25608
25609 2017-10-23 Alan Modra <amodra@gmail.com>
25610
25611 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25612 Adjust stack after restoring regs. Add missing LR cfi_restore.
25613
25614 2017-10-23 Alan Modra <amodra@gmail.com>
25615
25616 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25617 Move LR save and frame setup/teardown and LR restore to
25618 immediately around memset call. Provide cfi.
25619
25620 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25621
25622 * sysdeps/i386/fpu/e_powf.S: Removed.
25623 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25624 * sysdeps/i386/fpu/w_powf.c: Likewise.
25625 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25626 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25627 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25628 Add e_powf-sse2.
25629 (CFLAGS-e_powf-sse2.c): New.
25630 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25631 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25632
25633 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25634
25635 * sysdeps/i386/fpu/e_log2f.S: Removed.
25636 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
25637 * sysdeps/i386/fpu/w_log2f.c: Likewise.
25638 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
25639 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25640 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25641 Add e_log2f-sse2.
25642 (CFLAGS-e_log2f-sse2.c): New.
25643 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
25644 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
25645
25646 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25647
25648 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25649 Add e_powf-fma.
25650 (CFLAGS-e_powf-fma.c): New.
25651 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
25652 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25653
25654 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25655
25656 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25657 Add e_log2f-fma.
25658 (CFLAGS-e_log2f-fma.c): New.
25659 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25660 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25661
25662 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25663
25664 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25665 Add e_logf-fma.
25666 (CFLAGS-e_logf-fma.c): New.
25667 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25668 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25669
25670 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25671
25672 * sysdeps/i386/fpu/e_logf.S: Removed.
25673 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25674 * sysdeps/i386/fpu/w_logf.c: Likewise.
25675 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25676 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25677 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25678 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25679 Add e_logf-sse2.
25680 (CFLAGS-e_logf-sse2.c): New.
25681 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25682 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25683
25684 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25685
25686 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25687 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25688 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25689 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25690 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25691 Add e_exp2f-sse2.
25692 (CFLAGS-e_exp2f-sse2.c): New.
25693 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25694 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25695
25696 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25697
25698 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25699 Add e_exp2f-fma.
25700 (CFLAGS-e_exp2f-fma.c): New.
25701 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25702 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25703
25704 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25705
25706 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25707 * sysdeps/i386/fpu/e_expf.S: Likewise.
25708 * sysdeps/i386/fpu/math_errf.c: Likewise.
25709 * sysdeps/i386/fpu/w_expf.c: Likewise.
25710 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
25711 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25712 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25713 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25714 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25715 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25716 Remove e_expf-ia32.
25717 (CFLAGS-e_expf-sse2.c): New.
25718 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25719 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
25720
25721 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25722
25723 * sysdeps/x86_64/fpu/e_expf.S: Removed.
25724 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
25725 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
25726 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
25727 e_expf.c.
25728 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
25729 New.
25730 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
25731 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25732 Renamed to ...
25733 (__redirect_expf): This.
25734 (SYMBOL_NAME): Changed to expf.
25735 (__ieee754_expf): Renamed to ...
25736 (__expf): This.
25737 (__GI___expf): This.
25738 (__ieee754_expf): Add strong_alias.
25739 (__expf_finite): Likewise.
25740 (__expf): New.
25741 Include <sysdeps/ieee754/flt-32/e_expf.c>.
25742
25743 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
25744
25745 [BZ #22332]
25746 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
25747 unescaping.
25748
25749 2017-10-21 Florian Weimer <fweimer@redhat.com>
25750
25751 * posix/Makefile (tests): Add tst-glob-tilde.
25752 (tests-special): Add tst-glob-tilde-mem.out
25753 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
25754 (tst-glob-tilde-mem.out): Add mtrace check.
25755 * posix/tst-glob-tilde.c: New file.
25756
25757 2017-10-20 Joseph Myers <joseph@codesourcery.com>
25758
25759 * bits/floatn-common.h: New file.
25760 * math/Makefile (headers): Add bits/floatn-common.h.
25761 * bits/floatn.h: Include <bits/floatn-common.h>.
25762 * sysdeps/ia64/bits/floatn.h: Likewise.
25763 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25764 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25765 * sysdeps/powerpc/bits/floatn.h: Likewise.
25766 * sysdeps/x86/bits/floatn.h: Likewise.
25767
25768 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25769
25770 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25771 indicates whether compiler emits an warning for alias for
25772 functions with incompatible types.
25773
25774 [BZ #22273]
25775 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25776 the auxiliary process is terminated by a signal before calling _exit
25777 or execve.
25778
25779 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25780
25781 [BZ #21265]
25782 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25783 New.
25784 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25785 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25786 and bit_arch_XSAVEC_Usable if needed.
25787 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25788 and bit_arch_Use_dl_runtime_resolve_opt.
25789 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25790 Removed.
25791 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25792 (bit_arch_Prefer_No_AVX512): Updated.
25793 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25794 (bit_arch_XSAVEC_Usable): New.
25795 (STATE_SAVE_OFFSET): Likewise.
25796 (STATE_SAVE_MASK): Likewise.
25797 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25798 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25799 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25800 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25801 (index_arch_XSAVEC_Usable): New.
25802 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25803 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25804 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25805 is enabled.
25806 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25807 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25808 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25809 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25810 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25811 _dl_runtime_resolve_xsavec.
25812 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25813 Removed.
25814 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25815 instead of VEC_SIZE.
25816 (REGISTER_SAVE_BND0): Removed.
25817 (REGISTER_SAVE_BND1): Likewise.
25818 (REGISTER_SAVE_BND3): Likewise.
25819 (REGISTER_SAVE_RAX): Always defined to 0.
25820 (VMOV): Removed.
25821 (_dl_runtime_resolve_avx): Likewise.
25822 (_dl_runtime_resolve_avx_slow): Likewise.
25823 (_dl_runtime_resolve_avx_opt): Likewise.
25824 (_dl_runtime_resolve_avx512): Likewise.
25825 (_dl_runtime_resolve_avx512_opt): Likewise.
25826 (_dl_runtime_resolve_sse): Likewise.
25827 (_dl_runtime_resolve_sse_vex): Likewise.
25828 (USE_FXSAVE): New.
25829 (_dl_runtime_resolve_fxsave): Likewise.
25830 (USE_XSAVE): Likewise.
25831 (_dl_runtime_resolve_xsave): Likewise.
25832 (USE_XSAVEC): Likewise.
25833 (_dl_runtime_resolve_xsavec): Likewise.
25834 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25835 Removed.
25836 (_dl_runtime_resolve_avx512_opt): Likewise.
25837 (_dl_runtime_resolve_avx): Likewise.
25838 (_dl_runtime_resolve_avx_opt): Likewise.
25839 (_dl_runtime_resolve_sse): Likewise.
25840 (_dl_runtime_resolve_sse_vex): Likewise.
25841 (_dl_runtime_resolve_fxsave): New.
25842 (_dl_runtime_resolve_xsave): Likewise.
25843 (_dl_runtime_resolve_xsavec): Likewise.
25844
25845 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
25846
25847 [BZ #22320]
25848 CVE-2017-15670
25849 * posix/glob.c (__glob): Fix one-byte overflow.
25850
25851 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25852
25853 * malloc/malloc.c (sysdep-cancel.h): Add include.
25854
25855 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25856
25857 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25858
25859 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25860
25861 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25862 (tests): Remove $(objpfx)ga_test depdendency.
25863 * resolv/ga_test.c: Remove file.
25864
25865 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25866
25867 [BZ #18812]
25868 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25869 * localedata/locales/kab_DZ: New file.
25870
25871 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25872
25873 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25874 _dl_relocate_static_pie instead of _dl_start to compute load
25875 address in static PIE.
25876
25877 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25878
25879 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25880
25881 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25882
25883 [BZ #13605]
25884 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25885 * localedata/locales/shn_MM: New file.
25886
25887 2017-10-20 Florian Weimer <fweimer@redhat.com>
25888
25889 [BZ #22321]
25890 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25891 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25892 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25893 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25894 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25895 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25896
25897 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25898
25899 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25900
25901 2017-10-19 Joseph Myers <joseph@codesourcery.com>
25902
25903 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25904
25905 [BZ #22322]
25906 * sysdeps/mips/bits/long-double.h: Move to ....
25907 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25908
25909 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25910
25911 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25912
25913 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
25914 H.J. Lu <hongjiu.lu@intel.com>
25915
25916 [BZ #22299]
25917 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25918 GLRO(dl_platform) to NULL.
25919 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25920 (modules-names): Add tst-platformmod-1 and
25921 x86_64/tst-platformmod-2.
25922 (CFLAGS-tst-platform-1.c): New.
25923 (CFLAGS-tst-platformmod-1.c): Likewise.
25924 (CFLAGS-tst-platformmod-2.c): Likewise.
25925 (LDFLAGS-tst-platformmod-2.so): Likewise.
25926 ($(objpfx)tst-platform-1): Likewise.
25927 ($(objpfx)tst-platform-1.out): Likewise.
25928 (tst-platform-1-ENV): Likewise.
25929 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25930 * sysdeps/x86_64/tst-platform-1.c: New file.
25931 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25932 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25933
25934 2017-10-19 Mike FABIAN <mfabian@redhat.com>
25935
25936 [BZ #13994]
25937 * locale/iso-639.def: Add Karbi.
25938 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25939 * localedata/locales/mjw_IN: New file.
25940
25941 2017-10-18 Joseph Myers <joseph@codesourcery.com>
25942
25943 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25944 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25945 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25946 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25947 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25948 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25949 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25950 <bits/floatn.h>.
25951 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25952 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25953 * manual/math.texi (Mathematics): Document additional architecture
25954 support for _Float128.
25955 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25956 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25957 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25958 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25959 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25960 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25961 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25962 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25963 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25964 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25965 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25966 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25967 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25968 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25969 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25970
25971 2017-10-18 Renlin Li <renlin.li@arm.com>
25972
25973 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25974 _DYNAMIC symbol to calculate load address.
25975
25976 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
25977
25978 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25979 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25980 summary bits.
25981 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25982 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25983
25984 2017-10-18 Mike FABIAN <mfabian@redhat.com>
25985
25986 [BZ #16777]
25987 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25988 and improve readability by using more ASCII.
25989 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25990 and improve readability by using more ASCII.
25991
25992 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25993
25994 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25995 not all targets support atomics on bool.
25996
25997 2017-10-17 Joseph Myers <joseph@codesourcery.com>
25998
25999 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26000 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26001 __f128.
26002 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26003 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26004 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26005 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26006 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26007 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26008
26009 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26010
26011 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26012 defines.
26013
26014 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26015
26016 [BZ #22159]
26017 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26018 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26019 (do_check_remalloced_chunk): Fix build bug.
26020 (do_check_malloc_state): Add assert that checks arena->top.
26021 (malloc_consolidate): Remove initialization.
26022 (int_mallinfo): Remove call to malloc_consolidate.
26023 (__libc_mallopt): Clarify why malloc_consolidate is needed.
26024
26025 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26026
26027 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26028 (have_fastchunks): Remove.
26029 (clear_fastchunks): Remove.
26030 (set_fastchunks): Remove.
26031 (malloc_state): Add have_fastchunks.
26032 (malloc_init_state): Use have_fastchunks.
26033 (do_check_malloc_state): Remove incorrect invariant checks.
26034 (_int_malloc): Use have_fastchunks.
26035 (_int_free): Likewise.
26036 (malloc_consolidate): Likewise.
26037
26038 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26039
26040 * malloc/malloc.c (tcache_put): Inline.
26041 (tcache_get): Inline.
26042
26043 2017-10-17 Jordi Mallach <jordi@gnu.org>
26044
26045 Aurelien Jarno <aurelien@aurel32.net>
26046 [BZ #2522]
26047 * localedata/locales/ca_ES@valencia: New file.
26048 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26049
26050 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26051
26052 [BZ #22296]
26053 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26054 < 6.x
26055
26056 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26057
26058 * scripts/build-many-glibcs.py (Context.add_all_configs):
26059 Add arm-linux-gnueabihf multiarch extra_glibcs.
26060
26061 * sysdeps/generic/ifunc-init.h: New file.
26062 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26063
26064 2017-10-17 Mike FABIAN <mfabian@redhat.com>
26065
26066 [BZ #22019]
26067 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26068 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26069 * stdlib/tst-strfmon_l.c: adapt test case.
26070
26071 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26072
26073 * sysdeps/generic/float128-abi.h: New file.
26074 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26075 non-__prefixed symbols to ....
26076 * math/Versions: ... here. Include <float128-abi.h>.
26077 * stdlib/Versions ... and here. Include <float128-abi.h>
26078
26079 2017-10-16 Florian Weimer <fweimer@redhat.com>
26080
26081 * version.h (VERSION): Switch to ".9000" as the development
26082 version suffix.
26083
26084 2017-10-16 Florian Weimer <fweimer@redhat.com>
26085
26086 [BZ #22050]
26087 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26088 compat_symbol_reference to access non-default version.
26089
26090 2017-10-16 Florian Weimer <fweimer@redhat.com>
26091
26092 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26093
26094 2017-10-16 Carlos O'Donell <carlos@redhat.com>
26095
26096 * include/shlib-compat.h (compat_symbol_reference): Update
26097 comment.
26098
26099 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26100
26101 * math/Makefile (test-types): Add
26102 $(type-float128-$(float128-alias-fcts)).
26103 * math/test-float128.h (TYPE_STR): Define conditional on
26104 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26105 (ULP_IDX): Likewise.
26106 (ULP_I_IDX): Likewise.
26107
26108 * stdlib/strtold.c: Include <bits/floatn.h>
26109 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26110 and later undefine as macro. Define as weak alias if
26111 [!USE_WIDE_CHAR].
26112 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26113 and later undefine as macro. Define as weak alias if
26114 [USE_WIDE_CHAR].
26115 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26116 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26117 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26118 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26119 Define and later undefine as macro. Define as weak alias if
26120 [USE_WIDE_CHAR].
26121 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26122 <bits/floatn.h>.
26123 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26124 Define and later undefine as macro. Define as weak alias if
26125 [!USE_WIDE_CHAR].
26126 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26127 Define and later undefine as macro. Define as weak alias if
26128 [USE_WIDE_CHAR].
26129
26130 2017-10-15 Carlos O'Donell <carlos@redhat.com>
26131
26132 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26133 record_verbose messages.
26134
26135 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26136
26137 [BZ #22052]
26138 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26139 to silence -O3 -Wall warning with GCC 7.
26140
26141 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26142
26143 * Makeconfig (+link-static-before-libc): Use the first of
26144 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26145 * gmon/Makefile (tests): Add tst-gmon-static.
26146 (tests-static): Likewise.
26147 (CFLAGS-tst-gmon-static.c): New.
26148 (CRT-tst-gmon-static): Likewise.
26149 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26150 (tst-gmon-static-ENV): Likewise.
26151 (tests-special): Likewise.
26152 ($(objpfx)tst-gmon-static.out): Likewise.
26153 (clean-tst-gmon-static-data): Likewise.
26154 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26155 * gmon/tst-gmon-static-gprof.sh: New file.
26156 * gmon/tst-gmon-static.c: Likewise.
26157
26158 2017-10-13 Carlos O'Donell <carlos@redhat.com>
26159
26160 [BZ #22295]
26161 * locale/programs/linereader.c (get_string): Don't warn on
26162 non-symbolic character.
26163
26164 [BZ #22294]
26165 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26166 int_curr_symbol.
26167
26168 [BZ #22292]
26169 * locale/programs/record-status.h: New file
26170 * locale/programs/locale.c: Add comment.
26171 * locale/programs/charmap-dir.c: Don't include error.h.
26172 (charmap_opendir): Use record_error.
26173 * locale/programs/charmap.c: Don't include error.h.
26174 (charmap_read): Use record_error, and record_warning.
26175 (parse_charmap): Likewise.
26176 * locale/programs/ld-address.c: Don't include error.h.
26177 (address_finish): Use record_error, and record_warning.
26178 * locale/programs/ld-collate.c: Don't include error.h.
26179 (collate_finish): Use record_error, and record_error_at_line.
26180 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26181 (ctype_class_new): Likewise.
26182 (ctype_map_new): Likewise.
26183 (set_one_default): Likewise.
26184 (set_class_defaults): Likewise.
26185 (translit_flatten): Likewise.
26186 (allocate_arrays): Use record_error, and record_verbose.
26187 * locale/programs/ld-identification.c: Don't include error.h.
26188 (indentation_finish): Use record_error and record_warning.
26189 * locale/programs/ld-measurement.c: Don't include error.h.
26190 (measurement_finish): Use record_error.
26191 * locale/programs/ld-messages.c
26192 (message_finish): Likewise.
26193 * locale/programs/ld-monetary.c
26194 (monetary_finish): Likewise.
26195 * locale/programs/ld-name.c (name_finish): Use record_error
26196 and record_warning.
26197 * locale/programs/ld-numeric.c
26198 (numeric_finish): Use record_error.
26199 * locale/programs/ld-paper.c: Don't include error.h.
26200 (paper_finish): Use record_error.
26201 * locale/programs/ld-telephone.c: Don't include error.h.
26202 (telephone_finish): Use record_error.
26203 * locale/programs/ld-time.c (time_finish): Likewise.
26204 * locale/programs/linereader.h (lr_error): Make inline func.
26205 * locale/programs/localedef.c: Define recorded_warning_count,
26206 and recorded_error_count.
26207 (main): Use record_error. Use recorded_error_count and
26208 recorded_warning_count to issue correct error returns.
26209 (add_to_readlist): Use record_error.
26210 (find_locale): Likewise.
26211 (load_locale): Likewise.
26212 * locale/programs/localedef.h: Remove be_quiet
26213 and WITH_CUR_LOCALE.
26214 * locale/programs/locarchive.c (compare_from_file): Use
26215 record_error.
26216 * locale/programs/locfile.c (write_locale_data): Use
26217 record_error.
26218 * locale/programs/repertoire.c: Dont include error.h.
26219 (repertoire_complain): Use record_error.
26220 * localedata/tst-fmon.sh: Expect failures from localedef.
26221 * localedata/tst-locale.sh: Likewise.
26222 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26223
26224 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26225 (REPORTS): Likewise.
26226 (check): Likewise.
26227 (i18n): Rename to...
26228 (i18n_ctype): ...this.
26229 (i18n-report): Rename to...
26230 (i18n_ctype-report): ...this.
26231 * localedata/locales/i18n_ctype: Regenerate.
26232 * localedata/locales/i18n: copy i18n_ctype.
26233
26234 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26235
26236 * stdlib/strfroml.c: Include <bits/floatn.h>.
26237 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26238 Define before include of <stdlib.h> and undefine afterwards, then
26239 define as weak alias.
26240
26241 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26242 Undefine and restore default definition. Use
26243 libm_alias_ldouble_other.
26244
26245 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26246
26247 [BZ #22153]
26248 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26249 in coredumps.
26250
26251 2017-10-13 James Clarke <jrtc27@jrtc27.com>
26252
26253 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26254 Assign sym_map to be map for local symbols, as TLS relocations
26255 use sym_map to determine whether the symbol is defined and to
26256 extract the TLS information.
26257 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26258 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26259
26260 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26261
26262 [BZ #22189]
26263 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26264 (math_force_eval): Add powerpc version.
26265
26266 [BZ #22142]
26267 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26268 -DBL_MAX.
26269 (do_test): Likewise.
26270 * stdio-common/tst-printf.sh: Likewise.
26271 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26272 ifdef clause in order to set the carry bit right. Replace r0 by
26273 0 without changing the behavior.
26274
26275 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26276
26277 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26278 <libm-alias-ldouble.h>.
26279 (fabsl): Define using libm_alias_ldouble.
26280 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26281 <libm-alias-ldouble.h>.
26282 (fabsl): Define using libm_alias_ldouble.
26283
26284 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26285 Remove conditional code.
26286
26287 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26288 Rename to __clog10_internal_l.
26289 (__clog10_internal_l): Define aliases using
26290 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26291 with __clog10.
26292
26293 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26294
26295 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26296 * benchtests/sincosf-inputs: New file.
26297 * benchtests/cosf-inputs: New file.
26298 * benchtests/sinf-inputs: New file.
26299
26300 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26301
26302 * posix/tst-spawn.c (do_test): Wait for both children.
26303
26304 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26305
26306 [BZ #22284]
26307 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26308 tests-pie): Add tst-gmon-pie.
26309 (CFLAGS-tst-gmon-pie.c): New.
26310 (CRT-tst-gmon-pie): Likewise.
26311 (tst-gmon-pie-ENV): Likewise.
26312 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26313 ($(objpfx)tst-gmon-pie.out): Likewise.
26314 (clean-tst-gmon-pie-data): Likewise.
26315 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26316 * gmon/gmon.c [PIC]: Include <link.h>.
26317 [PIC] (callback): New function.
26318 (write_hist): Add an argument for load address. Subtract load
26319 address from PCs.
26320 (write_call_graph): Likewise.
26321 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26322 it to write_hist and write_call_graph.
26323 * gmon/tst-gmon-pie.c: New file.
26324
26325 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26326
26327 * math/Makefile (test-types-basic): New variable.
26328 (test-types): Likewise.
26329 (libm-test-support): Use $(test-types) instead of $(types).
26330 (libm-tests-base-normal): Likewise.
26331 (libm-tests-base-finite): Likewise.
26332 (libm-tests-base-inline): Likewise.
26333 (generated): Likewise.
26334 ($(objpfx)libm-test-support-$(t).c): Likewise.
26335 (libm-tests-for-type iterator): Likewise.
26336 (libm-test-support iterator): Likewise.
26337 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26338 (ulp_idx): Use ULP_IDX.
26339 * math/test-ldouble.h: Include <float.h>.
26340 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26341 (ULP_IDX): New macro.
26342 (ULP_I_IDX): Likewise.
26343 * math/test-double.h (ULP_IDX): Likewise.
26344 (ULP_I_IDX): Likewise.
26345 * math/test-float.h (ULP_IDX): Likewise.
26346 (ULP_I_IDX): Likewise.
26347 * math/test-float128.h (ULP_IDX): Likewise.
26348 (ULP_I_IDX): Likewise.
26349
26350 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26351
26352 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26353 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26354 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26355 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26356 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26357 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26358 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26359 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26360 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26361 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26362 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26363 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26364 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26365 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26366 (SINGLE_THREAD_BY_GLOBAL): Define.
26367 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26368 Likewise.
26369 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26370 Likewise.
26371 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26372 Likewise.
26373 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26374 Likewise.
26375 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26376 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26377 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26378 Likewise.
26379
26380 2017-10-11 Andreas Schwab <schwab@suse.de>
26381
26382 * nis/Makefile (aux): Remove.
26383 * nscd/Makefile (aux): Add nscd_hash.
26384 (nscd-modules): Likewise.
26385 ($(objpfx)nscd): Don't depend on libnsl.
26386 * nscd/nscd_hash.c: New file.
26387 * nscd/nscd_hash.h: Likewise.
26388 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26389 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26390 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26391 instead of <nis/rpcsvc/nis.h>.
26392 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26393
26394 2017-10-11 Florian Weimer <fweimer@redhat.com>
26395
26396 [BZ #22078]
26397 Avoid large NSS buffers with many addresses, aliases.
26398 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26399 using dynarrays and struct alloc_buffer.
26400 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26401 (tst-nss-files-hosts-multi): Link with -ldl.
26402 * nss/tst-nss-files-hosts-multi.c: New file.
26403
26404 2017-10-11 Florian Weimer <fweimer@redhat.com>
26405
26406 [BZ #18023]
26407 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26408 scratch_buffer. Eliminate gotos.
26409
26410 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26411
26412 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26413 libm_alias_ldouble_other.
26414 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26415 undefine and redefine.
26416 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26417 (exp10l): Do not define here.
26418 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26419 (weak_alias): Undefine and redefine.
26420 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26421 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26422 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26423 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26424
26425 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26426 [!__fma] (fma): Define using libm_alias_double.
26427 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26428 [!__fmaf] (fmaf): Define using libm_alias_float.
26429 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26430 (fmal): Define using libm_alias_ldouble.
26431
26432 2017-10-10 Joseph Myers <joseph@codesourcery.com>
26433
26434 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26435 New macro.
26436 (libm_alias_double_other): Likewise.
26437 (libm_alias_double_r): Use libm_alias_double_other_r.
26438 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26439 New macro.
26440 (libm_alias_float_other): Likewise.
26441 (libm_alias_float_r): Use libm_alias_float_other_r.
26442 * sysdeps/generic/libm-alias-float128.h
26443 (libm_alias_float128_other_r): New macro.
26444 (libm_alias_float128_other): Likewise.
26445 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26446 * sysdeps/generic/libm-alias-ldouble.h
26447 (libm_alias_ldouble_other_r): New macro.
26448 (libm_alias_ldouble_other): Likewise.
26449 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26450 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26451 (libm_alias_double_other_r): New macro.
26452 (libm_alias_double_other): Likewise.
26453 (libm_alias_double_r): Use libm_alias_double_other_r.
26454 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26455 (libm_alias_ldouble_other_r): New macro.
26456 (libm_alias_ldouble_other): Likewise.
26457 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26458 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26459 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26460 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26461 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26462 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26463 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26464 * math/w_exp2f.c: Use libm_alias_float_other.
26465 * math/w_expf.c: Likewise.
26466 * math/w_log2f.c: Likewise.
26467 * math/w_logf.c: Likewise.
26468 * math/w_powf.c: Likewise.
26469 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26470 [!__exp2f]: Use libm_alias_float_other.
26471 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26472 [!__expf]: Use libm_alias_float_other.
26473 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26474 [!__log2f]: Use libm_alias_float_other.
26475 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26476 [!__logf]: Use libm_alias_float_other.
26477 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26478 [!__powf]: Use libm_alias_float_other.
26479
26480 2017-10-10 Florian Weimer <fweimer@redhat.com>
26481
26482 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26483 function.
26484 (_nss_files_gethostbyname3_r): Call it.
26485
26486 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26487
26488 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26489 error. Remove default definition of declare_mgen_alias.
26490 [!declare_mgen_alias_r]: Likewise.
26491 * sysdeps/generic/math-type-macros-double.h
26492 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26493 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26494 (declare_mgen_alias_r): Likewise.
26495 * sysdeps/generic/math-type-macros-float128.h
26496 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26497 * sysdeps/generic/math-type-macros-ldouble.h
26498 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26499 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26500 macro.
26501 (declare_mgen_alias_r_s): Likewise.
26502 (declare_mgen_alias_r): Likewise.
26503 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26504 (lgamma_r): Define using libm_alias_double_r.
26505 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26506 (lgammaf_r): Define using libm_alias_float_r.
26507 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26508 (lgammal_r): Define using libm_alias_ldouble_r.
26509 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26510 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26511
26512 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26513
26514 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26515 extern declaration.
26516
26517 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26518
26519 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26520
26521 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
26522
26523 [BZ #21326]
26524 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26525 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26526 * math/Makefile (test-math-cxx11): New test.
26527 * math/test-math-cxx11.cc: New file.
26528
26529 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26530
26531 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26532
26533 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26534 call to allocate the slave pty file descriptor.
26535
26536 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26537
26538 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26539 [!__fma] (fma): Define using libm_alias_double.
26540 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26541 [!__fma] (fma): Define using libm_alias_double.
26542
26543 * sysdeps/ieee754/float128/float128_private.h: Include
26544 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26545 (libm_alias_ldouble_r): Undefine and redefine.
26546 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26547 <libm-alias-ldouble.h>.
26548 (asinhl): Define using libm_alias_ldouble.
26549 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26550 <libm-alias-ldouble.h>.
26551 (atanl): Define using libm_alias_ldouble.
26552 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26553 <libm-alias-ldouble.h>.
26554 (cbrtl): Define using libm_alias_ldouble.
26555 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26556 <libm-alias-ldouble.h>.
26557 (ceill): Define using libm_alias_ldouble.
26558 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26559 <libm-alias-ldouble.h>.
26560 (copysignl): Define using libm_alias_ldouble.
26561 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26562 <libm-alias-ldouble.h>.
26563 (cosl): Define using libm_alias_ldouble.
26564 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26565 <libm-alias-ldouble.h>.
26566 (erfl): Define using libm_alias_ldouble.
26567 (erfcl): Likewise.
26568 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26569 <libm-alias-ldouble.h>.
26570 (expm1l): Define using libm_alias_ldouble.
26571 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26572 <libm-alias-ldouble.h>.
26573 (fabsl): Define using libm_alias_ldouble.
26574 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26575 <libm-alias-ldouble.h>.
26576 (floorl): Define using libm_alias_ldouble.
26577 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26578 <libm-alias-ldouble.h>.
26579 (fmal): Define using libm_alias_ldouble.
26580 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26581 <libm-alias-ldouble.h>.
26582 (frexpl): Define using libm_alias_ldouble.
26583 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26584 libm_alias_ldouble.
26585 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26586 <libm-alias-ldouble.h>.
26587 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26588 libm_alias_ldouble.
26589 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26590 <libm-alias-ldouble.h>.
26591 (getpayloadl): Define using libm_alias_ldouble.
26592 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26593 <libm-alias-ldouble.h>.
26594 (llrintl): Define using libm_alias_ldouble.
26595 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26596 <libm-alias-ldouble.h>.
26597 (llroundl): Define using libm_alias_ldouble.
26598 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26599 <libm-alias-ldouble.h>.
26600 (logbl): Define using libm_alias_ldouble.
26601 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26602 <libm-alias-ldouble.h>.
26603 (lrintl): Define using libm_alias_ldouble.
26604 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26605 <libm-alias-ldouble.h>.
26606 (lroundl): Define using libm_alias_ldouble.
26607 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26608 <libm-alias-ldouble.h>.
26609 (modfl): Define using libm_alias_ldouble.
26610 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26611 <libm-alias-ldouble.h>.
26612 (nearbyintl): Define using libm_alias_ldouble.
26613 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26614 <libm-alias-ldouble.h>.
26615 (nextafterl): Define using libm_alias_ldouble.
26616 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26617 <libm-alias-ldouble.h>.
26618 (nextupl): Define using libm_alias_ldouble.
26619 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26620 <libm-alias-ldouble.h>.
26621 (remquol): Define using libm_alias_ldouble.
26622 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26623 <libm-alias-ldouble.h>.
26624 (rintl): Define using libm_alias_ldouble.
26625 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26626 <libm-alias-ldouble.h>.
26627 (roundevenl): Define using libm_alias_ldouble.
26628 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26629 <libm-alias-ldouble.h>.
26630 (roundl): Define using libm_alias_ldouble.
26631 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26632 using libm_alias_ldouble.
26633 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26634 <libm-alias-ldouble.h>.
26635 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
26636 Define using libm_alias_ldouble.
26637 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
26638 <libm-alias-ldouble.h>.
26639 (sincosl): Define using libm_alias_ldouble.
26640 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
26641 <libm-alias-ldouble.h>.
26642 (sinl): Define using libm_alias_ldouble.
26643 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
26644 <libm-alias-ldouble.h>.
26645 (tanhl): Define using libm_alias_ldouble.
26646 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
26647 <libm-alias-ldouble.h>.
26648 (tanl): Define using libm_alias_ldouble.
26649 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
26650 <libm-alias-ldouble.h>.
26651 (totalorderl): Define using libm_alias_ldouble.
26652 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
26653 <libm-alias-ldouble.h>.
26654 (totalordermagl): Define using libm_alias_ldouble.
26655 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26656 <libm-alias-ldouble.h>.
26657 (truncl): Define using libm_alias_ldouble.
26658 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26659 libm_alias_ldouble.
26660 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26661 libm_alias_ldouble.
26662 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26663 <libm-alias-ldouble.h>.
26664 (weak_alias): Do not undefine and redefine.
26665 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26666 (copysignl): Define with long_double_symbol only if [IS_IN
26667 (libc)].
26668 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26669 <libm-alias-ldouble.h>.
26670 (weak_alias): Do not undefine and redefine.
26671 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26672 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26673 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26674 <libm-alias-ldouble.h>.
26675 (weak_alias): Do not undefine and redefine.
26676 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26677 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26678 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26679 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26680 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26681 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26682 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26683 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26684 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26685 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26686 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26687 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26688 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26689 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26690 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26691 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26692 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26693 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26694 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26695 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26696 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26697 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26698 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26699 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26700 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26701 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26702
26703 2017-10-06 Carlos O'Donell <carlos@redhat.com>
26704
26705 [BZ #22111]
26706 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26707 (tcache_thread_freeres): Set tcache_shutting_down before
26708 freeing the tcache.
26709 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
26710 * malloc/tst-malloc-tcache-leak.c: New file.
26711
26712 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26713
26714 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26715 back to powerpc32 file.
26716 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26717 (memrchr): Add __memrchr_power8 to ifunc list.
26718 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26719 extra bytes for unaligned inputs.
26720
26721 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26722
26723 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
26724 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
26725 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
26726 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26727 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26728
26729 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26730
26731 * sysdeps/arm/libm-test-ulps: Update.
26732
26733 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
26734 <libm-alias-ldouble.h>.
26735 (asinhl): Define using libm_alias_ldouble.
26736 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
26737 <libm-alias-ldouble.h>.
26738 (cbrtl): Define using libm_alias_ldouble.
26739 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
26740 <libm-alias-ldouble.h>.
26741 (copysignl): Define using libm_alias_ldouble.
26742 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
26743 <libm-alias-ldouble.h>.
26744 (cosl): Define using libm_alias_ldouble.
26745 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
26746 <libm-alias-ldouble.h>.
26747 (erfl): Define using libm_alias_ldouble.
26748 (erfcl): Likewise.
26749 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
26750 <libm-alias-ldouble.h>.
26751 (fmal): Define using libm_alias_ldouble.
26752 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
26753 <libm-alias-ldouble.h>.
26754 (frexpl): Define using libm_alias_ldouble.
26755 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
26756 libm_alias_ldouble.
26757 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
26758 <libm-alias-ldouble.h>.
26759 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26760 libm_alias_ldouble.
26761 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26762 <libm-alias-ldouble.h>.
26763 (getpayloadl): Define using libm_alias_ldouble.
26764 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26765 <libm-alias-ldouble.h>.
26766 (llrintl): Define using libm_alias_ldouble.
26767 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26768 <libm-alias-ldouble.h>.
26769 (llroundl): Define using libm_alias_ldouble.
26770 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26771 <libm-alias-ldouble.h>.
26772 (lrintl): Define using libm_alias_ldouble.
26773 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26774 <libm-alias-ldouble.h>.
26775 (lroundl): Define using libm_alias_ldouble.
26776 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26777 <libm-alias-ldouble.h>.
26778 (modfl): Define using libm_alias_ldouble.
26779 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26780 <libm-alias-ldouble.h>.
26781 (nextupl): Define using libm_alias_ldouble.
26782 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26783 <libm-alias-ldouble.h>.
26784 (remquol): Define using libm_alias_ldouble.
26785 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26786 <libm-alias-ldouble.h>.
26787 (roundevenl): Define using libm_alias_ldouble.
26788 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26789 <libm-alias-ldouble.h>.
26790 (roundl): Define using libm_alias_ldouble.
26791 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26792 using libm_alias_ldouble.
26793 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26794 <libm-alias-ldouble.h>.
26795 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26796 <libm-alias-ldouble.h>.
26797 (setpayloadsigl): Define using libm_alias_ldouble.
26798 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26799 <libm-alias-ldouble.h>.
26800 (sincosl): Define using libm_alias_ldouble.
26801 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26802 <libm-alias-ldouble.h>.
26803 (sinl): Define using libm_alias_ldouble.
26804 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26805 <libm-alias-ldouble.h>.
26806 (tanhl): Define using libm_alias_ldouble.
26807 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26808 <libm-alias-ldouble.h>.
26809 (tanl): Define using libm_alias_ldouble.
26810 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26811 <libm-alias-ldouble.h>.
26812 (totalorderl): Define using libm_alias_ldouble.
26813 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26814 <libm-alias-ldouble.h>.
26815 (totalordermagl): Define using libm_alias_ldouble.
26816 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26817 libm_alias_ldouble.
26818 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26819 libm_alias_ldouble.
26820
26821 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26822
26823 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26824 memmove_falkor.
26825 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26826 (__libc_ifunc_impl_list): Likewise.
26827 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26828 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26829
26830 * benchtests/bench-memmove-walk.c: New file.
26831 * benchtests/Makefile (string-benchset): Add it.
26832
26833 * benchtests/bench-memset-walk.c: New file.
26834 * benchtests/Makefile (string-benchset): Add it.
26835
26836 * benchtests/bench-memcpy-walk.c: New file.
26837 * benchtests/Makefile (string-benchset): Add it.
26838
26839 2017-10-05 Florian Weimer <fweimer@redhat.com>
26840
26841 nscd: Eliminate compilation time dependency in the build output.
26842 * nscd/nscd_stat.c (STATDATA_VERSION)
26843 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26844 (STATDATA_VERSION_FULL): New macro definitions.
26845 (compilation): Remove.
26846 (struct statdata): Adjust version member.
26847 (send_stats): Set version from STATDATA_VERSION_FULL.
26848 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26849
26850 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26851
26852 * configure.ac (--enable-add-ons): Remove option.
26853 (machine): Do not mention add-ons in comment.
26854 (LIBC_PRECONFIGURE): Likewise.
26855 (add_ons): Remove variable and sanity checks and logic to locate
26856 add-ons.
26857 (add_ons_automatic): Remove variable.
26858 (configured_add_ons): Likewise.
26859 (add_ons_sfx): Likewise.
26860 (add_ons_pfx): Likewise.
26861 (add_on_subdirs): Likewise.
26862 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26863 consideration of add-ons in Implies handling.
26864 (sysdeps_add_ons): Likewise.
26865 * configure: Regenerated.
26866 * libidn/configure.ac: Remove.
26867 * libidn/configure: Likewise.
26868 * sysdeps/unix/inet/configure.ac: New file.
26869 * sysdeps/unix/inet/configure: New generated file.
26870 * sysdeps/unix/inet/Subdirs: Add libidn.
26871 * Makeconfig (sysdeps-srcdirs): Remove variable.
26872 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26873 ($(common-objpfx)config.status): Do not depend on add-on files.
26874 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26875 comment.
26876 (all-subdirs): Do not include $(add-on-subdirs).
26877 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26878 * config.make.in (add-ons): Remove variable.
26879 (add-on-subdirs): Likewise.
26880 (sysdeps-add-ons): Likewise.
26881 * manual/Makefile (add-chapters): Remove.
26882 ($(objpfx)texis): Do not depend on $(add-chapters).
26883 (nonexamples): Do not handle $(add-chapters).
26884 (examples): Do not handle $(add-ons).
26885 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26886 libc-texinfo.sh.
26887 * manual/install.texi (Installation): Do not mention add-ons.
26888 (--enable-add-ons): Do not document configure option.
26889 * INSTALL: Regenerated.
26890 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26891 * manual/maint.texi (Hierarchy Conventions): Do not mention
26892 add-ons.
26893 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26894 --enable-add-ons.
26895 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26896 add-ons.
26897 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26898 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26899
26900 2017-10-05 Andreas Schwab <schwab@suse.de>
26901
26902 [BZ #15142]
26903 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26904 (_IO_flush_all_lockp): Always lock list_all_lock.
26905 (_IO_flush_all_linebuffered): Likewise.
26906 (_IO_unbuffer_all): Likewise.
26907
26908 2017-10-05 Florian Weimer <fweimer@redhat.com>
26909
26910 [BZ #15436]
26911 Do not flush stdio streams on abort.
26912 * stdlib/abort.c (fflush): Remove macro definition.
26913 (abort): Remove stages related to stdio flushing.
26914
26915 2017-10-05 Florian Weimer <fweimer@redhat.com>
26916
26917 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26918
26919 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26920
26921 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26922
26923 2017-10-05 Florian Weimer <fweimer@redhat.com>
26924
26925 * support/support_format_hostent.c (support_format_hostent): Add
26926 more error information for NETDB_INTERNAL.
26927
26928 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26929
26930 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26931 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26932 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26933 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26934 AC_DEFINE if multi-arch is enabled.
26935 * sysdeps/i386/configure: Regenerated.
26936
26937 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26938
26939 * Makeconfig (+link-static-before-libc): Use
26940 $(DEFAULT-LDFLAGS-$(@F)).
26941 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26942 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26943 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26944
26945 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26946
26947 * elf/Makefile (tests): Add tst-main1.
26948 (modules-names): Add tst-main1mod.
26949 ($(objpfx)tst-main1): New.
26950 (CRT-tst-main1): Likewise.
26951 (LDFLAGS-tst-main1): Likewise.
26952 (LDLIBS-tst-main1): Likewise.
26953 (tst-main1mod.so-no-z-defs): Likewise.
26954 * elf/tst-main1.c: New file.
26955 * elf/tst-main1mod.c: Likewise.
26956
26957 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26958
26959 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26960
26961 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26962
26963 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26964 (fma): Define using libm_alias_double.
26965 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26966 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26967 <math_ldbl_opt.h>.
26968 (fmal): Do not define as compat symbol here.
26969 * sysdeps/alpha/fpu/s_fma.c: New file.
26970
26971 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26972
26973 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26974
26975 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26976
26977 [BZ #22229]
26978 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26979 <math_ldbl_opt.h>
26980 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26981 and libc.
26982 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26983 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26984 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26985 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26987 Include <math_ldbl_opt.h>
26988 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26989 and libc.
26990 (compat_symbol): Undefine and redefine.
26991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26992 <math_ldbl_opt.h>
26993 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26994 (compat_symbol): Undefine and redefine.
26995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26996 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26997 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26998 GLIBC_2_1 for libm.
26999 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27000 GLIBC_2.0 copysignl symbol.
27001 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27002 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27003
27004 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27005
27006 2017-10-04 Florian Weimer <fweimer@redhat.com>
27007
27008 * scripts/check-local-headers.sh: Ignore nspr4 header file
27009 directory in addition to nspr.
27010
27011 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
27012
27013 [BZ #17956]
27014 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27015 * configure: Regenerate.
27016 * crypt/Makefile (nss-cpp-flags): New variable.
27017 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27018 (CPPFLAGS-md5-crypt.c): Use it.
27019 * scripts/check-local-headers.sh: Ignore nspr header file
27020 directory.
27021
27022 2017-10-04 Andreas Schwab <schwab@suse.de>
27023
27024 * nis/Makefile (services): Remove compat.
27025 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27026 ($(objpfx)libnss_compat.so): Remove rule.
27027 * nis/Versions (libnss_compat): Remove.
27028 * nss/Makefile (services): Add compat.
27029 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27030 * nss/Versions (libnss_compat): Define.
27031 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27032 Don't include <rpc/types.h>. Replace bool_t by bool.
27033 * nss/nss_compat/compat-initgroups.c: Likewise.
27034 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27035 instead of <rpcsrv/ypclnt.h>.
27036 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27037 yp_get_default_domain.
27038 * nss/nss_compat/compat-pwd.c: Likewise.
27039 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27040 yp_get_default_domain.
27041 * nss/nss_compat/nisdomain.c: New file.
27042 * nss/nss_compat/nisdomain.h: Likewise.
27043
27044 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27045
27046 [BZ #22244]
27047 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27048 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27049
27050 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27051
27052 [BZ #22243]
27053 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27054 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27055
27056 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27057
27058 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27059 "movl main@GOTOFF(%ebx), %eax".
27060
27061 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27062
27063 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27064 allow undefined _DYNAMIC in PIE libc.a.
27065 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27066 Likewse.
27067
27068 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27069
27070 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27071 check _DYNAMIC.
27072
27073 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27074
27075 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27076 check _DYNAMIC.
27077
27078 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27079
27080 * math/test-math-iscanonical.cc (error): Replace bool with int.
27081
27082 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27083
27084 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27085 (modf): Define using libm_alias_double, only if [!__modf].
27086 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27087 <libm-alias-double.h>.
27088 (modf): Define using libm_alias_double, only if [!__modf].
27089 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27090 compat symbol here.
27091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27092 (weak_alias): Do not undefine and redefine.
27093 (strong_alias): Likewise.
27094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27095 (weak_alias): Likewise.
27096 (strong_alias): Likewise.
27097
27098 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27099 (logb): Define using libm_alias_double, only if [!__logb].
27100 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27101 <libm-alias-double.h>.
27102 (logb): Define using libm_alias_double, only if [!__logb].
27103 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27105 (weak_alias): Do not undefine and redefine.
27106 (strong_alias): Likewise.
27107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27108 (weak_alias): Likewise.
27109 (strong_alias): Likewise.
27110
27111 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27112
27113 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27114 Check SHARED instead PIC.
27115
27116 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27117
27118 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27119 [!__fmaf] (fmaf): Define using libm_alias_float.
27120
27121 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27122 (frexp): Define using libm_alias_double.
27123 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27124 <libm-alias-double.h>.
27125 (frexp): Define using libm_alias_double.
27126 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27127 compat symbol here.
27128
27129 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27130
27131 [BZ #22235]
27132 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27133 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27134 (CFLAGS-test-math-iscanonical.cc): New variable.
27135 * math/test-math-iscanonical.cc: New file.
27136 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27137 Provide a C++ implementation based on function overloading,
27138 rather than using __MATH_TG, which uses C-only builtins.
27139 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27140 Likewise.
27141 * sysdeps/powerpc/powerpc64le/Makefile
27142 (CFLAGS-test-math-iscanonical.cc): New variable.
27143
27144 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27145
27146 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27147 (ceil): Define using libm_alias_double.
27148 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27149 (floor): Define using libm_alias_double.
27150 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27151 <libm-alias-double.h>.
27152 (llround): Define using libm_alias_double.
27153 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27154 <libm-alias-double.h>.
27155 (lround): Define using libm_alias_double.
27156 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27157 <libm-alias-double.h>.
27158 (nearbyint): Define using libm_alias_double.
27159 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27160 <libm-alias-double.h>.
27161 (remquo): Define using libm_alias_double.
27162 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27163 (rint): Define using libm_alias_double.
27164 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27165 (round): Define using libm_alias_double.
27166 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27167 (trunc): Define using libm_alias_double.
27168 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27169 <libm-alias-double.h>.
27170 (ceil): Define using libm_alias_double.
27171 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27172 <libm-alias-double.h>.
27173 (floor): Define using libm_alias_double.
27174 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27175 <libm-alias-double.h>.
27176 (llround): Define using libm_alias_double.
27177 [_LP64] (lround): Likewise.
27178 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27179 <libm-alias-double.h>.
27180 [!_LP64] (lround): Define using libm_alias_double.
27181 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27182 <libm-alias-double.h>.
27183 (nearbyint): Define using libm_alias_double.
27184 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27185 <libm-alias-double.h>.
27186 (remquo): Define using libm_alias_double.
27187 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27188 <libm-alias-double.h>.
27189 (rint): Define using libm_alias_double.
27190 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27191 <libm-alias-double.h>.
27192 (round): Define using libm_alias_double.
27193 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27194 <libm-alias-double.h>.
27195 (trunc): Define using libm_alias_double.
27196 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27197 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27198 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27199 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27200 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27201 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27202 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27203 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27204 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27205
27206 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27207
27208 * math/w_remainder.c: New file.
27209 * math/w_remainderf.c: New file.
27210 * math/w_remainderl.c: New file.
27211
27212 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27213
27214 * elf/rtld.c (BOOTSTRAP_MAP): New.
27215 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27216 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27217 Likewise.
27218 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27219 Likewise.
27220 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27221 Likewise.
27222
27223 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27224
27225 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27226 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27227 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27228 rtld_hidden_data_ver): Define to empty.
27229 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27230 __assert_perror_fail): Likewise.
27231 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27232 (__rewinddir): Likewise.
27233 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27234 (__profile_frequency): Likewise.
27235 * include/setjmp.h (__sigsetjmp): Likewise.
27236 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27237 __libc_sigaction): Likewise.
27238 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27239 not set hidden attribute.
27240 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27241 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27242 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27243 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27244 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27245 __fxstatat64): Likewise.
27246 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27247 (__uname): Likewise.
27248 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27249 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27250 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27251 (NO_RTLD_HIDDEN): Set.
27252 * sysdeps/mach/hurd/configure: Refresh.
27253 * config.h.in: Refresh.
27254
27255 2017-10-02 Joseph Myers <joseph@codesourcery.com>
27256
27257 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27258 (atan): Define using libm_alias_double.
27259 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27260 (tan): Define using libm_alias_double.
27261 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27262 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27263
27264 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27265 define as weak alias of __atan. Do not define any aliases if
27266 [__atan].
27267 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27268 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27269 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27270 as weak alias of __tan. Do not define any aliases if [__tan].
27271 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27272 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27273 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27274 __atan.
27275 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27276 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27277 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27278 and define as weak alias of __atan.
27279 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27280 __atan.
27281 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27282 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27283 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27284 define as weak alias of __tan.
27285
27286 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27287
27288 * math/w_lgamma.c: New file.
27289 * math/w_lgammaf.c: New file.
27290 * math/w_lgammal.c: New file.
27291
27292 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27293
27294 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27295 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27296 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27297 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27298 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27299 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27300 * sysdeps/i386/fpu/w_log2f.c: New file.
27301 * sysdeps/i386/fpu/w_logf.c: New file.
27302 * sysdeps/i386/fpu/w_powf.c: New file.
27303 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27304 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27305 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27306
27307 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27308 H.J. Lu <hongjiu.lu@intel.com>
27309
27310 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27311 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27312 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27313 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27314 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27315 the new expf code.
27316 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27317 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27318 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27319 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27320 * sysdeps/i386/fpu/w_exp2f.c: New file.
27321 * sysdeps/i386/fpu/w_expf.c: New file.
27322 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27323 * sysdeps/x86_64/fpu/w_expf.c: New file.
27324
27325 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27326
27327 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27328 (log2f): Likewise.
27329 (powf): Likewise.
27330 * math/w_log2f.c: New file.
27331 * math/w_logf.c: New file.
27332 * math/w_powf.c: New file.
27333 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27334 * math/w_logf_compat.c (__logf_compat): Likewise.
27335 * math/w_powf_compat.c (__powf_compat): Likewise.
27336 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27337 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27338 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27339 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27340 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27341 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27342 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27343 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27344 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27345 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27346 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27347 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27348 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27349 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27350 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27352 Likewise.
27353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27354 Likewise.
27355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27356 Likewise.
27357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27358 Likewise.
27359 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27360 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27361 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27362 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27363 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27365 Likewise.
27366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27367 Likewise.
27368 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27369 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27370 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27371
27372 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27373
27374 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27375 (sysdep_routines): Add memrchr_power8.
27376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27377 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27378 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27379 New file.
27380 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27381 (memrchr): Add __memrchr_power8 to ifunc list.
27382 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27383
27384 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27385
27386 [BZ #18822]
27387 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27388 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27389 libc_hidden_def.
27390 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27391 (__posix_fallocate64_l64): Likewise.
27392
27393 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27394
27395 [BZ #18822]
27396 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27397 (__sched_setaffinity_new): Add libc_hidden_proto and
27398 libc_hidden_def.
27399
27400 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27401
27402 [BZ #18822]
27403 * include/glob.h (__glob64): Add libc_hidden_proto.
27404 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27405 libc_hidden_def.
27406
27407 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27408
27409 [BZ #18822]
27410 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27411 attribute_hidden.
27412
27413 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27414
27415 [BZ #18822]
27416 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27417
27418 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27419
27420 [BZ #18822]
27421 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27422 libc_hidden_def.
27423
27424 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27425
27426 [BZ #18822]
27427 * csu/version.c (__libc_print_version): Add attribute_hidden.
27428
27429 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27430
27431 [BZ #18822]
27432 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27433
27434 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27435
27436 [BZ #18822]
27437 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27438
27439 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27440
27441 [BZ #18822]
27442 * nscd/nscd_helper.c (__nis_hash): New prototype.
27443
27444 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27445
27446 [BZ #18822]
27447 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27448 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27449 libc_hidden_def.
27450 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27451 * termios/tcgetattr.c (__tcgetattr): Likewise.
27452
27453 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27454
27455 [BZ #18822]
27456 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27457 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27458 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27459 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27460 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27461
27462 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27463
27464 [BZ #18822]
27465 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27466
27467 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27468
27469 [BZ #18822]
27470 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27471 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27472
27473 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27474
27475 [BZ #18822]
27476 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27477
27478 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27479
27480 [BZ #18822]
27481 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27482 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27483
27484 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27485
27486 [BZ #18822]
27487 * include/ifreq.h: New file.
27488 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27489 (__ifreq): Likewise.
27490 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27491 (__ifreq): Likewise.
27492
27493 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27494
27495 [BZ #18822]
27496 * include/idna.h: New file.
27497 * inet/getnameinfo.c: Include <idna.h> instead of
27498 <libidn/idna.h>.
27499 (__idna_to_unicode_lzlz): Removed.
27500 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27501 <libidn/idna.h>.
27502 (__idna_to_ascii_lz): Removed.
27503 (__idna_to_unicode_lzlz): Likewise.
27504
27505 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27506
27507 [BZ #18822]
27508 * include/plural-exp.h: New file.
27509 * intl/plural-exp.c: Include <plural-exp.h> instead of
27510 "plural-exp.h".
27511
27512 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27513
27514 [BZ #18822]
27515 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27516 "getsourcefilter.h".
27517 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27518 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27519 "getsourcefilter.h".
27520 (__get_sol): Removed.
27521
27522 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27523
27524 [BZ #18822]
27525 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27526 to ...
27527 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27528
27529 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27530
27531 [BZ #18822]
27532 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27533 attribute_hidden.
27534
27535 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27536
27537 [BZ #18822]
27538 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27539
27540 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27541
27542 [BZ #18822]
27543 * include/search.h (__tdestroy): Add libc_hidden_proto.
27544 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27545
27546 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27547
27548 [BZ #18822]
27549 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27550
27551 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27552
27553 [BZ #18822]
27554 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27555 attribute_hidden.
27556
27557 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27558
27559 [BZ #18822]
27560 * include/signal.h (__kill): Add libc_hidden_proto.
27561 (__sigblock): Likewise.
27562 (__sigprocmask): Likewise.
27563 (__sigaltstack): Likewise.
27564 * signal/kill.c (__kill): Add libc_hidden_def.
27565 * signal/sigblock.c (__sigblock): Likewise.
27566 * signal/sigprocmask.c (__sigprocmask): Likewise.
27567 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27568 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27569 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27570 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27571 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27572 Likewise.
27573 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27574 Likewise.
27575 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27576 (__sigprocmask): Likewise.
27577 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27578 Likewise.
27579 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27580 (__sigprocmask): Likewise.
27581 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27582 Likewise.
27583
27584 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27585
27586 [BZ #18822]
27587 * include/string.h (__strsep): Add libc_hidden_proto.
27588 * string/strsep.c (__strsep): Add libc_hidden_def.
27589
27590 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27591
27592 [BZ #18822]
27593 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27594 attribute_hidden.
27595 (__spawni): Likewise.
27596
27597 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27598
27599 [BZ #18822]
27600 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27601 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27602 libc_hidden_def.
27603
27604 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27605
27606 [BZ #18822]
27607 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27608
27609 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27610
27611 [BZ #18822]
27612 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27613 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27614 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27615 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27616 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27617 Likewise.
27618 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27619 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27620
27621 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27622
27623 [BZ #18822]
27624 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27625 (__dcigettext): Likewise.
27626
27627 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27628
27629 [BZ #18822]
27630 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27631 libc_hidden_proto.
27632 (__get_nprocs): Likewise.
27633 (__get_phys_pages): Likewise.
27634 (__get_avphys_pages): Likewise.
27635 (__get_child_max): Add attribute_hidden.
27636 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
27637 (__get_nprocs): Likewise.
27638 (__get_phys_pages): Likewise.
27639 (__get_avphys_pages): Likewise.
27640 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
27641 libc_hidden_def.
27642 (__get_nprocs): Likewise.
27643 (__get_phys_pages): Likewise.
27644 (__get_avphys_pages): Likewise.
27645 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
27646 libc_hidden_def.
27647 (__get_nprocs_conf): Likewise.
27648 (__get_phys_pages): Likewise.
27649 (__get_avphys_pages): Likewise.
27650
27651 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27652
27653 [BZ #18822]
27654 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27655 attribute_hidden.
27656 (__netlink_close): Likewise.
27657 (__netlink_free_handle): Likewise.
27658 (__netlink_request): Likewise.
27659
27660 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27661
27662 [BZ #18822]
27663 * include/rpc/rpc.h (__rpc_thread_variables): Add
27664 attribute_hidden.
27665 (__rpc_thread_svc_cleanup): Likewise.
27666 (__rpc_thread_clnt_cleanup): Likewise.
27667 (__rpc_thread_key_cleanup): Likewise.
27668
27669 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27670
27671 [BZ #18822]
27672 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27673 (__writev): Likewise.
27674 * misc/readv.c (__readv): Add libc_hidden_def.
27675 * misc/writev.c (__writev): Likewise.
27676 * sysdeps/posix/readv.c (__readv): Likewise.
27677 * sysdeps/posix/writev.c (__writev): Likewise.
27678 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27679 (__readv): Likewise.
27680 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27681 (__writev): Likewise.
27682
27683 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27684
27685 [BZ #18822]
27686 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27687 (__regcomp): Add libc_hidden_proto.
27688 (__regexec): Likewise.
27689 (__regfree): Likewise.
27690 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27691 (__regfree): Likewise.
27692 * posix/regexec.c (__regexec): Likewise.
27693
27694 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27695
27696 [BZ #18822]
27697 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27698 (__getutent): Likewise.
27699 (__getutid): Likewise.
27700 (__getutline): Likewise.
27701 (__pututline): Likewise.
27702 (__getutent_r): Likewise.
27703 (__getutid_r): Likewise.
27704 (__getutline_r): Likewise.
27705 (__utmpname): Add attribute_hidden.
27706 (__setutent): Likewise.
27707 (__endutent): Likewise.
27708 * login/getutent.c (__getutent): Add libc_hidden_def.
27709 * login/getutent_r.c (__getutent_r): Likewise.
27710 (__pututline): Likewise.
27711 * login/getutid.c (__getutid): Likewise.
27712 * login/getutid_r.c (__getutid_r): Likewise.
27713 * login/getutline.c (__getutline): Likewise.
27714 * login/getutline_r.c (__getutline_r): Likewise.
27715 * login/updwtmp.c (__updwtmp): Likewise.
27716
27717 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27718
27719 [BZ #18822]
27720 * include/dirent.h (__opendir): Always add attribute_hidden.
27721 (__fdopendir): Likewise.
27722 (__closedir): Likewise.
27723 (__readdir): Likewise.
27724 (__readdir64): Add libc_hidden_proto.
27725 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
27726 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
27727 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
27728 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
27729 New alias.
27730
27731 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27732
27733 [BZ #18822]
27734 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
27735 * include/netdb.h (__gethostbyaddr_r): Likewise.
27736 (__gethostbyname_r): Likewise.
27737 (__gethostbyname2_r): Likewise.
27738 (__getnetbyaddr_r): Likewise.
27739 (__getnetbyname_r): Likewise.
27740 (__getservbyname_r): Likewise.
27741 (__getservbyport_r): Likewise.
27742 (__getprotobyname_r): Likewise.
27743 (__getprotobynumber_r): Likewise.
27744 (__getnetgrent_r): Likewise.
27745 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
27746 (__getrpcbynumber_r): Likewise.
27747 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
27748
27749 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27750
27751 [BZ #18822]
27752 * include/stdio.h (__fcloseall): Add attribute_hidden.
27753 (__getline): Likewise.
27754 (__path_search): Likewise.
27755 (__gen_tempname): Likewise.
27756 (__libc_message): Likewise.
27757 (__flockfile): Likewise.
27758 (__funlockfile): Likewise.
27759 (__fxprintf): Likewise.
27760 (__fxprintf_nocancel): Likewise.
27761
27762 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27763
27764 [BZ #18822]
27765 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27766 (__sgetsgent_r): Likewise.
27767
27768 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27769
27770 [BZ #18822]
27771 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27772 (__statfs64): Likewise.
27773 (__fstatfs64): Likewise.
27774 * include/sys/statvfs.h (__statvfs64): Likewise.
27775 (__fstatvfs64): Likewise.
27776 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27777 (__statfs_filesize_max): Likewise.
27778 (__statfs_symlinks): Likewise.
27779 (__statfs_chown_restricted): Likewise.
27780
27781 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27782
27783 [BZ #18822]
27784 * include/time.h (__tzstring): Add attribute_hidden.
27785 (__tzfile_read): Likewise.
27786 (__tzfile_compute): Likewise.
27787 (__tzfile_default): Likewise.
27788 (__tzset_parse_tz): Likewise.
27789 (__offtime): Likewise.
27790 (__asctime_r): Likewise.
27791 (__tzset): Likewise.
27792 (__tz_convert): Likewise.
27793 (__getdate_r): Likewise.
27794 (__getclktck): Likewise.
27795
27796 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27797
27798 [BZ #18822]
27799 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27800 (__nscd_unmap): Likewise.
27801 (__nscd_cache_search): Likewise.
27802 (__nscd_get_nl_timestamp): Likewise.
27803 (__nscd_getpwnam_r): Likewise.
27804 (__nscd_getpwuid_r): Likewise.
27805 (__nscd_getgrnam_r): Likewise.
27806 (__nscd_getgrgid_r): Likewise.
27807 (__nscd_gethostbyname_r): Likewise.
27808 (__nscd_gethostbyname2_r): Likewise.
27809 (__nscd_gethostbyaddr_r): Likewise.
27810 (__nscd_getai): Likewise.
27811 (__nscd_getgrouplist): Likewise.
27812 (__nscd_getservbyname_r): Likewise.
27813 (__nscd_getservbyport_r): Likewise.
27814 (__nscd_innetgr): Likewise.
27815 (__nscd_setnetgrent): Likewise.
27816
27817 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27818
27819 [BZ #18822]
27820 * include/gmp.h: Declare internal functions only if _ISOMAC is
27821 undefined.
27822 (__mpn_extract_double): Add attribute_hidden.
27823 (__mpn_extract_long_double): Likewise.
27824 (__mpn_extract_float128): Likewise.
27825 (__mpn_construct_float): Likewise.
27826 (__mpn_construct_double): Likewise.
27827 (__mpn_construct_long_double): Likewise.
27828 (__mpn_construct_float128): Likewise.
27829 (mpn_add_1): Likewise.
27830 (mpn_addmul_1): Likewise.
27831 (mpn_add_n): Likewise.
27832 (mpn_cmp): Likewise.
27833 (mpn_divrem): Likewise.
27834 (mpn_lshift): Likewise.
27835 (mpn_mul): Likewise.
27836 (mpn_mul_1): Likewise.
27837 (mpn_rshift): Likewise.
27838 (mpn_sub_1): Likewise.
27839 (mpn_submul_1): Likewise.
27840 (mpn_sub_n): Likewise.
27841
27842 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27843
27844 [BZ #18822]
27845 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27846 (__wcscat): Likewise.
27847 (__btowc): Likewise.
27848 (__wcrtomb): Likewise.
27849 (__mbsrtowcs): Likewise.
27850 (__wcsrtombs): Likewise.
27851 (__mbsnrtowcs): Likewise.
27852 (__wcsnrtombs): Likewise.
27853 (__wcsncpy): Likewise.
27854 (__wcpncpy): Likewise.
27855 (__wmemcpy): Likewise.
27856 (__wmempcpy): Likewise.
27857 (__wmemmove): Likewise.
27858 (__wcschrnul): Likewise.
27859 (__vfwscanf): Likewise.
27860 (__vswprintf): Likewise.
27861 (__fwprintf): Likewise.
27862 (__vfwprintf): Likewise.
27863
27864 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27865
27866 [BZ #18822]
27867 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27868 (__getgrgid_r): Likewise.
27869 (__getgrnam_r): Likewise.
27870 * include/pwd.h (__getpwuid_r): Likewise.
27871 (__getpwnam_r): Likewise.
27872 (__fgetpwent_r): Likewise.
27873 * include/shadow.h (__getspnam_r): Likewise.
27874 (__sgetspent_r): Likewise.
27875 (__fgetspent_r): Likewise.
27876
27877 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27878
27879 [BZ #18822]
27880 * include/unistd.h (__access): Add attribute_hidden.
27881 (__lseek64): Likewise.
27882 (__libc_pread64): Likewise.
27883 (__pipe2): Likewise.
27884 (__sleep): Likewise.
27885 (__chdir): Likewise.
27886 (__fchdir): Likewise.
27887 (__getcwd): Likewise.
27888 (__rmdir): Likewise.
27889 (__execvpe): Likewise.
27890 (__execve): Likewise.
27891 (__setsid): Likewise.
27892 (__getuid): Likewise.
27893 (__geteuid): Likewise.
27894 (__getgid): Likewise.
27895 (__getegid): Likewise.
27896 (__getgroups): Likewise.
27897 (__group_member): Likewise.
27898 (__ttyname_r): Likewise.
27899 (__isatty): Likewise.
27900 (__readlink): Likewise.
27901 (__unlink): Likewise.
27902 (__gethostname): Likewise.
27903 (__profil): Likewise.
27904 (__getdtablesize): Likewise.
27905 (__brk): Likewise.
27906 (__ftruncate): Likewise.
27907 (__ftruncate64): Likewise.
27908
27909 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27910
27911 [BZ #18822]
27912 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27913 * argp/argp-fs-xinl.c: Likewise.
27914 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27915 * argp/argp-parse.c: Include <argp.h>.
27916 * argp/argp-xinl.c: Likewise.
27917 * include/argp-fmtstream.h: New file.
27918 * include/argp.h (__argp_error): Add attribute_hidden.
27919 (__argp_failure): Likewise.
27920 (__argp_input): Likewise.
27921 (__argp_state_help): Likewise.
27922
27923 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27924
27925 [BZ #18822]
27926 * include/wchar.h (____wcstof_l_internal): New prototype.
27927 (____wcstod_l_internal): Likewise.
27928 (____wcstold_l_internal): Likewise.
27929 (____wcstol_l_internal): Likewise.
27930 (____wcstoul_l_internal): Likewise.
27931 (____wcstoll_l_internal): Likewise.
27932 (____wcstoull_l_internal): Likewise.
27933 (____wcstof128_l_internal): Likewise.
27934 * sysdeps/ieee754/float128/wcstof128.c
27935 (____wcstof128_l_internal): Removed.
27936 * sysdeps/ieee754/float128/wcstof128_l.c
27937 (____wcstof128_l_internal): Likewise.
27938 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27939 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27940 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27941 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27942 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27943 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27944 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27945 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27946 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27947 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27948
27949 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27950
27951 [BZ #18822]
27952 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27953 instead of <sys/statvfs.h>.
27954 (__internal_statvfs): Removed.
27955 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27956 instead of <sys/statvfs.h>.
27957 (__internal_statvfs64): Removed.
27958 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27959 "internal_statvfs.h" instead of <sys/statvfs.h>.
27960 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27961 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27962 instead of <sys/statvfs.h>.
27963 (__internal_statvfs): Removed.
27964 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27965 instead of <sys/statvfs.h>.
27966 (__internal_statvfs64): Removed.
27967
27968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27969
27970 [BZ #18822]
27971 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27972 (__gconv_close): Likewise.
27973 (__gconv): Likewise.
27974 (__gconv_find_transform): Likewise.
27975 (__gconv_lookup_cache): Likewise.
27976 (__gconv_compare_alias_cache): Likewise.
27977 (__gconv_load_cache): Likewise.
27978 (__gconv_get_path): Likewise.
27979 (__gconv_close_transform): Likewise.
27980 (__gconv_release_cache): Likewise.
27981 (__gconv_find_shlib): Likewise.
27982 (__gconv_release_shlib): Likewise.
27983 (__gconv_get_builtin_trans): Likewise.
27984 (__gconv_compare_alias): Likewise.
27985 * include/dlfcn.h (_dlerror_run): Likewise.
27986 * include/stdio.h (__fortify_fail_abort): Likewise.
27987 * include/time.h (__tz_compute): Likewise.
27988 (__strptime_internal): Likewise.
27989 * intl/gettextP.h (_nl_find_domain): Likewise.
27990 (_nl_load_domain): Likewise.
27991 (_nl_find_msg): Likewise.
27992 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27993 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27994 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27995 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27996 (__gai_find_request): Likewise.
27997 (__gai_remove_request): Likewise.
27998 (__gai_notify): Likewise.
27999 (__gai_notify_only): Likewise.
28000 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28001 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28002 (_dl_non_dynamic_init): Likewise.
28003 (_dl_aux_init): Likewise.
28004 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28005 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28006 Likewise.
28007 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28008 (__wcsmbs_clone_conv): Likewise.
28009 (__wcsmbs_named_conv): Likewise.
28010
28011 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28012
28013 [BZ #18822]
28014 * include/stdlib.h (__random): Add attribute_hidden.
28015 (__random_r): Likewise.
28016 (__srandom_r): Likewise.
28017 (__initstate_r): Likewise.
28018 (__setstate_r): Likewise.
28019 (__erand48_r): Likewise.
28020 (__nrand48_r): Likewise.
28021 (__jrand48_r): Likewise.
28022 (__srand48_r): Likewise.
28023 (__seed48_r): Likewise.
28024 (__lcong48_r): Likewise.
28025 (__drand48_iterate): Likewise.
28026 (__setenv): Likewise.
28027 (__unsetenv): Likewise.
28028 (__clearenv): Likewise.
28029 (__ptsname_r): Likewise.
28030 (__posix_openpt): Likewise.
28031 (__add_to_environ): Likewise.
28032 (__realpath): Add libc_hidden_proto.
28033 (__ecvt_r): Likewise.
28034 (__fcvt_r): Likewise.
28035 (__qecvt_r): Likewise.
28036 (__qfcvt_r): Likewise.
28037 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28038 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28039
28040 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28041
28042 [BZ #18822]
28043 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28044 * include/time.h (__mktime_internal): Likewise.
28045 * libio/iolibio.h (__fopen_internal): Likewise.
28046
28047 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
28048
28049 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28050 pointer in frame.
28051 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28052 Correct offset used to restore PIC register.
28053
28054 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
28055
28056 [BZ libc/22165]
28057 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28058 code to load address of __getcontext_ret when generating PIC code.
28059
28060 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28061
28062 * elf/Makefile (tests-static-internal): Add
28063 tst-tls1-static-non-pie.
28064 (LDFLAGS-tst-tls1-static-non-pie): New.
28065 * elf/tst-tls1-static-non-pie.c: New file.
28066
28067 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28068
28069 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28070 (asinh): Define using libm_alias_double.
28071 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28072 (cbrt): Define using libm_alias_double.
28073 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28074 <libm-alias-double.h>.
28075 (copysign): Define using libm_alias_double.
28076 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28077 (erf): Define using libm_alias_double.
28078 (erfc): Likewise.
28079 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28080 (expm1): Define using libm_alias_double.
28081 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28082 (fabs): Define using libm_alias_double.
28083 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28084 libm_alias_double.
28085 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28086 <libm-alias-double.h>.
28087 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28088 libm_alias_double.
28089 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28090 <libm-alias-double.h>.
28091 (getpayload): Define using libm_alias_double.
28092 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28093 <libm-alias-double.h>.
28094 (llrint): Define using libm_alias_double.
28095 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28096 (lrint): Define using libm_alias_double.
28097 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28098 <libm-alias-double.h>.
28099 (nextup): Define using libm_alias_double.
28100 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28101 <libm-alias-double.h>.
28102 (roundeven): Define using libm_alias_double.
28103 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28104 libm_alias_double.
28105 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28106 <libm-alias-double.h>.
28107 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28108 using libm_alias_double.
28109 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28110 (cos): Define using libm_alias_double.
28111 (sin): Likewise.
28112 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28113 <libm-alias-double.h>.
28114 (sincos): Define using libm_alias_double.
28115 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28116 (tanh): Define using libm_alias_double.
28117 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28118 <libm-alias-double.h>.
28119 (totalorder): Define using libm_alias_double.
28120 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28121 <libm-alias-double.h>.
28122 (totalordermag): Define using libm_alias_double.
28123 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28124 libm_alias_double.
28125 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28126 libm_alias_double.
28127 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28128 <libm-alias-double.h>.
28129 (getpayload): Define using libm_alias_double.
28130 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28131 <libm-alias-double.h>.
28132 (roundeven): Define using libm_alias_double.
28133 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28134 <libm-alias-double.h>.
28135 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28136 <libm-alias-double.h>.
28137 (totalorder): Define using libm_alias_double.
28138 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28139 <libm-alias-double.h>.
28140 (totalordermag): Define using libm_alias_double.
28141 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28142 libc compat symbol here.
28143 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28144 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28145 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28146 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28147 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28148 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28149 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28150 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28151 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28152 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28153
28154 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28155
28156 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28157 _dl_relocate_static_pie instead of _dl_start to compute load
28158 address in static PIE. Return 0 if _DYNAMIC is undefined for
28159 static executable.
28160
28161 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28162
28163 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28164 _DYNAMIC is undefined for static executable.
28165
28166 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28167
28168 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28169
28170 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28171
28172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28173
28174 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28175
28176 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28177 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28178 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28179 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28180 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28181 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28182 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28183 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28184 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28185 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28186 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28187 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28188 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28189 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28190 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28191 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28192 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28193
28194 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28195
28196 * math/bits/cmathcalls.h (cimag): Remove inline.
28197 (creal): Remove inline.
28198 (conj): Remove inline.
28199
28200 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28201
28202 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28203 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28204 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28205 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28206 (issignalingf_inline): Likewise.
28207 (POWF_LOG2_TABLE_BITS): Likewise.
28208 (POWF_LOG2_POLY_ORDER): Likewise.
28209 (POWF_SCALE_BITS): Likewise.
28210 (POWF_SCALE): Likewise.
28211 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28212 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28213 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28214
28215 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28216
28217 * math/Makefile (type-float-routines): Add e_log2f_data.
28218 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28219 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28220 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28221 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28222 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28223 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28224 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28225
28226 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28227
28228 * math/Makefile (type-float-routines): Add e_logf_data.
28229 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28230 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28231 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28232 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28233 * sysdeps/i386/fpu/e_logf_data.c: New file.
28234 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28235 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28236
28237 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28238
28239 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28240 undefined _DYNAMIC in PIE libc.a.
28241 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28242 Likewse.
28243
28244 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28245
28246 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28247 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28248 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28249 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28250 (__signbit): Remove.
28251 (__signbitl): Remove.
28252 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28253 (__signbit): Remove.
28254 (__signbitl): Remove.
28255 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28256 (__signbit): Remove.
28257 (__signbitl): Remove.
28258 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28259 (__signbit): Remove.
28260 (__signbitl): Remove.
28261 * sysdeps/tile/bits/mathinline.h: Delete file.
28262 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28263 (__signbit): Remove.
28264 (__signbitl): Remove.
28265
28266 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28267
28268 * math/math.h: Improve handling of C99 isgreater macros.
28269 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28270 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28271 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28272 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28273 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28274
28275 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28276
28277 * sysdeps/aarch64/libm-test-ulps: Update.
28278
28279 2017-09-28 Joseph Myers <joseph@codesourcery.com>
28280
28281 [BZ #22225]
28282 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28283 math_opt_barrier on argument when doing arithmetic on it.
28284 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28285 Likewise. Use math_force_eval not math_opt_barrier after
28286 arithmetic.
28287 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28288 math_opt_barrier on argument when doing arithmetic on it.
28289 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28290 Likewise.
28291
28292 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28293
28294 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28295 libc_hidden_def.
28296 (__freeifaddrs): Likewise.
28297
28298 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28299
28300 * include/dirent.h (__dirfd): New declaration.
28301 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28302 alias.
28303 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28304 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28305 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
28306 * include/unistd.h (__revoke): New declaration.
28307 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28308 alias.
28309 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28310 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28311 revoke.
28312 * include/dirent.h (__seekdir): New declaration.
28313 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28314 redefine as weak alias.
28315 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28316 of seekdir.
28317 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28318 and use libc_hidden_def on them.
28319 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28320 them.
28321 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28322 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28323 instead of getifaddrs and freeifaddrs.
28324
28325 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28326
28327 [BZ #18822]
28328 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28329 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28330 (__dso_handle): Remove declaration.
28331 * dlfcn/tstatexit.c (__dso_handle): Removed.
28332 (main): Don't check __dso_handle.
28333 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28334 (main): Don't check __dso_handle.
28335 * include/dso_handle.h: New file.
28336 * malloc/mtrace.c: Include <dso_handle.h>.
28337 (mtrace): Pass __dso_handle directly.
28338 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28339 (__dso_handle): Remove declaration.
28340 (__pthread_atfork): Pass __dso_handle directly.
28341 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28342 (__dso_handle): Removed.
28343 * posix/wordexp-test.c: Include <dso_handle.h>.
28344 (__dso_handle): Remove declaration.
28345 (__app_register_atfork): Pass __dso_handle directly.
28346 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28347 (__dso_handle): Remove declaration.
28348 (at_quick_exit): Pass __dso_handle directly.
28349 * stdlib/atexit.c: Include <dso_handle.h>.
28350 (__dso_handle): Remove declaration.
28351 (atexit): Pass __dso_handle directly.
28352 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28353 (__dso_handle): Removed.
28354
28355 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28356
28357 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28358 using VDSO.
28359
28360 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28361
28362 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28363 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28364 values to correct default value for given type.
28365
28366 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28367
28368 [BZ #22101]
28369 * elf/Makefile (tests): Add tst-debug1.
28370 ($(objpfx)tst-debug1): New.
28371 ($(objpfx)tst-debug1.out): Likewise.
28372 ($(objpfx)tst-debug1mod1.so): Likewise.
28373 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28374 with p_filesz == 0.
28375 * elf/tst-debug1.c: New file.
28376
28377 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28378
28379 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28380 Define using __ifunc.
28381
28382 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28383
28384 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28385 exp2f() values.
28386
28387 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28388
28389 [BZ #22156]
28390 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28391
28392 2017-09-26 Florian Weimer <fweimer@redhat.com>
28393
28394 * resolv/Makefile (tests-internal): Fix typo in comment.
28395
28396 2017-09-26 Florian Weimer <fweimer@redhat.com>
28397
28398 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28399
28400 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28401
28402 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28403 Use an union instead of a max_align_t array for __space,
28404 so that __space is the same size on all platforms.
28405 * malloc/scratch_buffer_grow_preserve.c
28406 (__libc_scratch_buffer_grow_preserve): Likewise.
28407
28408 [BZ #22183]
28409 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28410 version to 2.
28411 * posix/Makefile (routines): Add glob-lstat-compat and
28412 glob64-lstat-compat.
28413 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28414 * posix/glob-lstat-compat.c: New file.
28415 * posix/glob64-lstat-compat.c: Likewise.
28416 * posix/tst-glob_lstat_compat.c: Likewise.
28417 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28418 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28419 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28420 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28421 Likewise.
28422 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28423 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28424 * posix/glob.c (glob_lstat): New function.
28425 (glob): Rename to __glob and add versioned symbol to 2.27.
28426 (glob_in_dir): Use glob_lstat.
28427 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28428 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28429 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28430 2.27.
28431 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28432 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28433 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28434 gl_lstat on glob call.
28435 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28436 and glob64 symbols.
28437 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28438 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28439 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28440 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28441 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28442 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28443 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28444 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28445 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28446 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28447 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28448 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28450 Likewise.
28451 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28453 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28454 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28455 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28456 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28457 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28460 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28461 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28462 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28463
28464 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28465
28466 * configure.ac (AS): Require binutils 2.25 or later.
28467 * configure: Regenerated.
28468
28469 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28470
28471 [BZ #22207]
28472 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28473 VM size.
28474
28475 2017-09-25 DJ Delorie <dj@redhat.com>
28476
28477 [BZ #22161]
28478 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28479 resetting timeout.
28480
28481 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28482
28483 * sysdeps/ieee754/dbl-64/sincos32.h
28484 [SINCCOS32_H]: Remove define.
28485 [SINCOS32_H]: Define.
28486
28487 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28488
28489 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28490 (exp2f): Likewise.
28491 * math/w_exp2f.c: New file.
28492 * math/w_expf.c: New file.
28493 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28494 * math/w_expf_compat.c (__expf_compat): Likewise.
28495 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28496 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28497 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28498 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28499 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28500 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28501 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28502 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28503 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28504 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28505 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28506 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28507 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28508 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28510 Likewise.
28511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28512 Likewise.
28513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28514 Likewise.
28515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28516 Likewise.
28517 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28518 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28519 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28520 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28521 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28523 Likewise.
28524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28525 Likewise.
28526 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28527 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28528 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28529
28530 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28531
28532 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28533 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28534 (roundtoint, converttoint): Likewise.
28535 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28536 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28537 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28538 * sysdeps/ieee754/flt-32/math_config.h: New file.
28539 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28540 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28541 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28542 * sysdeps/i386/fpu/math_errf.c: New file.
28543 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28544 * sysdeps/ia64/fpu/math_errf.c: New file.
28545 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28546 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28547
28548 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28549
28550 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28551 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28552 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28553 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28554 to make sure that these symbols are defined.
28555 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28556 of <limits.h>
28557 (__need_NULL): Do not define.
28558 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28559 alignment.
28560 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28561 CMGROUP_MAX, cmsgcred): Do not define.
28562 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28563 NULL.
28564 * bits/socket.h: Likewise.
28565 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28566 __gettimeofday instead of gettimeofday.
28567 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28568 instead of settimeofday.
28569
28570 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28571
28572 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28573 (asinhf): Define using libm_alias_float.
28574 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28575 (atanf): Define using libm_alias_float.
28576 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28577 (cbrtf): Define using libm_alias_float.
28578 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28579 (ceilf): Define using libm_alias_float.
28580 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28581 <libm-alias-float.h>.
28582 (copysignf): Define using libm_alias_float.
28583 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28584 (cosf): Define using libm_alias_float.
28585 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28586 (erff): Define using libm_alias_float.
28587 (erfcf): Likewise.
28588 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28589 (expm1f): Define using libm_alias_float.
28590 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28591 (fabsf): Define using libm_alias_float.
28592 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28593 (floorf): Define using libm_alias_float.
28594 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28595 (frexpf): Define using libm_alias_float.
28596 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28597 libm_alias_float.
28598 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28599 <libm-alias-float.h>.
28600 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28601 libm_alias_float.
28602 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28603 <libm-alias-float.h>.
28604 (getpayloadf): Define using libm_alias_float.
28605 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28606 <libm-alias-float.h>.
28607 (llrintf): Define using libm_alias_float.
28608 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28609 <libm-alias-float.h>.
28610 (llroundf): Define using libm_alias_float.
28611 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28612 (logbf): Define using libm_alias_float.
28613 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28614 (lrintf): Define using libm_alias_float.
28615 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28616 (lroundf): Define using libm_alias_float.
28617 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28618 (modff): Define using libm_alias_float.
28619 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28620 <libm-alias-float.h>.
28621 (nearbyintf): Define using libm_alias_float.
28622 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28623 <libm-alias-float.h>.
28624 (nextafterf): Define using libm_alias_float.
28625 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28626 <libm-alias-float.h>.
28627 (nextupf): Define using libm_alias_float.
28628 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28629 <libm-alias-float.h>.
28630 (remquof): Define using libm_alias_float.
28631 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28632 (rintf): Define using libm_alias_float.
28633 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28634 <libm-alias-float.h>.
28635 (roundevenf): Define using libm_alias_float.
28636 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
28637 (roundf): Define using libm_alias_float.
28638 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
28639 using libm_alias_float.
28640 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
28641 <libm-alias-float.h>.
28642 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
28643 Define using libm_alias_float.
28644 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
28645 <libm-alias-float.h>.
28646 (sincosf): Define using libm_alias_float.
28647 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
28648 (sinf): Define using libm_alias_float.
28649 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
28650 (tanf): Define using libm_alias_float.
28651 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
28652 (tanhf): Define using libm_alias_float.
28653 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28654 <libm-alias-float.h>.
28655 (totalorderf): Define using libm_alias_float.
28656 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28657 <libm-alias-float.h>.
28658 (totalordermagf): Define using libm_alias_float.
28659 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28660 (truncf): Define using libm_alias_float.
28661 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28662 libm_alias_float.
28663 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28664 libm_alias_float.
28665
28666 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28667
28668 [BZ #22146]
28669 math/math.h: Let fpclassify use the builtin in C++ mode, even
28670 when optimazing for size.
28671
28672 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28673
28674 * csu/Makefile (generated): Do not add version-info.h.
28675 (before-compile): Likewise.
28676 (all-Banner-files): Remove variable.
28677 ($(objpfx)version-info.h): Remove rule.
28678 * csu/version.c (banner): Do not include "version-info.h".
28679 * libidn/Banner: Remove.
28680 * manual/contrib.texi (Simon Josefsson): New entry.
28681
28682 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28683
28684 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28685 Remove conditionals on LDBL_MANT_DIG.
28686 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28687 (__ieee754_lgammal_r): Likewise.
28688
28689 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28690
28691 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28692 _Float128 and L().
28693 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28694 _Float128 and L(). Replace _Float128 with long double and L(x)
28695 with xL, throughout the file.
28696 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28697 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28698 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28699 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28700
28701 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28702
28703 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28704 sysdeps/ieee754/ldbl-128ibm.
28705 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28706 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28707 of including it. Keep _Float128 and L() intact. These will be
28708 reviewed by a separate patch.
28709 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28710 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28711 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28713
28714 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28715
28716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28717 (__finitef128): Define to __redirect___finitef128.
28718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28719 (__isinff128): Define to __redirect___isinff128.
28720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
28721 (__isnanf128): Define to __redirect___isnanf128.
28722
28723 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28724
28725 * sysdeps/powerpc/powerpc64le/Makefile
28726 (CFLAGS-tst-strtod-nan-locale.c): New variable.
28727 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
28728
28729 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
28730 Carlos O'Donell <carlos@redhat.com>
28731
28732 [BZ #22180]
28733 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
28734 * stdlib/test-dlclose-exit-race.c: New file.
28735 * stdlib/test-dlclose-exit-race-helper.c: New file.
28736 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
28737
28738 2017-09-21 Joseph Myers <joseph@codesourcery.com>
28739
28740 * crypt/Banner: Remove file.
28741 * nptl/Banner: Likewise.
28742 * resolv/Banner: Likewise.
28743 * soft-fp/Banner: Likewise.
28744 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
28745 ($(objpfx)version.d): Remove dependency on banner.h.
28746 ($(objpfx)version.os): Likewise.
28747 * nptl/version.c (banner): Do not include banner.h.
28748 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
28749 Jelinek and BIND code.
28750
28751 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28752 Carlos O'Donell <carlos@redhat.com>
28753
28754 * support/xdlfcn.h: New file.
28755 * support/xdlfcn.c: New file.
28756 * support/Makefile (libsupport-routines): Add xdlfcn.
28757 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28758
28759 2017-09-20 Joseph Myers <joseph@codesourcery.com>
28760
28761 [BZ #20142]
28762 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28763 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28764 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28765 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28766 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28767 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28768 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28769 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28770
28771 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28772 Ricky Zhou <rickyz@google.com>
28773 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28774
28775 [BZ #14333]
28776 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28777 Remove atomics.
28778 (__new_exitfn): Fail registration when we finished at_exit processing.
28779 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28780 * stdlib/on_exit.c (__on_exit): Likewise.
28781 * stdlib/exit.c (__exit_funcs_done): New variable.
28782 (__run_exit_handlers): Use __exit_funcs_lock.
28783 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28784 declarations.
28785 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28786 (test-cxa_atexit-race, test-on_exit-race): New tests.
28787 * stdlib/test-atexit-race-common.c: New file.
28788 * stdlib/test-atexit-race.c: New file.
28789 * stdlib/test-at_quick_exit-race.c: New file.
28790 * stdlib/test-cxa_atexit-race.c: New file.
28791 * stdlib/test-on_exit-race.c: New file.
28792
28793 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28794
28795 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28796 * benchtests/exp2f-inputs: Copy of expf-inputs.
28797 * benchtests/log2f-inputs: Copy of logf-inputs.
28798
28799 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28800
28801 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28802 Explicitly take address of first element of array arguments in
28803 call to INLINE_SYSCALL.
28804
28805 2017-09-19 Andreas Schwab <schwab@suse.de>
28806
28807 [BZ #22134]
28808 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28809 execveat first.
28810 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28811 unimplemented.
28812 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28813 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28814 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28815 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28816 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28817 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28818 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28819 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28820 * posix/Makefile (tests): Add tst-fexecve.
28821 * posix/tst-fexecve.c: New file.
28822
28823 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28824
28825 * benchtests/Makefile: Add logf benchmark.
28826 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28827
28828 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28829
28830 * benchtests/Makefile: Add expf benchmark.
28831 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28832
28833 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28834
28835 * csu/Makefile: Add -funwind-tables to libc-start.c.
28836 * debug/Makefile: Add -funwind-tables to backtrace.c.
28837 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28838 * sysdeps/arm/Makefile: Likewise.
28839 * sysdeps/i386/Makefile: Likewise.
28840 * sysdeps/m68k/Makefile: Likewise.
28841 * sysdeps/mips/Makefile: Likewise.
28842 * sysdeps/nios2/Makefile: Likewise.
28843 * sysdeps/sh/Makefile: Likewise.
28844 * sysdeps/sparc/Makefile: Likewise.
28845
28846 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28847
28848 * benchtests/Makefile (bench-math): Add trunc and truncf.
28849 (CFLAGS-bench-trunc.c): New variable.
28850 (CFLAGS-bench-truncf.c): Likewise.
28851 * benchtests/trunc-inputs: New file.
28852 * benchtests/truncf-inputs: Likewise.
28853
28854 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28855
28856 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28857
28858 2017-09-18 Joseph Myers <joseph@codesourcery.com>
28859
28860 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28861 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28862 redefine.
28863 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28864 (exp10l): Define as weak alias.
28865 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28866 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28867 and redefine.
28868 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28869 (remainderl): Define as weak alias.
28870
28871 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28872 (fmal): Define using libm_alias_ldouble.
28873 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28874 (acoshl): Define using libm_alias_ldouble.
28875 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28876 (acosl): Define using libm_alias_ldouble.
28877 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28878 (asinl): Define using libm_alias_ldouble.
28879 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28880 (atan2l): Define using libm_alias_ldouble.
28881 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28882 (atanhl): Define using libm_alias_ldouble.
28883 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28884 (coshl): Define using libm_alias_ldouble.
28885 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28886 (exp10l): Define using libm_alias_ldouble.
28887 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28888 (exp2l): Define using libm_alias_ldouble.
28889 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28890 (expl): Define using libm_alias_ldouble.
28891 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28892 (fmodl): Define using libm_alias_ldouble.
28893 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28894 (hypotl): Define using libm_alias_ldouble.
28895 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28896 (j0l): Define using libm_alias_ldouble.
28897 (y0l): Likewise.
28898 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28899 (j1l): Define using libm_alias_ldouble.
28900 (y1l): Likewise.
28901 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28902 (jnl): Define using libm_alias_ldouble.
28903 (ynl): Likewise.
28904 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28905 (log10l): Define using libm_alias_ldouble.
28906 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28907 (log2l): Define using libm_alias_ldouble.
28908 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28909 (logl): Define using libm_alias_ldouble.
28910 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28911 (powl): Define using libm_alias_ldouble.
28912 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28913 (remainderl): Define using libm_alias_ldouble.
28914 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28915 (sinhl): Define using libm_alias_ldouble.
28916 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28917 (sqrtl): Define using libm_alias_ldouble.
28918 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28919 (tgammal): Define using libm_alias_ldouble.
28920 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28921 (exp10l): Do not use long_double_symbol here.
28922 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28923 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28924 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28925 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28926 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28927 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28928 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28929 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28930 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28931 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28932 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28933 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28934 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28935 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28936 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28937 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28938 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28939 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28940 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28941 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28942 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28943 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28944
28945 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28946
28947 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28948 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28949
28950 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28951
28952 * io/read.c (read): Add libc_hidden_weak.
28953 * sysdeps/mach/hurd/read.c (read): Likewise.
28954 * io/write.c (write): Likewise.
28955 * sysdeps/mach/hurd/write.c (write): Likewise.
28956 * io/pread64.c (__pread64): Likewise.
28957 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28958 * posix/pread64.c (__pread64): Add libc_hidden_def.
28959
28960 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28961
28962 * benchtests/scripts/compare_strings.py: New option -g.
28963 (draw_graph): Print a message that a graph is being generated.
28964 (process_results): Generate graph only if -g is passed.
28965 (main): Process option -g.
28966
28967 * benchtests/scripts/compare_strings.py (process_results):
28968 Better spacing for output.
28969
28970 * benchtests/scripts/compare_strings.py: Use argparse.
28971 * benchtests/README: Document existence of compare_strings.py.
28972
28973 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28974
28975 * math/s_fma.c: Include <libm-alias-double.h>.
28976 (fma): Define using libm_alias_double.
28977 * math/s_nextafter.c: Include <libm-alias-double.h>.
28978 (nextafter): Define using libm_alias_double.
28979 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28980 (acos): Define using libm_alias_double.
28981 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28982 (aocsh): Define using libm_alias_double.
28983 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28984 (asin): Define using libm_alias_double.
28985 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28986 (atan2): Define using libm_alias_double.
28987 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28988 (atanh): Define using libm_alias_double.
28989 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28990 (cosh): Define using libm_alias_double.
28991 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28992 (exp10): Define using libm_alias_double.
28993 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28994 (exp2): Define using libm_alias_double.
28995 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28996 (exp): Define using libm_alias_double.
28997 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28998 (fmod): Define using libm_alias_double.
28999 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29000 (hypot): Define using libm_alias_double.
29001 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29002 (j0): Define using libm_alias_double.
29003 (y0): Likewise.
29004 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29005 (j1): Define using libm_alias_double.
29006 (y1): Likewise.
29007 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29008 (jn): Define using libm_alias_double.
29009 (yn): Likewise.
29010 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29011 (log10): Define using libm_alias_double.
29012 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29013 (log2): Define using libm_alias_double.
29014 * math/w_log_compat.c: Include <libm-alias-double.h>.
29015 (log): Define using libm_alias_double.
29016 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29017 (pow): Define using libm_alias_double.
29018 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29019 (remainder): Define using libm_alias_double.
29020 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29021 (sinh): Define using libm_alias_double.
29022 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29023 (sqrt): Define using libm_alias_double.
29024 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29025 (tgamma): Define using libm_alias_double.
29026 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29027 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29028 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29029 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29030 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29031 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29032 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29033 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29034 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29035 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29036 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29037 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29038 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29039 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29040 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29041 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29042 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29043 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29044 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29045 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29046 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29047 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29048 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29049 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29050 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29051
29052 * math/e_acoshl.c: Remove.
29053 * math/e_acosl.c: Likewise.
29054 * math/e_asinl.c: Likewise.
29055 * math/e_atan2l.c: Likewise.
29056 * math/e_atanhl.c: Likewise.
29057 * math/e_coshl.c: Likewise.
29058 * math/e_expl.c: Likewise.
29059 * math/e_fmodl.c: Likewise.
29060 * math/e_gammal_r.c: Likewise.
29061 * math/e_hypotl.c: Likewise.
29062 * math/e_j0l.c: Likewise.
29063 * math/e_j1l.c: Likewise.
29064 * math/e_jnl.c: Likewise.
29065 * math/e_lgammal_r.c: Likewise.
29066 * math/e_log10l.c: Likewise.
29067 * math/e_log2l.c: Likewise.
29068 * math/e_logl.c: Likewise.
29069 * math/e_powl.c: Likewise.
29070 * math/e_rem_pio2l.c: Likewise.
29071 * math/e_sinhl.c: Likewise.
29072 * math/e_sqrtf128.c: Likewise.
29073 * math/e_sqrtl.c: Likewise.
29074 * math/k_cosl.c: Likewise.
29075 * math/k_sinl.c: Likewise.
29076 * math/k_tanl.c: Likewise.
29077 * math/s_asinhl.c: Likewise.
29078 * math/s_atanl.c: Likewise.
29079 * math/s_cbrtl.c: Likewise.
29080 * math/s_erfl.c: Likewise.
29081 * math/s_expm1l.c: Likewise.
29082 * math/s_log1pl.c: Likewise.
29083 * math/s_tanhl.c: Likewise.
29084
29085 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29086
29087 [BZ #21745]
29088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29089 [$(subdir) = math] (sysdep_calls): New variable. Has the
29090 previous contents of sysdep_routines, but re-sorted..
29091 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29092 sysdep_calls.
29093 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29094 defined in sysdep_calls and replace by the respective m_* names.
29095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29096 (compat_symbol): Undefine to avoid duplicated compat symbols in
29097 libc.
29098
29099 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29100
29101 * math/s_fmaf.c: Include <libm-alias-float.h>.
29102 (fmaf): Define using libm_alias_float.
29103 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29104 (acosf): Define using libm_alias_float.
29105 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29106 (acoshf): Define using libm_alias_float.
29107 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29108 (asinf): Define using libm_alias_float.
29109 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29110 (atan2f): Define using libm_alias_float.
29111 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29112 (atanhf): Define using libm_alias_float.
29113 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29114 (coshf): Define using libm_alias_float.
29115 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29116 (exp10f): Define using libm_alias_float.
29117 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29118 (fmodf): Define using libm_alias_float.
29119 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29120 (hypotf): Define using libm_alias_float.
29121 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29122 (j0f): Define using libm_alias_float.
29123 (y0f): Likewise.
29124 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29125 (j1f): Define using libm_alias_float.
29126 (y1f): Likewise.
29127 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29128 (jnf): Define using libm_alias_float.
29129 (ynf): Likewise.
29130 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29131 (log10f): Define using libm_alias_float.
29132 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29133 (log2f): Define using libm_alias_float.
29134 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29135 (logf): Define using libm_alias_float.
29136 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29137 (powf): Define using libm_alias_float.
29138 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29139 (remainderf): Define using libm_alias_float.
29140 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29141 (sinhf): Define using libm_alias_float.
29142 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29143 (sqrtf): Define using libm_alias_float.
29144 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29145 (tgammaf): Define using libm_alias_float.
29146
29147 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29148
29149 * include/math.h (roundeven): Change hidden_proto call to
29150 __roundeven.
29151 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29152 alias.
29153 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29154 (y0): Rename to __y0 and define as weak alias.
29155 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29156 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29157 alias.
29158 (y0f): Rename to __y0f and define as weak alias.
29159 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29160 alias.
29161 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29162 (y1): Rename to __y1 and define as weak alias.
29163 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29164 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29165 alias.
29166 (y1f): Rename to __y1f and define as weak alias.
29167 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29168 alias.
29169 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29170 (yn): Rename to __yn and define as weak alias.
29171 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29172 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29173 alias.
29174 (ynf): Rename to __ynf and define as weak alias.
29175 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29176 (fromfp): Define as weak alias.
29177 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29178 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29179 (fromfpx): Define as weak alias.
29180 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29181 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29182 __getpayload and define as weak alias.
29183 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29184 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29185 __roundeven and define as weak alias.
29186 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29187 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29188 __setpayload.
29189 (setpayload): Define as weak alias.
29190 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29191 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29192 __setpayloadsig.
29193 (setpayloadsig): Define as weak alias.
29194 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29195 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29196 __totalorder and define as weak alias.
29197 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29198 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29199 to __totalordermag and define as weak alias.
29200 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29201 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29202 (ufromfp): Define as weak alias.
29203 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29204 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29205 __ufromfpx.
29206 (ufromfpx): Define as weak alias.
29207 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29208 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29209 Rename to __getpayload and define as weak alias.
29210 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29211 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29212 Rename to __roundeven and define as weak alias.
29213 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29214 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29215 Rename to __totalorder and define as weak alias.
29216 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29217 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29218 (totalordermag): Rename to __totalordermag and define as weak
29219 alias.
29220 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29221 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29222 macro.
29223 (__roundevenl): Likewise.
29224 (__totalorderl): Likewise.
29225 (__totalordermagl): Likewise
29226 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29227 __fromfpf128.
29228 (fromfpf128): Define as weak alias.
29229 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29230 __fromfpxf128.
29231 (fromfpxf128): Define as weak alias.
29232 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29233 __setpayloadf128.
29234 (setpayloadf128): Define as weak alias.
29235 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29236 __setpayloadsigf128.
29237 (setpayloadsigf128): Define as weak alias.
29238 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29239 __ufromfpf128.
29240 (ufromfpf128): Define as weak alias.
29241 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29242 __ufromfpxf128.
29243 (ufromfpxf128): Define as weak alias.
29244 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29245 (fromfpf): Define as weak alias.
29246 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29247 __fromfpxf.
29248 (fromfpxf): Define as weak alias.
29249 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29250 __getpayloadf and define as weak alias.
29251 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29252 __roundevenf and define as weak alias.
29253 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29254 __setpayloadf.
29255 (setpayloadf): Define as weak alias.
29256 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29257 __setpayloadsigf.
29258 (setpayloadsigf): Define as weak alias.
29259 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29260 __totalorderf and define as weak alias.
29261 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29262 Rename to __totalordermagf and define as weak alias.
29263 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29264 __ufromfpf.
29265 (ufromfpf): Define as weak alias.
29266 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29267 __ufromfpxf.
29268 (ufromfpxf): Define as weak alias.
29269 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29270 __fromfpl.
29271 (fromfpl): Define as weak alias.
29272 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29273 __fromfpxl.
29274 (fromfpxl): Define as weak alias.
29275 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29276 to __getpayloadl and define as weak alias.
29277 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29278 __roundevenl and define as weak alias.
29279 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29280 __setpayloadl.
29281 (setpayloadl): Define as weak alias.
29282 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29283 __setpayloadsigl.
29284 (setpayloadsigl): Define as weak alias.
29285 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29286 to __totalorderl and define as weak alias.
29287 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29288 Rename to __totalordermagl and define as weak alias.
29289 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29290 __ufromfpl.
29291 (ufromfpl): Define as weak alias.
29292 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29293 __ufromfpxl.
29294 (ufromfpxl): Define as weak alias.
29295 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29296 __fromfpl.
29297 (fromfpl): Define as weak alias.
29298 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29299 __fromfpxl.
29300 (fromfpxl): Define as weak alias.
29301 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29302 Rename to __getpayloadl and define as weak alias.
29303 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29304 to __roundevenl and define as weak alias. Call __roundeven
29305 instead of roundeven.
29306 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29307 __setpayloadl.
29308 (setpayloadl): Define as weak alias.
29309 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29310 __setpayloadsigl.
29311 (setpayloadsigl): Define as weak alias.
29312 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29313 Rename to __totalorderl and define as weak alias.
29314 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29315 Rename to __totalordermagl and define as weak alias.
29316 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29317 __ufromfpl.
29318 (ufromfpl): Define as weak alias.
29319 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29320 __ufromfpxl.
29321 (ufromfpxl): Define as weak alias.
29322 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29323 __fromfpl.
29324 (fromfpl): Define as weak alias.
29325 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29326 __fromfpxl.
29327 (fromfpxl): Define as weak alias.
29328 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29329 __getpayloadl and define as weak alias.
29330 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29331 __roundevenl and define as weak alias.
29332 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29333 __setpayloadl.
29334 (setpayloadl): Define as weak alias.
29335 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29336 __setpayloadsigl.
29337 (setpayloadsigl): Define as weak alias.
29338 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29339 __totalorderl and define as weak alias.
29340 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29341 Rename to __totalordermagl and define as weak alias.
29342 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29343 __ufromfpl.
29344 (ufromfpl): Define as weak alias.
29345 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29346 __ufromfpxl.
29347 (ufromfpxl): Define as weak alias.
29348
29349 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29350
29351 * benchtests/bench-string.h (realloc_bufs): New function.
29352 (test_init): Call it.
29353 * benchtests/bench-memset-large.c (do_test): Likewise.
29354 * benchtests/bench-memset.c (do_test): Likewise.
29355
29356 * benchtests/bench-memset-large.c: Print output in JSON
29357 format.
29358 * benchtests/bench-memset.c: Likewise.
29359
29360 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29361
29362 [BZ #21084]
29363 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29364 * iconvdata/Makefile: Add IBM858.
29365 * iconvdata/gconv-modules: Likewise.
29366 * iconvdata/tst-tables.sh: Likewise.
29367 * iconvdata/ibm858.c: New file.
29368 * localedata/charmaps/IBM858: Likewise.
29369
29370 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
29371
29372 [BZ #22023]
29373 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29374 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29375
29376 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29377
29378 [BZ #22112]
29379 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29380 and add tel_int_fmt.
29381
29382 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29383
29384 * sysdeps/generic/libm-alias-float128.h: New file.
29385 * sysdeps/generic/math-type-macros-float128.h: Include
29386 <libm-alias-float128.h>.
29387 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29388
29389 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29390
29391 * sysdeps/generic/libm-alias-ldouble.h: New file.
29392 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29393 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29394 * sysdeps/generic/math-type-macros-ldouble.h: Include
29395 <libm-alias-ldouble.h>.
29396 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29397 libm_alias_ldouble.
29398
29399 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29400
29401 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29402 * math/w_exp_compat.c: ... here.
29403 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29404 * math/w_expf_compat.c: ... here.
29405 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29406 * math/w_expl_compat.c: ... here.
29407 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29408 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29409 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29410 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29411
29412 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29413
29414 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29415 redefine.
29416 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29417 macro.
29418 (ldexpl): Only define as compat symbol for libc, not libm.
29419 (scalbnl): Define as compat symbol for libc here.
29420 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29421 define for [IS_IN (libc)].
29422 (__ldexpl_2): Remove alias.
29423 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29424 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29425 name in long_double_symbol call.
29426 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29427 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29428 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29429 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29430 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29431 Remove macro.
29432 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29433 Define as compat symbol.
29434
29435 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29436
29437 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29438 * sysdeps/unix/sysv/linux/alpha/Makefile
29439 [$(subdir) = csu] (sysdep_routines): Remove rule.
29440
29441 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29442
29443 * sysdeps/generic/libm-alias-double.h: New file.
29444 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29445 * sysdeps/generic/math-type-macros-double.h: Include
29446 <libm-alias-double.h>.
29447 [declare_mgen_alias] (declare_mgen_alias): Define to use
29448 libm_alias_double.
29449 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29450 (M_LIBM_NEED_COMPAT): Remove macro.
29451 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29452 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29453 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29454 code.
29455 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29456 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29457 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29458 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29459 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29460 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29461 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29462 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29463 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29464 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29465 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29466 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29467 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29468 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29469 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29470 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29471 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29472 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29473 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29474 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29475 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29476 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29477 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29478 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29479 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29480 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29481 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29482 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29483 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29484 macro.
29485 (declare_mgen_alias): New macro.
29486 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29487 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29489 (M_LIBM_NEED_COMPAT): Remove macro.
29490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29491 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29492 <first-versions.h>.
29493 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29494 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29495
29496 2017-09-12 Joseph Myers <joseph@codesourcery.com>
29497
29498 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29499 (declare_mgen_alias_2): Remove.
29500 * sysdeps/generic/math-type-macros-double.h
29501 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29502 Likewise.
29503 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29504 alias.
29505 (ldexp): Define with declare_mgen_alias.
29506 (scalbn): Likewise.
29507
29508 2017-09-12 Steve Ellcey <sellcey@cavium.com>
29509
29510 * grp/initgroups.c: Include config.h.
29511 (DEFAULT_CONFIG): New macro.
29512 (internal_getgrouplist): Use DEFAULT_CONFIG.
29513 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29514 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29515 (DEFAULT_DEFCONFIG): New macro.
29516 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29517 * nss/grp-lookup.c: Include config.h
29518 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29519 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29520 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29521 * manual/nss.texi: Update default values section.
29522
29523 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29524
29525 [BZ #21967]
29526 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29527 New.
29528 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29529 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29530 Handle MathVec_Prefer_No_AVX512.
29531 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29532 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29533 is set.
29534
29535 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29536
29537 * posix/sched_primax.c (__sched_get_priority_max): Add
29538 libc_hidden_def.
29539 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29540 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29541 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29542 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29543 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29544 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29545 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29546 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29547 Add aliases.
29548
29549 2017-09-11 Joseph Myers <joseph@codesourcery.com>
29550
29551 * sysdeps/generic/libm-alias-float.h: New file.
29552 * sysdeps/generic/math-type-macros-float.h: Include
29553 <libm-alias-float.h>.
29554 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29555
29556 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29557
29558 [BZ #22093]
29559 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29560 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29561 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29562 (HWCAP_IMPORTANT): Likewise.
29563 (HWCAP_X86_64): New enum.
29564 (HWCAP_X86_AVX512_1): Updated.
29565 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29566 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29567 (modules-names): Add x86_64/tst-x86_64mod-1.
29568 (LDFLAGS-tst-x86_64mod-1.so): New.
29569 ($(objpfx)tst-x86_64-1): Likewise.
29570 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29571 (tst-x86_64-1-clean): Likewise.
29572 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29573 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29574
29575 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29576
29577 * po/sv.po: Update translations.
29578 * po/fr.po: Likewise.
29579
29580 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29581
29582 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29583 seconds.
29584 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29585 seconds.
29586 * elf/rtld-Rules: Fix $(error) use.
29587
29588 2017-09-09 Mike FABIAN <mfabian@redhat.com>
29589
29590 [BZ #14925]
29591 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29592 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29593 * localedata/locales/bn_BD: “Bengali” was still used in some
29594 comments. Change it to “Bangla”.
29595
29596 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29597
29598 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29599
29600 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29601
29602 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29603 thunderx2t99p1 to list of cpu names.
29604 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29605 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29606
29607 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29608
29609 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29610 Use strcmp instead of tunable_is_name.
29611
29612 2017-09-08 Joseph Myers <joseph@codesourcery.com>
29613
29614 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29615 (F_GET_RW_HINT): New macro.
29616 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29617 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29618 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29619 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29620 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29621 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29622 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29623 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29624 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29625
29626 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29627 (F_ADD_SEALS): New macro.
29628 [__USE_GNU] (F_GET_SEALS): Likewise.
29629 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29630 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29631 [__USE_GNU] (F_SEAL_GROW): Likewise.
29632 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29633
29634 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29635
29636 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
29637 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
29638 * posix/glob_internal.h (__glob_pattern_type):
29639 * posix/glob.c (glob):
29640 * posix/glob_pattern_p.c (__glob_pattern_p):
29641 Use them.
29642
29643 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
29644 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29645 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
29646 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
29647 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
29649 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
29650 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
29651 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29652 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29653 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29654 * sysdeps/wordsize-64/glob.c: Likewise.
29655 * sysdeps/wordsize-64/glob64.c: Likewise.
29656 * sysdeps/wordsize-64/globfree.c: Likewise.
29657 * sysdeps/wordsize-64/globfree64.c: Likewise.
29658 * sysdeps/unix/sysv/linux/glob.c: New file.
29659 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29660 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29661 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29662 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29663 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29664 adds !GLOB_NO_OLD_VERSION as an extra condition.
29665 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29666 using relative path instead of absolute one.
29667 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29668 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29669 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29670 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29671 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29672 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29673
29674 [BZ #1062]
29675 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29676 (glob): Use the same scratch buffer for both getlogin_r and
29677 getpwnam_r. Don’t require preallocation of the login name. This
29678 simplifies storage allocation, and corrects the handling of
29679 long login names.
29680
29681 [BZ #1062]
29682 * posix/glob.c (glob): Port recent patches to platforms
29683 lacking getpwnam_r.
29684 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29685 returns an error number rather than setting errno.
29686
29687 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29688 instead of GCC extension.
29689 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29690 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29691 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29692
29693 [BZ #866]
29694 [BZ #1062]
29695 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29696 * posix/bug-glob1.c: Remove file.
29697 * posix/tst-glob_symlinks.c: New file.
29698 * posix/glob.c (__lstat64): New macro.
29699 (is_dir): New function.
29700 (glob, glob_in_dir): Match symlinks even if they are dangling.
29701 (link_stat, link_exists_p): Remove. All uses removed.
29702
29703 [BZ #1062]
29704 [BZ #19971]
29705 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29706 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
29707 All uses removed.
29708
29709 [BZ #1062]
29710 CVE-2017-15671
29711 * posix/Makefile (routines): Add globfree, globfree64, and
29712 glob_pattern_p.
29713 * posix/flexmember.h: New file.
29714 * posix/glob_internal.h: Likewise.
29715 * posix/glob_pattern_p.c: Likewise.
29716 * posix/globfree.c: Likewise.
29717 * posix/globfree64.c: Likewise.
29718 * sysdeps/gnu/globfree64.c: Likewise.
29719 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29720 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29721 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
29722 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29723 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29724 * sysdeps/wordsize-64/globfree.c: Likewise.
29725 * sysdeps/wordsize-64/globfree64.c: Likewise.
29726 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
29727 [NDEBUG): Remove comments.
29728 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
29729 (dirent_type): New type. Use uint_fast8_t not
29730 uint8_t, as C99 does not require uint8_t.
29731 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
29732 (struct readdir_result): Use dirent_type. Do not define skip_entry
29733 unless it is needed; this saves a byte on platforms lacking d_ino.
29734 (readdir_result_type, readdir_result_skip_entry):
29735 New functions, replacing ...
29736 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
29737 these functions, which were removed. This makes the callers
29738 easier to read. All callers changed.
29739 (D_INO_TO_RESULT): Now empty if there is no d_ino.
29740 (size_add_wrapv, glob_use_alloca): New static functions.
29741 (glob, glob_in_dir): Check for size_t overflow in several places,
29742 and fix some size_t checks that were not quite right.
29743 Remove old code using SHELL since Bash no longer
29744 uses this.
29745 (glob, prefix_array): Separate MS code better.
29746 (glob_in_dir): Remove old Amiga and VMS code.
29747 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
29748 separate files.
29749 (glob_in_dir): Do not rely on undefined behavior in accessing
29750 struct members beyond their bounds. Use a flexible array member
29751 instead
29752 (link_stat): Rename from link_exists2_p and return -1/0 instead of
29753 0/1. Caller changed.
29754 (glob): Fix memory leaks.
29755 * posix/glob64 (globfree64): Move to separate file.
29756 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
29757 (globfree64): Remove hidden alias.
29758 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29759 oldglob.
29760 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29761 separate file.
29762 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29763 define.
29764 Move compat code to separate file.
29765 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29766 separate file.
29767
29768 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29769
29770 * resolv/tst-resolv-qtypes.c (domain): Changed to
29771 "const char domain[] =".
29772
29773 2017-09-07 Joseph Myers <joseph@codesourcery.com>
29774
29775 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29776 version to 3.1.6.
29777
29778 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29779 (TCP_MD5SIG_EXT): Likewise.
29780 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29781 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29782 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29783
29784 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29785
29786 2017-09-07 Mike FABIAN <mfabian@redhat.com>
29787
29788 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29789
29790 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
29791
29792 [BZ #22100]
29793 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29794
29795 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29796
29797 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29798 before assuming that the file is empty. Avoid testing buffer content
29799 when nread == 0.
29800
29801 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29802
29803 [BZ #18858]
29804 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29805 Remove define.
29806 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29807 Likewise.
29808 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29809 Likewise.
29810 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29811 Likewise.
29812 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29813 Likewise.
29814 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29815 Likewise.
29816 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29817 Likewise.
29818
29819 2017-09-06 Florian Weimer <fweimer@redhat.com>
29820
29821 * malloc/dynarray_emplace_enlarge.c
29822 (__libc_dynarray_emplace_enlarge): Add missing else.
29823
29824 2017-09-06 Florian Weimer <fweimer@redhat.com>
29825
29826 [BZ #22096]
29827 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29828 case of failure to obtain the global conf object.
29829
29830 2017-09-06 Florian Weimer <fweimer@redhat.com>
29831
29832 [BZ #22095]
29833 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29834 dynarray allocation failure.
29835
29836 2017-09-06 Florian Weimer <fweimer@redhat.com>
29837
29838 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29839 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29840 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29841 New functions.
29842 (response): Call them. Add 'p', '6' flag processing.
29843 (test_reverse): New function.
29844 (test_get2_any): Call it.
29845 (test_no_inet6): Add 'p' test.
29846 (test_inet6): Likewise.
29847
29848 2017-09-06 Florian Weimer <fweimer@redhat.com>
29849
29850 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29851 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29852 the QNAME.
29853 (test_gai): Adjust query names. Add additional tests.
29854 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29855 test_get2. Adjust query names. Add additional tests.
29856 (test_no_inet6): New function, extracted from threadfunc.
29857 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29858 Add additional tests.
29859
29860 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29861
29862 [BZ #22070]
29863 * localedata/unicode-gen/utf8_gen.py: Set the width for
29864 characters with Prepended_Concatenation_Mark property to 1
29865 * localedata/charmaps/UTF-8: Updated using the improved script.
29866
29867 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29868
29869 [BZ #21750]
29870 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29871 use the range notation for all ranges of neighbouring characters
29872 with the same width.
29873
29874 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29875
29876 * sysdeps/generic/math-type-macros-double.h: Include
29877 <math-svid-compat.h>.
29878 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29879 * sysdeps/generic/math-type-macros-float.h: Include
29880 <math-svid-compat.h>.
29881 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29882 * sysdeps/generic/math-type-macros-ldouble.h: Include
29883 <math-svid-compat.h>.
29884 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29885 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29886 condition.
29887 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29888 * math/w_acosf_compat.c: Likewise.
29889 * math/w_acosh_compat.c: Likewise.
29890 * math/w_acoshf_compat.c: Likewise.
29891 * math/w_acoshl_compat.c: Likewise.
29892 * math/w_acosl_compat.c: Likewise.
29893 * math/w_asin_compat.c: Likewise.
29894 * math/w_asinf_compat.c: Likewise.
29895 * math/w_asinl_compat.c: Likewise.
29896 * math/w_atan2_compat.c: Likewise.
29897 * math/w_atan2f_compat.c: Likewise.
29898 * math/w_atan2l_compat.c: Likewise.
29899 * math/w_atanh_compat.c: Likewise.
29900 * math/w_atanhf_compat.c: Likewise.
29901 * math/w_atanhl_compat.c: Likewise.
29902 * math/w_cosh_compat.c: Likewise.
29903 * math/w_coshf_compat.c: Likewise.
29904 * math/w_coshl_compat.c: Likewise.
29905 * math/w_exp10_compat.c: Likewise.
29906 * math/w_exp10f_compat.c: Likewise.
29907 * math/w_exp10l_compat.c: Likewise.
29908 * math/w_exp2_compat.c: Likewise.
29909 * math/w_exp2f_compat.c: Likewise.
29910 * math/w_exp2l_compat.c: Likewise.
29911 * math/w_fmod_compat.c: Likewise.
29912 * math/w_fmodf_compat.c: Likewise.
29913 * math/w_fmodl_compat.c: Likewise.
29914 * math/w_hypot_compat.c: Likewise.
29915 * math/w_hypotf_compat.c: Likewise.
29916 * math/w_hypotl_compat.c: Likewise.
29917 * math/w_j0_compat.c: Likewise.
29918 * math/w_j0f_compat.c: Likewise.
29919 * math/w_j0l_compat.c: Likewise.
29920 * math/w_j1_compat.c: Likewise.
29921 * math/w_j1f_compat.c: Likewise.
29922 * math/w_j1l_compat.c: Likewise.
29923 * math/w_jn_compat.c: Likewise.
29924 * math/w_jnf_compat.c: Likewise.
29925 * math/w_jnl_compat.c: Likewise.
29926 * math/w_lgamma_r_compat.c: Likewise.
29927 * math/w_lgammaf_r_compat.c: Likewise.
29928 * math/w_lgammal_r_compat.c: Likewise.
29929 * math/w_log10_compat.c: Likewise.
29930 * math/w_log10f_compat.c: Likewise.
29931 * math/w_log10l_compat.c: Likewise.
29932 * math/w_log2_compat.c: Likewise.
29933 * math/w_log2f_compat.c: Likewise.
29934 * math/w_log2l_compat.c: Likewise.
29935 * math/w_log_compat.c: Likewise.
29936 * math/w_logf_compat.c: Likewise.
29937 * math/w_logl_compat.c: Likewise.
29938 * math/w_pow_compat.c: Likewise.
29939 * math/w_powf_compat.c: Likewise.
29940 * math/w_powl_compat.c: Likewise.
29941 * math/w_remainder_compat.c: Likewise.
29942 * math/w_remainderf_compat.c: Likewise.
29943 * math/w_remainderl_compat.c: Likewise.
29944 * math/w_sinh_compat.c: Likewise.
29945 * math/w_sinhf_compat.c: Likewise.
29946 * math/w_sinhl_compat.c: Likewise.
29947 * math/w_sqrt_compat.c: Likewise.
29948 * math/w_sqrtf_compat.c: Likewise.
29949 * math/w_sqrtl_compat.c: Likewise.
29950 * math/w_tgamma_compat.c: Likewise.
29951 * math/w_tgammaf_compat.c: Likewise.
29952 * math/w_tgammal_compat.c: Likewise.
29953 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29954 [LIBM_SVID_COMPAT].
29955 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29956 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29957 [LIBM_SVID_COMPAT].
29958 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29959 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29960 [LIBM_SVID_COMPAT].
29961 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29962 * sysdeps/i386/fpu/w_sqrt.c: New file.
29963 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29964 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29965 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29966 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29967 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29968 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29969 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29970 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29971 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29972 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29973 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29974 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29975 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29976 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29977 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29978 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29979 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29980 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29981 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29982 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29983 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29984 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29985 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29986 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29987 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29988 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29989 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29990 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29991 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29992 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29993 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29994 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29995 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29996 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29997 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29998 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29999 * sysdeps/ia64/fpu/w_log.c: Likewise.
30000 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30001 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30002 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30003 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30004 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30005 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30006 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30007 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30008 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30009 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30010 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30011 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30012 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30013 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30014 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30015 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30016 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30017 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30018 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30019 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30020 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30021 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30022 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30023 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30024 [LIBM_SVID_COMPAT].
30025 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30026 * sysdeps/ieee754/k_standard.c: Likewise.
30027 * sysdeps/ieee754/k_standardf.c: Likewise.
30028 * sysdeps/ieee754/k_standardl.c: Likewise.
30029 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30030 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30031 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30032 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30033 long_double_symbol call on [LIBM_SVID_COMPAT].
30034 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30035 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30036 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30037 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30038 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30039 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30040 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30041 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30042 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30043 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30044 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30045 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30046 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30047 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30048 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30049 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30050 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30051 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30052 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30053 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30054 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30055 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30056
30057 2017-09-05 Steve Ellcey <sellcey@cavium.com>
30058
30059 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30060 * malloc/tst-mallocstate.c: Convert from test-skeleton
30061 to test-driver. Ifdef code using TEST_COMPAT macro.
30062 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30063 * math/test-matherr.c: Likewise.
30064
30065 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30066
30067 [BZ #22086]
30068 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30069 comparing word with byte-swapped constant.
30070
30071 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
30072
30073 [BZ #20498]
30074 * locale/iso-639.def: add Miskito.
30075 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30076 * localedata/locales/miq_NI: New file.
30077
30078 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30079
30080 [BZ #18822]
30081 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30082 (__mkdir): Likewise.
30083 * io/chmod.c (__chmod): Add libc_hidden_def.
30084 * io/mkdir.c (__mkdir): Likewise.
30085 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30086 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30087 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30088 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30089
30090 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30091
30092 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30093 version to 4.13.
30094
30095 [BZ #22082]
30096 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30097 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30098
30099 2017-09-04 Florian Weimer <fweimer@redhat.com>
30100
30101 * math/math.h: Issue warning if log is defined.
30102
30103 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30104
30105 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30106 kernel version to 4.13.
30107
30108 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30109
30110 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
30111 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30112 parameter.
30113 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30114 just <bits/types.h>.
30115 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
30116 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
30117 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
30118 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
30119 * misc/preadv2.c: Include <errno.h>.
30120 * misc/preadv64v2.c: Include <errno.h>.
30121 * misc/pwritev2.c: Include <errno.h>.
30122 * misc/pwritev64v2.c: Include <errno.h>.
30123 * sysdeps/posix/preadv2.c: Include <errno.h>.
30124 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30125 Fix <unistd.h> inclusion.
30126 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30127 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
30128 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30129 __strtoul_internal): New functions.
30130 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30131 * sysdeps/posix/system.c: Include <sigsetops.h>.
30132 * sysdeps/mach/hurd/i386/Makefile
30133 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30134 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30135 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
30136 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30137 __feraiseexcept_renamed to feraiseexcept instead of
30138 __GI_feraiseexcept.
30139 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
30140 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
30141 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30142 RWF_NOWAIT): Define to 0 if undefined already.
30143 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30144 boils down to 0.
30145 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30146 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
30147
30148 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30149
30150 * manual/math.texi (pow10): Do not document.
30151 (pow10f): Likewise.
30152 (pow10l): Likewise.
30153 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30154 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30155 * math/libm-test-exp10.inc (pow10_test): Remove.
30156 (do_test): Do not call pow10.
30157 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30158 [NO_LONG_DOUBLE] (pow10l): Likewise.
30159 * math/w_exp10f_compat.c (pow10f): Likewise.
30160 * math/w_exp10l_compat.c (pow10l): Likewise.
30161 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30162 (pow10): Make into compat symbol.
30163 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30164 (pow10f): Make into compat symbol.
30165 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30166 (pow10l): Make into compat symbol.
30167 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30168 pow10.
30169 (CFLAGS-nldbl-pow10.c): Remove variable..
30170 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30171 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30172 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30173 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30174 Undefine and redefine.
30175 (pow10l): Make into compat symbol.
30176 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30177 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30178 * sysdeps/arm/libm-test-ulps: Likewise.
30179 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30180 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30181 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30182 * sysdeps/microblaze/libm-test-ulps: Likewise.
30183 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30184 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30185 * sysdeps/nios2/libm-test-ulps: Likewise.
30186 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30187 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30188 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30189 * sysdeps/sh/libm-test-ulps: Likewise.
30190 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30191 * sysdeps/tile/libm-test-ulps: Likewise.
30192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30193
30194 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30195
30196 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30197
30198 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30199
30200 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30201 "../ChangeLog.old/ChangeLog.8".
30202 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30203 "../ChangeLog.old/ChangeLog.14".
30204
30205 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30206
30207 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30208 Threads Library.
30209
30210 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30211
30212 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30213
30214 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30215
30216 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30217 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30218
30219 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30220
30221 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30222 32 atexit handlers.
30223
30224 2017-09-01 Zack Weinberg <zackw@panix.com>
30225
30226 * math/math.h (HUGE_VAL): Improve commentary.
30227
30228 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30229 Andreas Schwab <schwab@suse.de>
30230
30231 [BZ #21530]
30232 * include/stdio.h (__gen_tempfd): New function.
30233 * stdio-common/Makefile (routines): Add gentempfd.
30234 * stdio-common/gentempfd.c: New file.
30235 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30236 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30237 unnamed file first.
30238
30239 2017-09-01 Florian Weimer <fweimer@redhat.com>
30240
30241 [BZ #21915]
30242 [BZ #21922]
30243 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30244 result to determine success or failure, not the errno value.
30245 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30246 (tst-nss-files-hosts-erange): Link with -ldl.
30247 * nss/tst-nss-files-hosts-erange.c: New file.
30248 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30249 (do_test): Add NO_DATA tests.
30250 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30251 (do_test): Call it.
30252
30253 2017-09-01 Florian Weimer <fweimer@redhat.com>
30254
30255 [BZ #21922]
30256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30257 coming from gethostbyname2_r.
30258
30259 2017-09-01 Florian Weimer <fweimer@redhat.com>
30260
30261 * support/namespace.h (struct support_chroot_configuration): Add
30262 hosts, host_conf.
30263 (struct support_chroot): Add path_hosts, path_host_conf.
30264 * support/support_chroot.c (write_file): New function.
30265 (support_chroot_create): Call it to process /etc/resolv.conf,
30266 /etc/hosts, /etc/host.conf.
30267 (support_chroot_free): Update.
30268
30269 2017-09-01 Florian Weimer <fweimer@redhat.com>
30270
30271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30272 status indicates it is set.
30273
30274 2017-09-01 Florian Weimer <fweimer@redhat.com>
30275
30276 [BZ #20532]
30277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30278 function lookup failures more reliable.
30279
30280 2017-09-01 Florian Weimer <fweimer@redhat.com>
30281
30282 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30283 (getcanonname): Likewise.
30284 (gaih_inet): Likewise.
30285
30286 2017-09-01 Florian Weimer <fweimer@redhat.com>
30287
30288 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30289 (getcanonname): Likewise.
30290 (gaih_inet): Likewise.
30291
30292 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30293 Richard Henderson <rth@twiddle.net>
30294
30295 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30296 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30297 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30298 (IREG_SIZE, OREG_SIZE): New macros.
30299 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30300 (IREG_SIZE, OREG_SIZE): New macros.
30301 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30302 (IREG_SIZE): New macro.
30303 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30304 (IREG_SIZE): New macro.
30305 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30306 New includes.
30307 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30308 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30309 (__CONCATX): Handle exceptions correctly on large values that may
30310 set FE_INVALID.
30311 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30312 Initialize if not already set.
30313 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30314
30315 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30316
30317 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30318 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30319 Likewise.
30320 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30321 Likewise.
30322 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30323 Likewise.
30324 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30325 Likewise.
30326 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30327 Likewise.
30328 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30329 Likewise.
30330 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30331 Likewise.
30332 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30333 (NO_CANCELLATION): Likewise.
30334 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30335 Likewise.
30336 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30337 Likewise.
30338 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30339 Likewise.
30340 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30341 (NO_CANCELLATION): Likewise.
30342 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30343 (NO_CANCELLATION): Likewise.
30344 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30345 Likewise
30346 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30347 Likewise.
30348 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30349 Likewise.
30350 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30351 Likewise.
30352 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30353 hidden prototype.
30354 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30355 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30356
30357 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30358
30359 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30360 in resolver call.
30361
30362 2017-08-31 Florian Weimer <fweimer@redhat.com>
30363
30364 * include/libc-symbols.h (internal_function): Remove.
30365
30366 2017-08-31 Florian Weimer <fweimer@redhat.com>
30367
30368 * stdlib/fmtmsg.c (internal_addseverity): Remove
30369 internal_function.
30370
30371 2017-08-31 Florian Weimer <fweimer@redhat.com>
30372
30373 * stdio-common/printf_fp.c (group_number): Remove
30374 internal_function.
30375 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30376
30377 2017-08-31 Florian Weimer <fweimer@redhat.com>
30378
30379 * posix/fnmatch.c (internal_function): Remove definition.
30380 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30381 * posix/regcomp.c (peek_token, init_word_char)
30382 (duplicate_node_closure, fetch_token, peek_token)
30383 (peek_token_bracket, build_range_exp, build_collating_symbol):
30384 Likewise.
30385 * posix/regex_internal.c (re_string_construct_common)
30386 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30387 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30388 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30389 (re_string_translate_buffer, re_string_reconstruct)
30390 (re_string_peek_byte_case, re_string_fetch_byte_case)
30391 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30392 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30393 (re_node_set_add_intersect, re_node_set_init_union)
30394 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30395 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30396 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30397 (re_acquire_state_context): Likewise.
30398 * posix/regex_internal.h (internal_function): Remove definition.
30399 (re_string_realloc_buffers, build_wcs_buffer)
30400 (build_wcs_upper_buffer, build_upper_buffer)
30401 (re_string_translate_buffer, re_string_context_at)
30402 (re_string_char_size_at, re_string_wchar_at)
30403 (re_string_elem_size_at): Likewise.
30404 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30405 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30406 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30407 (re_search_internal, re_search_2_stub, re_search_stub)
30408 (re_copy_regs, prune_impossible_nodes, check_matching)
30409 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30410 (free_fail_stack_return, sift_states_iter_mb)
30411 (sift_states_backward, build_sifted_states)
30412 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30413 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30414 (check_subexp_limits, sift_states_bkref, merge_state_array)
30415 (find_recover_state, transit_state, merge_state_with_log)
30416 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30417 (transit_state_mb, transit_state_bkref, get_subexp)
30418 (get_subexp_sub, find_subexp_node, check_arrival)
30419 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30420 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30421 (check_node_accept_bytes, find_collation_sequence_value)
30422 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30423 (acquire_init_state_context, check_halt_node_context)
30424 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30425 (sub_epsilon_src_nodes): Likewise.
30426 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30427 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30428 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30429 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30430 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30431 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30432 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30433 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30434 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30435 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30436 (PREADV): Likewise.
30437 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30438 (PREADV): Likewise.
30439 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30440 (PWRITEV): Likewise.
30441 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30442 (PWRITEV): Likewise.
30443 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30444 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30445
30446 2017-08-31 Florian Weimer <fweimer@redhat.com>
30447
30448 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30449 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30450 Remove internal_function.
30451 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30452 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30453 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30454 (__deallocate_stack, __libc_pthread_init)
30455 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30456 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30457 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30458 Likewise.
30459 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30460 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30461 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30462 Likewise.
30463 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30464 (__pthread_mutex_unlock_usercnt): Likewise.
30465
30466 2017-08-31 Florian Weimer <fweimer@redhat.com>
30467
30468 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30469 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30470 (fts_safe_changedir): Remove internal_function.
30471 * io/ftw.c (internal_function): Remove definition.
30472 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30473
30474 2017-08-31 Florian Weimer <fweimer@redhat.com>
30475
30476 * inet/deadline.c (__deadline_current_time)
30477 (__deadline_from_timeval, __deadline_to_ms): Remove
30478 internal_function.
30479 * inet/getnameinfo.c (nrl_domainname): Likewise.
30480 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30481 * inet/inet6_option.c (add_pad): Likewise.
30482 * inet/net-internal.h (__deadline_current_time)
30483 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30484 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30485 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30486 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30487
30488 2017-08-31 Joseph Myers <joseph@codesourcery.com>
30489
30490 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30491 include <bits/nan.h>.
30492 * math/Makefile (headers): Remove bits/nan.h.
30493 * bits/nan.h: Remove.
30494 * sysdeps/ieee754/bits/nan.h: Likewise.
30495 * sysdeps/mips/bits/nan.h: Likewise.
30496
30497 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30498 not include <bits/inf.h>.
30499 * math/Makefile (headers): Remove bits/inf.h.
30500 * bits/inf.h: Remove.
30501 * sysdeps/ieee754/bits/inf.h: Likewise.
30502
30503 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30504 bits/huge_vall.h or bits/huge_val_flt128.h.
30505 (HUGE_VAL): Define directly here.
30506 [__USE_ISOC99] (HUGE_VALF): Likewise.
30507 [__USE_ISOC99] (HUGE_VALL): Likewise.
30508 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30509 (HUGE_VAL_F128): Likewise.
30510 * math/Makefile (headers): Remove bits/huge_val.h,
30511 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30512 * bits/huge_val.h: Remove.
30513 * bits/huge_val_flt128.h: Likewise.
30514 * bits/huge_valf.h: Likewise.
30515 * bits/huge_vall.h: Likewise.
30516 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30517 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30518 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30519 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30520 * sysdeps/sh/bits/huge_val.h: Likewise.
30521 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30522 * sysdeps/x86/bits/huge_vall.h: Likewise.
30523
30524 2017-08-31 Florian Weimer <fweimer@redhat.com>
30525
30526 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30527 internal_function.
30528 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30529 Likewise.
30530 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30531 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30532 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30533 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30534 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30535 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30536 * elf/dl-libc.c (dlerror_run): Likewise.
30537 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30538 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30539 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30540 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30541 Likewise.
30542 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30543 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30544 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30545 * elf/dl-profile.c (_dl_start_profile): Likewise.
30546 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30547 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30548 Likewise.
30549 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30550 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30551 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30552 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30553 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30554 (_dl_allocate_tls_storage): Likewise.
30555 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30556 (_dl_check_all_versions): Likewise.
30557 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30558 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30559 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30560 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30561 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30562 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30563 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30564 internal_function from __dl_start.
30565 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30566 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30567 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30568 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30569 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30570 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30571 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30572 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30573 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30574 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30575 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30576 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30577 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30578 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30579 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30580 Likewise.
30581 (struct rtld_global_ro): Remove internal_function from the
30582 _dl_lookup_symbol_x member.
30583 (_dl_symbol_value): Remove. No longer defined anywhere.
30584 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30585 internal_function.
30586 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30587 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30588 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30589 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30590 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30591 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30592 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30593 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30594 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30595 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30596 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30597 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30598
30599 2017-08-31 Florian Weimer <fweimer@redhat.com>
30600
30601 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30602 Remove internal_function.
30603 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30604 Likewise.
30605 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30606 Likewise.
30607
30608 2017-08-31 Florian Weimer <fweimer@redhat.com>
30609
30610 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30611 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30612 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30613
30614 2017-08-31 Florian Weimer <fweimer@redhat.com>
30615
30616 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30617 (__gai_enqueue_request): Remove internal_function.
30618 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30619 (__gai_remove_request, __gai_notify, __gai_notify_only)
30620 (__gai_sigqueue): Likewise.
30621 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30622 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30623 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30624 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30625 Likewise.
30626
30627 2017-08-31 Florian Weimer <fweimer@redhat.com>
30628
30629 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30630 * include/dirent.h (__opendirat, __getdents, __getdents64)
30631 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30632 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30633 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30634 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30635 Likewise.
30636 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
30637
30638 2017-08-31 Florian Weimer <fweimer@redhat.com>
30639
30640 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
30641 internal_function.
30642 (GETCWD_RETURN_TYPE): Likewise.
30643
30644 2017-08-31 Florian Weimer <fweimer@redhat.com>
30645
30646 * include/time.h (__tz_compute, __strptime_internal): Remove
30647 internal_function.
30648 * time/strptime_l.c (__strptime_internal): Likewise.
30649 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
30650
30651 2017-08-31 Florian Weimer <fweimer@redhat.com>
30652
30653 * iconv/gconv.c (__gconv): Remove internal_function.
30654 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30655 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30656 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30657 (__gconv_release_cache): Likewise.
30658 * iconv/gconv_close.c (__gconv_close): Likewise.
30659 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30660 (read_conf_file, __gconv_get_path): Likewise.
30661 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30662 (__gconv_release_step, gen_steps, increment_counter)
30663 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30664 (__gconv_close_transform, free_modules_db): Likewise.
30665 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30666 Likewise.
30667 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30668 (__gconv_find_transform, __gconv_lookup_cache)
30669 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30670 (__gconv_close_transform, __gconv_release_cache)
30671 (__gconv_loaded_object, __gconv_release_shlib)
30672 (__gconv_compare_alias): Likewise.
30673 * iconv/gconv_open.c (__gconv_open): Likewise.
30674 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30675 * iconv/iconvconfig.c (add_module): Likewise.
30676 * intl/dcigettext.c (plural_lookup, guess_category_value)
30677 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30678 * intl/eval-plural.h (plural_eval): Likewise.
30679 * intl/finddomain.c (_nl_find_domain): Likewise.
30680 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30681 (_nl_load_domain, _nl_find_msg): Likewise.
30682 (internal_function): Remove definition.
30683 * intl/loadinfo.h (internal_function): Likewise.
30684 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30685 internal_function.
30686 * intl/localealias.c (internal_function): Remove definition.
30687 (read_alias_file): Remove internal_function.
30688 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30689 * intl/plural-exp.h (internal_function): Remove definition.
30690 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30691 internal_function.
30692 * intl/plural.c: Regenerate.
30693 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30694 * locale/coll-lookup.c (__collidx_table_lookup)
30695 (__collseq_table_lookup): Likewise.
30696 * locale/coll-lookup.h (__collidx_table_lookup)
30697 (__collseq_table_lookup): Likewise.
30698 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30699 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30700 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30701 (_nl_unload_locale): Likewise.
30702 * locale/localeinfo.h (struct __locale_data): Remove
30703 internal_function from cleanup member.
30704 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30705 (_nl_remove_locale, _nl_load_locale_from_archive)
30706 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30707 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30708 (_nl_cleanup_time): Remove internal_function.
30709 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
30710 (_nl_parse_alt_digit): Likewise.
30711 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30712 (_nl_select_era_entry): Likewise.
30713 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30714 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30715 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30716 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30717 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30718
30719 2017-08-31 Florian Weimer <fweimer@redhat.com>
30720
30721 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
30722 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30723 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
30724 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
30725 Likewise.
30726 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
30727 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
30728 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
30729 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30730 Likewise.
30731 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
30732
30733 2017-08-31 Florian Weimer <fweimer@redhat.com>
30734
30735 * misc/getttyent.c (skip, value): Remove internal_function.
30736 * misc/syslog.c (openlog_internal): Likewise.
30737 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
30738
30739 2017-08-31 Florian Weimer <fweimer@redhat.com>
30740
30741 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
30742 (__nss_rewrite_field): Remove internal_function.
30743 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30744 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30745 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30746 * nss/nsswitch.c (nss_parse_file, nss_getline)
30747 (nss_parse_service_list, nss_new_service): Likewise.
30748 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
30749 * nss/valid_field.c (__nss_valid_field): Likewise.
30750 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30751
30752 2017-08-31 Florian Weimer <fweimer@redhat.com>
30753
30754 * malloc/arena.c (__malloc_fork_lock_parent)
30755 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
30756 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
30757 internal_function from defintions.
30758 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30759 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30760 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30761 internal_function from declarations.
30762 * malloc/malloc.c (internal_function): Do not define.
30763 (mem2mem_check): Remove internal_function from declaration.
30764 (munmap_chunk, mremap_chunk): Remove internal_function.
30765 * malloc/mtrace.c (tr_where): Likewise.
30766
30767 2017-08-31 Florian Weimer <fweimer@redhat.com>
30768
30769 * include/rpc/pmap_clnt.h (__get_socket): Remove
30770 internal_function.
30771 * sunrpc/auth_des.c (synchronize): Likewise.
30772 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30773 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30774 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30775 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30776 (key_call): Likewise.
30777 * sunrpc/pm_getport.c (__get_socket): Likewise.
30778 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30779 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30780 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30781 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30782 (invalidate): Likewise.
30783 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30784 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30785 (set_input_fragment, get_input_bytes): Likewise.
30786
30787 2017-08-31 Florian Weimer <fweimer@redhat.com>
30788
30789 * malloc/malloc.c (_int_free): Remove locked variable and related
30790 asserts.
30791
30792 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30793
30794 [BZ #22051]
30795 * Makerules (build-module-helper-objlist): Filter out
30796 $(elf-objpfx)sofini.os.
30797 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30798 needed.
30799
30800 2017-08-31 Florian Weimer <fweimer@redhat.com>
30801
30802 * libio/fcloseall.c: Assume weak_alias is defined.
30803 * libio/feof.c: Likewise.
30804 * libio/fileno.c: Likewise.
30805 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30806 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30807 definitions.
30808 (_IO_file_open): Call __open directly.
30809 (_IO_new_file_sync): Assume ESPIPE is defined.
30810 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30811 (_IO_new_file_write): Call __write directly.
30812 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30813 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30814 * libio/genops.c: Assume _LIBC is defined.
30815 (save_for_backup): Remove internal_function.
30816 * libio/getc.c: Assume weak_alias is defined.
30817 * libio/getwc.c: Likewise.
30818 * libio/iofclose.c: Assume _LIBC is defined.
30819 * libio/iofdopen.c: Likewise.
30820 (_IO_fcntl): Remove macro definition.
30821 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30822 Call __fcntl directly.
30823 * libio/iofflush.c: Assume weak_alias is defined.
30824 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30825 defined.
30826 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30827 * libio/iofgets.c: Likewise.
30828 * libio/iofopen.c: Assume _LIBC is defined.
30829 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30830 * libio/iofputs.c: Assume weak_alias is defined.
30831 * libio/iofread.c: Likewise.
30832 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30833 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30834 * libio/ioftell.c: Assume weak_alias is defined.
30835 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30836 * libio/iofwide.c: Assume _LIBC is defined.
30837 (_IO_fwide): Drop SHARED conditional because it is implied by
30838 SHLIB_COMPAT.
30839 * libio/iofwrite.c: Assume weak_alias is defined.
30840 * libio/iogetdelim.c: Likewise.
30841 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30842 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30843 (_IO_getwline): Call __wmemcpy directly.
30844 * libio/iopopen.c: Assume _LIBC is defined.
30845 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30846 (_IO_close): Remove macro definitions.
30847 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30848 _exit directly.
30849 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30850 directly.
30851 * libio/ioputs.c: Assume weak_alias is defined.
30852 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30853 * libio/iosetbuffer.c: Assume weak_alias is defined.
30854 * libio/iosetvbuf.c: Likewise.
30855 * libio/ioungetc.c: Likewise.
30856 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30857 libc_hidden_def, libc_hidden_weak, NULL are defined.
30858 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30859 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30860 defined.
30861 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30862 definitions.
30863 (_IO_old_file_init_internal): Drop SHARED conditional because it
30864 is implied by SHLIB_COMPAT.
30865 (_IO_old_file_fopen): Call __open directly.
30866 (_IO_old_file_sync): Assume ESPIPE is defined.
30867 (_IO_old_file_write): Call __write directly.
30868 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30869 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30870 Call __fcntl directly.
30871 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30872 (_IO_old_fgetpos): Assume EIO is defined.
30873 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30874 (_IO_old_fgetpos64): Assume EIO is defined.
30875 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30876 (_IO_old_fsetpos): Assume EIO is defined.
30877 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30878 (_IO_old_fsetpos64): Assume EIO is defined.
30879 * libio/oldiopopen.c: Assume _LIBC is defined.
30880 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30881 (_IO_close): Remove macro definitions.
30882 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30883 directly.
30884 (_IO_old_proc_close): Call __close, __waitpid directly.
30885 * libio/put.c: Assume weak_alias is defined.
30886 * libio/stdfiles.c: Assume _LIBC is defined.
30887 * libio/stdio.c: Likewise.
30888 * libio/wfileops.c: Likewise.
30889 (_IO_wfile_sync): Assume ESPIPE is defined.
30890 * libio/wgenops.c: Assume _LIBC is defined.
30891 (save_for_wbackup): Remove internal_function.
30892
30893 2017-08-31 Florian Weimer <fweimer@redhat.com>
30894
30895 * malloc/malloc.c (top_check): Change return type to void. Remove
30896 internal_function.
30897 * malloc/hooks.c (top_check): Likewise.
30898 (malloc_check, realloc_check, memalign_check): Adjust.
30899
30900 2017-08-30 Joseph Myers <joseph@codesourcery.com>
30901
30902 [BZ #21457]
30903 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30904 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30905 sigcontext and namespace requirements.
30906 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30907 * sysdeps/m68k/sys/ucontext.h: Likewise.
30908 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30909 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30910 <bits/sigcontext.h>.
30911 (__ctx): Define earlier.
30912 (mcontext_t): Define structure contents rather than using struct
30913 sigcontext.
30914 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30915 __glibc_reserved1 instead of __reserved.
30916 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30917 <bits/sigcontext.h>.
30918 (__ctx): Define earlier.
30919 (mcontext_t): Define structure contents rather than using struct
30920 sigcontext.
30921 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30922 mcontext_t instead of struct sigcontext.
30923 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30924 <bits/sigcontext.h>.
30925 (__ctx): Define earlier.
30926 (mcontext_t): Define structure contents rather than using struct
30927 sigcontext.
30928 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30929 <bits/sigcontext.h>.
30930 (__ctx): Define earlier.
30931 (mcontext_t): Define structure contents rather than using struct
30932 sigcontext.
30933 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30934 mcontext_t instead of struct sigcontext.
30935 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30936 mcontext_t instead of struct sigcontext.
30937 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30938 <bits/sigcontext.h>.
30939 (__ctx): New macro.
30940 (struct __ia64_fpreg_mcontext): New type.
30941 (mcontext_t): Define structure contents rather than using struct
30942 sigcontext.
30943 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30944 (uc_sigmask): Define using __ctx.
30945 (uc_stack): Likewise.
30946 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30947 <bits/sigcontext.h>.
30948 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30949 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30950 <bits/sigcontext.h>.
30951 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30952 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30953 <bits/sigcontext.h>.
30954 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30955 <bits/sigcontext.h>.
30956 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30957 <bits/sigcontext.h>.
30958 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30959 <bits/sigcontext.h>.
30960 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30961 <bits/sigcontext.h>.
30962 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30963 <bits/sigcontext.h>.
30964 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30965 <bits/sigcontext.h>.
30966 (__ctx): Define earlier.
30967 (mcontext_t): Define structure contents rather than using struct
30968 sigcontext.
30969 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30970 <bits/sigcontext.h>. Include <bits/types.h>.
30971 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30972 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30973 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30974 (test-xfail-UNIX98/signal.h/conform): Likewise.
30975 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30976 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30977 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30978 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30979 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30980 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30981 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30982 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30983 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30984
30985 2017-08-30 Florian Weimer <fweimer@redhat.com>
30986
30987 * malloc/dynarray_emplace_enlarge.c
30988 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30989 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30990 * malloc/tst-dynarray.c (test_long_overflow): New function.
30991 (do_test): Call it.
30992
30993 2017-08-30 Florian Weimer <fweimer@redhat.com>
30994
30995 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30996 (set_arena_corrupt): Remove definitions.
30997 (mtrim): Do not check for corrupt arena.
30998 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30999 Likewise.
31000
31001 2017-08-30 Florian Weimer <fweimer@redhat.com>
31002
31003 [BZ #21754]
31004 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31005 check_action.
31006 (ptmalloc_init): Do not set or use check_action.
31007 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31008 call to malloc_printerr. Remove return statement.
31009 (free_check): Likewise. Remove arena unlock.
31010 (top_check): Update comment. Adjust call to malloc_printerr.
31011 Remove heap repair code.
31012 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31013 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31014 (sysmalloc): Adjust call to malloc_printerr.
31015 (munmap_chunk, __libc_realloc): Likewise. Remove return
31016 statement.
31017 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31018 Remove errout label and corresponding gotos.
31019 (_int_free): Likewise. Remove arena unlock.
31020 (do_set_mallopt_check): Do not set check_action.
31021 (malloc_printerr): Adjust parameter list. Do not mark arena as
31022 corrupt.
31023 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31024 comment.
31025 * manual/probes.texi (Memory Allocation Probes): Remove
31026 memory_mallopt_check_action.
31027
31028 2017-08-30 Steve Ellcey <sellcey@cavium.com>
31029
31030 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31031 Use pointer to uint64_t instead of long int for sp.
31032
31033 2017-08-30 Florian Weimer <fweimer@redhat.com>
31034
31035 [BZ #21754]
31036 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31037 without printing a backtrace. Do not leak any information in the
31038 error message.
31039 * manual/memory.texi (Heap Consistency Checking): Update.
31040 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31041
31042 2017-08-30 Florian Weimer <fweimer@redhat.com>
31043
31044 Do not scale NPTL tests with available number of CPUs.
31045 * nptl/tst-cond16.c (count): Set to constant value of 8.
31046 * nptl/tst-cond18.c (count): Likewise.
31047
31048 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31049
31050 [BZ #22035]
31051 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31052 Define to take a second argument that is a macro that
31053 concatentates a suffix, not the suffix itself.
31054 (__CONCAT_d): New macro.
31055 (__CONCAT_f): Likewise.
31056 (__CONCAT_l): Likewise.
31057
31058 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31059
31060 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31061 by child.
31062
31063 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31064 Aurelien Jarno <aurelien@aurel32.net>
31065 Maciej W. Rozycki <macro@imgtec.com>
31066
31067 [BZ #21956]
31068 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31069 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31070 `mips16-syscall6' and `mips16-syscall7'.
31071 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31072 (CFLAGS-mips16-syscall7.c): Remove.
31073 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31074 Remove `__mips16_syscall5', `__mips16_syscall6' and
31075 `__mips16_syscall7'.
31076 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31077 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31078 `__mips_syscall_return'.
31079 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31080 (__mips16_syscall1): Likewise.
31081 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31082 (__mips16_syscall2): Likewise.
31083 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31084 (__mips16_syscall3): Likewise.
31085 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31086 (__mips16_syscall4): Likewise.
31087 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31088 Remove.
31089 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31090 Remove.
31091 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31092 Remove.
31093 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31094 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31095 `__mips16_syscall5'. Remove prototype.
31096 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31097 `__mips16_syscall6'. Remove prototype.
31098 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31099 `__mips16_syscall7'. Remove prototype.
31100 (__nomips16, __mips16_syscall_return): Move to...
31101 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31102 (__nomips16, __mips_syscall_return): ... here.
31103 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31104 `__mips16_syscall_return' to `__mips_syscall_return'.
31105 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31106 `internal_syscall##nr'.
31107 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31108 `internal_syscall##nr'.
31109 (FORCE_FRAME_POINTER): Remove.
31110 (__mips_syscall5): New prototype.
31111 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31112 (__mips_syscall6): New prototype.
31113 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31114 (__mips_syscall7): New prototype.
31115 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31116 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31117 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31118 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31119 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31120 (sysdep_routines): Add libc-do-syscall.
31121 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31122 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31123
31124 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31125
31126 [BZ #21672]
31127 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31128 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31129 (advise_stack_range): New function.
31130 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31131 stack non required to advise_stack_range at allocatestack.c
31132
31133 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31134
31135 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31136
31137 2017-08-29 Florian Weimer <fweimer@redhat.com>
31138
31139 [BZ #22026]
31140 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31141 __end_fct. Mangle __end_fct after setting it to NULL.
31142 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31143 (modules-names, modules-names-tests): Add
31144 tst-gconv-init-failure-mod.
31145 (gconv-modules): New target.
31146 (tst-gconv-init-failure-mod.so): Link against libsupport.
31147 (tst-gconv-init-failure): Depend on gconv-modules,
31148 tst-gconv-init-failure-mod.so.
31149 * iconv/tst-gconv-init-failure-mod.c: New file.
31150 * iconv/tst-gconv-init-failure.c: Likewise.
31151 * iconv/test-gconv-modules: Likewise.
31152
31153 2017-08-29 Florian Weimer <fweimer@redhat.com>
31154
31155 [BZ #22025]
31156 * iconv/gconv_db.c (free_derivation): Remove redundant
31157 parentheses.
31158 (gen_steps): Unconditionally mangle __btowc_fct after
31159 initialization.
31160 (increment_counter): Likewise. Do not call init_fct for internal
31161 modules.
31162
31163 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31164
31165 [BZ #22028]
31166 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31167 (_MSUF_): Remove macro.
31168 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31169 Likewise.
31170 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31171 (__REDIRFROM_X): New macro.
31172 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31173 Likewise.
31174 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31175 (__REDIRTO_X): Likewise.
31176 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31177 arguments.
31178 (__MATH_REDIRCALL_2): Likewise.
31179 (__MATH_REDIRCALL_INTERNAL): Likewise.
31180 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31181 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31182 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31183 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31184 * math/test-finite-macros.c: New file.
31185 * math/Makefile (tests): Add test-finite-macros.
31186 (CFLAGS-test-finite-macros.c): New variable.
31187
31188 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31189 Jeff Law <law@redhat.com>
31190
31191 [BZ #22025]
31192 Mangle NULL pointers in iconv/gconv.
31193 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31194 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31195 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31196 is non-NULL before demangling the end_fct. Check for NULL
31197 end_fct after demangling.
31198 (__gconv_release_step): Demangle the end_fct before checking
31199 it for NULL. Remove assert on __shlibc_handle != NULL.
31200 (gen_steps): Don't check btowc_fct for NULL before mangling.
31201 Demangle init_fct before checking for NULL.
31202 (increment_counter): Likewise.
31203 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31204 end_fct for NULL before mangling.
31205 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31206 for NULL.
31207
31208 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
31209
31210 [BZ #21971]
31211 * locale/iso-639.def: add Morisyen.
31212
31213 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31214
31215 [BZ #21930]
31216 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31217 (iszero): New C++ implementation that does not use
31218 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31219 signaling nans are enabled, since __builtin_types_compatible_p
31220 is a C-only feature.
31221 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31222 defined, include ieee754_float128.h for access to the union and
31223 member ieee854_float128.ieee.
31224 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31225 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31226 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31227 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31228 options of test-math-zero on powerpc64le.
31229
31230 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31231
31232 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31233 Change double to float.
31234
31235 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31236
31237 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31238 unconditional.
31239 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31240 conditional code; define contents only for [LIBM_SVID_COMPAT].
31241
31242 2017-08-28 Florian Weimer <fweimer@redhat.com>
31243
31244 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31245 (abi-lp64_be-options): Remove.
31246 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31247 (abi-hard-options): Likewise.
31248 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31249 (abi-o32_hard-options, abi-o32_soft_2008-options)
31250 (abi-o32_hard_2008-options, abi-n32_soft-options)
31251 (abi-n32_hard-options, abi-n32_soft_2008-options)
31252 (abi-n32_hard_2008-options, abi-n64_soft-options)
31253 (abi-n64_hard-options, abi-n64_soft_2008-options)
31254 (abi-n64_hard_2008-options): Likewise.
31255 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31256 (abi-64-v1-options, abi-64-v2-options): Likewise.
31257 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31258 (abi-64-options): Likewise.
31259 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31260 (abi-64-options): Likewise.
31261 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31262 (abi-64-options): Likewise.
31263 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31264 (abi-64-options, abi-x32-options): Likewise.
31265
31266 2017-08-28 Florian Weimer <fweimer@redhat.com>
31267
31268 Store supported list of SYS_* system calls in the source tree.
31269 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31270 (bits/syscall.h): Generate from list file.
31271 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31272 [$(subdir) = misc] (tests): Add tst-syscall-list.
31273 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31274 [$(subdir) = misc] (tst-syscall-list-macros.list)
31275 [$(subdir) = misc] (tst-syscall-list-nr.list)
31276 (tst-syscall-list-sys.list): Helper targets for new
31277 tst-syscall-list test.
31278 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31279 tst-syscall-list.sh.
31280 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31281 target. Do not include bits/syscall.d.
31282 [$(subdir) = misc] (generated): Do not update.
31283 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31284 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31285 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31286 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31287
31288 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31289
31290 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31291 (tst-cxa_atexit, tst-on_exit): Likewise.
31292 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31293 tst-cxa_atexit, and tst-on_exit.
31294 * stdlib/tst-atexit-common.c: New file.
31295 * stdlib/tst-atexit.c: New file.
31296 * stdlib/tst-at_quick_exit.c: New file.
31297 * stdlib/tst-cxa_atexit.c: New file.
31298 * stdlib/tst-on_exit.c: New file.
31299
31300 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31301
31302 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
31303 * mach/stack_chk_fail_local.c: New file.
31304 * hurd/stack_chk_fail_local.c: New file.
31305 * mach/Machrules ($(interface-library)-routines): Add
31306 stack_chk_fail_local.
31307 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31308 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31309 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31310 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31311 * hurd/Makefile (CFLAGS-hurdstartup.o,
31312 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
31313
31314 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31315
31316 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31317 (index_cpu_*, index_arch_*): Removed.
31318
31319 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31320
31321 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31322 Use uint64_t instead of unsigned long.
31323
31324 2017-08-25 Joseph Myers <joseph@codesourcery.com>
31325
31326 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31327 [__HAVE_DISTINCT_FLOAT128].
31328
31329 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31330 of <bits/math-finite.h>.
31331 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31332 inclusion of <bits/math-finite.h>.
31333 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31334 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31335 __NO_LONG_DOUBLE_MATH].
31336 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31337 (__MATH_REDIRCALL_2): Likewise.
31338 (__MATH_REDIRCALL_INTERNAL): Likewise.
31339 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31340 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31341 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31342
31343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31344 Remove file.
31345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31346 Likewise.
31347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31348 Likewise.
31349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31350 Likewise.
31351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31352 Likewise.
31353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31354 Likewise.
31355 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31356 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31357 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31358 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31360 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31361 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31362 w_sqrtf_compat-ppc32.
31363
31364 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31365
31366 * math/math.h [defined __cplusplus] (issignaling): In the long
31367 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31368 is not defined. Call __issignaling, otherwise.
31369
31370 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31371
31372 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31373 syscall definitions and replace __builtin_expect with __glibc_likely.
31374 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31375 syscall.
31376 (SYSCALL_CANCELLABLE): Removedefinition
31377 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31378 definition.
31379 (PSEUDO_END): Likewise.
31380 [IS_IN (libpthread)] (CENABLE): Likewise.
31381 [IS_IN (libpthread)] (CDISABLE): Likewise.
31382 [IS_IN (libc)] (CENABLE): Likewise.
31383 [IS_IN (libc)] (CENABLE): Likewise.
31384 [IS_IN (librt)] (CDISABLE): Likewise.
31385 [IS_IN (librt)] (CDISABLE): Likewise.
31386 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31387 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31388 definition.
31389 (PSEUDO_END): Likewise.
31390 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31391 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31392 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31393 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31394 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31395 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31396 (CENABLE): Likewise.
31397 (CDISABLE): Likewise.
31398 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31399 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31400 defintion.
31401 (PSEUDO_END): Likewise.
31402 [IS_IN (libpthread)] (CENABLE): Likewise.
31403 [IS_IN (libpthread)] (CDISABLE): Likewise.
31404 [IS_IN (libc)] (CENABLE): Likewise.
31405 [IS_IN (libc)] (CENABLE): Likewise.
31406 [IS_IN (librt)] (CDISABLE): Likewise.
31407 [IS_IN (librt)] (CDISABLE): Likewise.
31408 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31409 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31410 definition.
31411 (PSEUDO_END): Likewise.
31412 [IS_IN (libpthread)] (CENABLE): Likewise.
31413 [IS_IN (libpthread)] (CDISABLE): Likewise.
31414 [IS_IN (libc)] (CENABLE): Likewise.
31415 [IS_IN (libc)] (CENABLE): Likewise.
31416 [IS_IN (librt)] (CDISABLE): Likewise.
31417 [IS_IN (librt)] (CDISABLE): Likewise.
31418 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31419 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31420 definition.
31421 (PSEUDO_END): Likewise.
31422 [IS_IN (libpthread)] (CENABLE): Likewise.
31423 [IS_IN (libpthread)] (CDISABLE): Likewise.
31424 [IS_IN (libc)] (CENABLE): Likewise.
31425 [IS_IN (libc)] (CENABLE): Likewise.
31426 [IS_IN (librt)] (CDISABLE): Likewise.
31427 [IS_IN (librt)] (CDISABLE): Likewise.
31428 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31429 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31430 definition.
31431 (PSEUDO_END): Likewise.
31432 [IS_IN (libpthread)] (CENABLE): Likewise.
31433 [IS_IN (libpthread)] (CDISABLE): Likewise.
31434 [IS_IN (libc)] (CENABLE): Likewise.
31435 [IS_IN (libc)] (CENABLE): Likewise.
31436 [IS_IN (librt)] (CDISABLE): Likewise.
31437 [IS_IN (librt)] (CDISABLE): Likewise.
31438 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31439 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31440 definition.
31441 (PSEUDO_END): Likewise.
31442 [IS_IN (libpthread)] (CENABLE): Likewise.
31443 [IS_IN (libpthread)] (CDISABLE): Likewise.
31444 [IS_IN (libc)] (CENABLE): Likewise.
31445 [IS_IN (libc)] (CENABLE): Likewise.
31446 [IS_IN (librt)] (CDISABLE): Likewise.
31447 [IS_IN (librt)] (CDISABLE): Likewise.
31448 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31449 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31450 definition.
31451 (PSEUDO_END): Likewise.
31452 [IS_IN (libpthread)] (CENABLE): Likewise.
31453 [IS_IN (libpthread)] (CDISABLE): Likewise.
31454 [IS_IN (libc)] (CENABLE): Likewise.
31455 [IS_IN (libc)] (CENABLE): Likewise.
31456 [IS_IN (librt)] (CDISABLE): Likewise.
31457 [IS_IN (librt)] (CDISABLE): Likewise.
31458 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31459 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31460 Remove definition.
31461 (PSEUDO_END): Likewise.
31462 [IS_IN (libpthread)] (CENABLE): Likewise.
31463 [IS_IN (libpthread)] (CDISABLE): Likewise.
31464 [IS_IN (libc)] (CENABLE): Likewise.
31465 [IS_IN (libc)] (CENABLE): Likewise.
31466 [IS_IN (librt)] (CDISABLE): Likewise.
31467 [IS_IN (librt)] (CDISABLE): Likewise.
31468 (SINGLE_THREAD_P): Likewise.
31469 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31470 definition.
31471 (PSEUDO_END): Likewise.
31472 [IS_IN (libpthread)] (CENABLE): Likewise.
31473 [IS_IN (libpthread)] (CDISABLE): Likewise.
31474 [IS_IN (libc)] (CENABLE): Likewise.
31475 [IS_IN (libc)] (CENABLE): Likewise.
31476 [IS_IN (librt)] (CDISABLE): Likewise.
31477 [IS_IN (librt)] (CDISABLE): Likewise.
31478 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31479 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31480 definition.
31481 (PSEUDO_END): Likewise.
31482 [IS_IN (libpthread)] (CENABLE): Likewise.
31483 [IS_IN (libpthread)] (CDISABLE): Likewise.
31484 [IS_IN (libc)] (CENABLE): Likewise.
31485 [IS_IN (libc)] (CENABLE): Likewise.
31486 [IS_IN (librt)] (CDISABLE): Likewise.
31487 [IS_IN (librt)] (CDISABLE): Likewise.
31488 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31489 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31490 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31491 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31492 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31493 definition.
31494 (PSEUDO_END): Likewise.
31495 [IS_IN (libpthread)] (CENABLE): Likewise.
31496 [IS_IN (libpthread)] (CDISABLE): Likewise.
31497 [IS_IN (libc)] (CENABLE): Likewise.
31498 [IS_IN (libc)] (CENABLE): Likewise.
31499 [IS_IN (librt)] (CDISABLE): Likewise.
31500 [IS_IN (librt)] (CDISABLE): Likewise.
31501 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31502 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31503 definition.
31504 (PSEUDO_END): Likewise.
31505 [IS_IN (libpthread)] (CENABLE): Likewise.
31506 [IS_IN (libpthread)] (CDISABLE): Likewise.
31507 [IS_IN (libc)] (CENABLE): Likewise.
31508 [IS_IN (libc)] (CENABLE): Likewise.
31509 [IS_IN (librt)] (CDISABLE): Likewise.
31510 [IS_IN (librt)] (CDISABLE): Likewise.
31511 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31512 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31513 definition.
31514 (PSEUDO_END): Likewise.
31515 [IS_IN (libpthread)] (CENABLE): Likewise.
31516 [IS_IN (libpthread)] (CDISABLE): Likewise.
31517 [IS_IN (libc)] (CENABLE): Likewise.
31518 [IS_IN (libc)] (CENABLE): Likewise.
31519 [IS_IN (librt)] (CDISABLE): Likewise.
31520 [IS_IN (librt)] (CDISABLE): Likewise.
31521 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31522 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31523 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31524 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31525 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31526 definition.
31527 (PSEUDO_END): Likewise.
31528 [IS_IN (libpthread)] (CENABLE): Likewise.
31529 [IS_IN (libpthread)] (CDISABLE): Likewise.
31530 [IS_IN (libc)] (CENABLE): Likewise.
31531 [IS_IN (libc)] (CENABLE): Likewise.
31532 [IS_IN (librt)] (CDISABLE): Likewise.
31533 [IS_IN (librt)] (CDISABLE): Likewise.
31534 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31535 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31536 definition.
31537 (PSEUDO_END): Likewise.
31538 [IS_IN (libpthread)] (CENABLE): Likewise.
31539 [IS_IN (libpthread)] (CDISABLE): Likewise.
31540 [IS_IN (libc)] (CENABLE): Likewise.
31541 [IS_IN (libc)] (CENABLE): Likewise.
31542 [IS_IN (librt)] (CDISABLE): Likewise.
31543 [IS_IN (librt)] (CDISABLE): Likewise.
31544 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31545
31546 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31547
31548 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31549
31550 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31551
31552 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31553
31554 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31555
31556 [BZ #21982]
31557 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31558 middle and outer with size_t instead of int. Repleace %d and
31559 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31560 "MAX (outer, nchars - 64)" to support unsigned outer and
31561 nchars. Also exit loop when outer == 0.
31562
31563 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31564
31565 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31566 * include/signal.h (__sigsuspend_nocancel): Likewise.
31567 * include/time.h (__nanosleep_nocancel): Likewise.
31568 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31569 * login/utmp_file.c: Include non cancellable syscall header.
31570 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31571 prototype.
31572
31573 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31574
31575 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31576 .byte sequences with AVX512F instructions.
31577 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31578 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31579 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31580 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31581 Likewise.
31582 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31583 Likewise.
31584
31585 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31586 Steve Ellcey <sellcey@cavium.com>
31587
31588 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31589 Use PTR_REG macro in cmp instruction.
31590
31591 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31592
31593 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31594 Change the return type of the ifunc resolver to match the return
31595 type of the target function.
31596
31597 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31598
31599 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31600 (preadv64): Likewise.
31601 (pwrite64(: Likewise.
31602 (pwritev64): Likewise.
31603
31604 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31605 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31606 (LOAD_ARGS_0): Likewise.
31607 (LOAD_ARGS_1): Likewise.
31608 (LOAD_ARGS_2): Likewise.
31609 (LOAD_ARGS_3): Likewise.
31610 (LOAD_ARGS_4): Likewise.
31611 (LOAD_ARGS_5): Likewise.
31612 (LOAD_ARGS_6): Likewise.
31613 (LOAD_REGS_0): Likewise.
31614 (LOAD_REGS_1): Likewise.
31615 (LOAD_REGS_2): Likewise.
31616 (LOAD_REGS_3): Likewise.
31617 (LOAD_REGS_4): Likewise.
31618 (LOAD_REGS_5): Likewise.
31619 (LOAD_REGS_6): Likewise.
31620 (ASM_ARGS_0): Likewise.
31621 (ASM_ARGS_1): Likewise.
31622 (ASM_ARGS_2): Likewise.
31623 (ASM_ARGS_3): Likewise.
31624 (ASM_ARGS_4): Likewise.
31625 (ASM_ARGS_5): Likewise.
31626 (ASM_ARGS_6): Likewise.
31627 (LOAD_ARGS_TYPES_1): Likewise.
31628 (LOAD_ARGS_TYPES_2): Likewise.
31629 (LOAD_ARGS_TYPES_3): Likewise.
31630 (LOAD_ARGS_TYPES_4): Likewise.
31631 (LOAD_ARGS_TYPES_5): Likewise.
31632 (LOAD_ARGS_TYPES_6): Likewise.
31633 (LOAD_REGS_TYPES_1): Likewise.
31634 (LOAD_REGS_TYPES_2): Likewise.
31635 (LOAD_REGS_TYPES_3): Likewise.
31636 (LOAD_REGS_TYPES_4): Likewise.
31637 (LOAD_REGS_TYPES_5): Likewise.
31638 (LOAD_REGS_TYPES_6): Likewise.
31639 (TYPEFY): New define.
31640 (ARGIFY): Likewise.
31641 (internal_syscall0): Likewise.
31642 (internal_syscall1): Likewise.
31643 (internal_syscall2): Likewise.
31644 (internal_syscall3): Likewise.
31645 (internal_syscall4): Likewise.
31646 (internal_syscall5): Likewise.
31647 (internal_syscall6): Likewise.
31648 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
31649 (INTERNAL_SYSCALL_NCS): Remove define.
31650 (internal_syscall1): Add define.
31651
31652 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31653
31654 * math/w_remainder_compat.c: Remove duplicate inclusion of
31655 math-svid-compat.h.
31656 * math/w_remainderf_compat.c: Likewise.
31657 * math/w_remainderl_compat.c: Likewise.
31658
31659 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31660
31661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31662
31663 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31664
31665 [BZ #21684]
31666 * math/tgmath.h (__floating_type): Simplify definitions.
31667 (__real_integer_type): New macro.
31668 (__complex_integer_type): Likewise.
31669 (__expr_is_real): Likewise.
31670 (__tgmath_real_type_sub): Update comment to describe handling of
31671 complex types.
31672 (__tgmath_complex_type_sub): New macro.
31673 (__tgmath_complex_type): Likewise.
31674 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31675 (__TGMATH_CF128): Use __expr_is_real.
31676 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31677 __expr_is_real.
31678 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31679 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31680 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31681 integer types.
31682
31683 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31684
31685 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31686 macro.
31687 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31688 alias.
31689 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31690 Likewise.
31691
31692 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31693 nanosleep_not_cancel with __nanosleep_nocancel.
31694 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31695 (__nanosleep_nocancel): New macro.
31696 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31697 function.
31698 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31699 macro.
31700 (__nanosleep_nocancel): New prototype.
31701
31702 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31703 pause_not_cancel with __pause_nocancel.
31704 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31705 (__pause_nocancel): New macro.
31706 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31707 macro.
31708 (__pause_nocancel): New prototype.
31709 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
31710
31711 2017-08-22 Martin Sebor <msebor@redhat.com>
31712
31713 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31714 to return a pointer to the same type as the target function.
31715
31716 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31717
31718 [BZ #18822]
31719 [BZ #21986]
31720 * include/printf.h (__printf_fphex): Add attribute_hidden.
31721 (__guess_grouping): New prototype.
31722 * stdio-common/printf_fp.c (__guess_grouping): Removed.
31723 * stdio-common/reg-printf.c (__register_printf_specifier): Add
31724 libc_hidden_proto and libc_hidden_def.
31725 * stdlib/strfmon_l.c (__guess_grouping): Removed.
31726 (__vstrfmon_l): Remove the third argument passed to
31727 __guess_grouping.
31728
31729 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31730
31731 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
31732 definition for issignaling that does not rely on __MATH_TG,
31733 since __MATH_TG uses __builtin_types_compatible_p, which is only
31734 available in C mode.
31735 (CFLAGS-test-math-issignaling.cc): New variable.
31736 * math/Makefile [CXX] (tests): Add test-math-issignaling.
31737 * math/test-math-issignaling.cc: New test for C++ implementation
31738 of type-generic issignaling.
31739 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31740 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
31741 options of test-math-issignaling on powerpc64le.
31742
31743 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31744
31745 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31746 building libc.a.
31747 (hidden_proto): Likewise.
31748 (hidden_tls_proto): Likewise.
31749 (__hidden_proto): Likewise.
31750
31751 2017-08-22 Florian Weimer <fweimer@redhat.com>
31752
31753 math: Statically link tests of internal functionality.
31754 * math/Makefile (tests): Remove atest-exp, atest-sincos,
31755 atest-exp2.
31756 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
31757 (gmp-objs): Remove assignment.
31758 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31759
31760 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31761
31762 [BZ #21987]
31763 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31764 and copy to ...
31765 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31766 ... here.
31767 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31768 ... and here.
31769
31770 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31771 variable definitions above inclusion of ../Rules.
31772
31773 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31774
31775 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31776 case calling __builtin_unreachable.
31777
31778 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31779
31780 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31781 __waitpid_nocancel.
31782 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31783 (__waitpid_nocancel): New macro.
31784 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31785 macro.
31786 (__waitpid_nocancel): Replace macro with a function.
31787 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31788 function.
31789
31790 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31791 __fcntl_nocancel.
31792 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31793 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31794
31795 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31796 __writev_nocancel_nostatus.
31797 (write_call_graph): Likewise.
31798 (write_bb_counts): Likewise.
31799 * resolv/herror.c (herror): Likewise.
31800 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31801 macro.
31802 (__writev_nocancel_nostatus): New macro.
31803 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31804 Remove macro.
31805 (__writev_nocancel_nostatus): New function.
31806
31807 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31808
31809 Revert:
31810 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31811
31812 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31813 building libc.a.
31814 (hidden_proto): Likewise.
31815 (hidden_tls_proto): Likewise.
31816 (__hidden_proto): Likewise.
31817
31818 [BZ #21973]
31819 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31820 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31822 Likewise.
31823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31824 Likewise.
31825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31826 Likewise.
31827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31828 Likewise.
31829 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31830 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31831 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31832 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31833 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31834 GLIBC_2.0 sqrtl symbol.
31835
31836 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31837 [__USE_MISC] (_LIB_VERSION): Likewise.
31838 [__USE_MISC] (struct exception): Likewise.
31839 [__USE_MISC] (matherr): Likewise.
31840 [__USE_MISC] (DOMAIN): Likewise.
31841 [__USE_MISC] (SING): Likewise.
31842 [__USE_MISC] (OVERFLOW): Likewise.
31843 [__USE_MISC] (UNDERFLOW): Likewise.
31844 [__USE_MISC] (TLOSS): Likewise.
31845 [__USE_MISC] (PLOSS): Likewise.
31846 [__USE_MISC] (HUGE): Likewise.
31847 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31848 * math/math-svid-compat.h: New file.
31849 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31850 and matherrl.
31851 * include/math.h [!_ISOMAC] (__matherr): Remove.
31852 * manual/arith.texi (FP Exceptions): Do not document matherr.
31853 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31854 (tests-internal): New variable.
31855 (install-lib): Do not add libieee.a.
31856 (non-lib.a): Likewise.
31857 (extra-objs): Do not add libieee.a and ieee-math.o.
31858 (CPPFLAGS-s_lib_version.c): Remove variable.
31859 ($(objpfx)libieee.a): Remove rule.
31860 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31861 * math/ieee-math.c: Remove.
31862 * math/libm-test-support.c (matherr): Remove.
31863 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31864 and license notices. Include <math-svid-compat.h> and
31865 <shlib-compat.h>.
31866 (matherr): Undefine as macro. Use compat_symbol_reference.
31867 (_LIB_VERSION): Likewise.
31868 * math/test-matherr-2.c: New file.
31869 * math/test-matherr-3.c: Likewise.
31870 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31871 declaration.
31872 (__kernel_standard_f): Likewise.
31873 (__kernel_standard_l): Likewise.
31874 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31875 <math_private.h>. Include <math-svid-compat.h>.
31876 (_LIB_VERSION): Undefine as macro.
31877 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31878 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31879 [LIBM_SVID_COMPAT], use compat_symbol.
31880 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31881 <math_private.h>. Include <math-svid-compat.h>.
31882 (matherr): Undefine as macro.
31883 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31884 compat_symbol.
31885 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31886 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31887 compat_symbol_reference.
31888 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31889 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31890 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31891 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31892 (MATHERR_D): Remove declaration.
31893 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31894 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31895 [LIBM_BUILD] (pmatherrf): Likewise.
31896 [LIBM_BUILD] (pmatherr): Likewise.
31897 [LIBM_BUILD] (pmatherrl): Likewise.
31898 (DOMAIN): Likewise.
31899 (SING): Likewise.
31900 (OVERFLOW): Likewise.
31901 (UNDERFLOW): Likewise.
31902 (TLOSS): Likewise.
31903 (PLOSS): Likewise.
31904 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31905 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31906 compat_symbol.
31907 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31908 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31909 compat_symbol.
31910 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31911 * math/w_acos_compat.c: Likewise.
31912 * math/w_acosf_compat.c: Likewise.
31913 * math/w_acosh_compat.c: Likewise.
31914 * math/w_acoshf_compat.c: Likewise.
31915 * math/w_acoshl_compat.c: Likewise.
31916 * math/w_acosl_compat.c: Likewise.
31917 * math/w_asin_compat.c: Likewise.
31918 * math/w_asinf_compat.c: Likewise.
31919 * math/w_asinl_compat.c: Likewise.
31920 * math/w_atan2_compat.c: Likewise.
31921 * math/w_atan2f_compat.c: Likewise.
31922 * math/w_atan2l_compat.c: Likewise.
31923 * math/w_atanh_compat.c: Likewise.
31924 * math/w_atanhf_compat.c: Likewise.
31925 * math/w_atanhl_compat.c: Likewise.
31926 * math/w_cosh_compat.c: Likewise.
31927 * math/w_coshf_compat.c: Likewise.
31928 * math/w_coshl_compat.c: Likewise.
31929 * math/w_exp10_compat.c: Likewise.
31930 * math/w_exp10f_compat.c: Likewise.
31931 * math/w_exp10l_compat.c: Likewise.
31932 * math/w_exp2_compat.c: Likewise.
31933 * math/w_exp2f_compat.c: Likewise.
31934 * math/w_exp2l_compat.c: Likewise.
31935 * math/w_fmod_compat.c: Likewise.
31936 * math/w_fmodf_compat.c: Likewise.
31937 * math/w_fmodl_compat.c: Likewise.
31938 * math/w_hypot_compat.c: Likewise.
31939 * math/w_hypotf_compat.c: Likewise.
31940 * math/w_hypotl_compat.c: Likewise.
31941 * math/w_j0_compat.c: Likewise.
31942 * math/w_j0f_compat.c: Likewise.
31943 * math/w_j0l_compat.c: Likewise.
31944 * math/w_j1_compat.c: Likewise.
31945 * math/w_j1f_compat.c: Likewise.
31946 * math/w_j1l_compat.c: Likewise.
31947 * math/w_jn_compat.c: Likewise.
31948 * math/w_jnf_compat.c: Likewise.
31949 * math/w_jnl_compat.c: Likewise.
31950 * math/w_lgamma_main.c: Likewise.
31951 * math/w_lgamma_r_compat.c: Likewise.
31952 * math/w_lgammaf_main.c: Likewise.
31953 * math/w_lgammaf_r_compat.c: Likewise.
31954 * math/w_lgammal_main.c: Likewise.
31955 * math/w_lgammal_r_compat.c: Likewise.
31956 * math/w_log10_compat.c: Likewise.
31957 * math/w_log10f_compat.c: Likewise.
31958 * math/w_log10l_compat.c: Likewise.
31959 * math/w_log2_compat.c: Likewise.
31960 * math/w_log2f_compat.c: Likewise.
31961 * math/w_log2l_compat.c: Likewise.
31962 * math/w_log_compat.c: Likewise.
31963 * math/w_logf_compat.c: Likewise.
31964 * math/w_logl_compat.c: Likewise.
31965 * math/w_pow_compat.c: Likewise.
31966 * math/w_powf_compat.c: Likewise.
31967 * math/w_powl_compat.c: Likewise.
31968 * math/w_remainder_compat.c: Likewise.
31969 * math/w_remainderf_compat.c: Likewise.
31970 * math/w_remainderl_compat.c: Likewise.
31971 * math/w_scalb_compat.c: Likewise.
31972 * math/w_scalbf_compat.c: Likewise.
31973 * math/w_scalbl_compat.c: Likewise.
31974 * math/w_sinh_compat.c: Likewise.
31975 * math/w_sinhf_compat.c: Likewise.
31976 * math/w_sinhl_compat.c: Likewise.
31977 * math/w_sqrt_compat.c: Likewise.
31978 * math/w_sqrtf_compat.c: Likewise.
31979 * math/w_sqrtl_compat.c: Likewise.
31980 * math/w_tgamma_compat.c: Likewise.
31981 * math/w_tgammaf_compat.c: Likewise.
31982 * math/w_tgammal_compat.c: Likewise.
31983 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31984 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31985 * sysdeps/ieee754/k_standard.c: Likewise.
31986 * sysdeps/ieee754/k_standardf.c: Likewise.
31987 * sysdeps/ieee754/k_standardl.c: Likewise.
31988 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31989 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31990 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31991 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31992 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31993 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31994 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31995 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31996 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31998 Likewise.
31999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32000 Likewise.
32001 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32002 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32003 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32004 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32005
32006 2017-08-21 Florian Weimer <fweimer@redhat.com>
32007
32008 [BZ #21864]
32009 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32010 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32011 Move before inclusion of ../Rules.
32012
32013 2017-08-21 Florian Weimer <fweimer@redhat.com>
32014
32015 [BZ #21972]
32016 * assert/assert.h (assert): Use static_cast (bool) for C++.
32017 Use the ternary operator in the warning branch for GNU C.
32018 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32019 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32020 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32021 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32022 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32023
32024 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32025
32026 [BZ #18822]
32027 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32028 (__syscall_clock_gettime): Add attribute_hidden.
32029 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32030 (__start_context): Likewise.
32031
32032 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32033
32034 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32035 building libc.a.
32036 (hidden_proto): Likewise.
32037 (hidden_tls_proto): Likewise.
32038 (__hidden_proto): Likewise.
32039
32040 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32041
32042 * include/libc-symbols.h (attribute_hidden): Enable hidden
32043 visibility in libc.a compiled with PIE.
32044
32045 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32046
32047 [BZ #18822]
32048 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32049 Add attribute_hidden.
32050
32051 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32052
32053 [BZ #21864]
32054 * Makerules (all-nonlib): Add $(others-extras).
32055 * catgets/Makefile (others-extras): New.
32056 * elf/Makefile (others-extras): Likewise.
32057 * nss/Makefile (others-extras): Likewise.
32058
32059 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32060
32061 [BZ #18822]
32062 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32063 * elf/dl-open.c: Include <libc-internal.h>.
32064 (__libc_multiple_libcs): Removed.
32065 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32066 <hp-timing.h>.
32067 * include/libc-internal.h (__libc_multiple_libcs): New.
32068 * misc/sbrk.c: Include <libc-internal.h>.
32069 (__libc_multiple_libcs): Removed.
32070
32071 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32072
32073 [BZ #18822]
32074 * grp/initgroups.c (__nss_group_database): Removed.
32075 (__nss_initgroups_database): Likewise.
32076 * nscd/gai.c (__nss_hosts_database): Likewise.
32077 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32078 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32079 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32080 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32081 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32082 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32083 attribute_hidden.
32084 * nss/nsswitch.c (__nss_database_custom): Define only if
32085 USE_NSCD is defined.
32086 (__nss_configure_lookup): Use __nss_database_custom only if
32087 USE_NSCD is defined.
32088 * nss/nsswitch.h (__nss_database_custom): Declare only if
32089 USE_NSCD is defined. Add attribute_hidden.
32090 (__nss_setent): Add attribute_hidden.
32091 (__nss_endent): Likewise.
32092 (__nss_getent_r): Likewise.
32093 (__nss_getent): Likewise.
32094 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32095
32096 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32097
32098 [BZ #18822]
32099 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32100 libc_hidden_proto and libc_hidden_def.
32101
32102 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32103
32104 [BZ #18822]
32105 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32106 Add libc_hidden_proto.
32107 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32108 Add libc_hidden_def.
32109
32110 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32111
32112 [BZ #21974]
32113 * gmon/Makefile (routines): Remove bb_init_func and
32114 bb_exit_func.
32115 (elide-routines.os): Removed.
32116 * gmon/bb_exit_func.c: Likewise.
32117 * gmon/bb_init_func.c: Likewise.
32118 * include/sys/gmon.h (__bb): Likewise.
32119 (__bb_init_func): Likewise.
32120 (__bb_exit_func): Likewise.
32121 * sysdeps/alpha/bb_init_func.S: Likewise.
32122
32123 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32124
32125 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32126 * include/setjmp.h (____longjmp_chk): Here. Add
32127 attribute_hidden.
32128
32129 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32130
32131 [BZ #18822]
32132 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32133 attribute_hidden.
32134 (__strspn_sse2): Likewise.
32135
32136 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32137
32138 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32139 (close_not_cancel_no_status): Likewise.
32140 (__close_nocancel): New macro.
32141 (__close_nocancel_nostatus): Likewise.
32142 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32143 macro.
32144 (close_not_cancel): Likewise.
32145 (close_not_cancel_no_status): Likewise.
32146 (__close_nocancel): New prototype.
32147 (__close_nocancel_nostatus): New function.
32148 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32149 * catgets/open_catalog.c (__open_catalog): Replace
32150 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32151 * gmon/gmon.c (write_gmon): Likewise.
32152 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32153 * intl/loadmsgcat.c (close): Likewise.
32154 * io/ftw.c (open_dir_stream): Likewise.
32155 (ftw_startup): Likewise.
32156 * libio/fileops.c (_IO_file_open): Likewise.
32157 (_IO_file_close_mmap): Likewise.
32158 (_IO_file_close): Likewise.
32159 * libio/iopopen.c (_IO_dup2): Likewise.
32160 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32161 * locale/loadlocale.c (_nl_load_locale): Likewise.
32162 * login/utmp_file.c (pututline_file): Likewise.
32163 (endutent_file): Likewise.
32164 * misc/daemon.c (daemon): Likewise.
32165 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32166 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32167 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32168 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32169 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32170 * nscd/nscd_helper.c (open_socket): Likewise.
32171 (__nscd_open_socket): Likewise.
32172 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32173 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32174 (__nscd_innetgr): Likewise.
32175 * nss/nss_db/db-open.c (internal_setent): Likewise.
32176 * resolv/res-close.c (__res_iclose): Likewise.
32177 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32178 * sysdeps/posix/closedir.c (__closedir): Likewise.
32179 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32180 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32181 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32182 (opendir_tail): Likewise.
32183 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32184 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32185 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32186 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32187 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32188 (gethostid): Likewise.
32189 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32190 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32191 Likewise.
32192 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32193 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32194 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32195 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32196 Likewise.
32197 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32198 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32199 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32200 Likewise.
32201 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32202 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32203 Likewise.
32204 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32205 Likewise.
32206 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32207 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32208 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32209 __close_nocancel.
32210
32211 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32212 (openat_not_cancel_3): Likewise.
32213 (openat64_not_cancel_3): Likewise).
32214 (openat_not_cancel_3): Likewise).
32215 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32216 macro.
32217 (openat_not_cancel_3): Likewise.
32218 (openat64_not_cancel): Likewise.
32219 (openat64_not_cancel_3): Likewise.
32220 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32221 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32222 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32223 __open{64}_nocancel.
32224 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32225 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32226 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32227
32228 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32229
32230 [BZ #18822]
32231 * include/argz.h (__argz_create_sep): New function prototype.
32232 (__argz_append): Likewise.
32233 (__argz_add): Likewise.
32234 (__argz_add_sep): Likewise.
32235 (__argz_delete): Likewise.
32236 (__argz_insert): Likewise.
32237 (__argz_replace): Likewise.
32238 * string/argz.h (__argz_create_sep): Removed.
32239 (__argz_append): Likewise.
32240 (__argz_add): Likewise.
32241 (__argz_add_sep): Likewise.
32242 (__argz_delete): Likewise.
32243 (__argz_insert): Likewise.
32244 (__argz_replace): Likewise.
32245
32246 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32247
32248 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32249 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32250 (GNU_PROPERTY_STACK_SIZE): Likewie.
32251 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32252 (GNU_PROPERTY_LOPROC): Likewise.
32253 (GNU_PROPERTY_HIPROC): Likewise.
32254 (GNU_PROPERTY_LOUSER): Likewise.
32255 (GNU_PROPERTY_HIUSER): Likewise.
32256 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32257 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32258 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32259 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32260 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32261 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32262 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32263 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32264 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32265 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32266 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32267 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32268 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32269 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32270 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32271 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32272 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32273 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32274 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32275 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32276 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32277 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32278 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32279
32280 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32281
32282 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32283 in C++ mode.
32284
32285 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32286
32287 [BZ #21930]
32288 * math/math.h (isinf): Check if in C or C++ mode before using
32289 __builtin_types_compatible_p, since this is a C mode feature.
32290
32291 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32292
32293 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32294 (__write_nocancel): New macro.
32295 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32296 Rewrite as a function prototype.
32297 (write_not_cancel): Remove macro.
32298 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32299 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32300 (write_gmon): Likewise.
32301 * libio/fileops.c (_IO_new_file_write): Likewise.
32302 * login/utmp_file.c (pututline_file): Likewise.
32303 (updwtmp_file): Likewise.
32304 * stdio-common/psiginfo.c (psiginfo): Likewise.
32305 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32306 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32307 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32308 Likewise.
32309 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32310 Likewise.
32311
32312 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32313 (__read_nocancel): New macro.
32314 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32315 __read_nocancel.
32316 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32317 macro.
32318 (__read_nocancel): New prototype.
32319 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32320 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32321 with __read_nocancel.
32322 * intl/loadmsgcat.c (read): Likewise.
32323 * libio/fileops.c (_IO_file_read): Likewise.
32324 * locale/loadlocale.c (_nl_load_locale): Likewise.
32325 * login/utmp_file.c (getutent_r_file): Likewise.
32326 (internal_getut_r): Likewise.
32327 (getutline_r_file): Likewise.
32328 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32329 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32330 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32331 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32332 Likewise.
32333 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32334 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32335 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32336 Likewise.
32337 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32338 Likewise.
32339 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32340 Likewise.
32341 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32342 Likewise.
32343 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32344
32345 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32346
32347 [BZ #21966]
32348 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32349 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32350 usable.
32351
32352 2017-08-17 DJ Delorie <dj@redhat.com>
32353
32354 * bug17079.c: Update to new test harness.
32355 * test-digits-dots.c: Likewise.
32356 * test-netdb.c: Likewise.
32357 * tst-field.c: Likewise.
32358 * tst-nss-getpwent.c: Likewise.
32359 * tst-nss-static.c: Likewise.
32360 * tst-nss-test1.c: Likewise.
32361 * tst-nss-test2.c: Likewise.
32362 * tst-nss-test3.c: Likewise.
32363 * tst-nss-test4.c: Likewise.
32364 * tst-nss-test5.c: Likewise.
32365
32366 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32367
32368 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32369 (open_not_cancel_2): Likewise.
32370 (open_nocancel): New macro.
32371 (open64_nocancel): Likewise.
32372 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32373 (open_not_cancel_2): Likewise.
32374 (__open_nocancel): New prototype.
32375 (__open64_nocancel): Likewise.
32376 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32377 __open_nocancel.
32378 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32379 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32380 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32381 with __open_nocancel.
32382 * csu/check_fds.c (check_one_fd): Likewise.
32383 * gmon/gmon.c (write_gmon): Likewise.
32384 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32385 * intl/loadmsgcat.c (open): Likewise.
32386 * libio/fileops.c (_IO_file_open): Likewise.
32387 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32388 * locale/loadlocale.c (_nl_load_locale): Likewise.
32389 * login/utmp_file.c (setutent_file): Likewise.
32390 * misc/daemon.c (daemon): Likewise.
32391 * nss/nss_db/db-open.c (internal_setent): Likewise.
32392 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32393 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32394 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32395 (__opendir): Likewise.
32396 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32397 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32398 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32399 (gethostid): Likewise.
32400 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32401 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32402 Likewise.
32403 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32404 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32405 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32406 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32407 Likewise.
32408 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32409 Likewise.
32410 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32411 Likewise.
32412 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32413 Likewise.
32414 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32415 Likewise.
32416 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32417 Likewise.
32418 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32419 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32420
32421 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32422
32423 * benchtests/bench-skeleton.c (main): Add support for
32424 latency benchmarking.
32425 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32426
32427 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32428
32429 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32430 the startup object.
32431
32432 2017-08-17 Florian Weimer <fweimer@redhat.com>
32433
32434 * include/sys/socket.h (__opensock): Remove internal_function.
32435 * socket/opensock.c (__opensock): Likewise.
32436 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32437
32438 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32439
32440 [BZ #21944]
32441 * signal/bits/types/__sigval_t.h: New file.
32442 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32443 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32444 and define sigval_t using __sigval_t.
32445 * include/bits/types/__sigval_t.h: New file.
32446 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32447 instead of <bits/types/__sigval_t.h>.
32448 (struct sigevent): Use __sigval_t instead of sigval_t.
32449 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32450 instead of <bits/types/__sigval_t.h>.
32451 (siginfo_t): Use __sigval_t instead of sigval_t.
32452 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32453 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32454 (struct sigevent): Use __sigval_t instead of sigval_t.
32455 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32456 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32457 (siginfo_t): Use __sigval_t instead of sigval_t.
32458 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32459
32460 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32461
32462 * NEWS: Remove "[Add new features here]" for 2.27.
32463
32464 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32465
32466 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32467 libc.so.
32468
32469 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32470
32471 * NEWS: Mention x86-64 FMA optimization.
32472
32473 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32474
32475 [BZ #21912]
32476 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32477 Add e_expf-fma.
32478 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32479 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32480 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32481
32482 2017-08-16 Andreas Schwab <schwab@suse.de>
32483
32484 [BZ #16750]
32485 CVE-2009-5064
32486 * elf/ldd.bash.in: Never run file directly.
32487
32488 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32489
32490 [BZ #21955]
32491 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32492 (L(SP_INF_0)): Likewise.
32493
32494 2017-08-15 Florian Weimer <fweimer@redhat.com>
32495
32496 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32497 run-built-tests.
32498
32499 2017-08-15 Florian Weimer <fweimer@redhat.com>
32500
32501 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32502 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32503 BROKEN_THREAD_SIGNALS code.
32504 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32505 request_list): Remove caller_pid member used for
32506 BROKEN_THREAD_SIGNALS.
32507 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32508 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32509 Remove BROKEN_THREAD_SIGNALS support.
32510 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32511 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32512
32513 2017-08-15 Florian Weimer <fweimer@redhat.com>
32514
32515 * gmon/Makefile (tests): Add tst-gmon.
32516 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32517 Set.
32518 (tests-special): Add tst-gmon-prof.out.
32519 (tst-gmon.out): Depend on clean-tst-gmon-data.
32520 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32521 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32522 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32523 startup object.
32524 * aclocal.m4 (GPROF): Set and substitute.
32525 * config.amke.in (GPROF): Set.
32526 * configure: Regenerate.
32527
32528 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32529
32530 * elf/elf.h A (NT_PPC_TAR): New macro.
32531 (NT_PPC_PPR): Likewise.
32532 (NT_PPC_DSCR): Likewise.
32533 (NT_PPC_EBB): Likewise.
32534 (NT_PPC_PMU): Likewise.
32535 (NT_PPC_TM_CGPR): Likewise.
32536 (NT_PPC_TM_CFPR): Likewise.
32537 (NT_PPC_TM_CVMX): Likewise.
32538 (NT_PPC_TM_CVSX): Likewise.
32539 (NT_PPC_TM_SPR): Likewise.
32540 (NT_PPC_TM_CTAR): Likewise.
32541 (NT_PPC_TM_CPPR): Likewise.
32542 (NT_PPC_TM_CDSCR): Likewise.
32543
32544 2017-08-15 Florian Weimer <fweimer@redhat.com>
32545
32546 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32547 regparm (2) instead of internal_function.
32548 (_MCOUNT_DECL): Adjust.
32549
32550 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32551
32552 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32553 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32554
32555 2017-08-14 Joseph Myers <joseph@codesourcery.com>
32556
32557 * conform/data/sys/wait.h-data (si_value): Do not expect for
32558 XPG42.
32559
32560 2017-08-14 Florian Weimer <fweimer@redhat.com>
32561
32562 [BZ #21962]
32563 NSS: Create stubs for accidentally exported lookup functions.
32564 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32565 Remove declaration.
32566 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32567 (ether_hostton): Call __nss_ethers_lookup2 instead.
32568 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32569 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32570 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32571 (setup): Call __nss_netgroup_lookup2 instead.
32572 * nss/Makefile (routines): Add compat-lookup.
32573 * nss/Versions (GLIBC_2.27): Add symbol version.
32574 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32575 (DB_COMPAT_FCT): Remove.
32576 * nss/compat-lookup.c: New file.
32577 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32578 from databases.def.
32579 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32580 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32581 (netname2user): Call __nss_publickey_lookup2 instead.
32582 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32583 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32584 instead.
32585
32586 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32587 Sergei Trofimovich <slyfox@inbox.ru>
32588
32589 [BZ #21908]
32590 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32591 Rename to MMAP2_PAGE_UNIT.
32592 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32593 __OFF_T_MATCHES_OFF64_T is not defined.
32594 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32595 uint64_t.
32596 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32597 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32598
32599 2017-08-14 Florian Weimer <fweimer@redhat.com>
32600
32601 i386: Do not set internal_function.
32602 * config.h.in (USE_REGPARMS, internal_function): Remove.
32603 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32604 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32605
32606 2017-08-14 Florian Weimer <fweimer@redhat.com>
32607
32608 * elf/dl-init.c (_dl_init): Remove internal_function.
32609 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32610 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32611
32612 2017-08-14 Florian Weimer <fweimer@redhat.com>
32613
32614 * elf/rtld.c (_dl_start): Remove internal_function.
32615 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32616 _dl_start.
32617
32618 2017-08-14 Florian Weimer <fweimer@redhat.com>
32619
32620 * elf/dl-fini.c (_dl_fini): Remove internal_function
32621 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32622
32623 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32624
32625 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
32626 (bit_cpu_SHSTK): Likewise.
32627 (index_cpu_IBT): Likewise.
32628 (index_cpu_SHSTK): Likewise.
32629 (reg_IBT): Likewise.
32630 (reg_SHSTK): Likewise.
32631 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32632 Handle index_cpu_IBT and index_cpu_SHSTK.
32633
32634 2017-08-14 Mike FABIAN <mfabian@redhat.com>
32635
32636 [BZ #19982]
32637 * po/fr.po: Fix spelling mistake.
32638
32639 2017-08-13 Florian Weimer <fweimer@redhat.com>
32640
32641 * elf/dl-addr.c (_dl_addr): Remove internal_function.
32642 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
32643 (_dl_catch_error, _dl_receive_error): Likewise.
32644 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
32645 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
32646 (_dl_deallocate_tls): Likewise.
32647 * include/dlfcn.h (_dl_addr): Likewise.
32648 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
32649 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
32650 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
32651 Likewise.
32652
32653 2017-08-13 Florian Weimer <fweimer@redhat.com>
32654
32655 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32656 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32657 internal_function.
32658 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32659
32660 2017-08-13 Florian Weimer <fweimer@redhat.com>
32661
32662 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32663 internal_function.
32664 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32665 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32666 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32667 internal_function from _dl_make_stack_executable_hook member.
32668 (_dl_make_stack_executable): Remove internal_function.
32669 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32670 Likewise.
32671 * sysdeps/unix/sysv/linux/dl-execstack.c
32672 (_dl_make_stack_executable): Likewise.
32673
32674 2017-08-13 Florian Weimer <fweimer@redhat.com>
32675
32676 * sysdeps/unix/sysv/linux/netlinkaccess.h
32677 (__netlink_assert_response): Remove internal_function.
32678 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32679 (__netlink_assert_response): Likewise.
32680
32681 2017-08-13 Florian Weimer <fweimer@redhat.com>
32682
32683 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32684 internal_function.
32685 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32686
32687 2017-08-13 Florian Weimer <fweimer@redhat.com>
32688
32689 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32690 internal_function.
32691 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32692 * inet/netgroup.h (__internal_setnetgrent)
32693 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32694 * inet/getnetgrent_r.c (__internal_setnetgrent)
32695 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32696 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32697 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32698 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32699 * nss/nsswitch.h (db_lookup_function): Likewise.
32700
32701 2017-08-13 Florian Weimer <fweimer@redhat.com>
32702
32703 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32704 Remove internal_function.
32705 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32706 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32707 message argument on the stack.
32708 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
32709 Likeweise.
32710
32711 2017-08-12 Mike FABIAN <mfabian@redhat.com>
32712
32713 Adapt test case data to the changes in the thousands
32714 separators.
32715
32716 [BZ #20756]
32717 * localedata/tst-langinfo.sh: Adapt test case data.
32718 * stdlib/tst-strfmon_l.c: Likewise.
32719 * stdlib/tst-strtod4.c: Likewise.
32720 * stdlib/tst-strtod5i.c: Likewise.
32721
32722 2017-08-11 Florian Weimer <fweimer@redhat.com>
32723
32724 [BZ #21242]
32725 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
32726 Suppress pedantic warning resulting from statement expression.
32727 (__ASSERT_FUNCTION): Add missing __extension__.
32728
32729 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32730
32731 * benchtests/bench-memmove-large.c: Print output in JSON
32732 format.
32733 * benchtests/bench-memmove.c: Likewise.
32734
32735 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
32736 * benchtests/bench-memchr.c (do_one_test): Likewise.
32737 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
32738 * benchtests/bench-memcpy.c (do_one_test): Likewise.
32739 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
32740 * benchtests/bench-memmove.c (do_one_test): Likewise.
32741 * benchtests/bench-memset-large.c (do_one_test): Likewise.
32742 * benchtests/bench-memset.c (do_one_test): Likewise.
32743 * benchtests/bench-string.h (test_init): Remove memsets.
32744
32745 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32746
32747 * manual/lang.texi
32748 (Computing the Width of an Integer Data Type): Rename section to
32749 "Width of an Integer Type". Remove inaccurate statement regarding
32750 lack of C language facilities for determining width of integer
32751 types, and reorder content to improve flow and context of
32752 discussion.
32753
32754 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32755
32756 * lang.texi (va_copy): Change standard from ISO to C99.
32757 (__va_copy): Add standard and header annotation.
32758 Update description for clarity of origins and current use.
32759
32760 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32761
32762 [BZ #21941]
32763 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32764 xssqrtqp requires operands to be in Vector Registers
32765 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32766 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32767 (__ieee754_sqrtf128): Likewise.
32768
32769 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32770
32771 * sysdeps/aarch64/memcmp.S (memcmp):
32772 Rewrite of optimized memcmp.
32773
32774 2017-08-10 Florian Weimer <fweimer@redhat.com>
32775
32776 Introduce ld.so exceptions.
32777 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32778 (_dl_exception_create, _dl_exception_create_format)
32779 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32780 (_dl_catch_exception): Declare.
32781 (_dl_catch_error): Update comment.
32782 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32783 errstring, malloced members with exception member.
32784 (_dl_out_of_memory): Remove.
32785 (fatal_error): New function, extracted from _dl_signal_error.
32786 (_dl_signal_exception, _dl_signal_cexception): New functions.
32787 (_dl_signal_error): Call _dl_exception_create to allocate an
32788 exception object.
32789 (_dl_catch_exception): New function, based on _dl_catch_error.
32790 (_dl_catch_error): Implement using _dl_catch_exception.
32791 * elf/dl-exception.c: New file.
32792 * elf/Makefile (dl-routines): Add dl-exception.
32793 (elide-routines.os): Likewise.
32794 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32795 _dl_exception_create_format, _dl_exception_free.
32796 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32797 _dl_signal_exception.
32798 * elf/dl-lookup.c (make_string): Remove.
32799 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32800 _dl_signal_cexception, _dl_exception_free.
32801 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32802 _dl_signal_exception.
32803 * elf/dl-sym.c (do_sym): Likewise.
32804 * elf/dl-version.c (make_string): Remove.
32805 (match_symbol): Use _dl_exception_create_format,
32806 _dl_signal_cexception, _dl_exception_free.
32807 (_dl_check_map_versions): Likewise.
32808 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32809 _dl_catch_exception.
32810 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32811 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32812 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32813 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32814 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32815 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32816 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32817 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32818 Likewise.
32819 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32821 (ld.so): Likewise.
32822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32823 (ld.so): Likewise.
32824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32825 Likewise.
32826 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32827 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32828 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32829 Likewise.
32830 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32831 Likewise.
32832 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32833
32834 2017-08-10 Florian Weimer <fweimer@redhat.com>
32835
32836 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32837 attribute_hidden, internal_function.
32838 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32839 internal_function.
32840
32841 2017-08-10 Florian Weimer <fweimer@redhat.com>
32842
32843 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32844 function which calls __builtin_unreachable.
32845
32846 2017-08-10 Mike FABIAN <mfabian@redhat.com>
32847
32848 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32849 Indian monetary formatting
32850 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32851 test cases.
32852
32853 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32854
32855 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32856 Fix typo in comment.
32857
32858 [BZ #21928]
32859 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32860 PTRACE_SEIZE_DEVEL): Remove.
32861 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32862 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32863 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32864 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32865 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32866
32867 2017-08-09 Joseph Myers <joseph@codesourcery.com>
32868
32869 * posix/bits/types.h (__qaddr_t): Remove.
32870
32871 [BZ #21457]
32872 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32873 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32874 __glibc_reserved1.
32875 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32876 (ucontext_t): Use __ctx with uc_flags.
32877 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32878 (__ctxt): Likewise.
32879 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32880 __glibc_reserved1.
32881 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32882 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32883 __glibc_reserved1.
32884 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32885 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32886 __glibc_reserved1.
32887 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32888 macro.
32889 (ucontext_t): Use __ctx with uc_flags.
32890 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32891 (ucontext_t): Use __ctx with uc_flags.
32892 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32893 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32894 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32895 (ucontext_t): Use __ctx with uc_flags.
32896 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32897 undefine further down.
32898 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32899 __glibc_reserved1.
32900 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32901 undefine further down.
32902 (ucontext_t): Use __ctx with uc_flags.
32903 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32904 undefine further down.
32905 (ucontext_t): Use __ctx with uc_flags.
32906 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32907 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32908 Rename uc_pad to __glibc_reserved1.
32909 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32910 undefine further down.
32911 (ucontext_t): Use __ctx with uc_flags.
32912 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32913 further down.
32914 (ucontext_t): Use __ctx with uc_flags.
32915 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32916 __ctx with uc_flags.
32917 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32918 (ucontext_t): Use __ctx with uc_flags.
32919 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32920 __ctx with uc_flags.
32921
32922 2017-08-09 Florian Weimer <fweimer@redhat.com>
32923
32924 [BZ #21932]
32925 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32926 before early return.
32927
32928 2017-08-09 Andreas Schwab <schwab@suse.de>
32929
32930 [BZ #21041]
32931 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32932 renamed alias.
32933
32934 [BZ #21041]
32935 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32936 tst-compat-forwarder.
32937 (modules-names): Add tst-compat-forwarder-mod.
32938 ($(objpfx)tst-compat-forwarder): Depend on
32939 $(objpfx)tst-compat-forwarder-mod.so.
32940 * nptl/tst-compat-forwarder.c: New file.
32941 * nptl/tst-compat-forwarder-mod.c: New file.
32942
32943 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32944
32945 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32946 comments.
32947
32948 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32949 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32950 memcpy_falkor.
32951 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32952 Bump.
32953 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32954 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32955 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32956 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32957 Add falkor.
32958 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32959 New macro.
32960
32961 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32962
32963 [BZ #759]
32964 * manual/setjmp.texi (getcontex): Document uc_stack value
32965 compatibility differences.
32966
32967 2017-08-08 Joseph Myers <joseph@codesourcery.com>
32968
32969 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32970 (old_malloc_hook): Likewise.
32971 (old_memalign_hook): Likewise.
32972 (old_realloc_hook): Likewise.
32973 (struct hdr): Likewise.
32974 (flood): Likewise.
32975 (freehook): Likewise.
32976 (mallochook): Likewise.
32977 (memalignhook): Likewise.
32978 (reallochook): Likewise.
32979 (mprobe): Likewise.
32980 * malloc/mtrace.c (mallwatch): Likewise.
32981 (tr_old_free_hook): Likewise.
32982 (tr_old_malloc_hook): Likewise.
32983 (tr_old_realloc_hook): Likewise.
32984 (tr_old_memalign_hook): Likewise.
32985 (tr_where): Likewise.
32986 (lock_and_info): Likewise.
32987 (tr_freehook): Likewise.
32988 (tr_mallochook): Likewise.
32989 (tr_reallochook): Likewise.
32990 (tr_memalignhook): Likewise.
32991 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32992 * misc/mmap.c (__mmap): Likewise.
32993 * misc/mmap64.c (__mmap64): Likewise.
32994 * misc/mprotect.c (__mprotect): Likewise.
32995 * misc/msync.c (msync): Likewise.
32996 * misc/munmap.c (__munmap): Likewise.
32997 * posix/posix_madvise.c (posix_madvise): Likewise.
32998 * socket/send.c (__send): Likewise.
32999 * socket/sendto.c (__sendto): Likewise.
33000 * socket/setsockopt.c (__setsockopt): Likewise.
33001 * string/memcmp.c (__ptr_t): Remove macro.
33002 (MEMCMP): Use void * instead of ptr_t.
33003 * string/memrchr.c (__ptr_t): Remove macro.
33004 (__memrchr): Use void * instead of ptr_t.
33005 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33006 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33007 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33008 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33009 * sysdeps/mach/msync.c (msync): Likewise.
33010 * sysdeps/mach/munmap.c (__munmap): Likewise.
33011 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33012 Likewise.
33013 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33014 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33015 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33016 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33017 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33018 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33019 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33020 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33021 Likewise.
33022 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33023 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33024 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33025 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33026 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33027 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33028 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33029 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33030 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33031 Likewise.
33032 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33033 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33034 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33035 (MEMCMP): Use void * instead of ptr_t.
33036 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33037 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33038
33039 2017-08-08 Florian Weimer <fweimer@redhat.com>
33040
33041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33042 return statement.
33043
33044 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33045
33046 [BZ #21913]
33047 * csu/libc-tls.c: Include <startup.h> first.
33048 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33049 * elf/dl-tunables.c: Include <startup.h> first.
33050 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33051 * sysdeps/generic/startup.h: New file.
33052 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33053 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33054 (I386_USE_SYSENTER): New. Defined to 0.
33055
33056 2017-08-08 Andreas Schwab <schwab@suse.de>
33057
33058 [BZ #21041]
33059 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33060 * nptl/pt-system.c (system): Likewise.
33061
33062 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33063
33064 [BZ #21780]
33065 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33066 EOPNOTSUPP.
33067 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33068 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33069 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33070 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33071 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33072 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33073 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33074
33075 2017-08-07 Joseph Myers <joseph@codesourcery.com>
33076
33077 [BZ #21899]
33078 * bits/sigaction.h (struct sigaction): Define sa_handler and
33079 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33080 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33081 [__USE_XOPEN_EXTENDED].
33082 (SA_RESTART): Likewise.
33083 (SA_NODEFER): Likewise.
33084 (SA_RESETHAND): Likewise.
33085 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33086 (struct sigaction): Define sa_handler and sa_sigaction using union
33087 also for [__USE_XOPEN_EXTENDED].
33088 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33089 [__USE_XOPEN_EXTENDED].
33090 (SA_RESTART): Likewise.
33091 (SA_NODEFER): Likewise.
33092 (SA_RESETHAND): Likewise.
33093 * sysdeps/unix/sysv/linux/bits/sigaction.h
33094 (struct sigaction): Define sa_handler and sa_sigaction using union
33095 also for [__USE_XOPEN_EXTENDED].
33096 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33097 [__USE_XOPEN_EXTENDED].
33098 (SA_RESTART): Likewise.
33099 (SA_NODEFER): Likewise.
33100 (SA_RESETHAND): Likewise.
33101 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33102 (struct sigaction): Define sa_handler and sa_sigaction using union
33103 also for [__USE_XOPEN_EXTENDED].
33104 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33105 [__USE_XOPEN_EXTENDED].
33106 (SA_RESTART): Likewise.
33107 (SA_NODEFER): Likewise.
33108 (SA_RESETHAND): Likewise.
33109 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33110 (struct sigaction): Define sa_handler and sa_sigaction using union
33111 also for [__USE_XOPEN_EXTENDED].
33112 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33113 [__USE_XOPEN_EXTENDED].
33114 (SA_RESTART): Likewise.
33115 (SA_NODEFER): Likewise.
33116 (SA_RESETHAND): Likewise.
33117 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33118 (struct sigaction): Define sa_handler and sa_sigaction using union
33119 also for [__USE_XOPEN_EXTENDED].
33120 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33121 [__USE_XOPEN_EXTENDED].
33122 (SA_RESTART): Likewise.
33123 (SA_NODEFER): Likewise.
33124 (SA_RESETHAND): Likewise.
33125 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33126 (struct sigaction): Define sa_handler and sa_sigaction using union
33127 also for [__USE_XOPEN_EXTENDED].
33128 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33129 [__USE_XOPEN_EXTENDED].
33130 (SA_RESTART): Likewise.
33131 (SA_NODEFER): Likewise.
33132 (SA_RESETHAND): Likewise.
33133 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33134 (struct sigaction): Define sa_handler and sa_sigaction using union
33135 also for [__USE_XOPEN_EXTENDED].
33136 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33137 [__USE_XOPEN_EXTENDED].
33138 (SA_RESTART): Likewise.
33139 (SA_NODEFER): Likewise. Define directly rather than as alias.
33140 (SA_RESETHAND): Likewise.
33141 (SA_INTERRUPT): Define only for [__USE_MISC].
33142 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33143 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33144 [__USE_MISC].
33145 (SA_STACK): Define only for [__USE_MISC].
33146 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33147 (struct sigaction): Define sa_handler and sa_sigaction using union
33148 also for [__USE_XOPEN_EXTENDED].
33149 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33150 [__USE_XOPEN_EXTENDED].
33151 (SA_RESTART): Likewise.
33152 (SA_NODEFER): Likewise.
33153 (SA_RESETHAND): Likewise.
33154 (SA_NOPTRACE): Define only for [__USE_MISC].
33155
33156 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33157 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33158 (struct catalog_info): Likewise.
33159 * inet/htontest.c (lo): Likewise.
33160 (foo): Likewise.
33161 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33162 * inet/inet_net.c (inet_network): Likewise.
33163 * inet/inet_netof.c (inet_netof): Likewise.
33164 * inet/rcmd.c (__ivaliduser): Likewise.
33165 (iruserok): Likewise.
33166 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33167 * locale/programs/locale-spec.c (locale_special): Likewise.
33168 * nis/nis_findserv.c (struct findserv_req): Likewise.
33169 (__nis_findfastest_with_timeout): Likewise.
33170 * nss/test-netdb.c (test_network): Likewise.
33171 * resolv/inet_neta.c (inet_neta): Likewise.
33172 * resolv/ns_date.c (ns_datetosecs): Likewise.
33173 (SECS_PER_DAY): Likewise.
33174 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33175 Likewise.
33176 * resolv/res_comp.c (__putlong): Likewise.
33177 (__putshort): Likewise.
33178 (_getlong): Likewise.
33179 (_getshort): Likewise.
33180 * resolv/res_debug.c (p_time): Likewise.
33181 (precsize_ntoa): Likewise.
33182 (precsize_aton): Likewise.
33183 (latlon2ul): Likewise.
33184 (loc_aton): Likewise.
33185 (loc_ntoa): Likewise.
33186 * resolv/res_hconf.c (struct netaddr): Likewise.
33187 (_res_hconf_reorder_addrs): Likewise.
33188 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33189 (clnttcp_control): Likewise.
33190 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33191 (clntudp_control): Likewise.
33192 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33193 (clntunix_control): Likewise.
33194 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33195 * sunrpc/rpc/auth.h (union des_block): Likewise.
33196 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33197 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33198 (xdrrec_create): Likewise.
33199 (xdrrec_endofrecord): Likewise.
33200 (flush_out): Likewise.
33201 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33202 (xdrstdio_putlong): Likewise.
33203 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33204 Likewise.
33205
33206 * misc/sys/cdefs.h (__long_double_t): Remove.
33207 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33208 instead of __long_double_t,
33209 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33210
33211 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33212
33213 * benchtests/scripts/compare_strings.py: Avoid display error when
33214 running on a text terminal.
33215
33216 * benchtests/scripts/compare_strings.py (main): Add an
33217 optional -base option.
33218 (process_results): New argument base_func.
33219
33220 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33221 hardcoding memcpy.
33222 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33223 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33224
33225 2017-08-07 Andreas Schwab <schwab@suse.de>
33226
33227 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33228 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33229 * intl/Makefile ($(objpfx)tst-gettext.out)
33230 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33231 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33232 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33233 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33234 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33235 * posix/Makefile ($(objpfx)globtest.out)
33236 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33237 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33238 ($(objpfx)tst-printf.out): Likewise.
33239 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33240 ($(objpfx)tst-setcontext3.out): Likewise.
33241
33242 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33243
33244 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33245 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33246 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33247 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33248 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33249 and mptan-fma.
33250 (CFLAGS-doasin-fma.c): New.
33251 (CFLAGS-dosincos-fma.c): Likewise.
33252 (CFLAGS-e_asin-fma.c): Likewise.
33253 (CFLAGS-e_atan2-fma.c): Likewise.
33254 (CFLAGS-e_exp-fma.c): Likewise.
33255 (CFLAGS-e_log-fma.c): Likewise.
33256 (CFLAGS-e_pow-fma.c): Likewise.
33257 (CFLAGS-halfulp-fma.c): Likewise.
33258 (CFLAGS-mpa-fma.c): Likewise.
33259 (CFLAGS-mpatan-fma.c): Likewise.
33260 (CFLAGS-mpatan2-fma.c): Likewise.
33261 (CFLAGS-mpexp-fma.c): Likewise.
33262 (CFLAGS-mplog-fma.c): Likewise.
33263 (CFLAGS-mpsqrt-fma.c): Likewise.
33264 (CFLAGS-mptan-fma.c): Likewise.
33265 (CFLAGS-s_atan-fma.c): Likewise.
33266 (CFLAGS-sincos32-fma.c): Likewise.
33267 (CFLAGS-slowexp-fma.c): Likewise.
33268 (CFLAGS-slowpow-fma.c): Likewise.
33269 (CFLAGS-s_sin-fma.c): Likewise.
33270 (CFLAGS-s_tan-fma.c): Likewise.
33271 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33272 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33273 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33274 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33275 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33276 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33277 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33278 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33279 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33280 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33281 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33282 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33283 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33284 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33285 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33286 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33287 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33288 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33289 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33290 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33291 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33292 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33293 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33294 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33295 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33296 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33297 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33298 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33299 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33300 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33301 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33302
33303 2017-08-04 Joseph Myers <joseph@codesourcery.com>
33304
33305 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33306 (min_of_type_f): New macro.
33307 (min_of_type_): Likewise.
33308 (min_of_type_l): Likewise.
33309 (min_of_type_f128): Likewise.
33310 (min_of_type): Define using __MATH_TG and taking an expression
33311 argument.
33312 (math_check_force_underflow): Pass expression instead of type to
33313 min_of_type.
33314 (math_check_force_underflow_nonneg): Likewise.
33315
33316 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33317
33318 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33319 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33320 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33321
33322 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33323
33324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33325 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33326 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33327 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33328 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33329 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33330 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33331 memmove_chk-nonshared and memset_chk-nonshared
33332 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33333 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33334 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33335 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33336 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33337 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33338 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33339 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33340 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33341 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33342 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33343 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33344 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33345 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33346 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33347 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33348 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33349 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33350 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33351 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33352 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33353 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33354 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33355 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33356 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33357 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33358 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33359 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33360 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33361 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33362 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33363 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33364 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33365 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33366 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33367 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33368 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33369 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33370 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33371 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33372 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33373 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33374 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33375 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33376 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33377 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33378 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33379 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33380 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33381 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33382 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33383 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33384 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33385 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33386 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33387 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33388 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33389 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33390 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33391 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33392 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33393 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33394 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33395 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33396 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33397 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33398 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33399 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33400 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33401 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33402 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33403 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33404 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33405 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33406 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33407 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33408 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33409 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33410 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33411 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33412 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33413 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33414 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33415 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33416 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33417 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33418 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33419 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33420 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33421 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33422 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33423 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33424 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33425 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33426 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33427 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33428 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33429 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33430 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33431 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33432 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33433 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33434 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33435 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33436 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33437 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33438 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33439 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33440
33441 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33442
33443 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33444 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33445 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33446 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33447 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33448 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33449 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33450 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33451 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33452 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33453 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33454 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33455 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33456 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33457 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33458 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33459 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33460 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33461 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33462 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33463 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33464 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33465 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33466 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33467 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33468 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33469 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33470 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33471 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33472 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33473 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33474 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33475 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33476 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33477 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33478 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33479 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33480 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33481 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33482 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33483 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33484 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33485 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33486 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33487 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33488 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33489 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33490 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33491 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33492 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33493 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33494 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33495 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33496 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33497 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33498 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33499 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33500 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33501 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33502 ...
33503 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33504 Don't include <sysdep.h> nor <init-arch.h>.
33505 (_ZGVbN2v_cos): Removed.
33506 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33507 ...
33508 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33509 Don't include <sysdep.h> nor <init-arch.h>.
33510 (_ZGVdN4v_cos): Removed.
33511 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33512 ...
33513 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33514 Don't include <sysdep.h> nor <init-arch.h>.
33515 (_ZGVeN8v_cos): Removed.
33516 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33517 ...
33518 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33519 Don't include <sysdep.h> nor <init-arch.h>.
33520 (_ZGVbN2v_exp): Removed.
33521 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33522 ...
33523 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33524 Don't include <sysdep.h> nor <init-arch.h>.
33525 (_ZGVdN4v_exp): Removed.
33526 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33527 ...
33528 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33529 Don't include <sysdep.h> nor <init-arch.h>.
33530 (_ZGVeN8v_exp): Removed.
33531 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33532 ...
33533 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33534 Don't include <sysdep.h> nor <init-arch.h>.
33535 (_ZGVbN2v_log): Removed.
33536 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33537 ...
33538 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33539 Don't include <sysdep.h> nor <init-arch.h>.
33540 (_ZGVdN4v_log): Removed.
33541 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33542 ...
33543 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33544 Don't include <sysdep.h> nor <init-arch.h>.
33545 (_ZGVeN8v_log): Removed.
33546 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33547 ...
33548 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33549 Don't include <sysdep.h> nor <init-arch.h>.
33550 (_ZGVbN2vv_pow): Removed.
33551 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33552 ...
33553 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33554 Don't include <sysdep.h> nor <init-arch.h>.
33555 (_ZGVdN4vv_pow): Removed.
33556 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33557 ...
33558 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33559 Don't include <sysdep.h> nor <init-arch.h>.
33560 (_ZGVeN8vv_pow): Removed.
33561 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33562 ...
33563 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33564 Don't include <sysdep.h> nor <init-arch.h>.
33565 (_ZGVbN2v_sin): Removed.
33566 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33567 ...
33568 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33569 Don't include <sysdep.h> nor <init-arch.h>.
33570 (_ZGVbN4v_sin): Removed.
33571 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33572 ...
33573 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33574 Don't include <sysdep.h> nor <init-arch.h>.
33575 (_ZGVbN8v_sin): Removed.
33576 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33577 ...
33578 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33579 Don't include <sysdep.h> nor <init-arch.h>.
33580 (_ZGVbN2vvv_sincos): Removed.
33581 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33582 ...
33583 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33584 Don't include <sysdep.h> nor <init-arch.h>.
33585 (_ZGVdN4vvv_sincos): Removed.
33586 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33587 ...
33588 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33589 Don't include <sysdep.h> nor <init-arch.h>.
33590 (_ZGVeN8vvv_sincos): Removed.
33591 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33592 ...
33593 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33594 Don't include <sysdep.h> nor <init-arch.h>.
33595 (_ZGVeN16v_cosf): Removed.
33596 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33597 ...
33598 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33599 Don't include <sysdep.h> nor <init-arch.h>.
33600 (_ZGVbN4v_cosf): Removed.
33601 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33602 ...
33603 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33604 Don't include <sysdep.h> nor <init-arch.h>.
33605 (_ZGVdN8v_cosf): Removed.
33606 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33607 ...
33608 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33609 Don't include <sysdep.h> nor <init-arch.h>.
33610 (_ZGVeN16v_expf): Removed.
33611 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33612 ...
33613 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33614 Don't include <sysdep.h> nor <init-arch.h>.
33615 (_ZGVbN4v_expf): Removed.
33616 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33617 ...
33618 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33619 Don't include <sysdep.h> nor <init-arch.h>.
33620 (_ZGVdN8v_expf): Removed.
33621 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33622 ...
33623 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33624 Don't include <sysdep.h> nor <init-arch.h>.
33625 (_ZGVeN16v_logf): Removed.
33626 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33627 ...
33628 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33629 Don't include <sysdep.h> nor <init-arch.h>.
33630 (_ZGVbN4v_logf): Removed.
33631 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33632 ...
33633 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33634 Don't include <sysdep.h> nor <init-arch.h>.
33635 (_ZGVdN8v_logf): Removed.
33636 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
33637 ...
33638 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
33639 Don't include <sysdep.h> nor <init-arch.h>.
33640 (_ZGVeN16vv_powf): Removed.
33641 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
33642 ...
33643 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
33644 Don't include <sysdep.h> nor <init-arch.h>.
33645 (_ZGVbN4vv_powf): Removed.
33646 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
33647 ...
33648 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
33649 Don't include <sysdep.h> nor <init-arch.h>.
33650 (_ZGVdN8vv_powf): Removed.
33651 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
33652 ...
33653 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33654 Don't include <sysdep.h> nor <init-arch.h>.
33655 (_ZGVeN16vvv_sincosf): Removed.
33656 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33657 ...
33658 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33659 Don't include <sysdep.h> nor <init-arch.h>.
33660 (_ZGVbN4vvv_sincosf): Removed.
33661 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33662 ...
33663 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33664 Don't include <sysdep.h> nor <init-arch.h>.
33665 (_ZGVdN8vvv_sincosf): Removed.
33666 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33667 ...
33668 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33669 Don't include <sysdep.h> nor <init-arch.h>.
33670 (_ZGVeN16v_sinf): Removed.
33671 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33672 ...
33673 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33674 Don't include <sysdep.h> nor <init-arch.h>.
33675 (_ZGVbN4v_sinf): Removed.
33676 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33677 ...
33678 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33679 Don't include <sysdep.h> nor <init-arch.h>.
33680 (_ZGVdN8v_sinf): Removed.
33681
33682 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33683
33684 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33685 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33686 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33687 s_rint-sse4_1 and s_rintf-sse4_1.
33688 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33689 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33690 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33691 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33692 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33693 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33694 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33695 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33696 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33697 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33698 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33699 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33700 (__ceil): Removed.
33701 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33702 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33703 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33704 (__ceilf): Removed.
33705 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33706 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33707 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33708 (__floor): Removed.
33709 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
33710 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
33711 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33712 (__floorf): Removed.
33713 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33714 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33715 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33716 (__nearbyint): Removed.
33717 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33718 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33719 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33720 (__nearbyintf): Removed.
33721 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
33722 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
33723 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33724 (__rint): Removed.
33725 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
33726 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
33727 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33728 (__rintf): Removed.
33729
33730 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33731
33732 * sysdeps/i386/start.S (_start): Check Check PIC instead of
33733 SHARED. Avoid dynamic relocation against main in static PIE.
33734
33735 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33736
33737 [BZ #21815]
33738 * elf/Makefile (CFLAGS-tst-prelink.c): New.
33739 (LDFLAGS-tst-prelink): Likewise.
33740
33741 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33742
33743 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
33744 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
33745 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
33746 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
33747 (INTERNAL_SYSCALL_NCS): Likewise.
33748 (LOADARGS_1): Likewise.
33749 (LOADARGS_5): Likewise.
33750 (RESTOREARGS_1): Likewise.
33751 (RESTOREARGS_5): Likewise.
33752
33753 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33754
33755 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
33756 (MEMPCPY_SYMBOL): Likewise.
33757 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33758 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33759 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33760 in libc.a.
33761 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33762 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33763 Likewise.
33764 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33765 (__hidden_ver1): Don't use in libc.a.
33766 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33767 (__mempcpy): Don't create a weak alias in libc.a.
33768 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33769 libc.a.
33770 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33771 (__hidden_ver1): Don't use in libc.a.
33772
33773 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33774
33775 * config.make.in (have-insert): New.
33776 * configure.ac (libc_cv_insert): New. Set to yes if linker
33777 supports INSERT in linker script.
33778 (AC_SUBST(libc_cv_insert): New.
33779 * configure: Regenerated.
33780 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33781 if $(have-insert) == yes.
33782
33783 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33784
33785 * elf/Makefile (tests): Add vismain only if
33786 $(have-protected-data) == yes.
33787 (tests-pie): Likewise.
33788
33789 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33790
33791 [BZ #21871]
33792 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33793 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33794
33795 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33796
33797 [BZ #21790]
33798 * sysdeps/i386/i586/memset.S
33799 (__memset_zero_constant_len_parameter): Removed.
33800 * sysdeps/i386/i686/memset.S
33801 (__memset_zero_constant_len_parameter): Likewise.
33802 * sysdeps/i386/i686/multiarch/memset_chk.S
33803 (__memset_zero_constant_len_parameter): Likewise.
33804 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33805 Likewise.
33806
33807 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33808
33809 * stdlib/getentropy.c (getentropy): Change return type to int.
33810
33811 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33812
33813 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33814
33815 2017-08-03 Joseph Myers <joseph@codesourcery.com>
33816
33817 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33818 u_intN_t.
33819 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33820 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33821 Likewise.
33822 (ieee_float_shape_type): Likewise.
33823 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33824 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33825 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33826 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33827 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33828 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33829 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33830 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33831 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33832 Likewise.
33833 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33834 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33835 (__ieee754_yn): Likewise.
33836 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33837 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33838 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33839 Likewise.
33840 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33841 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33842 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33843 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33844 (__erfc): Likewise.
33845 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33846 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33847 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33848 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33849 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33850 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33851 Likewise.
33852 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33853 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33854 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33855 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33856 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33857 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33858 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33859 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33860 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33861 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33862 (__issignaling): Likewise.
33863 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33864 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33865 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33866 Likewise.
33867 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33868 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33869 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33870 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33871 Likewise.
33872 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33873 Likewise.
33874 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33875 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33876 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33877 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33878 (__erfcf): Likewise.
33879 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33880 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33881 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33882 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33883 Likewise.
33884 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33885 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33886 Likewise.
33887 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33888 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33889 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33890 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33891 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33892 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33893 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33894 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33895 Likewise.
33896 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33897 Likewise.
33898 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33899 Likewise.
33900 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33901 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33902 Likewise.
33903 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33904 Likewise.
33905 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33906 (__ieee754_ynl): Likewise.
33907 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33908 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33909 Likewise.
33910 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33911 Likewise.
33912 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33913 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33914 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33915 Likewise.
33916 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33917 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33918 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33919 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33920 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33921 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33922 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33923 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33924 Likewise.
33925 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33926 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33927 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33928 Likewise.
33929 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33930 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33931 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33932 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33933 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33934 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33935 Likewise.
33936 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33937 Likewise.
33938 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33939 Likewise.
33940 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33941 Likewise.
33942 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33943 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33944 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33945 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33946 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33947 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33948 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33949 Likewise.
33950 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33951 Likewise.
33952 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33953 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33954 Likewise.
33955 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33956 (__ieee754_remainderl): Likewise.
33957 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33958 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33959 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33960 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33961 Likewise.
33962 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33963 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33964 Likewise.
33965 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33966 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33967 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33968 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33969 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33970 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33971 Likewise.
33972 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33973 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33974 (__ieee754_y0l): Likewise.
33975 (pzero): Likewise.
33976 (qzero): Likewise.
33977 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33978 (__ieee754_y1l): Likewise.
33979 (pone): Likewise.
33980 (qone): Likewise.
33981 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33982 (__ieee754_ynl): Likewise.
33983 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33984 (__ieee754_lgammal_r): Likewise.
33985 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33986 Likewise.
33987 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33988 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33989 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33990 (__erfcl): Likewise.
33991 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33992 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33993 Likewise.
33994 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33995 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33996 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33997 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33998 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33999 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34000 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34001 Likewise.
34002 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34003 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34004 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34005 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34006 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34007 Likewise.
34008 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34009 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34010 Likewise.
34011 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34012 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34013 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34014 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34015 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34016
34017 2017-08-03 Florian Weimer <fweimer@redhat.com>
34018
34019 [BZ #21885]
34020 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34021 on memory allocation failure.
34022
34023 2017-08-03 Alan Modra <amodra@gmail.com>
34024
34025 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34026 tst-tlsopt-powerpc.c with function name change and no test harness.
34027 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34028 Call tls_get_addr_opt_test.
34029 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34030 (modules-names): Add mod-tlsopt-powerpc.
34031 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34032 (tst-tlsopt-powerpc): Depend on .so.
34033 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34034 define. Expand use in TLS_GD and TLS_LD.
34035
34036 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34037
34038 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34039 function.
34040 * sysdeps/posix/shm_open.c: Include <pthread.h>.
34041
34042 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34043
34044 [BZ #21686]
34045 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34046 comparing size with that of double.
34047 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34048 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34049 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34050 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34051 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34052 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34053 unsigned __int128 types.
34054
34055 2017-08-02 Steve Ellcey <sellcey@cavium.com>
34056
34057 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34058 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34059 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34060 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34061 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34062
34063 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34064
34065 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34066
34067 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34068
34069 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34070 of SHARED.
34071 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34072 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34073 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34074 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34075 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34076 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34077 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34078
34079 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34080
34081 [BZ #21685]
34082 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34083 bit-field expressions passed to sizeof or typeof.
34084 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34085 (__TGMATH_F128): Likewise.
34086 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34087 (__TGMATH_CF128): Likewise.
34088 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34089 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34090 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34091 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34092 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34093 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34094 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34095 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34096 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34097 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34098 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34099 (__TGMATH_UNARY_IMAG): Likewise.
34100 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34101 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34102 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34103 type.
34104 (define_vars_for_type): Handle bit_field type specially.
34105 (Tests.__init__): Declare structure with bit-field element.
34106
34107 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34108
34109 [BZ #21791]
34110 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34111 (MEMCPY_CHK): Define only if SHARED is defined.
34112 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34113 Likewise.
34114 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34115 Likewise.
34116
34117 See ChangeLog.18 for earlier changes.