]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix -Wempty-body warnings in glibc.
[thirdparty/glibc.git] / ChangeLog
1 2019-02-13 Joseph Myers <joseph@codesourcery.com>
2
3 * catgets/gencat.c (normalize_line): Use braces around empty
4 'else' body.
5 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
7 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
8 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
9 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
10 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
11 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
12 definition.
13
14 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
15 execlp returns.
16
17 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18
19 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
20 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
21 * benchtests/bench-strchr.c (stupid_strchr): Remove.
22 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
23 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
24 * benchtests/bench-strlen.c (builtin_strlen): Remove.
25 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
26 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
27 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
28 * benchtests/bench-strspn.c (stupid_strspn): Remove.
29 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
30 * benchtests/bench-bcopy.c: Delete file.
31 * benchtests/bench-bzero.c: Likewise.
32 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
33 (simple_memccpy): Remove.
34 (generic_memccpy): Add function.
35 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
36 * benchtests/bench-memmove.c (simple_bcopy): Remove.
37 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
38 (generic_mempcpy): Add new function.
39 * benchtests/bench-memset.c (simple_bzero): Remove.
40 (builtin_bzero): Remove.
41 (builtin_memset): Remove.
42 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
43 (generic_rawmemchr): Add new function.
44
45 2019-02-12 Florian Weimer <fweimer@redhat.com>
46
47 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
48
49 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
50
51 [BZ #24122]
52 * elf/Makefile (tests): Add tst-audit13.
53 (modules-names): Add tst-audit13mod1.
54 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
55 rule.
56 * elf/tst-audit13.c: New file.
57 * elf/tst-audit13mod1.c: Likewise.
58
59 2019-02-12 Florian Weimer <fweimer@redhat.com>
60
61 [BZ #24122]
62 * elf/rtld.c (unload_audit_module): New function.
63 (report_audit_module_load_error): Likewise.
64 (load_audit_module): Likewise. Extracted from dl_main. Call
65 _dl_close if the laversion symbol cannot be found. Use early
66 returns for error handling. Add malloc error check. Check for a
67 zero return value from la_version. Remove spurious comment about
68 static TLS initialization. Remove useless casts.
69 (notify_audit_modules_of_loaded_object): New function. Extracted
70 from dl_main.
71 (load_audit_module): Likewise.
72 (dl_main): Call load_audit_modules.
73
74 2019-02-12 Joseph Myers <joseph@codesourcery.com>
75
76 * elf/dl-exception.c (_dl_exception_create_format): Add
77 fall-through comments.
78 * elf/ldconfig.c (parse_conf_include): Likewise.
79 * elf/rtld.c (print_statistics): Likewise.
80 * locale/programs/charmap.c (parse_charmap): Likewise.
81 * misc/mntent_r.c (__getmntent_r): Likewise.
82 * posix/wordexp.c (parse_arith): Likewise.
83 (parse_backtick): Likewise.
84 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
85 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
86 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
87
88 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
89
90 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
91 Use float instead of double.
92
93 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
94
95 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
96
97 2019-02-08 Joseph Myers <joseph@codesourcery.com>
98
99 * sysdeps/powerpc/bits/mathinline.h: Remove.
100
101 2019-02-08 Florian Weimer <fweimer@redhat.com>
102
103 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
104 * math/bits/math-finite.h: Move to ...
105 * bits/math-finite.h: ... here.
106
107 2019-02-08 Florian Weimer <fweimer@redhat.com>
108
109 * sysdeps/generic/bits/unistd_ext.h: Move to ...
110 * bits/unistd_ext.h: here.
111
112 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
113
114 [BZ #21915]
115 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
116 * nss/tst-nss-files-hosts-long.c: New file.
117 * nss/tst-nss-files-hosts-long.root: New directory.
118 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
119 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
120
121 2019-02-08 Florian Weimer <fweimer@redhat.com>
122
123 * include/bits/unistd_ext.h: Remove file.
124 * posix/bits/unistd_ext.h: Move to ...
125 * sysdeps/generic/bits/unistd_ext.h: ... here.
126
127 2019-02-08 Florian Weimer <fweimer@redhat.com>
128
129 * include/bits/unistd_ext.h: New file.
130
131 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
132
133 * time/tst-strftime2.c: Use array_length macros instead of magic
134 numbers.
135
136 2019-02-08 Florian Weimer <fweimer@redhat.com>
137
138 [BZ #24161]
139 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
140 argument.
141 * nptl/register-atfork.c (__run_fork_handlers): Only perform
142 locking if the new do_locking argument is true.
143 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
144 __run_fork_handlers.
145
146 2019-02-08 Florian Weimer <fweimer@redhat.com>
147
148 [BZ #6399]
149 Linux: Add gettid system call wrapper.
150 * posix/Makefile (headers): Add bits/unistd_ext.h.
151 * posix/bits/unistd_ext.h: New file.
152 * posix/unistd.h: Include it.
153 * manual/process.texi (Process Identification): Document gettid.
154 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
155 tst-gettid, tst-gettid-kill.
156 (tst-gettid): Link with $(shared-thread-library).
157 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
158 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
159 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
160 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
161 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
162 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
163 Add gettid.
164 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
165 Likewise.
166 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
167 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
168 Likewise.
169 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
170 Likewise.
171 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
172 Likewise.
173 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
174 Likewise.
175 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
176 Likewise.
177 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
178 Likewise.
179 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
180 Likewise.
181 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
182 (GLIBC_2.30): Likewise.
183 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
184 (GLIBC_2.30): Likewise.
185 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
186 (GLIBC_2.30): Likewise.
187 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
188 (GLIBC_2.30): Likewise.
189 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
190 Likewise.
191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
192 (GLIBC_2.30): Likewise.
193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
194 (GLIBC_2.30): Likewise.
195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
196 (GLIBC_2.30): Likewise.
197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
198 (GLIBC_2.30): Likewise.
199 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
200 Likewise.
201 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
202 Likewise.
203 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
204 Likewise.
205 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
206 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
207 Likewise.
208 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
209 Likewise.
210 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
211 Likewise.
212 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
213 Likewise.
214 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
215
216 2019-02-07 Florian Weimer <fweimer@redhat.com>
217
218 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
219 compatibility symbols.
220
221 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
222
223 [BZ #24180]
224 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
225 Add compiler barriers and comments.
226
227 2019-02-07 Florian Weimer <fweimer@redhat.com>
228
229 * include/array_length.h (array_length): Do not use a statement
230 expression and _Static_assert, so that array_length can be used at
231 file scope and as a constant expression.
232
233 2019-02-07 Florian Weimer <fweimer@redhat.com>
234
235 * support/xdlfcn.h (xdlmopen): Declare.
236 * support/xdlmopen.c: New file.
237 * support/Makefile (libsupport-routines): Add xdlmopen.
238
239 2019-02-06 Joseph Myers <joseph@codesourcery.com>
240
241 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
242 before return type, without separate inline.
243 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
244 * elf/dl-tunables.h (tunable_is_name): Likewise.
245 * malloc/malloc.c (do_set_trim_threshold): Likewise.
246 (do_set_top_pad): Likewise.
247 (do_set_mmap_threshold): Likewise.
248 (do_set_mmaps_max): Likewise.
249 (do_set_mallopt_check): Likewise.
250 (do_set_perturb_byte): Likewise.
251 (do_set_arena_test): Likewise.
252 (do_set_arena_max): Likewise.
253 (do_set_tcache_max): Likewise.
254 (do_set_tcache_count): Likewise.
255 (do_set_tcache_unsorted_limit): Likewise.
256 * nis/nis_subr.c (count_dots): Likewise.
257 * nptl/allocatestack.c (advise_stack_range): Likewise.
258 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
259 (do_sin): Likewise.
260 (reduce_sincos): Likewise.
261 (do_sincos): Likewise.
262 * sysdeps/unix/sysv/linux/x86/elision-conf.c
263 (do_set_elision_enable): Likewise.
264 (TUNABLE_CALLBACK_FNDECL): Likewise.
265
266 2019-02-06 Florian Weimer <fweimer@redhat.com>
267
268 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
269 (xdlsym): Use dlerror to detect a NULL symbol.
270
271 2019-02-06 Florian Weimer <fweimer@redhat.com>
272
273 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
274 <stap-probe.h>.
275 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
276
277 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
278
279 * libio/tst-bz24153.c (wide): Use wide char format specifier.
280
281 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
282
283 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
284 __wmemcmp and weak alias to wmemcmp.
285
286 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
287
288 [BZ #23403]
289 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
290 TLS_TCB_AT_TP tls variant.
291 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
292 Add alignment checks.
293 * support/Makefile (libsupport-routines): Add xposix_memalign and
294 xpthread_setstack.
295 * support/support.h: Add xposix_memalign.
296 * support/xthread.h: Add xpthread_attr_setstack.
297 * support/xposix_memalign.c: New File.
298 * support/xpthread_attr_setstack.c: Likewise.
299
300 2019-02-05 Florian Weimer <fweimer@redhat.com>
301
302 [BZ #24164]
303 arm: Use "nr" constraint for Systemtap probes, to avoid the
304 compiler using memory operands for constants, due to the "o"
305 alternative in the default "nor" constraint.
306 * include/stap-probe.h [USE_STAP_PROBE]: Include
307 <stap-probe-machine.h>
308 * sysdeps/generic/stap-probe-machine.h: New file.
309 * sysdeps/arm/stap-probe-machine.h: Likewise.
310
311 2019-02-04 Joseph Myers <joseph@codesourcery.com>
312
313 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
314 with 0, not tcache->entries[tc_idx].
315
316 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
317 once.
318
319 2019-02-04 Andreas Schwab <schwab@suse.de>
320
321 [BZ #16976]
322 [BZ #17396]
323 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
324 looking up collating elements match against (wide) character
325 sequence instead of name. Correct alignment adjustment.
326 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
327 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
328 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
329 (LOCALES): Add cs_CZ.ISO-8859-2.
330 * posix/tst-fnmatch4.c: New file.
331 * posix/tst-fnmatch5.c: New file.
332 * include/wchar.h (__wmemcmp): Declare.
333 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
334 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
335 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
336 * sysdeps/s390/wmemcmp.c: Likewise.
337
338 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
339
340 [BZ #24155]
341 CVE-2019-7309
342 * NEWS: Updated for CVE-2019-7309.
343 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
344 upper 32 bits of RDX register for x32. Use unsigned Jcc
345 instructions, instead of signed.
346 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
347 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
348
349 2019-02-04 Florian Weimer <fweimer@redhat.com>
350
351 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
352 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
353 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
354 Likewise.
355 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
356 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
357 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
358 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
359 Likewise.
360 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
361 Likewise.
362 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
363 Likewise.
364 (posix_spawn_file_actions_addopen): Likewise.
365 (posix_spawn_file_actions_addclose): Likewise.
366 (posix_spawn_file_actions_adddup2): Likewise.
367 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
368 qualifiers.
369 (posix_spawn_file_actions_addfchdir_np): Likewise.
370
371 2019-02-04 David Newall <glibc@davidnewall.com>
372
373 elf: Implement --preload option for the dynamic linker.
374 * elf/rtld.c (preloadarg): New variable.
375 (handle_preload_list): Pass through “where” argument to
376 do_preload.
377 (dl_main): Handle "--preload" and add second call to
378 handle_preload_list.
379 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
380 (tst-rtld-preload-OBJS): Set variable.
381 (tst-rtld-preload.out): New target.
382 * elf/tst-rtld-preload.sh: New file.
383
384 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
385
386 * Makefile (testrun.sh): Exit in case of incorrect argument.
387
388 2019-02-04 Florian Weimer <fweimer@redhat.com>
389
390 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
391 alignment gaps.
392
393 2019-02-03 Florian Weimer <fweimer@redhat.com>
394
395 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
396 implicit overflow checks.
397
398 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
399
400 * stdlib/isomac.c: Include <unistd.h>.
401
402 2019-02-03 Florian Weimer <fweimer@redhat.com>
403
404 * include/time.h (__tzfile_default): Use int, not long int, for
405 the GMT offsets.
406 * time/tzfile.c (struct ttinfo): Change type of the offset member
407 to int.
408 (__tzfile_read): Remove useless cast.
409 (__tzfile_default): Adjust prototype.
410 * time/tzset.c (tz_rule): Change type of the offset member to int.
411 (parse_offset): Change the type of the sign variable to int.
412
413 2019-02-03 Florian Weimer <fweimer@redhat.com>
414
415 [BZ #24153]
416 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
417 * libio/getchar.c (getchar): Likewise.
418 * libio/getchar_u.c (getchar_unlocked): Likewise.
419 * libio/getwchar.c (getwchar): Likewise.
420 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
421 * libio/iogets.c (_IO_gets): Likewise.
422 * libio/vscanf.c (_IO_vscanf): Likewise.
423 * libio/vwscanf.c (__vwscanf): Likewise.
424 * libio/tst-bz24153.c: New file.
425 * libio/Makefile (tests): Add it.
426
427 2019-02-02 Florian Weimer <fweimer@redhat.com>
428
429 [BZ #14829]
430 * manual/resource.texi (Basic Scheduling Functions): Add
431 portability note. Change process to task throughout the section.
432 Remove incorrect comment about sched_yield as it affects
433 tasks/threads, not entire processes.
434 * sysdeps/unix/sysv/linux/bits/posix_opt.h
435 (_POSIX_PRIORITY_SCHEDULING): Update comment.
436
437 2019-02-01 Joseph Myers <joseph@codesourcery.com>
438
439 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
440 * configure: Regenerated.
441 * manual/install.texi (Tools for Compilation): Update minimum GCC
442 version.
443 * INSTALL: Regenerated.
444
445 2019-02-01 Florian Weimer <fweimer@redhat.com>
446
447 * support/support_test_compare_string.c
448 (support_test_compare_string): Use "string" in error message.
449 * support/tst-test_compare_string.c (do_test): Adjust.
450
451 2019-02-01 Florian Weimer <fweimer@redhat.com>
452
453 * support/support_format_address_family.c
454 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
455
456 2019-02-01 Florian Weimer <fweimer@redhat.com>
457
458 * manual/socket.texi (Internet Address Formats): Clarify the byte
459 order of struct sockaddr_in, struct sockaddr_in6. Document
460 sin6_flowinfo and sin6_scope_id.
461
462 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
463
464 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
465 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
466 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
467 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
468 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
469 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
470
471 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
472
473 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
474 [!MEMCHR](MEMCHR): Set to __memchr.
475 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
476 Add memchr_generic and memchr_nosimd.
477 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
478 (__libc_ifunc_impl_list): Add memchr ifuncs.
479 * sysdeps/aarch64/multiarch/memchr.c: New file.
480 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
481 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
482
483 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
484
485 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
486 Add memset_emag.
487 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
488 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
489 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
490 Add IS_EMAG check for ifunc dispatch.
491 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
492 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
493
494 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
495
496 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
497 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
498 Add emag.
499 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
500 New macro.
501
502 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
503
504 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
505
506 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
507
508 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
509 syscall-template file.
510
511 2019-01-31 Carlos O'Donell <carlos@redhat.com>
512 Torvald Riegel <triegel@redhat.com>
513 Rik Prohaska <prohaska7@gmail.com>
514
515 [BZ# 23844]
516 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
517 tst-rwlock-trywrlock-stall.
518 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
519 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
520 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
521 Set __wrphase_fute to 1 only if we started the write phase.
522 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
523 * nptl/tst-rwlock-trywrlock-stall.c: New file.
524 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
525 * support/xpthread_rwlock_destroy.c: New file.
526 * support/xthread.h: Declare xpthread_rwlock_destroy.
527
528 2019-02-01 Joseph Myers <joseph@codesourcery.com>
529
530 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
531 version to 4.0.2.
532
533 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
534
535 [BZ #24051]
536 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
537 * libio/fileops.c (_IO_new_file_underflow): Likewise
538 * libio/wfileops.c (_IO_wfile_underflow): Likewise
539 * libio/putchar.c (putchar): Likewise.
540 * libio/putchar_u.c (putchar_unlocked): Likewise.
541 * libio/putwchar.c (putchar): Likewise.
542 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
543 * libio/tst-bz24051.c: New test.
544 * libio/Makefile (tests): Add tst-bz24051
545
546 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
547
548 regex: fix read overrun [BZ #24114]
549 Problem found by AddressSanitizer, reported by Hongxu Chen in:
550 https://debbugs.gnu.org/34140
551 * posix/regexec.c (proceed_next_node):
552 Do not read past end of input buffer.
553
554 2019-01-31 Florian Weimer <fweimer@redhat.com>
555
556 [BZ #24059]
557 * nss/nss_files/files-alias.c (get_next_alias): Handle
558 continuation line without newline at the end.
559 * nss/tst-nss-files-alias-truncated.c: New file.
560 * nss/Makefile [$(build-shared)] (tests): Add
561 tst-nss-files-alias-truncated.
562 (tst-nss-files-alias-truncated): Link with libnss_files.so.
563 * support/namespace.h (struct support_chroot_configuration): Add
564 aliases member.
565 (struct support_chroot): Add path_aliases member.
566 * support/support_chroot.c (support_chroot_create): Handle
567 aliases.
568 (support_chroot_free): Free path_aliases.
569
570 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
571
572 * version.h (RELEASE): Set to "development".
573 (VERSION): Set to "2.29.9000".
574 * NEWS: Add section for 2.30.
575
576 * version.h (RELEASE): Set to "stable".
577 (VERSION): Set to "2.29".
578 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
579
580 * NEWS: Add the list of bugs fixed in 2.29.
581 * manual/contrib.texi: Update contributors list with some more
582 names.
583 * manual/install.texi: Update latest versions of packages
584 tested.
585 * INSTALL: Regenerated.
586
587 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
588
589 * po/be.po: Update translations.
590 * po/bg.po: Likewise.
591 * po/ca.po: Likewise.
592 * po/cs.po: Likewise.
593 * po/da.po: Likewise.
594 * po/de.po: Likewise.
595 * po/el.po: Likewise.
596 * po/eo.po: Likewise.
597 * po/es.po: Likewise.
598 * po/fi.po: Likewise.
599 * po/fr.po: Likewise.
600 * po/gl.po: Likewise.
601 * po/hr.po: Likewise.
602 * po/hu.po: Likewise.
603 * po/ia.po: Likewise.
604 * po/id.po: Likewise.
605 * po/it.po: Likewise.
606 * po/ja.po: Likewise.
607 * po/ko.po: Likewise.
608 * po/lt.po: Likewise.
609 * po/nb.po: Likewise.
610 * po/nl.po: Likewise.
611 * po/pl.po: Likewise.
612 * po/pt_BR.po: Likewise.
613 * po/ru.po: Likewise.
614 * po/rw.po: Likewise.
615 * po/sk.po: Likewise.
616 * po/sl.po: Likewise.
617 * po/sv.po: Likewise.
618 * po/tr.po: Likewise.
619 * po/uk.po: Likewise.
620 * po/vi.po: Likewise.
621 * po/zh_CN.po: Likewise.
622 * po/zh_TW.po: Likewise.
623
624 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
625
626 [BZ #24130]
627 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
628 of $f3 register on $y_is_neg path.
629
630 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
631
632 [BZ #24110]
633 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
634 sigaltstack.ss_flags.
635
636 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
637
638 [BZ #23758]
639 * manual/time.texi (strftime): Document "%Ey".
640 * time/strftime_l.c (__strftime_internal): Set the default width
641 padding with zero of "%Ey" to 2.
642
643 [BZ #24096]
644 * manual/time.texi (strftime): Document "%EC" and "%EY".
645 * time/Makefile (tests): Add tst-strftime2.
646 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
647 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
648 override padding for "%Ey".
649 If an optional flag ('_' or '-') is specified to "%EY", interpret the
650 "%Ey" in the subformat as if decorated with that flag.
651 * time/tst-strftime2.c: New file.
652
653 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
654
655 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
656 are not defined.
657
658 [BZ #24122]
659 * elf/Makefile (tests): Add tst-audit13.
660 (modules-names): Add tst-audit13mod1.
661 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
662 rule.
663 * elf/rtld.c (dl_main): Handle invalid audit module version.
664 * elf/tst-audit13.c: New file.
665 * elf/tst-audit13mod1.c: Likewise.
666
667 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
668
669 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
670 returned by __hurd_at_flags.
671 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
672 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
673 directly instead of __hurd_file_name_lookup.
674
675 2019-01-21 Joseph Myers <joseph@codesourcery.com>
676
677 * scripts/build-many-glibcs.py (Context.checkout): Default
678 binutils version to 2.32 branch.
679
680 2019-01-21 Florian Weimer <fweimer@redhat.com>
681
682 [BZ #20018]
683 CVE-2016-10739
684 resolv: Reject trailing characters in host names
685 * include/arpa/inet.h (__inet_aton_exact): Declare.
686 (inet_aton): Remove hidden prototype. No longer used internally.
687 * nscd/gai.c (__inet_aton): Do not define.
688 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
689 * nss/digits_dots.c (__inet_aton): Likewise.
690 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
691 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
692 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
693 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
694 (tst-resolv-trailing): Likewise.
695 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
696 libc.
697 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
698 Make static. Add endp parameter.
699 (__inet_aton_exact): New function.
700 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
701 (__inet_addr): Call inet_aton_end.
702 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
703 not just IPv6. Call __inet_aton_exact.
704 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
705 (tests): Make const. Add additional test cases with trailing
706 characters.
707 (do_test): Use array_length.
708 * resolv/tst-inet_aton_exact.c: New file.
709 * resolv/tst-resolv-trailing.c: Likewise.
710 * resolv/tst-resolv-nondecimal.c: Likewise.
711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
712
713 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
714
715 [BZ# 24097]
716 CVE-2019-6488
717 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
718 Clear the upper 32 bits of RSI register.
719 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
720 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
721 and tst-size_t-wcsnlen.
722 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
723 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
724
725 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
726
727 [BZ# 24097]
728 CVE-2019-6488
729 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
730 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
731 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
732 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
733 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
734
735 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
736
737 [BZ# 24097]
738 CVE-2019-6488
739 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
740 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
741 * sysdeps/x86_64/strcmp.S: Likewise.
742 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
743 tst-size_t-strncmp and tst-size_t-wcsncmp.
744 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
745 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
746 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
747
748 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
749
750 [BZ# 24097]
751 CVE-2019-6488
752 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
753 RDX_LP for length. Clear the upper 32 bits of RDX register.
754 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
755 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
756 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
757 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
758
759 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
760
761 [BZ# 24097]
762 CVE-2019-6488
763 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
764 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
765 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
766 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
767
768 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
769
770 [BZ# 24097]
771 CVE-2019-6488
772 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
773 length. Clear the upper 32 bits of RDX register.
774 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
775 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
776 Likewise.
777 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
778 Likewise.
779 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
780 tst-size_t-wmemchr.
781 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
782
783 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
784
785 [BZ# 24097]
786 CVE-2019-6488
787 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
788 length. Clear the upper 32 bits of RDX register.
789 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
790 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
791 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
792 tst-size_t-wmemcmp.
793 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
794 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
795
796 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
797
798 [BZ# 24097]
799 CVE-2019-6488
800 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
801 upper 32 bits of RDX register.
802 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
803 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
804 tst-size_t-wmemchr.
805 * sysdeps/x86_64/x32/test-size_t.h: New file.
806 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
807 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
808
809 2019-01-18 Florian Weimer <fweimer@redhat.com>
810
811 [BZ #24112]
812 resolv: Do not send queries for non-host-names in nss_dns.
813 * resolv/nss_dns/dns-host.c (check_name): New function.
814 (_nss_dns_gethostbyname2_r): Use it.
815 (_nss_dns_gethostbyname_r): Likewise.
816 (_nss_dns_gethostbyname4_r): Likewise.
817
818 2019-01-21 Florian Weimer <fweimer@redhat.com>
819
820 * resolv/inet_addr.c: Reformat to GNU style.
821 (__inet_addr, __inet_aton): Update comment.
822
823 2019-01-18 Florian Weimer <fweimer@redhat.com>
824
825 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
826 ("malloc: Use current (C11-style) atomics for fastbin access").
827 This commit introduces a substantial performance regression on
828 POWER and Aarch64.
829 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
830 (REMOVE_FB): Define.
831 (_int_malloc): Use it and reindent.
832 (_int_free): Use CAS loop with
833 catomic_compare_and_exchange_val_rel.
834 (malloc_consolidate): Use atomic_exchange_acq.
835
836
837 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
838
839 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
840 -Wl,-z,now.
841 (LDFLAGS-tst-minsigstksz-2): Likewise.
842 (LDFLAGS-tst-minsigstksz-3): Likewise.
843 (LDFLAGS-tst-minsigstksz-3a): Likewise.
844 (LDFLAGS-tst-minsigstksz-4): Likewise.
845
846 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
847
848 * manual/time.texi (strftime): Fix the wording to "alternative" rather
849 than "alternate".
850
851 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
852
853 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
854
855 2019-01-16 Zack Weinberg <zackw@panix.com>
856
857 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
858 (xget_sigstack_location): New test support functions.
859 * support/xsigstack.c: New file, implementing them.
860 * support/tst-xsigstack.c: New test for them.
861 * support/Makefile: Update.
862
863 * signal/tst-minsigstksz-1.c
864 * signal/tst-minsigstksz-2.c
865 * signal/tst-minsigstksz-3.c
866 * signal/tst-minsigstksz-3a.c
867 * signal/tst-minsigstksz-4.c: New tests.
868 * signal/Makefile: Run them.
869
870 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
871
872 * po/libc.pot: Regenerate.
873
874 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
875
876 * math/libm-test-fma.inc (fma_test_data): Set
877 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
878
879 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
880
881 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
882 (do_test): Changed __vector __int128_t to __vector unsigned int.
883
884 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
885
886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
887 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
888 stpcpy-avx2 and stpncpy-avx2.
889 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
890 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
891 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
892 and __stpncpy_avx2.
893 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
894 ifunc-strcpy.h}: rename header for a more generic name.
895 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
896 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
897 AVX unaligned load is fast and vzeroupper is preferred.
898 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
899 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
900 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
901 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
902 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
903 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
904
905 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
906
907 * argp/argp-help.c: Fix typo in comment.
908 * misc/sys/cdefs.h: Likewise.
909 * posix/regexec.c (sift_states_iter_mb): Likewise.
910 * socket/sockatmark.c: Likewise.
911 * socket/sys/socket.h: Likewise.
912 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
913 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
914 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
915 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
916 * sysdeps/unix/sockatmark.c: Likewise.
917 * time/strptime_l.c: Likewise.
918
919 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
920
921 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
922 missing space after the cast of "_NL_CURRENT".
923
924 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
925
926 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
927 ifdef to fix read of VSCR.
928 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
929 tst-ucontext-ppc64-vscr.c to test list.
930 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
931
932 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
933
934 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
935 fall-through.
936
937 2019-01-09 Jim Wilson <jimw@sifive.com>
938
939 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
940
941 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
942
943 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
944 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
945 __memcpy_falkor for ares.
946 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
947 Add new define.
948 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
949 Add ares cpu.
950
951 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
952
953 [BZ #24066]
954 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
955 4_FP_W_TYPEs are used for IEEE quad precision.
956 * soft-fp/extendhftf2.c: Likewise.
957 * soft-fp/extendsftf2.c: Likewise.
958 * soft-fp/extendxftf2.c: Likewise.
959 * soft-fp/trunctfdf2.c: Likewise.
960 * soft-fp/trunctfhf2.c: Likewise.
961 * soft-fp/trunctfsf2.c: Likewise.
962 * soft-fp/trunctfxf2.c: Likewise.
963 * sysdeps/alpha/ots_cvttx.c: Likewise.
964 * sysdeps/alpha/ots_cvtxt.c: Likewise.
965 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
966 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
967 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
968 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
969 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
970 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
971 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
972 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
973 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
974 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
975 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
976 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
977 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
978 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
979 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
980 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
981
982 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
983
984 [BZ #24024]
985 * Makeconfig: Build libm with -fno-math-errno but build the remaining
986 code with -fmath-errno.
987 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
988 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
989 * string/test-strerror-errno.c: New file.
990
991 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
992
993 [BZ #24046]
994 * localedata/locales/en_US (date_fmt): Add, set to
995 "%a %d %b %Y %r %Z".
996
997 2019-01-07 Florian Weimer <fweimer@redhat.com>
998
999 [BZ #24063]
1000 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1001 instead of @var{errno}.
1002 (Parsing of Integers): Likewise.
1003 (Parsing of Floats): Likewise.
1004 * manual/filesys.texi (Working with Directory Trees): Likewise.
1005 (Temporary Files): Likewise.
1006 * manual/job.texi (Terminal Access Functions): Likewise.
1007 * manual/llio.texi (Synchronizing I/O): Likewise.
1008 * manual/math.texi (SVID Random): Likewise.
1009 * manual/message.texi (The catgets Functions): Likewise.
1010 (Translation with gettext): Likewise.
1011 (Locating gettext catalog): Likewise.
1012 (Charset conversion in gettext): Likewise.
1013 * manual/nss.texi (NSS Module Function Internals): Likewise.
1014 * manual/search.texi (Hash Search Function): Likewise.
1015 * manual/setjmp.texi (System V contexts): Likewise.
1016 * manual/time.texi (Sleeping): Likewise.
1017 * manual/users.texi (Lookup User): Likewise.
1018 (Lookup Group): Likewise.
1019
1020 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1021
1022 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1023 fix typo.
1024
1025 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
1026
1027 [BZ #19444]
1028 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1029 __builtin_unreachable for default case in switch.
1030 (__ieee754_yn): Likewise.
1031 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1032 (__ieee754_ynl): Likewise.
1033 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1034 (__ieee754_ynl): Likewise.
1035 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1036 (__ieee754_ynl): Likewise.
1037
1038 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1039
1040 * manual/maint.texi: Use @{ and @}.
1041
1042 2019-01-04 Florian Weimer <fweimer@redhat.com>
1043
1044 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
1045 function.
1046 (do_in_chroot_1): Call it.
1047 (run_chroot_tests):
1048 Improve error reporting in case it is not possible to create a
1049 collision for the PTY name required by the test.
1050
1051 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1052
1053 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
1054 lll_wait_tid with timeout.
1055 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
1056 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
1057 futex_reltimed_wait_cancelable for cancelabla mode.
1058 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1059 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1060 macros.
1061 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1062 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1063 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1064 SYSCALL_CANCEL_NCS): New macro.
1065 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1066 (lll_timedwait_tid): Remove macro.
1067 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1068 Likewise.
1069 (lll_timedwait_tid): Likewise.
1070 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1071 Likewise.
1072 (lll_timedwait_tid): Likewise.
1073 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1074 Likewise.
1075 (lll_timedwait_tid): Likewise.
1076 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1077 Use INTERNAL_SYSCALL_CANCEL.
1078 * sysdeps/unix/sysv/linux/futex-internal.h
1079 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1080 instead of __pthread_{enable,disable}_asynccancel.
1081 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1082 (lll_futex_wait_cancel): New macro.
1083
1084 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1085 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1086
1087 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1088 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1089
1090 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1091 in backtrace analysis.
1092 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1093 side-effects.
1094 (tf_send): Likewise.
1095
1096 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1097 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1098 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1099 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1100 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1101 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1102 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1103 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1104 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1105 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1106 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1107 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1108 Likewise.
1109 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1110 tst-cancel-wrappers.sh.
1111 (generated): Remove tst-cancel-wrappers.out.
1112 (tst-cancel-wrappers.out): Remove rule.
1113 * nptl/tst-cancel-wrappers.sh: Remove file.
1114
1115 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1116
1117 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1118 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1119 Update.
1120
1121 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1122
1123 [BZ #23640]
1124 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1125 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1126 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1127 close-on-exec reset for adddup2 file action.
1128 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1129
1130 2019-01-03 Zack Weinberg <zackw@panix.com>
1131
1132 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1133 parameter. Only use deprecated scanf when __USE_GNU is defined
1134 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1135 than 201103L, whichever is relevant for the language being compiled.
1136
1137 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1138 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1139 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1140 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1141 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1142
1143 * libio/iovsscanf.c
1144 * libio/fwscanf.c
1145 * libio/iovswscanf.c
1146 * libio/swscanf.c
1147 * libio/vscanf.c
1148 * libio/vwscanf.c
1149 * libio/wscanf.c
1150 * stdio-common/fscanf.c
1151 * stdio-common/scanf.c
1152 * stdio-common/vfscanf.c
1153 * stdio-common/vfwscanf.c
1154 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1155 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1156 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1157 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1158 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1159 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1160 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1161 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1162 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1163 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1164 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1165 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1166 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1167 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1168 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1169
1170 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1171 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1172 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1173 not sscanf.
1174 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1175 with a preprocessor macro.
1176
1177 * stdio-common/bug21.c, stdio-common/scanf14.c:
1178 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1179 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1180 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1181 to xscanf, xfscanf, xsscanf.
1182
1183 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1184 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1185 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1186 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1187 xfscanf, xsscanf.
1188 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1189 override feature selection macros or provide definitions of u_char etc.
1190 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1191 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1192 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1193 with -std=gnu89.
1194
1195 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1196
1197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1198 bits/termios-misc.h.
1199 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1200 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1201 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1202 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1203 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1204 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1205
1206 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1207 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1208 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1209 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1210 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1211 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1212 termios-misc.h.
1213 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1214 (sysdep_headers): Add termios-misc.h.
1215
1216 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1217 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1218 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1219
1220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1221 termios-tcflow.h.
1222 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1223 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1224 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1225 TCSAFLUSH): Move to termios-tcflow.h.
1226 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1227 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1228 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1229 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1230
1231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1232 termios-c_lflag.h.
1233 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1234 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1235 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1236 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1237 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1238 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1239 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1240 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1241 Likewise.
1242 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1243 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1244 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1245 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1246
1247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1248 termios-c_cflag.h.
1249 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1250 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1251 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1252 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1253 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1254 termios-c_cflag.h.
1255 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1256 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1257 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1258 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1259
1260 [BZ #23783]
1261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1262 termios-baud.h.
1263 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1264 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1265 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1266 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1267 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1268 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1269 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1270 __MAX_BAUD): Move to termios-baud.h.
1271 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1272 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1273 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1274 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1275 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1276
1277 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1278 termios-c_oflag.h.
1279 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1280 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1281 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1282 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1283 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1284 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1285 termios-c_oflag.h.
1286 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1287 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1288 FFR1): Likewise.
1289 [USE_MISC] (XTABS): Likewise.
1290 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1291 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1292 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1293 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1294
1295 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1296 termios-c_iflag.h.
1297 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1298 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1299 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1300 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1301 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1302 IUTF8): Move to termios-c_iflag.h.
1303 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1304 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1305 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1306 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1307
1308 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1309 termios-cc.h.
1310 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1311 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1312 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1313 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1314 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1315 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1316 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1317 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1318 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1319 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1320 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1321 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1322
1323 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1324 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1325 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1326 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1328 termios-struct.h.
1329 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1330 termios-struct.h.
1331 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1332 Likewise.
1333 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1334 Likewise.
1335 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1336 Likewise.
1337 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1338 Likewise.
1339 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1340 _HAVE_C_OSPEED): Define.
1341 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1342 _HAVE_C_OSPEED): Likewise.
1343 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1344 _HAVE_C_OSPEED): Likewise.
1345 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1346 (cfsetospeed): Check for define value instead of existence.
1347 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1348 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1349 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1350 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1351 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1352
1353 [BZ #17783]
1354 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1355 Define.
1356 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1357 (TIOCSER_TEMT): Likewise.
1358 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1359 (TEOCSER_TEMT): Likewise.
1360
1361 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
1362
1363 [BZ #24011]
1364 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1365
1366 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1367
1368 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1369
1370 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1371
1372 * sysdeps/htl/pt-barrierattr-setpshared.c
1373 (pthread_barrierattr_setpshared): Add stub warning.
1374 * sysdeps/htl/pt-condattr-setpshared.c
1375 (pthread_condattr_setpshared): Likewise.
1376 * sysdeps/htl/pt-mutexattr-setpshared.c
1377 (pthread_mutexattr_setpshared): Likewise.
1378 * sysdeps/htl/pt-rwlockattr-setpshared.c
1379 (pthread_rwlockattr_setpshared): Likewise.
1380 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1381 (pthread_mutexattr_setpshared): Likewise.
1382
1383 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1384
1385 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1386 constants to match with Linux 4.20.
1387
1388 * sysdeps/mips/mips32/libm-test-ulps: Update.
1389 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1390
1391 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1392
1393 [BZ #24034]
1394 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1395 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1396 than __typeof (...) for the a_ptr variable.
1397
1398 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1399
1400 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1401 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1402 * libio/Makefile (tests): Add tst-sprintf-ub and
1403 tst-sprintf-chk-ub.
1404 (CFLAGS-tst-sprintf-ub.c): New variable.
1405 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1406 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1407 destination buffer and check for overflows in fortified mode.
1408 * libio/libioP.h (PRINTF_CHK): New macro.
1409 * libio/tst-sprintf-chk-ub.c: New file.
1410 * libio/tst-sprintf-ub.c: Likewise.
1411
1412 2019-01-02 Florian Weimer <fweimer@redhat.com>
1413
1414 [BZ #24018]
1415 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1416 failure.
1417
1418 2019-01-02 Florian Weimer <fweimer@redhat.com>
1419
1420 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1421
1422 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1423
1424 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1425 macro.
1426
1427 * sysdeps/unix/sysv/linux/netpacket/packet.h
1428 (PACKET_IGNORE_OUTGOING): New macro.
1429
1430 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1431 macro.
1432
1433 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1434 version to 4.20.
1435 (riscv_flush_icache): New syscall.
1436
1437 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1438 trailing whitespace removed.
1439 * scripts/config.guess: Update to version 2019-01-01.
1440 * scripts/config.sub: Update to version 2019-01-01.
1441 * scripts/move-if-change: Update from gnulib.
1442
1443 * NEWS: Update copyright dates.
1444 * catgets/gencat.c (print_version): Likewise.
1445 * csu/version.c (banner): Likewise.
1446 * debug/catchsegv.sh: Likewise.
1447 * debug/pcprofiledump.c (print_version): Likewise.
1448 * debug/xtrace.sh (do_version): Likewise.
1449 * elf/ldconfig.c (print_version): Likewise.
1450 * elf/ldd.bash.in: Likewise.
1451 * elf/pldd.c (print_version): Likewise.
1452 * elf/sotruss.sh: Likewise.
1453 * elf/sprof.c (print_version): Likewise.
1454 * iconv/iconv_prog.c (print_version): Likewise.
1455 * iconv/iconvconfig.c (print_version): Likewise.
1456 * locale/programs/locale.c (print_version): Likewise.
1457 * locale/programs/localedef.c (print_version): Likewise.
1458 * login/programs/pt_chown.c (print_version): Likewise.
1459 * malloc/memusage.sh (do_version): Likewise.
1460 * malloc/memusagestat.c (print_version): Likewise.
1461 * malloc/mtrace.pl: Likewise.
1462 * manual/libc.texinfo: Likewise.
1463 * nptl/version.c (banner): Likewise.
1464 * nscd/nscd.c (print_version): Likewise.
1465 * nss/getent.c (print_version): Likewise.
1466 * nss/makedb.c (print_version): Likewise.
1467 * posix/getconf.c (main): Likewise.
1468 * scripts/test-installation.pl: Likewise.
1469 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1470
1471 * All files with FSF copyright notices: Update copyright dates
1472 using scripts/update-copyrights.
1473 * locale/programs/charmap-kw.h: Regenerated.
1474 * locale/programs/locfile-kw.h: Likewise.
1475
1476 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1477
1478 * timezone/zdump.c: Update from tzcode 2018i.
1479 * timezone/zic.c: Likewise.
1480
1481 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1482
1483 regex: improve Gnulib port to AIX
1484 From the glibc point of view, this removes duplicate macro
1485 definitions and is obviously safe.
1486 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1487 * posix/regex_internal.h:
1488 (__attribute__, __attribute_warn_unused_result__):
1489 Remove; already defined elsewhere.
1490
1491 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1492
1493 [BZ #24027]
1494 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1495 copying operation. (ncopies had the wrong type, resulting in an
1496 integer wraparound and too few elements being copied.)
1497
1498 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1499
1500 [BZ #24022]
1501 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1502 <asm/syscalls.h> exists with __has_include__ before including it.
1503
1504 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1505
1506 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1507 version to 4.20.
1508
1509 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1510
1511 * hurd/lookup-retry: Include <unistd.h>.
1512 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1513 Release it on return. Handle "pid" magical lookup retry.
1514
1515 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1516
1517 [BZ #10496]
1518 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1519 (t_fmt_ampm): Likewise.
1520 * localedata/locales/aa_ER (t_fmt): Likewise.
1521 (t_fmt_ampm): Likewise.
1522 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1523 (t_fmt_ampm): Likewise.
1524 * localedata/locales/aa_ET (t_fmt): Likewise.
1525 (t_fmt_ampm): Likewise.
1526 * localedata/locales/am_ET (t_fmt): Likewise.
1527 (t_fmt_ampm): Likewise.
1528 * localedata/locales/byn_ER (t_fmt): Likewise.
1529 (t_fmt_ampm): Likewise.
1530 * localedata/locales/om_ET (t_fmt): Likewise.
1531 (t_fmt_ampm): Likewise.
1532 * localedata/locales/sid_ET (t_fmt): Likewise.
1533 (t_fmt_ampm): Likewise.
1534 * localedata/locales/so_DJ (t_fmt): Likewise.
1535 (t_fmt_ampm): Likewise.
1536 * localedata/locales/so_ET (t_fmt): Likewise.
1537 (t_fmt_ampm): Likewise.
1538 * localedata/locales/so_SO (t_fmt): Likewise.
1539 (t_fmt_ampm): Likewise.
1540 * localedata/locales/ti_ER (t_fmt): Likewise.
1541 (t_fmt_ampm): Likewise.
1542 * localedata/locales/ti_ET (t_fmt): Likewise.
1543 (t_fmt_ampm): Likewise.
1544 * localedata/locales/tig_ER (t_fmt): Likewise.
1545 (t_fmt_ampm): Likewise.
1546 * localedata/locales/wal_ET (t_fmt): Likewise.
1547 (t_fmt_ampm): Likewise.
1548
1549 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1550 * localedata/locales/ar_IN (t_fmt): Likewise.
1551 * localedata/locales/bhb_IN (t_fmt): Likewise.
1552 * localedata/locales/bho_IN (t_fmt): Likewise.
1553 * localedata/locales/bi_VU (t_fmt): Likewise.
1554 * localedata/locales/bn_BD (t_fmt): Likewise.
1555 * localedata/locales/bn_IN (t_fmt): Likewise.
1556 * localedata/locales/brx_IN (t_fmt): Likewise.
1557 * localedata/locales/doi_IN (t_fmt): Likewise.
1558 * localedata/locales/en_HK (t_fmt): Likewise.
1559 (t_fmt_ampm): Likewise.
1560 * localedata/locales/en_IN (t_fmt): Likewise.
1561 * localedata/locales/en_PH (t_fmt): Likewise.
1562 * localedata/locales/gu_IN (t_fmt): Likewise.
1563 * localedata/locales/hi_IN (t_fmt): Likewise.
1564 * localedata/locales/hif_FJ (t_fmt): Likewise.
1565 * localedata/locales/hne_IN (t_fmt): Likewise.
1566 * localedata/locales/kn_IN (t_fmt): Likewise.
1567 * localedata/locales/kok_IN (t_fmt): Likewise.
1568 * localedata/locales/ks_IN (t_fmt): Likewise.
1569 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1570 * localedata/locales/mag_IN (t_fmt): Likewise.
1571 * localedata/locales/mai_IN (t_fmt): Likewise.
1572 * localedata/locales/mjw_IN (t_fmt): Likewise.
1573 * localedata/locales/ml_IN (t_fmt): Likewise.
1574 * localedata/locales/mni_IN (t_fmt): Likewise.
1575 * localedata/locales/mr_IN (t_fmt): Likewise.
1576 * localedata/locales/ms_MY (t_fmt): Likewise.
1577 * localedata/locales/pa_IN (t_fmt): Likewise.
1578 * localedata/locales/raj_IN (t_fmt): Likewise.
1579 * localedata/locales/sa_IN (t_fmt): Likewise.
1580 * localedata/locales/sat_IN (t_fmt): Likewise.
1581 * localedata/locales/sd_IN (t_fmt): Likewise.
1582 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1583 * localedata/locales/tcy_IN (t_fmt): Likewise.
1584 * localedata/locales/the_NP (t_fmt): Likewise.
1585 * localedata/locales/to_TO (t_fmt): Likewise.
1586 * localedata/locales/ur_IN (t_fmt): Likewise.
1587
1588 * localedata/locales/hif_FJ (d_t_fmt): Set to
1589 "%A %d %b %Y %I:%M:%S %p".
1590 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1591
1592 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1593 * localedata/locales/ar_BH (t_fmt): Likewise.
1594 * localedata/locales/ar_DZ (t_fmt): Likewise.
1595 * localedata/locales/ar_EG (t_fmt): Likewise.
1596 * localedata/locales/ar_IQ (t_fmt): Likewise.
1597 * localedata/locales/ar_JO (t_fmt): Likewise.
1598 * localedata/locales/ar_KW (t_fmt): Likewise.
1599 * localedata/locales/ar_LB (t_fmt): Likewise.
1600 * localedata/locales/ar_LY (t_fmt): Likewise.
1601 * localedata/locales/ar_OM (t_fmt): Likewise.
1602 * localedata/locales/ar_QA (t_fmt): Likewise.
1603 * localedata/locales/ar_SD (t_fmt): Likewise.
1604 * localedata/locales/ar_SS (t_fmt): Likewise.
1605 * localedata/locales/ar_SY (t_fmt): Likewise.
1606 * localedata/locales/ar_TN (t_fmt): Likewise.
1607 * localedata/locales/ar_YE (t_fmt): Likewise.
1608
1609 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1610 (t_fmt_ampm): Likewise.
1611 * localedata/locales/gez_ET (t_fmt): Likewise.
1612 (t_fmt_ampm): Likewise.
1613
1614 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1615 (t_fmt_ampm): Likewise.
1616 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1617
1618 * localedata/locales/zh_HK (t_fmt):
1619 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1620
1621 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1622 because this locale does not use the 12-hour clock.
1623 (t_fmt): Set to "%Z %H:%M:%S".
1624 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1625
1626 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
1627 because this locale does not use the 12-hour clock.
1628 (t_fmt): Set to "%H:%M:%S %Z".
1629 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
1630
1631 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1632 because this locale does not use the 12-hour clock.
1633 (t_fmt): Set to "%T".
1634 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1635 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1636
1637 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
1638 because this locale does not use the 12-hour clock.
1639 (t_fmt): Set to "%H:%M:%S %Z".
1640 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
1641
1642 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1643 because this locale does not use the 12-hour clock.
1644 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1645 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1646
1647 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1648
1649 [BZ #10496]
1650 [BZ #23724]
1651 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1652 (t_fmt_ampm): Likewise.
1653 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1654 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1655 (d_fmt): Set to "%-d.%-m.%y".
1656
1657 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1658
1659 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1660 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1661 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1662 Likewise.
1663 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1664 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1665 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1666 function.
1667 * support/blob_repeat.c (check_mul_overflow_size_t,
1668 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1669
1670 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1671
1672 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1673
1674 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1675
1676 regex: simplify Gnulib port
1677 This simplifies the code, by removing stuff intended for porting
1678 to Gnulib but no longer needed there.
1679 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1680 uses of libc_hidden_def, weak_alias.
1681 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1682 _Restrict_ except for public-facing headers.
1683 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1684 Remove; already defined elsewhere.
1685 * posix/regex.c, posix/regex_internal.h:
1686 Use __GNUC_PREREQ instead of rolling our own.
1687 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1688
1689 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1690
1691 * benchtests/bench-strlen.c (generic_strlen): New function.
1692 (memchr_strlen): New function.
1693
1694 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1695
1696 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1697 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1698 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1699
1700 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1701
1702 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1703
1704 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1705
1706 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1707 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1708 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1709 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1710 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1711 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1712 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1713
1714 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1715
1716 [BZ #24023]
1717 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1718 PLT reference in libc.so.
1719 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1720 _Q_lltoq and _Q_qtod PLT references in libc.so.
1721
1722 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1723
1724 * benchtests/bench-memchr.c: Cleanup defines.
1725 * benchtests/bench-memcmp.c: Likewise.
1726 * benchtests/bench-memset.c: Likewise.
1727 * benchtests/bench-memset-large.c: Likewise.
1728 * benchtests/bench-memset-walk.c: Likewise.
1729 * benchtests/bench-stpcpy.c: Likewise.
1730 * benchtests/bench-stpncpy.c: Likewise.
1731 * benchtests/bench-strcat.c: Likewise.
1732 * benchtests/bench-strchr.c: Likewise.
1733 * benchtests/bench-strcmp.c: Likewise.
1734 * benchtests/bench-strcpy.c: Likewise.
1735 * benchtests/bench-strcspn.c: Likewise.
1736 * benchtests/bench-string.h: Likewise.
1737 * benchtests/bench-strlen.c: Likewise.
1738 * benchtests/bench-strncat.c: Likewise.
1739 * benchtests/bench-strncmp.c: Likewise.
1740 * benchtests/bench-strncpy.c: Likewise.
1741 * benchtests/bench-strnlen.c: Likewise.
1742 * benchtests/bench-strpbrk.c: Likewise.
1743 * benchtests/bench-strrchr.c: Likewise.
1744 * benchtests/bench-strspn.c: Likewise.
1745
1746 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1747
1748 * stdlib/longlong.h: Update from GCC.
1749
1750 [BZ #23993]
1751 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1752 * configure: Regenerated.
1753 * manual/install.texi (Tools for Compilation): Update minimum GCC
1754 version.
1755 * INSTALL: Regenerated.
1756
1757 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1758
1759 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1760
1761 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1762
1763 * malloc/malloc.c (mremap_chunk): Additional checks.
1764
1765 2018-12-21 Mao Han <han_mao@c-sky.com>
1766
1767 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1768 * scripts/build-many-glibcs.py: Add C-SKY targets.
1769 * sysdeps/csky/Implies: New file.
1770 * sysdeps/csky/Makefile: Likewise.
1771 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1772 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1773 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1774 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1775 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1776 * sysdeps/csky/abiv2/memmove.S: Likewise.
1777 * sysdeps/csky/abiv2/memset.S: Likewise.
1778 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1779 * sysdeps/csky/abiv2/start.S: Likewise.
1780 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1781 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1782 * sysdeps/csky/abiv2/strlen.S: Likewise.
1783 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1784 * sysdeps/csky/abort-instr.h: Likewise.
1785 * sysdeps/csky/atomic-machine.h: Likewise.
1786 * sysdeps/csky/bits/endian.h: Likewise.
1787 * sysdeps/csky/bits/fenv.h: Likewise.
1788 * sysdeps/csky/bits/link.h: Likewise.
1789 * sysdeps/csky/bits/setjmp.h: Likewise.
1790 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1791 * sysdeps/csky/bsd-setjmp.S: Likewise.
1792 * sysdeps/csky/configure: Likewise.
1793 * sysdeps/csky/configure.ac: Likewise.
1794 * sysdeps/csky/dl-machine.h: Likewise.
1795 * sysdeps/csky/dl-procinfo.c: Likewise.
1796 * sysdeps/csky/dl-procinfo.h: Likewise.
1797 * sysdeps/csky/dl-sysdep.h: Likewise.
1798 * sysdeps/csky/dl-tls.h: Likewise.
1799 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1800 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1801 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1802 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1803 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1804 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1805 * sysdeps/csky/fpu/fegetround.c: Likewise.
1806 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1807 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1808 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1809 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1810 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1811 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1812 * sysdeps/csky/fpu/fesetround.c: Likewise.
1813 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1814 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1815 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1816 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1817 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1818 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1819 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1820 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1821 * sysdeps/csky/fpu_control.h: Likewise.
1822 * sysdeps/csky/gccframe.h: Likewise.
1823 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1824 * sysdeps/csky/ldsodefs.h: Likewise.
1825 * sysdeps/csky/libc-tls.c: Likewise.
1826 * sysdeps/csky/linkmap.h: Likewise.
1827 * sysdeps/csky/machine-gmon.h: Likewise.
1828 * sysdeps/csky/memusage.h: Likewise.
1829 * sysdeps/csky/nofpu/Implies: Likewise.
1830 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1831 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1832 * sysdeps/csky/nptl/Makefile: Likewise.
1833 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1834 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1835 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1836 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1837 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1838 * sysdeps/csky/nptl/tls.h: Likewise.
1839 * sysdeps/csky/preconfigure: Likewise.
1840 * sysdeps/csky/sfp-machine.h: Likewise.
1841 * sysdeps/csky/sotruss-lib.c: Likewise.
1842 * sysdeps/csky/stackinfo.h: Likewise.
1843 * sysdeps/csky/sysdep.h: Likewise.
1844 * sysdeps/csky/tininess.h: Likewise.
1845 * sysdeps/csky/tst-audit.h: Likewise.
1846 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1847 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1848 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1849 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1850 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1851 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1852 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1853 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1854 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1855 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1856 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1857 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1858 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1859 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1860 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1861 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1862 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1863 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1864 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1865 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1866 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1867 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1868 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1869 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1870 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1871 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1872 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1873 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1874 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1875 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1876 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1877 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1878 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1879 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1880 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1881 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1882 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1883 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1884 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1885 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1886 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1887 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1888 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1889 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1890
1891 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1892
1893 * include/time.h (__difftime64): Add.
1894 * time/difftime.c (subtract): convert to 64-bit time.
1895 * time/difftime.c (__difftime64): Add.
1896 * time/difftime.c (__difftime): Wrap around __difftime64.
1897
1898 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1899
1900 * manual/examples/add.c: Remove redundant "if not".
1901 * manual/examples/argp-ex1.c: Likewise.
1902 * manual/examples/argp-ex2.c: Likewise.
1903 * manual/examples/argp-ex3.c: Likewise.
1904 * manual/examples/argp-ex4.c: Likewise.
1905 * manual/examples/atexit.c: Likewise.
1906 * manual/examples/db.c: Likewise.
1907 * manual/examples/dir.c: Likewise.
1908 * manual/examples/dir2.c: Likewise.
1909 * manual/examples/execinfo.c: Likewise.
1910 * manual/examples/filecli.c: Likewise.
1911 * manual/examples/filesrv.c: Likewise.
1912 * manual/examples/fmtmsgexpl.c: Likewise.
1913 * manual/examples/genpass.c: Likewise.
1914 * manual/examples/inetcli.c: Likewise.
1915 * manual/examples/inetsrv.c: Likewise.
1916 * manual/examples/isockad.c: Likewise.
1917 * manual/examples/longopt.c: Likewise.
1918 * manual/examples/memopen.c: Likewise.
1919 * manual/examples/memstrm.c: Likewise.
1920 * manual/examples/mkdirent.c: Likewise.
1921 * manual/examples/mkfsock.c: Likewise.
1922 * manual/examples/mkisock.c: Likewise.
1923 * manual/examples/mygetpass.c: Likewise.
1924 * manual/examples/pipe.c: Likewise.
1925 * manual/examples/popen.c: Likewise.
1926 * manual/examples/rprintf.c: Likewise.
1927 * manual/examples/search.c: Likewise.
1928 * manual/examples/select.c: Likewise.
1929 * manual/examples/setjmp.c: Likewise.
1930 * manual/examples/sigh1.c: Likewise.
1931 * manual/examples/sigusr.c: Likewise.
1932 * manual/examples/stpcpy.c: Likewise.
1933 * manual/examples/strdupa.c: Likewise.
1934 * manual/examples/strftim.c: Likewise.
1935 * manual/examples/subopt.c: Likewise.
1936 * manual/examples/swapcontext.c: Likewise.
1937 * manual/examples/termios.c: Likewise.
1938 * manual/examples/testopt.c: Likewise.
1939 * manual/examples/testpass.c: Likewise.
1940 * manual/examples/timeval_subtract.c: Likewise.
1941
1942 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1943
1944 * sysdeps/x86/fpu/math_private.h: New file.
1945 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1946
1947 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1948 definition.
1949 (cosh): Likewise.
1950 (tanh): Likewise.
1951
1952 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1953
1954 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1955 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1956 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1957 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1958 fields.
1959 (_dl_show_auxv): Give a special treatment to
1960 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1961 and AT_L3_CACHEGEOMETRY.
1962 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1963 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1964 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1965 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1966
1967 2018-12-19 Andreas Schwab <schwab@suse.de>
1968
1969 * nscd/connections.c (check_use): Don't abort on invalid len.
1970
1971 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1972
1973 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1974 values in the 64bit value cases.
1975
1976 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1977
1978 * include/time.h
1979 (__ctime64_r): Add.
1980 * time/ctime_r.c
1981 (__ctime64_r): Add.
1982 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1983
1984 * include/time.h
1985 (__ctime64): Add.
1986 * time/gmtime.c
1987 (__ctime64): Add.
1988 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1989
1990 * include/time.h
1991 (__gmtime64_r): Add.
1992 * time/gmtime.c
1993 (__gmtime64_r): Add.
1994 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1995
1996 * include/time.h
1997 (__gmtime64): Add.
1998 * time/gmtime.c
1999 (__gmtime64): Add.
2000 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2001
2002 * include/time.h
2003 (__localtime64_r): Add.
2004 * time/localtime.c
2005 (__localtime64_r): Add.
2006 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2007
2008 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2009
2010 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2011 kernel_sigction definition.
2012
2013 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2014
2015 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2016
2017 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2018 __syscall_rt_sigaction.
2019 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2020 (kernel_sigaction): Use Linux generic defintion.
2021 (STUB): Define.
2022 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2023 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2024 (__syscall_rt_sigaction): Remove implementation.
2025 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2026 hidden.
2027 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2028 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2029 INTERNAL_SYSCALL): Remove definitions.
2030 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2031 action and signal set size.
2032 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2033 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2034
2035 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2036 James Clarke <jrtc27@jrtc27.com>
2037
2038 [BZ #23967]
2039 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
2040 Define if SA_RESTORER is defined.
2041 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
2042 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
2043 already defined.
2044 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
2045 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
2046 definitions.
2047 (HAS_SA_RESTORER): Define.
2048 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
2049 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
2050 (HAS_SA_RESTORER): Define.
2051 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
2052 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
2053 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
2054 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
2055 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2056
2057 2018-12-18 Joseph Myers <joseph@codesourcery.com>
2058
2059 * sysdeps/unix/sysv/linux/kernel-features.h
2060 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2061 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2062 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2063 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2064 (__ASSUME_ST_INO_64_BIT): Likewise.
2065 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2066 <kernel-features.h>.
2067 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2068 Remove conditional code.
2069 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2070 <kernel-features.h>.
2071 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2072 Remove conditional code.
2073 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2074 <kernel-features.h>.
2075 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2076 Remove conditional code.
2077 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2078 <kernel-features.h>.
2079 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2080 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2081
2082 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2083
2084 * sysdeps/s390/multiarch/ifunc-resolve.h
2085 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2086 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2087 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2088 Delete macro definition.
2089 (s390_libc_ifunc_init): Rename to
2090 s390_libc_ifunc_expr_stfle_init.
2091 * sysdeps/s390/bzero: Use
2092 s390_libc_ifunc_expr_stfle_init instead of
2093 s390_libc_ifunc_init.
2094 * sysdeps/s390/memcmp.c: Likewise.
2095 * sysdeps/s390/memcpy.c: Likewise.
2096 * sysdeps/s390/mempcpy.c: Likewise.
2097 * sysdeps/s390/memset.c: Likewise.
2098
2099 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2100
2101 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2102 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2103
2104 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2105
2106 * sysdeps/s390/multiarch/Makefile
2107 (sysdep_routines): Remove wmemcmp variants.
2108 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2109 * sysdeps/s390/multiarch/ifunc-impl-list.c
2110 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2111 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2112 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2113 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2114 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2115 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2116 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2117 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2118
2119 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2120
2121 * sysdeps/s390/multiarch/Makefile
2122 (sysdep_routines): Remove wmemset variants.
2123 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2124 * sysdeps/s390/multiarch/ifunc-impl-list.c
2125 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2126 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2127 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2128 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2129 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2130 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2131 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2132 * sysdeps/s390/ifunc-wmemset.h: New file.
2133
2134 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2135
2136 * sysdeps/s390/multiarch/Makefile
2137 (sysdep_routines): Remove wmemchr variants.
2138 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2139 * sysdeps/s390/multiarch/ifunc-impl-list.c
2140 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2141 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2142 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2143 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2144 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2145 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2146 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2147 * sysdeps/s390/ifunc-wmemchr.h: New file.
2148
2149 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2150
2151 * sysdeps/s390/multiarch/Makefile
2152 (sysdep_routines): Remove wcscspn variants.
2153 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2154 * sysdeps/s390/multiarch/ifunc-impl-list.c
2155 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2156 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2157 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2158 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2159 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2160 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2161 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2162 * sysdeps/s390/ifunc-wcscspn.h: New file.
2163
2164 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2165
2166 * sysdeps/s390/multiarch/Makefile
2167 (sysdep_routines): Remove wcspbrk variants.
2168 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2169 * sysdeps/s390/multiarch/ifunc-impl-list.c
2170 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2171 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2172 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2173 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2174 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2175 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2176 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2177 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2178
2179 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2180
2181 * sysdeps/s390/multiarch/Makefile
2182 (sysdep_routines): Remove wcsspn variants.
2183 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2184 * sysdeps/s390/multiarch/ifunc-impl-list.c
2185 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2186 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2187 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2188 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2189 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2190 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2191 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2192 * sysdeps/s390/ifunc-wcsspn.h: New file.
2193
2194 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2195
2196 * sysdeps/s390/multiarch/Makefile
2197 (sysdep_routines): Remove wcsrchr variants.
2198 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2199 * sysdeps/s390/multiarch/ifunc-impl-list.c
2200 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2201 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2202 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2203 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2204 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2205 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2206 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2207 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2208
2209 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2210
2211 * sysdeps/s390/multiarch/Makefile
2212 (sysdep_routines): Remove wcschrnul variants.
2213 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2214 * sysdeps/s390/multiarch/ifunc-impl-list.c
2215 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2216 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2217 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2218 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2219 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2220 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2221 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2222 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2223
2224 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2225
2226 * sysdeps/s390/multiarch/Makefile
2227 (sysdep_routines): Remove wcschr variants.
2228 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2229 * sysdeps/s390/multiarch/ifunc-impl-list.c
2230 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2231 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2232 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2233 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2234 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2235 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2236 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2237 * sysdeps/s390/ifunc-wcschr.h: New file.
2238
2239 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2240
2241 * sysdeps/s390/multiarch/Makefile
2242 (sysdep_routines): Remove wcsncmp variants.
2243 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2244 * sysdeps/s390/multiarch/ifunc-impl-list.c
2245 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2246 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2247 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2248 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2249 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2250 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2251 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2252 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2253
2254 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2255
2256 * sysdeps/s390/multiarch/Makefile
2257 (sysdep_routines): Remove wcscmp variants.
2258 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2259 * sysdeps/s390/multiarch/ifunc-impl-list.c
2260 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2261 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2262 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2263 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2264 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2265 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2266 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2267 * sysdeps/s390/ifunc-wcscmp.h: New file.
2268
2269 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2270
2271 * sysdeps/s390/multiarch/Makefile
2272 (sysdep_routines): Remove wcsncat variants.
2273 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2274 * sysdeps/s390/multiarch/ifunc-impl-list.c
2275 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2276 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2277 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2278 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2279 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2280 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2281 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2282 * sysdeps/s390/ifunc-wcsncat.h: New file.
2283
2284 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2285
2286 * sysdeps/s390/multiarch/Makefile
2287 (sysdep_routines): Remove wcscat variants.
2288 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2289 * sysdeps/s390/multiarch/ifunc-impl-list.c
2290 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2291 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2292 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2293 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2294 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2295 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2296 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2297 * sysdeps/s390/ifunc-wcscat.h: New file.
2298
2299 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2300
2301 * sysdeps/s390/multiarch/Makefile
2302 (sysdep_routines): Remove wcpncpy variants.
2303 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2304 * sysdeps/s390/multiarch/ifunc-impl-list.c
2305 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2306 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2307 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2308 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2309 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2310 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2311 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2312 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2313
2314 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2315
2316 * sysdeps/s390/multiarch/Makefile
2317 (sysdep_routines): Remove wcsncpy variants.
2318 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2319 * sysdeps/s390/multiarch/ifunc-impl-list.c
2320 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2321 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2322 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2323 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2324 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2325 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2326 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2327 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2328
2329 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2330
2331 * sysdeps/s390/multiarch/Makefile
2332 (sysdep_routines): Remove wcpcpy variants.
2333 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2334 * sysdeps/s390/multiarch/ifunc-impl-list.c
2335 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2336 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2337 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2338 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2339 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2340 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2341 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2342 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2343
2344 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2345
2346 * sysdeps/s390/multiarch/Makefile
2347 (sysdep_routines): Remove wcscpy variants.
2348 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2349 * sysdeps/s390/multiarch/ifunc-impl-list.c
2350 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2351 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2352 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2353 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2354 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2355 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2356 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2357 * sysdeps/s390/ifunc-wcscpy.h: New file.
2358
2359 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2360
2361 * sysdeps/s390/multiarch/Makefile
2362 (sysdep_routines): Remove wcsnlen variants.
2363 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2364 * sysdeps/s390/multiarch/ifunc-impl-list.c
2365 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2366 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2367 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2368 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2369 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2370 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2371 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2372 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2373
2374 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2375
2376 * sysdeps/s390/multiarch/Makefile
2377 (sysdep_routines): Remove wcslen variants.
2378 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2379 * sysdeps/s390/multiarch/ifunc-impl-list.c
2380 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2381 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2382 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2383 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2384 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2385 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2386 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2387 * sysdeps/s390/ifunc-wcslen.h: New file.
2388
2389 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2390
2391 * sysdeps/s390/multiarch/Makefile
2392 (sysdep_routines): Remove memrchr variants.
2393 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2394 * sysdeps/s390/multiarch/ifunc-impl-list.c
2395 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2396 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2397 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2398 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2399 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2400 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2401 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2402 * sysdeps/s390/ifunc-memrchr.h: New file.
2403
2404 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2405
2406 * sysdeps/s390/multiarch/Makefile
2407 (sysdep_routines): Remove memccpy variants.
2408 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2409 * sysdeps/s390/multiarch/ifunc-impl-list.c
2410 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2411 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2412 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2413 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2414 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2415 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2416 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2417 * sysdeps/s390/ifunc-memccpy.h: New file.
2418
2419 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2420
2421 * sysdeps/s390/multiarch/Makefile
2422 (sysdep_routines): Remove rawmemchr variants.
2423 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2424 * sysdeps/s390/multiarch/ifunc-impl-list.c
2425 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2426 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2427 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2428 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2429 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2430 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2431 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2432 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2433
2434 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2435
2436 * sysdeps/s390/multiarch/Makefile
2437 (sysdep_routines): Remove memchr variants.
2438 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2439 * sysdeps/s390/multiarch/ifunc-impl-list.c
2440 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2441 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2442 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2443 * sysdeps/s390/multiarch/memchr.c: Move to ...
2444 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2445 * sysdeps/s390/ifunc-memchr.h: New file.
2446 * sysdeps/s390/s390-64/memchr.S: Move to ...
2447 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2448 for 31/64bit and ifunc handling.
2449 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2450 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2451 * sysdeps/s390/s390-32/memchr.S: Likewise.
2452
2453 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2454
2455 * sysdeps/s390/multiarch/Makefile
2456 (sysdep_routines): Remove strcspn variants.
2457 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2458 * sysdeps/s390/multiarch/ifunc-impl-list.c
2459 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2460 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2461 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2462 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2463 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2464 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2465 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2466 * sysdeps/s390/ifunc-strcspn.h: New file.
2467
2468 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2469
2470 * sysdeps/s390/multiarch/Makefile
2471 (sysdep_routines): Remove strpbrk variants.
2472 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2473 * sysdeps/s390/multiarch/ifunc-impl-list.c
2474 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2475 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2476 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2477 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2478 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2479 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2480 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2481 * sysdeps/s390/ifunc-strpbrk.h: New file.
2482
2483 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2484
2485 * sysdeps/s390/multiarch/Makefile
2486 (sysdep_routines): Remove strspn variants.
2487 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2488 * sysdeps/s390/multiarch/ifunc-impl-list.c
2489 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2490 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2491 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2492 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2493 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2494 * sysdeps/s390/multiarch/strspn.c: Move to ...
2495 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2496 * sysdeps/s390/ifunc-strspn.h: New file.
2497
2498 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2499
2500 * sysdeps/s390/multiarch/Makefile
2501 (sysdep_routines): Remove strrchr variants.
2502 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2503 * sysdeps/s390/multiarch/ifunc-impl-list.c
2504 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2505 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2506 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2507 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2508 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2509 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2510 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2511 * sysdeps/s390/ifunc-strrchr.h: New file.
2512
2513 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2514
2515 * sysdeps/s390/multiarch/Makefile
2516 (sysdep_routines): Remove strchrnul variants.
2517 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2518 * sysdeps/s390/multiarch/ifunc-impl-list.c
2519 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2520 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2521 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2522 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2523 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2524 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2525 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2526 * sysdeps/s390/ifunc-strchrnul.h: New file.
2527
2528 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2529
2530 * sysdeps/s390/multiarch/Makefile
2531 (sysdep_routines): Remove strchr variants.
2532 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2533 * sysdeps/s390/multiarch/ifunc-impl-list.c
2534 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2535 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2536 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2537 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2538 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2539 * sysdeps/s390/multiarch/strchr.c: Move to ...
2540 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2541 * sysdeps/s390/ifunc-strchr.h: New file.
2542
2543 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2544
2545 * sysdeps/s390/multiarch/Makefile
2546 (sysdep_routines): Remove strncmp variants.
2547 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2548 * sysdeps/s390/multiarch/ifunc-impl-list.c
2549 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2550 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2551 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2552 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2553 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2554 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2555 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2556 * sysdeps/s390/ifunc-strncmp.h: New file.
2557
2558 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2559
2560 * sysdeps/s390/multiarch/Makefile
2561 (sysdep_routines): Remove strcmp variants.
2562 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2563 * sysdeps/s390/multiarch/ifunc-impl-list.c
2564 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2565 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2566 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2567 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2568 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2569 * sysdeps/s390/ifunc-strcmp.h: New file.
2570 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2571 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2572 for 31/64bit and ifunc handling.
2573 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2574 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2575 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2576
2577 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2578
2579 * sysdeps/s390/multiarch/Makefile
2580 (sysdep_routines): Remove strncat variants.
2581 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2582 * sysdeps/s390/multiarch/ifunc-impl-list.c
2583 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2584 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2585 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2586 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2587 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2588 * sysdeps/s390/multiarch/strncat.c: Move to ...
2589 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2590 * sysdeps/s390/ifunc-strncat.h: New file.
2591
2592 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2593
2594 * sysdeps/s390/multiarch/Makefile
2595 (sysdep_routines): Remove strcat variants.
2596 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2597 * sysdeps/s390/multiarch/ifunc-impl-list.c
2598 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2599 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2600 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2601 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2602 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2603 * sysdeps/s390/multiarch/strcat.c: Move to ...
2604 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2605 * sysdeps/s390/ifunc-strcat.h: New file.
2606
2607 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2608
2609 * sysdeps/s390/multiarch/Makefile
2610 (sysdep_routines): Remove stpncpy variants.
2611 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2612 * sysdeps/s390/multiarch/ifunc-impl-list.c
2613 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2614 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2615 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2616 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2617 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2618 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2619 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2620 * sysdeps/s390/ifunc-stpncpy.h: New file.
2621
2622 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2623
2624 * sysdeps/s390/multiarch/Makefile
2625 (sysdep_routines): Remove strncpy variants.
2626 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2627 * sysdeps/s390/multiarch/ifunc-impl-list.c
2628 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2629 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2630 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2631 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2632 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2633 * sysdeps/s390/ifunc-strncpy.h: New file.
2634 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2635 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2636 and adjust ifunc handling.
2637 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2638 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2639 and adjust ifunc handling.
2640 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2641 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2642
2643 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2644
2645 * sysdeps/s390/multiarch/Makefile
2646 (sysdep_routines): Remove stpcpy variants.
2647 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2648 * sysdeps/s390/multiarch/ifunc-impl-list.c
2649 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2650 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2651 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2652 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2653 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2654 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2655 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2656 * sysdeps/s390/ifunc-stpcpy.h: New file.
2657
2658 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2659
2660 * sysdeps/s390/multiarch/Makefile
2661 (sysdep_routines): Remove strcpy variants.
2662 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2663 * sysdeps/s390/multiarch/ifunc-impl-list.c
2664 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2665 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2666 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2667 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2668 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2669 * sysdeps/s390/ifunc-strcpy.h: New file.
2670 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2671 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2672 for 31/64bit and ifunc handling.
2673 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2674 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2675 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2676
2677 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2678
2679 * sysdeps/s390/multiarch/Makefile
2680 (sysdep_routines): Remove strnlen variants.
2681 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2682 * sysdeps/s390/multiarch/ifunc-impl-list.c
2683 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2684 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2685 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2686 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2687 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2688 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2689 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2690 * sysdeps/s390/ifunc-strnlen.h: New file.
2691
2692 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2693
2694 * sysdeps/s390/multiarch/Makefile
2695 (sysdep_routines): Remove strlen variants.
2696 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2697 * sysdeps/s390/multiarch/ifunc-impl-list.c
2698 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2699 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2700 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2701 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2702 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2703 * sysdeps/s390/multiarch/strlen.c: Move to ...
2704 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2705 * sysdeps/s390/ifunc-strlen.h: New file.
2706
2707 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2708
2709 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2710 * sysdeps/s390/multiarch/ifunc-impl-list.c
2711 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2712 * sysdeps/s390/ifunc-memmem.h: New file.
2713 * sysdeps/s390/memmem.c: Likewise.
2714 * sysdeps/s390/memmem-c.c: Likewise.
2715 * sysdeps/s390/memmem-vx.c: Likewise.
2716
2717 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2718
2719 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2720 * sysdeps/s390/multiarch/ifunc-impl-list.c
2721 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2722 * sysdeps/s390/ifunc-strstr.h: New file.
2723 * sysdeps/s390/strstr.c: Likewise.
2724 * sysdeps/s390/strstr-c.c: Likewise.
2725 * sysdeps/s390/strstr-vx.c: Likewise.
2726
2727 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2728
2729 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2730 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2731 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2732 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2733 New defines.
2734 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2735 * sysdeps/s390/memmove-c.c: New file.
2736 * sysdeps/s390/memmove.c: Likewise.
2737 * sysdeps/s390/multiarch/ifunc-impl-list.c
2738 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2739
2740 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2741
2742 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2743 * sysdeps/s390/configure.ac: Add check for z13 support.
2744 * sysdeps/s390/configure: Regenerated.
2745
2746 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2747
2748 * sysdeps/s390/memcopy.h: New file.
2749
2750 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2751
2752 * sysdeps/s390/s390-32/bcopy.S: Remove.
2753 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2754
2755 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2756
2757 * sysdeps/s390/ifunc-memcpy.h: New File.
2758 * sysdeps/s390/memcpy.S: Move to ...
2759 * sysdeps/s390/memcpy-z900.S ... here.
2760 Move implementations from memcpy-s390x.s to here.
2761 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2762 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2763 Remove memcpy/mempcpy variants.
2764 * sysdeps/s390/Makefile (sysdep_routines):
2765 Add memcpy/mempcpy variants.
2766 * sysdeps/s390/multiarch/ifunc-impl-list.c
2767 (__libc_ifunc_impl_list): Adjust ifunc variants for
2768 memcpy and mempcpy.
2769 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2770 to ...
2771 * sysdeps/s390/memcpy.c: ... here.
2772 Adjust ifunc variants for memcpy.
2773 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2774 * sysdeps/s390/mempcpy.c: ... here.
2775 Adjust ifunc variants for mempcpy.
2776 * sysdeps/s390/mempcpy.S: Delete file.
2777
2778 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2779
2780 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2781 * sysdeps/s390/memcpy.S: ... here.
2782 Adjust to be usable for 31/64bit.
2783 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2784 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2785 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2786 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2787 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2788 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2789 Adjust to be usable for 31/64bit.
2790 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2791 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2792 * sysdeps/s390/multiarch/memcpy.c: ... here.
2793 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2794
2795 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2796
2797 * sysdeps/s390/ifunc-memcmp.h: New File.
2798 * sysdeps/s390/memcmp.S: Move to ...
2799 * sysdeps/s390/memcmp-z900.S ... here.
2800 Move implementations from memcmp-s390x.s to here.
2801 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2802 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2803 Remove memcmp variants.
2804 * sysdeps/s390/Makefile (sysdep_routines):
2805 Add memcmp variants.
2806 * sysdeps/s390/multiarch/ifunc-impl-list.c
2807 (__libc_ifunc_impl_list): Adjust ifunc variants for
2808 memcmp.
2809 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2810 to ...
2811 * sysdeps/s390/memcmp.c: ... here.
2812 Adjust ifunc variants for memcmp.
2813
2814 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2815
2816 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2817 * sysdeps/s390/memcmp.S: ... here.
2818 Adjust to be usable for 31/64bit.
2819 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2820 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2821 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2822 Remove memcmp.
2823 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2824 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2825 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2826 Adjust to be usable for 31/64bit.
2827 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2828 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2829 * sysdeps/s390/multiarch/memcmp.c: ... here.
2830 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2831
2832 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2833
2834 * sysdeps/s390/s390-32/bzero.S: Delete file.
2835 * sysdeps/s390/s390-64/bzero.S: Likewise.
2836 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2837 * sysdeps/s390/bzero.c: New file.
2838 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2839 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2840 * sysdeps/s390/multiarch/ifunc-impl-list.c
2841 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2842
2843 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2844
2845 * sysdeps/s390/ifunc-memset.h: New File.
2846 * sysdeps/s390/memset.S: Move to ...
2847 * sysdeps/s390/memset-z900.S ... here.
2848 Move implementations from memset-s390x.s to here.
2849 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2850 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2851 Remove memset variants.
2852 * sysdeps/s390/Makefile (sysdep_routines):
2853 Add memset variants.
2854 * sysdeps/s390/multiarch/ifunc-impl-list.c
2855 (__libc_ifunc_impl_list): Adjust ifunc variants for
2856 memset.
2857 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2858 to ...
2859 * sysdeps/s390/memset.c: ... here.
2860 Adjust ifunc variants for memset.
2861
2862 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2863
2864 * sysdeps/s390/s390-64/memset.S: Move to ...
2865 * sysdeps/s390/memset.S: ... here.
2866 Adjust to be usable for 31/64bit.
2867 * sysdeps/s390/s390-32/memset.S: Delete File.
2868 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2869 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2870 Remove memset.
2871 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2872 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2873 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2874 Adjust to be usable for 31/64bit.
2875 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2876 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2877 * sysdeps/s390/multiarch/memset.c: ... here.
2878 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2879
2880 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2881
2882 * sysdeps/s390/multiarch/ifunc-resolve.h
2883 (s390_libc_ifunc_init, s390_libc_ifunc,
2884 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2885
2886 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2887
2888 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2889 * sysdeps/s390/configure.ac: Add check for z10 support.
2890 * sysdeps/s390/configure: Regenerated.
2891
2892 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2893
2894 * sysdeps/i386/atomic-machine.h: Merged with ...
2895 * sysdeps/x86_64/atomic-machine.h: To ...
2896 * sysdeps/x86/atomic-machine.h: This. New file.
2897
2898 2018-12-18 Florian Weimer <fweimer@redhat.com>
2899
2900 Rewrite locale/gen-translit.pl in Python.
2901 * locale/Makefile (generated): Add C-translit.h.
2902 (before-compile): Add $(objpfx)C-translit.h.
2903 (C-translit.h): Move to $(objpfx). Create target directory.
2904 Build using Python script.
2905 * locale/gen-translit.py: New file.
2906 * locale/gen-translit.pl: Remove file.
2907 * locale/C-translit.h.in: Change comment character to '#' for
2908 easier parsing without a C preprocessor.
2909 * locale/C-translit.h: Remove generated file.
2910 * manual/install.texi (Tools for Compilation): Do not mention
2911 C-translit.h.
2912 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2913 Remove locale/C-translit.h.
2914 * scripts/update-copyrights: Likewise.
2915 * INSTALL: Regenerate.
2916
2917 2018-12-18 Florian Weimer <fweimer@redhat.com>
2918
2919 [BZ #23995]
2920 * localedata/locales/bi_VU: Remove executable bit from file.
2921
2922 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2923
2924 * include/time.h
2925 (__localtime64): Add.
2926 * manual/maint.texi: Document Y2038 symbol handling.
2927 * time/localtime.c
2928 (__localtime64): Add.
2929 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2930
2931 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2932
2933 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2934 Do not clobber r12.
2935
2936 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2937 to allow extra macros from first or second sources.
2938 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2939 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2940 (tests-special): Add $(objpfx)tst-mman-consts.out.
2941 ($(objpfx)tst-mman-consts.out): New makefile target.
2942
2943 2018-12-17 Mao Han <han_mao@c-sky.com>
2944
2945 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2946 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2947 without stat64 system call support.
2948 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2949 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2950 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2951 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2952 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2953 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2954 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2955 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2956 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2957 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2958 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2959
2960 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2961
2962 regex: fix storage-exhaustion error
2963 [BZ #18040]
2964 * posix/regexec.c (get_subexp):
2965 Do not continue if storage is exhausted.
2966
2967 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2968
2969 regex: fix heap-use-after-free error
2970 [BZ #18040]
2971 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2972 https://debbugs.gnu.org/32592
2973 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2974 call extend_buffers which reallocates the re_string_t internal buffer.
2975 Local variable 'buf' was not updated in such case, resulting in
2976 use-after-free.
2977 * posix/regexec.c (get_subexp): Update 'buf' after call to
2978 get_subexp_sub.
2979
2980 2018-12-15 Florian Weimer <fweimer@redhat.com>
2981
2982 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2983 (minimum_stride_size): Use it.
2984 (support_blob_repeat_allocate): Likewise.
2985
2986 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2987
2988 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2989 definition.
2990 (acosh): Likewise.
2991 (atanh): Likewise.
2992
2993 2018-12-14 Florian Weimer <fweimer@redhat.com>
2994
2995 * manual/process.texi (Process Creation Concepts): Remove
2996 documentation of process (ID) lifetime. List more process
2997 creation functions. Reference Process Identification section.
2998 (Process Identification): Add information about process ID
2999 lifetime. Describe Linux thread/task IDs.
3000 * manual/signal.texi (Signaling Another Process): Mention that the
3001 signal is always sent to the process.
3002
3003 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3004
3005 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3006 and tst-ldbl-efgcvt.
3007 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3008 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3009 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3010 (fcvt_tests, output_error, output_r_error, do_test): Use the
3011 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3012 select the type of floating-point variables and arguments; to
3013 produce extra tests for double and conversion specifiers for
3014 printf; and to set the names of called functions.
3015 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3016 in tst-efgcvt-template.c.
3017 * misc/tst-ldbl-efgcvt.c: Likewise.
3018
3019 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
3020
3021 * nss/Makefile (tst-nss-test3.out): New rule.
3022
3023 2018-12-13 Joseph Myers <joseph@codesourcery.com>
3024
3025 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3026 clobber sp.
3027
3028 2018-12-13 fanjinke <fanjinke@hygon.cn>
3029
3030 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3031 "HygonGenuine".
3032
3033 2018-12-13 Andreas Schwab <schwab@suse.de>
3034
3035 [BZ #23861]
3036 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
3037 (__pthread_rwlock_rdlock_full): Update expected value for
3038 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
3039 * nptl/tst-rwlock-pwn.c: New file.
3040 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3041
3042 2018-12-12 Joseph Myers <joseph@codesourcery.com>
3043
3044 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
3045 definition.
3046
3047 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3048
3049 * benchtests/scripts/compare_bench.py (do_compare): write to
3050 stderr in casestat is not present.
3051 * benchtests/scripts/compare_bench.py (plot_graphs): write to
3052 stderr in case timings field is not present. Also string showing
3053 the output filename goes into the stderr.
3054
3055 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3056
3057 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3058 and ZeroDivisorError exceptions.
3059 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3060 argument to loop through user provided statistics.
3061 * benchtests/scripts/compare_bench.py (main): Include the --stats
3062 argument.
3063
3064 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3065
3066 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3067 instead of return.
3068
3069 2018-12-12 Florian Weimer <fweimer@redhat.com>
3070
3071 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3072 clause to copyright header.
3073
3074 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3075
3076 [BZ #23614]
3077 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3078 registers saved in the stack frame.
3079 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3080 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3081
3082 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3083
3084 * include/bits/monetary-ldbl.h: New file.
3085 * include/bits/printf-ldbl.h: Likewise.
3086 * include/bits/stdio-ldbl.h: Likewise.
3087 * include/bits/stdlib-ldbl.h: Likewise.
3088 * include/bits/syslog-ldbl.h: Likewise.
3089 * include/bits/wchar-ldbl.h: Likewise.
3090
3091 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3092
3093 * libio/libio.h: Remove redirection for _IO_vfprintf.
3094
3095 2018-12-11 Andreas Schwab <schwab@suse.de>
3096
3097 * Makerules: Remove all references to abilist-pattern.
3098 (update-all-abi): Simplify find expression.
3099
3100 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3101
3102 [BZ #23961]
3103 * math/auto-libm-test-in: Add new test case.
3104 * math/auto-libm-test-out-pow: Regenerated.
3105 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3106
3107 2018-12-10 DJ Delorie <dj@redhat.com>
3108
3109 [BZ #23948]
3110 * support/test-container.c: Move postclean step to before we
3111 change namespaces.
3112
3113 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3114
3115 * scripts/gen-as-const.py (main): Handle --python option.
3116 * scripts/gen-py-const.awk: Remove.
3117 * Makerules (py-const-script): Use gen-as-const.py.
3118 ($(py-const)): Likewise.
3119 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3120 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3121 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3122 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3123 ~PTHREAD_MUTEX_NO_ELISION_NP.
3124 * manual/README.pretty-printers: Update reference to
3125 gen-py-const.awk.
3126
3127 * scripts/glibcextract.py: New file.
3128 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3129 or tempfile. Import glibcexctract.
3130 (compute_c_consts): Remove. Moved to glibcextract.py.
3131 (gen_test): Update reference to compute_c_consts.
3132 (main): Likewise.
3133 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3134 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3135 * sysdeps/unix/sysv/linux/Makefile
3136 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3137 Redirect stderr as well as stdout.
3138
3139 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3140
3141 [BZ #19767]
3142 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3143 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3144 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3145 ALWAYS_USE_VSYSCALL.
3146 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3147 ALWAYS_USE_VSYSCALL.
3148 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3149 ALWAYS_USE_VSYSCALL.
3150
3151 2018-12-10 Florian Weimer <fweimer@redhat.com>
3152
3153 [BZ #23972]
3154 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3155 offset instead of count for clarity. Fix typo in comment.
3156 (__old_getdents64): Keep track of previous offset. Use it to call
3157 handle_overflow.
3158 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3159 that d_off is never zero.
3160
3161 2018-12-10 Andreas Schwab <schwab@suse.de>
3162
3163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3164 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3166 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3167 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3168
3169 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3170
3171 * timezone/private.h: Update from tzcode 2018g.
3172 * timezone/tzfile.h: Likewise.
3173 * timezone/tzselect.ksh: Likewise.
3174 * timezone/zdump.c: Likewise.
3175 * timezone/zic.c: Likewise.
3176
3177 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3178
3179 [BZ #23490]
3180 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3181 (do_test): Adjust buffer size and fix format.
3182
3183 2018-12-07 DJ Delorie <dj@redhat.com>
3184
3185 [BZ #23907]
3186 * malloc/tst-tcfree3.c: New.
3187 * malloc/Makefile: Add it.
3188
3189 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3190
3191 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3192
3193 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3194
3195 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3196 used as a mask for the mode argument of __vfscanf_internal and
3197 __vfwscanf_internal.
3198 * stdio-common/vfscanf-internal.c
3199 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3200 (__strtof128_internal): Define to __wcstof128_internal.
3201 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3202 __strtof128_internal or __wcstof128_internal when the format of
3203 long double is the same as _Float128.
3204
3205 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3206
3207 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3208 * posix/confstr.c (confstr): Rename to __confstr.
3209 (__confstr): Add hidden def.
3210 (confstr): Add weak alias for __confstr.
3211 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3212 confstr.
3213
3214 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3215
3216 * NEWS: Mention getcpu.
3217 * include/sched.h (__getcpu): New libc_hidden_proto.
3218 * manual/resource.texi: Document getcpu.
3219 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3220 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3221 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3222 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3223 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3224 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3225 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3226 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3227 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3228 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3229 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3230 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3231 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3232 Likewise.
3233 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3234 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3235 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3237 Likewise.
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3239 Likewise.
3240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3241 Likewise.
3242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3243 Likewise.
3244 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3245 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3246 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3247 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3248 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3249 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3250 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3251 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3252 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3253 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3254 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3255 Also check getcpu.
3256
3257 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3258
3259 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3260 functions.
3261 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3262
3263 2018-12-07 Florian Weimer <fweimer@redhat.com>
3264
3265 [BZ #17405]
3266 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3267 * posix/Versions (GLIBC_2.29): Export
3268 posix_spawn_file_actions_addfchdir_np.
3269 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3270 * posix/spawn_faction_destroy.c
3271 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3272 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3273 and the field action.fchdir_action.
3274 * posix/tst-spawn-chdir.c (add_chdir): New function.
3275 (do_test): Add do_fchdir loop. Call add_chdir.
3276 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3277 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3278 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3279 posix_spawn_file_actions_addfchdir_np.
3280 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3281 Likewise.
3282 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3283 Likewise.
3284 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3285 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3286 Likewise.
3287 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3288 Likewise.
3289 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3290 Likewise.
3291 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3292 Likewise.
3293 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3294 Likewise.
3295 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3296 Likewise.
3297 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3298 (GLIBC_2.29): Likewise.
3299 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3300 (GLIBC_2.29): Likewise.
3301 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3302 (GLIBC_2.29): Likewise.
3303 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3304 (GLIBC_2.29): Likewise.
3305 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3306 Likewise.
3307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3308 (GLIBC_2.29): Likewise.
3309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3310 (GLIBC_2.29): Likewise.
3311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3312 (GLIBC_2.29): Likewise.
3313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3314 (GLIBC_2.29): Likewise.
3315 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3316 Likewise.
3317 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3318 Likewise.
3319 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3320 Likewise.
3321 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3322 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3323 Likewise.
3324 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3325 Likewise.
3326 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3327 Likewise.
3328 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3329 Likewise.
3330
3331 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3332
3333 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3334 trailing whitespace removed.
3335 * scripts/config.guess: Update to version 2018-11-28.
3336 * scripts/config.sub: Update to version 2018-11-28.
3337 * scripts/install-sh: Update to version 2018-03-11.20.
3338 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3339 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3340
3341 2018-12-07 Florian Weimer <fweimer@redhat.com>
3342
3343 [BZ #23927]
3344 CVE-2018-19591
3345 * inet/tst-if_index-long.c: New file.
3346 * inet/Makefile (tests): Add tst-if_index-long.
3347
3348 2018-12-07 Florian Weimer <fweimer@redhat.com>
3349
3350 * support/check.h (support_record_failure_is_failed): Declare.
3351 * support/descriptors.h: New file.
3352 * support/support_descriptors.c: Likewise.
3353 * support/tst-support_descriptors.c: Likewise.
3354 * support/support_record_failure.c
3355 (support_record_failure_is_failed): New function.
3356 * support/Makefile (libsupport-routines): Add support_descriptors.
3357 (tests): Add tst-support_descriptors.
3358
3359 2018-12-05 Zack Weinberg <zackw@panix.com>
3360 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3361
3362 * stdio-common/vfprintf-internal.c
3363 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3364 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3365 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3366 and __no_long_double.
3367 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3368 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3369 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3370 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3371 and __nldbl_*syslog* functions.
3372 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3373 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3374 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3375 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3376 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3377 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3378 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3379 (__nldbl_vwprintf, __nldbl_wprintf):
3380 Directly call the appropriate __v*printf_internal routine, passing
3381 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3382 variable names.
3383 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3384 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3385 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3386 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3387 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3388 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3389 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3390 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3391 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3392 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3393 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3394 (__nldbl_syslog, __nldbl_vsyslog):
3395 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3396 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3397 appropriate.
3398 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3399 appropriate.
3400
3401 2018-12-05 Zack Weinberg <zackw@panix.com>
3402 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3403
3404 [BZ #11319]
3405 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3406 Moved here from debug/vsprintf_chk.c.
3407 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3408 and completion logic for the strfile to match exactly what
3409 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3410 _IO_str_init_static_internal instead of maxlen-1.
3411 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3412 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3413 __vsprintf_internal.
3414
3415 * debug/vsprintf_chk.c (__vsprintf_chk)
3416 * debug/sprintf_chk.c (__sprintf_chk):
3417 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3418 'flags' argument is positive, and slen as maxlen. No need to lock
3419 the FILE and/or construct a temporary FILE. Minimize and normalize
3420 header inclusions and variable names. Do not libc_hidden_def anything.
3421
3422 * debug/asprintf_chk.c (__asprintf_chk)
3423 * debug/dprintf_chk.c (__dprintf_chk)
3424 * debug/fprintf_chk.c (__fprintf_chk)
3425 * debug/fwprintf_chk.c (__fwprintf_chk)
3426 * debug/printf_chk.c (__printf_chk)
3427 * debug/snprintf_chk.c (__snprintf_chk)
3428 * debug/swprintf_chk.c (__swprintf_chk)
3429 * debug/vasprintf_chk.c (__vasprintf_chk)
3430 * debug/vdprintf_chk.c (__vdprintf_chk)
3431 * debug/vfprintf_chk.c (__vfprintf_chk)
3432 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3433 * debug/vprintf_chk.c (__vprintf_chk)
3434 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3435 * debug/vswprintf_chk.c (__vswprintf_chk)
3436 * debug/vwprintf_chk.c (__vwprintf_chk)
3437 * debug/wprintf_chk.c (__wprintf_chk):
3438 Directly call the corresponding vxxprintf_internal function, passing
3439 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3440 the FILE and/or construct a temporary FILE. Minimize and normalize
3441 header inclusions and variable names. Do not libc_hidden_def anything.
3442
3443 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3444 __obstack_vprintf_internal.
3445 (__obstack_vprintf_chk): Convert into a wrapper that calls
3446 __obstack_vprintf_internal (these two functions already had the
3447 same code) and move to new file...
3448 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3449 file.
3450 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3451 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3452 * debug/Makefile (routines): Add vobprintf_chk.
3453
3454 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3455 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3456 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3457 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3458 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3459 (__nldbl___obstack_vfprintf_chk):
3460 Directly call the corresponding vxxprintf_internal function,
3461 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3462 duplicate comparison of slen with 0 or maxlen from the corresponding
3463 non-__nldbl function.
3464
3465 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3466 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3467 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3468 Remove libc_hidden_proto.
3469
3470 * stdio-common/vfprintf-internal.c
3471 (__vfprintf_internal, __vfwprintf_internal):
3472 Do not check _IO_FLAGS2_FORTIFY.
3473 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3474 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3475 a comment explaining why it has the maxlen argument.
3476 (_IO_acquire_lock_clear_flags2_fct): Remove.
3477 (_IO_acquire_lock_clear_flags2): Remove.
3478 (_IO_release_lock): Remove conditional statement which will
3479 now never execute.
3480 (_IO_acquire_lock): Remove variable which is now unused.
3481 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3482 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3483
3484 * stdio-common/Makefile (tests): Add tst-bz11319 and
3485 tst-bz11319-fortify2.
3486 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3487 * stdio-common/tst-bz11319-fortify2.c: New file.
3488 * stdio-common/tst-bz11319.c: Likewise.
3489
3490 2018-12-05 Zack Weinberg <zackw@panix.com>
3491 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3492
3493 * misc/syslog.c: Include libioP.h, not iolibio.h.
3494 (__vsyslog_internal): New function with the former body of
3495 __vsyslog_chk; takes mode_flags argument same as
3496 __v*printf_internal. Call __vfprintf_internal directly.
3497
3498 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3499 Remove libc_hidden_def.
3500 (__syslog, __syslog_chk): Use __vsyslog_internal.
3501 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3502
3503 * include/sys/syslog.h: Add multiple inclusion guard.
3504 Add prototype for __vsyslog_internal.
3505 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3506
3507 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3508 Use __vsyslog_internal.
3509
3510 2018-12-05 Zack Weinberg <zackw@panix.com>
3511 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3512
3513 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3514 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3515 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3516 New functions.
3517 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3518 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3519
3520 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3521 Include wctype.h here if COMPILE_WPRINTF is defined.
3522 Define __vfprintf_internal or __vfwprintf_internal, depending
3523 on COMPILE_WPRINTF.
3524 Temporarily, on entry to this function, update mode_flags
3525 according to the environmental settings corresponding to
3526 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3527 Throughout, check mode_flags instead of __ldbl_is_dbl and
3528 _IO_FLAGS2_FORTIFY on the destination FILE.
3529 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3530 Include vfprintf-internal.c. Don't include wctype.h.
3531 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3532 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3533 and vfprintf.
3534 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3535 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3536 and vfwprintf.
3537 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3538
3539 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3540 and add mode_flags argument; use __vfprintf_internal.
3541 (__vdprintf): New function. Alias vdprintf to this.
3542 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3543 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3544 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3545 (__obstack_printf): Use __obstack_printf_internal.
3546 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3547 public aliases __vsnprintf and vsnprintf.
3548 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3549 called internally.
3550 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3551 public aliases _IO_vsprintf and vsprintf.
3552 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3553 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3554 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3555 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3556 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3557
3558 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3559 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3560 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3561 * stdio-common/printf.c: Use __vfprintf_internal.
3562
3563 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3564 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3565 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3566
3567 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3568 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3569 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3570 __vfwprintf_internal.
3571
3572 * libio/libio.h: Remove libc_hidden_proto and declaration for
3573 _IO_vfprintf.
3574 Remove declaration of _IO_vfwprintf.
3575 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3576 _IO_vsprintf.
3577 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3578 _IO_obstack_printf.
3579 * include/stdio.h: Add prototype for __vasprintf.
3580 (__vsnprintf): Remove declaration, because there are no more
3581 internal calls.
3582 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3583 declaration, because there are no more internal calls.
3584
3585 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3586 __vsnprintf_internal, instead of _IO_vsnprintf.
3587 * argp/argp-help.c (__argp_error, __argp_failure): Use
3588 __vasprintf_internal, instead of _IO_vasprintf.
3589 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3590 redefine, because there are no more internal calls.
3591
3592 2018-12-05 Zack Weinberg <zackw@panix.com>
3593 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3594
3595 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3596 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3597 Include libio/strfile.h instead of libioP.h.
3598 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3599 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3600 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3601 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3602 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3603 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3604 necessary. Do not set __no_long_double. Normalize variable names.
3605 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3606 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3607 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3608 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3609 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3610 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3611 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3612 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3613 Do not set __no_long_double. Normalize variable names.
3614
3615 2018-12-05 Zack Weinberg <zackw@panix.com>
3616 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3617
3618 * stdio-common/isoc99_scanf.c
3619 * stdio-common/isoc99_fscanf.c
3620 * stdio-common/isoc99_sscanf.c
3621 * stdio-common/isoc99_vscanf.c
3622 * stdio-common/isoc99_vfscanf.c
3623 * stdio-common/isoc99_vsscanf.c
3624 * wcsmbs/isoc99_wscanf.c
3625 * wcsmbs/isoc99_fwscanf.c
3626 * wcsmbs/isoc99_swscanf.c
3627 * wcsmbs/isoc99_vwscanf.c
3628 * wcsmbs/isoc99_vfwscanf.c
3629 * wcsmbs/isoc99_vswscanf.c:
3630 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3631 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3632 No need to lock and unlock the FILE passed to that function.
3633
3634 * stdio-common/vfscanf-internal.c
3635 (__vfscanf_internal, __vfwscanf_internal):
3636 Don't look at _IO_FLAGS2_SCANF_STD.
3637 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3638 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3639 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3640
3641 2018-12-05 Zack Weinberg <zackw@panix.com>
3642 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3643
3644 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3645 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3646 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3647 * libio/strfile.h: Add multiple inclusion guard.
3648 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3649
3650 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3651 consistency with the other version of this file.
3652 (ldbl_compat_symbol): New macro.
3653 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3654 New macro.
3655
3656 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3657 Define __vfscanf_internal or __vfwscanf_internal, depending on
3658 COMPILE_WSCANF; don't define any other public symbols.
3659 Remove errval and code to set errp.
3660 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3661 as the mode_flags argument.
3662 (encode_error, conv_error, input_error): Don't set errval.
3663 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3664 Include vfscanf-internal.c.
3665 * stdio-common/vfscanf.c: New file defining the public entry
3666 point vfscanf, which calls __vfscanf_internal.
3667 * stdio-common/vfwscanf.c: New file defining the public entry
3668 point vfwscanf, which calls __vfwscanf_internal.
3669
3670 * stdio-common/iovfscanf.c: New file.
3671 * stdio-common/iovfwscanf.c: Likewise.
3672
3673 * stdio-common/Makefile (routines): Add vfscanf-internal,
3674 vfwscanf-internal, iovfscanf, iovfwscanf.
3675 * stdio-common/Versions: Mention GLIBC_2.29, so that
3676 it can be used in SHLIB_COMPAT expressions.
3677 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3678 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3679 Call __vfscanf_internal, instead of _IO_vfscanf.
3680 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3681 _IO_vfscanf.
3682 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3683 _IO_vfwscanf.
3684
3685 * libio/iovsscanf.c: Clean up includes, when possible. Use
3686 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3687 __vfscanf_internal or __vfwscanf_internal directly.
3688 * libio/iovswscanf.c: Likewise.
3689 * libio/swscanf.c: Likewise.
3690 * libio/vscanf.c: Likewise.
3691 * libio/vwscanf.c: Likewise.
3692 * libio/wscanf.c: Likewise.
3693 * stdio-common/isoc99_fscanf.c: Likewise.
3694 * stdio-common/isoc99_scanf.c: Likewise.
3695 * stdio-common/isoc99_sscanf.c: Likewise.
3696 * stdio-common/isoc99_vfscanf.c: Likewise.
3697 * stdio-common/isoc99_vscanf.c: Likewise.
3698 * stdio-common/isoc99_vsscanf.c: Likewise.
3699 * stdio-common/scanf.c: Likewise.
3700 * stdio-common/sscanf.c: Likewise.
3701 * wcsmbs/isoc99_fwscanf.c: Likewise.
3702 * wcsmbs/isoc99_swscanf.c: Likewise.
3703 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3704 * wcsmbs/isoc99_vswscanf.c: Likewise.
3705 * wcsmbs/isoc99_vwscanf.c: Likewise.
3706 * wcsmbs/isoc99_wscanf.c: Likewise.
3707
3708 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3709
3710 * include/time.h
3711 (__tz_compute): Replace time_t with __time64_t.
3712 (__tz_convert): Replace time_t* with __time64_t.
3713 (__offtime): Replace time_t* with __time64_t.
3714 * time/gmtime.c
3715 (__gmtime_r): Adjust call to __tz_convert.
3716 (gmtime): Likewise.
3717 * time/localtime.c
3718 (__localtime_r): Likewise.
3719 (localtime): Likewise.
3720 * time/offtime.c: Replace time_t with __time64_t.
3721 * time/tzset.c: Likewise.
3722
3723 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3724
3725 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3726 dynamic linker unless [$(run-built-tests) = yes].
3727
3728 2018-12-03 DJ Delorie <dj@delorie.com>
3729
3730 * support/test-container.c (check_for_unshare_hints): New.
3731 (main): Call it if unshare fails. Add support for "su" scriptlet
3732 command.
3733
3734 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3735
3736 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3737 'START' to indicate that start text should be output.
3738 (gen_test): Likewise.
3739 (main): Generate 'START' for first symbol or '--' line, or at end
3740 of input if not previously generated.
3741
3742 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3743
3744 [BZ #19767]
3745 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3746 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3747 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3748 ALWAYS_USE_VSYSCALL.
3749
3750 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3751
3752 [BZ #23913]
3753 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3754 new_argv by one.
3755
3756 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3757
3758 [BZ #23923]
3759 * locale/programs/localedef.c: Declare boolean hard_links default true.
3760 (options): Add --no-hard-links option.
3761 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3762 * locale/programs/localedef.h: Declare prototype for hard_links.
3763 * locale/programs/locfile.c (write_locale_data): Don't use hard
3764 links if hard_links is false.
3765
3766 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3767
3768 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3769 cpu_features_basic.
3770 (__cache_sysconf): Likewise.
3771 (init_cacheinfo): Likewise.
3772 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3773 populate COMMON_CPUID_INDEX_80000007 and
3774 COMMON_CPUID_INDEX_80000008.
3775 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3776 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3777 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3778 (init_cpu_features): Use _Static_assert on
3779 index_arch_Fast_Unaligned_Load.
3780 __get_cpuid_registers and __get_arch_feature. Updated for
3781 cpu_features_basic. Set stepping in cpu_features.
3782 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3783 (FEATURE_INDEX_2): New.
3784 (FEATURE_INDEX_MAX): Changed to enum.
3785 (COMMON_CPUID_INDEX_D_ECX_1): New.
3786 (COMMON_CPUID_INDEX_80000007): Likewise.
3787 (COMMON_CPUID_INDEX_80000008): Likewise.
3788 (cpuid_registers): Likewise.
3789 (cpu_features_basic): Likewise.
3790 (CPU_FEATURE_USABLE): Likewise.
3791 (bit_arch_XXX_Usable): Likewise.
3792 (cpu_features): Use cpuid_registers and cpu_features_basic.
3793 (bit_arch_XXX): Reweritten.
3794 (bit_cpu_XXX): Likewise.
3795 (index_cpu_XXX): Likewise.
3796 (reg_XXX): Likewise.
3797 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3798 <support/check.h>.
3799 (CHECK_CPU_FEATURE): New.
3800 (CHECK_CPU_FEATURE_USABLE): Likewise.
3801 (cpu_kinds): Likewise.
3802 (do_test): Print vendor, family, model and stepping. Check
3803 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3804 (TEST_FUNCTION): Removed.
3805 Include <support/test-driver.c> instead of
3806 "../../test-skeleton.c".
3807 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3808 Check POPCNT instead of POPCOUNT.
3809 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3810
3811 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3812
3813 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3814 there is no element in `consts'.
3815
3816 2018-12-01 Florian Weimer <fweimer@redhat.com>
3817
3818 * support/support_capture_subprocess.c
3819 (support_capture_subprocess): Check that pipe descriptors have
3820 expected values. Close original pipe descriptors in subprocess.
3821
3822 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3823
3824 [BZ #23032]
3825 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3826 attr with __pthread_default_barrierattr.
3827 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3828 attr with __pthread_default_condattr.
3829 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3830 attr with __pthread_default_mutexattr.
3831 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3832 attr with __pthread_default_rwlockattr.
3833
3834 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3835
3836 * manual/tunables.texi (POSIX Thread Tunables): New node.
3837 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3838 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3839 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3840 __pthread_tunables_init.
3841 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3842 (max_adaptive_count): Define.
3843 * nptl/pthread_mutex_conf.c: New file.
3844 * nptl/pthread_mutex_conf.h: New file.
3845 * sysdeps/generic/adaptive_spin_count.h: New file.
3846 * sysdeps/nptl/dl-tunables.list: New file.
3847 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3848 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3849 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3850 Likewise.
3851
3852 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3853
3854 [BZ #20544]
3855 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3856 * stdlib/on_exit.c (__on_exit): Likewise.
3857 * stdlib/Makefile (tests): Add tst-bz20544.
3858 * stdlib/tst-bz20544.c: New test.
3859
3860 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3861
3862 [BZ #19767]
3863 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3864 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3865 New.
3866
3867 2018-11-30 Florian Weimer <fweimer@redhat.com>
3868
3869 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3870 Extend error logging.
3871 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3872 symbol.
3873
3874 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3875
3876 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3877 __sigismember instead of sigismember.
3878 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3879 cancel_handler): New definitions.
3880 (do_system): Use posix_spawn instead of fork and execl and remove
3881 reentracy code.
3882 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3883 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3884 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3885 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3886 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3887 * sysdeps/unix/sysv/linux/system.c: Likewise.
3888
3889 [BZ #22834]
3890 [BZ #17490]
3891 * NEWS: Add new semantic for atfork with popen and system.
3892 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3893 fork and execl.
3894
3895 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3896
3897 [BZ #23690]
3898 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3899 modification order when accessing reloc_result->addr.
3900 * include/link.h (reloc_result): Add field init.
3901 * nptl/Makefile (tests): Add tst-audit-threads.
3902 (modules-names): Add tst-audit-threads-mod1 and
3903 tst-audit-threads-mod2.
3904 Add rules to build tst-audit-threads.
3905 * nptl/tst-audit-threads-mod1.c: New file.
3906 * nptl/tst-audit-threads-mod2.c: Likewise.
3907 * nptl/tst-audit-threads.c: Likewise.
3908 * nptl/tst-audit-threads.h: Likewise.
3909
3910 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3911
3912 * scripts/gen-as-const.py: New file.
3913 * scripts/gen-as-const.awk: Remove.
3914 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3915 gen-as-const.py.
3916 ($(objpfx)test-as-const-%.c): Likewise.
3917
3918 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3919
3920 * elf/dl-exception.c: Include <_itoa.h>.
3921
3922 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3923
3924 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3925 returned by __f_setlk.
3926
3927 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3928 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3929
3930 * elf/Makefile (tests-internal): Add tst-create_format1.
3931 * elf/dl-exception.c (_dl_exception_create_format): Support
3932 %x, %lx and %zx.
3933 * elf/tst-create_format1.c: New file.
3934
3935 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3936
3937 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3938 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3939 gnulib.)
3940 * argp/argp-help.c (__argp_failure): Likewise.
3941
3942 2018-11-29 Mao Han <han_mao@c-sky.com>
3943
3944 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3945 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3946 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3947 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3948 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3949 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3950 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3951 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3952 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3953 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3954 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3955 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3956 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3957 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3958 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3959 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3960 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3961 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3962 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3963 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3964 (R_CKCORE_TLS_TPOFF32): New defines.
3965
3966 2018-11-29 Florian Weimer <fweimer@redhat.com>
3967
3968 * posix/Makefile (before-compile): Remove testcases.h and
3969 ptestcases.h.
3970 (generated): Add testcases.h and ptestcases.h.
3971 (testcases.h, ptestcases.h): Move to $(objpfx).
3972 (runtests.o): Add dependency on testcases.h.
3973 (runptests.o): Add dependency on ptestcases.h.
3974 * posix/testcases.h, posix/ptestcases.h: Remove files.
3975 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3976 not touch posix/testcases.h and posix/ptestcases.h.
3977
3978 2018-11-28 Florian Weimer <fweimer@redhat.com>
3979
3980 support: Add signal support to support_capture_subprocess_check.
3981 * support/capture_subprocess.h (support_capture_subprocess_check):
3982 Adjust comment and rename parameter.
3983 * support/support_capture_subprocess_check.c
3984 (print_actual_status): New function.
3985 (support_capture_subprocess_check): Support negative
3986 status_or_signal. Call print_actual_status.
3987 * support/tst-support_capture_subprocess.c (do_test): Call
3988 support_capture_subprocess_check.
3989 * libio/tst-vtables-common.c (termination_status)
3990 (init_termination_status): Remove.
3991 (check_for_termination): Adjust support_capture_subprocess_check
3992 call.
3993 (do_test): Remove call to init_termination_status.
3994
3995 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3996
3997 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3998 source directory instead of a copy.
3999 (CommandList.create_copy_dir): Remove.
4000
4001 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
4002
4003 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4004
4005 2018-11-28 Florian Weimer <fweimer@redhat.com>
4006
4007 * support/support.h (support_quote_string): Do not use str
4008 parameter name.
4009
4010 2018-11-27 Joseph Myers <joseph@codesourcery.com>
4011
4012 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4013 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4014
4015 2018-11-27 Florian Weimer <fweimer@redhat.com>
4016
4017 * support/support.h (support_quote_string): Declare.
4018 * support/support_quote_string.c: New file.
4019 * support/tst-support_quote_string.c: Likewise.
4020 * support/Makefile (libsupport-routines): Add
4021 support_quote_string.
4022 (tests): Add tst-support_quote_string.
4023
4024 2018-11-27 Florian Weimer <fweimer@redhat.com>
4025
4026 [BZ #23927]
4027 CVE-2018-19591
4028 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4029 descriptor leak in case of ENODEV error.
4030
4031 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4032
4033 [BZ #19767]
4034 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
4035 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
4036 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
4037
4038 2018-11-26 Carlos O'Donell <carlos@redhat.com>
4039
4040 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
4041 Error for unknown lines.
4042
4043 2018-11-26 Joseph Myers <joseph@codesourcery.com>
4044
4045 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4046 Touch additional files.
4047
4048 2018-11-26 Florian Weimer <fweimer@redhat.com>
4049
4050 [BZ #23907]
4051 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
4052 double-frees.
4053
4054 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
4055
4056 [BZ #19767]
4057 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4058 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4059 SHARED. Include sysdep.h.
4060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4061 ALWAYS_USE_VSYSCALL.
4062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4063 ALWAYS_USE_VSYSCALL.
4064
4065 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4066
4067 [BZ #19767]
4068 * nptl/Makefile (tests-static): Add tst-cond11-static.
4069 (tests): Likewise.
4070 * nptl/tst-cond11-static.c: New File.
4071 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4072 tst-affinity-static.
4073 (tests): Likewise.
4074 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4075 instead of SHARED.
4076 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4077 (USE_VSYSCALL): Likewise.
4078 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4079 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4080 instead of SHARED.
4081 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4082 SHARED.
4083 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4084 New.
4085
4086 2018-11-23 Joseph Myers <joseph@codesourcery.com>
4087
4088 [BZ #23915]
4089 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4090 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4091 Undefine.
4092
4093 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4094
4095 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4096 (tst-cet-legacy-1a-ARGS): New.
4097 ($(objpfx)tst-cet-legacy-1a): New target.
4098 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4099
4100 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4101
4102 * conform/conformtest.py (CompileSubTest.__init__): Set
4103 self.run_early to False.
4104 (ExecuteSubTest.__init__): Likewise.
4105 (HeaderTests.run): Try running all non-optional, non-XFAILed
4106 compilation tests in a single execution of the compiler.
4107
4108 * conform/conformtest.py (CompileSubTest): New class.
4109 (ExecuteSubTest): Likewise.
4110 (ElementTest.run): Rename to gen_subtests. Append tests to
4111 self.subtests instead of running them.
4112 (ConstantTest.run): Likewise.
4113 (SymbolTest.run): Likewise.
4114 (TypeTest.run): Likewise.
4115 (TagTest.run): Likewise.
4116 (FunctionTest.run): Likewise.
4117 (VariableTest.run): Likewise.
4118 (MacroFunctionTest.run): Likewise.
4119 (MacroStrTest.run): Likewise.
4120 (HeaderTests.handle_test_line): Generate subtests for tests.
4121 (HeaderTests.run): Run subtests for tests.
4122
4123 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4124
4125 * math/Versions (GLIBC_2.29): Add pow.
4126 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4127 symbol.
4128 * math/w_pow.c: New file.
4129 * sysdeps/i386/fpu/w_pow.c: New file.
4130 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4131 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4132 and add necessary aliases.
4133 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4134 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4135 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4136 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4137 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4138 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4139 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4140 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4141 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4142 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4143 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4144 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4145 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4146 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4147 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4152 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4153 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4154 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4155 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4156 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4157 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4158 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4159 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4160 __pow.
4161 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4162 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4163 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4164
4165 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4166
4167 * math/Versions (GLIBC_2.29): Add log2.
4168 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4169 symbol.
4170 * math/w_log2.c: New file.
4171 * sysdeps/i386/fpu/w_log2.c: New file.
4172 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4173 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4174 and add necessary aliases.
4175 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4176 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4177 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4178 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4179 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4180 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4181 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4182 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4183 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4184 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4185 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4186 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4187 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4188 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4189 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4194 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4195 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4196 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4197 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4198 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4199 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4200 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4201
4202 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4203
4204 * math/Versions (GLIBC_2.29): Add log.
4205 * math/w_log_compat.c (__log_compat): Change to versioned compat
4206 symbol.
4207 * math/w_log.c: New file.
4208 * sysdeps/i386/fpu/w_log.c: New file.
4209 * sysdeps/ia64/fpu/e_log.S: Update.
4210 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4211 and add necessary aliases.
4212 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4213 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4214 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4215 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4216 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4217 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4218 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4219 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4220 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4221 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4222 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4223 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4224 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4225 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4226 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4231 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4232 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4233 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4234 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4235 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4236 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4237 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4238 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4239 __log.
4240 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4241 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4242 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4243 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4244
4245 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4246
4247 * math/Versions (GLIBC_2.29): Add exp and exp2.
4248 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4249 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4250 * math/w_exp_compat.c (__exp_compat): Likewise.
4251 * math/w_exp.c: New file.
4252 * math/w_exp2.c: New file.
4253 * sysdeps/i386/fpu/w_exp.c: New file.
4254 * sysdeps/i386/fpu/w_exp2.c: New file.
4255 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4256 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4257 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4258 and add necessary aliases.
4259 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4260 and add necessary aliases.
4261 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4262 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4263 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4264 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4265 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4266 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4267 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4268 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4269 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4270 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4271 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4272 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4273 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4274 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4275 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4276 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4277 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4282 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4283 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4284 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4285 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4286 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4287 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4288 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4289 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4290 (__ieee754_exp): Rename to __exp.
4291 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4292 (__ieee754_exp): Rename to __exp.
4293 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4294 (__ieee754_exp): Rename to __exp.
4295 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4296 __exp.
4297 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4298
4299 2018-11-20 DJ Delorie <dj@redhat.com>
4300
4301 * malloc/malloc.c (tcache_entry): Add key field.
4302 (tcache_put): Set it.
4303 (tcache_get): Likewise.
4304 (_int_free): Check for double free in tcache.
4305 * malloc/tst-tcfree1.c: New.
4306 * malloc/tst-tcfree2.c: New.
4307 * malloc/Makefile: Run the new tests.
4308 * manual/probes.texi: Document memory_tcache_double_free probe.
4309
4310 * dlfcn/dlerror.c (check_free): Prevent double frees.
4311
4312 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4313
4314 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4315
4316 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4317
4318 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4319 in tests. Use names for format arguments.
4320 (ConstantTest.run): Likewise.
4321 (SymbolTest.run): Likewise.
4322 (TypeTest.run): Likewise.
4323 (TagTest.run): Likewise.
4324 (FunctionTest.run): Likewise.
4325 (VariableTest.run): Likewise.
4326 (MacroFunctionTest.run): Likewise.
4327 (MacroStrTest.run): Likewise.
4328 (HeaderTests.__init__): Set self.num_tests.
4329 (HeaderTests.handle_test_line): Set test.num. Increment
4330 self.num_tests.
4331
4332 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4333
4334 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4335 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4336 SEEK_SET.
4337
4338 2018-11-19 Mao Han <han_mao@c-sky.com>
4339
4340 * scripts/config.guess: Update to version 2018-08-29.
4341 * scripts/config.sub: Update to version 2018-08-29.
4342
4343 2018-11-19 Florian Weimer <fweimer@redhat.com>
4344
4345 support: Print timestamps in timeout handler.
4346 * support/support_test_main.c (print_timestamp): New function.
4347 (signal_handler): Use it to print the termination time and the
4348 time of the last write to standard output.
4349
4350 2018-11-16 Zack Weinberg <zackw@panix.com>
4351 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4352
4353 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4354 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4355 argument.
4356 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4357 and add flags argument. Check flags instead of __ldbl_is_dbl when
4358 deciding whether to set is_long_double.
4359 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4360 passing zero for flags argument.
4361 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4362
4363 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4364 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4365 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4366 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4367 variable names. Remove libc_hidden_def/libc_hidden_proto from
4368 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4369 longer called from within the library.
4370 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4371 for __nldbl___vstrfmon_l, declare it explicitly.
4372
4373 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4374
4375 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4376
4377 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4378 macros
4379 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4380 F_SETLK64, F_SETLKW64, respectively.
4381 * sysdeps/mach/hurd/f_setlk.c: New file.
4382 * sysdeps/mach/hurd/f_setlk.h: New file.
4383 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4384 f_setlk.
4385 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4386 (__libc_fcntl): Move non-flock operations to...
4387 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4388 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4389
4390 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4391
4392 mktime: DEBUG_MKTIME cleanup
4393 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4394 And it’s no longer needed now that glibc and Gnulib both have
4395 their own testing mechanisms for mktime.
4396 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4397
4398 mktime: fix non-EOVERFLOW errno handling
4399 [BZ#23789]
4400 mktime was not properly reporting failures when the underlying
4401 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4402 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4403 The problem could happen on non-glibc platforms, with Gnulib.
4404 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4405 (tm_diff): ... this simpler function, which does not change errno.
4406 All callers changed to deal with errno themselves.
4407 (ranged_convert, __mktime_internal): Return failure immediately if
4408 the underlying function reports any failure other than EOVERFLOW.
4409 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4410 gap code fails.
4411
4412 mktime: fix bug with Y2038 DST transition
4413 [BZ#23789]
4414 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4415 mishandle a DST transition that jumps over the Y2038 boundary.
4416 No such DST transitions are known so this is only a theoretical
4417 bug, but we might as well do things right.
4418
4419 mktime: make more room for overflow
4420 [BZ#23789]
4421 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4422 This is so that we can add tm_diff results to a previous guess,
4423 which will be useful in a later patch.
4424
4425 mktime: simplify offset guess
4426 [BZ#23789]
4427 * time/mktime.c (__mktime_internal): Omit excess precision.
4428
4429 mktime: new test for mktime failure
4430 [BZ#23789]
4431 Based on a test suggested by Albert Aribaud in:
4432 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4433 * time/Makefile (tests): Add bug-mktime4.
4434 * time/bug-mktime4.c: New file.
4435
4436 mktime: fix EOVERFLOW bug
4437 [BZ#23789]
4438 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4439 Include libc-config.h, not config.h, for __set_errno.
4440 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4441
4442 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4443
4444 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4445 __attribute_copy__ to copy attributes from name. Drop static qualifier
4446 to avoid warnings about leaf attribute not having effect on static
4447 functions.
4448
4449 2018-11-13 Florian Weimer <fweimer@redhat.com>
4450
4451 * malloc/malloc.c (fastbin_push_entry): New function.
4452 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4453 (REMOVE_FB): Remove macro.
4454 (_int_malloc): Use fastbin_pop_entry and reindent.
4455 (_int_free): Use fastbin_push_entry.
4456 (malloc_consolidate): Use atomic_exchange_acquire.
4457
4458 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4459
4460 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4461 alias attribute, not with strong_alias.
4462
4463 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4464 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4465 with additional parameter thread.
4466 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4467 in terms of __hidden_ver2.
4468 (hidden_tls_def): New macro.
4469 (libc_hidden_tls_def): Likewise.
4470 (rtld_hidden_tls_def): Likewise.
4471 (libm_hidden_tls_def): Likewise.
4472 (libmvec_hidden_tls_def): Likewise.
4473 (libresolv_hidden_tls_def): Likewise.
4474 (librt_hidden_tls_def): Likewise.
4475 (libdl_hidden_tls_def): Likewise.
4476 (libnss_files_hidden_tls_def): Likewise.
4477 (libnsl_hidden_tls_def): Likewise.
4478 (libnss_nisplus_hidden_tls_def): Likewise.
4479 (libutil_hidden_tls_def): Likewise.
4480 (libutil_hidden_tls_def): Likweise.
4481 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4482 libc_hidden_tls_def.
4483 (__sim_disabled_exceptions_thread): Likewise.
4484 (__sim_round_mode_thread): Likewise.
4485
4486 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4487 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4488 copy attributes from name.
4489
4490 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4491
4492 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4493 Use __attribute_copy__ to copy attributes from name.
4494
4495 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4496 with __hidden_ver1 call.
4497 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4498 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4499 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4500 (__cosf): Do not declare here.
4501 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4502 (__sincosf): Do not declare here.
4503 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4504 (__sinf): Do not declare here.
4505
4506 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4507 (__BIG_ENDIAN): Likewise.
4508 (__BYTE_ORDER): Likewise.
4509 (strong_alias): Likewise.
4510 (_strong_alias): Likewise.
4511
4512 2018-11-12 Florian Weimer <fweimer@redhat.com>
4513
4514 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4515 function. Move after the definition of in_smallbin_range. Do not
4516 use __builtin_expect for paths that lead to a noreturn function.
4517 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4518 because it is unclear whether this is in fact an unlikely
4519 condition.
4520 (_int_malloc, _int_free): Adjust.
4521 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4522 variables.
4523 * malloc/arena.c (heap_trim): Likewise.
4524
4525 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4526
4527 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4528 it, free it if needed.
4529 (reauthenticate): Test and use ccwdir.
4530 (child_init_port): In non-resetids case, test and use ccwdir.
4531 (child_chdir): New nested function to set ccwdir.
4532 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4533 * hurd/hurd/port.h (_hurd_port_move): New function.
4534 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4535 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4536 * hurd/Versions (_hurd_port_move): Export function.
4537 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4538 symbol.
4539 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4540 of dtablesize for allocating dtable_cloexec.
4541
4542 2018-11-09 Martin Sebor <msebor@redhat.com>
4543
4544 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4545 it's already defined.
4546 (_strong_alias): Use __attribute_copy__.
4547 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4548 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4549 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4550 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4551 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4552 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4553 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4554 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4555 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4556 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4557 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4558 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4559 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4560 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4561 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4562 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4563 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4564 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4565 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4566
4567 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4568
4569 * misc/tst-efgcvt.c: Include support/check.h and
4570 support/test-driver.c. Do not include test-skeleton.c.
4571 (error_count): Remove.
4572 (output_error): Replace increments to error_count with calls to
4573 support_record_failure.
4574 (output_r_error): Likewise.
4575 (special): Likewise.
4576 (do_test): Unconditionally return zero.
4577 (TEST_FUNCTION): Remove.
4578
4579 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4580
4581 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4582 not $(@D)/scratch.
4583 ($(linknamespace-header-tests)): Likewise.
4584
4585 * conform/conformtest.py: New file.
4586 * conform/conformtest.pl: Remove.
4587 * conform/GlibcConform.pm: Likewise.
4588 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4589 (KEYWORDS_C99): Likewise.
4590 (KEYWORDS): Likewise.
4591 * conform/Makefile ($(conformtest-header-tests)): Use
4592 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4593 option. Use --header instead of --headers.
4594 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4595 function entries.
4596 * conform/data/spawn.h-data: Likewise.
4597 * conform/data/fcntl.h-data (openat): Add space after function
4598 name.
4599 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4600 (wcscasecmp_l): Likewise.
4601 * conform/data/termios.h-data (c_cc): Add space after element
4602 name.
4603
4604 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4605
4606 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4607 instead of manually comparing and reporting mismatching strings.
4608 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4609 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4610
4611 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4612
4613 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4614 __ASSUME_SOCKETCALL.
4615 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4616 (__ASSUME_SOCKETCALL): Remove.
4617 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4618 (__ASSUME_SOCKETCALL): Likewise.
4619 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4620 (__ASSUME_SOCKETCALL): Likewise.
4621 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4622 (__ASSUME_SOCKETCALL): Likewise.
4623 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4624 (__ASSUME_SOCKETCALL): Likewise.
4625 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4626 (__ASSUME_SOCKETCALL): Likewise.
4627 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4628 (__ASSUME_SOCKETCALL): Likewise.
4629
4630 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4631
4632 [BZ #23509]
4633 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4634 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4635 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4636 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4637 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4638 lc_unknown.
4639
4640 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4641
4642 [BZ #17630]
4643 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4644
4645 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4646
4647 [BZ #23867]
4648 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4649 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4650 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4651 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4652
4653 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4654
4655 * support/support_test_compare_string.c
4656 (support_test_compare_string): Fix printf format.
4657
4658 2018-11-07 Florian Weimer <fweimer@redhat.com>
4659
4660 Implement TEST_COMPARE_STRING.
4661 * support/check.h (TEST_COMPARE_STRING): Define.
4662 (support_test_compare_string): Declare.
4663 * support/Makefile (libsupport-routines): Add
4664 support_test_compare_string.
4665 (tests): Add tst-test_compare_string.
4666 * support/support_test_compare_string.c: New file.
4667 * support/tst-test_compare_string.c: Likewise.
4668
4669 2018-11-07 Andreas Schwab <schwab@suse.de>
4670
4671 [BZ #23864]
4672 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4673 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4674 Undef.
4675
4676 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4677
4678 [BZ #23862]
4679 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4680 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4681 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4682 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4683 Likewise.
4684
4685 2018-11-06 Florian Weimer <fweimer@redhat.com>
4686
4687 [BZ #17405]
4688 * posix/Makefile (routines): Add spawn_faction_addchdir.
4689 (tests): Add tst-spawn-chdir.
4690 * posix/Versions (GLIBC_2.29): Add
4691 posix_spawn_file_actions_addchdir_np.
4692 * posix/spawn_faction_addchdir.c: New file.
4693 * posix/spawn_faction_destroy.c
4694 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4695 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4696 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4697 chdir_action.
4698 * posix/tst-spawn-chdir.c: New file.
4699 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4700 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4701 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4702 posix_spawn_file_actions_addchdir_np.
4703 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4704 Likewise.
4705 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4706 Likewise.
4707 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4708 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4709 Likewise.
4710 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4711 Likewise.
4712 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4713 Likewise.
4714 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4715 Likewise.
4716 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4717 Likewise.
4718 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4719 Likewise.
4720 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4721 (GLIBC_2.29): Likewise.
4722 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4723 (GLIBC_2.29): Likewise.
4724 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4725 (GLIBC_2.29): Likewise.
4726 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4727 (GLIBC_2.29): Likewise.
4728 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4729 Likewise.
4730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4731 (GLIBC_2.29): Likewise.
4732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4733 (GLIBC_2.29): Likewise.
4734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4735 (GLIBC_2.29): Likewise.
4736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4737 (GLIBC_2.29): Likewise.
4738 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4739 Likewise.
4740 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4741 Likewise.
4742 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4743 Likewise.
4744 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4745 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4746 Likewise.
4747 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4748 Likewise.
4749 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4750 Likewise.
4751 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4752 Likewise.
4753
4754 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4755
4756 * misc/Makefile (tests): Add tst-ldbl-error.
4757 * misc/tst-ldbl-error.c: New file.
4758
4759 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4760
4761 * misc/Makefile (tests): Add tst-ldbl-warn.
4762 * misc/tst-ldbl-warn.c: New file.
4763
4764 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4765
4766 * argp/Makefile (tests): Add tst-ldbl-argp.
4767 * argp/tst-ldbl-argp.c: New file.
4768
4769 2018-11-05 Arjun Shankar <arjun@redhat.com>
4770
4771 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4772 __gconv_path_elem and call __gconv_get_path unconditionally.
4773
4774 2018-11-05 Andreas Schwab <schwab@suse.de>
4775
4776 [BZ #22927]
4777 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4778 creating the first helper thread failed.
4779
4780 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4781
4782 * sysdeps/mach/hurd/msync.c: New file.
4783
4784 2018-11-02 Florian Weimer <fweimer@redhat.com>
4785
4786 * support/shell-container.c (copy_func): Call
4787 support_copy_file_range instead of copy_file_range to support
4788 cross-device copies.
4789
4790 2018-11-02 Florian Weimer <fweimer@redhat.com>
4791
4792 * support/test-container.c: Include <libc-pointer-arith.h> for
4793 ALIGN_UP.
4794
4795 2018-11-01 Zong Li <zong@andestech.com>
4796
4797 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4798 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4799 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4800 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4801
4802 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4803 variable to avoid overlap arguments.
4804
4805 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4806
4807 * posix/bug-regex22.c (main): Use puts with distinct error
4808 messages for unexpected success of re_compile_pattern, not printf
4809 with NULL argument to %s.
4810
4811 * stdio-common/bug22.c: Include <libc-diag.h>.
4812 (do_test): Disable -Wformat-overflow= warnings around fprintf
4813 calls outputting more than INT_MAX characters.
4814 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4815 around printf call with NULL %s argument.
4816
4817 [BZ #23848]
4818 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4819 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4820 Undefine.
4821 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4822 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4823 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4824 (__ASSUME_SENDTO_SYSCALL): Likewise.
4825 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4826 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4827 [!__arch64__].
4828 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4829 (__ASSUME_CONNECT_SYSCALL): Likewise.
4830 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4831 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4832 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4833 Define.
4834 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4835 Likewise.
4836 [__LINUX_KERNEL_VERSION >= 0x040400]
4837 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4838 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4839 Remove.
4840 (listen): Likewise.
4841 (setsockopt): Likewise.
4842
4843 2018-11-01 Fredrik Noring <noring@nocrew.org>
4844
4845 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4846 with the ISA override.
4847
4848 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4849
4850 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4851 #endif.
4852
4853 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4854
4855 * manual/errno.texi (EIEIO): Document how translators should
4856 translate the error message.
4857 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4858 printing trailing whitespaces refused by git.
4859 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4860 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4861 * hurd/Makefile (user-interfaces): Add pci.
4862
4863 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4864
4865 * conform/linknamespace.py: New file.
4866 * conform/linknamespace.pl: Remove file.
4867 * conform/Makefile ($(linknamespace-header-tests)): Use
4868 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4869 option.
4870
4871 2018-10-30 Florian Weimer <fweimer@redhat.com>
4872
4873 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4874 memory leaks.
4875
4876 2018-10-30 Florian Weimer <fweimer@redhat.com>
4877
4878 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4879
4880 2018-10-30 Florian Weimer <fweimer@redhat.com>
4881
4882 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4883 support_blob_repeat.
4884
4885 2018-10-30 Florian Weimer <fweimer@redhat.com>
4886
4887 Avoid spurious test failures in stdlib/test-bz22786.
4888 * support/Makefile (libsupport-routines): Add blob_repeat.
4889 (tests): Add tst-support_blob_repeat.
4890 * support/blob_repeat.h: New file.
4891 * support/blob_repeat.c: Likewise.
4892 * support/tst-support_blob_repeat.c: Likewise.
4893 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4894 support_blob_repeat_allocate.
4895
4896 2018-10-30 Andreas Schwab <schwab@suse.de>
4897
4898 [BZ #23125]
4899 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4900 Don't use tail call.
4901 * elf/tst-unwind-main.c: New file.
4902 * elf/Makefile (tests): Add tst-unwind-main.
4903 (CFLAGS-tst-unwind-main.c): Define.
4904
4905 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4906
4907 [BZ #23791]
4908 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4909 n_cs_precedes to 0.
4910 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4911
4912 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4913
4914 * conform/glibcconform.py: Do not import shutil.
4915 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4916 of mkdtemp.
4917
4918 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4919 critic_missing for versions before 3.4.
4920 * configure: Regenerated.
4921 * manual/install.texi (Tools for Compilation): Document
4922 requirement for Python to build glibc.
4923 * INSTALL: Regenerated.
4924 * Rules [PYTHON]: Make code unconditional.
4925 * benchtests/Makefile [PYTHON]: Likewise.
4926 * conform/Makefile [PYTHON]: Likewise.
4927 * manual/Makefile [PYTHON]: Likewise.
4928 * math/Makefile [PYTHON]: Likewise.
4929
4930 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4931
4932 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4933 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4934 answer to interrupt_operation, return EIEIO instead of EINTR.
4935 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4936 _hurd_intr_rpc_msg_about_to global point to start of controlled
4937 assembly snippet. Make it check canceled flag.
4938 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4939 the _hurd_intr_rpc_msg_about_to point.
4940 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4941 issue, remove cancel flag check.
4942
4943 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4944
4945 * scripts/build-many-glibcs.py: Remove compatibility for missing
4946 os.cpu_count and re.fullmatch.
4947
4948 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4949
4950 [BZ #23822]
4951 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4952 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4953 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4954
4955 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4956
4957 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4958 macro.
4959
4960 2018-10-25 Florian Weimer <fweimer@redhat.com>
4961
4962 [BZ #23562]
4963 [BZ #23821]
4964 XFAIL siginfo_t si_band conform test on sparc64.
4965 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4966 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4967 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4968 (conformtest-xfail-conds): Add sparc64-linux.
4969 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4970 sparc64.
4971 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4972
4973 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4974
4975 * elf/elf.h (NT_MIPS_DSP): New macro.
4976 (NT_MIPS_FP_MODE): Likewise.
4977
4978 2018-10-25 Zong Li <zong@andestech.com>
4979
4980 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4981 name by adding the file extension (.so).
4982
4983 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4984
4985 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4986 (test-xfail-ISO11/threads.h/linknamespace,
4987 test-xfail-ISO11/threads.h/conform): Add.
4988
4989 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4990
4991 * math/gen-libm-test.py: Import os.
4992 (ALL_FLOATS_MANUAL): New constant.
4993 (ALL_FLOATS_SUFFIX): Likewise.
4994 (Ulps.all_functions): New function.
4995 (real_all_ulps): Likewise.
4996 (generate_err_table_sub): Likewise.
4997 (generate_err_table): Likewise.
4998 (main): Handle -s and -m options.
4999 * manual/libm-err-tab.pl: Remove.
5000 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5001 instead of libm-err-tab.pl.
5002 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5003 != no].
5004 * manual/install.texi (Tools for Compilation): Document
5005 requirement for Python to build manual.
5006 * INSTALL: Regenerated.
5007
5008 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5009
5010 * bits/time64.h: New file.
5011 * include/time.h: Replace internal_time_t with __time64_t.
5012 * posix/bits/types (__time64_t): Add.
5013 * stdlib/Makefile: Add bits/time64.h to includes.
5014 * time/tzfile.c: Replace internal_time_t with __time64_t.
5015
5016 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5017
5018 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5019 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5020 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5021 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5022 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5023 prototype.
5024 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5025 * posix/spawn_faction_addclose.c
5026 (__posix_spawn_file_actions_addclose): Add hidden definition.
5027 * posix/spawn_faction_adddup2.c
5028 (__posix_spawn_file_actions_adddup2): Likewise.
5029 * posix/spawn_faction_destroy.c
5030 (__posix_spawn_file_actions_destroy): Likewise.
5031 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5032 Likewise.
5033 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5034 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
5035 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
5036 Likewise.
5037 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
5038 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
5039 Likewise.
5040
5041 2018-10-24 Andreas Schwab <schwab@suse.de>
5042
5043 [BZ #18093]
5044 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
5045 format cache.
5046 * elf/cache.c (print_cache): Likewise.
5047
5048 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5049
5050 * bits/timesize.h: New file.
5051 * stdlib/Makefile (headers): Add bits/timesize.h.
5052 * sysdeps/unix/sysv/linux/bits/msq-pad.h
5053 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
5054 * sysdeps/unix/sysv/linux/bits/sem-pad.h
5055 (__SEM_PAD_AFTER_TIME): Likewise.
5056 * sysdeps/unix/sysv/linux/bits/shm-pad.h
5057 (__SHM_PAD_AFTER_TIME): Likewise.
5058 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5059 (__MSQ_PAD_BEFORE_TIME): Likewise.
5060 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5061 (__SEM_PAD_BEFORE_TIME): Likewise.
5062 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5063 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5064 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5065 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5066 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5067 (__MSQ_PAD_BEFORE_TIME): Likewise.
5068 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5069 (__SEM_PAD_BEFORE_TIME): Likewise.
5070 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5071 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5072 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5073 (__MSQ_PAD_BEFORE_TIME): Likewise.
5074 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5075 (__SEM_PAD_BEFORE_TIME): Likewise.
5076 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5077 (__SHM_PAD_BEFORE_TIME): Likewise.
5078 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5079 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5080 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5081
5082 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5083
5084 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5085 USE_RDTSCP is defined.
5086 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5087 USE_RDTSCP is defined.
5088
5089 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5090
5091 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5092 defined.
5093
5094 [BZ #23709]
5095 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5096 independently of other flags.
5097
5098 2018-10-23 Florian Weimer <fweimer@redhat.com>
5099
5100 * time/tst-mktime2.c (N_STRINGS): Remove.
5101 (set_timezone): New function.
5102 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5103 (mktime_test1): Report localtime failure and check errno value.
5104 Use TEST_COMPARE.
5105 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5106 (do_test): Remove alarm call. Use set_timezone and array_length.
5107
5108 2018-10-23 Andreas Schwab <schwab@suse.de>
5109
5110 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5111 (__start_context): Use END instead of PSEUDO_END.
5112
5113 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5114
5115 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5116 version to 4.19.
5117
5118 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5119 version to 4.19.
5120
5121 [BZ #23793]
5122 * wcsmbs/c32rtomb.c: New file.
5123 * wcsmbs/mbrtoc32.c: Likewise.
5124 * wcsmbs/tst-c32-state.c: Likewise.
5125 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5126 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5127 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5128 (tests): Add tst-c32-state.
5129 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5130 $(gen-locales).
5131
5132 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5133
5134 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5135 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5136
5137 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5138
5139 [BZ #23794]
5140 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5141 pair and return 0 in that case, and use saved character to
5142 interpret following character.
5143 * wcsmbs/tst-c16-surrogate.c: New file.
5144 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5145 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5146 Depend on $(gen-locales)
5147
5148 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5149
5150 [BZ #23562]
5151 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5152 (struct siginfo_t): Use correct type for si_band.
5153
5154 2018-10-19 Florian Weimer <fweimer@redhat.com>
5155
5156 [BZ #23689]
5157 * resource/bits/types/struct_rusage.h (struct rusage): Update
5158 comment on struct. Remove extraneous field comment.
5159
5160 2018-10-18 David S. Miller <davem@davemloft.net>
5161
5162 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5163 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5164 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5165 sysdep_routines in subdir elf.
5166 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5167 version for __vdso_clock_gettime.
5168 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5169 Define.
5170 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5171 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5172
5173 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5174
5175 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5176
5177 * sysdeps/i386/init-arch.h: Removed.
5178 * sysdeps/i386/i586/init-arch.h: Likewise.
5179 * sysdeps/i386/i686/init-arch.h: Likewise.
5180 * sysdeps/i386/i686/hp-timing.h: Likewise.
5181 * sysdeps/x86_64/hp-timing.h: Likewise.
5182 * sysdeps/i386/isa.h: New file.
5183 * sysdeps/i386/i586/isa.h: Likewise.
5184 * sysdeps/i386/i686/isa.h: Likewise.
5185 * sysdeps/x86_64/isa.h: Likewise.
5186 * sysdeps/x86/hp-timing.h: New file.
5187 * sysdeps/x86/init-arch.h: Include <isa.h>.
5188
5189 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5190
5191 * math/libm-test-pow.inc (pow_test_data): Do not allow
5192 divide-by-zero exception for pow(+/- 0, -Inf).
5193
5194 2018-10-17 Zack Weinberg <zackw@panix.com>
5195
5196 * manual/job.texi (Job Control is Optional): Remove node, as
5197 job control has not been optional in quite some time.
5198 (Job Control): Mention briefly that systems older than
5199 POSIX.1-2001 might not support job control.
5200 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5201 defined on systems conforming to POSIX.1-2001.
5202
5203 2018-10-17 Arjun Shankar <arjun@redhat.com>
5204
5205 [BZ #22062]
5206 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5207 indentation.
5208 * (__gconv_read_conf): Mark function static.
5209 * (once): New static variable.
5210 * (__gconv_load_conf): New function.
5211 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5212 * iconv/gconv_db.c (once): Remove static variable.
5213 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5214 __gconv_read_conf.
5215 * (__gconv_find_transform): Likewise.
5216 * iconv/tst-iconv-mt.c: New test.
5217 * iconv/Makefile: Add tst-iconv_mt.
5218
5219 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5220
5221 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5222 bits/shm-pad.h.
5223 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5224 (shmatt_t): Define as __syscall_ulong_t.
5225 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5226 and [__SHM_PAD_AFTER_TIME].
5227 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5228 Define shm_segsz and associated padding based on
5229 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5230 Use __syscall_ulong_t instead of unsigned long int.
5231 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5232 unsigned long int.
5233 [__USE_MISC] (struct shm_info): Likewise.
5234 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5235 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5236 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5237 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5238 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5239 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5240 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5241 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5242 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5243 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5244 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5245
5246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5247 bits/shmlba.h.
5248 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5249 (SHMLBA): Remove macro.
5250 (__getpagesize): Remove function declaration.
5251 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5252 <bits/shmlba.h>.
5253 (SHMLBA): Remove macro.
5254 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5255 <bits/shmlba.h>.
5256 (SHMLBA): Remove macro.
5257 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5258 <bits/shmlba.h>.
5259 (SHMLBA): Remove macro.
5260 (__getpagesize): Remove function declaration.
5261 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5262 <bits/shmlba.h>.
5263 (SHMLBA): Remove macro.
5264 (__getshmlba): Remove function declaration.
5265 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5266 (SHMLBA): Remove macro.
5267 (__getpagesize): Remove function declaration.
5268 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5269 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5270 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5271 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5272 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5273 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5274 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5275 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5276 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5277 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5278
5279 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
5280
5281 [BZ #23275]
5282 * nptl/tst-mutex10.c: New File.
5283 * nptl/Makefile (tests): Add tst-mutex10.
5284 (tst-mutex10-ENV): New variable.
5285 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5286 Ensure that elision path is used if elision is available.
5287 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5288 Likewise.
5289 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5290 Likewise.
5291 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5292 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5293 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5294 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5295 Likewise.
5296 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5297 (__pthread_mutex_cond_lock_adjust): Likewise.
5298 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5299 Likewise.
5300 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5301 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5302 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5303 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5304 Add comments.
5305 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5306 Use atomic_load_relaxed and atomic_store_relaxed.
5307 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5308 Use atomic_store_relaxed.
5309
5310 2018-10-17 Andreas Schwab <schwab@suse.de>
5311
5312 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5313 * crypt/badsalttest.c (TIMEOUT): Likewise.
5314 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5315 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5316 * io/test-lfs.c (TIMEOUT): Likewise.
5317 * libio/tst-atime.c (TIMEOUT): Likewise.
5318 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5319 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5320 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5321 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5322 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5323 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5324 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5325 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5326 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5327 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5328 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5329 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5330 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5331 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5332 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5333 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5334 * nptl/tst-once2.c (TIMEOUT): Likewise.
5335 * nptl/tst-once3.c (TIMEOUT): Likewise.
5336 * nptl/tst-once4.c (TIMEOUT): Likewise.
5337 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5338 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5339 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5340 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5341 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5342 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5343 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5344 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5345 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5346 * posix/tst-chmod.c (TIMEOUT): Likewise.
5347 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5348 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5349 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5350 * posix/tst-regex2.c (TIMEOUT): Likewise.
5351 * posix/tst-waitid.c (TIMEOUT): Likewise.
5352 * rt/tst-aio.c (TIMEOUT): Likewise.
5353 * rt/tst-aio10.c (TIMEOUT): Likewise.
5354 * rt/tst-aio4.c (TIMEOUT): Likewise.
5355 * rt/tst-aio5.c (TIMEOUT): Likewise.
5356 * rt/tst-aio6.c (TIMEOUT): Likewise.
5357 * rt/tst-aio64.c (TIMEOUT): Likewise.
5358 * rt/tst-aio7.c (TIMEOUT): Likewise.
5359 * rt/tst-aio9.c (TIMEOUT): Likewise.
5360 * rt/tst-clock.c (TIMEOUT): Likewise.
5361 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5362 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5363 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5364 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5365 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5366 * rt/tst-timer4.c (TIMEOUT): Likewise.
5367 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5368 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5369 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5370 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5371 * time/tst-ftime.c (TIMEOUT): Likewise.
5372 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5373
5374 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5375
5376 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5377 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5378 for thunderX2.
5379
5380 2018-10-15 Joseph Myers <joseph@codesourcery.com>
5381
5382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5383 bits/sem-pad.h.
5384 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5385 instead of <bits/wordsize.h>.
5386 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5387 and [__SEM_PAD_AFTER_TIME].
5388 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5389 __syscall_ulong_t instead of unsigned long int.
5390 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5391 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5392 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5393 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5394 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5395 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5396 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5397 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5398 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5399 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5400 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5401
5402 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5403
5404 regex: simplify by using intprops.h
5405 [BZ#23744]
5406 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5407 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5408 intprops.h defines them.
5409
5410 regex: __builtin_expect → __glibc_unlikely
5411 [BZ#23744]
5412 This refactoring was prompted by a problem when the regex code is
5413 used as part of Gnulib and when the builder’s compiler does not grok
5414 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5415 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5416 Although this refactoring does not fix the problem directly,
5417 we might as well have Gawk use the now-preferred glibc style for when
5418 __builtin_expect is unavailable.
5419 * posix/regex_internal.h (BE): Remove.
5420 All uses replaced by __glibc_unlikely or __glibc_likely.
5421
5422 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5423
5424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5425 bits/msq-pad.h.
5426 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5427 instead of <bits/wordsize.h>.
5428 (msgqnum_t): Define as __syscall_ulong_t.
5429 (msglen_t): Likewise.
5430 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5431 and [__MSQ_PAD_AFTER_TIME].
5432 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5433 __syscall_ulong_t instead of unsigned long int.
5434 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5435 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5436 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5437 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5438 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5439 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5440 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5441 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5442 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5443 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5444 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5445
5446 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5447
5448 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5449 (struct shmid_ds): Condition padding after time fields on
5450 [__WORDSIZE == 32].
5451 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5452 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5453 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5454
5455 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5456 (struct semid_ds): Condition padding after time fields on
5457 [__WORDSIZE == 32].
5458 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5459 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5460 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5461 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5462
5463 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5464 (struct msqid_ds): Condition padding after time fields on
5465 [__WORDSIZE == 32].
5466 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5467 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5468 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5469 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5470
5471 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5472
5473 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5474
5475 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5476
5477 * libio/tst-readline.c (TIMEOUT): Define.
5478
5479 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5480
5481 mktime fix for Gnulib + coreutils
5482 [BZ#23745]
5483 This fix affects only Gnulib. Problem discovered when
5484 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5485 * time/mktime.c:
5486 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5487 Do not define since it is not used. Defining an unused static
5488 function prompts a warning from GCC when Coreutils is configured
5489 with --enable-gcc-warnings.
5490
5491 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5492
5493 * benchtests/scripts/compare_bench.py (main): set float type on
5494 threshold argument.
5495
5496 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5497
5498 [BZ #23740]
5499 * localedata/locales/kl_GL (mon): Update, the relative case.
5500 (alt_mon): Add, fill with month names in the nominative case.
5501 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5502 (d_fmt): Set to "%b %d %Y".
5503
5504 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5505
5506 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5507 <bits/mman-linux.h>.
5508 (PROT_READ): Don't define here.
5509 (PROT_WRITE): Likewise.
5510 (PROT_EXEC): Likewise.
5511 (PROT_NONE): Likewise.
5512 (PROT_GROWSDOWN): Likewise.
5513 (PROT_GROWSUP): Likewise.
5514 (MAP_SHARED): Likewise.
5515 (MAP_PRIVATE): Likewise.
5516 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5517 [__USE_MISC] (MAP_FILE): Likewise.
5518 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5519 [__USE_MISC] (MAP_ANON): Likewise.
5520 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5521 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5522 (MCL_CURRENT): Likewise.
5523 (MCL_FUTURE): Likewise.
5524 (MCL_ONFAULT): Likewise.
5525 [__USE_MISC] (MADV_NORMAL): Likewise.
5526 [__USE_MISC] (MADV_RANDOM): Likewise.
5527 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5528 [__USE_MISC] (MADV_WILLNEED): Likewise.
5529 [__USE_MISC] (MADV_DONTNEED): Likewise.
5530 [__USE_MISC] (MADV_FREE): Likewise.
5531 [__USE_MISC] (MADV_REMOVE): Likewise.
5532 [__USE_MISC] (MADV_DONTFORK): Likewise.
5533 [__USE_MISC] (MADV_DOFORK): Likewise.
5534 [__USE_MISC] (MADV_HWPOISON): Likewise.
5535 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5536 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5537 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5538 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5539 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5540 (__MAP_ANONYMOUS): New macro.
5541 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5542 <bits/mman-linux.h> inclusion.
5543 (MAP_FIXED): Likewise.
5544 (MS_SYNC): Likewise.
5545 (MS_ASYNC): Likewise.
5546 (MS_INVALIDATE): Likewise.
5547 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5548 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5549 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5550 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5551 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5552 [__USE_MISC] (MADV_DODUMP): Likewise.
5553 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5554 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5555
5556 [BZ #23735]
5557 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5558 Define.
5559 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5560 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5561 Add test-nldbl-redirect.
5562 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5563 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5564 $(objpfx)libnldbl_nonshared.a.
5565
5566 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5567
5568 * support/support.h (support_objdir_elf_ldso): New variable.
5569 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5570 * support/Makefile (CFLAGS-support_paths.c): Add definition
5571 for OBJDIR_ELF_LDSO_PATH.
5572 * support/test-container.c (main): Search for the ld.so
5573 which is also used by the testsuite.
5574
5575 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5576
5577 [BZ #20209]
5578 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5579 should be "sap" rather than "sab".
5580 (day): Fix spelling of Sunday, should be "sapaat" rather than
5581 "sabaat".
5582
5583 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5584
5585 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5586
5587 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5588
5589 [BZ #19444]
5590 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5591 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5592 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5593
5594 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5595
5596 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5597
5598 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5599
5600 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5601 Add -mrtm.
5602 (CFLAGS-elision-unlock.c): Likewise.
5603 (CFLAGS-elision-timed.c): Likewise.
5604 (CFLAGS-elision-trylock.c): Likewise.
5605 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5606
5607 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5608
5609 [BZ #21037]
5610 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5611 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5612 new fd_to_filename interface.
5613 * libio/freopen64.c (freopen64): Likewise.
5614 * libio/tst-memstream.h: New file.
5615 * libio/tst-memstream4.c: Likewise.
5616 * libio/tst-wmemstream4.c: Likewise.
5617 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5618 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5619 and remove internal dynamic allocation.
5620
5621 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5622
5623 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5624 (MREMAP_MAYMOVE): Do not define here.
5625 [__USE_GNU] (MREMAP_FIXED): Likewise.
5626 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5627 (MREMAP_MAYMOVE): Define here instead.
5628 [__USE_GNU] (MREMAP_FIXED): Likewise.
5629 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5630 (MREMAP_MAYMOVE): Remove.
5631 [__USE_GNU] (MREMAP_FIXED): Likewise.
5632
5633 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5634
5635 * math/fromfp.h: Do not include <math_private.h>.
5636 * math/s_cacosh_template.c: Likewise.
5637 * math/s_casin_template.c: Likewise.
5638 * math/s_casinh_template.c: Likewise.
5639 * math/s_ccos_template.c: Likewise.
5640 * math/s_cproj_template.c: Likewise.
5641 * math/s_fdim_template.c: Likewise.
5642 * math/s_fmaxmag_template.c: Likewise.
5643 * math/s_fminmag_template.c: Likewise.
5644 * math/s_iseqsig_template.c: Likewise.
5645 * math/s_ldexp_template.c: Likewise.
5646 * math/s_nextdown_template.c: Likewise.
5647 * math/w_log1p_template.c: Likewise.
5648 * math/w_scalbln_template.c: Likewise.
5649 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5650 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5651 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5652 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5653 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5654 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5655 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5656 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5657 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5658 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5659 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5660 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5661 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5662 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5663 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5664 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5665 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5666 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5667 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5668 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5669 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5670 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5671 * sysdeps/ieee754/k_standardf.c: Likewise.
5672 * sysdeps/ieee754/k_standardl.c: Likewise.
5673 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5674 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5675 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5676 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5677 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5678 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5679 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5680 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5681 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5682 * sysdeps/ieee754/s_signgam.c: Likewise.
5683 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5684 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5685 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5686 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5687 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5688 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5689 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5690 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5691 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5692 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5693 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5694 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5695 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5696 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5697 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5698 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5699 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5700 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5701 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5702 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5703 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5704 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5705 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5706 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5707 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5708 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5709 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5710 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5711 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5712 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5713 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5714 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5715 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5716 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5717 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5718 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5719 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5720 <math_private.h>.
5721 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5722
5723 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5724
5725 [BZ #23716]
5726 * sysdeps/i386/dl-cet.c: Removed.
5727 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5728 prototype.
5729 (_dl_runtime_profile_shstk): Likewise.
5730 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5731 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5732
5733 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5734
5735 [BZ #23579]
5736 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5737 do_test_with_invalid_iov): New tests.
5738 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5739 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5740 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5741 errno is ENOSYS.
5742 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5743 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5744 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5745
5746 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5747
5748 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5749 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5750 (MATH_REDIRECT_BINARY_ARGS): New macro.
5751 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5752 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5753 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5754 header inclusion.
5755 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5756 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5757 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5758 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5759 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5760 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5761 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5763 Likewise.
5764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5765 Likewise.
5766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5768 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5769 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5771 Likewise.
5772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5773 Likewise.
5774 * sysdeps/generic/math_private_calls.h
5775 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5776 Do not declare and define as an inline function.
5777 * math/divtc3.c (__divtc3): Use copysign functions instead of
5778 __copysign variants.
5779 * math/multc3.c (__multc3): Likewise.
5780 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5781 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5782 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5783 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5784 Likewise.
5785 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5786 (__ieee754_yn): Likewise.
5787 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5788 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5789 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5790 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5791 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5792 (__sin): Likewise.
5793 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5794 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5795 Likewise.
5796 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5797 Likewise.
5798 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5799 Likewise.
5800 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5801 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5802 Likewise.
5803 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5804 (__ieee754_ynf): Likewise.
5805 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5806 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5807 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5808 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5809 Likewise.
5810 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5811 (__ieee754_ynl): Likewise.
5812 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5813 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5814 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5815 Likewise.
5816 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5817 (__ieee754_ynl): Likewise.
5818 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5819 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5820 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5821 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5822 Likewise.
5823 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5824 (__ieee754_ynl)
5825 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5826 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5827 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5828 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5829 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5830
5831 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5832 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5833 using MATH_REDIRECT.
5834 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5835 header inclusion.
5836 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5837 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5838 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5839 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5840 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5841 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5842 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5847 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5848 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5849 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5850 (round): Redirect to __round.
5851 (__roundl): Call round instead of __round.
5852 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5853 Remove macro.
5854 [_ARCH_PWR5X] (__roundf): Likewise.
5855 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5856 functions instead of __round variants.
5857 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5858 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5859 Likewise.
5860 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5861 Likewise.
5862 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5863 Likewise.
5864 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5865 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5866 __lroundl.
5867 (__ieee754_expl): Call roundl instead of __roundl.
5868
5869 2018-09-27 Andreas Schwab <schwab@suse.de>
5870
5871 [BZ #23717]
5872 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5873 (do_test): Make st1 static.
5874
5875 2018-09-26 Andreas Schwab <schwab@suse.de>
5876
5877 [BZ #23707]
5878 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5879 * elf/Makefile (tests): Add tst-unwind-ctor.
5880 (modules-names): Add tst-unwind-ctor-lib.
5881 ($(objpfx)tst-unwind-ctor): Depend on
5882 $(objpfx)tst-unwind-ctor-lib.so.
5883
5884 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5885
5886 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5887 file. Most contents moved from ....
5888 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5889 and include <bits/mman-map-flags-generic.h>.
5890 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5891 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5892 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5893 <bits/mman-map-flags-generic.h>.
5894 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5895 macros defined in <bits/mman-map-flags-generic.h>.
5896 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5897 <bits/mman-map-flags-generic.h>.
5898 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5899 defined in <bits/mman-map-flags-generic.h>.
5900
5901 2018-09-26 Andreas Schwab <schwab@suse.de>
5902
5903 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5904 output.
5905
5906 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5907 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5908 Fangrui Song <maskray@google.com>
5909
5910 [BZ #20480]
5911 * config.make.in (have-textrel_ifunc): New define.
5912 * configure.ac: Add check if linker supports textrel relocation with
5913 ifunc.
5914 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5915 tst-ifunc-textrel.
5916 (CFLAGS-tst-ifunc-textrel.c): New rule.
5917 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5918 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5919 * elf/tst-ifunc-textrel.c: New file.
5920
5921 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5922
5923 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5924 <bits/procfs-prregset.h>.
5925 (prgregset_t): Define using __prgregset_t.
5926 (prfpregset_t): Define using __prfpregset_t.
5927 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5928 (sysdep_headers): Add bits/procfs-prregset.h.
5929 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5930 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5931 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5932 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5933
5934 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5935 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5936 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5937 pr_uid and pr_gid.
5938 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5939 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5940 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5941 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5942 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5943 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5944 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5945 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5946 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5947 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5948 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5949 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5950 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5951 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5952 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5953 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5954 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5955 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5956 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5957 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5958 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5959 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5960 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5961 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5962
5963 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5964 AArch64 version. Include <bits/procfs.h>.
5965 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5966 (sysdep_headers): Add bits/procfs.h.
5967 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5968 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5969 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5970 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5971 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5972 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5973 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5974 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5975 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5976 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5977 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5978 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5979 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5980 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5981 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5982 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5983 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5984
5985 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5986
5987 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5988 Use libsupport.
5989
5990 2018-09-25 Arjun Shankar <arjun@redhat.com>
5991
5992 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5993 (__gconv_max_path_elem_len): Likewise.
5994 (__gconv_nmodules): Likewise.
5995 (__gconv_get_path): Likewise.
5996 (path_elem): Move to ...
5997 * iconv/gconv_conf.c: ... here.
5998 (__gconv_get_path): Mark function static.
5999 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6000 * iconv/gconv_open.c: ... here.
6001
6002 2018-09-24 Andreas Schwab <schwab@suse.de>
6003
6004 * scripts/haveversions.awk: New file.
6005 * Makerules ($(common-objpfx)Versions.def)
6006 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6007 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6008 Move rules ...
6009 * Makeconfig ($(common-objpfx)Versions.def)
6010 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6011 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6012 ... here.
6013 ($(common-objpfx)Versions.mk): New rule. Include it.
6014 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6015 Emit error if build-obsolete-nsl = yes.
6016 * manual/install.texi (Configuring and compiling): Describe
6017 --enable-obsolete-nsl as unavaiable after version 2.28.
6018 * INSTALL: Regenerate.
6019
6020 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6021
6022 * NEWS: Add note about new TLE support on powerpc64le.
6023 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6024 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6025 __ununsed1.
6026 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6027 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6028 * sysdeps/powerpc/powerpc32/sysdep.h,
6029 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6030 ABORT_TRANSACTION): Remove macros.
6031 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6032 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6033 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
6035 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6036 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
6037 usage.
6038 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
6039
6040 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
6041
6042 [BZ #10425]
6043 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
6044 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
6045 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
6046 which is the same as in it_IT.
6047 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
6048 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
6049
6050 2018-09-20 Joseph Myers <joseph@codesourcery.com>
6051
6052 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6053 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
6054 using MATH_REDIRECT.
6055 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
6056 header inclusion.
6057 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6058 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6059 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6060 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6061 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6062 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6067 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6068 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6069 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6070 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6071 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6072 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6073 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6074 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6075 (ceil): Redirect to __ceil.
6076 (floor): Redirect to __floor.
6077 (trunc): Redirect to __trunc.
6078 (__truncl): Call trunc instead of __trunc.
6079 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6080 Remove macro.
6081 [_ARCH_PWR5X] (__truncf): Likewise.
6082 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6083 trunc functions instead of __trunc variants.
6084 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6085 Likewise.
6086 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6087 Likewise.
6088 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6089 Likewise.
6090 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6091 Likewise.
6092
6093 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6094 [__i586__ || __pentium__].
6095 [__i486__]: Handle explicitly.
6096 (HAS_CPUID): Define to 1 if above macros are undefined.
6097 (HAS_I586): Likewise.
6098 (HAS_I686): Likewise.
6099
6100 2018-09-20 Florian Weimer <fweimer@redhat.com>
6101
6102 * misc/tst-gethostid.c: New file.
6103 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6104 (tst-gethostid): Link with -ldl.
6105
6106 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6107
6108 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6109 value from gethostbyname_r.
6110
6111 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6112
6113 * stdlib/tst-setcontext9.c (f1): Rename to...
6114 (f1a): ... this.
6115 (f1b): New function implementing lower half of f1 in alternate stack.
6116
6117 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6118
6119 Fix mktime localtime offset confusion
6120 [BZ #23603]
6121 * include/time.h (__mktime_internal): The localtime offset is now
6122 of type long int instead of time_t. This is the longstanding type
6123 in glibc, and it is more than enough to represent difference
6124 between localtime and gmtime even if it is 32 bits and time_t is
6125 64. Changing it now will let us avoid an unnecessary change when
6126 time_t is widened to 64 bits on 32-bit platforms.
6127 * time/mktime-internal.h (mktime_offset_t): Now long int.
6128
6129 Merge mktime, timegm from upstream Gnulib
6130 [BZ #23603][BZ #16346]
6131 This fixes some obscure problems with integer overflow.
6132 Although it looks scary, it is almost all a byte-for-byte copy
6133 from Gnulib, and the Gnulib code has been tested reasonably well.
6134 * include/intprops.h: New file, copied from Gnulib.
6135 * include/verify.h, time/mktime-internal.h:
6136 New tiny files, simplified from Gnulib.
6137 * time/mktime.c: Copy from Gnulib. This has the following changes:
6138 Do not include config.h if DEBUG_MKTIME is nonzero.
6139 Include stdbool.h, intprops.h, verify.h.
6140 Include string.h only if needed.
6141 Include stdlib.h on MS-Windows.
6142 Include mktime-internal.h.
6143 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6144 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6145 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6146 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6147 simplify later conditionals; default the others to zero. Use
6148 these conditionals to express only the code needed on the current
6149 platform. In uses of these conditionals, explicitly spell out how
6150 _LIBC affects things, so it’s easier to review from a glibc
6151 viewpoint.
6152 (WRAPV): Remove; no longer needed now that we have
6153 systematic overflow checking.
6154 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6155 compartmentalize tzset issues. Move system-dependent tzsettish
6156 code here from mktime.
6157 (verify): Remove; now done by verify.h. All uses changed.
6158 (long_int): Use a more-conservative definition, to avoid
6159 integer overflow.
6160 (SHR): Remove, replacing with ...
6161 (shr): New function, which means we needn’t worry about side
6162 effects in args, and conversion analysis is simpler.
6163 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6164 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6165 (time_t_avg, time_t_add_ok): Remove.
6166 (mktime_min, mktime_max): New constants.
6167 (leapyear, isdst_differ): Use bool for booleans.
6168 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6169 Use long_int, not time_t, for mktime differences.
6170 (long_int_avg): New function, replacing time_t_avg.
6171 INT_ADD_WRAPV replaces time_t_add_ok.
6172 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6173 All uses changed.
6174 (convert_time): New function.
6175 (ranged_convert): Use it.
6176 (__mktime_internal): Last arg now points to mktime_offset_t, not
6177 time_t. All uses changed. This is a no-op on glibc, where
6178 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6179 offset guess. Directly check for integer overflow instead of
6180 using a heuristic that works only 99.9...% of the time.
6181 Access *OFFSET only once, to avoid an unlikely race if the
6182 compiler delays a load and if this cascades into a signed integer
6183 overflow.
6184 (mktime): Move tzsettish code to my_tzset, and move
6185 localtime_offset to within mktime so that it doesn’t
6186 need a separate ifdef.
6187 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6188 instead of localtime.
6189 * time/timegm.c: Copy from Gnulib. This has the following changes:
6190 Include mktime-internal.h.
6191 [!_LIBC]: Include config.h and time.h. Do not include
6192 timegm.h or time_r.h. Make __mktime_internal a macro,
6193 and include mktime-internal.h to get its declaration.
6194 (timegm): Temporary is now mktime_offset_t, not time_t.
6195 This affects only Gnulib.
6196
6197 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6198
6199 [BZ #23637]
6200 * string/test-strstr.c (pr23637): New function.
6201 (test_main): Add tests with longer needles.
6202 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6203 * string/strstr.c (AVAILABLE): Likewise.
6204
6205 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6206
6207 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6208
6209 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6210
6211 * NEWS: Mention pow improvements.
6212 * math/Makefile (type-double-routines): Add e_pow_log_data.
6213 * sysdeps/generic/math_private.h (__exp1): Remove.
6214 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6215 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6216 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6217 contraction.
6218 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6219 (exp_inline): Remove.
6220 (__ieee754_exp): Only single double input is handled.
6221 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6222 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6223 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6224 (__pow_log_data): Define.
6225 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6226 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6227 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6228 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6229 contraction.
6230 (CFLAGS-e_pow-fma4.c): Likewise.
6231
6232 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6233
6234 Simplify tzfile fstat failure code
6235 [BZ #21716]
6236 * time/tzfile.c (__tzfile_read): Simplify slightly.
6237
6238 Fix tzfile low-memory assertion failure
6239 [BZ #21716]
6240 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6241 when registering time zone abbreviations.
6242
6243 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6244
6245 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6246 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6247 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6248 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6249 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6250 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6251 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6252 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6253 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6254
6255 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6256 __ceil.
6257 (__ceill): Call ceil instead of __ceil.
6258 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6259 __floor.
6260 (__floorl): Call floor instead of __floor.
6261
6262 2018-09-17 Joseph Myers <joseph@codesourcery.com>
6263
6264 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6265 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6266 using MATH_REDIRECT.
6267 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6268 header inclusion.
6269 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6270 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6271 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6272 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6273 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6274 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6275 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6276 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6281 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6282 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6285 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6286 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6287 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6288 Remove macro.
6289 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6290 functions instead of __ceil variants.
6291 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6292 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6293 Likewise.
6294 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6295 Likewise.
6296 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6297 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6298 Likewise.
6299 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6300 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6301
6302 [BZ #21286]
6303 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6304 constant.
6305 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6306 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6307 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6308 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6309 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6310 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6311 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6312 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6313 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6314 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6315 (ILL_BADIADDR): Remove constant.
6316 (TRAP_BRANCH): Likewise.
6317 (TRAP_HWBKPT): Likewise.
6318
6319 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6320
6321 [BZ #23656]
6322 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6323 Remove [_MIPS_SIM = _ABIN32] conditional case.
6324 (struct elf_prpsinfo): Likewise.
6325
6326 [BZ #23649]
6327 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6328 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6329 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6330 Likewise.
6331 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6332 elf_prpsinfo): Likewise.
6333 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6334 elf_prpsinfo): Likewise.
6335 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6336 Likewise.
6337
6338 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6339 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6340 using MATH_REDIRECT.
6341 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6342 header inclusion.
6343 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6344 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6345 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6346 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6347 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6348 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6349 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6350 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6353 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6354 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6355 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6356 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6357 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6358 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6359 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6360 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6361 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6364 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6365 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6366 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6367 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6368 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6369 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6370 __rint variants.
6371 * math/e_scalbf.c (invalid_fn): Likewise.
6372 * math/e_scalbl.c (invalid_fn): Likewise.
6373 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6374 Likewise.
6375 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6376 Likewise.
6377 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6378 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6379 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6380 Likewise.
6381 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6382 Likewise.
6383 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6384 Likewise.
6385 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6386 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6387
6388 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6389 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6390 New macro.
6391 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6392 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6393 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6394 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6395 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6396 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6397 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6398 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6399 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6400 && !NO_MATH_REDIRECT] (floor): Likewise.
6401 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6402 header inclusion.
6403 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6404 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6405 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6406 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6407 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6408 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6409 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6410 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6415 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6416 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6419 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6420 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6421 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6422 Remove macro.
6423 [_ARCH_PWR5X] (__floorf): Likewise.
6424 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6425 inline function.
6426 [__SSE4_1__] (__floorf): Likewise.
6427 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6428 instead of __floor variants.
6429 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6430 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6431 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6432 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6433 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6434 * math/w_tgamma_compat.c (__tgamma): Likewise.
6435 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6436 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6437 * math/w_tgammal_compat.c (__tgammal): Likewise.
6438 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6439 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6440 Likewise.
6441 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6442 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6443 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6444 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6445 Likewise.
6446 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6447 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6448 Likewise.
6449 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6450 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6451 Likewise.
6452 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6453 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6454 Likewise.
6455 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6456 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6457 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6458 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6459 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6460 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6461
6462 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6463
6464 * elf/Makefile (modules-names-tests): New variable.
6465
6466 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6467
6468 * NEWS: Mention log2 improvements.
6469 * math/Makefile (type-double-routines): Add e_log2_data.
6470 * sysdeps/i386/fpu/e_log2_data.c: New file.
6471 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6472 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6473 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6474 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6475 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6476 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6477
6478 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6479
6480 * NEWS: Mention log improvement.
6481 * math/Makefile (type-double-routines): Add e_log_data.
6482 * sysdeps/i386/fpu/e_log_data.c: New file.
6483 * sysdeps/ia64/fpu/e_log_data.c: New file.
6484 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6485 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6486 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6487 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6488 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6489 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6490
6491 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6492 Xuepeng Guo <xuepeng.guo@intel.com>
6493
6494 [BZ #23606]
6495 * sysdeps/i386/start.S: Include <sysdep.h>
6496 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6497 enabled. Add cfi_undefined (eip).
6498
6499 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6500
6501 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6502 (MOVQ): Likewise.
6503 (EXTRACT_WORDS64): Likewise.
6504 (INSERT_WORDS64): Likewise.
6505 (GET_FLOAT_WORD): Likewise.
6506 (SET_FLOAT_WORD): Likewise.
6507
6508 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6509 argument.
6510 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6511 build, but not for second build if --full-gcc. Use
6512 --enable-languages=all for second build if --full-gcc.
6513 (get_parser): Add --full-gcc option.
6514 (main): Update call to Context.
6515
6516 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6517
6518 [BZ #10797]
6519 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6520 Single Quotation Mark).
6521 (thousands_sep): Likewise.
6522 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6523 * localedata/locales/it_IT (thousands_sep): Use ".".
6524 (grouping): Use "3;3".
6525
6526 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6527
6528 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6529 x86_64 and i686 configs using --enable-obsolete-rpc
6530 --enable-obsolete-nsl.
6531
6532 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6533
6534 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6535
6536 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6537
6538 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6539 Increment size of new_argv by one.
6540
6541 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6542
6543 [BZ #17426]
6544 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6545 * localedata/locales/ar_IN (d_fmt): Likewise.
6546 * localedata/locales/bhb_IN (d_fmt): Likewise.
6547 * localedata/locales/bho_IN (d_fmt): Likewise.
6548 * localedata/locales/bn_BD (d_fmt): Likewise.
6549 * localedata/locales/bn_IN (d_fmt): Likewise.
6550 * localedata/locales/doi_IN (d_fmt): Likewise.
6551 * localedata/locales/gu_IN (d_fmt): Likewise.
6552 * localedata/locales/hi_IN (d_fmt): Likewise.
6553 * localedata/locales/hne_IN (d_fmt): Likewise.
6554 * localedata/locales/kn_IN (d_fmt): Likewise.
6555 * localedata/locales/mag_IN (d_fmt): Likewise.
6556 * localedata/locales/mai_IN (d_fmt): Likewise.
6557 * localedata/locales/mjw_IN (d_fmt): Likewise.
6558 * localedata/locales/ml_IN (d_fmt): Likewise.
6559 * localedata/locales/mni_IN (d_fmt): Likewise.
6560 * localedata/locales/mr_IN (d_fmt): Likewise.
6561 * localedata/locales/pa_IN (d_fmt): Likewise.
6562 * localedata/locales/raj_IN (d_fmt): Likewise.
6563 * localedata/locales/sat_IN (d_fmt): Likewise.
6564 * localedata/locales/sd_IN (d_fmt): Likewise.
6565 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6566 * localedata/locales/ta_IN (d_fmt): Likewise.
6567 * localedata/locales/ta_LK (d_fmt): Likewise.
6568 * localedata/locales/tcy_IN (d_fmt): Likewise.
6569 * localedata/locales/ur_IN (d_fmt): Likewise.
6570
6571 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6572 * localedata/locales/ks_IN (d_fmt): Likewise.
6573 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6574
6575 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6576 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6577 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6578 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6579
6580 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6581
6582 * NEWS: Mention exp and exp2 improvements.
6583 * math/Makefile (libm-support): Remove t_exp.
6584 (type-double-routines): Add math_err and e_exp_data.
6585 * sysdeps/aarch64/libm-test-ulps: Update.
6586 * sysdeps/arm/libm-test-ulps: Update.
6587 * sysdeps/i386/fpu/e_exp_data.c: New file.
6588 * sysdeps/i386/fpu/math_err.c: New file.
6589 * sysdeps/i386/fpu/t_exp.c: Remove.
6590 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6591 * sysdeps/ia64/fpu/math_err.c: New file.
6592 * sysdeps/ia64/fpu/t_exp.c: Remove.
6593 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6594 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6595 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6596 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6597 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6598 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6599 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6600 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6601 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6602 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6603 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6604 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6605 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6606 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6609
6610 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6611
6612 * sysdeps/alpha/fpu/math_private.h: Remove.
6613
6614 * sysdeps/generic/math_private.h
6615 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6616 Move this inline function ....
6617 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6618 * include/math.h [!_ISOMAC]: To here....
6619
6620 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6621
6622 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6623 code ....
6624 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6625 * include/fenv.h [!_ISOMAC]: ... to here.
6626 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6627 (feraiseexcept): Likewise.
6628 * math/fromfp.h: Do not include <fenv_private.h>.
6629 * math/s_cexp_template.c: Likewise.
6630 * math/s_csin_template.c: Likewise.
6631 * math/s_csinh_template.c: Likewise.
6632 * math/s_ctan_template.c: Likewise.
6633 * math/s_ctanh_template.c: Likewise.
6634 * math/s_iseqsig_template.c: Likewise.
6635 * math/w_acos_compat.c: Likewise.
6636 * math/w_acosf_compat.c: Likewise.
6637 * math/w_acosl_compat.c: Likewise.
6638 * math/w_asin_compat.c: Likewise.
6639 * math/w_asinf_compat.c: Likewise.
6640 * math/w_asinl_compat.c: Likewise.
6641 * math/w_j0_compat.c: Likewise.
6642 * math/w_j0f_compat.c: Likewise.
6643 * math/w_j0l_compat.c: Likewise.
6644 * math/w_j1_compat.c: Likewise.
6645 * math/w_j1f_compat.c: Likewise.
6646 * math/w_j1l_compat.c: Likewise.
6647 * math/w_jn_compat.c: Likewise.
6648 * math/w_jnf_compat.c: Likewise.
6649 * math/w_log10_compat.c: Likewise.
6650 * math/w_log10f_compat.c: Likewise.
6651 * math/w_log10l_compat.c: Likewise.
6652 * math/w_log2_compat.c: Likewise.
6653 * math/w_log2f_compat.c: Likewise.
6654 * math/w_log2l_compat.c: Likewise.
6655 * math/w_log_compat.c: Likewise.
6656 * math/w_logf_compat.c: Likewise.
6657 * math/w_logl_compat.c: Likewise.
6658 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6659 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6660 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6661 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6662 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6663 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6664 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6665 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6666 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6667 * sysdeps/ieee754/k_standardl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6680 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6681 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6685 * math/w_ilogb_template.c: Include <fenv.h> instead of
6686 <fenv_private.h>.
6687 * math/w_llogb_template.c: Likewise.
6688 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6689 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6690
6691 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6692
6693 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6694 * math/fromfp.h: Include <fenv_private.h>.
6695 * math/math-narrow.h: Likewise.
6696 * math/s_cexp_template.c: Likewise.
6697 * math/s_csin_template.c: Likewise.
6698 * math/s_csinh_template.c: Likewise.
6699 * math/s_ctan_template.c: Likewise.
6700 * math/s_ctanh_template.c: Likewise.
6701 * math/s_iseqsig_template.c: Likewise.
6702 * math/w_acos_compat.c: Likewise.
6703 * math/w_acosf_compat.c: Likewise.
6704 * math/w_acosl_compat.c: Likewise.
6705 * math/w_asin_compat.c: Likewise.
6706 * math/w_asinf_compat.c: Likewise.
6707 * math/w_asinl_compat.c: Likewise.
6708 * math/w_ilogb_template.c: Likewise.
6709 * math/w_j0_compat.c: Likewise.
6710 * math/w_j0f_compat.c: Likewise.
6711 * math/w_j0l_compat.c: Likewise.
6712 * math/w_j1_compat.c: Likewise.
6713 * math/w_j1f_compat.c: Likewise.
6714 * math/w_j1l_compat.c: Likewise.
6715 * math/w_jn_compat.c: Likewise.
6716 * math/w_jnf_compat.c: Likewise.
6717 * math/w_llogb_template.c: Likewise.
6718 * math/w_log10_compat.c: Likewise.
6719 * math/w_log10f_compat.c: Likewise.
6720 * math/w_log10l_compat.c: Likewise.
6721 * math/w_log2_compat.c: Likewise.
6722 * math/w_log2f_compat.c: Likewise.
6723 * math/w_log2l_compat.c: Likewise.
6724 * math/w_log_compat.c: Likewise.
6725 * math/w_logf_compat.c: Likewise.
6726 * math/w_logl_compat.c: Likewise.
6727 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6728 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6729 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6730 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6731 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6732 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6733 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6734 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6735 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6736 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6737 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6738 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6739 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6740 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6741 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6742 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6743 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6744 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6745 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6746 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6747 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6748 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6749 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6750 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6751 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6752 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6753 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6754 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6755 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6756 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6757 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6758 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6759 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6760 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6761 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6762 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6763 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6764 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6765 * sysdeps/ieee754/k_standardl.c: Likewise.
6766 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6767 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6768 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6769 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6770 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6772 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6773 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6774 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6775 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6776 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6779 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6781 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6782 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6786 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6791 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6792 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6793 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6794 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6796 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6797 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6798 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6800 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6802 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6803 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6804 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6805 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6806 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6807 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6808 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6809 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6810 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6811 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6812 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6813 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6814 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6815 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6816 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6817 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6818 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6819 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6820 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6821 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6822 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6823 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6824 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6825 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6826 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6827 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6828 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6829 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6830 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6831 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6832 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6833 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6834 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6835 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6836 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6837
6838 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6839
6840 [BZ #20271]
6841 * include/stdio.h (__libc_fatal): Mention newline in comment.
6842 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6843 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6844 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6845 * nss/nsswitch.c (__nss_next2): Likewise.
6846 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6847 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6848 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6849 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6850 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6851 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6852 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6853 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6854 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6855 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6856 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6857 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6858 (__netlink_assert_response): Likewise.
6859
6860 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6861
6862 * conform/glibcconform.py: New file.
6863 * conform/list-header-symbols.py: Likewise.
6864 * conform/list-header-symbols.pl: Remove.
6865 * conform/Makefile (tests-special): Only add linknamespace tests
6866 if [PYTHON].
6867 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6868
6869 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6870
6871 [BZ #23597]
6872 * support/Makefile (libsupport-routines): Add
6873 support_copy_file_range and xcopy_file_range.
6874 * support/support.h: Include <sys/types.h>.
6875 (support_copy_file_range): New prototype.
6876 * support/support_copy_file_range.c: New file. Copied and
6877 modified from io/copy_file_range-compat.c.
6878 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6879 instead of copy_file_range.
6880 * support/xcopy_file_range.c: New file.
6881 * support/xunistd.h (xcopy_file_range): New prototype.
6882
6883 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6884
6885 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6886 xpthread_create and xpthread_join.
6887
6888 2018-08-30 Florian Weimer <fweimer@redhat.com>
6889
6890 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6891
6892 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6893
6894 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6895 if malloc fails.
6896
6897 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6898
6899 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6900 and minus_oflow as non-finite.
6901
6902 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6903
6904 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6905 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6906 moved to fenv_private.h except for ...
6907 (TOINT_INTRINSICS): Kept in math_private.h.
6908 (roundtoint): Likewise.
6909 (converttoint): Likewise.
6910 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6911 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6912 * sysdeps/arm/math_private.h: Remove.
6913 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6914 ....
6915 * sysdeps/generic/math_private.h: ... this file. Include
6916 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6917 Include <fenv_private.h>. Remove functions and macros moved to
6918 fenv_private.h.
6919 * sysdeps/i386/fpu/math_private.h: Remove.
6920 * sysdeps/mips/math_private.h: Move to ....
6921 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6922 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6923 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6924 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6925 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6926 * sysdeps/powerpc/fpu/math_private.h: Do not include
6927 <fenv_private.h>.
6928 * sysdeps/riscv/rvf/math_private.h: Move to ....
6929 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6930 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6931 <fenv_private.h>.
6932 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6933 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6934 * sysdeps/sparc/fpu/math_private.h: Remove.
6935 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6936 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6937 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6938 <fenv_private.h>.
6939 * sysdeps/x86_64/fpu/math_private.h: Do not include
6940 <sysdeps/i386/fpu/fenv_private.h>.
6941
6942 2018-08-28 Florian Weimer <fweimer@redhat.com>
6943
6944 [BZ #23578]
6945 * posix/tst-regcomp-truncated.c: New file.
6946 * posix/Makefile (tests): Add it.
6947 (tst-regcomp-truncated.out): Depend on generated locales.
6948
6949 2018-08-28 Florian Weimer <fweimer@redhat.com>
6950
6951 * support/test-container.c (main): Treat unshare failure with
6952 EPERM as an unsupported test.
6953
6954 2018-08-28 Florian Weimer <fweimer@redhat.com>
6955
6956 [BZ #23520]
6957 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6958 * nscd/netgroupcache.c
6959 (addgetnetgrentX): Add tofreep parameter. Do not free
6960 heap-allocated buffer.
6961 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6962 (addgetnetgrentX_ignore): New function.
6963 (addgetnetgrent): Call it.
6964 (readdgetnetgrent): Likewise.
6965
6966 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6967
6968 * string/memmem.c: Use memcmp for first match.
6969
6970 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6971
6972 [BZ #17426]
6973 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6974
6975 2018-08-27 DJ Delorie <dj@redhat.com>
6976
6977 * support/Makefile (others): Don't list programs explicitly as a
6978 dependency of "others".
6979
6980 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6981
6982 * sysdeps/generic/math-tests-trap-force.h: New file.
6983 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6984 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6985 * sysdeps/powerpc/math-tests.h: Remove file.
6986 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6987
6988 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6989 Torvald Riegel <triegel@redhat.com>
6990
6991 [BZ #23538]
6992 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6993 Update r to include the set wake-request flag if waiters are
6994 remaining after spinning.
6995
6996 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6997
6998 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6999
7000 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7001
7002 [BZ #23578]
7003 regex: fix uninitialized memory access
7004 I introduced this bug into gnulib in commit
7005 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7006 eventually it was merged into glibc. The bug was found by
7007 project-repo <bugs@feusi.co> and reported here:
7008 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7009 Diagnosis and draft fix reported by Assaf Gordon here:
7010 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7011 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7012 * posix/regex_internal.c (build_wcs_upper_buffer):
7013 Fix bug when mbrtowc returns 0.
7014
7015 2018-08-24 Carlos O'Donell <carlos@redhat.com>
7016
7017 * po/be.po: Update translation.
7018
7019 2018-08-24 DJ Delorie <dj@delorie.com>
7020
7021 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7022 $(libunwind).
7023
7024 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7025
7026 [BZ #23400]
7027 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7028 create temporary files in source tree.
7029
7030 2018-08-24 Joseph Myers <joseph@codesourcery.com>
7031
7032 * sysdeps/generic/math-tests-trap.h: New file.
7033 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7034 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
7035 * sysdeps/aarch64/math-tests.h: Remove file.
7036 * sysdeps/arm/math-tests.h: Likewise.
7037 * sysdeps/riscv/math-tests.h: Likewise.
7038 * sysdeps/aarch64/math-tests-trap.h: New file.
7039 * sysdeps/arm/math-tests-trap.h: Likewise.
7040 * sysdeps/riscv/math-tests-trap.h: Likewise.
7041
7042 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7043
7044 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
7045 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
7046 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
7047 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
7048 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
7049 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
7050 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7051 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
7052 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
7053 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7054 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7055 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7056 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7057 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7058 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7059 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7060 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7061 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7062
7063 2018-08-23 Joseph Myers <joseph@codesourcery.com>
7064
7065 * sysdeps/generic/math-tests-exceptions.h: New file.
7066 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7067 (EXCEPTION_TESTS_float): Do not define here.
7068 (EXCEPTION_TESTS_double): Likewise.
7069 (EXCEPTION_TESTS_long_double): Likewise.
7070 (EXCEPTION_TESTS_float128): Likewise.
7071 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7072 Likewise.
7073 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7074 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7075 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7076 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7077 * sysdeps/mips/math-tests.h: Likewise.
7078 * sysdeps/nios2/math-tests.h: Likewise.
7079 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7080 (EXCEPTION_TESTS_float): Do not define here.
7081 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7082 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7083 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7084
7085 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7086
7087 * NEWS: Move optimized sinf entry to 2.29.
7088
7089 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7090
7091 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7092
7093 2018-08-22 DJ Delorie <dj@redhat.com>
7094
7095 * Makefile (testroot.pristine): New rules to initialize the
7096 test-in-container "testroot".
7097 * Makerules (all-testsuite): Add tests-container.
7098 * Rules (tests-expected): Add tests-container.
7099 (binaries-all-tests): Likewise.
7100 (tests-container): New, run these tests in the testroot container.
7101 * support/Makefile (others): Add *-container, support_paths.c,
7102 xmkdirp, and links-dso-program.
7103 * support/links-dso-program-c.c: New.
7104 * support/links-dso-program.cc: New.
7105 * support/test-container.c: New.
7106 * support/shell-container.c: New.
7107 * support/echo-container.c: New.
7108 * support/true-container.c: New.
7109 * support/xmkdirp.c: New.
7110 * support/xsymlink.c: New.
7111 * support/support_paths.c: New.
7112 * support/support.h: Add support paths prototypes.
7113 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7114
7115 * nss/tst-nss-test3.c: Convert to test-in-container.
7116 * nss/tst-nss-test3.root/: New.
7117
7118 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7119
7120 regex: port Gnulib code to z/OS POSIX environment
7121 Problem reported by Arnold Robbins in:
7122 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7123 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7124 Undef.
7125
7126 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7127
7128 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7129 (ROUNDING_TESTS_double): Remove.
7130 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7131 (ROUNDING_TESTS_double): Remove.
7132 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7133 (ROUNDING_TESTS_double): Remove.
7134 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7135 (ROUNDING_TESTS_float): Remove.
7136 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7137 (ROUNDING_TESTS_float): Remove.
7138 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7139 (ROUNDING_TESTS_float): Remove.
7140 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7141 !TEST_MATHVEC here.
7142 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7143 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7144
7145 * sysdeps/generic/math-tests-rounding.h: New file.
7146 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7147 (ROUNDING_TESTS_float): Do not define here.
7148 (ROUNDING_TESTS_double): Likewise.
7149 (ROUNDING_TESTS_long_double): Likewise.
7150 (ROUNDING_TESTS_float128): Likewise.
7151 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7152 (ROUNDING_TESTS_double): Undefine before defining.
7153 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7154 (ROUNDING_TESTS_double): Undefine before defining.
7155 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7156 (ROUNDING_TESTS_double): Undefine before defining.
7157 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7158 (ROUNDING_TESTS_float): Undefine before defining.
7159 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7160 (ROUNDING_TESTS_float): Undefine before defining.
7161 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7162 (ROUNDING_TESTS_float): Undefine before defining.
7163 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7164 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7165 not define here.
7166 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7167 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7168 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7169 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7170 (ROUNDING_TESTS_float): Do not define here.
7171 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7172 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7173 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7174 (ROUNDING_TESTS_float): Likewise.
7175 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7176 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7177 * sysdeps/mips/math-tests.h [__mips_soft_float]
7178 (ROUNDING_TESTS_float): Likewise.
7179 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7180 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7181 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7182 (ROUNDING_TESTS_double): Likewise.
7183 (ROUNDING_TESTS_long_double): Likewise.
7184
7185 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
7186
7187 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7188 (PF_XDP): New macro.
7189 (AF_XDP): New macro.
7190 (SOL_XDP): New macro.
7191
7192 2018-08-21 Joseph Myers <joseph@codesourcery.com>
7193
7194 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7195 (TCP_INQ): Likewise.
7196 (TCP_CM_INQ): Likewise.
7197 (TCP_REPAIR_ON): Likewise.
7198 (TCP_REPAIR_OFF): Likewise.
7199 (TCP_REPAIR_OFF_NO_WP): Likewise.
7200 (struct tcp_zerocopy_receive): New type.
7201
7202 2018-08-21 Florian Weimer <fweimer@redhat.com>
7203
7204 * support/support.h (support_descriptor_supports_holes): Declare.
7205 * support/Makefile (libsupport-routines): Add
7206 support_descriptor_supports_holes.
7207 * support/support_descriptor_supports_holes.c: New file.
7208 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7209 and stop testing if holes are not supported.
7210 * io/test-lfs.c (do_prepare): Likewise.
7211 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7212 Likewise.
7213 * timezone/tst-tzset.c (create_tz_file): Likewise.
7214 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7215 variable.
7216 (do_prepare): Set it.
7217 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7218
7219 2018-08-21 Florian Weimer <fweimer@redhat.com>
7220
7221 [BZ #17248]
7222 * Makeconfig (+cflags): Do not sort (and deduplicate).
7223
7224 2018-08-21 Florian Weimer <fweimer@redhat.com>
7225
7226 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7227 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7228
7229 2018-08-20 Florian Weimer <fweimer@redhat.com>
7230
7231 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7232 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7233
7234 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7235
7236 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7237 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7238 and ssi_arch members.
7239
7240 * elf/elf.c (NT_VMCOREDD): New macro.
7241 (AT_MINSIGSTKSZ): Likewise.
7242
7243 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7244
7245 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7246 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7247 s_cosf-ppc64 and s_cosf-power8.
7248 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7249 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7250 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7251 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7258 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7259 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7260
7261 2018-08-17 Florian Weimer <fweimer@redhat.com>
7262
7263 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7264
7265 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7266
7267 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7268
7269 2018-08-16 Florian Weimer <fweimer@redhat.com>
7270
7271 * configure.ac: Add --with-nonshared-cflags option.
7272 * config.make.in (extra-nonshared-cflags): Set variable.
7273 * Makeconfig (CFLAGS-.oS): Use it.
7274 * manual/install.texi (Configuring and compiling): Document
7275 --with-nonshared-cflags.
7276 * configure: Regenerate.
7277 * INSTALL: Likewise.
7278
7279 2018-08-16 Florian Weimer <fweimer@redhat.com>
7280
7281 * Makeconfig (ASFLAGS): Always append required assembler flags.
7282
7283 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
7284
7285 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7286 (malloc_consolidate): Likewise.
7287
7288 2018-08-16 Pochang Chen <johnchen902@gmail.com>
7289
7290 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7291
7292 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7293
7294 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7295 every strlen call.
7296
7297 * benchtests/bench-strlen.c: Print performance numbers in json.
7298
7299 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7300
7301 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7302 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7303 only for little endian.
7304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7305 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7306 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7307 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7308 Add check for little endian.
7309 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7310 (__strcmp_power9): Add check for little endian.
7311 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7312 Add check for little endian.
7313 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7314 (__strncmp_power9): Add check for little endian.
7315 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7316 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7317 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7318 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7319 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7320
7321 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7322
7323 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7324 [!STRLEN](STRLEN): Set to __strlen.
7325 * sysdeps/aarch64/multiarch/strlen.c: New file.
7326 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7327 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7328 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7329 (__libc_ifunc_impl_list): Add strlen.
7330 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7331 strlen_generic and strlen_asimd.
7332
7333 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7334
7335 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7336 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7337 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7338
7339 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7340
7341 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7342
7343 2018-08-14 Florian Weimer <fweimer@redhat.com>
7344
7345 [BZ #23519]
7346 * include/stdio.h (__vfxprintf): Declare.
7347 * stdio-common/fxprintf.c (__vfxprintf): New function.
7348 (__fxprintf): Call it.
7349 * misc/err.c (convert_and_print): Remove function.
7350 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7351 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7352 * misc/Makefile (tests): Add tst-warn-wide.
7353 * misc/tst-warn-wide.c: New file.
7354
7355 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7356 Szabolcs Nagy <szabolcs.nagy@arm.com>
7357
7358 * NEWS: Mention sinf, cosf, sincosf.
7359 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7360 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7361 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7362 constants rather than including generic sincosf.h.
7363 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7364 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7365 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7366 (reduced_cos): Remove.
7367 (sinf_poly): New function.
7368 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7369
7370 2018-08-14 Florian Weimer <fweimer@redhat.com>
7371
7372 [BZ #23521]
7373 [BZ #23522]
7374 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7375 processing, bail out if no room, and close the stream before
7376 returning ERANGE.
7377 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7378 (tst-nss-files-alias-leak): Link with libdl.
7379 (tst-nss-files-alias-leak.out): Depend on nss_files.
7380
7381 * nss/tst-nss-files-alias-leak.c: New file.
7382
7383 2018-08-14 Florian Weimer <fweimer@redhat.com>
7384
7385 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7386 server_user, stat_user.
7387
7388 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7389
7390 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7391 version to 4.18.
7392 (io_pgetevents): New syscall.
7393 (rseq): Likewise.
7394
7395 * manual/install.texi (Configuring and compiling): Do not list
7396 tools used for testing pretty printers here.
7397 (Tools for Compilation): List Python, PExpect and GDB here.
7398 Update descriptions of uses of Perl and Python.
7399 * INSTALL: Regenerate.
7400
7401 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7402 version to 4.18.
7403
7404 2018-08-13 Florian Weimer <fweimer@redhat.com>
7405
7406 * misc/error.c (error): Add missing va_end call.
7407 (error_at_line): Likewise.
7408
7409 2018-08-13 Florian Weimer <fweimer@redhat.com>
7410
7411 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7412
7413 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7414
7415 * benchtests/scripts/benchout.schema.json (properties): Add
7416 new properties.
7417
7418 * benchtests/bench-skeleton.c (main): Add duration and
7419 iterations attributes.
7420
7421 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7422
7423 regex: Gnulib unibyte RRI uses bytes not chars
7424 Adjust the non-glibc code to agree with what Gawk needs for
7425 rational range interpretation (RRI) for regular expression ranges.
7426 In unibyte locales, Gawk wants ranges to use the underlying byte
7427 rather than the character code point. This change does not affect
7428 glibc proper.
7429 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7430 In unibyte locales, use the byte value rather than
7431 running it through btowc.
7432
7433 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7434
7435 * sysdeps/generic/math-tests-snan.h: New file.
7436 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7437 (SNAN_TESTS_float): Do not define here.
7438 (SNAN_TESTS_double): Likewise.
7439 (SNAN_TESTS_long_double): Likewise.
7440 (SNAN_TESTS_float128): Likewise.
7441 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7442 * sysdeps/i386/fpu/math-tests.h: Remove file.
7443 * sysdeps/ia64/math-tests-snan.h: New file.
7444 * sysdeps/ia64/math-tests.h: Remove file.
7445 * sysdeps/x86/math-tests.h: Likewise.
7446 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7447
7448 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7449 Szabolcs Nagy <szabolcs.nagy@arm.com>
7450
7451 * math/Makefile: Add s_sincosf_data.c.
7452 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7453 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7454 (sincosf_poly): Likewise.
7455 (reduce_small): Likewise.
7456 (reduce_large): Likewise.
7457 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7458 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7459 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7460 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7461
7462 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7463 Szabolcs Nagy <szabolcs.nagy@arm.com>
7464
7465 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7466 (converttoint): Use lround.
7467 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7468 document the semantics when TOINT_INTRINSICS is set.
7469 (converttoint): Likewise.
7470 (TOINT_RINT): Remove.
7471 (TOINT_SHIFT): Remove.
7472 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7473 path.
7474
7475 2018-08-10 Florian Weimer <fweimer@redhat.com>
7476
7477 [BZ #23497]
7478 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7479 function.
7480 (__old_getdents64): Use getdents64. Convert entries without
7481 moving them.
7482 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7483 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7484 tst-readdir64-compat.
7485
7486 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7487
7488 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7489 Fix unwind.
7490
7491 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7492
7493 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7494 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7495 code to s390x-mcount.h and #include it.
7496 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7497 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7498 (__fentry__): Add.
7499
7500 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7501
7502 * stdlib/Versions: Remove __fentry__.
7503 * sysdeps/i386/Versions: Add __fentry__.
7504 * sysdeps/x86_64/Versions: Add __fentry__.
7505
7506 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7507
7508 * sysdeps/s390/Makefile: Register the new tests.
7509 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7510 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7511 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7512 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7513 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7514 * sysdeps/s390/tst-dl-runtime.c: New file.
7515
7516 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7517
7518 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7519 Do not clobber R0.
7520
7521 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7522
7523 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7524 Do not clobber R0.
7525
7526 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7527
7528 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7529 Do not clobber R0.
7530
7531 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7532
7533 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7534 Do not clobber R0.
7535
7536 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7537
7538 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7539 Use symbolic offsets for stack variables.
7540
7541 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7542
7543 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7544 Use symbolic offsets for stack variables.
7545
7546 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7547
7548 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7549 Use symbolic offsets for stack variables.
7550
7551 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7552
7553 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7554 Use symbolic offsets for stack variables.
7555
7556 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7557
7558 * math/gen-libm-test.py: New file.
7559 * math/gen-libm-test.pl: Remove.
7560 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7561 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7562 gen-libm-test.pl.
7563 ($(libm-test-c-noauto-obj)): Likewise.
7564 ($(libm-test-c-auto-obj)): Likewise.
7565 ($(libm-test-c-narrow-obj)): Likewise.
7566 (regen-ulps): Likewise.
7567 * math/README.libm-test: Update references to gen-libm-test.pl.
7568 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7569 referencing gen-libm-test.pl.
7570 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7571 * math/libm-test-support.c: Likewise.
7572 * math/libm-test-support.h: Likewise.
7573 * sysdeps/generic/libm-test-ulps: Likewise.
7574
7575 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7576
7577 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7578 Fix value.
7579
7580 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7581
7582 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7583 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7584
7585 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7586
7587 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7588 symbols.
7589 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7590 __pthread_setspecific): Add hidden proto.
7591 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7592 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7593
7594 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7595
7596 * benchtests/bench-string.h (buf1_size, buf2_size): New
7597 variables.
7598 (init_sizes): New function.
7599 (test_init): Use it.
7600 (alloc_buf, exit_error): New functions.
7601 (alloc_bufs): Use ALLOC_BUF.
7602 (realloc_bufs): Remove.
7603 * benchtests/bench-memcmp.c (do_test): Adjust.
7604 * benchtests/bench-memset-large.c (do_test): Likewise.
7605 * benchtests/bench-memset-walk.c (do_test): Likewise.
7606 * benchtests/bench-memset.c (do_test): Likewise.
7607 * benchtests/bench-strncmp.c (do_test): Likewise.
7608
7609 2018-08-06 Andreas Schwab <schwab@suse.de>
7610
7611 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7612 of CONST_THREAD_AREA.
7613
7614 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7615
7616 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7617 (STATE_SAVE_MASK): Likewise.
7618 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7619 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7620 (STATE_SAVE_MASK): Likewise.
7621 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7622 instead of <cpu-features.h>.
7623
7624 2018-08-03 DJ Delorie <dj@redhat.com>
7625
7626 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7627 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7628
7629 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7630
7631 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7632
7633 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7634 after TEST_* calls.
7635 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7636 * math/libm-test-logb.inc (logb_test_data): Likewise.
7637
7638 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7639
7640 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7641 * string/strstr.c (AVAILABLE): Likewise.
7642
7643 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7644
7645 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7646 <init-arch.h>.
7647 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7648 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7649 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7650
7651 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7652
7653 * po/be.po: Update translation.
7654
7655 * po/be.po: Update translation.
7656
7657 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7658
7659 * sysdeps/x86/cpu-features-offsets.sym
7660 (rtld_global_ro_offsetof): Removed.
7661 (CPU_FEATURES_SIZE): Likewise.
7662 (CPUID_OFFSET): Likewise.
7663 (CPUID_SIZE): Likewise.
7664 (CPUID_EAX_OFFSET): Likewise.
7665 (CPUID_EBX_OFFSET): Likewise.
7666 (CPUID_ECX_OFFSET): Likewise.
7667 (CPUID_EDX_OFFSET): Likewise.
7668 (FAMILY_OFFSET): Likewise.
7669 (MODEL_OFFSET): Likewise.
7670 (FEATURE_OFFSET): Likewise.
7671 (FEATURE_SIZ): Likewise.
7672 (COMMON_CPUID_INDEX_1): Likewise.
7673 (COMMON_CPUID_INDEX_7): Likewise.
7674 (FEATURE_INDEX_1): Likewise.
7675 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7676
7677 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7678
7679 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7680 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7681 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7682 (install-locales): Depend on install-locale-archive.
7683 (install-locale-archive): Define.
7684 (install-locale-files): Define.
7685 (build-one-locale): Define macro.
7686 * manual/install.texi (Running make install): Document.
7687 * manual/INSTALL: Regenerate.
7688
7689 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7690
7691 * benchtests/scripts/compare_strings.py: Import traceback.
7692 (parse_file): Pretty-print error.
7693
7694 * NEWS: Mention the change.
7695 * elf/dl-tunables.list: Rename tune namespace to cpu.
7696 * sysdeps/powerpc/dl-tunables.list: Likewise.
7697 * sysdeps/x86/dl-tunables.list: Likewise.
7698 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7699 cpu.name.
7700 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7701 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7702 * manual/README.tunables: Likewise.
7703 * manual/tunables.texi: Likewise.
7704 * sysdeps/powerpc/cpu-features.c: Likewise.
7705 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7706 (init_cpu_features): Likewise.
7707 * sysdeps/x86/cpu-features.c: Likewise.
7708 * sysdeps/x86/cpu-features.h: Likewise.
7709 * sysdeps/x86/cpu-tunables.c: Likewise.
7710 * sysdeps/x86_64/Makefile: Likewise.
7711 * sysdeps/x86/dl-cet.c: Likewise.
7712
7713 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7714
7715 [BZ #23479]
7716 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7717 [__mips_hard_float].
7718 (FE_UNDERFLOW): Likewise.
7719 (FE_OVERFLOW): Likewise.
7720 (FE_DIVBYZERO): Likewise.
7721 (FE_INVALID): Likewise.
7722 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7723 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7724 (FE_UPWARD): Likewise.
7725 (FE_DOWNWARD): Likewise.
7726 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7727 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7728 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7729 [__mips_hard_float].
7730 (FP_ROUNDMODE): Likewise.
7731 (FP_RND_NEAREST): Likewise.
7732 (FP_RND_ZERO): Likewise.
7733 (FP_RND_PINF): Likewise.
7734 (FP_RND_MINF): Likewise.
7735 (FP_EX_INVALID): Likewise.
7736 (FP_EX_OVERFLOW): Likewise.
7737 (FP_EX_UNDERFLOW): Likewise.
7738 (FP_EX_DIVZERO): Likewise.
7739 (FP_EX_INEXACT): Likewise.
7740 (FP_INIT_ROUNDMODE): Likewise.
7741 * sysdeps/mips/nofpu/fesetenv.c: New file.
7742 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7743
7744 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7745
7746 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7747 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7748 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7749 conditional on [FE_UPWARD].
7750
7751 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7752
7753 regex: fix memory leak in Gnulib
7754 Problem and fix reported by Assaf Gordon in:
7755 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7756 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7757 range_ends members too, as they are defined in 'struct
7758 re_charset_t' even if not _LIBC. This affects only Gnulib.
7759
7760 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7761
7762 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7763 ...
7764 (get_common_indices): This.
7765 (init_cpu_features): Updated.
7766
7767 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7768
7769 * sysdeps/generic/math-tests-snan-payload.h: New file.
7770 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7771 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7772 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7773 * sysdeps/generic/math-tests.h: Include
7774 <math-tests-snan-payload.h>.
7775 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7776 * sysdeps/hppa/math-tests.h: Remove file.
7777 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7778 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7779 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7780 Likewise.
7781
7782 * sysdeps/generic/math-tests-snan-cast.h: New file.
7783 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7784 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7785 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7786 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7787
7788 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7789
7790 * version.h (RELEASE): Set to "development".
7791 (VERSION): Set to "2.28.9000".
7792 * NEWS (2.29): New section.
7793
7794 * version.h (RELEASE): Set to "stable".
7795 (VERSION): Set to "2.28".
7796 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7797 * NEWS: Add the list of bugs fixed in 2.28.
7798
7799 * po/ca.po: Update to latest version.
7800 * po/cs.po: Likewise
7801 * po/da.po: Likewise
7802 * po/el.po: Likewise
7803 * po/eo.po: Likewise
7804 * po/es.po: Likewise
7805 * po/fi.po: Likewise
7806 * po/fr.po: Likewise
7807 * po/gl.po: Likewise
7808 * po/hu.po: Likewise
7809 * po/ia.po: Likewise
7810 * po/id.po: Likewise
7811 * po/it.po: Likewise
7812 * po/ja.po: Likewise
7813 * po/ko.po: Likewise
7814 * po/lt.po: Likewise
7815 * po/nb.po: Likewise
7816 * po/nl.po: Likewise
7817 * po/pt_BR.po: Likewise
7818 * po/ru.po: Likewise
7819 * po/rw.po: Likewise
7820 * po/sk.po: Likewise
7821 * po/sl.po: Likewise
7822 * po/tr.po: Likewise
7823 * po/zh_CN.po: Likewise
7824 * po/zh_TW.po: Likewise
7825
7826 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7827
7828 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7829 initialization...
7830 (init): ... before initializing libpthread.
7831
7832 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7833 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7834 (__mach_setup_tls): ... new function.
7835 (mach_setup_tls): New alias.
7836 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7837 __mach_setup_thread.
7838 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7839 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7840 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7841 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7842
7843 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7844
7845 * manual/install.texi: Update versions.
7846 * INSTALL: Regenerate.
7847
7848 * manual/contrib.texi (Contributors): Update contributions.
7849
7850 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7851
7852 * po/be.po: Update translations.
7853
7854 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7855
7856 * sysdeps/sh/libm-test-ulps: Update.
7857
7858 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7859
7860 * po/bg.po: Update translations.
7861 * po/de.po: Likewise.
7862 * po/hr.po: Likewise.
7863 * po/pt_BR.po: Likewise.
7864 * po/sv.po: Likewise.
7865 * po/vi.po: Likewise.
7866
7867 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7868
7869 [BZ #23467]
7870 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7871 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7872 (CFLAGS-tst-cet-property-1.o): New.
7873 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7874 ($(objpfx)tst-cet-property-2): Likewise.
7875 ($(objpfx)tst-cet-property-2.out): Likewise.
7876 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7877 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7878 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7879 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7880 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7881
7882 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7883
7884 [BZ #23458]
7885 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7886
7887 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7888
7889 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7890 __sbrk): Do not set attribute_hidden.
7891 * sysdeps/mach/hurd/not-errno.h: New file.
7892 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7893 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7894
7895 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7896
7897 * po/uk.po: Update translations.
7898 * po/cs.po: Likewise.
7899 * po/pl.po: Likewise.
7900
7901 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7902
7903 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7904 parse beyond the note end.
7905
7906 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7907
7908 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7909 kernel does not support OFD locks.
7910 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7911
7912 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7913
7914 * sysdeps/mach/hurd/Versions (libc): Make __access and
7915 __access_noerrno external so they can override the ld symbols.
7916 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7917 __writev, __open64, __access_noerrno extern so they can be overrided.
7918 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7919 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7920
7921 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7922
7923 * po/libc.pot: Regenerate.
7924
7925 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7926
7927 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7928
7929 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7930
7931 [BZ #23459]
7932 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7933 function.
7934 (init_cpu_features): Call get_extended_indices for both Intel
7935 and AMD CPUs.
7936 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7937 Remove "for AMD" comment.
7938
7939 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7940
7941 [BZ # 23456]
7942 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7943 COMMON_CPUID_INDEX_80000001.
7944
7945 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7946
7947 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7948 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7949
7950 2018-07-26 Florian Weimer <fweimer@redhat.com>
7951
7952 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7953 aliases for symbols not in the implementation namespace.
7954
7955 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7956
7957 [BZ #23393]
7958 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7959 lowercase in LATIN script.
7960 * localedata/Makefile (test-input): Add en_US.UTF-8.
7961 * localedata/en_US.UTF-8.in: New file.
7962 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7963 and restore old tests.
7964 * posix/tst-regexloc.c (do_test): Add back range expression test.
7965
7966 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7967
7968 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7969
7970 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7971
7972 * nptl/threads.h: Move to ...
7973 * sysdeps/nptl/threads.h: ... here.
7974 * sysdeps/hurd/stdc-predef.h: New file.
7975
7976 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7977
7978 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7979 tst-cet-setcontext-1 if CET is enabled.
7980 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7981 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7982
7983 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7984
7985 * include/threads.h: Move to ...
7986 * sysdeps/nptl/threads.h: ... here.
7987 * sysdeps/htl/threads.h: New file.
7988 * conform/Makefile (linknamespace-libs-ISO11): Use
7989 static-thread-library instead of linking libpthread.
7990 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7991
7992 2018-07-25 Florian Weimer <fweimer@redhat.com>
7993
7994 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7995 nanoseconds into seconds.
7996 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7997 (do_test): Likewise.
7998 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7999 (do_test): Likewise. Avoid nanosecond overflow and spurious
8000 timeouts due to system load.
8001 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8002 (child_wait): Increment it.
8003 (do_test): Wait as long as necessary until all expected threads
8004 have arrived.
8005
8006 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8007 H.J. Lu <hongjiu.lu@intel.com>
8008
8009 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8010 __ssp.
8011 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8012 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8013 (__push___start_context): New.
8014 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8015 <asm/prctl.h>.
8016 (__getcontext): Record the current shadow stack base. Save the
8017 caller's shadow stack pointer and base.
8018 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8019 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8020 (__push___start_context): New prototype.
8021 (__makecontext): Call __push___start_context to allocate a new
8022 shadow stack, push __start_context onto the new stack as well
8023 as the new shadow stack.
8024 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8025 <asm/prctl.h>.
8026 (__setcontext): Restore the target shadow stack.
8027 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8028 <asm/prctl.h>.
8029 (__swapcontext): Record the current shadow stack base. Save
8030 the caller's shadow stack pointer and base. Restore the target
8031 shadow stack.
8032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8033 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8034 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
8035
8036 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8037
8038 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
8039 tst-setcontext8 and tst-setcontext9.
8040 * stdlib/tst-setcontext6.c: New file.
8041 * stdlib/tst-setcontext7.c: Likewise.
8042 * stdlib/tst-setcontext8.c: Likewise.
8043 * stdlib/tst-setcontext9.c: Likewise.
8044
8045 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8046
8047 * stdlib/Makefile ((tests): Add tst-setcontext5.
8048 * stdlib/tst-setcontext5.c: New file.
8049
8050 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8051
8052 * stdlib/Makefile (tests): Add tst-setcontext4.
8053 * stdlib/tst-setcontext4.c: New file.
8054
8055 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8056
8057 * stdlib/Makefile (tests): Add tst-swapcontext1.
8058 * stdlib/tst-swapcontext1.c: New test.
8059
8060 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8061
8062 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8063 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8064 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8065 and tst-cet-legacy-4c.
8066 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8067 and tst-cet-legacy-mod-4.
8068 (CFLAGS-tst-cet-legacy-2.c): New.
8069 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8070 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8071 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8072 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8073 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8074 ($(objpfx)tst-cet-legacy-1): Likewise.
8075 ($(objpfx)tst-cet-legacy-2): Likewise.
8076 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8077 ($(objpfx)tst-cet-legacy-2a): Likewise.
8078 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8079 ($(objpfx)tst-cet-legacy-4): Likewise.
8080 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8081 ($(objpfx)tst-cet-legacy-4a): Likewise.
8082 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8083 (tst-cet-legacy-4a-ENV): Likewise.
8084 ($(objpfx)tst-cet-legacy-4b): Likewise.
8085 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8086 (tst-cet-legacy-4b-ENV): Likewise.
8087 ($(objpfx)tst-cet-legacy-4c): Likewise.
8088 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8089 (tst-cet-legacy-4c-ENV): Likewise.
8090 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8091 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8092 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8093 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8094 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8095 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8096 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8097 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8098 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8099 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8100 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8101
8102 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8103
8104 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8105 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8106 with ssp_base.
8107 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8108 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8109 with ssp_base.
8110
8111 2018-07-25 Andreas Schwab <schwab@suse.de>
8112
8113 [BZ #23442]
8114 * locale/weightwc.h (findidx): Handle the case where usrc is a
8115 prefix of cp but one character too short.
8116
8117 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8118
8119 * NEWS: Add ISO C threads addition.
8120
8121 2018-07-24 Florian Weimer <fweimer@redhat.com>
8122
8123 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8124 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8125 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8126 4.13.
8127
8128 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8129
8130 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8131 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8132 <sys/prctl.h> and <asm/prctl.h>.
8133 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8134 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8135 and <asm/prctl.h>.
8136 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8137 ARCH_CET_LEGACY_BITMAP.
8138 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8139 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8140 * sysdeps/x86/libc-start.c: Include <startup.h>.
8141
8142 2018-07-24 Florian Weimer <fweimer@redhat.com>
8143
8144 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8145 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8146
8147 2018-07-24 Rical Jasan <rj@2c3t.io>
8148 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8149 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8150
8151 [BZ #14092]
8152 * manual/debug.texi: Update adjacent chapter name.
8153 * manual/probes.texi: Likewise.
8154 * manual/threads.texi (ISO C Threads): New section.
8155 (POSIX Threads): Convert to a section.
8156
8157 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8158 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8159
8160 [BZ# 14092]
8161 * nptl/Makefile (tests): Add new test files.
8162 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8163 * nptl/tst-cnd-basic.c: Likewise.
8164 * nptl/tst-cnd-broadcast.c: Likewise.
8165 * nptl/tst-cnd-timedwait.c: Likewise.
8166 * nptl/tst-mtx-basic.c: Likewise.
8167 * nptl/tst-mtx-recursive.c: Likewise.
8168 * nptl/tst-mtx-timedlock.c: Likewise.
8169 * nptl/tst-mtx-trylock.c: Likewise.
8170 * nptl/tst-thrd-basic.c: Likewise.
8171 * nptl/tst-thrd-detach.c: Likewise.
8172 * nptl/tst-thrd-sleep.c: Likewise.
8173 * nptl/tst-tss-basic.c: Likewise.
8174
8175 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8176
8177 [BZ #14092]
8178 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8179 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8180 symbols.
8181 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8182 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8183 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8184 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8185 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8186 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8187 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8188 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8189 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8190 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8191 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8192 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8194 Likewise.
8195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8196 Likewise.
8197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8198 Likewise.
8199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8200 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8201 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8202 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8203 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8204 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8205 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8206 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8207 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8208 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8209 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8210 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8211 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8212 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8213 Likewise.
8214 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8215 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8216 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8217 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8218 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8219 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8220 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8221 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8222 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8223 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8224 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8225 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8226 ikewise.
8227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8229 Likewise.
8230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8231 Likewise.
8232 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8233 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8234 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8235 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8236 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8237 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8238 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8239 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8240
8241 [BZ #14092]
8242 * conform/data/threads.h-data (thread_local): New macro.
8243 (TSS_DTOR_ITERATIONS): Likewise.
8244 (tss_t): New type.
8245 (tss_dtor_t): Likewise.
8246 (tss_create): New function.
8247 (tss_get): Likewise.
8248 (tss_set): Likewise.
8249 (tss_delete): Likewise.
8250 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8251 tss_get, and tss_set objects.
8252 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8253 * nptl/tss_create.c: New file.
8254 * nptl/tss_delete.c: Likewise.
8255 * nptl/tss_get.c: Likewise.
8256 * nptl/tss_set.c: Likewise.
8257 * sysdeps/nptl/threads.h (thread_local): New define.
8258 (TSS_DTOR_ITERATIONS): Likewise.
8259 (tss_t): New typedef.
8260 (tss_dtor_t): Likewise.
8261 (tss_create): New prototype.
8262 (tss_get): Likewise.
8263 (tss_set): Likewise.
8264 (tss_delete): Likewise.
8265
8266 [BZ #14092]
8267 * conform/data/threads.h-data (cnd_t): New type.
8268 (cnd_init): New function.
8269 (cnd_signal): Likewise.
8270 (cnd_broadcast): Likewise.
8271 (cnd_wait): Likewise.
8272 (cnd_timedwait): Likewise.
8273 (cnd_destroy): Likewise.
8274 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8275 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8276 object.
8277 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8278 * nptl/cnd_broadcast.c: New file.
8279 * nptl/cnd_destroy.c: Likewise.
8280 * nptl/cnd_init.c: Likewise.
8281 * nptl/cnd_signal.c: Likewise.
8282 * nptl/cnd_timedwait.c: Likewise.
8283 * nptl/cnd_wait.c: Likewise.
8284 * sysdeps/nptl/threads.h (cnd_t): New type.
8285 (cnd_init): New prototype.
8286 (cnd_signa): Likewise.
8287 (cnd_broadcast): Likewise.
8288 (cnd_wait): Likewise.
8289 (cnd_timedwait): Likewise.
8290 (cnd_destroy): Likewise.
8291
8292 [BZ #14092]
8293 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8294 (once_flag): New type.
8295 (call_once): New function.
8296 * nptl/Makefile (libpthread-routines): Add call_once object.
8297 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8298 * nptl/call_once.c: New file.
8299 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8300 (once_flag): New type.
8301 (call_once): New prototype.
8302
8303 [BZ #14092]
8304 * conform/data/threads.h-data (mtx_plain): New constant.
8305 (mtx_recursive): Likewise.
8306 (mtx_timed): Likewise.
8307 (mtx_t): New type.
8308 (mtx_init): New function.
8309 (mtx_lock): Likewise.
8310 (mtx_timedlock): Likewise.
8311 (mtx_trylock): Likewise.
8312 (mtx_unlock): Likewise.
8313 (mtx_destroy): Likewise.
8314 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8315 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8316 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8317 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8318 * nptl/mtx_destroy.c: New file.
8319 * nptl/mtx_init.c: Likewise.
8320 * nptl/mtx_lock.c: Likewise.
8321 * nptl/mtx_timedlock.c: Likewise.
8322 * nptl/mtx_trylock.c: Likewise.
8323 * nptl/mtx_unlock.c: Likewise.
8324 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8325 (mtx_recursive): Likewise.
8326 (mtx_timed): Likewise.
8327 (mtx_t): New type.
8328 (mtx_init): New prototype.
8329 (mtx_lock): Likewise.
8330 (mtx_timedlock): Likewise.
8331 (mtx_trylock): Likewise.
8332 (mtx_unlock): Likewise.
8333 (mtx_destroy): Likewise.
8334
8335 [BZ #14092]
8336 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8337 (linknamespace-libs-ISO11): Add libpthread.a.
8338 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8339 functions.
8340 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8341 * nptl/Makefile (headers): Add threads.h.
8342 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8343 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8344 thrd_yield.
8345 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8346 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8347 thrd_join, thrd_sleep, and thrd_yield symbols.
8348 * nptl/descr.h (struct pthread): Add c11 field.
8349 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8350 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8351 routine with expected function prototype.
8352 (__pthread_create_2_1): Add C11 threads check based on attribute
8353 value.
8354 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8355 * nptl/thrd_create.c: New file.
8356 * nptl/thrd_current.c: Likewise.
8357 * nptl/thrd_detach.c: Likewise.
8358 * nptl/thrd_equal.c: Likewise.
8359 * nptl/thrd_exit.c: Likewise.
8360 * nptl/thrd_join.c: Likewise.
8361 * nptl/thrd_priv.h: Likewise.
8362 * nptl/thrd_sleep.c: Likewise.
8363 * nptl/thrd_yield.c: Likewise.
8364 * include/threads.h: Likewise.
8365
8366 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8367
8368 * bits/indirect-return.h: New file.
8369 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8370 * sysdeps/x86/bits/indirect-return.h: Likewise.
8371 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8372 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8373 (swapcontext): Add __INDIRECT_RETURN.
8374 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8375 (prepare_test_buffer): Use it.
8376
8377 2018-07-24 Andreas Schwab <schwab@suse.de>
8378
8379 [BZ #23448]
8380 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8381 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8382
8383 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8384
8385 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8386 Redefine if shadow stack is enabled.
8387 (SYSCALL_ERROR_LABEL): Likewise.
8388 (__vfork): Pop shadow stack and jump back to to caller directly
8389 when shadow stack is in use.
8390 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8391 Redefine if shadow stack is enabled.
8392 (SYSCALL_ERROR_LABEL): Likewise.
8393 (__vfork): Pop shadow stack and jump back to to caller directly
8394 when shadow stack is in use.
8395
8396 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8397
8398 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8399 enabled.
8400 (foo): Likewise.
8401 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8402 (foo): Likewise.
8403
8404 2018-07-20 Joseph Myers <joseph@codesourcery.com>
8405
8406 * scripts/build-many-glibcs.py (Context.checkout): Default
8407 binutils version to 2.31 branch.
8408
8409 2018-07-20 Zong Li <zong@andestech.com>
8410
8411 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8412 URL of gcc's tarball.
8413
8414 2018-07-20 Florian Weimer <fweimer@redhat.com>
8415
8416 [BZ #23396]
8417 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8418 not compare an extra byte after the end of the weights.
8419
8420 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8421
8422 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8423 to 1.
8424 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8425 hidden prototypes.
8426 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8427 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8428 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8429 list of libraries whose stack executability is expected.
8430 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8431 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8432 variable.
8433 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8434 libc.so libpthread.so.
8435
8436 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8437
8438 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8439 SOCK_NONBLOCK.
8440 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8441 and SOCK_NONBLOCK.
8442 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8443 implement __pipe2.
8444 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8445
8446 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8447
8448 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8449 library to improve command line parsing.
8450 (__main__): make schema file as optional parameter (--schema),
8451 defaulting to benchtests/scripts/benchout.schema.json.
8452 (main): move out of the parsing stuff to __main_  and leave it
8453 only as caller of main comparison functions.
8454
8455 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8456
8457 * NEWS: Add a note for Intel CET status.
8458 * manual/install.texi: Likewise.
8459 * INSTALL: Regenerated.
8460
8461 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8462
8463 [BZ #23140]
8464 * localedata/locales/oc_FR (mon): Rename to...
8465 (alt_mon): This, then update October (typo fix).
8466 (mon): New content (genitive case, month names preceded by
8467 "de" or "d’").
8468
8469 [BZ #23422]
8470 * localedata/locales/oc_FR (abday): Update all items.
8471 (day): Update Wednesday and Saturday (typo fixes).
8472 (abmon): Update all items, except May.
8473 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8474 (LC_IDENTIFICATION): Bump the revision number and date.
8475 Keep the "category" entries in alphabetic order.
8476 (LC_ADDRESS): Remove no longer needed comment.
8477 (LC_COLLATE): Use “copy "ca_ES"”.
8478 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8479 "name_mrs".
8480
8481 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8482
8483 * grp/tst_fgetgrent.c: Include <unistd.h>.
8484 (main): Use mkstemp instead of tmpnam.
8485 * io/test-utime.c (main): Likewise.
8486 * posix/annexc.c (macrofile): Change to modifiable array.
8487 (main): Remove macrofile here.
8488 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8489 macrofile here.
8490 (check_header): Do not remove macrofile here.
8491 * posix/bug-getopt1.c: Include <stdlib.h>.
8492 (do_test): Use mkstemp instead of tmpnam.
8493 * posix/bug-getopt2.c: Include <stdlib.h>.
8494 (do_test): Use mkstemp instead of tmpnam.
8495 * posix/bug-getopt3.c: Include <stdlib.h>.
8496 (do_test): Use mkstemp instead of tmpnam.
8497 * posix/bug-getopt4.c: Include <stdlib.h>.
8498 (do_test): Use mkstemp instead of tmpnam.
8499 * posix/bug-getopt5.c: Include <stdlib.h>.
8500 (do_test): Use mkstemp instead of tmpnam.
8501 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8502 (main): Use mkstemp instead of tmpnam.
8503 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8504 (main): Use mkstemp instead of tmpnam.
8505 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8506 (main): use mkstemp instead of tmpnam.
8507 * stdlib/isomac.c (macrofile): Change to modifiable array.
8508 (main): Remove macrofile here.
8509 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8510 macrofile here.
8511 (check_header): Do not remove macrofile here.
8512
8513 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8514
8515 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8516 glibc.tune.x86_shstk.
8517
8518 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8519
8520 * NEWS: Mention --enable-cet.
8521 * manual/install.texi: Document --enable-cet.
8522 * INSTALL: Regenerated.
8523
8524 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8525
8526 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8527 Add _CET_NOTRACK before indirect jump to jump table.
8528
8529 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8530
8531 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
8532 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8533 to jump table.
8534
8535 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8536
8537 * sysdeps/i386/i686/multiarch/strcat-sse2.S
8538 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8539 to jump table.
8540
8541 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8542
8543 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
8544 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8545 to jump table.
8546
8547 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8548
8549 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8550 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8551 to jump table.
8552
8553 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8554
8555 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8556 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8557 to jump table.
8558 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8559
8560 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8561
8562 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8563 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8564 to jump table.
8565
8566 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8567
8568 * sysdeps/i386/i686/multiarch/memset-sse2.S
8569 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8570 to jump table.
8571
8572 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8573
8574 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8575 indirect jump to jump table.
8576
8577 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8578
8579 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8580 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8581 to jump table.
8582 (MEMCPY): Likewise.
8583
8584 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8585
8586 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8587 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8588 to jump table.
8589 (MEMCPY): Likewise.
8590
8591 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8592
8593 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8594 _CET_NOTRACK before indirect jump to jump table.
8595
8596 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8597
8598 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8599 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8600 to jump table.
8601
8602 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8603
8604 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8605 indirect jump to jump table.
8606
8607 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8608
8609 [BZ #22241]
8610 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8611 (LOCALES): Likewise.
8612 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8613 * localedata/locales/sah_RU: New file.
8614 * localedata/sah_RU.UTF-8.in: New file.
8615
8616 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8617
8618 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8619 "sysdep.h".
8620 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8621 _CET_ENDBR to indirect jump targets and adjust jump destination
8622 for _CET_ENDBR.
8623 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8624 "sysdep.h".
8625 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8626 _CET_ENDBR to indirect jump targets and adjust jump destination
8627 for _CET_ENDBR.
8628 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8629 "sysdep.h".
8630 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8631 _CET_ENDBR to indirect jump targets and adjust jump destination
8632 for _CET_ENDBR.
8633
8634 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8635
8636 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8637 _CET_ENDBR.
8638
8639 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8640
8641 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8642 _CET_ENDBR.
8643 (_dl_tlsdesc_undefweak): Likewise.
8644 (_dl_tlsdesc_dynamic): Likewise.
8645 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8646 (_dl_tlsdesc_resolve_rel): Likewise.
8647 (_dl_tlsdesc_resolve_rela): Likewise.
8648 (_dl_tlsdesc_resolve_hold): Likewise.
8649 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8650 (_dl_tlsdesc_undefweak): Likewise.
8651 (_dl_tlsdesc_dynamic): Likewise.
8652 (_dl_tlsdesc_resolve_rela): Likewise.
8653 (_dl_tlsdesc_resolve_hold): Likewise.
8654
8655 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8656
8657 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8658 (_fini): Likewise.
8659 * sysdeps/x86_64/crti.S (_init): Likewise.
8660 (_fini): Likewise.
8661
8662 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8663
8664 [BZ #23140]
8665 * localedata/locales/os_RU (mon): Rename to...
8666 (alt_mon): This.
8667 (mon): Import from CLDR (genitive case).
8668
8669 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8670
8671 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8672 cet-tunables.h> when CET is enabled.
8673
8674 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8675
8676 [BZ #21598]
8677 * configure.ac: Add --enable-cet.
8678 * configure: Regenerated.
8679 * elf/Makefille (all-built-dso): Add a comment.
8680 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8681 Include <dl-prop.h>.
8682 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8683 segment.
8684 * elf/dl-open.c: Include <dl-prop.h>.
8685 (dl_open_worker): Call _dl_open_check.
8686 * elf/rtld.c: Include <dl-prop.h>.
8687 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8688 _rtld_main_check.
8689 * sysdeps/generic/dl-prop.h: New file.
8690 * sysdeps/i386/dl-cet.c: Likewise.
8691 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8692 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8693 * sysdeps/x86/cet-tunables.h: Likewise.
8694 * sysdeps/x86/check-cet.awk: Likewise.
8695 * sysdeps/x86/configure: Likewise.
8696 * sysdeps/x86/configure.ac: Likewise.
8697 * sysdeps/x86/dl-cet.c: Likewise.
8698 * sysdeps/x86/dl-procruntime.c: Likewise.
8699 * sysdeps/x86/dl-prop.h: Likewise.
8700 * sysdeps/x86/libc-start.h: Likewise.
8701 * sysdeps/x86/link_map.h: Likewise.
8702 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8703 _CET_ENDBR.
8704 (_dl_runtime_profile): Likewise.
8705 (_dl_runtime_resolve_shstk): New.
8706 (_dl_runtime_profile_shstk): Likewise.
8707 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8708 if CET is enabled.
8709 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8710 (CFLAGS-.os): Likewise.
8711 (CFLAGS-.op): Likewise.
8712 (CFLAGS-.oS): Likewise.
8713 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8714 is enabled.
8715 (tests-special): Add $(objpfx)check-cet.out.
8716 (cet-built-dso): New.
8717 (+$(cet-built-dso:=.note)): Likewise.
8718 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8719 ($(objpfx)check-cet.out): New.
8720 (generated): Add check-cet.out.
8721 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8722 <cet-tunables.h>.
8723 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8724 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8725 (init_cpu_features): Call get_cet_status to check CET status
8726 and update dl_x86_feature_1 with CET status. Call
8727 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8728 (set_x86_shstk). Disable and lock CET in libc.a.
8729 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8730 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8731 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8732 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8733 (_CET_ENDBR): Define if not defined.
8734 (ENTRY): Add _CET_ENDBR.
8735 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8736 x86_shstk.
8737 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8738 _CET_ENDBR.
8739 (_dl_runtime_profile): Likewise.
8740
8741 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8742
8743 [BZ #21895]
8744 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8745 restore r2 on longjmp.
8746 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8747 test list.
8748 Added rules to build test tst-setjmp-bug21895-static.
8749 Added module setjmp-bug21895 and rules to build a shared object from it.
8750 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8751 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8752
8753 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8754
8755 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8756 * benchtests/bench-strstr.c: Likewise.
8757 * string/memmem.c (FASTSEARCH): Define.
8758 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8759 Add support for FASTSEARCH.
8760 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8761 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8762 (FASTSEARCH): Define.
8763 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8764 * string/test-strstr.c: Likewise.
8765
8766 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8767
8768 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8769 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8770
8771 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8772 H.J. Lu <hongjiu.lu@intel.com>
8773
8774 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8775 (__longjmp): Restore shadow stack pointer if shadow stack is
8776 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8777 isn't defined for __longjmp_cancel.
8778 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8779 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8780 and SHADOW_STACK_POINTER_OFFSET is defined.
8781 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8782 (setjmp): Save shadow stack pointer if shadow stack is enabled
8783 and SHADOW_STACK_POINTER_OFFSET is defined.
8784 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8785 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8786 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8787 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8788 <jmp_buf-ssp.h>.
8789 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8790 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8791 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8792 Remove jmp_buf-ssp.sym.
8793 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8794 <jmp_buf-ssp.h>.
8795 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8796 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8797 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8798 jmp_buf-ssp.sym.
8799 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8800 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8801 (__longjmp): Restore shadow stack pointer if shadow stack is
8802 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8803 isn't defined for __longjmp_cancel.
8804 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8805 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8806 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8807
8808 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8809
8810 [BZ #22563]
8811 * nptl/pthread_create.c: Include <tls-setup.h>.
8812 (__pthread_create_2_1): Call tls_setup_tcbhead.
8813 * sysdeps/generic/tls-setup.h: New file.
8814 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8815 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8816 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8817 Likewise.
8818 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8819 to feature_1.
8820 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8821 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8822 (X86_FEATURE_1_SHSTK): Likewise.
8823 (CET_ENABLED): Likewise.
8824 (IBT_ENABLED): Likewise.
8825 (SHSTK_ENABLED): Likewise.
8826
8827 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8828
8829 [BZ #23208]
8830 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8831 (LOCALES): Likewise.
8832 * localedata/dsb_DE.UTF-8.in: New file.
8833 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8834
8835 2018-07-12 Florian Weimer <fweimer@redhat.com>
8836
8837 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8838 __mprotect, not mprotect.
8839
8840 2018-07-11 Florian Weimer <fweimer@redhat.com>
8841
8842 * io/Makefile (headers): Add bits/statx.h.
8843
8844 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8845
8846 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8847 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8848 and headers.
8849 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8850 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8851 for utf8_gen.py
8852
8853 2018-07-10 Florian Weimer <fweimer@redhat.com>
8854
8855 * io/Makefile (routines): Add statx.
8856 (tests-internal): Add tst-statx.
8857 * io/Versions (GLIBC_2.28): Export statx.
8858 * io/bits/statx.h: New file.
8859 * io/sys/stat.h [__USE_GNU]: Include it.
8860 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8861 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8862 Define.
8863 * io/statx.c: New file.
8864 * io/statx_generic.: Likewise.
8865 * io/tst-statx.: Likewise.
8866 * include/bits/statx.h: Likewise.
8867 * sysdeps/unix/sysv/linux/kernel-features.h
8868 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8869 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8870 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8871 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8872 Undefine.
8873 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8874 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8875 * sysdeps/unix/sysv/linux/statx.c: New file.
8876 * manual/filesys.texi: Note that statx is undocumented.
8877 * sysdeps/**/libc*.abilist: Update.
8878
8879 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8880
8881 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8882 a kernel issue which lead to test failure in some cases.
8883
8884 2018-07-10 Florian Weimer <fweimer@redhat.com>
8885
8886 [BZ #23036]
8887 * posix/regexec.c (check_node_accept_bytes): When comparing
8888 weights, do not compare an extra byte after the end of the
8889 weights.
8890
8891 2018-07-10 Florian Weimer <fweimer@redhat.com>
8892
8893 * libio/readline.c: Fix copyright year.
8894 * libio/tst-readline.c Likewise.
8895 * nss/tst-nss-files-hosts-getent.c: Likewise.
8896
8897 2018-07-06 Florian Weimer <fweimer@redhat.com>
8898
8899 [BZ #18991]
8900 * nss/nss_files/files-XXX.c (internal_getent): Use
8901 __libc_readline_unlocked. Seek back to the start of the line if
8902 parsing failes with ERANGE.
8903 (get_contents_ret, get_contents): Remove.
8904 * nss/tst-nss-files-hosts-getent.c: New file.
8905 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8906 (tst-nss-files-hosts-getent): Link with -ldl.
8907
8908 2018-07-06 Florian Weimer <fweimer@redhat.com>
8909
8910 * include/stdio.h (__libc_readline_unlocked): Declare.
8911 (__ftello64, __fseeko64): Declare aliases.
8912 * libio/readline.c: New file.
8913 * libio/tst-readline.c: Likewise.
8914 (routines): Add readline.
8915 (tests-internal): Add tst-readlime.
8916 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8917 __libc_readline_unlocked.
8918 * libio/fseeko.c (__fseeko): Rename from fseeko.
8919 (fseeko): Add alias.
8920 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8921 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8922 (fseeko64): Add alias.
8923 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8924 * libio/ftello64.c (__ftello64): Rename from ftello64.
8925 (ftello64): Add alias.
8926
8927 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8928
8929 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8930 HWCAP_ATOMICS.
8931
8932 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8933
8934 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8935 Use dl_hwcap without masking.
8936 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8937 Remove HWCAP_CPUID.
8938
8939 2018-07-06 Florian Weimer <fweimer@redhat.com>
8940
8941 * conform/conformtest.pl (checknamespace): Escape literal braces
8942 in regular expressions.
8943
8944 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8945
8946 * sysdeps/x86/cpu-features.c (get_common_indeces):
8947 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8948 * sysdeps/x86/cpu-features.c (init_cpu_features):
8949 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8950
8951 2018-07-05 Florian Weimer <fweimer@redhat.com>
8952
8953 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8954 protector.
8955 (CFLAGS-elf-init.oS): Likewise.
8956
8957 2018-07-05 Florian Weimer <fweimer@redhat.com>
8958 Carlos O'Donell <carlos@redhat.com>
8959
8960 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8961 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8962 with stack protector enabled because there is no risk of infinite
8963 recursion.
8964
8965 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8966
8967 [BZ #19818]
8968 [BZ #23307]
8969 * libc-abis (ABSOLUTE): New ABI.
8970 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8971 * NEWS: Mention the new ABI.
8972
8973 2018-07-05 Florian Weimer <fweimer@redhat.com>
8974
8975 [BZ # 17662]
8976 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8977 (RENAME_WHITEOUT): Define.
8978 [__USE_GNU] (renameat2): Declare.
8979 * stdio-common/Makefile (routines): Add renameat2.
8980 (tests): Add tst-renameat2.
8981 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8982 * stdio-common/renameat2.c: New file.
8983 * stdio-common/tst-renameat2.c: Likewise.
8984 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8985 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8986 undocumented.
8987 * sysdeps/unix/sysv/linux/kernel-features.h
8988 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8989 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8990 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8991 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8992 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8993 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8994 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8995 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8996 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8997 * include/stdio.h (__renameat): Add alias for renameat.
8998 * stdio-common/renameat.c (__renameat): Rename from renameat.
8999 Add hidden definition and alias.
9000 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9001 * sysdeps/mach/hurd/renameat.c: Likewise.
9002 * sysdeps/**/libc*.abilist: Add renameat2.
9003
9004 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9005
9006 * posix/bug-regex33.c: Fix build after regex sync.
9007
9008 2018-07-04 Carlos O'Donell <carlos@redhat.com>
9009
9010 [BZ #23164]
9011 * localedata/tst-langinfo-setlocale.c: New file.
9012 * localedata/tst-langinfo-setlocale-static.c: New file.
9013 * localedata/tst-langinfo-newlocale.c: New file.
9014 * localedata/tst-langinfo-newlocale-static.c: New file.
9015 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9016 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9017 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9018 (tests-static): Remove tst-langinfo-static. Add
9019 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9020 (tests-special): Remove $(objpfx)tst-langinfo.out,
9021 $(objpfx)tst-langinfo-static.out. Add
9022 $(objpfx)tst-langinfo-setlocale.out,
9023 $(objpfx)tst-langinfo-newlocale.out,
9024 $(objpfx)tst-langinfo-setlocale-static.out,
9025 $(objpfx)tst-langinfo-newlocale-static.out.
9026 ($(objpfx)tst-langinfo.out): Remove.
9027 ($(objpfx)tst-langinfo-static.out): Remove.
9028 ($(objpfx)tst-langinfo-newlocale.out): New target.
9029 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9030 (test-xfail-tst-langinfo-newlocale-static): Add.
9031 ($(objpfx)tst-langinfo-setlocale.out): New target.
9032 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9033 * localedata/tst-langinfo.c: Call test_locale.
9034 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
9035 data.
9036
9037 2018-07-04 Florian Weimer <fweimer@redhat.com>
9038
9039 testrun.sh: Implement --tool=strace, --tool=valgrind
9040 * Makefile (testrun-script): Define variable.
9041 (testrun.sh): Use variable.
9042 * manual/install.texi (Tools for Compilation): make 4.0 or later
9043 is required.
9044 * configure.ac: Check for make 4.0 or later.
9045 * INSTALL: Regenerate.
9046 * configure: Likewise.
9047
9048 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9049
9050 [BZ #23233]
9051 [BZ #21163]
9052 [BZ #18986]
9053 [BZ #13762]
9054 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
9055 * posix/PCRE.tests: Remove invalid test.
9056 * posix/bug-regex28.c: Fix expected values for used syntax.
9057 * posix/bug-regex37.c: New file.
9058 * posix/bug-regex38.c: Likewise.
9059 * posix/regcomp.c: Sync with gnulib.
9060 * posix/regex.c: Likewise.
9061 * posix/regex.h: Likewise.
9062 * posix/regex_internal.c: Likewise.
9063 * posix/regex_internal.h: Likewise.
9064 * posix/regexec.c: Likewise.
9065
9066 2018-06-26 Mike FABIAN <mfabian@redhat.com>
9067
9068 [BZ #23308]
9069 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9070 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9071 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9072 * localedata/unicode-gen/PropList.txt: likewise.
9073 * localedata/unicode-gen/UnicodeData.txt: likewise.
9074 * localedata/charmaps/UTF-8: Regenerate.
9075 * localedata/locales/i18n_ctype: likewise.
9076 * localedata/locales/tr_TR: likewise.
9077 * localedata/locales/translit_circle: likewise.
9078 * localedata/locales/translit_cjk_compat: likewise.
9079 * localedata/locales/translit_combining: likewise.
9080 * localedata/locales/translit_compat: likewise.
9081 * localedata/locales/translit_font: likewise.
9082 * localedata/locales/translit_fraction: likewise.
9083
9084 2018-07-03 Florian Weimer <fweimer@redhat.com>
9085
9086 [BZ #23363]
9087 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9088 * stdio-common/tst-printf.sh: Adjust expected output.
9089 * LICENSES: Update.
9090
9091 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9092
9093 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9094 symbol.
9095
9096 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9097
9098 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9099 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9100 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9101 * stdio-common/tst-printfsz-islongdouble.c: New file.
9102 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9103 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9104 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9105 [subdir == stdio-common] (tests-internal): Add
9106 test-printf-size-ieee128, and test-printf-size-ibm128.
9107 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9108 (CFLAGS-test-printf-size-ibm128.c): New variables.
9109 [subdir == stdio-common] (tests-special): Add
9110 $(objpfx)test-printf-size-ieee128.out and
9111 $(objpfx)test-printf-size-ibm128.out.
9112 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9113 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9114 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9115 __printf_sizeieee128.
9116 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9117 New file.
9118 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9119 Likewise.
9120 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9121 Likewise.
9122
9123 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9124
9125 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9126 (exp2f_inline): Likewise.
9127 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9128 (__math_uflowf): Likewise.
9129 (__math_may_uflowf): Likewise.
9130 (__math_divzerof): Likewise.
9131 (__math_invalidf): Likewise.
9132 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9133 (__math_oflowf): Likewise.
9134 (__math_uflowf): Likewise.
9135 (__math_may_uflowf): Likewise.
9136 (__math_divzerof): Likewise.
9137 (__math_invalidf): Likewise.
9138
9139 2018-06-29 DJ Delorie <dj@redhat.com>
9140 Carlos O'Donell <carlos@redhat.com>
9141
9142 [BZ #23329]
9143 * include/libc-symbols.h: Comment the freeres framework.
9144 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9145 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9146 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9147 * dlfcn/dlerror.c: Include libc-symbols.h
9148 (__dlerror_main_freeres): New function.
9149 * dlfcn/dlfreeres.c: New file.
9150 * dlfcn/sdlfreeres.c: New file.
9151 * include/dlfcn.h: Declare __dlerror_main_freeres.
9152 * malloc/set-freeres.c: Declare __libdl_freeres, and
9153 __libpthread_freeres.
9154 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9155 the releavant libraries are loaded.
9156 * malloc/thread-freeres.c: Add comments.
9157 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9158 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9159 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9160 (__free_stacks): Rename to...
9161 (free_stacks): ...this. Mark static.
9162 (queue_stack): Call free_stacks.
9163 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9164 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9165 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9166 ptr_freeres element from struct.
9167 (pthread_functions): Remove .ptr_freeres from struct initializer.
9168 [SHARED] (nptl_freeres): Remove.
9169 * nptl/nptlfreeres.c: New file.
9170 * nptl/pthreadP.h
9171 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9172 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9173 attribute_hidden.
9174 (__free_stacks): Rename to...
9175 (__nptl_stacks_freeres): ...this.
9176 (__shm_directory_freeres): Declare.
9177 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9178 (__nptl_unwind_freeres): ...this.
9179 * resolv/res-close.c: Add comment.
9180 * resolv/resolv_conf.c: Include libc-symbols.h.
9181 * string/strerror_l.c: Include libc-symbols.h.
9182 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9183 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9184 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9185 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9186
9187 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9188
9189 * stdlib/tst-strfmon_l.c: Add tests for long double.
9190
9191 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
9192
9193 [BZ #23208]
9194 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9195 * localedata/locales/dsb_DE: New file.
9196
9197 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9198
9199 [BZ #23140]
9200 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9201 genitive case).
9202 (alt_mon): New entry, import from CLDR (nominative case).
9203
9204 2018-06-29 Sylvain Lesage <severo@rednegra.net>
9205
9206 [BZ #22996]
9207 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9208
9209 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9210
9211 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9212 Use vector registers.
9213
9214 * sysdeps/aarch64/multiarch/memmove_falkor.S
9215 (__memcpy_falkor): Use vector registers.
9216
9217 2018-06-29 Martin Sebor <msebor@redhat.com>
9218
9219 * manual/stdio.texi (Customizing Printf): Mention interaction
9220 with GCC built-ins.
9221
9222 2018-06-29 Maciej W. Rozycki <macro@mips.com>
9223
9224 [BZ #23307]
9225 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9226 `st_value' is 0 if `st_shndx' is SHN_ABS.
9227 * elf/tst-absolute-zero.c: New file.
9228 * elf/tst-absolute-zero-lib.c: New file.
9229 * elf/tst-absolute-zero-lib.lds: New file.
9230 * elf/Makefile (tests): Add `tst-absolute-zero'.
9231 (modules-names): Add `tst-absolute-zero-lib'.
9232 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9233 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9234 ($(objpfx)tst-absolute-zero: New dependency.
9235
9236 2018-06-29 Zack Weinberg <zackw@panix.com>
9237
9238 * configure.ac: New command-line option --disable-crypt.
9239 Force --disable-nss-crypt when --disable-crypt is given, with a
9240 warning if it was explicitly enabled.
9241 * configure: Regenerate.
9242 * config.make.in: New boolean substitution variable $(build-crypt).
9243 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9244 when $(build-crypt).
9245 * manual/install.texi: Document --disable-crypt.
9246 * INSTALL: Regenerate.
9247
9248 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9249 which is never set.
9250 * conform/Makefile: Only include libcrypt.a in
9251 linknamespace-libs-xsi and linknamespace-libs-XPG4
9252 when $(build-crypt).
9253 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9254 USE_CRYPT to 1 when $(build-crypt).
9255 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9256 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9257 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9258
9259 2018-06-29 Zack Weinberg <zackw@panix.com>
9260
9261 * crypt/crypt.h, posix/unistd.h: Update comments and
9262 prototypes for crypt and crypt_r.
9263
9264 * manual/crypt.texi (Cryptographic Functions): New initial
9265 exposition.
9266 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9267 (Unpredictable Bytes): Improve initial exposition. Clarify error
9268 behavior of getentropy and getrandom.
9269 * manual/examples/genpass.c: Generate a salt using getentropy
9270 instead of the current time. Use hash $5$ (SHA-2-256).
9271 * manual/examples/testpass.c: Demonstrate validation against
9272 hashes generated with three different one-way functions.
9273
9274 * manual/intro.texi: crypt.texi does not need an overview
9275 anymore.
9276
9277 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9278 * manual/terminal.texi: Consistently refer to "passphrases"
9279 * instead of "passwords", and to the "user database" instead
9280 * of the "password database".
9281 * manual/users.texi: Similarly. Add notes about how actual
9282 passphrase hashes are now stored in the shadow database.
9283 Remove 20-year-old junk todo note.
9284
9285 2018-06-29 Zack Weinberg <zackw@panix.com>
9286
9287 * manual/crypt.texi: Use a normal top-level @node declaration.
9288 Move most of the introductory text to the 'crypt' section.
9289 Move the example programs below the @deftypefun for 'crypt_r'.
9290 Move the 'getpass' section...
9291 * manual/terminal.texi: ...here.
9292
9293 2018-06-29 Zack Weinberg <zackw@panix.com>
9294 Florian Weimer <fweimer@redhat.com>
9295
9296 * posix/unistd.h: Do not declare encrypt.
9297 (_XOPEN_CRYPT): Remove macro definition.
9298 (crypt): Declare only for _USE_MISC.
9299 * stdlib/stdlib.h: Do not declare setkey.
9300 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9301 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9302
9303 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9304 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9305 into compat symbols. Don't define initial_perm if it's not
9306 going to be used.
9307 * crypt/cert.c: Link explicitly with the expected versions for
9308 setkey and encrypt. If they are not available at all, mark
9309 the test as unsupported.
9310
9311 * sunrpc/des_crypt.c: Unconditionally block linkage with
9312 cbc_crypt and ecb_crypt for new binaries.
9313 * sunrpc/des_soft.c: Unconditionally block linkage with
9314 des_setparity for new binaries.
9315
9316 * manual/crypt.texi: Remove the entire "DES Encryption"
9317 section. Also remove the paragraph talking about FIPS 140-2
9318 from the introduction.
9319 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9320 of libgcrypt for "real" encryption, not DES.
9321 * manual/conf.texi (Constants for Sysconf): Mention that
9322 _XOPEN_CRYPT is no longer impelemented.
9323
9324 * conform/data/unistd.h-data: Remove crypt function declaration.
9325
9326 2018-06-29 Florian Weimer <fweimer@redhat.com>
9327
9328 [BZ #23351]
9329 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9330 (disallow_malloc_check): Remove variable.
9331 (__malloc_check_init): Adjust.
9332 (malloc_set_state): Update comment.
9333 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9334 declarations.
9335
9336 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9337
9338 [BZ #23140]
9339 * localedata/locales/ast_ES (mon): Rename to...
9340 (alt_mon): This.
9341 (mon): Import from CLDR (genitive case).
9342
9343 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9344 Jakub Sitnicki <jkbs@redhat.com>
9345
9346 [BZ #21812]
9347 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9348 on NLM_F_DUMP_INTR.
9349
9350 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9351
9352 * manual/llio.texi: Remove spurious space.
9353
9354 2018-06-28 Florian Weimer <fweimer@redhat.com>
9355
9356 [BZ #23349]
9357 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9358 _STRUCT_TIMESPEC.
9359
9360 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9361
9362 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9363 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9364 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9365 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9366 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9367 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9368 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9369
9370 2018-06-27 Maciej W. Rozycki <macro@mips.com>
9371
9372 [BZ #23266]
9373 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9374 Copy and null-terminate entries that are not terminated, in
9375 addition to empty ones.
9376
9377 2018-06-27 Florian Weimer <fweimer@redhat.com>
9378
9379 [BZ #18023]
9380 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9381 (extend_alloca_account): Remove.
9382 * manual/stdio.texi (Variable Arguments Output): Update comment.
9383
9384 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9385
9386 * nptl/sockperf.c: Remove file.
9387
9388 2018-06-27 Florian Weimer <fweimer@redhat.com>
9389
9390 [BZ #18023]
9391 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9392 scratch_buffer instead of extend_alloca.
9393
9394 2018-06-27 Florian Weimer <fweimer@redhat.com>
9395
9396 [BZ #18023]
9397 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9398 scratch_buffer instead of extend_alloca. Update comments.
9399
9400 2018-06-27 Florian Weimer <fweimer@redhat.com>
9401
9402 [BZ #18023]
9403 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9404 instead of extend_alloca.
9405
9406 2018-06-26 Joseph Myers <joseph@codesourcery.com>
9407
9408 [BZ #13888]
9409 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9410 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9411 /tmp.
9412 * scripts/test-installation.pl: Put temporary files in build
9413 directory, not /tmp.
9414 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9415 (CFLAGS-bug4.c): Likewise.
9416 (CFLAGS-bug5.c): Likewise.
9417 (CFLAGS-test-fseek.c): Likewise.
9418 (CFLAGS-test-popen.c): Likewise.
9419 (CFLAGS-test_rdwr.c): Likewise.
9420 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9421 /tmp.
9422 * stdio-common/bug4.c (main): Likewise.
9423 * stdio-common/bug5.c (main): Likewise.
9424 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9425 * stdio-common/test-popen.c (do_test): Likewise.
9426 * stdio-common/test_rdwr.c (main): Likewise.
9427
9428 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9429
9430 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9431 (sem_open): Set sem.newsem.pad to zero for valgrind.
9432
9433 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9434
9435 [BZ #20251]
9436 * NEWS: Mention fcntl64 addition.
9437 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9438 * login/utmp_file.c: Likewise.
9439 * sysdeps/posix/fdopendir.c: Likewise.
9440 * sysdeps/posix/opendir.c: Likewise.
9441 * sysdeps/unix/pt-fcntl.c: Likewise.
9442 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9443 __fcntl64_nocancel_adjusted): New prototype.
9444 (__fcntl_nocancel_adjusted): Remove prototype.
9445 * io/Makefile (routines): Add fcntl64.
9446 (CFLAGS-fcntl64.c): New rule.
9447 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9448 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9449 * io/fcntl.h (fcntl64): Add prototype and redirect if
9450 __USE_FILE_OFFSET64 is defined.
9451 * io/fcntl64.c: New file.
9452 * manual/llio.text: Add a note for which commands fcntl acts a
9453 cancellation point.
9454 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9455 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9456 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9457 New symbols.
9458 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9459 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9460 non-LFS case.
9461 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9462 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9463 to __fcntl64_nocancel.
9464 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9465 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9466 to __fcntl64_nocancel.
9467 * sysdeps/generic/not-cancel.h: Likewise.
9468 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9469 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9470 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9471 (fcntl64): New symbol.
9472 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9473 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9474 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9477 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9478 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9479 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9480 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9481 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9482 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9483 fcntl64): Likewise.
9484 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9485 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9486 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9487 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9488 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9489 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9490 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9491 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9492 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9494 Likewise.
9495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9496 Likewise.
9497 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9498 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9499 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9500
9501 2018-06-26 Florian Weimer <fweimer@redhat.com>
9502
9503 Run thread shutdown functions in an explicit order.
9504 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9505 definition.
9506 (__libc_thread_freeres): Call thread shutdown functions
9507 explicitly.
9508 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9509 * include/string.h (__strerror_thread_freeres): Declare.
9510 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9511 arena_thread_freeres. No longer static. Remove thread shutdown
9512 hook registration.
9513 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9514 Declare.
9515 * resolv/res-close.c (__res_thread_freeres): Renamed from
9516 res_thread_freeres. No longer static. Remove thread shutdown
9517 hook registration.
9518 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9519 * resolv/resolv_conf.c (freeres): Remove incorrect section
9520 attribute and use libc_freeres_fn.
9521 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9522 strerror_thread_freeres. No longer static. Remove thread
9523 shutdown hook registration.
9524 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9525 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9526 shutdown hook registration.
9527 * Makerules (shlib.lds): Do not provide section boundary symbols
9528 for __libc_thread_subfreeres.
9529 * manual/memory.texi (Basic Allocation): Update comment.
9530
9531 2018-06-26 Florian Weimer <fweimer@redhat.com>
9532
9533 Remove always-defined _RPC_THREAD_SAFE_ macro.
9534 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9535 Do not define _RPC_THREAD_SAFE_.
9536 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9537 conditional.
9538 * sunrpc/clnt_perr.c: Likewise.
9539 * sunrpc/clnt_raw.c: Likewise.
9540 * sunrpc/clnt_simp.c: Likewise.
9541 * sunrpc/key_call.c: Likewise.
9542 * sunrpc/rpc_common.c: Likewise.
9543 * sunrpc/rpc_main.c: Likewise.
9544 * sunrpc/rpc_thread.c: Likewise.
9545 * sunrpc/svc.c: Likewise.
9546 * sunrpc/svc_raw.c: Likewise.
9547 * sunrpc/svc_simple.c: Likewise.
9548 * sumrpc/svcauth_des.c: Likewise.
9549
9550 2018-06-26 Florian Weimer <fweimer@redhat.com>
9551
9552 * libio/Makefile (tests-internal): Add tst-vtables,
9553 tst-vtables-interposed.
9554 * libio/tst-vtables.c: New file.
9555 * libio/tst-vtables-common.c: Likewise.
9556 * libio/tst-vtables-interposed.c: Likewise.
9557
9558 2018-06-26 Florian Weimer <fweimer@redhat.com>
9559
9560 * support/support_test_main.c (support_test_main): Only call
9561 setvbuf if not disables.
9562 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9563 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9564
9565 2018-06-26 Florian Weimer <fweimer@redhat.com>
9566
9567 [BZ #23313]
9568 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9569
9570 2018-06-25 Florian Weimer <fweimer@redhat.com>
9571
9572 [BZ #18023]
9573 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9574 Use struct scratch_buffer instead of extend_alloca.
9575
9576 2018-06-25 Florian Weimer <fweimer@redhat.com>
9577
9578 [BZ #18023]
9579 * nss/getent.c (initgroups_keys): Use dynarray instead of
9580 extend_alloca.
9581
9582 2018-06-25 Florian Weimer <fweimer@redhat.com>
9583
9584 [BZ #18023]
9585 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9586 Use struct scratch_buffer instead of extend_alloca.
9587
9588 2018-06-25 Florian Weimer <fweimer@redhat.com>
9589
9590 [BZ #18023]
9591 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9592 back to malloc directly, without stack allocations.
9593
9594 2018-06-25 Florian Weimer <fweimer@redhat.com>
9595
9596 [BZ #18023]
9597 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9598 of extend_alloca.
9599
9600 2018-06-25 Florian Weimer <fweimer@redhat.com>
9601
9602 [BZ #18023]
9603 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9604 of extend_alloca.
9605 * nscd/hstcache.c (addhstbyX): Likewise.
9606 * nscd/pwdcache.c (addpwbyX): Likewise.
9607 * nscd/servicescache.c (addservbyX): Likewise.
9608
9609 2018-06-25 Florian Weimer <fweimer@redhat.com>
9610
9611 [BZ #18023]
9612 * nscd/connections.c (read_cmdline): New function.
9613 (restart): Use it. Update comment.
9614
9615 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9616
9617 [BZ #23140]
9618 * localedata/locales/csb_PL (mon): Rename to...
9619 (alt_mon): This.
9620 (abmon): Rename to...
9621 (ab_alt_mon): This.
9622 (mon): Add with proper genitive forms, copy from Wikipedia.
9623 (abmon): Likewise.
9624
9625 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9626
9627 [BZ #19485]
9628 * localedata/locales/csb_PL (mon): Fix typos:
9629 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9630 (yesstr): Add, value is "jo".
9631 (nostr): Add, value is "nié".
9632
9633 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9634
9635 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9636 all log1p and significand functions on m680x0.
9637 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9638 of s_significand.c..
9639 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9640 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9641 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9642 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9643 s_log1p.c and include it..
9644
9645 2018-06-21 Vincent Chen <vincentc@andestech.com>
9646
9647 * elf/elf.h (R_NDS32_NONE): New define.
9648 (R_NDS32_32_RELA): Likewise.
9649 (R_NDS32_COPY): Likewise.
9650 (R_NDS32_GLOB_DAT): Likewise.
9651 (R_NDS32_JUMP_SLOT): Likewise.
9652 (R_NDS32_RELATIVE): Likewise.
9653 (R_NDS32_TLS_TPOFF): Likewise.
9654 (R_NDS32_TLS_DESC): Likewise.
9655
9656 2018-06-21 Mark Wielaard <mark@klomp.org>
9657
9658 * elf/elf.h (R_BPF_MAP_FD): Removed.
9659 (R_BPF_64_64, R_BPF_64_32): New.
9660
9661 2018-06-21 Florian Weimer <fweimer@redhat.com>
9662
9663 [BZ #23253]
9664 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9665 Renamed from libc_feholdsetround_ctx.
9666 (default_libc_feresetround_ctx): Renamed from
9667 libc_feresetround_ctx.
9668 (default_libc_feholdsetround_noex_ctx): Renamed from
9669 libc_feholdsetround_noex_ctx.
9670 (default_libc_feresetround_noex_ctx): Renamed from
9671 libc_feresetround_noex_ctx.
9672 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9673 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9674 forwardning to the old implementations under the new names.
9675 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9676 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9677 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9678 (libc_feresetround_ctx): Forward to default implements for i386
9679 and MATH_SET_BOTH_ROUNDING_MODES.
9680 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9681 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9682
9683 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9684
9685 * string/tst-cmp.c: Include <libc-diag.h>.
9686 (strncmp_max): Disable -Wstringop-overflow= around call to
9687 strncmp.
9688 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9689 strncasecmp.
9690
9691 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9692 (main): Disable -Wunused-value around call to strpbrk.
9693 * string/bug-strspn1.c: Include <libc-diag.h>.
9694 (main): Disable -Wunused-value around call to strspn.
9695
9696 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9697 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9698
9699 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9700 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9701
9702 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9703
9704 * math/Makefile (libm-calls): Move s_significandF to...
9705 (gen-libm-calls): ... here.
9706 * math/s_significand_template.c: New file.
9707 * math/s_significand.c: Removed.
9708 * math/s_significandf.c: Removed.
9709 * math/s_significandl.c: Removed.
9710 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9711 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9712
9713 * math/e_exp2_template.c (declare_mgen_finite_alias,
9714 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9715 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9716 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9717
9718 2018-06-20 Florian Weimer <fweimer@redhat.com>
9719
9720 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9721
9722 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9723
9724 [BZ #23280]
9725 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9726 floating-point number to strtod functions rather than possibly
9727 negating result of those functions.
9728 * stdio-common/tst-scanf-round.c: New file.
9729 * stdio-common/Makefile (tests): Add tst-scanf-round.
9730 ($(objpfx)tst-scanf-round): Depend on $(libm).
9731
9732 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9733
9734 * sysdeps/mach/hurd/localplt.data: Move to...
9735 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9736 R_386_GLOB_DAT like on Linux i386.
9737
9738 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9739
9740 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9741 (SHM_STAT_ANY): New macro.
9742 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9743 (SHM_STAT_ANY): Likewise.
9744 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9745 (SHM_STAT_ANY): Likewise.
9746 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9747 (SHM_STAT_ANY): Likewise.
9748 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9749 (SHM_STAT_ANY): Likewise.
9750 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9751 (SHM_STAT_ANY): Likewise.
9752 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9753 (SHM_STAT_ANY): Likewise.
9754 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9755 (SHM_STAT_ANY): Likewise.
9756 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9757 (SHM_STAT_ANY): Likewise.
9758 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9759 (SHM_STAT_ANY): Likewise.
9760 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9761 (SHM_STAT_ANY): Likewise.
9762 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9763 (SHM_STAT_ANY): Likewise.
9764
9765 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9766 (SEM_STAT_ANY): New macro.
9767 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9768 (SEM_STAT_ANY): Likewise.
9769 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9770 (SEM_STAT_ANY): Likewise.
9771 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9772 (SEM_STAT_ANY): Likewise.
9773 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9774 (SEM_STAT_ANY): Likewise.
9775 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9776 (SEM_STAT_ANY): Likewise.
9777 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9778 (SEM_STAT_ANY): Likewise.
9779 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9780 (SEM_STAT_ANY): Likewise.
9781 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9782 (SEM_STAT_ANY): Likewise.
9783 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9784 (SEM_STAT_ANY): Likewise.
9785
9786 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9787 (MSG_STAT_ANY): New macro.
9788 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9789 (MSG_STAT_ANY): Likewise.
9790 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9791 (MSG_STAT_ANY): Likewise.
9792 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9793 (MSG_STAT_ANY): Likewise.
9794 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9795 (MSG_STAT_ANY): Likewise.
9796 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9797 (MSG_STAT_ANY): Likewise.
9798 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9799 (MSG_STAT_ANY): Likewise.
9800 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9801 (MSG_STAT_ANY): Likewise.
9802 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9803 (MSG_STAT_ANY): Likewise.
9804 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9805 (MSG_STAT_ANY): Likewise.
9806
9807 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9808 (MAP_TYPE): Change value to 0x2b.
9809
9810 2018-06-18 Florian Weimer <fweimer@redhat.com>
9811
9812 [BZ #15722]
9813 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9814 socket with SOCK_CLOEXEC.
9815
9816 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9817
9818 [BZ #23303]
9819 * sysdeps/powerpc/powerpc64/le/Makefile
9820 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9821 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9822 (gnulib-tests): Also add $(f128-loader-link) for
9823 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9824
9825 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9826
9827 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9828 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9829 of sendfile.
9830 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9831 (sendfile64): New strong alias.
9832 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9833 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9834 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9835 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9836 attribute.
9837 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9838 ___pthread_get_cleanup_stack.
9839 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9840 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9841 * mach/shortcut.awk: Make syscall stubs include
9842 <mach-shortcuts-hidden.h> and add hidden definition.
9843 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9844 (__mach_msg): Add hidden prototype.
9845 * mach/msg.c: Include <mach.h>.
9846 (__mach_msg): Add hidden definition.
9847 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9848 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9849 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9850 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9851 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9852 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9853 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9854 prototype and definition.
9855 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9856 hidden target for _hurd_self_sigstate.
9857
9858 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9859
9860 [BZ #23007]
9861 * stdlib/tst-strtod-nan-sign-main.c: New file.
9862 * stdlib/tst-strtod-nan-sign.c: Likewise.
9863 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9864 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9865 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9866 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9867 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9868
9869 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9870
9871 [BZ #23007]
9872 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9873 appropriate sign.
9874
9875 2018-06-14 Florian Weimer <fweimer@redhat.com>
9876
9877 [BZ #23290]
9878 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9879 that the result stays within the ISO-8859-1 range.
9880 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9881 characters are defined in IBM273.
9882
9883 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9884
9885 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9886 __mach_task_self): Remove attribute_hidden.
9887
9888 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9889
9890 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9891 ignore -Wrestrict for one test.
9892
9893 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9894 Szabolcs Nagy <szabolcs.nagy@arm.com>
9895
9896 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9897
9898 2018-06-14 Florian Weimer <fweimer@redhat.com>
9899
9900 * scripts/update-abilist.sh: Accept empty list of files to patch.
9901
9902 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9903
9904 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9905 test-xfail-check-abi-libmachuser): Add.
9906 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9907 __libc_read and __libc_write to __read and __write.
9908 * sysdeps/hurd/include/hurd/port.h: New file.
9909 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9910 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9911 __thread_switch, __evc_wait): Move declarations to...
9912 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9913 attribute_hidden.
9914 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9915 use PLT to call _hurd_self_sigstate.
9916
9917 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9918
9919 [BZ #23279]
9920 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9921 MAX_EXP as overflowing.
9922 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9923 overflow flag.
9924 (round_str): Output also whether result overflows in each rounding
9925 mode.
9926 * stdlib/tst-strtod-round-data: Add more tests.
9927 * stdlib/tst-strtod-round-data.h: Regenerated.
9928 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9929 (TEST): Handle extra arguments for overflow flags.
9930 (struct test_overflow): New type.
9931 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9932 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9933 (test_in_one_mode): Take argument with overflow information.
9934 (do_test): Update calls to test_in_one_mode.
9935
9936 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9937
9938 * elf/dl-load (_dl_dst_substitute): Correct comment.
9939 (_dl_dst_count): Likewise.
9940
9941 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9942 lll_futex_timed_wait.
9943
9944 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9945
9946 [BZ #23277]
9947 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9948 attribute.
9949 * math/test-nan-const.c: New file.
9950 * math/Makefile (tests): Add test-nan-const.
9951 (CFLAGS-test-nan-const.c): New variable.
9952
9953 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9954
9955 * benchtests/scripts/compare_strings.py (process_results): Add
9956 funcs argument. Compare only functions which are selected.
9957 (main): Check if base function is among selected functions.
9958 Pass selected functions to process_results.
9959 (__main__): Add -f/--functions argument.
9960
9961 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9962 Hongbo Zhang <hongbo.zhang@linaro.org>
9963
9964 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9965 __memcpy_falkor for phecda core.
9966 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9967 __memmove_falkor for phecda core.
9968 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9969 __memset_falkor for phecda core.
9970 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9971 for phecda core.
9972 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9973 macro to identify phecda core.
9974
9975 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9976 Andreas Schwab <schwab@suse.de>
9977 Dmitry V. Levin <ldv@altlinux.org>
9978 Florian Weimer <fweimer@redhat.com>
9979
9980 [BZ #23102]
9981 [BZ #21942]
9982 [BZ #18018]
9983 [BZ #23259]
9984 CVE-2011-0536
9985 * elf/dl-dst.h: Remove DL_DST_COUNT.
9986 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9987 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9988 (is_dst): Comment. Support ELF gABI.
9989 (_dl_dst_count): Comment. Simplify and count DSTs.
9990 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9991 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9992 locals.
9993
9994 2018-06-12 Zack Weinberg <zackw@panix.com>
9995
9996 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9997 * sysdeps/unix/sysv/linux/dl-sysdep.c
9998 Include not-cancel.h. Use __close_nocancel instead of __close,
9999 __open64_nocancel instead of __open, __read_nocancel instead of
10000 __libc_read, and __write_nocancel instead of __libc_write.
10001
10002 * csu/check_fds.c (check_one_fd)
10003 * sysdeps/posix/fdopendir.c (__fdopendir)
10004 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10005 instead of __fcntl and/or __libc_fcntl.
10006
10007 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10008 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10009 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10010 Use __open64_nocancel instead of __open_nocancel.
10011
10012 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10013 hidden_proto declarations to the end and issue them if either
10014 IS_IN(libc) or IS_IN(rtld).
10015 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10016 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10017 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10018 read_nocancel, waitpid_nocancel, write_nocancel.
10019
10020 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10021 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10022 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10023
10024 * nptl/pt-fcntl.c: New file.
10025 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10026 (libpthread-routines): Add pt-fcntl.
10027 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10028 (__libc_fcntl): Remove attribute_hidden.
10029 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10030 __fcntl_nocancel_adjusted, not fcntl_common.
10031 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10032 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10033 to fcntl_nocancel.c.
10034 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
10035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
10036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10037 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
10038
10039 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
10040 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
10041 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
10042 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
10043 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
10044 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
10045 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
10046 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
10047 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
10048 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
10049 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
10050 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
10051 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
10052 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
10053 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
10054 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
10055 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
10056 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
10057 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10058 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10059
10060 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10061 libpthread-routines.
10062 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10063 defines nothing.
10064
10065 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10066 __libc_read, and __write instead of __libc_write. Define
10067 __open64 in addition to __open.
10068
10069 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10070
10071 [BZ #23250]
10072 [BZ #10686]
10073 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10074 to _private_tm[3] and add __glibc_reserved2.
10075 Add _Static_assert of offset of __private_ss == 0x30.
10076 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10077 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10078
10079 2018-06-12 Florian Weimer <fweimer@redhat.com>
10080
10081 x86: Make strncmp usable from rtld.
10082 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10083 __strncmp_ia32 if in libc (and not in rtld).
10084 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10085 strncmp if not in libc (and not to __strncmp_sse2).
10086
10087 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10088
10089 [BZ #23140]
10090 * localedata/locales/gd_GB (mon): Rename to...
10091 (alt_mon): This.
10092 (mon): Import from CLDR (genitive case).
10093 * localedata/locales/hsb_DE (mon): Rename to...
10094 (alt_mon): This.
10095 (mon): Import from CLDR (genitive case).
10096 * localedata/locales/wa_BE (mon): Rename to...
10097 (alt_mon): This.
10098 (mon): Add, fill with the proper genitive forms, but CLDR data
10099 is incomplete; completed according to the comments in this file.
10100 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10101
10102 * localedata/locales/wa_BE (country_name): Reword
10103 "Beljike" -> "Beldjike".
10104
10105 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10106
10107 [BZ #23272]
10108 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10109 cases of non-finite arguments.
10110 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10111
10112 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10113
10114 [BZ #23174]
10115 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10116
10117 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10118
10119 [BZ #23264]
10120 * include/unistd.h (__execvpex): New prototype.
10121 * posix/Makefile (tests): Add tst-spawn4.
10122 (tests-internal): Add tst-spawn4-compat.
10123 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10124 * posix/tst-spawn4-compat.c: New file.
10125 * posix/tst-spawn4.c: Likewise.
10126 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10127 binaries as shell scripts.
10128 * sysdeps/posix/spawni.c (__spawni): Likewise.
10129
10130 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10131
10132 [BZ #23145]
10133 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10134 ($(all-built-dso:=.dynsym): New target.
10135 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10136 ($(objpfx)check-initfini.out): New target.
10137 (generated): Add check-initfini.out.
10138 * scripts/check-initfini.awk: New file.
10139 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10140 (_fini): Likewise.
10141 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10142 (_fini): Likewise.
10143 * sysdeps/arm/crti.S (_init): Mark as hidden.
10144 (_fini): Likewise.
10145 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10146 (_fini): Likewise.
10147 * sysdeps/i386/crti.S (_init): Mark as hidden.
10148 (_fini): Likewise.
10149 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10150 (_fini): Likewise.
10151 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10152 (_fini): Likewise.
10153 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10154 (_fini): Likewise.
10155 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10156 (_fini): Likewise.
10157 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10158 (_fini): Likewise.
10159 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10160 (_fini): Likewise.
10161 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10162 (_fini): Likewise.
10163 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10164 (_fini): Likewise.
10165 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10166 (_fini): Likewise.
10167 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10168 (_fini): Likewise.
10169 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10170 (_fini): Likewise.
10171 * sysdeps/sh/crti.S (_init): Mark as hidden.
10172 (_fini): Likewise.
10173 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10174 (_fini): Likewise.
10175 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10176 (_fini): Likewise.
10177
10178 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10179
10180 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10181 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10182 and TF redirection to KFtype and KF only when the default
10183 long double type is not the IEEE 128-bit floating point type.
10184
10185 2018-06-05 Joseph Myers <joseph@codesourcery.com>
10186
10187 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10188 macro.
10189 (HWCAP_USCAT): Likewise.
10190 (HWCAP_ILRCPC): Likewise.
10191 (HWCAP_FLAGM): Likewise.
10192 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10193 Increase to 28.
10194 (_dl_aarch64_cap_flags): Add new flag names.
10195
10196 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10197 (MAP_FIXED_NOREPLACE): New macro.
10198 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10199 (MAP_FIXED_NOREPLACE): Likewise.
10200 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10201 (MAP_FIXED_NOREPLACE): Likewise.
10202 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10203 (MAP_FIXED_NOREPLACE): Likewise.
10204 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10205 (MAP_FIXED_NOREPLACE): Likewise.
10206 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10207 (MAP_FIXED_NOREPLACE): Likewise.
10208 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10209 (MAP_FIXED_NOREPLACE): Likewise.
10210 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10211 (MAP_FIXED_NOREPLACE): Likewise.
10212 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10213 (MAP_FIXED_NOREPLACE): Likewise.
10214 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10215 (MAP_FIXED_NOREPLACE): Likewise.
10216 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10217 (MAP_FIXED_NOREPLACE): Likewise.
10218 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10219 (MAP_FIXED_NOREPLACE): Likewise.
10220 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10221 (MAP_FIXED_NOREPLACE): Likewise.
10222 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10223 (MAP_FIXED_NOREPLACE): Likewise.
10224 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10225 (MAP_FIXED_NOREPLACE): Likewise.
10226
10227 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10228 version to 4.17.
10229
10230 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10231
10232 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10233 version to 4.17
10234
10235 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10236
10237 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10238 int.
10239 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10240
10241 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10242
10243 * benchtests/scripts/compare_string.py: (process_results) Catch
10244 exception in non-existent base_func and catch exception in
10245 non-existent attribute.
10246 (parse_file) Catch exception if input file does not exist.
10247
10248 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10249
10250 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10251 options to avoid diff calculation and omit header, respectively.
10252 (main): process --no-diff and --no-header
10253
10254 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10255 H.J. Lu <hongjiu.lu@intel.com>
10256
10257 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10258 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10259 wcsncmp-sse2.
10260 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10261 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10262 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10263 and __wcsncmp_sse2.
10264 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10265 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10266 AVX unaligned load is fast and vzeroupper is preferred.
10267 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10268 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10269 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10270 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10271 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10272 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10273 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10274 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10275 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10276 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10277 is undefined.
10278
10279 2018-06-01 Florian Weimer <fweimer@redhat.com>
10280
10281 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10282 configuring with --disable-multi-arch, building with
10283 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10284 Haswell-era CPU.
10285
10286 2018-06-01 Florian Weimer <fweimer@redhat.com>
10287
10288 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10289 results from building with “-march=x86-64 -mtune=generic
10290 -mfpmath=sse” and running on a Haswell-era CPU.
10291
10292 2018-06-01 Joseph Myers <joseph@codesourcery.com>
10293
10294 [BZ #18473]
10295 * soft-fp/sqrttf2.c: Remove file.
10296 * soft-fp/sqrtdf2.c: Move to ....
10297 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10298 <shlib-compat.h>.
10299 (__sqrtdf2): Make conditional on
10300 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10301 symbol.
10302 * soft-fp/sqrtsf2.c: Move to ....
10303 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10304 <shlib-compat.h>.
10305 (__sqrtsf2): Make conditional on
10306 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10307 symbol.
10308 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10309 (gcc-double-routines): Remove sqrtdf2.
10310 (gcc-quad-routines): Remove sqrttf2.
10311 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10312 Do not filter out sqrtsf2 and sqrtdf2.
10313 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10314 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10315
10316 2018-06-01 Florian Weimer <fweimer@redhat.com>
10317
10318 * sysdeps/generic/libcidn.abilist: Remove file.
10319
10320 2018-06-01 Florian Weimer <fweimer@redhat.com>
10321
10322 [BZ #23236]
10323 * libio/strfile.h (struct _IO_str_fields): Rename members to
10324 discourage their use and add comment.
10325 (_IO_STR_DYNAMIC): Remove unused macro.
10326 * libio/strops.c (_IO_str_init_static_internal): Do not use
10327 callback pointers. Call malloc and free.
10328 (_IO_str_overflow): Do not use callback pointers. Call malloc
10329 and free.
10330 (enlarge_userbuf): Likewise.
10331 (_IO_str_finish): Call free.
10332 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10333 _allocate_buffer_unused.
10334 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10335 and free.
10336 (enlarge_userbuf): Likewise.
10337 (_IO_wstr_finish): Call free.
10338 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10339 _allocate_buffer_unused, _free_buffer_unused.
10340 * libio/memstream.c (__open_memstream): Likewise.
10341 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10342 * libio/wmemstream.c (open_wmemstream): Likewise.
10343
10344 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10345
10346 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10347 AMD Ryzen 7 1800X.
10348
10349 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10350
10351 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10352 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10353 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10354 New file.
10355 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10356 Likewise.
10357 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10358
10359 2018-05-29 Florian Weimer <fweimer@redhat.com>
10360
10361 * support/Makefile (libsupport-routines): Add
10362 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10363 xpthread_barrierattr_setpshared.
10364 * support/xpthread_barrierattr_destroy.c: New file.
10365 * support/xpthread_barrierattr_init.c: Likewise.
10366 * support/xpthread_barrierattr_setpshared.c: Likewise.
10367
10368 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10369
10370 [BZ #23206]
10371 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10372 _r_debug and update DT_DEBUG for debugger.
10373
10374 2018-05-29 Florian Weimer <fweimer@redhat.com>
10375
10376 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10377 (tst-strtod5i.out): Likewise.
10378
10379 2018-05-25 Joseph Myers <joseph@codesourcery.com>
10380
10381 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10382 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10383 (sparc64-quad-routines): New variable. Moved from ....
10384 [$(subdir) = soft-fp] (sysdep_routines): Add
10385 $(sparc64-quad-routines). Moved from ....
10386 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10387 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10388 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10389 moved from ....
10390 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10391 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10392 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10393 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10394 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10395 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10396 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10397 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10398 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10399 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10400 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10401 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10402 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10403 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10404 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10405 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10406 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10407 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10408 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10409 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10410 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10411 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10412 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10413 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10414 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10415 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10416 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10417 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10418 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10419 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10420 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10421 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10422 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10423 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10424 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10425 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10426 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10427 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10428 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10429 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10430 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10431 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10432 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10433 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10434 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10435 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10436 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10437 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10438 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10439 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10440 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10441 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10442 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10443 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10444 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10445 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10446 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10447 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10448
10449 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10450 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10451 (sparc32-quad-routines): New variable. Moved from ....
10452 [$(subdir) = soft-fp] (sysdep_routines): Add
10453 $(sparc32-quad-routines). Moved from ....
10454 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10455 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10456 moved from ....
10457 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10458 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10459 * sysdeps/sparc/sparc32/q_add.c: ... here.
10460 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10461 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10462 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10463 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10464 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10465 * sysdeps/sparc/sparc32/q_div.c: ... here.
10466 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10467 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10468 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10469 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10470 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10471 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10472 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10473 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10474 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10475 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10476 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10477 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10478 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10479 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10480 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10481 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10482 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10483 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10484 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10485 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10486 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10487 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10488 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10489 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10490 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10491 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10492 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10493 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10494 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10495 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10496 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10497 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10498 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10499 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10500 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10501 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10502 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10503 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10504 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10505 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10506 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10507 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10508 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10509 * sysdeps/sparc/sparc32/q_util.c: ... here.
10510 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10511 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10512 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10513 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10514
10515 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10516 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10517
10518 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10519 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10520 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10521 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10522
10523 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10524
10525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10526 powerpc/soft-fp.
10527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10528 Likewise.
10529 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10530 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10531
10532 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10533
10534 [BZ #23171]
10535 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10536 double version.
10537
10538 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10539
10540 * sysdeps/sh/Implies: Remove sh/soft-fp.
10541 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10542 * sysdeps/sh/sfp-machine.h: ... here.
10543
10544 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10545
10546 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10547 (__mempcpy_erms): Skip zero length.
10548 (__memmove_erms): Likewise.
10549 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10550 (__memset_erms): Likewise.
10551
10552 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10553
10554 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10555 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10556 Add functions moved from ....
10557 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10558 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10559 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10560 from ....
10561 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10562 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10563 * sysdeps/alpha/e_sqrtl.c: ... here.
10564 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10565 * sysdeps/alpha/local-soft-fp.h: ... here.
10566 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10567 * sysdeps/alpha/ots_add.c: ... here.
10568 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10569 * sysdeps/alpha/ots_cmp.c: ... here.
10570 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10571 * sysdeps/alpha/ots_cmpe.c: ... here.
10572 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10573 * sysdeps/alpha/ots_cvtqux.c: ... here.
10574 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10575 * sysdeps/alpha/ots_cvtqx.c: ... here.
10576 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10577 * sysdeps/alpha/ots_cvttx.c: ... here.
10578 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10579 * sysdeps/alpha/ots_cvtxq.c: ... here.
10580 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10581 * sysdeps/alpha/ots_cvtxt.c: ... here.
10582 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10583 * sysdeps/alpha/ots_div.c: ... here.
10584 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10585 * sysdeps/alpha/ots_mul.c: ... here.
10586 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10587 * sysdeps/alpha/ots_nintxq.c: ... here.
10588 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10589 * sysdeps/alpha/ots_sub.c: ... here.
10590 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10591 * sysdeps/alpha/sfp-machine.h: ... here.
10592
10593 2018-05-23 Florian Weimer <fweimer@redhat.com>
10594
10595 [BZ #19728]
10596 [BZ #19729]
10597 [BZ #22247]
10598 CVE-2016-6261
10599 CVE-2016-6263
10600 CVE-2017-14062
10601 Switch to extern IDNA implementation (libidn2).
10602 * libidn: Remove subdirectory.
10603 * LICENSES: Do not mention licensing conditions for the removed
10604 libidn code.
10605 * config.h.in (HAVE_LIBIDN): Remove.
10606 * include/dlfcn.h (__libc_dlopen): Update comment.
10607 * include/idna.h: Remove file.
10608 * inet/Makefile (routines): Add idna.
10609 (tests-static, tests-internal): Add tst-idna_name_classify.
10610 (LOCALES): Generate locales for tests.
10611 (tst-idna_name_classify.out): Depend on generated locales.
10612 * inet/idna_name_classify.c: New file.
10613 * inet/tst-idna_name_classify.c: Likewise.
10614 * inet/net-internal.h (__idna_to_dns_encoding)
10615 (__idna_from_dns_encoding): Declare.
10616 * inet/net-internal.h (enum idna_name_classification): Define.
10617 (__idna_name_classify): Declare.
10618 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10619 __idna_from_dns_encoding.
10620 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10621 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10622 name as a fallback in case of encoding errors.
10623 (getnameinfo): Use DEPRECATED_NI_IDN.
10624 * inet/idna.c: New file.
10625 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10626 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10627 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10628 (modules-names): Add tst-no-libidn2.
10629 (extra-test-objs): Add tst-no-libidn2.os.
10630 (LDFLAGS-tst-no-libidn2.so): Set soname.
10631 (LOCALES): Set, and generate locales.
10632 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10633 (tst-resolv-ai_idn-latin1): Likewise.
10634 (tst-resolv-ai_idn-nolibidn2): Likewise.
10635 (tst-resolv-ai_idn.out): Depend on locales.
10636 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10637 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10638 tst-no-libidn2.so.
10639 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10640 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10641 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10642 * resolv/tst-resolv-ai_idn.c: New file.
10643 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10644 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10645 * resolv/tst-no-libidn2.c: Likewise.
10646 * support/support_format_addrinfo.c (format_ai_flags): Do not
10647 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10648 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10649 (gaih_inet): Call __idna_to_dns_encoding and
10650 __idna_from_dns_encoding, and use the original (punycode) name if
10651 __idna_from_dns_encoding fails due to an encoding error.
10652 (getaddrinfo): Use DEPRECATED_AI_IDN.
10653 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10654 * sysdeps/unix/inet/configure: Remove file.
10655 * sysdeps/unix/inet/configure.ac: Likewise.
10656
10657 2018-05-23 Florian Weimer <fweimer@redhat.com>
10658
10659 Implement allocate_once.
10660 * include/allocate_once.h: New file.
10661 * misc/allocate_once.c: Likewise.
10662 * misc/tst-allocate_once.c: Likewise.
10663 * misc/Makefile (routines): Add allocate_once.
10664 (tests-internal): Add tst-allocate_once.
10665 (generated): Add tst-allocate_once.mtrace,
10666 tst-allocate_once-mem.out.
10667 (tests-special): Add tst-allocate_once-mem.out.
10668 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10669 (tst-allocate_once-mem.out): Call mtrace.
10670 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10671
10672 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10673
10674 [BZ #23196]
10675 * string/test-memcpy.c (do_test1): New function.
10676 (test_main): Call it.
10677
10678 2018-05-23 Andreas Schwab <schwab@suse.de>
10679
10680 [BZ #23196]
10681 CVE-2018-11237
10682 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10683 (L(preloop_large)): Save initial destination pointer in %r11 and
10684 use it instead of %rax after the loop.
10685 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10686
10687 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10688
10689 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10690 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10691 -I../soft-fp. Moved from ....
10692 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10693 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10694 * sysdeps/aarch64/e_sqrtl.c: ... here.
10695 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10696 * sysdeps/aarch64/sfp-machine.h: ... here.
10697
10698 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10699 -Wmaybe-uninitialized around access to fq[0].
10700 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10701 Likewise.
10702
10703 [BZ #18471]
10704 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10705 aliases for non-libc case of versioned symbols.
10706 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10707 (llseek): Define as compat symbol if
10708 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10709 with link warning.
10710 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10711 Make into a compat symbol, disabled for minimum symbol version
10712 GLIBC_2.28 and later.
10713 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10714
10715 2018-05-22 Florian Weimer <fweimer@redhat.com>
10716
10717 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10718 not add -mpreferred-stack-boundary=4.
10719 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10720 (stack-align-test-flags): Likewise.
10721 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10722 Likewise.
10723 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10724 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10725 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10726 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10727 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10728 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10729 (CFLAGS-tst-align2.c): Likewise.
10730
10731 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10732
10733 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10734 (index_arch_Prefer_FSRM): Likewise.
10735 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10736 Also check Prefer_FSRM.
10737 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10738 Also return OPTIMIZE (erms) for Prefer_FSRM.
10739
10740 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10741
10742 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10743 (index_cpu_FSRM): Likewise.
10744 (reg_FSRM): Likewise.
10745
10746 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10747
10748 * math/gen-tgmath-tests.py: Import sys.
10749 (Tests.__init__): Initialize macros_seen.
10750 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10751 if requested to do so for this macro.
10752 (Tests.add_all_tests): Take argument for macro for which to
10753 generate tests.
10754 (Tests.check_macro_list): New function.
10755 (main): Handle check-list argument and argument specifying macro
10756 for which to generate tests.
10757 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10758 [PYTHON] (tgmath3-macro-tests): Likewise.
10759 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10760 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10761 not test-tgmath3.c.
10762 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10763 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10764 to CFLAGS.
10765 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10766 [PYTHON] ($(foreach
10767 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10768 rule.
10769 [PYTHON] (tests-special): Add
10770 $(objpfx)test-tgmath3-macro-list.out.
10771 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10772
10773 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10774 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10775 later.
10776
10777 [BZ #22639]
10778 * time/tzset.c (SECSPERDAY): Cast to time_t.
10779 * time/tst-y2039.c: New file.
10780 * time/Makefile (tests): Add tst-y2039.
10781
10782 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10783
10784 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10785 (PREFETCH_ONE_SET): Remove duplicate line.
10786
10787 2018-05-17 Florian Weimer <fweimer@redhat.com>
10788
10789 * sysdeps/generic/math-type-macros-double.h: Include
10790 <math-nan-payload-double.h> after <libm-alias-double.h>.
10791 * sysdeps/generic/math-type-macros-float.h: Include
10792 <math-nan-payload-float.h> after <libm-alias-float.h>.
10793 * sysdeps/generic/math-type-macros-float128.h: Include
10794 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10795 * sysdeps/generic/math-type-macros-ldouble.h: Include
10796 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10797
10798 2018-05-17 Andreas Schwab <schwab@suse.de>
10799
10800 * resolv/res_send.c (__res_context_send): Don't set errno when
10801 returing error after malloc failure.
10802
10803 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10804
10805 * nptl/allocatestack.c (allocate_stack): Remove the
10806 !__ASSUME_PRIVATE_FUTEX paths.
10807 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10808 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10809 Likewise.
10810 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10811 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10812 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10813 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10814 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10815 !__ASSUME_PRIVATE_FUTEX path.
10816 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10817 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10818 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10819 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10820 !__ASSUME_PRIVATE_FUTEX macros.
10821 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10822 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10823 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10824 * sysdeps/unix/sysv/linux/kernel-features.h
10825 (__ASSUME_PRIVATE_FUTEX): Removed.
10826
10827 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10828
10829 * math/Makefile (libm-narrow-fns): Add div.
10830 (libm-test-funcs-narrow): Likewise.
10831 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10832 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10833 * math/gen-auto-libm-tests.c (test_functions): Add div.
10834 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10835 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10836 (NARROW_DIV_TRIVIAL): Likewise.
10837 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10838 macro.
10839 (__ddivl): Likewise.
10840 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10841 ddiv.
10842 (CFLAGS-nldbl-ddiv.c): New variable.
10843 (CFLAGS-nldbl-fdiv.c): Likewise.
10844 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10845 __nldbl_ddivl.
10846 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10847 prototype.
10848 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10849 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10850 * math/auto-libm-test-in: Add tests of div.
10851 * math/auto-libm-test-out-narrow-div: New generated file.
10852 * math/libm-test-narrow-div.inc: New file.
10853 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10854 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10855 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10856 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10857 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10858 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10859 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10860 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10861 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10862 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10863 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10864 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10865 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10866 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10867 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10868 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10869 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10870 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10872 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10873 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10874 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10875 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10876 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10877 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10878 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10879 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10880 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10881 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10882 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10883 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10884 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10889 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10890 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10891 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10892 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10893 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10894 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10895 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10896 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10897
10898 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10899
10900 [BZ #23178]
10901 * nscd/nscd-client.h (sendfileall): Remove prototype.
10902 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10903 (handle_request): Use writeall instead of sendfileall.
10904 * nscd/aicache.c (addhstaiX): Likewise.
10905 * nscd/grpcache.c (cache_addgr): Likewise.
10906 * nscd/hstcache.c (cache_addhst): Likewise.
10907 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10908 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10909 * nscd/pwdcache.c (cache_addpw): Likewise.
10910 * nscd/servicescache.c (cache_addserv): Likewise.
10911 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10912 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10913 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10914 Remove define.
10915
10916 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10917
10918 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10919 Include <string/strncat.c>.
10920 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10921 alias.
10922 (__GI___strncat): New hidden alias.
10923
10924 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10925
10926 * sysdeps/mips/mips32/libm-test-ulps: Update.
10927 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10928
10929 2018-05-16 Florian Weimer <fweimer@redhat.com>
10930
10931 * support/Makefile (libsupport-routines): Add support_quote_blob,
10932 support_test_compare_blob.
10933 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10934 * support/check.h (TEST_COMPARE_BLOB): Define.
10935 (support_test_compare_blob): Declare.
10936 * support/support.h (support_quote_blob): Declare.
10937 * support/support_quote_blob.c: New file.
10938 * support/support_test_compare_blob.c: Likewise.
10939 * support/tst-support_quote_blob.c: Likewise.
10940 * support/tst-test_compare_blob.c: Likewise.
10941
10942 2018-05-16 Florian Weimer <fweimer@redhat.com>
10943
10944 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10945 of <strtod_nan_double.h>.
10946 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10947 instead of SET_MANTISSA.
10948 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10949 of include <strtod_nan_float.h>.
10950 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10951 instead of <strtod_nan_ldouble.h>.
10952 * stdlib/strtod_nan_double.h: Move to ...
10953 * sysdeps/generic/math-nan-payload-double.h: ... here.
10954 (FLOAT): Remove definition.
10955 (SET_MANTISSA): Rename to ...
10956 (SET_NAN_PAYLOAD): ... this.
10957 * stdlib/strtod_nan_float.h: Move to ...
10958 * sysdeps/generic/math-nan-payload-float.h: ... here.
10959 (FLOAT): Remove definition.
10960 (SET_MANTISSA): Rename to ...
10961 (SET_NAN_PAYLOAD): ... this.
10962 * sysdeps/generic/math-type-macros-double.h: Include
10963 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10964 instead of <math-svid-compat.h>.
10965 * sysdeps/generic/math-type-macros-float.h: Include
10966 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10967 instead of <math-svid-compat.h>.
10968 * sysdeps/generic/math-type-macros-float128.h: Include
10969 <math-nan-payload-float128.h>.
10970 * sysdeps/generic/math-type-macros-ldouble.h: Include
10971 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10972 instead of <math-svid-compat.h>.
10973 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10974 check for definition.
10975 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10976 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10977 Include <ieee754_float128.h>.
10978 (FLOAT): Remove definition.
10979 (SET_MANTISSA): Rename to ...
10980 (SET_NAN_PAYLOAD): ... this.
10981 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10982 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10983 Do not include <float128_private.h>.
10984 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10985 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10986 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10987 (FLOAT): Remove definition.
10988 (SET_MANTISSA): Rename to ...
10989 (SET_NAN_PAYLOAD): ... this.
10990 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10991 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10992 (FLOAT): Remove definition.
10993 (SET_MANTISSA): Rename to ...
10994 (SET_NAN_PAYLOAD): ... this.
10995 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10996 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10997 (FLOAT): Remove definition.
10998 (SET_MANTISSA): Rename to ...
10999 (SET_NAN_PAYLOAD): ... this.
11000 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11001 of "../stdlib/strtod_nan_double.h".
11002 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11003 of "../stdlib/strtod_nan_float.h".
11004 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11005 instead of "../stdlib/strtod_nan_ldouble.h".
11006 * manual/arith.texi (Parsing of Floats): Adjust comment.
11007
11008 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11009
11010 * math/Makefile (libm-narrow-fns): Add mul.
11011 (libm-test-funcs-narrow): Likewise.
11012 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11013 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11014 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11015 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11016 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11017 (NARROW_MUL_TRIVIAL): Likewise.
11018 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11019 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11020 macro.
11021 (__dmull): Likewise.
11022 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11023 dmul.
11024 (CFLAGS-nldbl-dmul.c): New variable.
11025 (CFLAGS-nldbl-fmul.c): Likewise.
11026 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11027 __nldbl_dmull.
11028 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11029 prototype.
11030 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11031 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11032 * math/auto-libm-test-in: Add tests of mul.
11033 * math/auto-libm-test-out-narrow-mul: New generated file.
11034 * math/libm-test-narrow-mul.inc: New file.
11035 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
11036 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
11037 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
11038 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
11039 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
11040 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
11041 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
11042 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
11043 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
11044 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
11045 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
11046 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
11047 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
11048 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
11049 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
11050 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
11051 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
11052 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
11053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11054 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11055 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11056 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11057 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11058 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11059 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11060 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11061 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11062 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11063 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11064 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11065 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11066 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11071 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11072 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11073 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11074 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11075 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11076 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11077 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11078 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11079
11080 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11081
11082 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11083 with *%eax in call.
11084
11085 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11086
11087 * sysdeps/i386/ldsodefs.h: Removed.
11088 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11089 * sysdeps/x86/ldsodefs.h: This.
11090 (La_i86_regs): New.
11091 (La_i86_retval): Likewise.
11092 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11093 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11094
11095 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11096
11097 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11098 unnecessary testl.
11099
11100 2018-05-13 Alan Modra <amodra@gmail.com>
11101
11102 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11103 R_PARISC_TLS_DTPOFF32 reloc addend.
11104
11105 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11106
11107 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11108 * math/math.h: Restrict the prototype definition for the functions
11109 issignaling(_Float128) and iszero(_Float128); and template
11110 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11111 __HAVE_FLOAT128_UNLIKE_LDBL.
11112 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11113 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11114 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11115 __f128() constants; define the type _Float128 as long double;
11116 and reuse long double in __CFLOAT128.
11117
11118 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11119
11120 * sysdeps/generic/math_private.h: Do not include
11121 <math-barriers.h>.
11122 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11123 <math_private.h>.
11124 * math/fromfp.h: Include <math-barriers.h>.
11125 * math/math-narrow.h: Likewise.
11126 * math/s_nextafter.c: Likewise.
11127 * math/s_nexttowardf.c: Likewise.
11128 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11129 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11130 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11131 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11132 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11133 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11134 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11135 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11136 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11137 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11138 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11139 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11140 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11141 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11142 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11143 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11144 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11145 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11146 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11147 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11148 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11149 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11150 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11151 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11152 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11153 * sysdeps/ieee754/k_standardl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11158 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11161 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11162 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11163 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11164 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11166 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11167 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11168 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11170 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11171 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11172 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11173 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11174 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11175 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11176
11177 2018-05-11 Florian Weimer <fweimer@redhat.com>
11178
11179 Use 64-bit epoch values in the time zone file parser.
11180 * include/time.h (internal_time_t): Define.
11181 (__tzfile_compute): Use it.
11182 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11183 member.
11184 (transitions): Switch to internal_time_t.
11185 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11186 types.
11187 (__tzfile_compute): Use internal_time_t for timer argument. Check
11188 for truncation before calling __offtime.
11189
11190 2018-05-11 Florian Weimer <fweimer@redhat.com>
11191
11192 [BZ #23166]
11193 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11194 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11195 Likewise.
11196 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11197 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11198 export without --enable-obsolete-rpc.
11199 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11200 symbol. This should not have been exported, ever.
11201
11202 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11203
11204 [BZ #23152]
11205 * localedata/locales/gd_GB (abmon): Fix typo in May:
11206 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11207
11208 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11209
11210 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11211 Use multiple registers to copy data in loop tail.
11212
11213 * sysdeps/aarch64/multiarch/memmove_falkor.S
11214 (__memmove_falkor): Use multiple registers to move data in
11215 loop tail.
11216
11217 2018-05-10 Joseph Myers <joseph@codesourcery.com>
11218
11219 * math/math-underflow.h: New file.
11220 * sysdeps/generic/math_private.h: Do not include <float.h>.
11221 (fabs_tg): Remove macro. Moved to math-underflow.h.
11222 (min_of_type_f): Likewise.
11223 (min_of_type_): Likewise.
11224 (min_of_type_l): Likewise.
11225 (min_of_type_f128): Likewise.
11226 (min_of_type): Likewise.
11227 (math_check_force_underflow): Likewise.
11228 (math_check_force_underflow_nonneg): Likewise.
11229 (math_check_force_underflow_complex): Likewise.
11230 * math/e_exp2_template.c: Include <math-underflow.h>.
11231 * math/k_casinh_template.c: Likewise.
11232 * math/s_catan_template.c: Likewise.
11233 * math/s_catanh_template.c: Likewise.
11234 * math/s_ccosh_template.c: Likewise.
11235 * math/s_cexp_template.c: Likewise.
11236 * math/s_clog10_template.c: Likewise.
11237 * math/s_clog_template.c: Likewise.
11238 * math/s_csin_template.c: Likewise.
11239 * math/s_csinh_template.c: Likewise.
11240 * math/s_csqrt_template.c: Likewise.
11241 * math/s_ctan_template.c: Likewise.
11242 * math/s_ctanh_template.c: Likewise.
11243 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11244 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11245 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11246 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11247 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11248 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11249 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11250 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11251 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11252 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11253 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11254 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11255 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11256 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11257 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11258 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11259 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11260 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11261 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11262 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11263 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11264 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11265 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11266 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11267 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11268 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11269 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11270 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11271 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11272 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11273 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11274 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11275 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11276 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11277 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11278 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11279 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11280 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11281 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11282 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11283 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11284 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11285 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11286 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11287 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11288 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11289 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11290 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11291 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11292 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11293 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11294 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11295 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11296 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11297 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11298 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11299 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11300 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11301 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11302 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11303 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11304 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11305 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11306 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11307 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11308 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11309 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11310 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11311 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11312 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11313 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11314 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11315 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11316 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11317 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11318 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11319 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11320 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11321 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11322 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11323 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11324 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11325 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11326 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11327
11328 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11329
11330 * sysdeps/generic/math-barriers.h: New file.
11331 * sysdeps/generic/math_private.h [!math_opt_barrier]
11332 (math_opt_barrier): Move to math-barriers.h.
11333 [!math_opt_barrier] (math_force_eval): Likewise.
11334 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11335 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11336 math-barriers.h.
11337 (math_force_eval): Likewise.
11338 * sysdeps/alpha/fpu/math-barriers.h: New file.
11339 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11340 math-barriers.h.
11341 (math_force_eval): Likewise.
11342 * sysdeps/x86/fpu/math-barriers.h: New file.
11343 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11344 math-barriers.h.
11345 (math_force_eval): Likewise.
11346 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11347 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11348 multiple-include guard for rename.
11349 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11350 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11351 math-barriers.h.
11352 (math_force_eval): Likewise.
11353
11354 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11355
11356 [BZ #22786]
11357 CVE-2018-11236
11358 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11359 computation.
11360 * stdlib/Makefile (test-bz22786): New test.
11361 * stdlib/test-bz22786.c: New test.
11362
11363 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11364
11365 * include/math-narrow-eval.h: New file. Contents moved from ....
11366 * sysdeps/generic/math_private.h: ... here.
11367 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11368 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11369 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11370 * stdlib/strtod_l.c: Likewise.
11371 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11372 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11373 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11374 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11375 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11376 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11377 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11378 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11379 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11380 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11381 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11382 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11383 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11384 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11385 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11386 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11387 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11388 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11389 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11390 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11391 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11392 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11393 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11394 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11395 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11396 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11397 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11398 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11399 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11400
11401 2018-05-08 Andreas Schwab <schwab@suse.de>
11402
11403 * sysdeps/nptl/internaltypes.h: Fix comment.
11404
11405 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11406
11407 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11408 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11409 hidden.
11410
11411 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11412
11413 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11414 of I into loop header.
11415 * benchtests/bench-memmove-walk.c
11416 (test_main): Likewise.
11417
11418 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11419
11420 Revert:
11421 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11422 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11423
11424 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11425
11426 [BZ #20419]
11427 * elf/dl-load.c (open_verify): Fix stack overflow.
11428 * elf/Makefile (tst-big-note): New test.
11429 * elf/tst-big-note-lib.S: New.
11430 * elf/tst-big-note.c: New.
11431
11432 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11433
11434 * scripts/abilist.awk: Ignore absolute symbols.
11435 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11436 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11437 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11438 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11439 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11440 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11441 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11442 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11443 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11444 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11445 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11446 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11447 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11448 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11449 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11450 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11451 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11452 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11453 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11454 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11455 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11456 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11457 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11458 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11459 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11460 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11461 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11462 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11463 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11464 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11465 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11466 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11467 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11468 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11469 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11470 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11471 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11472 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11473 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11474 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11475 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11476 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11477 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11478 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11479 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11480 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11481 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11482 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11483 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11484 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11485 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11486 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11487 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11488 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11489 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11490 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11491 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11492 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11493 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11494 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11495 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11496 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11497 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11498 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11499 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11500 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11501 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11502 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11503 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11504 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11505 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11506 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11507 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11508 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11509 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11510 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11511 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11512 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11513 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11514 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11515 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11516 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11517 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11518 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11519 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11520 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11521 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11522 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11523 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11524 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11525 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11526 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11527 Likewise.
11528 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11529 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11530 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11531 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11532 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11533 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11534 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11535 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11536 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11537 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11538 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11539 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11540 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11541 Likewise.
11542 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11543 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11544 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11545 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11546 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11547 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11548 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11549 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11550 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11551 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11552 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11553 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11554 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11555 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11556 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11557 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11558 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11559 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11560 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11561 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11562 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11563 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11564 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11565 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11566 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11567 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11568 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11569 Likewise.
11570 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11571 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11572 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11573 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11574 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11575 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11576 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11577 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11578 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11579 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11580 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11581 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11582 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11583 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11584 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11585 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11586 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11587 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11588 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11589 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11590 Likewise.
11591 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11592 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11593 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11594 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11595 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11596 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11597 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11598 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11599 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11600 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11601 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11602 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11603 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11604 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11605 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11606 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11607 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11608 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11609 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11610 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11611 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11612 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11613 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11614 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11615 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11616 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11617 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11618 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11623 Likewise.
11624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11629 Likewise.
11630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11631 Likewise.
11632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11634 Likewise.
11635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11637 Likewise.
11638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11639 Likewise.
11640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11643 Likewise.
11644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11645 Likewise.
11646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11647 Likewise.
11648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11652 Likewise.
11653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11659 Likewise.
11660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11662 Likewise.
11663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11664 Likewise.
11665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11666 Likewise.
11667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11668 Likewise.
11669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11672 Likewise.
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11674 Likewise.
11675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11676 Likewise.
11677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11678 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11679 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11680 Likewise.
11681 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11682 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11683 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11684 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11685 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11686 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11687 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11688 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11689 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11690 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11691 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11692 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11693 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11694 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11695 Likewise.
11696 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11697 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11698 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11699 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11700 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11701 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11702 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11703 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11704 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11705 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11706 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11707 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11708 Likewise.
11709 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11710 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11711 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11712 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11713 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11714 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11715 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11716 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11717 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11718 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11719 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11720 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11721 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11722 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11723 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11724 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11725 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11726 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11727 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11728 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11729 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11730 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11731 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11732 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11733 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11734 Likewise.
11735 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11736 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11737 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11738 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11739 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11740 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11741 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11742 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11743 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11744 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11745 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11746 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11747 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11748 Likewise.
11749 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11750 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11751 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11752 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11753 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11754 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11755 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11756 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11757 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11758 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11759 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11760 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11761 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11762 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11763 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11764 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11765 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11766 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11767 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11768 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11769 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11770 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11771 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11772 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11773 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11774 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11775 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11776 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11777 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11778 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11779 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11780 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11781 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11782 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11783 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11784 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11785 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11786 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11787
11788 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11789
11790 [BZ #23137]
11791 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11792 Use atomic_load_acquire to load __tid.
11793
11794 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11795
11796 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11797 Restore the pointer into %rdx, after syscall and use %rdx,
11798 instead of %rsi, to restore context.
11799
11800 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11801
11802 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11803 Pop the pointer into %rdx after syscall and use %rdx, instead
11804 of %rsi, to restore context.
11805
11806 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11807
11808 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11809 handlers after setjmp.
11810 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11811 defined.
11812 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11813 <libc-pointer-arith.h>.
11814 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11815 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11816 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11817 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11818 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11819 * sysdeps/x86/__longjmp_cancel.S: New file.
11820 * sysdeps/x86/longjmp.c: Likewise.
11821 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11822
11823 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11824
11825 * NEWS: Add ustat.h deprecation entry.
11826 * bits/ustat.h: Remove file.
11827 * misc/sys/ustat.h: Likewise.
11828 * misc/ustat.h: Likewise.
11829 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11830 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11831 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11832 compatibility mode.
11833 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11834 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11835 generic Linux implementation.
11836
11837 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11838
11839 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11840 * math/w_expl_compat.c: Likewise.
11841 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11842
11843 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11844
11845 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11846
11847 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11848
11849 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11850 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11851 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11852 Remove.
11853 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11855 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11856 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11857 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11858 and SYSCALL_LL64.
11859
11860 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11861
11862 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11863
11864 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11865 * math/w_asin_template.c: Likewise.
11866 * math/w_atanh_template.c: Likewise.
11867
11868 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11869
11870 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11871 to powerpc/powerpc64/be for big-endian.
11872 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11873 little-endian.
11874
11875 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11876 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11877 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11878 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11879 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11880 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11881 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11882 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11883 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11884 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11885 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11886 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11887 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11888 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11889 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11890 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11891 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11892 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11893 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11894 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11895 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11896 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11897 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11898 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11899 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11900 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11901 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11902 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11903 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11904 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11905 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11906 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11907
11908 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11909 adjusted to imply powerpc64 and older processors on powerpc64/be.
11910 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11911 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11912 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11913 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11914 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11915 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11916 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11917 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11918 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11919 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11920 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11921 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11922 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11923 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11924 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11925 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11926 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11927 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11928 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11929 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11930 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11931 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11932 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11933 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11934 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11935 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11936 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11937 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11938 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11939 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11940 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11941
11942 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11943 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11944 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11945 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11946
11947 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11948 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11949 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11950 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11951
11952 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11953 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11954 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11955 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11956 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11957 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11958 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11959 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11960 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11961 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11962 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11963
11964 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11965 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11966 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11967 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11968 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11969 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11970 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11971 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11972 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11973 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11974 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11975
11976 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11977 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11978 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11979 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11980 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11981 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11982 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11983 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11984 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11985 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11986 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11987 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11988
11989 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11990 and adjusted to imply olders processors.
11991 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11992 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11993 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11994 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11995 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11996 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11997 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11998 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11999 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12000 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12001 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12002
12003 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12004 powerpc64/le.
12005 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12006 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12007
12008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12009 powerpc64le.
12010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12012
12013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12014 powerpc64/be.
12015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12018
12019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12020 powerpc64 and adjusted.
12021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12024 Likewise.
12025
12026 2018-04-27 Joseph Myers <joseph@codesourcery.com>
12027
12028 * sysdeps/tile: Remove.
12029 * sysdeps/unix/sysv/linux/tile: Likewise.
12030 * README (tilegx-*-linux-gnu): Remove from list of supported
12031 configurations.
12032 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12033 contribution of support for generic Linux kernel syscall
12034 interface.
12035 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
12036 tilegx configurations.
12037 (Config.install_linux_headers): Do not handle tile.
12038 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
12039 in comment.
12040 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
12041 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
12042 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12043 conditional undefine and redefine.
12044 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
12045 in comment.
12046 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12047 conditional undefine and redefine.
12048
12049 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
12050
12051 * signal/tst-sigaction.c: New file to test BZ #23069.
12052 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
12053
12054 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12055
12056 [BZ #22766]
12057 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12058 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12059 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12060 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12061
12062 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12063
12064 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12065 _DIRENT_MATCHES_DIRENT64 is not defined.
12066 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12067 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12068 is defined.
12069 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12070 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12071
12072 2018-04-25 Joseph Myers <joseph@codesourcery.com>
12073
12074 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12075 version to GCC 8 branch.
12076
12077 2018-04-24 Joseph Myers <joseph@codesourcery.com>
12078
12079 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12080 (check_no_hidden): Use type of original function when declaring
12081 alias.
12082
12083 * sysdeps/unix/sysv/linux/sys/ptrace.h
12084 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12085 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12086 (struct __ptrace_seccomp_metadata): New type.
12087 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12088 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12089 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12090 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12091 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12092 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12093 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12094 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12095 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12096 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12097 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12098 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12099 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12100 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12101 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12102 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12103
12104 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12105
12106 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12107 defined.
12108 * dirent/versionsort.c (versionsort): Likewise.
12109 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12110 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12111 * dirent/versionsort64.c (versionsort64): Likewise.
12112 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12113 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12114 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12115 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12116 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12117 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12118 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12119 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12120 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12121 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12124 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12125 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12126
12127 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12128
12129 * elf/elf.h (NT_PPC_PKEY): New macro.
12130
12131 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12132
12133 [BZ #23094]
12134 * localedata/locales/hr_HR: fix thousands_sep and
12135 mon_thousands_sep
12136
12137 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12138
12139 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12140 (XTABS): Define to TAB3.
12141
12142 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12143
12144 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12145
12146 * dirent/scandir-tail-common.c: New file.
12147 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12148 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12149 * dirent/scandir.c: Use scandir-tail-common.c.
12150 * dirent/scandirat.c: Likewise.
12151 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12152 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12153 if _DIRENT_MATCHES_DIRENT64 is defined.
12154 * dirent/scandirat64.c (scandirat64): Likewise.
12155 * include/dirent.h (__scandir_tail): Only define iff
12156 _DIRENT_MATCHES_DIRENT64 is not defined.
12157 (__scandir64_tail): Define regardless.
12158 (__scandirat, scandirat64): Remove libc_hidden_proto.
12159 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12160 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12162 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12163 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12164 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12165 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12166
12167 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12168
12169 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12170 New macro.
12171 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12172 Increase to 24.
12173 (_dl_aarch64_cap_flags): Add asimdfhm.
12174
12175 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12176
12177 * sysdeps/nios2/libm-test-ulps: Update.
12178
12179 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12180
12181 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12182 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12183
12184 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12185 requirements.
12186 (_DIRENT_MATCHES_DIRENT64): Undef
12187 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12188 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12189 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12190 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12191 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12192 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12193 use getdents64 syscalls as base.
12194 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12195 symbol if required.
12196 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12197 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12198 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12199 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12200 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12201 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12202 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12203 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12204 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12205 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12206 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12207
12208 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12209
12210 * scripts/test_printers_common.py (init_test): Disable lock elision.
12211
12212 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12213
12214 * math/test-tgmath.c (count_double, count_float,
12215 count_ldouble, count_cdouble, count_cfloat,
12216 count_cldouble): Use volatile int.
12217
12218 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12219
12220 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12221 (conformtest-xfail-conds): Add i386-gnu.
12222 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
12223 i386-gnu.
12224 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12225 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12226 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12227 msqid_ds.msg_lrpid): Likewise.
12228 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12229 Likewise.
12230 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12231 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12232 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12233 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12234 unsigned int.
12235 (struct statvfs64): Likewise.
12236 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12237 Likewise.
12238 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12239 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12240 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12241 instead of wait_queue.
12242 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12243 instead of vm_area_struct.
12244 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12245 struct sched_param definition to it.
12246 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12247 * bits/types/struct_sched_param.h: New file.
12248 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12249 <bits/types/struct_sched_param.h> instead of <sched.h>.
12250 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
12251 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12252 generic version but include <bits/pthreadtypes.h> to make struct
12253 sigevent's sigev_notify_attributes field a pthread_attr_t*.
12254 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12255 non-compliant.
12256 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12257 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12258 [__USE_XOPEN] (OFDEL): New macro.
12259 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
12260 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
12261 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12262 prototypes.
12263 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12264 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
12265 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12266 non-compliant.
12267 * sysdeps/i386/sys/ucontext.h: Likewise.
12268 * sysdeps/m68k/sys/ucontext.h: Likewise.
12269 * sysdeps/mips/sys/ucontext.h: Likewise.
12270 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
12271 * sysdeps/mach/hurd/i386/Makefile
12272 (test-xfail-POSIX/fcntl.h/conform): Add.
12273 (test-xfail-POSIX/signal.h/conform): Add.
12274 (test-xfail-POSIX/semaphore.h/conform): Add.
12275 (test-xfail-POSIX/regex.h/conform): Add.
12276 (test-xfail-POSIX/aio.h/conform): Add.
12277 (test-xfail-POSIX/mqueue.h/conform): Add.
12278 (test-xfail-POSIX/sys/types.h/conform): Add.
12279 (test-xfail-UNIX98/fcntl.h/conform): Add.
12280 (test-xfail-UNIX98/netdb.h/conform): Add.
12281 (test-xfail-UNIX98/signal.h/conform): Add.
12282 (test-xfail-UNIX98/semaphore.h/conform): Add.
12283 (test-xfail-UNIX98/regex.h/conform): Add.
12284 (test-xfail-UNIX98/aio.h/conform): Add.
12285 (test-xfail-UNIX98/ftw.h/conform): Add.
12286 (test-xfail-UNIX98/mqueue.h/conform): Add.
12287 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12288 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12289 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12290 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12291 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12292 (test-xfail-UNIX98/sys/types.h/conform): Add.
12293 (test-xfail-UNIX98/stdlib.h/conform): Add.
12294 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12295 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12296 (test-xfail-POSIX2008/netdb.h/conform): Add.
12297 (test-xfail-POSIX2008/signal.h/conform): Add.
12298 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12299 (test-xfail-POSIX2008/regex.h/conform): Add.
12300 (test-xfail-POSIX2008/aio.h/conform): Add.
12301 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12302 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12303 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12304 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12305 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12306 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12307 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12308 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12309 (test-xfail-XOPEN2K/signal.h/conform): Add.
12310 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12311 (test-xfail-XOPEN2K/regex.h/conform): Add.
12312 (test-xfail-XOPEN2K/aio.h/conform): Add.
12313 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12314 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12315 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12316 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12317 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12318 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12319 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12320 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12321 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12322 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12323 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12324 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12325 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12326 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12327 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12328 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12329 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12330 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12331 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12332 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12333 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12334 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12335 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12336 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12337 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12338 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12339 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12340 i386-gnu.
12341 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12342 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12343
12344 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12345
12346 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12347 --enable-obsolete for powerpc-linux-gnuspe.
12348
12349 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12350
12351 * conform/data/sys/un.h-data: Allow sun_ prefix.
12352 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12353 prototypes.
12354 * sysdeps/mach/include/mach.h: Likewise.
12355 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12356 * sysdeps/mach/include/mach_error.h: Likewise.
12357
12358 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12359
12360 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12361 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12362 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12363 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12364
12365 2018-04-16 Andreas Schwab <schwab@suse.de>
12366
12367 [BZ #19527]
12368 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12369
12370 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12371
12372 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12373 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12374
12375 2018-04-12 DJ Delorie <dj@redhat.com>
12376
12377 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12378 version to 4.16.
12379
12380 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12381
12382 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12383 (struct kernel_sigaction): Use the same definition on 31bit as is used
12384 on 64bit.
12385
12386 2018-04-09 Florian Weimer <fweimer@redhat.com>
12387
12388 [BZ #23037]
12389 * resolv/res_send.c (send_dg): Use designated initializers instead
12390 of assignment to zero-initialize other fields of struct mmsghdr.
12391
12392 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12393
12394 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12395 __READDIR_ALIAS): Undefine after usage.
12396 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12397 __READDIR_R_ALIAS): Likewise.
12398 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12399 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12400 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12401 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12402 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12403 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12404 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12405 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12406 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12407 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12408 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12409 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12410 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12411 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12412 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12413 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12414 * sysdeps/unix/sysv/linux/readdir.c: New file.
12415 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12416 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12417 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12418
12419 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12420
12421 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12422
12423 * manual/charset.texi (Converting a Character): Fix typo.
12424
12425 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12426
12427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12428
12429 * sysdeps/arm/libm-test-ulps: Update.
12430
12431 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12432 as base implementation.
12433 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12434 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12435 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12436 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12437 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12438 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12439 remove unrequired definitions and update comments.
12440 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12441 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12442 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12443 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12444 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12445 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12446 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12447 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12448 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12449 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12450 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12451 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12452 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12453 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12454 and RESET_SA_RESTORER hooks.
12455
12456 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12457
12458 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12459
12460 2018-04-05 Florian Weimer <fweimer@redhat.com>
12461
12462 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12463 integer overflow, memory leak on error, and indeterminate errno
12464 value. Add a null wide character to terminate the result string.
12465 * manual/charset.texi (Converting a Character): Mention embedded
12466 null bytes in the mbrtowc input string. Explain what happens in
12467 the -2 result case. Do not claim that mbrtowc is simple or
12468 obvious to use. Adjust the description of the code example. Use
12469 @code, not @var, for concrete variables.
12470
12471 2018-04-05 Florian Weimer <fweimer@redhat.com>
12472
12473 * manual/examples/mbstouwcs.c: New file.
12474 * manual/charset.texi (Converting a Character): Include it.
12475
12476 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12477
12478 * include/dirent.h (dirfd): Add hidden proto.
12479 * dirent/dirfd.c (dirfd): Add hidden def.
12480 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12481 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12482
12483 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12484
12485 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12486 sin, cos and sincos to 1 ULP.
12487
12488 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12489
12490 [BZ #19818]
12491 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12492 symbols.
12493 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12494 * elf/tst-absolute-sym.c: New file.
12495 * elf/tst-absolute-sym-lib.c: New file.
12496 * elf/tst-absolute-sym-lib.lds: New file.
12497 * elf/Makefile (tests): Add `tst-absolute-sym'.
12498 (modules-names): Add `tst-absolute-sym-lib'.
12499 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12500 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12501 ($(objpfx)tst-absolute-sym): New dependency.
12502
12503 [BZ #19818]
12504 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12505 parameter.
12506 (SYMBOL_ADDRESS): New macro.
12507 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12508 SYMBOL_ADDRESS for symbol address calculation.
12509 * elf/dl-runtime.c (_dl_fixup): Likewise.
12510 (_dl_profile_fixup): Likewise.
12511 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12512 * elf/rtld.c (dl_main): Likewise.
12513 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12514 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12515 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12516 (elf_machine_rela): Likewise.
12517 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12518 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12519 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12520 (elf_machine_rela): Likewise.
12521 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12522 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12523 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12524 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12525 Likewise.
12526 (elf_machine_reloc): Likewise.
12527 (elf_machine_got_rel): Likewise.
12528 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12529 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12530 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12531 Likewise.
12532 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12533 Likewise.
12534 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12535 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12536 Likewise.
12537 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12538 Likewise.
12539 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12540 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12541 Likewise.
12542 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12543 Likewise.
12544 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12545 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12546
12547 2018-04-04 Zack Weinberg <zackw@panix.com>
12548
12549 * sysdeps/generic/internal-signals.h: Include signal.h,
12550 sigsetops.h, and stdbool.h.
12551 (__libc_signal_block_all): Actually block all signals.
12552 (__libc_signal_block_app): Likewise.
12553 (__libc_signal_restore_set): Actually restore the signal mask.
12554
12555 2018-04-04 Florian Weimer <fweimer@redhat.com>
12556
12557 inet: Actually build and run tst-deadline.
12558 * inet/Makefile (tests-internal): Add tst-deadline and do not
12559 overwrite the variable.
12560 (tests-static-internal): Remove variable.
12561
12562 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12563
12564 [BZ #22947]
12565 * bits/uio-ext.h (RWF_APPEND): New.
12566 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12567 * manual/llio.texi: Document RWF_APPEND.
12568 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12569 (RWF_SUPPORTED): Add RWF_APPEND.
12570
12571 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12572
12573 [BZ #22391]
12574 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12575 check for internal nptl signals.
12576 * nptl/sigaction.c (__sigaction): Likewise.
12577 * signal/sigaddset.c (sigaddset): Likewise.
12578 * signal/sigdelset.c (sigdelset): Likewise.
12579 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12580 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12581 value.
12582 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12583 to filter out internal nptl signals.
12584 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12585 also check realtime signals using standard macros.
12586 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12587 __is_internal_signal, __libc_signal_block_all,
12588 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12589 * sysdeps/nptl/sigfillset.c: Remove file.
12590 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12591 Change return to bool.
12592 (__clear_internal_signals): Remove SIGTIMER clean since it is
12593 equal to SIGCANEL on Linux.
12594 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12595 signal set was constructed using standard functions.
12596
12597 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12598
12599 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12600 ifname is too long.
12601 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12602 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12603 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12604 hidden def.
12605 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12606 * signal/sigaddset.c: Include <sigsetopts.h>.
12607 * signal/sigdelset.c: Likewise.
12608
12609 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12610
12611 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12612 (__cos): Likewise.
12613 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12614 logic as sin and cos.
12615
12616 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12617
12618 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12619 inputs. Return correct sign.
12620 (do_sincos): Remove small input check before do_sin, let do_sin set
12621 the sign.
12622 (__sin): Likewise.
12623 (__cos): Likewise.
12624
12625 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12626
12627 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12628 (do_cos_slow): Likewise.
12629 (do_sin_slow): Likewise.
12630 (reduce_and_compute): Likewise.
12631 (slow): Likewise.
12632 (slow1): Likewise.
12633 (slow2): Likewise.
12634 (sloww): Likewise.
12635 (sloww1): Likewise.
12636 (sloww2): Likewise.
12637 (bslow): Likewise.
12638 (bslow1): Likewise.
12639 (bslow2): Likewise.
12640 (cslow2): Likewise.
12641
12642 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12643
12644 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12645 (do_cos): Remove corp parameter and calculations.
12646 (do_sin): Likewise.
12647 (do_sincos): Remove cor variable.
12648 (__sin): Use do_sincos for huge inputs.
12649 (__cos): Likewise.
12650 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12651 (reduce_and_compute_sincos): Remove unused function.
12652
12653 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12654
12655 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12656 reduce_sincos, improve accuracy to 136 bits.
12657 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12658 (__sin): Use improved reduction and simplified do_sincos calculation.
12659 (__cos): Likewise.
12660 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12661
12662 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12663
12664 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12665 (do_sincos_2): Likewise.
12666 (__sin): Remove middle range reduction case.
12667 (__cos): Likewise.
12668 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12669 reduction case.
12670
12671 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12672
12673 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12674 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12675 inputs.
12676 (__cos): Likewise.
12677 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12678
12679 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12680
12681 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12682 version to 4.16
12683
12684 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12685
12686 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12687 Remove definitions.
12688 (opendir_oflags): Use O_DIRECTORY regardless.
12689 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12690 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12691
12692 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12693
12694 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12695 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12696 macros.
12697 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12698 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12699 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12700 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12701 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12702 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12703
12704 * htl/Makefile: Bump licence to LGPL 2.1+.
12705 * htl/alloca_cutoff.c: Likewise.
12706 * htl/cthreads-compat.c: Likewise.
12707 * htl/lockfile.c: Likewise.
12708 * htl/pt-alloc.c: Likewise.
12709 * htl/pt-cancel.c: Likewise.
12710 * htl/pt-cleanup.c: Likewise.
12711 * htl/pt-create.c: Likewise.
12712 * htl/pt-dealloc.c: Likewise.
12713 * htl/pt-detach.c: Likewise.
12714 * htl/pt-exit.c: Likewise.
12715 * htl/pt-getattr.c: Likewise.
12716 * htl/pt-initialize.c: Likewise.
12717 * htl/pt-internal.h: Likewise.
12718 * htl/pt-join.c: Likewise.
12719 * htl/pt-self.c: Likewise.
12720 * htl/pt-setcancelstate.c: Likewise.
12721 * htl/pt-setcanceltype.c: Likewise.
12722 * htl/pt-sigmask.c: Likewise.
12723 * htl/pt-spin-inlines.c: Likewise.
12724 * htl/pt-testcancel.c: Likewise.
12725 * htl/pt-yield.c: Likewise.
12726 * htl/tests/test-1.c: Likewise.
12727 * htl/tests/test-10.c: Likewise.
12728 * htl/tests/test-11.c: Likewise.
12729 * htl/tests/test-12.c: Likewise.
12730 * htl/tests/test-13.c: Likewise.
12731 * htl/tests/test-14.c: Likewise.
12732 * htl/tests/test-15.c: Likewise.
12733 * htl/tests/test-16.c: Likewise.
12734 * htl/tests/test-17.c: Likewise.
12735 * htl/tests/test-2.c: Likewise.
12736 * htl/tests/test-3.c: Likewise.
12737 * htl/tests/test-4.c: Likewise.
12738 * htl/tests/test-5.c: Likewise.
12739 * htl/tests/test-6.c: Likewise.
12740 * htl/tests/test-7.c: Likewise.
12741 * htl/tests/test-8.c: Likewise.
12742 * htl/tests/test-9.c: Likewise.
12743 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12744 * sysdeps/htl/bits/cancelation.h: Likewise.
12745 * sysdeps/htl/bits/pthread-np.h: Likewise.
12746 * sysdeps/htl/bits/pthread.h: Likewise.
12747 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12748 * sysdeps/htl/bits/semaphore.h: Likewise.
12749 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12750 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12751 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12752 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12753 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12754 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12755 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12756 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12757 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12758 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12759 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12760 * sysdeps/htl/old_pt-atfork.c: Likewise.
12761 * sysdeps/htl/pt-atfork.c: Likewise.
12762 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12763 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12764 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12765 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12766 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12767 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12768 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12769 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12770 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12771 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12772 * sysdeps/htl/pt-attr-init.c: Likewise.
12773 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12774 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12775 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12776 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12777 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12778 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12779 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12780 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12781 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12782 * sysdeps/htl/pt-attr.c: Likewise.
12783 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12784 * sysdeps/htl/pt-barrier-init.c: Likewise.
12785 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12786 * sysdeps/htl/pt-barrier.c: Likewise.
12787 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12788 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12789 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12790 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12791 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12792 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12793 * sysdeps/htl/pt-cond-init.c: Likewise.
12794 * sysdeps/htl/pt-cond-signal.c: Likewise.
12795 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12796 * sysdeps/htl/pt-cond-wait.c: Likewise.
12797 * sysdeps/htl/pt-cond.c: Likewise.
12798 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12799 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12800 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12801 * sysdeps/htl/pt-condattr-init.c: Likewise.
12802 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12803 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12804 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12805 * sysdeps/htl/pt-equal.c: Likewise.
12806 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12807 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12808 * sysdeps/htl/pt-getschedparam.c: Likewise.
12809 * sysdeps/htl/pt-getspecific.c: Likewise.
12810 * sysdeps/htl/pt-init-specific.c: Likewise.
12811 * sysdeps/htl/pt-key-create.c: Likewise.
12812 * sysdeps/htl/pt-key-delete.c: Likewise.
12813 * sysdeps/htl/pt-key.h: Likewise.
12814 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12815 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12816 * sysdeps/htl/pt-mutex-init.c: Likewise.
12817 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12818 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12819 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12820 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12821 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12822 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12823 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12824 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12825 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12826 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12827 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12828 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12829 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12830 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12831 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12832 * sysdeps/htl/pt-mutexattr.c: Likewise.
12833 * sysdeps/htl/pt-once.c: Likewise.
12834 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12835 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12836 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12837 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12838 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12839 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12840 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12841 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12842 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12843 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12844 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12845 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12846 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12847 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12848 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12849 * sysdeps/htl/pt-setschedparam.c: Likewise.
12850 * sysdeps/htl/pt-setschedprio.c: Likewise.
12851 * sysdeps/htl/pt-setspecific.c: Likewise.
12852 * sysdeps/htl/pt-spin.c: Likewise.
12853 * sysdeps/htl/pt-startup.c: Likewise.
12854 * sysdeps/htl/pthread.h: Likewise.
12855 * sysdeps/htl/sem-close.c: Likewise.
12856 * sysdeps/htl/sem-destroy.c: Likewise.
12857 * sysdeps/htl/sem-getvalue.c: Likewise.
12858 * sysdeps/htl/sem-init.c: Likewise.
12859 * sysdeps/htl/sem-open.c: Likewise.
12860 * sysdeps/htl/sem-post.c: Likewise.
12861 * sysdeps/htl/sem-timedwait.c: Likewise.
12862 * sysdeps/htl/sem-trywait.c: Likewise.
12863 * sysdeps/htl/sem-unlink.c: Likewise.
12864 * sysdeps/htl/sem-wait.c: Likewise.
12865 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12866 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12867 * sysdeps/mach/htl/pt-block.c: Likewise.
12868 * sysdeps/mach/htl/pt-spin.c: Likewise.
12869 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12870 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12871 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12872 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12873 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12874 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12875 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12876 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12877 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12878 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12879 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12880 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12881 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12882 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12883 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12884 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12885 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12886 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12887 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12888 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12889 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12890 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12891 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12892 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12893 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12894 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12895 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12896 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12897 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12898 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12899 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12900 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12901 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12902 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12903 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12904 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12905 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12906 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12907 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12908 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12909 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12910 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12911 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12912
12913 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12914 * README: Remove the mention of out-of-tree patches needed for
12915 GNU/Hurd.
12916
12917 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12918 (UTIME_NOW, UTIME_OMIT): Define macros.
12919
12920 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12921 instead of pthread_detach.
12922 (__cthread_fork): Call __pthread_create instead of pthread_create.
12923 (__cthread_keycreate): Call __pthread_key_create instead of
12924 pthread_key_create.
12925 (__cthread_getspecific): Call __pthread_getspecific instead of
12926 pthread_getspecific.
12927 (__cthread_setspecific): Call __pthread_setspecific instead of
12928 pthread_setspecific.
12929 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12930 __pthread_mutex_unlock instead of pthread_mutex_lock and
12931 pthread_mutex_unlock.
12932 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12933 ___pthread_get_cleanup_stack.
12934 (__pthread_get_cleanup_stack): New strong alias.
12935 * htl/pt-create.c: Include <pthreadP.h>.
12936 (entry_point): Call __pthread_exit instead of pthread_exit.
12937 (pthread_create): Rename to __pthread_create.
12938 (pthread_create): New strong alias.
12939 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12940 (pthread_detach): New strong alias.
12941 (__pthread_detach): Call __pthread_cond_broadcast instead of
12942 pthread_cond_broadcast.
12943 * htl/pt-exit.c: Include <pthreadP.h>.
12944 (__pthread_exit): Call __pthread_setcancelstate and
12945 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12946 __pthread_get_cleanup_stack.
12947 * htl/pt-testcancel.c: Include <pthreadP.h>.
12948 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12949 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12950 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12951 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12952 pthread_attr_getstacksize.
12953 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12954 Rename to __pthread_attr_getstackaddr.
12955 (pthread_attr_getstackaddr): New strong alias.
12956 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12957 Rename to __pthread_attr_getstacksize.
12958 (pthread_attr_getstacksize): New strong alias.
12959 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12960 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12961 (pthread_attr_setstack): New strong alias.
12962 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12963 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12964 pthread_attr_getstacksize, pthread_attr_setstacksize and
12965 pthread_attr_setstackaddr.
12966 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12967 Rename to __pthread_attr_setstackaddr.
12968 (pthread_attr_setstackaddr): New strong alias.
12969 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12970 Rename to __pthread_attr_setstacksize.
12971 (pthread_attr_setstacksize): New strong alias.
12972 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12973 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12974 pthread_exit.
12975 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12976 (__pthread_key_create): New hidden def.
12977 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12978 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12979 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12980 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12981 __pthread_setspecific, __pthread_setcancelstate,
12982 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12983 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12984 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12985 declarations.
12986 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12987 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12988 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12989 (pthread_attr_setstackaddr): New strong alias.
12990 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12991 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12992 (pthread_attr_setstacksize): New strong alias.
12993 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12994 (call_exit): Call __pthread_exit instead of pthread_exit.
12995 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12996 (_pthread_mutex_init): New hidden definition.
12997 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12998 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12999 instead of pthread_attr_init and pthread_attr_setstack.
13000
13001 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13002 __vm_deallocate instead of vm_allocate and vm_deallocate.
13003 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13004 setenv.
13005 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13006 of geteuid.
13007 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13008 strdup.
13009 * hurd/siginfo.c: Include <libioP.h>.
13010 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13011 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13012 munmap.
13013 * mach/devstream.c: Include <libioP.h>.
13014 (dealloc_ref): Call __mach_port_deallocate instead of
13015 mach_port_deallocate.
13016 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13017 Call __mach_port_deallocate instead of mach_port_deallocate.
13018 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13019 pathconf.
13020 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13021 munmap.
13022 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13023 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13024 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13025 of munmap.
13026 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13027 of close.
13028 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13029 instead of sysconf.
13030 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13031 __clock_gettime instead of clock_gettime.
13032 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13033 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13034 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
13035 * sysdeps/unix/bsd/stty.c (stty): Likewise.
13036 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
13037 tcgetattr.
13038 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
13039 __clock_gettime and __nanosleep instead of clock_gettime and
13040 nanosleep.
13041 * hurd/catch-signal.c (hurd_catch_signal): Rename to
13042 __hurd_catch_signal.
13043 (hurd_catch_signal): New strong alias.
13044 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
13045 __hurd_catch_signal instead of hurd_catch_signal.
13046 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
13047 * hurd/hurdexec.c (_hurd_init): Add hidden def.
13048 * hurd/hurdinit.c (_hurd_init): Add hidden def.
13049 * hurd/hurdsig.c: Include <mach/mig_support.h>.
13050 (_hurd_thread_sigstate): Add hidden def.
13051 (_hurd_internal_post_signal): Use __mutex_unlock instead of
13052 mutex_unlock.
13053 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
13054 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
13055 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
13056 __hurd_file_name_path_lookup.
13057 (hurd_file_name_path_lookup): New strong alias.
13058 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13059 hurd_file_name_path_lookup.
13060 * mach/errstring.c (mach_error_type): Add hidden def.
13061 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13062 * mach/mutex-init.c (__mutex_init): Add hidden def.
13063 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13064 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13065 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13066 * sysdeps/mach/hurd/getcwd.c
13067 (_hurd_canonicalize_directory_name_internal): Rename to
13068 __hurd_canonicalize_directory_name_internal.
13069 (_hurd_canonicalize_directory_name_internal): New strong alias.
13070 (__canonicalize_directory_name_internal, __getcwd): Call
13071 __hurd_canonicalize_directory_name_internal instead of
13072 _hurd_canonicalize_directory_name_internal.
13073 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13074 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13075 hidden defs.
13076 * sysdeps/hurd/include/hurd.h: New file.
13077 * sysdeps/hurd/include/hurd/fd.h: New file.
13078 * sysdeps/hurd/include/hurd/signal.h: New file.
13079 * sysdeps/mach/include/lock-intern.h: New file.
13080 * sysdeps/mach/include/mach.h: New file.
13081 * sysdeps/mach/include/mach/mig_support.h: New file.
13082 * sysdeps/mach/include/mach_error.h: New file.
13083 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13084 prototype.
13085 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13086 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13087 _HEADER_H_HIDDEN_DEF macro.
13088 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13089 _hurd_fd_error_signal): Add hidden prototype.
13090 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13091 hidden def.
13092 * libio/iolibio.h (_IO_puts): New hidden prototype.
13093 * libio/ioputs.c (_IO_puts): New hidden def.
13094 * sysdeps/mach/hurd/localplt.data: New file.
13095
13096 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13097 Amos Jeffries <squid3@treenet.co.nz>
13098 David Michael <fedora.dm0@gmail.com>
13099 Marco Gerards <marco@gnu.org>
13100 Marcus Brinkmann <marcus@gnu.org>
13101 Neal H. Walfield <neal@gnu.org>
13102 Pino Toscano <toscano.pino@tiscali.it>
13103 Richard Braun <rbraun@sceen.net>
13104 Roland McGrath <roland@gnu.org>
13105 Samuel Thibault <samuel.thibault@ens-lyon.org>
13106 Thomas DiModica <ricinwich@yahoo.com>
13107 Thomas Schwinge <tschwinge@gnu.org>
13108
13109 * htl: New directory.
13110 * sysdeps/htl: New directory.
13111 * sysdeps/hurd/htl: New directory.
13112 * sysdeps/i386/htl: New directory.
13113 * sysdeps/mach/htl: New directory.
13114 * sysdeps/mach/hurd/htl: New directory.
13115 * sysdeps/mach/hurd/i386/htl: New directory.
13116 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13117 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13118 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13119
13120 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13121
13122 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13123 signals in thread created for runing timers.
13124
13125 2018-04-01 Florian Weimer <fweimer@redhat.com>
13126
13127 * support/support_format_addrinfo.c (support_format_addrinfo):
13128 Include unknown error number in formatted result.
13129
13130 2018-03-29 Florian Weimer <fweimer@redhat.com>
13131
13132 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13133 capture SIGBUS.
13134
13135 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13136
13137 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13138 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13139 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13140 (__ASSUME_CLONE_BACKWARDS): Define.
13141
13142 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13143
13144 [BZ #23024]
13145 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13146 early when linux sentinel value is set.
13147
13148 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13149
13150 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13151
13152 2018-03-27 Andreas Schwab <schwab@suse.de>
13153
13154 [BZ #23005]
13155 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13156 allocation of private copy of nsaddr_list fails.
13157
13158 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13159
13160 [BZ #16552]
13161 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13162 * sysdeps/unix/sysv/linux/umount.c: ... here.
13163 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13164 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13165 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13166 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13168 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13169 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13170
13171 2018-03-26 Andreas Schwab <schwab@suse.de>
13172
13173 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13174 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13175 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13176 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13177 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13178 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13179 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13180 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13181 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13182 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13183 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13184 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13185 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13186 (R_RISCV_NUM): Define.
13187
13188 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13189
13190 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13191 TLS declaration of errno.
13192 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13193 __libc_setup_tls.
13194 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13195 (ARCH_SETUP_TLS): Likewise.
13196 * sysdeps/mach/hurd/libc-start.h: New file copied from
13197 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
13198 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13199 instead of __libc_setup_tls.
13200 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
13201 __libc_setup_tls before initializing libpthread and running _hurd_init
13202 which starts the signal thread.
13203 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13204 Declare function.
13205 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13206
13207 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13208
13209 [BZ #22998]
13210 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13211 after it is defined.
13212
13213 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13214 Max Horn <max@quendi.de>
13215
13216 [BZ #22644]
13217 CVE-2017-18269
13218 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13219 branch conditions.
13220 * string/test-memmove.c (do_test2): New testcase.
13221
13222 2018-03-22 Joseph Myers <joseph@codesourcery.com>
13223
13224 * sysdeps/generic/frame.h: Remove file.
13225 * sysdeps/arm/frame.h: Likewise.
13226 * sysdeps/hppa/frame.h: Likewise.
13227 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13228 macro.
13229 (GET_FRAME): Likewise.
13230 (GET_STACK): Likewise.
13231 (CALL_SIGHANDLER): Likewise.
13232 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13233 Likewise.
13234 (GET_FRAME): Likewise.
13235 (GET_STACK): Likewise.
13236 (CALL_SIGHANDLER): Likewise.
13237 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13238 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13239 (GET_FRAME): Likewise.
13240 (GET_STACK): Likewise.
13241 (CALL_SIGHANDLER): Likewise.
13242 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13243 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13244 (GET_FRAME): Likewise.
13245 (GET_STACK): Likewise.
13246 (ADVANCE_STACK_FRAME): Likewise.
13247 (CALL_SIGHANDLER): Likewise.
13248 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13249 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13250 (GET_FRAME): Likewise.
13251 (GET_STACK): Likewise.
13252 (CALL_SIGHANDLER): Likewise.
13253 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13254 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13255 (GET_FRAME): Likewise.
13256 (GET_STACK): Likewise.
13257 (CALL_SIGHANDLER): Likewise.
13258 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13259 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13260 (GET_FRAME): Likewise.
13261 (GET_STACK): Likewise.
13262 (CALL_SIGHANDLER): Likewise.
13263 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13264 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13265 (GET_FRAME): Likewise.
13266 (GET_STACK): Likewise.
13267 (CALL_SIGHANDLER): Likewise.
13268 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13269 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13270 (GET_FRAME): Likewise.
13271 (GET_STACK): Likewise.
13272 (CALL_SIGHANDLER): Likewise.
13273 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13274 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13275 (GET_FRAME): Likewise.
13276 (GET_STACK): Likewise.
13277 (CALL_SIGHANDLER): Likewise.
13278 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13279 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13280 (GET_FRAME): Likewise.
13281 (GET_STACK): Likewise.
13282 (CALL_SIGHANDLER): Likewise.
13283 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13284 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13285 (GET_FRAME): Likewise.
13286 (GET_STACK): Likewise.
13287 (CALL_SIGHANDLER): Likewise.
13288 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13289 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13290 (GET_FRAME): Likewise.
13291 (GET_STACK): Likewise.
13292 (CALL_SIGHANDLER): Likewise.
13293 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13294 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13295 (FIRST_FRAME_POINTER): Likewise.
13296 (ADVANCE_STACK_FRAME): Likewise.
13297 (GET_STACK): Likewise.
13298 (GET_FRAME): Likewise.
13299 (CALL_SIGHANDLER): Likewise.
13300 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13301 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13302 (ADVANCE_STACK_FRAME): Likewise.
13303 (GET_STACK): Likewise.
13304 (GET_FRAME): Likewise.
13305 (CALL_SIGHANDLER): Likewise.
13306 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13307 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13308 (GET_FRAME): Likewise.
13309 (GET_STACK): Likewise.
13310 (CALL_SIGHANDLER): Likewise.
13311 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13312 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13313 (GET_FRAME): Likewise.
13314 (GET_STACK): Likewise.
13315 (CALL_SIGHANDLER): Likewise.
13316
13317 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13318
13319 * sysdeps/x86_64/backtrace.c: Move to ....
13320 * debug/backtrace.c: ... here.
13321 * sysdeps/aarch64/backtrace.c: Remove file.
13322 * sysdeps/alpha/backtrace.c: Likewise.
13323 * sysdeps/hppa/backtrace.c: Likewise.
13324 * sysdeps/ia64/backtrace.c: Likewise.
13325 * sysdeps/mips/backtrace.c: Likewise.
13326 * sysdeps/nios2/backtrace.c: Likewise.
13327 * sysdeps/riscv/backtrace.c: Likewise.
13328 * sysdeps/sh/backtrace.c: Likewise.
13329 * sysdeps/tile/backtrace.c: Likewise.
13330
13331 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13332
13333 [BZ #22987]
13334 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13335 function.
13336 (fdimf): Likewise.
13337 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13338
13339 [BZ #17343]
13340 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13341 possibly overflowing computations.
13342
13343 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13344
13345 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13346 values from Linux-specific section now that it is in the GNU section.
13347 * sysdeps/gnu/errlist.c: Regenerate.
13348
13349 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13350
13351 * math/Makefile (libm-narrow-fns): Add sub.
13352 (libm-test-funcs-narrow): Likewise.
13353 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13354 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13355 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13356 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13357 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13358 (NARROW_SUB_TRIVIAL): Likewise.
13359 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13360 macro.
13361 (__dsubl): Likewise.
13362 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13363 dsub.
13364 (CFLAGS-nldbl-dsub.c): New variable.
13365 (CFLAGS-nldbl-fsub.c): Likewise.
13366 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13367 __nldbl_dsubl.
13368 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13369 prototype.
13370 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13371 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13372 * math/auto-libm-test-in: Add tests of sub.
13373 * math/auto-libm-test-out-narrow-sub: New generated file.
13374 * math/libm-test-narrow-sub.inc: New file.
13375 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13376 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13377 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13378 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13379 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13380 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13381 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13382 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13383 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13384 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13385 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13386 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13387 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13388 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13389 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13390 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13391 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13392 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13394 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13395 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13396 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13397 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13398 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13399 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13400 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13401 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13402 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13403 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13404 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13405 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13406 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13411 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13412 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13413 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13414 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13415 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13416 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13417 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13418 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13419 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13420 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13421
13422 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13423
13424 [BZ #20079]
13425 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13426
13427 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13428
13429 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13430
13431 2018-03-18 Richard Braun <rbraun@sceen.net>
13432
13433 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13434 thread reference.
13435
13436 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13437
13438 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13439 (__libc_cleanup_fct): Define function.
13440 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13441 __libc_cleanup_end): Rewrite implementation using
13442 __attribute__ ((__cleanup__)).
13443 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13444 * hurd/Makefile (routines): Add hurdlock.
13445 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13446 interface.
13447 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13448 * hurd/hurdpid.c: Include <lowlevellock.h>
13449 (_S_msg_proc_newids): Use lll_wait to synchronize.
13450 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13451 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13452 * mach/Makefile (lock-headers): Remove machine-lock.h.
13453 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13454 <machine-lock.h>.
13455 (__spin_lock_t): New type.
13456 (__SPIN_LOCK_INITIALIZER): New macro.
13457 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13458 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13459 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13460 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13461 (__mutex_init): Initialize with lll.
13462 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13463 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13464 needing lll.
13465 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13466 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13467 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13468 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13469 (__setpgid): Use lll for synchronization.
13470 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13471 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13472 instead of <cthreads.h>.
13473 (_IO_lock_inexpensive): New macro
13474 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13475 (__libc_lock_self0): New declaration.
13476 (__libc_lock_owner_self): New macro.
13477 (__libc_key_t): Remove type.
13478 (_LIBC_LOCK_INITIALIZER): New macro.
13479 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13480 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13481 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13482 __libc_lock_define_initialized_recursive,
13483 __rtld_lock_define_initialized_recursive,
13484 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13485 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13486 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13487 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13488 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13489 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13490 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13491 New macros.
13492 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13493 * hurd/hurdlock.c: New file.
13494 * hurd/hurdlock.h: New file.
13495 * mach/lowlevellock.h: New file
13496
13497 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13498
13499 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13500 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13501 when opening a symlink with O_NOFOLLOW.
13502 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13503 path when flags contains O_NOFOLLOW.
13504 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13505 if flags contains O_DIRECTORY and the result is a directory.
13506 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13507 oneself when the pointer given in D is nul (as set by ext2fs).
13508 * sysdeps/mach/hurd/mlockall.c: New file.
13509 * sysdeps/mach/hurd/munlockall.c: New file.
13510
13511 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13512
13513 * hurd/hurdsig.c: Include <pthread.h>.
13514 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13515 get the signal thread stack layout.
13516 * hurd/Makefile (headers): Remove threadvar.h.
13517 (inline-headers): Remove threadvar.h.
13518 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13519 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13520 __hurd_threadvar_max, __hurd_errno_location.
13521 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13522 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13523 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13524 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13525 unless TLS is not initialized yet, in which case we do not need a
13526 critical section yet anyway.
13527 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13528 <machine-sp.h>.
13529 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13530 declarations.
13531 (__hurd_threadvar_index): Remove enum.
13532 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13533 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13534 inlines.
13535 (__hurd_reply_port0): New variable declaration.
13536 (__hurd_local_reply_port): New macro.
13537 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13538 (interrupted_reply_port_location): Add thread_t parameter. Use it
13539 with THREAD_TCB to access thread-local variables.
13540 (_hurdsig_abort_rpcs): Pass ss->thread to
13541 interrupted_reply_port_location.
13542 (_hurd_internal_post_signal): Likewise.
13543 (_hurdsig_init): Use presence of cthread_fork instead of
13544 __hurd_threadvar_stack_mask to start signal thread by hand.
13545 Remove signal thread threadvar initialization.
13546 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13547 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13548 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13549 of threadvar.
13550 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13551 __libc_lock_self0.
13552 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13553 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13554 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13555 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13556 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13557 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13558 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13559 define variables.
13560 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13561 <hurd/threadvar.h>.
13562 [IS_IN(rtld)] (rtld_errno): New variable.
13563 [IS_IN(rtld)] (__errno_location): New weak function.
13564 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13565 * sysdeps/mach/hurd/errno.c: Remove file.
13566 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13567 (__fork): Remove THREADVAR_SPACE macro and its use.
13568 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13569 variable.
13570 (init): Do not initialize threadvar.
13571 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13572 symbol.
13573 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13574 __hurd_local_reply_port instead of threadvar.
13575 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13576 _hurd_sigstate fields.
13577 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13578 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13579 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13580 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13581 instead of threadvar.
13582 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13583 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13584 (use_threadvar, global_reply_port): Remove variables.
13585 (__hurd_reply_port0): New variable.
13586 (__mig_get_reply_port): Use __hurd_local_reply_port and
13587 __hurd_reply_port0 instead of threadvar.
13588 (__mig_dealloc_reply_port): Likewise.
13589 (__mig_init): Do not initialize threadvar.
13590 * sysdeps/mach/hurd/profil.c: Fix comment.
13591 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13592 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13593 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13594 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13595 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13596 __cthread_setspecific.
13597 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13598 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13599 __cthread_t instead of cthread_fork, cthread_detach,
13600 pthread_getattr_np, pthread_attr_getstack.
13601 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13602 __cthread_keycreate.
13603 (cthread_getspecific): Rename to __cthread_getspecific.
13604 (cthread_setspecific): Rename to __cthread_setspecific.
13605 (__libc_getspecific): Use __cthread_getspecific instead of
13606 cthread_getspecific.
13607 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13608 __cthread_keycreate instead of cthread_keycreate.
13609 (__libc_setspecific): Use __cthread_setspecific instead of
13610 cthread_setspecific.
13611 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13612 Likewise.
13613 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13614 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13615 testing whether it is defined.
13616
13617 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13618
13619 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13620 Define macro.
13621 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13622 * sysdeps/mach/i386/thread_state.h
13623 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13624 i386_THREAD_STATE.
13625 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13626 i386_THREAD_STATE.
13627 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13628
13629 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13630 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13631
13632 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13633 macros.
13634 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13635 descriptor instead of creating a new one.
13636 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13637
13638 * mach/setup-thread.c: Include <ldsodefs.h>.
13639 (__mach_setup_thread): Call _dl_allocate_tls, pass
13640 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13641 MACHINE_THREAD_STATE_FLAVOR, before getting
13642 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13643 MACHINE_THREAD_STATE_FLAVOR with the result.
13644 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13645 MACHINE_THREAD_STATE_FIX_NEW.
13646 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13647 too. Add original thread parameter.
13648
13649 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13650
13651 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13652 Remove inline function.
13653
13654 * sysdeps/i386/fpu/libm-test-ulps: Update.
13655 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13656
13657 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13658
13659 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13660 commit.
13661
13662 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13663
13664 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13665 (__sincos_code): Remove define and undefine.
13666 [__FAST_MATH__] (__sincos): Remove inline function.
13667 [__FAST_MATH__] (__sincosf): Remove inline function.
13668 [__FAST_MATH__] (__sincosl): Remove inline function.
13669 (__atan2l): Remove inline functions.
13670 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13671 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13672 function.
13673 (floor): Remove inline function.
13674 (ceil): Likewise.
13675 [__FAST_MATH__] (__ldexp_code): Remove macro.
13676 [__FAST_MATH__] (ldexp): Remove inline function.
13677 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13678 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13679 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13680 [__USE_ISOC99] (__lrint_code): Remove macro.
13681 [__USE_ISOC99] (__llrint_code): Likewise.
13682 [__USE_ISOC99] (lrintf): Remove inline function.
13683 [__USE_ISOC99] (lrint): Likewise.
13684 [__USE_ISOC99] (lrintl): Likewise.
13685 [__USE_ISOC99] (llrint): Likewise.
13686 [__USE_ISOC99] (llrintf): Likewise.
13687 [__USE_ISOC99] (llrintl): Likewise.
13688
13689 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13690
13691 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13692 (__ieee754_sqrtf): Remove.
13693 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13694 (__ieee754_sqrtf): Remove.
13695 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13696 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13697 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13698 (__ieee754_sqrtf): Remove.
13699 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13700 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13701 (sqrtf): Remove.
13702 (sqrtl): Remove.
13703 (__ieee754_sqrt): Remove.
13704 (__ieee754_sqrtf): Remove.
13705 (__ieee754_sqrtl): Remove.
13706 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13707 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13708 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13709 (__ieee754_sqrtf): Remove.
13710 (__ieee754_sqrtl): Remove.
13711
13712 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13713
13714 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13715 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13716 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13717 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13718 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13719 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13720 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13721 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13722 Likewise.
13723 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13724 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13725 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13726 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13727 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13728 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13729 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13730 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13731 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13732 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13733 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13734 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13735 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13736 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13737 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13738 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13739 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13740 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13741 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13742 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13743 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13744 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13745 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13746 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13747 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13748 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13749 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13750 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13751 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13752 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13753 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13754 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13755 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13756 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13757 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13758 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13759 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13760 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13761 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13762 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13763
13764 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13765
13766 * include/math.h (sqrt): Declare with asm redirect.
13767 (sqrtf): Likewise.
13768 (sqrtl): Likewise.
13769 (sqrtf128): Likewise.
13770 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13771 nonlib and libnldbl with -fmath-errno.
13772 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13773 * math/w_sqrt_template.c: Likewise.
13774 * math/w_sqrtf_compat.c: Likewise.
13775 * math/w_sqrtl_compat.c: Likewise.
13776 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13777 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13778 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13779 complex.h.
13780
13781 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13782
13783 * benchtests/Makefile: Define _ISOMAC.
13784 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13785 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13786 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13787 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13788 * benchtests/bench-timing.h: Define attribute_hidden.
13789
13790 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13791
13792 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13793 mov + lsr.
13794
13795 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13796
13797 [BZ #22963]
13798 * localedata/locales/cs_CZ (mon): Rename to...
13799 (alt_mon): This.
13800 (mon): Import from CLDR (genitive case).
13801
13802 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13803
13804 [BZ #22937]
13805 * localedata/locales/el_CY (abmon): Rename to...
13806 (ab_alt_mon): This.
13807 (abmon): Import from CLDR (abbreviated genitive case).
13808 * localedata/locales/el_GR (abmon): Rename to...
13809 (ab_alt_mon): This.
13810 (abmon): Import from CLDR (abbreviated genitive case).
13811
13812 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13813
13814 [BZ #22932]
13815 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13816
13817 2018-03-15 Robert Buj <robert.buj@gmail.com>
13818
13819 [BZ #22848]
13820 * localedata/locales/ca_ES (abmon): Rename to...
13821 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13822 (mon): Rename to...
13823 (alt_mon): This.
13824 (abmon): Import from CLDR (genitive case, month names preceded by
13825 "de" or "d’").
13826 (mon): Likewise.
13827 (abday): Synchronize with CLDR.
13828 (d_t_fmt): Likewise.
13829 (d_fmt): Likewise.
13830 (am_pm): Likewise.
13831
13832 (LC_TIME): Improve indentation.
13833 (LC_TELEPHONE): Likewise.
13834 (LC_NAME): Likewise.
13835 (LC_ADDRESS): Likewise.
13836
13837 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13838
13839 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13840 (lrintf): Remove definitions used only with old GCC.
13841 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13842 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13843 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13844 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13845 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13846 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13847 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13848 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13849 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13850 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13851 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13852 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13853 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13854 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13855 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13856 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13857 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13858 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13859 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13860 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13861 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13862 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13863 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13864 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13865 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13866 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13867 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13868 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13869
13870 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13871
13872 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13873 instruction to unbreak builds with binutils 2.26 and older.
13874
13875 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13876
13877 * sysdeps/aarch64/strncmp.S (count): New macro.
13878 (strncmp): Store misaligned length in SRC1 in COUNT.
13879 (mutual_align): Adjust.
13880 (misaligned8): Load dword at a time when it is safe.
13881
13882 2018-03-12 Zack Weinberg <zackw@panix.com>
13883
13884 [BZ #1190]
13885 [BZ #19476]
13886 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13887 if the _IO_EOF_SEEN bit is already set; update commentary.
13888 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13889 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13890
13891 * support/support_openpty.c, support/tty.h: New files.
13892 * support/Makefile (libsupport-routines): Add support_openpty.
13893
13894 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13895 New test cases.
13896 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13897 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13898
13899 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13900
13901 * po/pt_BR.po: Update translations.
13902
13903 2018-03-12 David Michael <fedora.dm0@gmail.com>
13904
13905 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13906 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13907 get a port to the startup server.
13908
13909 2018-03-11 Zack Weinberg <zackw@panix.com>
13910
13911 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13912 before nldbl-compat.h.
13913
13914 2018-03-10 Zack Weinberg <zackw@panix.com>
13915
13916 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13917 math.h or math_private.h.
13918
13919 * sysdeps/alpha/fpu/s_isnan.c
13920 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13921 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13922 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13923 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13924 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13925 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13926 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13927 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13928 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13931 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13932 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13933 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13934 Include math_private.h.
13935
13936 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13937 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13938 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13939 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13940 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13941 * sysdeps/powerpc/power7/fpu/s_logb.c:
13942 Include math.h and math_private.h.
13943
13944 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13945 uses of $at in .set noat / .set at.
13946
13947 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13948
13949 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13950 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13951 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13952 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13953 Likewise.
13954
13955 2018-03-09 Florian Weimer <fweimer@redhat.com>
13956
13957 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13958 in comment.
13959
13960 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13961
13962 [BZ #22919]
13963 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13964 Add nop before __startcontext, add explaining comments.
13965
13966 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13967
13968 [BZ #22926]
13969 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13970 empty for __SPE__.
13971 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13972 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13973 Do not build hardware transactional code for __SPE__.
13974 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13975 (__lll_trylock_elision): Likewise.
13976 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13977 (__lll_unlock_elision): Likewise.
13978
13979 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13980 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13981 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13982 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13983 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13984 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13985 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13986 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13987 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13988 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13989 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13990 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13991 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13992 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13993 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13994 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13995 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13996 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13997 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13998 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13999 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14000 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14001 (__ASSUME_CLONE_BACKWARDS): Define.
14002 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14003 __clone2 if __NR_clone2 is defined.
14004 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14005 (__ASSUME_CLONE_BACKWARDS): Likewise.
14006 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14007 (__ASSUME_CLONE_BACKWARDS): Likewise.
14008 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14009 (__ASSUME_CLONE2): Likewise.
14010 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14011 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14012 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14013 variants and the define architecture can use.
14014 (__ASSUME_CLONE_DEFAULT): Define as default.
14015 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14016 (__ASSUME_CLONE_BACKWARDS): Likewise.
14017 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14018 (__ASSUME_CLONE_BACKWARDS): Likewise.
14019 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14020 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14021
14022 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14023
14024 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14025
14026 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14027 time.
14028
14029 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14030 (do_test_limit): Likewise.
14031
14032 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14033 for every implementation.
14034 (do_test): Likewise.
14035
14036 * benchtests/bench-strncmp.c: Convert output to json.
14037
14038 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14039
14040 * io/futimens.c: Add missing start-of-file descriptive comment.
14041 * io/utime.c: Likewise.
14042 * misc/futimesat.c: Likewise.
14043 * misc/utimes.c: Likewise.
14044 * sysdeps/mach/hurd/futimesat.c: Likewise.
14045 * sysdeps/mach/hurd/utimes.c: Likewise.
14046 * sysdeps/posix/utime.c: Likewise.
14047 * sysdeps/posix/utimes.c: Likewise.
14048 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
14049 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14050 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14051 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
14052
14053 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14054
14055 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
14056 hurd_futimes.
14057 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14058 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14059 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14060 (__futimens): Move implementation to...
14061 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14062 utime_tvalue_from_tspec): ... new helper functions.
14063 (hurd_futimens): New function.
14064 * sysdeps/mach/hurd/futimesat.c: New file.
14065 * sysdeps/mach/hurd/utimensat.c: New file.
14066
14067 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14068
14069 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14070 UTIME_OMIT): New macros.
14071 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14072 before reverting to converting time spec to time value and calling
14073 __file_utimes.
14074 * sysdeps/mach/hurd/utime-helper.c: New file.
14075 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14076 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14077 reverting to utime_tvalue_from_tval and __file_utimes.
14078 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14079 (__lutimes): Just call hurd_futimens after lookup.
14080 * sysdeps/mach/hurd/utimes.c: Likewise.
14081
14082 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14083
14084 * bits/sigaction.h: Add include guard.
14085 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14086 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14087 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14088 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14089 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14090 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14091 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14092 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14093 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14094
14095 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14096
14097 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14098 -Wmaybe-uninitialized for -Os.
14099 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14100 this disabling.
14101
14102 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14103
14104 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14105 __INO_T_MATCHES_INO64_T is defined.
14106 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14107 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14108 of definition.
14109 * dirent/alphasort64.c: Likewise.
14110 * dirent/scandir.c: Likewise.
14111 * dirent/scandir64-tail.c: Likewise.
14112 * dirent/scandir64.c: Likewise.
14113 * dirent/scandirat.c: Likewise.
14114 * dirent/scandirat64.c: Likewise.
14115 * dirent/versionsort.c: Likewise.
14116 * dirent/versionsort64.c: Likewise.
14117 * include/dirent.h: Likewise.
14118
14119 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14120 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14121 for socketpair endpoint.
14122 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14123 WRITE_BUFFER_SIZE as buffer size for sending socket.
14124 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14125 issue on system where send is implemented with sendto syscall.
14126 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14127 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14128 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14129 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14130
14131 [BZ #21269]
14132 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14133 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14134 sa_restorer for vDSO case.
14135 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14136
14137 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14138
14139 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14140 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14141 * hurd/hurd/ioctl.h: Include <mach/port.h>
14142 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14143 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14144 <mach/mach_types.h> and <mach/message.h>.
14145 (headers): Move mach/param.h to bits/mach/param.h.
14146 * sysdeps/mach/i386/mach/param.h: Move file to ...
14147 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14148 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14149 of <mach/param.h>.
14150 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14151 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14152 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14153 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14154 trivial, for C++ conformity.
14155 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14156 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14157 Process mig output through $(migheadersed).
14158 * hurd/Makefile (migheadersed): Define variable.
14159 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14160 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14161 headers.
14162 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14163 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14164 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14165 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14166 <bits/types/sigset_t.h>.
14167 [!defined __USE_GNU]: Do not #error out.
14168 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14169 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14170 Include <stddef.h> and <bits/types/sigset_t.h>
14171 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14172 instead of sighandler_t.
14173 * stdlib/errno.h (error_t): Move definition to...
14174 * bits/types/error_t.h: ... new header.
14175 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14176 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14177 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14178 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14179 * hurd/hurd.h: Include <bits/types/error_t.h>
14180 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14181 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14182 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14183 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14184 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14185 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
14186 * sysdeps/mach/hurd/futimens.c: New file.
14187
14188 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14189
14190 [BZ #22918]
14191 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14192 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14193 * nscd/gai.c (__nss_hosts_database): Readd definition.
14194 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14195 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14196 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14197
14198 2018-03-02 Joseph Myers <joseph@codesourcery.com>
14199
14200 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14201 (ifunc_one): Likewise.
14202
14203 2018-03-01 DJ Delorie <dj@delorie.com>
14204
14205 [BZ #22342]
14206 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14207 key value.
14208
14209 2018-03-01 Maciej W. Rozycki <macro@mips.com>
14210
14211 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14212 `match_pid' parameter.
14213 (td_ta_thr_iter): Update accordingly.
14214
14215 2018-03-01 Florian Weimer <fweimer@redhat.com>
14216
14217 * nptl/Makefile (install-lib-ldscripts): Remove.
14218 (install): Remove rule.
14219 ($(inst_libdir)/libpthread.so): Likewise.
14220
14221 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14222
14223 [BZ #22896]
14224 * localedata/locales/an_ES: update month and day names,
14225 improve d_fmt, improve postal_fmt, add country_post,
14226 add country_isbn
14227
14228 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14229
14230 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14231 Ukrainian instead of Bulgarian.
14232
14233 2018-03-01 Florian Weimer <fweimer@redhat.com>
14234
14235 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14236 reference.
14237
14238 2018-03-01 Florian Weimer <fweimer@redhat.com>
14239
14240 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14241 * nptl/Makefile (routines): Add pthread_atfork.
14242 (static-only-routines): Set to pthread_atfork.
14243 (libpthread-routines): Remove pthread_atfork.
14244 (libpthread-static-only-routines): Remove.
14245 (install): Update comment.
14246 (libpthread.so): Do not install libpthread_nonshared.a.
14247 (tests): Do not link with libpthread_nonshared.a.
14248 (generated): Remove libpthread_nonshared.a.
14249 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14250 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14251 with libpthread_nonshared.a.
14252
14253 2018-02-28 Joseph Myers <joseph@codesourcery.com>
14254
14255 [BZ #22902]
14256 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14257 (libc_feholdexcept_setroundf128): New macro.
14258 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14259
14260 [BZ #15105]
14261 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14262 libc_hidden_def.
14263 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14264 * include/inttypes.h: New file.
14265
14266 2018-02-27 Joseph Myers <joseph@codesourcery.com>
14267
14268 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14269 -Os in two more places.
14270
14271 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14272
14273 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14274 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14275 be sorted correctly at the moment because of a bug.
14276
14277 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14278
14279 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14280 treat ñ as a primary different character, sync the collation
14281 for Spanish with CLDR.
14282 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14283 * localedata/Makefile: Add new test files.
14284 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14285 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14286 collation order.
14287 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14288 * localedata/am_ET.UTF-8.in: New test file.
14289 * localedata/az_AZ.UTF-8.in: Likewise.
14290 * localedata/be_BY.UTF-8.in: Likewise.
14291 * localedata/ber_DZ.UTF-8.in: Likewise.
14292 * localedata/ber_MA.UTF-8.in: Likewise.
14293 * localedata/bg_BG.UTF-8.in: Likewise.
14294 * localedata/br_FR.UTF-8.in: Likewise.
14295 * localedata/cmn_TW.UTF-8.in: Likewise.
14296 * localedata/crh_UA.UTF-8.in: Likewise.
14297 * localedata/csb_PL.UTF-8.in: Likewise.
14298 * localedata/cv_RU.UTF-8.in: Likewise.
14299 * localedata/cy_GB.UTF-8.in: Likewise.
14300 * localedata/dz_BT.UTF-8.in: Likewise.
14301 * localedata/eo.UTF-8.in: Likewise.
14302 * localedata/es_ES.UTF-8.in: Likewise.
14303 * localedata/fa_IR.UTF-8.in: Likewise.
14304 * localedata/fi_FI.UTF-8.in: Likewise.
14305 * localedata/fil_PH.UTF-8.in: Likewise.
14306 * localedata/fur_IT.UTF-8.in: Likewise.
14307 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14308 * localedata/ha_NG.UTF-8.in: Likewise.
14309 * localedata/ig_NG.UTF-8.in: Likewise.
14310 * localedata/ik_CA.UTF-8.in: Likewise.
14311 * localedata/kk_KZ.UTF-8.in: Likewise.
14312 * localedata/ku_TR.UTF-8.in: Likewise.
14313 * localedata/ky_KG.UTF-8.in: Likewise.
14314 * localedata/ln_CD.UTF-8.in: Likewise.
14315 * localedata/mi_NZ.UTF-8.in: Likewise.
14316 * localedata/ml_IN.UTF-8.in: Likewise.
14317 * localedata/mn_MN.UTF-8.in: Likewise.
14318 * localedata/mr_IN.UTF-8.in: Likewise.
14319 * localedata/mt_MT.UTF-8.in: Likewise.
14320 * localedata/nb_NO.UTF-8.in: Likewise.
14321 * localedata/om_KE.UTF-8.in: Likewise.
14322 * localedata/os_RU.UTF-8.in: Likewise.
14323 * localedata/ps_AF.UTF-8.in: Likewise.
14324 * localedata/ro_RO.UTF-8.in: Likewise.
14325 * localedata/ru_RU.UTF-8.in: Likewise.
14326 * localedata/sc_IT.UTF-8.in: Likewise.
14327 * localedata/se_NO.UTF-8.in: Likewise.
14328 * localedata/sq_AL.UTF-8.in: Likewise.
14329 * localedata/sv_SE.UTF-8.in: Likewise.
14330 * localedata/szl_PL.UTF-8.in: Likewise.
14331 * localedata/tg_TJ.UTF-8.in: Likewise.
14332 * localedata/tk_TM.UTF-8.in: Likewise.
14333 * localedata/tt_RU.UTF-8.in: Likewise.
14334 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14335 * localedata/ug_CN.UTF-8.in: Likewise.
14336 * localedata/uz_UZ.UTF-8.in: Likewise.
14337 * localedata/vi_VN.UTF-8.in: Likewise.
14338 * localedata/yi_US.UTF-8.in: Likewise.
14339 * localedata/yo_NG.UTF-8.in: Likewise.
14340 * localedata/zh_CN.UTF-8.in: Likewise.
14341 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14342 file and fix bugs in the collation.
14343 * localedata/locales/az_AZ: Likewise.
14344 * localedata/locales/be_BY: Likewise.
14345 * localedata/locales/ber_DZ: Likewise.
14346 * localedata/locales/ber_MA: Likewise.
14347 * localedata/locales/bg_BG: Likewise.
14348 * localedata/locales/br_FR: Likewise.
14349 * localedata/locales/br_FR@euro: Likewise.
14350 * localedata/locales/ca_ES: Likewise.
14351 * localedata/locales/cns11643_stroke: Likewise.
14352 * localedata/locales/crh_UA: Likewise.
14353 * localedata/locales/cs_CZ: Likewise.
14354 * localedata/locales/csb_PL: Likewise.
14355 * localedata/locales/cv_RU: Likewise.
14356 * localedata/locales/cy_GB: Likewise.
14357 * localedata/locales/da_DK: Likewise.
14358 * localedata/locales/dz_BT: Likewise.
14359 * localedata/locales/en_CA: Likewise.
14360 * localedata/locales/eo: Likewise.
14361 * localedata/locales/es_CU: Likewise.
14362 * localedata/locales/es_EC: Likewise.
14363 * localedata/locales/es_ES: Likewise.
14364 * localedata/locales/es_US: Likewise.
14365 * localedata/locales/et_EE: Likewise.
14366 * localedata/locales/fa_IR: Likewise.
14367 * localedata/locales/fi_FI: Likewise.
14368 * localedata/locales/fil_PH: Likewise.
14369 * localedata/locales/fur_IT: Likewise.
14370 * localedata/locales/gez_ER@abegede: Likewise.
14371 * localedata/locales/ha_NG: Likewise.
14372 * localedata/locales/hr_HR: Likewise.
14373 * localedata/locales/hsb_DE: Likewise.
14374 * localedata/locales/hu_HU: Likewise.
14375 * localedata/locales/ig_NG: Likewise.
14376 * localedata/locales/ik_CA: Likewise.
14377 * localedata/locales/is_IS: Likewise.
14378 * localedata/locales/iso14651_t1_pinyin: Likewise.
14379 * localedata/locales/kk_KZ: Likewise.
14380 * localedata/locales/ku_TR: Likewise.
14381 * localedata/locales/ky_KG: Likewise.
14382 * localedata/locales/ln_CD: Likewise.
14383 * localedata/locales/lt_LT: Likewise.
14384 * localedata/locales/lv_LV: Likewise.
14385 * localedata/locales/mi_NZ: Likewise.
14386 * localedata/locales/ml_IN: Likewise.
14387 * localedata/locales/mn_MN: Likewise.
14388 * localedata/locales/mr_IN: Likewise.
14389 * localedata/locales/mt_MT: Likewise.
14390 * localedata/locales/nb_NO: Likewise.
14391 * localedata/locales/om_KE: Likewise.
14392 * localedata/locales/os_RU: Likewise.
14393 * localedata/locales/pl_PL: Likewise.
14394 * localedata/locales/ps_AF: Likewise.
14395 * localedata/locales/ro_RO: Likewise.
14396 * localedata/locales/ru_RU: Likewise.
14397 * localedata/locales/ru_UA: Likewise.
14398 * localedata/locales/sc_IT: Likewise.
14399 * localedata/locales/se_NO: Likewise.
14400 * localedata/locales/si_LK: Likewise.
14401 * localedata/locales/sq_AL: Likewise.
14402 * localedata/locales/sv_FI: Likewise.
14403 * localedata/locales/sv_FI@euro: Likewise.
14404 * localedata/locales/sv_SE: Likewise.
14405 * localedata/locales/szl_PL: Likewise.
14406 * localedata/locales/tg_TJ: Likewise.
14407 * localedata/locales/ti_ER: Likewise.
14408 * localedata/locales/tk_TM: Likewise.
14409 * localedata/locales/tl_PH: Likewise.
14410 * localedata/locales/tr_TR: Likewise.
14411 * localedata/locales/tt_RU: Likewise.
14412 * localedata/locales/tt_RU@iqtelif: Likewise.
14413 * localedata/locales/ug_CN: Likewise.
14414 * localedata/locales/uk_UA: Likewise.
14415 * localedata/locales/uz_UZ: Likewise.
14416 * localedata/locales/uz_UZ@cyrillic: Likewise.
14417 * localedata/locales/vi_VN: Likewise.
14418 * localedata/locales/yi_US: Likewise.
14419 * localedata/locales/yo_NG: Likewise.
14420
14421 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14422
14423 * gen-locales.mk: Make test files which contain @ modifiers in their
14424 name work.
14425 * localedata/gen-locale.sh: Likewise.
14426
14427 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14428
14429 * posix/tst-fnmatch.input: Fix results for range expressions
14430 for non C locales.
14431 * posix/tst-regexloc.c: Do not use a range expression for
14432 de_DE.ISO-8859-1 locale.
14433
14434 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14435
14436 * posix/bug-regex5.c: Fix test case because with the new
14437 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14438 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14439 file.
14440
14441 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14442
14443 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14444 downloaded from ISO, the collation order of @-. and space has changed.
14445 Therefore, this test file needed to be adapted.
14446 * localedata/fr_CA.UTF-8.in: Likewise.
14447 * localedata/fr_FR.UTF-8.in: Likewise.
14448 * localedata/uk_UA.UTF-8.in: Likewise.
14449
14450 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14451
14452 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14453 order of ȥ in the new iso14651_t1_common file.
14454 * localedata/pl_PL.UTF-8.in: Likewise.
14455
14456 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14457
14458 * localedata/locales/iso14651_t1_common: Add sections for various
14459 scripts to the iso14651_t1_common file.
14460
14461 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14462
14463 * localedata/locales/iso14651_t1_common: Use the code point of a
14464 character in the fourth collation level instead of IGNORE for all
14465 entries which have IGNORE on all 4 levels.
14466
14467 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14468
14469 * localedata/locales/iso14651_t1_common: Add some convenient collation
14470 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14471 rules similar to those in CLDR.
14472
14473 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14474
14475 * localedata/locales/iso14651_t1_common: The new version of this
14476 file downloaded from ISO contained several syntax errors which
14477 are fixed by this patch.
14478
14479 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14480
14481 * localedata/locales/iso14651_t1_common: replace all <U.....>
14482 with <U000.....> because glibc understands only 4 digit or 8 digit
14483
14484 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14485
14486 * localedata/locales/iso14651_t1_common: Necessary changes
14487 to make the file downloaded from ISO usable by glibc.
14488
14489 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14490
14491 [BZ #14095]
14492 * localedata/locales/iso14651_t1_common: Update file to
14493 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14494
14495 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14496
14497 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14498 of <nptl/pthreadP.h>
14499 (thread_attr_compare): Move function to...
14500 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14501 * sysdeps/nptl/timer_routines.h: ... new header.
14502 * sysdeps/mach/hurd/gai_misc.h: New file.
14503
14504 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14505
14506 * string/strcoll_l.c: Include <libc-diag.h>.
14507 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14508 declarations of seq1 and seq2.
14509
14510 [BZ #15105]
14511 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14512 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14513
14514 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14515
14516 [BZ #22433]
14517 [BZ #22807]
14518 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14519 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14520 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14521 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14522 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14523 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14524
14525 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14526
14527 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14528 macros used in __ptrace_request.
14529
14530 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14531
14532 [BZ #22792]
14533 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14534 to $(CC).
14535 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14536 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14537 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14538 <tcb-offsets.h>.
14539
14540 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14541
14542 [BZ #15105]
14543 * ctype/ctype.c (tolower): Use libc_hidden_def.
14544 (toupper): Likewise.
14545 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14546 [!_ISOMAC] (toupper): Likewise.
14547
14548 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14549
14550 * localedata/Makefile: Remove --quiet argument when
14551 installing locales
14552
14553 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14554
14555 [BZ #17438]
14556 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14557 in d_fmt.
14558 * localedata/locales/pt_PT (LC_TIME): likewise
14559
14560 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14561
14562 [BZ #22646]
14563 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14564 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14565 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14566
14567 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14568
14569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14570
14571 * nptl/Makefile (routines): Remove unregister-atfork.
14572 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14573 (fork_handler_alloc): Remove function.
14574 (fork_handlers, fork_handler_init): New variables.
14575 (__fork_lock): Rename to atfork_lock.
14576 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14577 to use a dynamic array to add/remove atfork handlers.
14578 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14579 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14580 Remove declaration.
14581 (fork_handler): Remove next, refcntr, and need_signal member.
14582 (__run_fork_handler_type): New enum.
14583 (__run_fork_handlers): New prototype.
14584 * nptl/register-atfork.c: Remove file.
14585 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14586
14587 * sysdeps/nptl/nptl-signals.h: Move to ...
14588 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14589 comments.
14590 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14591 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14592 unnecessary check for SIGTIMER.
14593 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14594 remove unnecessary removal of SIGTIMER.
14595 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14596 include-signals.h rename.
14597 * nptl/pthreadP.h: Likewise.
14598 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14599 __is_internal_signal instead of __nptl_is_internal_signal.
14600
14601 2018-02-22 Andrew Waterman <andrew@sifive.com>
14602
14603 [BZ # 22884]
14604 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14605 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14606 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14607 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14608
14609 2018-02-22 DJ Delorie <dj@delorie.com>
14610
14611 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14612
14613 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14614
14615 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14616 do_misaligned, not misaligned8.
14617
14618 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14619
14620 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14621 Add memcpy_thunderx2.
14622 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14623 Increment to 4.
14624 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14625 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14626 and IS_THUNDERX2PA checks.
14627 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14628 Use macro to set name appropriately.
14629 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14630 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14631 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14632 New macro.
14633 (IS_THUNDERX2): New macro.
14634
14635 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14636
14637 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14638
14639 2018-02-21 Zack Weinberg <zackw@panix.com>
14640
14641 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14642 Define here, unconditionally.
14643 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14644 * libio/libioP.h: Remove #if 0 blocks.
14645 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14646 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14647 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14648
14649 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14650 Assume weak_alias is always defined.
14651
14652 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14653 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14654 Remove #if 0 and #ifdef TODO blocks.
14655 Assume text_set_element is always defined.
14656
14657 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14658 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14659 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14660
14661 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14662 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14663 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14664 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14665 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14666 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14667 Reformat bit flags for _flags field to make occupancy clearer.
14668 Update commentary.
14669 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14670 Keep definitions consistent with those in libio/libio.h.
14671
14672 * libio/libio.h (_IO_file_flags): Remove macro.
14673 All uses changed to _flags.
14674
14675 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14676 (__HAVE_COLUMN, _IO_BE): Don't define.
14677 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14678 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14679 * libio/libioP.h (EOF): Don't define.
14680 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14681 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14682 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14683 testing _IO_UNIFIED_JUMPTABLES.
14684
14685 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14686 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14687 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14688 (_IO_size_t): Delete; all uses changed to size_t.
14689 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14690 (_IO_off_t): Delete; all uses changed to off_t.
14691 (_IO_off64_t): Delete; all uses changed to off64_t.
14692 (_IO_pid_t): Delete; all uses changed to pid_t.
14693 (_IO_uid_t): Delete; all uses changed to uid_t.
14694 (_IO_wint_t): Delete; all uses changed to wint_t.
14695 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14696 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14697 (_IO_cookie_io_functions_t): Delete; all uses changed to
14698 cookie_io_functions_t.
14699 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14700 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14701 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14702 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14703
14704 * libio/iofopncook.c: Remove unnecessary forward declarations.
14705 * libio/iolibio.h: Correct outdated commentary.
14706 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14707 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14708 Remove unnecessary casts.
14709 * stdio-common/getline.c: Use _IO_getdelim directly.
14710 Don't redefine ssize_t.
14711 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14712 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14713 Remove outdated comments.
14714 * stdio-common/vfscanf.c: Don't redefine va_list.
14715
14716 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14717 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14718 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14719 which are always true, and __cplusplus, which is always false.
14720
14721 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14722
14723 [BZ #15105]
14724 [BZ #19463]
14725 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14726 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14727 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14728 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14729 libc_hidden_proto.
14730 [!_ISOMAC] (putc_unlocked): Likewise.
14731 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14732 define inline if [__USE_EXTERN_INLINES].
14733 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14734 putc_unlocked.
14735
14736 [BZ #15105]
14737 [BZ #19463]
14738 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14739 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14740 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14741 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14742 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14743 getc_unlocked.
14744 * time/tzfile.c (__tzfile_read): Likewise.
14745
14746 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14747
14748 [BZ #22517]
14749 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14750
14751 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14752
14753 * io/fcntl.h: Fix a typo in a comment.
14754
14755 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14756
14757 [BZ #22862]
14758 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14759 define _DEFAULT_SOURCE.
14760 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14761
14762 2018-02-21 Florian Weimer <fweimer@redhat.com>
14763
14764 [BZ #20890]
14765 * elf/cache.c (save_cache): Call fsync on temporary file before
14766 renaming it.
14767 (save_aux_cache): Call fdatasync on temporary file before renaming
14768 it.
14769
14770 2018-02-21 Florian Weimer <fweimer@redhat.com>
14771
14772 [BZ #22787]
14773 * include/caller.h: Remove file.
14774 * elf/dl-caller.c: Likewise.
14775 * elf/Makefile (dl-routines): Remove dl-caller.
14776 (shared-only-routines): Do not add dl-caller.
14777 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14778 __check_caller.
14779 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14780 member.
14781 (dl_open_worker): Do not call __check_caller.
14782 (_dl_open): Do not set caller_dl_open member.
14783 * elf/rtld.c (_rtld_global_ro): Do not initialize
14784 _dl_check_caller member.
14785 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14786 _dl_check_caller member.
14787 (_dl_check_caller): Remove declaration.
14788 * sysdeps/unix/sysv/linux/dl-execstack.c
14789 (_dl_make_stack_executable): Do not call __check_caller.
14790
14791 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14792
14793 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14794 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14795
14796 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14797
14798 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14799 description.
14800
14801 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14802
14803 [BZ #16335]
14804 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14805 of 199606L, 200112L, and 200809L.
14806 (_XOPEN_SOURCE): Document special values of 600 and 700.
14807 (_ISOC11_SOURCE): Document macro.
14808 (_ATFILE_SOURCE): Likewise.
14809 (_FORTIFY_SOURCE): Likewise.
14810
14811 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14812
14813 [BZ #15105]
14814 [BZ #19463]
14815 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14816 and define as weak alias of __ferror_unlocked. Use
14817 libc_hidden_weak.
14818 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14819 libc_hidden_proto.
14820 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14821 function if [__USE_EXTERN_INLINES].
14822 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14823 ferror_unlocked.
14824
14825 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14826
14827 [BZ #6889]
14828 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14829
14830 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14831
14832 [BZ #22818]
14833 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14834 the GLIBC_2.1 version.
14835
14836 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14837
14838 [BZ #21508]
14839 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14840 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14841 intl/tst-gettext-de.po from po/de.po by removing the
14842 POT-Creation-Date line.
14843 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14844 ../po/de.po.
14845 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14846 ../po/de.po.
14847
14848 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14849
14850 * mach/Makefile (headers): Add mach/param.h.
14851 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14852 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14853 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14854 (__ptsname_r): Move implementation to...
14855 (__ptsname_internal): ... new function. Add filling the STP
14856 structure.
14857
14858 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14859
14860 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14861 idouble to 1 ULP.
14862
14863 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14864
14865 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14866 syntax.
14867
14868 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14869
14870 * nptl/Makefile (tst-mutex8-ENV): Delete.
14871 * nptl/tst-mutex8.c (check_type):
14872 Add runtime check if mutex will be elided.
14873
14874 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14875
14876 [BZ #20980]
14877 [BZ #21234]
14878 * manual/install.texi (Configuring and compiling): Describe
14879 passing CC and CFLAGS on configure command line, not as
14880 environment variables. Use @code markup on those variables.
14881 Specify what options go in CC and what go in CFLAGS. Note the
14882 requirement to compile with optimization.
14883 * INSTALL: Regenerated.
14884
14885 [BZ #18124]
14886 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14887 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14888 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14889 __sigprocmask instead of sigprocmask.
14890 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14891 Likewise.
14892 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14893 __sigsetjmp and sigprocmask.
14894
14895 [BZ #15105]
14896 * include/argz.h (argz_next): Use libc_hidden_proto.
14897 (__argz_next): Likewise.
14898 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14899 (argz_next): Use libc_hidden_weak.
14900
14901 [BZ #15105]
14902 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14903 libc_hidden_proto.
14904 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14905 libc_hidden_def.
14906
14907 [BZ #15105]
14908 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14909 libc_hidden_proto.
14910 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14911
14912 [BZ #15105]
14913 [BZ #19463]
14914 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14915 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14916 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14917 (__feof_unlocked): New declaration, and inline function if
14918 [__USE_EXTERN_INLINES].
14919 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14920 instead of feof_unlocked.
14921 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14922 * nss/nsswitch.c (nss_parse_file): Likewise.
14923 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14924 Likewise.
14925 * time/getdate.c (__getdate_r): Likewise.
14926 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14927 Define as macro to call __feof_unlocked.
14928
14929 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14930
14931 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14932
14933 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14934
14935 * math/Makefile: Remove mpexp.c and mplog.c
14936 * sysdeps/i386/fpu/mpexp.c: Delete file.
14937 * sysdeps/i386/fpu/mplog.c: Likewise.
14938 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14939 * sysdeps/ia64/fpu/mplog.c: Likewise.
14940 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14941 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14942 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14943 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14944 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14945 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14946 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14947 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14948 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14949 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14950 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14951 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14952 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14953 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14954 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14955 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14956
14957 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14958
14959 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14960
14961 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14962
14963 * sysdeps/sh/libm-test-ulps: Update.
14964
14965 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14966
14967 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14968 idouble to 1 ULP.
14969
14970 2018-02-12 Zack Weinberg <zackw@panix.com>
14971
14972 [BZ #19239]
14973 * posix/sys/types.h: Don't include sys/sysmacros.h.
14974 * misc/sys/sysmacros.h: Remove the conditional deprecation
14975 warnings for the macros defined by this header.
14976
14977 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14978
14979 * manual/probes.texi: Remove slowexp probes.
14980 * math/Makefile: Remove slowexp.
14981 * sysdeps/generic/math_private.h (__slowexp): Remove.
14982 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14983 document error bounds.
14984 * sysdeps/i386/fpu/slowexp.c: Remove.
14985 * sysdeps/ia64/fpu/slowexp.c: Remove.
14986 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14987 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14988 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14989 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14990 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14991 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14992 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14993 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14994 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14995 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14996 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14997
14998 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14999
15000 [BZ #13932]
15001 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15002 * benchtests/pow-inputs: Update comment for slow path cases.
15003 * manual/probes.texi (slowpow_p10): Delete removed probe.
15004 (slowpow_p10): Likewise.
15005 * math/Makefile: Remove halfulp.c and slowpow.c.
15006 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15007 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15008 (__halfulp): Remove.
15009 (__slowpow): Remove.
15010 * sysdeps/i386/fpu/halfulp.c: Delete file.
15011 * sysdeps/i386/fpu/slowpow.c: Likewise.
15012 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15013 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15014 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15015 improve comments and add error analysis.
15016 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15017 (power1): Remove function:
15018 (log1): Remove error argument, add error analysis.
15019 (my_log2): Remove function.
15020 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15021 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15022 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15023 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15024 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15025 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15026 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15027 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15028 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15029 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15030 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15031 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15032 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15033 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15034
15035 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15036
15037 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
15038 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
15039
15040 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
15041
15042 [BZ #22433]
15043 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
15044 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
15045 and PTRACE_SETHBPREGS.
15046
15047 2018-02-10 Zack Weinberg <zackw@panix.com>
15048
15049 [BZ #22830]
15050 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
15051 correctly.
15052 * malloc/tst-malloc-stats-cancellation.c: New test case.
15053 * malloc/Makefile: Add new test case.
15054
15055 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
15056
15057 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15058
15059 2018-02-10 Joseph Myers <joseph@codesourcery.com>
15060
15061 * math/Makefile (libm-narrow-fns): Add add.
15062 (libm-test-funcs-narrow): Likewise.
15063 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15064 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15065 * math/gen-auto-libm-tests.c (test_functions): Add add.
15066 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15067 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15068 (NARROW_ADD_TRIVIAL): Likewise.
15069 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15070 macro.
15071 (__daddl): Likewise.
15072 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15073 dadd.
15074 (CFLAGS-nldbl-dadd.c): New variable.
15075 (CFLAGS-nldbl-fadd.c): Likewise.
15076 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15077 __nldbl_daddl.
15078 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15079 prototype.
15080 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15081 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15082 * math/auto-libm-test-in: Add tests of add.
15083 * math/auto-libm-test-out-narrow-add: New generated file.
15084 * math/libm-test-narrow-add.inc: New file.
15085 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15086 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15087 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15088 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15089 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15090 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15091 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15092 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15093 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15094 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15095 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15096 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15097 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15098 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15099 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15100 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15101 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15102 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15104 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15105 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15106 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15107 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15108 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15109 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15110 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15111 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15112 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15113 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15114 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15115 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15116 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15121 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15122 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15123 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15124 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15125 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15126 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15127 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15128 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15129 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15130 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15131
15132 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15133 (f128-pairs): New variable.
15134 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15135 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15136 to CFLAGS.
15137 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15138 Also make tests add $(f128-loader-link) to gnulib-tests.
15139
15140 2018-02-09 DJ Delorie <dj@redhat.com>
15141
15142 [BZ #22827]
15143 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15144 64-bit ELF type for 64-bit ELF objects.
15145
15146 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15147
15148 * math/libm-test-driver.c (snan_tests_arg): New variable.
15149 * math/libm-test-support.h (snan_tests_arg): New declaration.
15150 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15151
15152 * math/Makefile (test-type-pairs): New variable.
15153 (test-type-pairs-f64xf128-yes): Likewise.
15154 (tests): Add test-narrow-macros.
15155 (libm-test-funcs-narrow): New variable.
15156 (libm-test-c-narrow): Likewise.
15157 (generated): Add $(libm-test-c-narrow).
15158 (libm-tests-base-narrow): New variable.
15159 (libm-tests-narrow): Likewise.
15160 (libm-tests): Add $(libm-tests-narrow).
15161 (libm-tests-for-type): Handle $(libm-tests-narrow).
15162 (libm-test-c-narrow-obj): New variable.
15163 ($(libm-test-c-narrow-obj)): New rule.
15164 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15165 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15166 $(o-iterator) to set dependencies and CFLAGS.
15167 * math/gen-auto-libm-tests.c: Document use for narrowing
15168 functions.
15169 (output_for_one_input_case): Take argument NARROW.
15170 (generate_output): Likewise. Update call to
15171 output_for_one_input_case.
15172 (main): Take --narrow option. Update call to generate_output.
15173 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15174 (apply_lit): Update call to _apply_lit.
15175 (apply_arglit): New function.
15176 (parse_args): Handle "a" arguments.
15177 (parse_auto_input): Handle format names using ":".
15178 * math/README.libm-test: Document "a" parameter type.
15179 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15180 (ARG_TYPE_TRUE_MIN): Likewise.
15181 (ARG_TYPE_MAX): Likwise.
15182 (ARG_MIN_EXP): Likewise.
15183 (ARG_MAX_EXP): Likewise.
15184 (ARG_MANT_DIG): Likewise.
15185 (TEST_COND_arg_ibm128): Likewise.
15186 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15187 (TEST_COND_arg_fmt): New macro.
15188 (init_max_error): Update prototype.
15189 * math/libm-test-support.c (test_ibm128): New variable.
15190 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15191 instead of using [TEST_COND_ibm128] conditional.
15192 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15193 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15194 [TEST_NARROW] (TEST_MSG): New definition.
15195 (arg_plus_zero): New macro.
15196 (arg_minus_zero): Likewise.
15197 (arg_plus_infty): Likewise.
15198 (arg_minus_infty): Likewise.
15199 (arg_qnan_value_pl): Likewise.
15200 (arg_qnan_value): Likewise.
15201 (arg_snan_value_pl): Likewise.
15202 (arg_snan_value): Likewise.
15203 (arg_max_value): Likewise.
15204 (arg_min_value): Likewise.
15205 (arg_min_subnorm_value): Likewise.
15206 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15207 (RUN_TEST_LOOP_aa_f): New macro.
15208 (TEST_SUFF): New macro.
15209 (TEST_SUFF_STR): Likewise.
15210 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15211 (TEST_COND_any_ibm128): New macro.
15212 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15213 this_func. Update call to init_max_error.
15214 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15215 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15216 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15217 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15218 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15219 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15220 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15221 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15222 * math/test-math-vector.h (TEST_NARROW): Likewise.
15223 * math/test-arg-double.h: New file.
15224 * math/test-arg-float128.h: Likewise.
15225 * math/test-arg-float32x.h: Likewise.
15226 * math/test-arg-float64.h: Likewise.
15227 * math/test-arg-float64x.h: Likewise.
15228 * math/test-arg-ldouble.h: Likewise.
15229 * math/test-math-narrow.h: Likewise.
15230 * math/test-narrow-macros.c: Likewise.
15231 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15232 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15233 test-narrow-macros-ldbl-64.
15234 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15235
15236 * math/bits/mathcalls-narrow.h: New file.
15237 * include/bits/mathcalls-narrow.h: Likewise.
15238 * math/math-narrow.h: Likewise.
15239 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15240 (__MATHCALL_NARROW_ARGS_2): Likewise.
15241 (__MATHCALL_NARROW_ARGS_3): Likewise.
15242 (__MATHCALL_NARROW_NORMAL): Likewise.
15243 (__MATHCALL_NARROW_REDIR): Likewise.
15244 (__MATHCALL_NARROW): Likewise.
15245 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15246 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15247 defined.
15248 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15249 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15250 (libm-narrow-fns): New variable.
15251 (libm-narrow-types-basic): Likewise.
15252 (libm-narrow-types-ldouble-yes): Likewise.
15253 (libm-narrow-types-float128-yes): Likewise.
15254 (libm-narrow-types-float128-alias-yes): Likewise.
15255 (libm-narrow-types): Likewise.
15256 (libm-routines): Add narrowing functions.
15257 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15258 (libc_feholdexcept_setroundf128): New macro.
15259 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15260 * sysdeps/ieee754/float128/float128_private.h: Include
15261 <math/math-narrow.h>.
15262 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15263 Undefine and redefine.
15264 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15265 (libm_alias_float_ldouble): Undefine and redefine.
15266 (libm_alias_double_ldouble): Likewise.
15267
15268 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15269
15270 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15271
15272 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15273 FPCR/FPSR.
15274
15275 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
15276
15277 * manual/creature.texi: Convert references to gcc.info to gcc.
15278 * manual/stdio.texi: Likewise.
15279 * manual/string.texi: Likewise.
15280
15281 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15282
15283 [BZ #17979]
15284 * posix/bits/types.h (__int_least8_t): New typedef.
15285 (__uint_least8_t): Likewise.
15286 (__int_least16_t): Likewise.
15287 (__uint_least16_t): Likewise.
15288 (__int_least32_t): Likewise.
15289 (__uint_least32_t): Likewise.
15290 (__int_least64_t): Likewise.
15291 (__uint_least64_t): Likewise.
15292 * sysdeps/generic/stdint.h (int_least8_t): Define using
15293 __int_least8_t.
15294 (int_least16_t): Define using __int_least16_t.
15295 (int_least32_t): Define using __int_least32_t.
15296 (int_least64_t): Define using __int_least64_t.
15297 (uint_least8_t): Define using __uint_least8_t.
15298 (uint_least16_t): Define using __uint_least16_t.
15299 (uint_least32_t): Define using __uint_least32_t.
15300 (uint_least64_t): Define using __uint_least64_t.
15301 * wcsmbs/uchar.h: Include <bits/types.h>.
15302 (char16_t): Define using __uint_least16_t conditional only on
15303 [!__USE_ISOCXX11].
15304 (char32_t): Define using __uint_least32_t conditional only on
15305 [!__USE_ISOCXX11].
15306 * wcsmbs/test-char-types.c: New file.
15307 * wcsmbs/Makefile (tests): Add test-char-types.
15308
15309 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15310 version to 4.0.1.
15311
15312 2018-02-07 Zack Weinberg <zackw@panix.com>
15313
15314 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15315 Delete all contents except for definitions of _G_HAVE_MMAP and
15316 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15317 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15318 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15319 change as above.
15320
15321 * libio/libio.h: Don't include bits/_G_config.h here.
15322 Include stddef.h with __need_wchar_t defined. Include
15323 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15324 Define _IO_iconv_t here, directly.
15325 Don't define _IO_HAVE_ST_BLKSIZE.
15326 * libio/libioP.h: Include _G_config.h here. Move include of
15327 shlib-compat.h up with rest of includes. Simplify conditionals
15328 controlling definition of _IO_JUMPS_OFFSET.
15329
15330 * csu/init.c: Remove always-true #if around entire file.
15331 Don't include stdio.h. Set _IO_stdin_used to hardwired
15332 constant 0x20001, and update commentary.
15333 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15334 Replace all uses of _G_va_list with __gnuc_va_list.
15335 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15336 instead of #if _IO_HAVE_ST_BLKSIZE.
15337 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15338 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15339 not #ifdef.
15340
15341 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15342 multiple-include guard to match.
15343 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15344 into this file.
15345 Remove preprocessor conditionals that are always true and/or
15346 redundant to other preprocessor conditionals in the same nest.
15347 Include shlib-compat.h unconditionally.
15348 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15349 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15350 defined after including stdio.h.
15351 Use __BEGIN_DECLS/__END_DECLS.
15352
15353 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15354 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15355 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15356
15357 2018-02-07 Zack Weinberg <zackw@panix.com>
15358
15359 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15360 New single-type headers split from _G_config.h.
15361 * libio/bits/types/cookie_io_functions_t.h
15362 * libio/bits/types/struct_FILE.h
15363 New single-type headers split from libio.h.
15364
15365 * libio/Makefile: Install the above new headers. Don't install
15366 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15367 bits/libio-ldbl.h.
15368 * libio/_G_config.h, libio/libio.h: Delete file.
15369
15370 * libio/bits/libio.h: Remove improper-inclusion guard.
15371 Include stdio.h and don't repeat anything that it does.
15372 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15373 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15374 __io_read_fn as cookie_read_function_t,
15375 __io_write_fn as cookie_write_function_t,
15376 __io_seek_fn as cookie_seek_function_t,
15377 __io_close_fn as cookie_close_function_t,
15378 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15379 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15380 here, in the "compatibility defines" section. Remove an #if 0
15381 block. Use the "body" macros from bits/types/struct_FILE.h to
15382 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15383 and _IO_ferror_unlocked.
15384 Move prototypes of __uflow and __overflow...
15385
15386 * libio/stdio.h: ...here. Don't include bits/libio.h.
15387 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15388 directly from stdarg.h. Include bits/types/__fpos_t.h,
15389 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15390 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15391 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15392 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15393 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15394 __ssize_t, not _IO_ssize_t. Unconditionally define
15395 BUFSIZ as 8192 and EOF as (-1).
15396
15397 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15398 macros from bits/types/struct_FILE.h instead of _IO_* macros
15399 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15400 instead of _IO_ssize_t.
15401 * libio/bits/stdio2.h: Similarly.
15402
15403 * libio/iolibio.h: Add multiple-include guard.
15404 Include bits/libio.h after stdio.h.
15405 * libio/libioP.h: Add multiple-include guard.
15406 Include stdio.h and bits/libio.h before iolibio.h.
15407
15408 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
15409 * include/bits/types/cookie_io_functions_t.h
15410 * include/bits/types/struct_FILE.h: New wrappers.
15411
15412 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15413 Get definitions of _G_fpos_t and _G_fpos64_t from
15414 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15415 respectively. Remove improper-inclusion guards.
15416
15417 * conform/data/stdio.h-data: Update expectations of va_list.
15418 * scripts/check-installed-headers.sh: Remove special case for
15419 libio.h and _G_config.h.
15420
15421 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15422
15423 [BZ #15105]
15424 [BZ #19463]
15425 * include/sys/sysmacros.h [!_ISOMAC]
15426 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15427 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15428 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15429 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15430 libc_hidden_proto.
15431 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15432 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15433 Likewise.
15434 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15435 Undefine and redefine to add use __gnu_dev_ prefix.
15436 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15437 Likewise.
15438 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15439 and define as hidden inline function.
15440 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15441 Likewise.
15442 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15443 Likewise.
15444 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15445 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15446 (gnu_dev_minor): Likewise.
15447 (gnu_dev_makedev): Likewise.
15448 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15449 makedev.
15450 * posix/wordexp.c (exec_comm_child): Likewise.
15451 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15452 instead of minor and __gnu_dev_major instead of major.
15453 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15454 __gnu_dev_major instead of major.
15455 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15456 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15457 instead of gnu_dev_minor.
15458 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15459 (SLAVE_P): Likewise.
15460 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15461 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15462 instead of major.
15463
15464 [BZ #21313]
15465 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15466 in another place.
15467 * locale/weightwc.h (findidx): Likewise.
15468
15469 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15470
15471 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15472 (slowlog_inexact): Likewise
15473 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15474 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15475
15476 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15477
15478 [BZ #22797]
15479 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15480 missing second underscore to parameter name.
15481
15482 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15483
15484 [BZ #14508]
15485 [BZ #15512]
15486 [BZ #17082]
15487 [BZ #20530]
15488 * bits/byteswap.h: Update file comment. Do not include
15489 <bits/byteswap-16.h>.
15490 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15491 constant.
15492 (__bswap_16): Define as inline function.
15493 (__bswap_constant_32): Reformat definition.
15494 (__bswap_32): Always define as inline function, not macro, using
15495 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15496 otherwise __bswap_constant_32.
15497 (__bswap_constant_64): Reformat definition. Do not use
15498 __extension__ here.
15499 (__bswap_64): Always define as inline function, not macro. Use
15500 __extension__ on function definition. Use __builtin_bswap64 if
15501 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15502 * string/test-endian-file-scope.c: New file.
15503 * string/test-endian-sign-conversion.c: Likewise.
15504 * string/Makefile (headers): Remove bits/byteswap-16.h.
15505 (tests): Add test-endian-file-scope and
15506 test-endian-sign-conversion.
15507 (CFLAGS-test-endian-sign-conversion.c): New variable.
15508 * bits/byteswap-16.h: Remove file.
15509 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15510 * sysdeps/ia64/bits/byteswap.h: Likewise.
15511 * sysdeps/m68k/bits/byteswap.h: Likewise.
15512 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15513 * sysdeps/s390/bits/byteswap.h: Likewise.
15514 * sysdeps/tile/bits/byteswap.h: Likewise.
15515 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15516 * sysdeps/x86/bits/byteswap.h: Likewise.
15517
15518 [BZ #17721]
15519 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15520 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15521 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15522 199901L] (__restrict): Define to restrict.
15523
15524 [BZ #19667]
15525 * string/testcopy.c: Include <support/support.h>. Do not include
15526 <malloc.h>. Use <support/test-driver.c>.
15527 (main): Rename to do_test. Make static. Use xmalloc instead of
15528 malloc.
15529
15530 [BZ #13575]
15531 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15532 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15533 (SSIZE_MAX): Define to INT_MAX.
15534 * posix/test-ssize-max.c: New file.
15535 * posix/Makefile (tests): Add test-ssize-max.
15536
15537 [BZ #19668]
15538 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15539 <support/support.h>. Do not include <malloc.h>.
15540 (query_auxv): Use xmalloc instead of malloc.
15541
15542 [BZ #14553]
15543 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15544 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15545 instead of loff_t.
15546
15547 2018-02-06 Florian Weimer <fweimer@redhat.com>
15548
15549 [BZ #18023]
15550 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15551 Use scratch_buffer instead of extend_alloca.
15552
15553 2018-02-06 Zack Weinberg <zackw@panix.com>
15554
15555 * libio/stdio.h: Don't define getc or putc as macros.
15556 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15557 not _IO_getc and _IO_putc.
15558
15559 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15560 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15561
15562 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15563
15564 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15565 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15566
15567 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15568
15569 [BZ #14890]
15570 * elf/elf.h (NT_PRFPREG): New macro.
15571 (NT_S390_VXRS_LOW): Likewise.
15572 (NT_S390_VXRS_HIGH): Likewise.
15573 (NT_S390_GS_CB): Likewise.
15574 (NT_S390_GS_BC): Likewise.
15575 (NT_S390_RI_CB): Likewise.
15576
15577 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15578 (MAP_SYNC): New macro.
15579 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15580 Likewise.
15581 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15582 (MAP_SYNC): Likewise.
15583 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15584 (MAP_SYNC): Likewise.
15585 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15586 (MAP_SYNC): Likewise.
15587 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15588 (MAP_SYNC): Likewise.
15589 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15590 (MAP_SYNC): Likewise.
15591 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15592 (MAP_SYNC): Likewise.
15593 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15594 Likewise.
15595 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15596 Likewise.
15597
15598 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15599 (MAP_SHARED_VALIDATE): New macro.
15600 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15601 (MAP_SHARED_VALIDATE): Likewise.
15602
15603 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15604
15605 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15606 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15607 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15608
15609 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15610
15611 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15612 (DT_NUM): Updated to 35.
15613
15614 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15615
15616 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15617 __builtin_expect with __glibc_likely and __glibc_unlikely.
15618 (elf_machine_rela): Likewise.
15619 (elf_machine_lazy_rel): Likewise.
15620
15621 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15622
15623 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15624 __builtin_expect with __glibc_likely and __glibc_unlikely.
15625 (elf_machine_lazy_rel): Likewise.
15626
15627 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15628
15629 [BZ #22638]
15630 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15631 SHARED.
15632 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15633
15634 2018-02-05 Andreas Schwab <schwab@suse.de>
15635
15636 [BZ #22761]
15637 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15638 string.
15639
15640 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15641
15642 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15643 not check against PTHREAD_STACK_MIN.
15644
15645 2018-02-02 Sean McKean <smckean83@gmail.com>
15646
15647 [BZ #22735]
15648 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15649
15650 2018-02-02 Florian Weimer <fweimer@redhat.com>
15651
15652 [BZ #22753]
15653 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15654 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15655 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15656 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15657 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15658 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15659 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15660 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15661 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15662 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15663 * misc/tst-preadvwritev2.c (do_test): Call it.
15664 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15665
15666 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15667
15668 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15669
15670 * benchtests/bench-memcmp.c: Print json instead of plain text.
15671
15672 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15673 every test run.
15674
15675 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15676
15677 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15678 version to 4.15.
15679 (s390_sthyi): New syscall.
15680
15681 * sysdeps/generic/ldbl-classify-compat.h: New file.
15682 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15683 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15684 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15685 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15686 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15687 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15688 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15689 <ldbl-classify-compat.h>.
15690 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15691 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15692 <ldbl-classify-compat.h>.
15693 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15694 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15695 <ldbl-classify-compat.h>.
15696 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15697 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15698 <ldbl-classify-compat.h>.
15699 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15700 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15701 <ldbl-classify-compat.h>.
15702 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15703 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15704 <ldbl-classify-compat.h>.
15705 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15706 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15707 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15708 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15709 * sysdeps/microblaze/math_private.h: Likewise.
15710 * sysdeps/nios2/math_private.h: Likewise.
15711 * sysdeps/sh/math_private.h: Likewise.
15712
15713 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15714 * sysdeps/m68k/coldfire/math_private.h: ... here.
15715 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15716 * sysdeps/tile/math_private.h: Likewise.
15717 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15718 Remove macro.
15719 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15720 Likewise.
15721
15722 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15723 Remove macro.
15724 (libc_fetestexcept): Likewise.
15725 (libc_feupdateenv_test): Likewise.
15726 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15727 (libc_fetestexcept): Likewise.
15728 (libc_feupdateenv_test): Likewise.
15729 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15730 (libc_fetestexcept): Likewise.
15731 (libc_feupdateenv_test): Likewise.
15732 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15733 (libc_fetestexcept): Likewise.
15734 (libc_feupdateenv_test): Likewise.
15735
15736 * sysdeps/generic/math_private.h
15737 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15738 New inline function.
15739 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15740 Likewise.
15741
15742 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15743 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15744 * sysdeps/generic/math_private.h
15745 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15746 inline function.
15747 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15748 Likewise.
15749 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15750 Likewise.
15751 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15752 Likewise.
15753 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15754 Likewise.
15755 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15756 Likewise.
15757 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15758 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15759 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15760 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15761 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15762 (__fegetenv): Likewise.
15763 (fesetenv): Likewise.
15764 (__fesetenv): Likewise.
15765 (feupdateenv): Likewise.
15766 (__feupdateenv): Likewise.
15767 (fegetround): Likewise.
15768 (__fegetround): Likewise.
15769 (fesetround): Likewise.
15770 (__fesetround): Likewise.
15771
15772 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15773 (feraiseexcept): New macro.
15774 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15775 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15776 Remove macro.
15777 (__feraiseexcept): Likewise.
15778 (feclearexcept): Likewise.
15779 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15780 (__feraiseexcept): Likewise.
15781 (feclearexcept): Likewise.
15782 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15783 (__feraiseexcept): Likewise.
15784 (feclearexcept): Likewise.
15785 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15786 (__feraiseexcept): Likewise.
15787 (feclearexcept): Likewise.
15788 (fetestexcept): Likewise.
15789
15790 * sysdeps/m68k/coldfire/math-tests.h: New file.
15791
15792 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15793 * sysdeps/m68k/bits/fenv.h: ... here.
15794 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15795 not define.
15796 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15797 Likewise.
15798 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15799 Likewise.
15800 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15801 Likewise.
15802 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15803 Likewise.
15804 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15805 Define to 0.
15806 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15807 (__FE_UNDEFINED): New enum constant.
15808 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15809 Do not define.
15810 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15811 Likewise.
15812 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15813 Likewise.
15814 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15815 to match generic bits/fenv.h.
15816 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15817 Do not define.
15818
15819 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15820 packed on bits.
15821 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15822 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15823 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15824 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15825
15826 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15827 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15828 Joseph Myers <joseph@codesourcery.com>
15829
15830 [BZ #21314]
15831 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15832 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15833 computation using c.
15834 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15835 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15836 computation using c.
15837
15838 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15839
15840 * version.h (RELEASE): Set to "development".
15841 (VERSION): Set to "2.27.9000".
15842 * NEWS (2.28): New section.
15843
15844 * version.h (RELEASE): Set to "stable".
15845 (VERSION): Set to "2.27".
15846 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15847
15848 * NEWS: Add the list of bugs fixed in 2.27.
15849
15850 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15851
15852 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15853 against PTHREAD_STACK_MIN.
15854
15855 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15856
15857 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15858 New entries.
15859 (Rafal Luzynski, Andreas Schwab): Update.
15860
15861 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15862
15863 [BZ #10871]
15864 * NEWS: List the languages which actually use the alternative
15865 months feature in this release. Also explain that "alt_mon" and
15866 "ab_alt_mon" are optional.
15867
15868 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15869
15870 [BZ #22765]
15871 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15872
15873 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15874
15875 * manual/install.texi (Tools for Compilation): Update the newest
15876 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15877 * INSTALL: Regenerated.
15878
15879 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15880
15881 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15882 instead of __builtin_expect.
15883
15884 2018-01-30 Florian Weimer <fweimer@redhat.com>
15885
15886 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15887 data.
15888 * nss/tst-nss-getpwent.c (do_test): Likewise.
15889
15890 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15891
15892 [BZ #10871]
15893 * localedata/locales/hr_HR (mon): Rename to...
15894 (alt_mon): This.
15895 (mon): Import from CLDR (genitive case).
15896 (d_t_fmt): Update the comment.
15897
15898 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15899
15900 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15901 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15902 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15903
15904 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15905
15906 * mach/Versions: Fix version when __mach_host_self_ was added.
15907 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15908 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15909 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15910 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15911 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15912 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15913 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15914 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15915 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15916 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15917 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15918 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15919 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15920 || to respect codestyle.
15921 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15922 (do_test_bz20181): Rename accordingly.
15923 * malloc/malloc.c: Include <assert.h>.
15924 (assert): Do not define.
15925 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15926 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15927 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15928 * sysdeps/mach/hurd/hp-timing.h: New file.
15929 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15930
15931 2018-01-29 Darius Rad <darius@bluespec.com>
15932
15933 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15934
15935 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15936
15937 * sysdeps/init_array/crti.S (.section .init_array): Add
15938 PREINIT_FUNCTION when defined.
15939 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15940 * config.h.in: Regenerate.
15941 * manual/platform.texi: Add RISC-V documenation for
15942 __riscv_flush_icache.
15943 * sysdeps/riscv/__longjmp.S: New file.
15944 * sysdeps/riscv/backtrace.c: Likewise.
15945 * sysdeps/riscv/bits/endian.h: Likewise.
15946 * sysdeps/riscv/bits/setjmp.h: Likewise.
15947 * sysdeps/riscv/bits/wordsize.h: Likewise.
15948 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15949 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15950 * sysdeps/riscv/dl-trampoline.S: Likewise.
15951 * sysdeps/riscv/gccframe.h: Likewise.
15952 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15953 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15954 * sysdeps/riscv/machine-gmon.h: Likewise.
15955 * sysdeps/riscv/memusage.h: Likewise.
15956 * sysdeps/riscv/setjmp.S: Likewise.
15957 * sysdeps/riscv/sys/asm.h: Likewise.
15958 * sysdeps/riscv/tls-macros.h: Likewise.
15959 * sysdeps/riscv/dl-tls.h: New file.
15960 * sysdeps/riscv/libc-tls.c: Likewise.
15961 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15962 * sysdeps/riscv/nptl/tls.h: Likewise.
15963 * sysdeps/riscv/stackinfo.h: Likewise.
15964 * sysdeps/riscv/bits/fenv.h: New file.
15965 * sysdeps/riscv/e_sqrtl.c: Likewise.
15966 * sysdeps/riscv/fpu_control.h: Likewise.
15967 * sysdeps/riscv/math-tests.h: Likewise.
15968 * sysdeps/riscv/nofpu/Implies: Likewise.
15969 * sysdeps/riscv/sfp-machine.h: Likewise.
15970 * sysdeps/riscv/tininess.h: Likewise.
15971 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15972 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15973 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15974 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15975 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15976 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15977 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15978 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15979 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15980 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15981 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15982 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15983 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15984 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15985 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15986 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15987 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15988 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15989 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15990 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15991 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15992 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15993 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15994 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15995 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15996 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15997 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15998 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15999 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16000 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16001 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16002 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16003 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16004 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16005 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16006 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16007 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16008 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16009 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16010 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16011 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16012 * sysdeps/riscv/rvf/math_private.h: Likewise.
16013 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16014 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16015 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16016 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16017 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16018 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16019 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16020 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16021 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16022 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16023 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16024 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16025 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16026 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16027 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16028 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
16029 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16030 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16031 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16032 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
16033 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16034 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16035 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
16036 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
16037 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
16038 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
16039 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
16040 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
16041 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
16042 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
16043 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
16044 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
16045 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
16046 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
16047 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
16048 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
16049 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
16050 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
16051 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
16052 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
16053 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
16054 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
16055 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
16056 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
16057 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16058 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16059 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16060 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16061 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16062 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16063 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
16064 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16065 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16066 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
16067 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16068 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16069 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16070 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16071 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16072 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16073 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16074 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16075 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16076 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16077 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16078 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16079 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16080 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16081 * sysdeps/riscv/Implies: New file.
16082 * sysdeps/riscv/Makefile: Likewise.
16083 * sysdeps/riscv/configure: Likewise.
16084 * sysdeps/riscv/configure.ac: Likewise.
16085 * sysdeps/riscv/nptl/Makefile: Likewise.
16086 * sysdeps/riscv/preconfigure: Likewise.
16087 * sysdeps/riscv/rv64/Implies-after: Likewise.
16088 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16089 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16090 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16091 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16092 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16093 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16094 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16095 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16096 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16097 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16098 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16099 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16100 (Config): Likewise.
16101
16102 2018-01-29 Florian Weimer <fweimer@redhat.com>
16103
16104 [BZ #22701]
16105 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16106 libnsl_hidden_proto.
16107 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16108 libnsl_hidden_proto.
16109 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16110 * nis/Makefile (libnsl-routines): Add nss-default only for
16111 build-obsolete-nsl.
16112 * nis/nis_defaults.c (__nis_default_ttl): Add
16113 libnsl_hidden_nolink_def.
16114 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16115 declaration.
16116 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16117 * nis/ypclnt.c (yp_maplist): Likewise.
16118
16119 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16120
16121 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16122 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16123
16124 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16125
16126 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16127 clean -dxfq for git updates when replacing sources.
16128
16129 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16130 --disable-libcilkrts unconditionally, not just for the final GCC
16131 build for Hurd.
16132
16133 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16134 version to 4.15.
16135
16136 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16137
16138 [BZ #10871]
16139 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16140 case).
16141
16142 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16143
16144 [BZ #10871]
16145 * localedata/locales/be_BY (mon): Rename to...
16146 (alt_mon): This, then synchronize with CLDR (nominative case).
16147 (abmon): Rename to...
16148 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16149 (mon): Import from CLDR (genitive case).
16150 (abmon): Likewise.
16151 * localedata/locales/be_BY@latin (mon): Rename to...
16152 (alt_mon): This.
16153 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16154
16155 * localedata/locales/be_BY@latin (lang_name): Reworded to
16156 "biełaruskaja mova".
16157
16158 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16159
16160 [BZ #10871]
16161 * localedata/locales/el_CY (mon): Renamed to...
16162 (alt_mon): This.
16163 (mon): Import from CLDR (genitive case).
16164 * localedata/locales/el_GR: Likewise.
16165
16166 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16167
16168 [BZ #10871]
16169 * localedata/locales/ru_RU (mon): Rename to...
16170 (alt_mon): This.
16171 (abmon): Rename to...
16172 (ab_alt_mon): This.
16173 (mon): Import from CLDR (genitive case).
16174 (abmon): Copy from the old content except the 5th month which is
16175 now in the genitive case, even when abbreviated.
16176 * localedata/locales/ru_UA: Likewise.
16177 * time/tst-strptime.c (day_tests): Add an actual example of
16178 a difference between %b and %Ob in Russian.
16179
16180 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16181
16182 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
16183 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16184 a `c' variable.
16185 * resolv/res-close.c: Include <stdlib.h>.
16186 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16187 <sys/wait.h>, <time.h>, <sys/uio.h>.
16188 (NOT_CANCEL_H): Add inclusion guard.
16189 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
16190 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16191 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16192 return 0.
16193 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16194 vm_address_t * to ElfW(Addr) * for dl_main parameter.
16195 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16196 instead of void *.
16197 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16198 timer_ptr2id to cast struct timer_node * to void *.
16199 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16200 --disable-libcilkrts to gcc configure.
16201 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16202 and make them the default for now.
16203 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16204 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
16205 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16206 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16207 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16208 MACH_IPC_COMPAT.
16209 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16210 __task_terminate would ever return successfully.
16211 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16212 to global scope.
16213 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16214 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
16215 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16216 critical section to make code simpler and avoid warning.
16217 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16218 critical section to make code simpler and avoid warning.
16219 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16220 const char * instead of char *.
16221 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16222 __hurd_file_name_split, hurd_file_name_split,
16223 __hurd_directory_name_split, hurd_directory_name_split,
16224 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16225 hurd_file_name_path_lookup): Make lookup function parameter take a
16226 const char *name instead of char *name.
16227 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16228 __hurd_directory_name_split): Likewise.
16229 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16230 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16231 * sysdeps/mach/hurd/check_native.c: New file.
16232 * sysdeps/mach/hurd/check_pf.c: New file.
16233 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16234 (__freeifaddrs): Define macro to freeifaddrs.
16235 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16236 * sysdeps/mach/libmachuser.abilist: New file.
16237 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16238 (do_test_bz20181): Rename accordingly.
16239 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16240 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16241 <sys/mount.h>.
16242 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16243 version only if __USE_EXTERN_INLINES is defined.
16244 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16245 __hurd_sockfail): Likewise.
16246 (_hurd_fd_get): Always declare functions, and provide inline versions
16247 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16248 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16249 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16250 _hurd_port_set): Always declare functions, and provide inline versions
16251 only if __USE_EXTERN_INLINES and _LIBC are defined and
16252 IS_IN(libc).
16253 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16254 _hurd_critical_section_unlock): Likewise.
16255 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16256 * __hurd_threadvar_location): Likewise.
16257 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16258 _hurd_userlink_clear): Likewise.
16259 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16260 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16261 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16262 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16263 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16264 __spin_lock_locked): Likewise.
16265 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16266 __spin_lock_locked): Likewise.
16267 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16268 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16269 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16270 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16271 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
16272 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16273 _POSIX_NO_TRUNC): Define to 0.
16274 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16275 check size against PTHREAD_STACK_MIN.
16276 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16277 IS_IN(libpthread)]: Include <sigsetops.h>.
16278 * mach/Makefile (user-interfaces): Add mach/gnumach.
16279 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16280 * sysdeps/mach/configure (mach_interface_list): Regenerate.
16281 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16282 instead of invalid -1.
16283 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16284 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16285 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16286 <net/ppp_defs.h>.
16287
16288 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
16289
16290 * hurd/fcntl-internal.h: New file.
16291
16292 2018-01-27 James Clarke <jrtc27@jrtc27.com>
16293
16294 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16295
16296 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16297
16298 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16299
16300 [BZ #22701]
16301 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16302 Build only shared objects.
16303
16304 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16305
16306 * README: Update for hppa.
16307
16308 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16309
16310 * sysdeps/sparc/fpu/libm-test-ulps: Update
16311 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16312
16313 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16314
16315 Revert:
16316
16317 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16318
16319 [BZ #22563]
16320 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16321 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16322 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16323 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16324 to feature_1.
16325
16326 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16327
16328 [BZ #22563]
16329 * bits/types/__cancel_jmp_buf_tag.h: New file.
16330 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16331 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16332 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16333 * nptl/Makefile (headers): Add
16334 bits/types/__cancel_jmp_buf_tag.h.
16335 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16336 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16337 * sysdeps/nptl/pthread.h: Include
16338 <bits/types/__cancel_jmp_buf_tag.h>.
16339 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16340 __cancel_jmp_buf.
16341 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16342
16343 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16344
16345 [BZ #10871]
16346 * localedata/locales/uk_UA (mon): Renamed to...
16347 (alt_mon): This.
16348 (alt_digits): "0" removed and then renamed to...
16349 (mon): This.
16350 (date_fmt): Definition changed not to use the alternative
16351 digits hack.
16352
16353 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16354
16355 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16356 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16357 * elf/elf.h (EF_RISCV_RVC): New define.
16358 (EF_RISCV_FLOAT_ABI): Likewise.
16359 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16360 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16361 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16362 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16363 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16364 define.
16365 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16366
16367 2018-01-25 Andreas Schwab <schwab@suse.de>
16368
16369 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16370 single quotes.
16371 * sysdeps/gnu/configure: Regenerate.
16372 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16373 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16375 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16376 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16377 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16378 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16379 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16380
16381 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16382
16383 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16384 URL, and run autoconf, make it the default for now.
16385
16386 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16387
16388 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16389 soft-float ColdFire configuration.
16390
16391 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16392 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16393 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16394
16395 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16396 MicroBlaze file.
16397
16398 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16399 ....
16400 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16401 ... here.
16402 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16403 New file.
16404
16405 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16406 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16407 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16408 file.
16409
16410 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16411
16412 [BZ #22742]
16413 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16414 Rename to __reserved and add comment.
16415 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16416 Rename to __reserved.
16417
16418 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16419
16420 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16421 i686-gnu configurations.
16422 (Context.run_builds): Include mig, gnumach and hurd in components
16423 considered.
16424 (Context.checkout): Add mig, gnumach and hurd to components.
16425 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16426 hurd.
16427 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16428 (Config.build): Install gnumach headers, build mig and install
16429 hurd headers for 'gnu' OS.
16430 (Config.install_gnumach_headers): New function.
16431 (Config.install_hurd_headers): Likewise.
16432 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16433 when building for 'gnu' OS.
16434
16435 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16436
16437 * manual/tunables.texi (Hardware Capability Tunables): Fix
16438 spelling.
16439
16440 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16441
16442 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16443 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16444 (ALTMON_11, ALTMON_12): Improve documentation.
16445 * manual/time.texi (strftime): Likewise.
16446
16447 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16448
16449 [BZ #10871]
16450 * localedata/locales/pl_PL: Alternative month names added,
16451 primary month names are genitive now.
16452 * time/tst-strptime.c (day_tests): Actually use a genitive case
16453 of a month name in Polish language.
16454
16455 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16456
16457 [BZ #10871]
16458 * manual/locale.texi: Document ALTMON_1..12 constants for
16459 nl_langinfo. Specify when to use ALTMON instead of MON.
16460 * manual/time.texi (strftime, strptime): Document GNU extension
16461 permitting O modifier with %B and %b. Specify when to use
16462 %OB instead of %B.
16463
16464 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16465
16466 [BZ #10871]
16467 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16468 names, define them as the same as abbreviated month names explicitly.
16469 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16470 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16471 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16472 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16473 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16474 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16475 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16476 _NL_WABALTMON_12): New enum constants.
16477 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16478 wab_alt_mon, and ab_alt_mon_defined members.
16479 (time_output): Output ab_alt_mon and wab_alt_mon members.
16480 (time_read): Read them, initialize them as copies of abmon and wabmon
16481 respectively if they are missing, initialize ab_alt_mon_defined.
16482 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16483 * locale/programs/locfile-kw.h: Regenerate.
16484 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16485 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16486 and ru_RU.UTF-8.
16487 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16488 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16489 (__strftime_internal): Handle %Ob and %Oh formats.
16490 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16491 (__strptime_internal): Handle %Ob and %Oh formats.
16492 * time/tst-strptime.c (day_tests): Add more tests to parse different
16493 forms of month names including the new %Ob format specifier.
16494
16495 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16496
16497 [BZ #10871]
16498 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16499 define them as the same as primary full month names explicitly.
16500 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16501 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16502 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16503 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16504 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16505 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16506 _NL_WALTMON_12): New enum constants.
16507 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16508 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16509 macros.
16510 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16511 walt_mon, and alt_mon_defined members.
16512 (time_output): Output alt_mon and walt_mon members.
16513 (time_read): Read them, initialize them as copies of mon and wmon
16514 respectively if they are missing, initialize alt_mon_defined.
16515 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16516 * locale/programs/locfile-kw.h: Regenerate.
16517 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16518 * localedata/tst-langinfo.c (map): Add tests for the new constants
16519 ALTMON_1 .. ALTMON_12.
16520 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16521 and pl_PL.UTF-8.
16522 * time/strftime_l.c (f_altmonth): New macro.
16523 (__strftime_internal): Handle %OB format.
16524 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16525 (__strptime_internal): Handle %OB format.
16526 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16527 of month names including the new %OB format specifier.
16528
16529 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16530
16531 [BZ #22685]
16532 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16533 from ABORT_TRANSACTION.
16534 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16535 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16536 ABORT_TRANSACTION_IMPL): Likewise.
16537 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16538 Linux code, but remove the code that aborts transactions.
16539
16540 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16541
16542 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16543
16544 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16545
16546 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16547 in date: "2004-14-09" should be "2004-09-14".
16548 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16549 "2003-15-09" should be "2003-09-15".
16550
16551 2018-01-18 Arjun Shankar <arjun@redhat.com>
16552
16553 [BZ #22343]
16554 [BZ #22774]
16555 CVE-2018-6485
16556 CVE-2018-6551
16557 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16558 after padding.
16559 (_int_memalign): check for integer overflow before calling
16560 _int_malloc.
16561 * malloc/tst-malloc-too-large.c: New test.
16562 * malloc/Makefile: Add tst-malloc-too-large.
16563
16564 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16565
16566 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16567 in date: "2017-24-07" should be "2017-07-24".
16568 * localedata/locales/mai_IN: Likewise.
16569 * localedata/locales/mai_NP: Likewise.
16570
16571 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16572
16573 * po/ru.po: Update translations.
16574
16575 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16576
16577 [BZ #22719]
16578 * sysdeps/hppa/backtrace.c: New file.
16579
16580 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16581
16582 [BZ #22715]
16583 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16584 align La_x86_64_retval to VEC_SIZE.
16585
16586 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16587
16588 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16589 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16590
16591 2018-01-16 Florian Weimer <fweimer@redhat.com>
16592
16593 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16594 Move tst-thread-exit-clobber ...
16595 [$(CXX)] (tests-unsupported): ... to here.
16596
16597 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16598
16599 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16600 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16601 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16602 (_dl_aarch64_cap_flags): Update.
16603 (_DL_HWCAP_COUNT): Update.
16604
16605 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16606
16607 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16608 (_DL_HWCAP_LAST): Remove.
16609 (_DL_HWCAP_COUNT): Move to ...
16610 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16611 (_DL_HWCAP_COUNT): ... here.
16612
16613 2018-01-16 Florian Weimer <fweimer@redhat.com>
16614
16615 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16616 mode with GNU extensions.
16617
16618 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16619
16620 * elf/elf.h (NT_ARM_SVE): Define.
16621
16622 2018-01-15 Florian Weimer <fweimer@redhat.com>
16623
16624 [BZ #22636]
16625 * nptl/tst-minstack-throw.cc: New file.
16626 * nptl/Makefile (tests): Add tst-minstack-throw.
16627 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16628 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16629
16630 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16631
16632 * scripts/build-many-glibcs.py (Context.checkout): Default
16633 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16634 version to 1.1.0.
16635
16636 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16637
16638 [BZ #22707]
16639 * elf/elf.h (DF_1_STUB): Define.
16640 (DF_1_PIE): Define.
16641
16642 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16643
16644 [BZ #22697]
16645 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16646 Do not add 0.5 to integer or out-of-range arguments.
16647
16648 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16649
16650 * po/bg.po: Update translations.
16651 * po/cs.po: Likewise.
16652 * po/de.po: Likewise.
16653 * po/ko.po: Likewise.
16654 * po/pl.po: Likewise.
16655 * po/sv.po: Likewise.
16656 * po/uk.po: Likewise.
16657 * po/vi.po: Likewise.
16658
16659 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16660
16661 * aarch64/start.S (_start): Use __wrap_main.
16662 (__wrap_main): New local symbol.
16663
16664 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16665
16666 [BZ #22679]
16667 CVE-2018-1000001
16668 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16669 generic_getcwd if the path returned by getcwd syscall is not absolute.
16670 * io/tst-getcwd-abspath.c: New test.
16671 * io/Makefile (tests): Add tst-getcwd-abspath.
16672
16673 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16674
16675 * malloc/malloc.c (malloc_consolidate): Add size check.
16676
16677 2018-01-12 Florian Weimer <fweimer@redhat.com>
16678
16679 * support/write_message.c (write_message): Preserve errno.
16680 * support/check.c (print_failure): Likewise.
16681 * support/support_test_verify_impl.c (support_test_verify_impl):
16682 Likewise.
16683 * support/support_test_compare_failure.c
16684 (support_test_compare_failure): Likewise.
16685
16686 2018-01-12 Florian Weimer <fweimer@redhat.com>
16687
16688 [BZ #22701]
16689 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16690 Prevent installation of libnsl.so.
16691 (libnsl-inhibit-o): Do not build (or install) static libraries.
16692
16693 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16694
16695 [BZ #22657]
16696 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16697 before the day number which may produce a double space.
16698 (date_fmt): Likewise.
16699
16700 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16701
16702 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16703 instead of fegetenv.
16704
16705 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16706
16707 [BZ #22702]
16708 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16709 comment to say exceptions are discarded.
16710 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16711 __fegetenv.
16712 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16713 be enabled.
16714
16715 2018-01-11 Florian Weimer <fweimer@redhat.com>
16716
16717 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16718 and error message.
16719
16720 2018-01-11 Florian Weimer <fweimer@redhat.com>
16721
16722 [BZ #22636]
16723 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16724 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16725
16726 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16727
16728 [BZ #22693]
16729 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16730 negative arguments in test for NaN or infinity argument.
16731
16732 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16733
16734 * po/libc.pot: Regenerate.
16735
16736 2018-01-10 Florian Weimer <fweimer@redhat.com>
16737
16738 [BZ #22636]
16739 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16740 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16741
16742 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16743
16744 * hurd/hurd/fd.h: Include <fcntl.h>
16745 (__hurd_at_flags): New function.
16746 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16747 with call to __hurd_at_flags.
16748 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16749 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16750 __faccessat
16751 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16752 (__access_noerrno): Use __faccessat_common instead of access_common.
16753 (__access): Likewise.
16754 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16755 with a call to __faccessat.
16756 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16757 (__faccessat_common): ... this. Move implementation of __access into it when
16758 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16759 reauthenticate_cwdir_at helper to implement AT mechanism.
16760 (__faccessat_noerrno): New function, just calls __faccessat_common.
16761 (__faccessat): New function, just calls __faccessat_common.
16762 (faccessat): Define weak alias.
16763
16764 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16765
16766 [BZ #22691]
16767 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16768 (CFLAGS-s_fmaxmagl.c): New variable.
16769 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16770
16771 [BZ #22690]
16772 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16773 long int for arguments of possibly overflowing addition or
16774 subtraction.
16775 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16776
16777 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16778
16779 [BZ #22688]
16780 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16781 (CFLAGS-e_remainderl.c): New variable.
16782
16783 [BZ #22687]
16784 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16785 variable.
16786 (CFLAGS-s_cacoshl.c): Likewise.
16787 (CFLAGS-s_casinhl.c): Likewise.
16788 (CFLAGS-s_catanl.c): Likewise.
16789 (CFLAGS-s_catanhl.c): Likewise.
16790 (CFLAGS-s_cexpl.c): Likewise.
16791 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16792 (CFLAGS-s_csinhl.c): Likewise.
16793 (CFLAGS-s_clogl.c): Likewise.
16794 (CFLAGS-s_clog10l.c): Likewise.
16795 (CFLAGS-s_csinl.c): Likewise.
16796 (CFLAGS-s_csqrtl.c): Likewise.
16797
16798 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16799 2017-01-09 Svante Signell <svante.signell@gmail.com>
16800
16801 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16802 (_hurd_exec_paths): New function.
16803 * hurd/hurd.h (_hurd_exec): Deprecate function.
16804 (_hurd_exec_paths): Declare function.
16805 * hurd/Versions: Export _hurd_exec_paths.
16806 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16807 (__execve): Use __getcwd to build absolute path, and use
16808 _hurd_exec_paths instead of _hurd_exec.
16809 * sysdeps/mach/hurd/spawni.c: Likewise.
16810 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16811 _hurd_exec.
16812
16813 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16814
16815 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16816 test instead of failing in case of ENOENT returned by posix_openpt.
16817
16818 2018-01-08 Florian Weimer <fweimer@redhat.com>
16819
16820 resolv: Support binary labels in test framework.
16821 * support/resolv_test.c (struct to_be_freed): Remove.
16822 (struct compressed_name): New.
16823 (allocate_compressed_name, ascii_tolower)
16824 (compare_compressed_name): New functions.
16825 (struct resolv_response_builder): Update type of
16826 compression_offsets for use with tsearch. Rempve to_be_freed.
16827 (response_push_pointer_to_free): Remove function.
16828 (resolv_response_add_name): Rewrite using struct compressed_name
16829 and tsearch instead of hsearch_r.
16830 (response_builder_allocate): Remove initialization of
16831 compression_offsets.
16832 (response_builder_free): Update for removal of to_be_freed. Use
16833 tdestroy instead of hdestroy_r.
16834 * resolv/Makefile (tests): Add tst-resolv-binary.
16835 (tst-resolv-binary): Link with -lresolv -lpthread.
16836
16837 2018-01-08 Florian Weimer <fweimer@redhat.com>
16838
16839 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16840 time. Pass positive flag instead of negative flag to
16841 support_test_compare_failure.
16842 (support_test_compare_failure): Change negative parameter to
16843 positive.
16844 * support/support_test_compare_failure.c (report)
16845 (support_test_compare_failure): Likewise.
16846 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16847 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16848
16849 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16850
16851 [BZ #22637]
16852 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16853 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16854 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16855 stacksize.
16856 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16857
16858 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16859
16860 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16861 Add s_sincosf-sse2 and s_sincosf-fma.
16862 (CFLAGS-s_sincosf-fma.c): New.
16863 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16864 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16865 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16866 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16867 __sincosf is defined.
16868
16869 2018-01-08 Florian Weimer <fweimer@redhat.com>
16870
16871 * nptl/tst-thread-exit-clobber.cc: New file.
16872 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16873 C++11 mode.
16874 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16875 (tests): Add tst-thread-exit-clobber.
16876 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16877
16878 2018-01-08 Florian Weimer <fweimer@redhat.com>
16879
16880 * support/check.h (support_static_assert): Define.
16881 (TEST_COMPARE): Use it.
16882
16883 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16884
16885 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16886 [!__RLIM_T_MATCHES_RLIM64_T]
16887 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16888 __getrlimit64. Add libc_hidden_weak.
16889
16890 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16891
16892 * elf/elf.h (R_RISCV_NONE): New define.
16893 (R_RISCV_32): Likewise.
16894 (R_RISCV_64): Likewise.
16895 (R_RISCV_RELATIVE): Likewise.
16896 (R_RISCV_COPY): Likewise.
16897 (R_RISCV_JUMP_SLOT): Likewise.
16898 (R_RISCV_TLS_DTPMOD32): Likewise.
16899 (R_RISCV_TLS_DTPMOD64): Likewise.
16900 (R_RISCV_TLS_DTPREL32): Likewise.
16901 (R_RISCV_TLS_DTPREL64): Likewise.
16902 (R_RISCV_TLS_TPREL32): Likewise.
16903 (R_RISCV_TLS_TPREL64): Likewise.
16904 * Makerules (make-link-multidir): Make directories before linking into
16905 them.
16906 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16907 define.
16908 (VDSO_HASH_LINUX_4_15): Likewise.
16909 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16910 in subdirectories of lib.
16911 * nptl/Makefile (/librt.so): Always depend on
16912 "$(shared-thread-library)".
16913
16914 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16915
16916 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16917 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16918 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16919 (___tls_get_addr).
16920 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16921 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16922 "-O2 -march=i686".
16923 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16924 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16925 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16926 * sysdeps/gnu/glob-lstat-compat.c: New file.
16927 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16928 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16929
16930 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16931
16932 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16933 Reserve 16 chars to reloc_addr before calling _itoa_word.
16934
16935 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16936
16937 [BZ #22678]
16938 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16939 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16940
16941 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16942 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16943
16944 * resource/tst-getrlimit.c: Add copyright header.
16945
16946 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16947 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16948
16949 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16950 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16951 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16952 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16953 instead.
16954 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16955 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16956 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16957 RLIM64_INFINITY): Fix values to match the kernel ones.
16958 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16959 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16960 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16961 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16962 getrlimit64@@GLIBC_2_27.
16963 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16964 and setrlimit64.
16965 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16966 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16967 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16968 setrlimit, getrlimit64 and setrlimit64.
16969
16970 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16971
16972 [BZ #22648]
16973 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16974 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16975
16976 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16977
16978 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16979 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16980 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16981
16982 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16983
16984 [BZ #15479]
16985 [BZ #22666]
16986 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16987 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16988
16989 [BZ #15479]
16990 [BZ #22665]
16991 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16992 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16993 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16994 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16995
16996 2018-01-04 Florian Weimer <fweimer@redhat.com>
16997
16998 [BZ #22667]
16999 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17000 Align the stack before calling exit.
17001 * stdlib/tst-makecontext-align.c: New file.
17002 * stdlib/Makefile (tests): Add tst-makecontext-align.
17003
17004 2018-01-04 Florian Weimer <fweimer@redhat.com>
17005
17006 Add support for calling dlvsym from libc.so.
17007 * include/dlfcn.h (__libc_dlvsym): Declare.
17008 * elf/Makefile (tests-static-internal): Add
17009 tst-libc_dlvsym-static.
17010 (tests-internal): Add tst-libc_dlvsym.
17011 (modules-names): Add tst-libc_dlvsym-dso.
17012 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17013 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17014 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17015 object tst-libc_dlvsym-dso.so needs to be built before running
17016 these tests.
17017 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17018 * elf/Versions: Export __libc_dlvsym.
17019 * elf/dl-libc.c (struct do_dlvsym_args): New.
17020 (do_dlvsym, __libc_dlvsym): New functions.
17021 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17022 (_dl_open_hook2): New variable.
17023 (__libc_register_dl_open_hook): Set it.
17024 * elf/tst-libc_dlvsym-dso.c: New file.
17025 * elf/tst-libc_dlvsym-static.c: Likewise.
17026 * elf/tst-libc_dlvsym.c: Likewise.
17027 * elf/tst-libc_dlvsym.h: Likewise.
17028
17029 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17030
17031 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17032 include <sys/mount.h>.
17033
17034 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
17035
17036 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
17037 Add __NO_MATH_ERRNO__ check.
17038
17039 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17040
17041 * sysdeps/mips/mips32/libm-test-ulps: Update.
17042 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17043
17044 2018-01-02 Florian Weimer <fweimer@redhat.com>
17045
17046 * misc/tst-pselect.c: Add copyright header.
17047
17048 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17049
17050 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
17051 comment.
17052 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
17053 comment.
17054 (settrlimit): Rename into setrlimit.
17055 (__sttrlimit): Rename into __setrlimit.
17056
17057 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17058 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17059 never defined in that case.
17060
17061 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17062
17063 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17064
17065 * sysdeps/arm/libm-test-ulps: Update.
17066
17067 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17068 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17069
17070 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17071
17072 * NEWS: Add cosf and sincosf to list of optimized functions.
17073
17074 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17075
17076 [BZ #22660]
17077 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17078 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17079 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17080 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17081
17082 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17083
17084 [BZ #22433]
17085 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17086
17087 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17088 making a copy of it.
17089
17090 2018-01-01 Joseph Myers <joseph@codesourcery.com>
17091
17092 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17093 trailing whitespace removed.
17094 * scripts/config.guess: Update to version 2018-01-01.
17095 * scripts/config.sub: Update to version 2018-01-01.
17096 * scripts/move-if-change: Update from gnulib.
17097
17098 * NEWS: Update copyright dates.
17099 * catgets/gencat.c (print_version): Likewise.
17100 * csu/version.c (banner): Likewise.
17101 * debug/catchsegv.sh: Likewise.
17102 * debug/pcprofiledump.c (print_version): Likewise.
17103 * debug/xtrace.sh (do_version): Likewise.
17104 * elf/ldconfig.c (print_version): Likewise.
17105 * elf/ldd.bash.in: Likewise.
17106 * elf/pldd.c (print_version): Likewise.
17107 * elf/sotruss.sh: Likewise.
17108 * elf/sprof.c (print_version): Likewise.
17109 * iconv/iconv_prog.c (print_version): Likewise.
17110 * iconv/iconvconfig.c (print_version): Likewise.
17111 * locale/programs/locale.c (print_version): Likewise.
17112 * locale/programs/localedef.c (print_version): Likewise.
17113 * login/programs/pt_chown.c (print_version): Likewise.
17114 * malloc/memusage.sh (do_version): Likewise.
17115 * malloc/memusagestat.c (print_version): Likewise.
17116 * malloc/mtrace.pl: Likewise.
17117 * manual/libc.texinfo: Likewise.
17118 * nptl/version.c (banner): Likewise.
17119 * nscd/nscd.c (print_version): Likewise.
17120 * nss/getent.c (print_version): Likewise.
17121 * nss/makedb.c (print_version): Likewise.
17122 * posix/getconf.c (main): Likewise.
17123 * scripts/test-installation.pl: Likewise.
17124 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17125
17126 * All files with FSF copyright notices: Update copyright dates
17127 using scripts/update-copyrights.
17128 * locale/programs/charmap-kw.h: Regenerated.
17129 * locale/programs/locfile-kw.h: Likewise.
17130
17131 2017-12-31 Zack Weinberg <zackw@panix.com>
17132
17133 * libio/bits/libio-ldbl.h: Correct check for improper
17134 inclusion. Add own multiple include guard.
17135
17136 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17137 Dmitry V. Levin <ldv@altlinux.org>
17138
17139 [BZ #22625]
17140 CVE-2017-16997
17141 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17142 string token expansion. Check for NULL pointer or empty string possibly
17143 returned by expand_dynamic_string_token.
17144 (decompose_rpath): Check for empty path after dynamic string
17145 token expansion.
17146
17147 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17148
17149 [BZ #22433]
17150 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17151
17152 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17153 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17154 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17155 and PTRACE_SYSCALL.
17156 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17157 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17158 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17159 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17160 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17161 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17162
17163 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17164 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17165 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17166 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17167 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17168 bits/ptrace-shared.h.
17169 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17170 <bits/ptrace-shared.h>.
17171 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17172 __ptrace_peeksiginfo_flags, ptrace): Remove.
17173 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17174 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17175 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17176 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17177 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17178
17179 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17180
17181 [BZ #17804]
17182 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17183 end of the loop. Improve comments.
17184
17185 2017-12-29 Zack Weinberg <zackw@panix.com>
17186
17187 [BZ #22615]
17188 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17189 might be set on success.
17190
17191 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17192
17193 [BZ #22611]
17194 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17195 is unchanged on success.
17196
17197 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17198
17199 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17200 updated.
17201 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17202 expand_dynamic_string_token): Likewise.
17203 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17204 is_path argument.
17205
17206 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17207 contains ':'.
17208
17209 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17210 is set and name contains ':', and all code depending on these checks.
17211
17212 2017-12-24 Zack Weinberg <zackw@panix.com>
17213
17214 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17215 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17216 respectively.
17217 * libio/libio.h: Rename the original version of this file to
17218 libio/bits/libio.h. Error out if not included by stdio.h or the
17219 stub libio.h.
17220 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17221 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17222 if not included by bits/libio.h or the stub _G_config.h.
17223 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17224 sysdeps/unix/sysv/linux/bits. Error out if not included by
17225 bits/libio.h or the stub _G_config.h.
17226 * libio/stdio.h: Include bits/libio.h, not libio.h.
17227 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17228 well as libio.h and _G_config.h.
17229
17230 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17231 * libio/strfile.h, stdio-common/vfscanf.c
17232 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17233 Include stdio.h, not _G_config.h nor libio.h.
17234 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17235 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17236
17237 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17238
17239 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17240
17241 [BZ #22347]
17242 * stdlib/getrandom.c (getrandom): Fix comment.
17243 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17244
17245 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
17246
17247 [BZ #21161]
17248 * manual/arith.texi (strtoul): Fix a typo.
17249
17250 [BZ #22596]
17251 * manual/arith.texi (finite): Fix the description of the return
17252 value.
17253
17254 2017-12-22 Eric Blake <ebb9@byu.net>
17255
17256 Avoid gcc warnings on cygwin
17257 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17258 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17259 Avoid unused variable.
17260
17261 2017-12-22 Florian Weimer <fweimer@redhat.com>
17262
17263 * io/Makefile (routines): Add copy_file_range.
17264 (tests): Add tst-copy_file_range.
17265 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17266 * io/Versions (GLIBC_2.27): Export copy_file_range.
17267 * io/copy_file_range-compat.c: New file.
17268 * io/copy_file_range.c: Likewise.
17269 * io/tst-copy_file_range-compat.c: Likewise.
17270 * io/tst-copy_file_range.c: Likewise.
17271 * manual/llio.texi (Copying File Data): New section.
17272 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17273 * support/Makefile (libsupport-routines): Add support-xfstat,
17274 xftruncate, xlseek.
17275 * support/support-xfstat.c: New file.
17276 * support/xftruncate.c: Likewise.
17277 * support/xlseek.c: Likewise.
17278 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17279 * sysdeps/unix/sysv/linux/**.abilist: Update.
17280 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17281
17282 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17283
17284 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17285 disable-multi-arch variant to aarch64-linux-gnu.
17286
17287 2017-12-20 Joseph Myers <joseph@codesourcery.com>
17288
17289 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17290 trailing whitespace removed.
17291 * scripts/config.guess: Update to version 2017-12-17.
17292 * scripts/config.sub: Update to version 2017-11-23.
17293 * scripts/install-sh: Update to version 2017-09-23.17.
17294 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17295
17296 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17297
17298 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17299 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17300 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17301 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17302 * sysdeps/tile/crtn.S: Likewise.
17303 * sysdeps/tile/dl-start.S (_start): Likewise.
17304 * sysdeps/tile/dl-trampoline.S: Likewise.
17305 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17306 * sysdeps/tile/start.S (_start): Likewise.
17307 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17308 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17309 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17310 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17311 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17312 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17313 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17314
17315 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17316 comment.
17317 * sysdeps/tile/preconfigure: Remove tilegx folder.
17318 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17319 * sysdeps/tile/Implies: ... here.
17320 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17321 * sysdeps/tile/Makefile: ... here.
17322 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17323 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17324 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17325 * sysdeps/tile/bits/wordsize.h: ... here.
17326 * sysdeps/tile/tilegx/*: Move to ...
17327 * sysdeps/tile/*: ... here.
17328 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17329 * sysdeps/tile/tilegx32/Implies: ... here.
17330 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17331 * sysdeps/tile/tilegx64/Implies: ... here.
17332 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17333 to ...
17334 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17335 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17336 * sysdeps/unix/sysv/linux/tile/*: ... here.
17337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17338 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17340 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17341
17342 * README: Remove tilepro-*-linux-gnu from supported architecture.
17343 * scripts/build-many-glibcs.py: Likewise.
17344 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17345 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17346 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17347 elf_machine_matches_host, elf_machine_dynamic,
17348 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17349 howto, elf_machine_rela): Likewise.
17350 * sysdeps/tile/dl-start.S (_start): Likewise.
17351 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17352 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17353 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17354 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17355 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17356 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17357 Likewise.
17358 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17359 * sysdeps/tile/preconfigure: Likewise.
17360 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17361 POINTER_CHK_GUARD): Likewise.
17362 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17363 * sysdeps/tile/start.S (_start): Likewise.
17364 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17365 Likewise.
17366 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17367 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17368 CMOVNEZ): Remove.
17369 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17370 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17371 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17372 Likewise.
17373 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17374 * sysdeps/tile/tilepro/Implies: Remove file.
17375 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17376 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17377 * sysdeps/tile/tilepro/memchr.c: Likewise.
17378 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17379 * sysdeps/tile/tilepro/memset.c: Likewise.
17380 * sysdeps/tile/tilepro/memusage.h: Likewise.
17381 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17382 * sysdeps/tile/tilepro/strchr.c: Likewise.
17383 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17384 * sysdeps/tile/tilepro/strlen.c: Likewise.
17385 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17386 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17387 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17388 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17389 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17390 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17391 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17392 Likewise.
17393 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17394 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17395 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17396 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17397 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17398 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17399 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17400 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17401 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17402 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17403 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17404 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17405 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17406 tilepro mention in comment.
17407
17408 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17409 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17410 * nptl/pthread_join_common.c: New file: common function used on
17411 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17412 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17413 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17414 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17415 (cleanup): Move definition to pthread_join_common.c.
17416 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17417 Remove superflous checks.
17418 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17419 Likewise.
17420
17421 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17422
17423 * sysdeps/aarch64/libm-test-ulps: Update.
17424
17425 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17426
17427 * sysdeps/aarch64/memset.S (MEMSET): Define.
17428
17429 2017-12-20 Florian Weimer <fweimer@redhat.com>
17430
17431 [BZ #22635]
17432 nptl: Provide full implementation of pthread_self in libc.so.
17433 * nptl/Makefile (routines): Add pthread_self.
17434 (libpthread-routines): Replace pthread_self with
17435 compat-pthread_self.
17436 * nptl/forward.c (pthread_self): Remove.
17437 * nptl/nptl-init.c (pthread_functions): Do not initialize
17438 ptr_pthread_self.
17439 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17440 * nptl/compat-pthread_self.c: New file.
17441 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17442 Remove ptr_pthread_self.
17443
17444 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17445
17446 * posix/regcomp.c: Fix spelling in comments.
17447 * posix/regex.h: Likewise.
17448 * posix/regex_internal.c: Likewise.
17449 * posix/regexec.c: Likewise.
17450
17451 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17452
17453 [BZ #22377]
17454 * math/Makefile [C++] (tests): Add test for iseqsig.
17455 * math/math.h [C++] (iseqsig): New implementation, which does
17456 not rely on __MATH_TG/__builtin_types_compatible_p.
17457 * math/test-math-iseqsig.cc: New file.
17458 * sysdeps/powerpc/powerpc64le/Makefile
17459 (CFLAGS-test-math-iseqsig.cc): New variable.
17460
17461 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17462
17463 * elf/dl-load.c (is_trusted_path): Remove.
17464 (fillin_rpath): Remove check_trusted argument and its use,
17465 all callers changed.
17466
17467 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17468
17469 [BZ #22630]
17470 * Makeconfig (link-pie-before-libc): Replace -pie with
17471 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17472 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17473 (tst-dlopen-aout-no-pie): New.
17474 (LDFLAGS-tst-prelink): Removed.
17475 (tst-prelink-no-pie): New.
17476 (LDFLAGS-tst-main1): Removed.
17477 (tst-main1-no-pie): New.
17478 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17479 (tst-gmon-no-pie): New.
17480
17481 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17482
17483 * manual/install.texi: Document that --enable-static-pie
17484 implies PIE.
17485 * INSTALL: Regenerated.
17486
17487 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17488
17489 [BZ #21309]
17490 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17491 unsigned.
17492
17493 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17494
17495 Revert:
17496
17497 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17498
17499 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17500
17501 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17502
17503 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17504 <errno.h>. Include "eexp.tbl".
17505 (half): New constant.
17506 (one): Likewise.
17507 (__ieee754_exp): Rewrite.
17508 (__slowexp): Remove prototype.
17509 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17510 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17511 * sysdeps/i386/fpu/slowexp.c: Likewise.
17512 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17513 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17514 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17515 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17516 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17517 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17518 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17519 comment.
17520 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17521 (CPPFLAGS-slowexp.c): Remove variable.
17522 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17523 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17524 (CFLAGS-slowexp-fma.c): Remove variable.
17525 (CFLAGS-slowexp-fma4.c): Likewise.
17526 (CFLAGS-slowexp-avx.c): Likewise.
17527 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17528 define as macro.
17529 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17530 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17531 * math/Makefile (type-double-routines): Remove slowexp.
17532 * manual/probes.texi (slowexp_p6): Remove.
17533 (slowexp_p32): Likewise.
17534
17535 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17536
17537 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17538 arithmetic.
17539
17540 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17541
17542 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17543
17544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17545
17546 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17547
17548 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17549 <errno.h>. Include "eexp.tbl".
17550 (half): New constant.
17551 (one): Likewise.
17552 (__ieee754_exp): Rewrite.
17553 (__slowexp): Remove prototype.
17554 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17555 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17556 * sysdeps/i386/fpu/slowexp.c: Likewise.
17557 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17558 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17559 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17560 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17561 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17562 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17563 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17564 comment.
17565 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17566 (CPPFLAGS-slowexp.c): Remove variable.
17567 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17568 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17569 (CFLAGS-slowexp-fma.c): Remove variable.
17570 (CFLAGS-slowexp-fma4.c): Likewise.
17571 (CFLAGS-slowexp-avx.c): Likewise.
17572 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17573 define as macro.
17574 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17575 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17576 * math/Makefile (type-double-routines): Remove slowexp.
17577 * manual/probes.texi (slowexp_p6): Remove.
17578 (slowexp_p32): Likewise.
17579
17580 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17581 James Clarke <jrtc27@jrtc27.com>
17582
17583 [BZ #22603]
17584 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17585 addition.
17586
17587 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17588
17589 [BZ #22605]
17590 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17591 code.
17592
17593 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17594
17595 [BZ #22563]
17596 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17597 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17598 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17599 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17600 to feature_1.
17601
17602 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17603
17604 [BZ #22563]
17605 * bits/types/__cancel_jmp_buf_tag.h: New file.
17606 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17607 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17608 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17609 * nptl/Makefile (headers): Add
17610 bits/types/__cancel_jmp_buf_tag.h.
17611 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17612 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17613 * sysdeps/nptl/pthread.h: Include
17614 <bits/types/__cancel_jmp_buf_tag.h>.
17615 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17616 __cancel_jmp_buf.
17617 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17618
17619 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17620
17621 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17622 --enable-static-pie variants to x86_64, x32 and i686.
17623
17624 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17625
17626 [BZ #22631]
17627 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17628 argument for attrubutes. All callers changed.
17629 (__inline_mathop1): Likewise. All callers changed.
17630 (__inline_mathop): Likewise. All callers changed.
17631 [__USE_MISC] (scalbn): Use __inline_forward instead of
17632 __inline_forward_c.
17633 [__USE_ISOC99] (scalbln): Likewise.
17634 [__USE_ISOC99] (nearbyint): Likewise.
17635 [__USE_ISOC99] (lrint): Likewise.
17636 [__USE_MISC] (scalbnf): Likewise.
17637 [__USE_ISOC99] (scalblnf): Likewise.
17638 [__USE_ISOC99] (nearbyintf): Likewise.
17639 [__USE_ISOC99] (lrintf): Likewise.
17640 [__USE_MISC] (scalbnl): Likewise.
17641 [__USE_ISOC99] (scalblnl): Likewise.
17642 [__USE_ISOC99] (nearbyintl): Likewise.
17643 [__USE_ISOC99] (lrintl): Likewise.
17644 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17645 __inline_mathop and __m81_defun changed.
17646
17647 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17648 CPU or FPU for ARM hard-float configurations.
17649
17650 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17651
17652 * nptl/tst-attr3.c: Include <libc-diag.h>.
17653 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17654
17655 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17656
17657 * string/tester.c (test_strncat): Also disable -Warray-bounds
17658 warnings for two tests.
17659
17660 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17661
17662 [BZ #22614]
17663 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17664 $(cc-pie-default) == yes.
17665 * config.make.in (cc-pie-default): New.
17666 * configure.ac (libc_cv_pie_default): Renamed to ...
17667 (libc_cv_cc_pie_default): This.
17668 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17669 * configure: Regenerated.
17670
17671 2017-12-18 Florian Weimer <fweimer@redhat.com>
17672
17673 [BZ #20204]
17674 ld.so: Harden dl-libc/libdl hooks.
17675 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17676 (rtld_active): New function.
17677 * dlfcn/dladdr.c (__dladdr): Call it.
17678 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17679 * dlfcn/dlclose.c (__dlcose): Likewise.
17680 * dlfcn/dlerror.c (__dlerror): Likewise.
17681 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17682 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17683 * dlfcn/dlopen.c (__dlopen): Likewise.
17684 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17685 * dlfcn/dlsym.c (__dlsym): Likewise.
17686 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17687 * libio/vtables.c (_IO_vtable_check): Likewise.
17688 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17689 (__libc_dlclose): Likewise.
17690 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17691 assignment.
17692
17693 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17694
17695 [BZ #22446]
17696 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17697 buffers for readlink input and output.
17698
17699 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17700
17701 [BZ #22624]
17702 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17703 inhibit_stack_protector.
17704
17705 [BZ #22624]
17706 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17707 inhibit_stack_protector.
17708
17709 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17710
17711 [BZ #22627]
17712 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17713 code and invocation.
17714
17715 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17716
17717 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17718
17719 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17720
17721 [BZ #22505]
17722 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17723
17724 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17725
17726 * sysdeps/s390/fpu/libm-test-ulps: Update.
17727
17728 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17729
17730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17731
17732 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17733
17734 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17735 constants to s_sincosf.h file.
17736 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17737 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17738 implementation.
17739 * sysdeps/ieee754/flt-32/s_sincosf.h:
17740 New file.
17741
17742 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17743
17744 [BZ #14681]
17745 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17746 before mtrace.
17747
17748 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17749
17750 [BZ #19574]
17751 * INSTALL: Regenerated.
17752 * Makeconfig (real-static-start-installed-name): New.
17753 (pic-default): Updated for --enable-static-pie.
17754 (pie-default): New for --enable-static-pie.
17755 (default-pie-ldflag): Likewise.
17756 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17757 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17758 Replace $(static-start-installed-name) with
17759 $(real-static-start-installed-name).
17760 (+prectorT): Updated for --enable-static-pie.
17761 (+postctorT): Likewise.
17762 (CFLAGS-.o): Add $(pie-default).
17763 (CFLAGS-.op): Likewise.
17764 * NEWS: Mention --enable-static-pie.
17765 * config.h.in (ENABLE_STATIC_PIE): New.
17766 * configure.ac (--enable-static-pie): New configure option.
17767 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17768 (have-static-pie): Likewise.
17769 Enable static PIE if linker supports --no-dynamic-linker.
17770 (ENABLE_STATIC_PIE): New AC_DEFINE.
17771 (enable-static-pie): New LIBC_CONFIG_VAR.
17772 * configure: Regenerated.
17773 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17774 gr$(start-installed-name) for --enable-static-pie.
17775 (extra-objs): Likewise.
17776 (install-lib): Likewise.
17777 (extra-objs): Add static-reloc.o and static-reloc.os
17778 ($(objpfx)$(start-installed-name)): Also depend on
17779 $(objpfx)static-reloc.o.
17780 ($(objpfx)r$(start-installed-name)): New.
17781 ($(objpfx)g$(start-installed-name)): Also depend on
17782 $(objpfx)static-reloc.os.
17783 ($(objpfx)gr$(start-installed-name)): New.
17784 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17785 in libc.a.
17786 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17787 initimage.
17788 * csu/static-reloc.c: New file.
17789 * elf/Makefile (routines): Add dl-reloc-static-pie.
17790 (elide-routines.os): Likewise.
17791 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17792 (tst-tls1-static-non-pie-no-pie): New.
17793 * elf/dl-reloc-static-pie.c: New file.
17794 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17795 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17796 STATIC_PIE_BOOTSTRAP.
17797 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17798 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17799 (tests-static): Likewise.
17800 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17801 (tst-gmon-static-no-pie): New.
17802 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17803 (CRT-tst-gmon-static-pie): Likewise.
17804 (tst-gmon-static-pie-ENV): Likewise.
17805 (tests-special): Likewise.
17806 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17807 (clean-tst-gmon-static-pie-data): Likewise.
17808 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17809 * gmon/tst-gmon-static-pie.c: New file.
17810 * manual/install.texi: Document --enable-static-pie.
17811 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17812 (_dl_get_dl_main_map): Likewise.
17813 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17814 * sysdeps/x86_64/configure.ac: Likewise.
17815 * sysdeps/i386/configure: Regenerated.
17816 * sysdeps/x86_64/configure: Likewise.
17817 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17818 (ASFLAGS-.op): Likewise.
17819
17820 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17821
17822 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17823 * posix/tst-mmap-offset.c (fname): Use /tmp.
17824 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17825
17826 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17827
17828 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17829
17830 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17831
17832 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17833 errno.
17834
17835 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17836
17837 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17838 --with-float=hard for arm-linux-gnueabihf configurations.
17839
17840 [BZ #14121]
17841 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17842 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17843 ($(mo-installed)): Use $(objpfx)%.mo.
17844 (realclean): Remove rule.
17845
17846 * po/Makefile (linguas): Remove rule and dependencies.
17847 (linguas.mo): Likewise.
17848 (.PHONY): Do not depend on linguas and linguas.mo.
17849 (podir): Remove variable.
17850 (pofiles): Likewise.
17851 [$(pofiles)] (%.po): Remove rule.
17852
17853 * sysdeps/sparc/sparc32/Makefile
17854 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17855 start-of-line whitespace in argument of echo.
17856 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17857 with whitespace. Generate __wrap_.udiv alias.
17858 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17859 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17860 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17861 * sysdeps/sparc/sparc32/urem.S: Likewise.
17862
17863 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17864
17865 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17866 for aligned inputs.
17867
17868 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17869
17870 * benchtests/bench-strcmp.c: Print output in JSON format.
17871
17872 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17873
17874 2017-12-14 Florian Weimer <fweimer@redhat.com>
17875
17876 [BZ #22607]
17877 CVE-2017-1000409
17878 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17879 the expanded path string.
17880
17881 2017-12-14 Florian Weimer <fweimer@redhat.com>
17882
17883 [BZ #22606]
17884 CVE-2017-1000408
17885 * elf/dl-load.c (system_dirs): Update comment.
17886 (nsystem_dirs_len): Use array_length.
17887 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17888
17889 2017-12-14 Florian Weimer <fweimer@redhat.com>
17890
17891 Simplify compiling most of support/ outside of glibc.
17892 * support/check_addrinfo.c: Include <string.h>.
17893 * support/check_dns_packet.c: Likewise.
17894 * support/check_hostent.c: Likewise.
17895 * support/support_can_chroot.c: Include <support/xunistd.h>.
17896 * support/support_format_addrinfo.c: Include <stdlib.h>
17897 * support/support_format_dns_packet.c: Include <stdbool.h>.
17898 * support/support_format_hostent.c: Include <stdlib.h>.
17899 * support/support_format_netent.c: Likewise.
17900 * support/support_write_string.c: Include <support/xunistd.h>.
17901 * support/xdlfcn.c: Include <stddef.h>.
17902
17903 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17904
17905 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17906
17907 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17908 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17909
17910 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17911 (sysdeps_routines): Add memset-niagara7.
17912 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17913 Likewise.
17914 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17915 file.
17916 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17917 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17918 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17919 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17920 Add niagara7 option.
17921 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17922 memset.
17923
17924 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17925 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17926 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17927 Likewise.
17928 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17929 New file.
17930 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17931 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17932 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17933 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17934 and __memmove_niagara7.
17935 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17936 Add niagara7 option.
17937 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17938 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17939 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17940 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17941 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17942
17943 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17944
17945 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17946 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17947 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17948 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17949
17950 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17951 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17952 _dl_sparc_cap_flags array.
17953 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17954
17955 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17956
17957 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17958 time whenever possible.
17959
17960 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17961
17962 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17963 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17964
17965 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17966
17967 * soft-fp/fmadf4.c: Move to ....
17968 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17969 * soft-fp/fmasf4.c: Move to ....
17970 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17971 * soft-fp/fmatf4.c: Move to ....
17972 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17973 * sysdeps/ieee754/soft-fp/Makefile: New file.
17974 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17975 * sysdeps/arm/preconfigure: Regenerated.
17976 * sysdeps/arm/nofpu/Implies: New file.
17977 * sysdeps/arm/s_fma.c: Remove file.
17978 * sysdeps/arm/s_fmaf.c: Likewise.
17979 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17980 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17981 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17982 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17983 * sysdeps/microblaze/s_fma.c: Remove file.
17984 * sysdeps/microblaze/s_fmaf.c: Likewise.
17985 * sysdeps/mips/mips32/nofpu/Implies: New file.
17986 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17987 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17988 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17989 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17990 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17991 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17992 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17993 implementation.
17994 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17995 * sysdeps/nios2/s_fma.c: Remove file.
17996 * sysdeps/nios2/s_fmaf.c: Likewise.
17997 * sysdeps/sh/nofpu/Implies: New file.
17998 * sysdeps/sh/s_fma.c: Remove file.
17999 * sysdeps/sh/s_fmaf.c: Likewise.
18000 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18001 * sysdeps/tile/s_fma.c: Remove file.
18002 * sysdeps/tile/s_fmaf.c: Likewise.
18003
18004 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18005
18006 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18007 Add s_cosf-sse2 and s_cosf-fma.
18008 (CFLAGS-s_cosf-fma.c): New.
18009 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18010 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18011 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18012
18013 2017-12-12 Steve Ellcey <sellcey@cavium.com>
18014
18015 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18016
18017 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18018
18019 * libio/Makefile (tests): Add tst-bz22415.
18020 (tst-bz22415-ENV): New rule.
18021 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18022 (tests-special): Add tst-bz22415-mem.out.
18023 ($(objpfx)tst-bz22415-mem.out): New rule.
18024 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18025 in case of a successful seek operation.
18026 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18027 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18028 buffer is required.
18029 * libio/tst-bz22415.c: New test.
18030
18031 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18032
18033 2017-12-12 James Clarke <jrtc27@jrtc27.com>
18034
18035 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
18036 __IPC_64 to 0 to avoid IPC_64 being set.
18037
18038 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18039
18040 [BZ #22593]
18041 * math/bits/mathcalls.h (nextafter): Remove const.
18042 (nexttoward): Likewise.
18043
18044 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18045
18046 * configure.ac (--with-fp): Remove configure option.
18047 (with_fp_cond): New variable.
18048 (libc_cv_with_fp): New configure test. Use this variable instead
18049 of with_fp.
18050 * configure: Regenerated.
18051 * config.make.in (with-fp): Use @libc_cv_with_fp@.
18052 * manual/install.texi (Configuring and compiling): Remove
18053 --without-fp.
18054 * INSTALL: Regenerated.
18055 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
18056 * sysdeps/mips/preconfigure (with_fp_cond): Define.
18057 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18058 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18059 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18060 use --without-fp to configure glibc.
18061
18062 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
18063
18064 * manual/locale.texi (nl_langinfo): Fix a typo.
18065
18066 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
18067
18068 [BZ #22588]
18069 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18070
18071 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18072
18073 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18074 (CFLAGS-argp-parse.c): Likewise.
18075 (CFLAGS-argp-fmtstream.c): Likewise.
18076 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18077 (CPPFLAGS-sha512-crypt.c): Likewise.
18078 (CPPFLAGS-md5-crypt.c): Likewise.
18079 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18080 (CFLAGS-stack_chk_fail_local.c): Likewise.
18081 (CFLAGS-backtrace.c): Likewise.
18082 (CFLAGS-sprintf_chk.c): Likewise.
18083 (CFLAGS-snprintf_chk.c): Likewise.
18084 (CFLAGS-vsprintf_chk.c): Likewise.
18085 (CFLAGS-vsnprintf_chk.c): Likewise.
18086 (CFLAGS-asprintf_chk.c): Likewise.
18087 (CFLAGS-vasprintf_chk.c): Likewise.
18088 (CFLAGS-obprintf_chk.c): Likewise.
18089 (CFLAGS-dprintf_chk.c): Likewise.
18090 (CFLAGS-vdprintf_chk.c): Likewise.
18091 (CFLAGS-printf_chk.c): Likewise.
18092 (CFLAGS-fprintf_chk.c): Likewise.
18093 (CFLAGS-vprintf_chk.c): Likewise.
18094 (CFLAGS-vfprintf_chk.c): Likewise.
18095 (CFLAGS-gets_chk.c): Likewise.
18096 (CFLAGS-fgets_chk.c): Likewise.
18097 (CFLAGS-fgets_u_chk.c): Likewise.
18098 (CFLAGS-fread_chk.c): Likewise.
18099 (CFLAGS-fread_u_chk.c): Likewise.
18100 (CFLAGS-swprintf_chk.c): Likewise.
18101 (CFLAGS-vswprintf_chk.c): Likewise.
18102 (CFLAGS-wprintf_chk.c): Likewise.
18103 (CFLAGS-fwprintf_chk.c): Likewise.
18104 (CFLAGS-vwprintf_chk.c): Likewise.
18105 (CFLAGS-vfwprintf_chk.c): Likewise.
18106 (CFLAGS-fgetws_chk.c): Likewise.
18107 (CFLAGS-fgetws_u_chk.c): Likewise.
18108 (CFLAGS-read_chk.c): Likewise.
18109 (CFLAGS-pread_chk.c): Likewise.
18110 (CFLAGS-pread64_chk.c): Likewise.
18111 (CFLAGS-recv_chk.c): Likewise.
18112 (CFLAGS-recvfrom_chk.c): Likewise.
18113 (CFLAGS-tst-longjmp_chk.c): Likewise.
18114 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18115 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18116 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18117 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18118 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18119 (CFLAGS-tst-chk1.c): Likewise.
18120 (CFLAGS-tst-chk2.c): Likewise.
18121 (CFLAGS-tst-chk3.c): Likewise.
18122 (CFLAGS-tst-chk4.cc): Likewise.
18123 (CFLAGS-tst-chk5.cc): Likewise.
18124 (CFLAGS-tst-chk6.cc): Likewise.
18125 (CFLAGS-tst-lfschk1.c): Likewise.
18126 (CFLAGS-tst-lfschk2.c): Likewise.
18127 (CFLAGS-tst-lfschk3.c): Likewise.
18128 (CFLAGS-tst-lfschk4.cc): Likewise.
18129 (CFLAGS-tst-lfschk5.cc): Likewise.
18130 (CFLAGS-tst-lfschk6.cc): Likewise.
18131 (CFLAGS-tst-ssp-1.c): Likewise.
18132 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18133 (CFLAGS-scandir64.c): Likewise.
18134 (CFLAGS-scandir-tail.c): Likewise.
18135 (CFLAGS-scandir64-tail.c): Likewise.
18136 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18137 (CFLAGS-dl-tunables.c): Likewise.
18138 (CFLAGS-dl-runtime.c): Likewise.
18139 (CFLAGS-dl-lookup.c): Likewise.
18140 (CFLAGS-dl-iterate-phdr.c): Likewise.
18141 (CFLAGS-vismain.c): Likewise.
18142 (CFLAGS-tst-linkall-static.c): Likewise.
18143 (CFLAGS-tst-linkall-static.c): Likewise.
18144 (CPPFLAGS-dl-load.c): Likewise.
18145 (CFLAGS-ldconfig.c): Likewise.
18146 (CFLAGS-dl-cache.c): Likewise.
18147 (CFLAGS-cache.c): Likewise.
18148 (CFLAGS-rtld.c): Likewise.
18149 (CFLAGS-multiload.c): Likewise.
18150 (CFLAGS-filtmod1.c): Likewise.
18151 (CFLAGS-tst-align.c): Likewise.
18152 (CFLAGS-tst-align2.c): Likewise.
18153 (CFLAGS-tst-alignmod.c): Likewise.
18154 (CFLAGS-tst-alignmod2.c): Likewise.
18155 (CPPFLAGS-tst-execstack.c): Likewise.
18156 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18157 (CFLAGS-tst-latepthreadmod.c): Likewise.
18158 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18159 (CFLAGS-getgrnam_r.c): Likewise.
18160 (CFLAGS-getgrent_r.c): Likewise.
18161 (CFLAGS-getgrent.c): Likewise.
18162 (CFLAGS-fgetgrent.c): Likewise.
18163 (CFLAGS-fgetgrent_r.c): Likewise.
18164 (CFLAGS-putgrent.c): Likewise.
18165 (CFLAGS-initgroups.c): Likewise.
18166 (CFLAGS-getgrgid.c): Likewise.
18167 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18168 (CFLAGS-getsgent.c): Likewise.
18169 (CFLAGS-fgetsgent.c): Likewise.
18170 (CFLAGS-fgetsgent_r.c): Likewise.
18171 (CFLAGS-putsgent.c): Likewise.
18172 (CFLAGS-getsgnam.c): Likewise.
18173 (CFLAGS-getsgnam_r.c): Likewise.
18174 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18175 (CFLAGS-iconv_charmap.c): Likewise.
18176 (CFLAGS-dummy-repertoire.c): Likewise.
18177 (CFLAGS-charmap.c): Likewise.
18178 (CFLAGS-linereader.c): Likewise.
18179 (CFLAGS-simple-hash.c): Likewise.
18180 (CFLAGS-gconv_conf.c): Likewise.
18181 (CFLAGS-iconvconfig.c): Likewise.
18182 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18183 (CFLAGS-gethstbyad.c): Likewise.
18184 (CFLAGS-gethstbynm_r.c): Likewise.
18185 (CFLAGS-gethstbynm.c): Likewise.
18186 (CFLAGS-gethstbynm2_r.c): Likewise.
18187 (CFLAGS-gethstbynm2.c): Likewise.
18188 (CFLAGS-gethstent_r.c): Likewise.
18189 (CFLAGS-gethstent.c): Likewise.
18190 (CFLAGS-rcmd.c): Likewise.
18191 (CFLAGS-getnetbynm_r.c): Likewise.
18192 (CFLAGS-getnetbynm.c): Likewise.
18193 (CFLAGS-getnetbyad_r.c): Likewise.
18194 (CFLAGS-getnetbyad.c): Likewise.
18195 (CFLAGS-getnetent_r.c): Likewise.
18196 (CFLAGS-getnetent.c): Likewise.
18197 (CFLAGS-getaliasent_r.c): Likewise.
18198 (CFLAGS-getaliasent.c): Likewise.
18199 (CFLAGS-getrpcent_r.c): Likewise.
18200 (CFLAGS-getrpcent.c): Likewise.
18201 (CFLAGS-getservent_r.c): Likewise.
18202 (CFLAGS-getservent.c): Likewise.
18203 (CFLAGS-getprtent_r.c): Likewise.
18204 (CFLAGS-getprtent.c): Likewise.
18205 (CFLAGS-either_ntoh.c): Likewise.
18206 (CFLAGS-either_hton.c): Likewise.
18207 (CFLAGS-getnetgrent.c): Likewise.
18208 (CFLAGS-getnetgrent_r.c): Likewise.
18209 (CFLAGS-tst-checks-posix.c): Likewise.
18210 (CFLAGS-tst-sockaddr.c): Likewise.
18211 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18212 (CFLAGS-tst-translit.c): Likewise.
18213 (CFLAGS-tst-gettext2.c): Likewise.
18214 (CFLAGS-tst-codeset.c): Likewise.
18215 (CFLAGS-tst-gettext3.c): Likewise.
18216 (CFLAGS-tst-gettext4.c): Likewise.
18217 (CFLAGS-tst-gettext5.c): Likewise.
18218 (CFLAGS-tst-gettext6.c): Likewise.
18219 * io/Makefile (CFLAGS-open.c): Likewise.
18220 (CFLAGS-open64.c): Likewise.
18221 (CFLAGS-creat.c): Likewise.
18222 (CFLAGS-creat64.c): Likewise.
18223 (CFLAGS-fcntl.c): Likewise.
18224 (CFLAGS-poll.c): Likewise.
18225 (CFLAGS-ppoll.c): Likewise.
18226 (CFLAGS-lockf.c): Likewise.
18227 (CFLAGS-statfs.c): Likewise.
18228 (CFLAGS-fstatfs.c): Likewise.
18229 (CFLAGS-statvfs.c): Likewise.
18230 (CFLAGS-fstatvfs.c): Likewise.
18231 (CFLAGS-fts.c): Likewise.
18232 (CFLAGS-fts64.c): Likewise.
18233 (CFLAGS-ftw.c): Likewise.
18234 (CFLAGS-ftw64.c): Likewise.
18235 (CFLAGS-lockf.c): Likewise.
18236 (CFLAGS-posix_fallocate.c): Likewise.
18237 (CFLAGS-posix_fallocate64.c): Likewise.
18238 (CFLAGS-fallocate.c): Likewise.
18239 (CFLAGS-fallocate64.c): Likewise.
18240 (CFLAGS-read.c): Likewise.
18241 (CFLAGS-write.c): Likewise.
18242 (CFLAGS-test-stat.c): Likewise.
18243 (CFLAGS-test-lfs.c): Likewise.
18244 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18245 (CFLAGS-fputc.c): Likewise.
18246 (CFLAGS-fputwc.c): Likewise.
18247 (CFLAGS-freopen64.c): Likewise.
18248 (CFLAGS-freopen.c): Likewise.
18249 (CFLAGS-fseek.c): Likewise.
18250 (CFLAGS-fseeko64.c): Likewise.
18251 (CFLAGS-fseeko.c): Likewise.
18252 (CFLAGS-ftello64.c): Likewise.
18253 (CFLAGS-ftello.c): Likewise.
18254 (CFLAGS-fwide.c): Likewise.
18255 (CFLAGS-genops.c): Likewise.
18256 (CFLAGS-getc.c): Likewise.
18257 (CFLAGS-getchar.c): Likewise.
18258 (CFLAGS-getwc.c): Likewise.
18259 (CFLAGS-getwchar.c): Likewise.
18260 (CFLAGS-iofclose.c): Likewise.
18261 (CFLAGS-iofflush.c): Likewise.
18262 (CFLAGS-iofgetpos64.c): Likewise.
18263 (CFLAGS-iofgetpos.c): Likewise.
18264 (CFLAGS-iofgets.c): Likewise.
18265 (CFLAGS-iofgetws.c): Likewise.
18266 (CFLAGS-iofputs.c): Likewise.
18267 (CFLAGS-iofputws.c): Likewise.
18268 (CFLAGS-iofread.c): Likewise.
18269 (CFLAGS-iofsetpos64.c): Likewise.
18270 (CFLAGS-iofsetpos.c): Likewise.
18271 (CFLAGS-ioftell.c): Likewise.
18272 (CFLAGS-iofwrite.c): Likewise.
18273 (CFLAGS-iogetdelim.c): Likewise.
18274 (CFLAGS-iogetline.c): Likewise.
18275 (CFLAGS-iogets.c): Likewise.
18276 (CFLAGS-iogetwline.c): Likewise.
18277 (CFLAGS-ioputs.c): Likewise.
18278 (CFLAGS-ioseekoff.c): Likewise.
18279 (CFLAGS-ioseekpos.c): Likewise.
18280 (CFLAGS-iosetbuffer.c): Likewise.
18281 (CFLAGS-iosetvbuf.c): Likewise.
18282 (CFLAGS-ioungetc.c): Likewise.
18283 (CFLAGS-ioungetwc.c): Likewise.
18284 (CFLAGS-oldfileops.c): Likewise.
18285 (CFLAGS-oldiofclose.c): Likewise.
18286 (CFLAGS-oldiofgetpos64.c): Likewise.
18287 (CFLAGS-oldiofgetpos.c): Likewise.
18288 (CFLAGS-oldiofsetpos64.c): Likewise.
18289 (CFLAGS-oldiofsetpos.c): Likewise.
18290 (CFLAGS-peekc.c): Likewise.
18291 (CFLAGS-putc.c): Likewise.
18292 (CFLAGS-putchar.c): Likewise.
18293 (CFLAGS-putwc.c): Likewise.
18294 (CFLAGS-putwchar.c): Likewise.
18295 (CFLAGS-rewind.c): Likewise.
18296 (CFLAGS-wfileops.c): Likewise.
18297 (CFLAGS-wgenops.c): Likewise.
18298 (CFLAGS-oldiofopen.c): Likewise.
18299 (CFLAGS-iofopen.c): Likewise.
18300 (CFLAGS-iofopen64.c): Likewise.
18301 (CFLAGS-oldtmpfile.c): Likewise.
18302 (CFLAGS-tst_putwc.c): Likewise.
18303 * locale/Makefile (CFLAGS-md5.c): Likewise.
18304 (CFLAGS-charmap.c): Likewise.
18305 (CFLAGS-locfile.c): Likewise.
18306 (CFLAGS-charmap-dir.c): Likewise.
18307 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18308 (CFLAGS-getpt.c): Likewise.
18309 (CFLAGS-pt_chown.c): Likewise.
18310 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18311 (CFLAGS-obstack.c): Likewise.
18312 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18313 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18314 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18315 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18316 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18317 (CFLAGS-test-tgmath.c): Likewise.
18318 (CFLAGS-test-tgmath2.c): Likewise.
18319 (CFLAGS-test-tgmath-ret.c): Likewise.
18320 (CFLAGS-test-powl.c): Likewise.
18321 (CFLAGS-test-snan.c): Likewise.
18322 (CFLAGS-test-signgam-finite.c): Likewise.
18323 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18324 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18325 (CFLAGS-test-signgam-uchar.c): Likewise.
18326 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18327 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18328 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18329 (CFLAGS-test-signgam-uint.c): Likewise.
18330 (CFLAGS-test-signgam-uint-init.c): Likewise.
18331 (CFLAGS-test-signgam-uint-static.c): Likewise.
18332 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18333 (CFLAGS-test-signgam-ullong.c): Likewise.
18334 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18335 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18336 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18337 (CFLAGS-test-math-cxx11.cc): Likewise.
18338 (CFLAGS-test-math-isinff.cc): Likewise.
18339 (CFLAGS-test-math-iszero.cc): Likewise.
18340 (CFLAGS-test-math-issignaling.cc): Likewise.
18341 (CFLAGS-test-math-iscanonical.cc): Likewise.
18342 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18343 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18344 (CFLAGS-test-flt-eval-method.c): Likewise.
18345 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18346 (CFLAGS-test-finite-macros.c): Likewise.
18347 * misc/Makefile (CFLAGS-select.c): Likewise.
18348 (CFLAGS-tsearch.c): Likewise.
18349 (CFLAGS-lsearch.c): Likewise.
18350 (CFLAGS-pselect.c): Likewise.
18351 (CFLAGS-readv.c): Likewise.
18352 (CFLAGS-writev.c): Likewise.
18353 (CFLAGS-preadv.c): Likewise.
18354 (CFLAGS-preadv64.c): Likewise.
18355 (CFLAGS-pwritev.c): Likewise.
18356 (CFLAGS-pwritev64.c): Likewise.
18357 (CFLAGS-preadv2.c): Likewise.
18358 (CFLAGS-preadv64v2.c): Likewise.
18359 (CFLAGS-pwritev2.c): Likewise.
18360 (CFLAGS-pwritev64v2.c): Likewise.
18361 (CFLAGS-usleep.c): Likewise.
18362 (CFLAGS-syslog.c): Likewise.
18363 (CFLAGS-error.c): Likewise.
18364 (CFLAGS-getpass.c): Likewise.
18365 (CFLAGS-mkstemp.c): Likewise.
18366 (CFLAGS-mkstemp64.c): Likewise.
18367 (CFLAGS-getsysstats.c): Likewise.
18368 (CFLAGS-getusershell.c): Likewise.
18369 (CFLAGS-err.c): Likewise.
18370 (CFLAGS-tst-tsearch.c): Likewise.
18371 (CFLAGS-msync.c): Likewise.
18372 (CFLAGS-fdatasync.c): Likewise.
18373 (CFLAGS-fsync.c): Likewise.
18374 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18375 (CFLAGS-unwind.c): Likewise.
18376 (CFLAGS-unwind-forcedunwind.c): Likewise.
18377 (CFLAGS-pthread_cancel.c): Likewise.
18378 (CFLAGS-pthread_setcancelstate.c): Likewise.
18379 (CFLAGS-pthread_setcanceltype.c): Likewise.
18380 (CFLAGS-cancellation.c): Likewise.
18381 (CFLAGS-libc-cancellation.c): Likewise.
18382 (CFLAGS-pthread_exit.c): Likewise.
18383 (CFLAGS-forward.c): Likewise.
18384 (CFLAGS-pthread_testcancel.c): Likewise.
18385 (CFLAGS-pthread_join.c): Likewise.
18386 (CFLAGS-pthread_timedjoin.c): Likewise.
18387 (CFLAGS-pthread_once.c): Likewise.
18388 (CFLAGS-pthread_cond_wait.c): Likewise.
18389 (CFLAGS-sem_wait.c): Likewise.
18390 (CFLAGS-sem_timedwait.c): Likewise.
18391 (CFLAGS-fcntl.c): Likewise.
18392 (CFLAGS-lockf.c): Likewise.
18393 (CFLAGS-pread.c): Likewise.
18394 (CFLAGS-pread64.c): Likewise.
18395 (CFLAGS-pwrite.c): Likewise.
18396 (CFLAGS-pwrite64.c): Likewise.
18397 (CFLAGS-wait.c): Likewise.
18398 (CFLAGS-waitpid.c): Likewise.
18399 (CFLAGS-sigwait.c): Likewise.
18400 (CFLAGS-msgrcv.c): Likewise.
18401 (CFLAGS-msgsnd.c): Likewise.
18402 (CFLAGS-tcdrain.c): Likewise.
18403 (CFLAGS-open.c): Likewise.
18404 (CFLAGS-open64.c): Likewise.
18405 (CFLAGS-pause.c): Likewise.
18406 (CFLAGS-recv.c): Likewise.
18407 (CFLAGS-send.c): Likewise.
18408 (CFLAGS-accept.c): Likewise.
18409 (CFLAGS-sendto.c): Likewise.
18410 (CFLAGS-connect.c): Likewise.
18411 (CFLAGS-recvfrom.c): Likewise.
18412 (CFLAGS-recvmsg.c): Likewise.
18413 (CFLAGS-sendmsg.c): Likewise.
18414 (CFLAGS-close.c): Likewise.
18415 (CFLAGS-read.c): Likewise.
18416 (CFLAGS-write.c): Likewise.
18417 (CFLAGS-nanosleep.c): Likewise.
18418 (CFLAGS-sigsuspend.c): Likewise.
18419 (CFLAGS-msync.c): Likewise.
18420 (CFLAGS-fdatasync.c): Likewise.
18421 (CFLAGS-fsync.c): Likewise.
18422 (CFLAGS-pt-system.c): Likewise.
18423 (CFLAGS-tst-cleanup2.c): Likewise.
18424 (CFLAGS-tst-cleanupx2.c): Likewise.
18425 (CFLAGS-flockfile.c): Likewise.
18426 (CFLAGS-ftrylockfile.c): Likewise.
18427 (CFLAGS-funlockfile.c): Likewise.
18428 (CFLAGS-tst-initializers1.c): Likewise.
18429 (CFLAGS-tst-initializers1-c89.c): Likewise.
18430 (CFLAGS-tst-initializers1-c99.c): Likewise.
18431 (CFLAGS-tst-initializers1-c11.c): Likewise.
18432 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18433 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18434 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18435 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18436 (CFLAGS-nscd_getgr_r.c): Likewise.
18437 (CFLAGS-nscd_gethst_r.c): Likewise.
18438 (CFLAGS-nscd_getai.c): Likewise.
18439 (CFLAGS-nscd_initgroups.c): Likewise.
18440 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18441 (CFLAGS-pause.c): Likewise.
18442 (CFLAGS-pread.c): Likewise.
18443 (CFLAGS-pread64.c): Likewise.
18444 (CFLAGS-pwrite.c): Likewise.
18445 (CFLAGS-pwrite64.c): Likewise.
18446 (CFLAGS-sleep.c): Likewise.
18447 (CFLAGS-wait.c): Likewise.
18448 (CFLAGS-waitid.c): Likewise.
18449 (CFLAGS-waitpid.c): Likewise.
18450 (CFLAGS-getopt.c): Likewise.
18451 (CFLAGS-wordexp.c): Likewise.
18452 (CFLAGS-sysconf.c): Likewise.
18453 (CFLAGS-pathconf.c): Likewise.
18454 (CFLAGS-fpathconf.c): Likewise.
18455 (CFLAGS-spawn.c): Likewise.
18456 (CFLAGS-spawnp.c): Likewise.
18457 (CFLAGS-spawni.c): Likewise.
18458 (CFLAGS-glob.c): Likewise.
18459 (CFLAGS-glob64.c): Likewise.
18460 (CFLAGS-getconf.c): Likewise.
18461 (CFLAGS-nanosleep.c): Likewise.
18462 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18463 (CFLAGS-getpwent.c): Likewise.
18464 (CFLAGS-getpw.c): Likewise.
18465 (CFLAGS-fgetpwent_r.c): Likewise.
18466 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18467 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18468 (CFLAGS-mq_timedreceive.c): Likewise.
18469 (CFLAGS-mq_timedsend.c): Likewise.
18470 (CFLAGS-clock_nanosleep.c): Likewise.
18471 (CFLAGS-librt-cancellation.c): Likewise.
18472 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18473 (CFLAGS-getspent.c): Likewise.
18474 (CFLAGS-fgetspent.c): Likewise.
18475 (CFLAGS-fgetspent_r.c): Likewise.
18476 (CFLAGS-putspent.c): Likewise.
18477 (CFLAGS-getspnam.c): Likewise.
18478 (CFLAGS-getspnam_r.c): Likewise.
18479 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18480 (CFLAGS-sigsuspend.c): Likewise.
18481 (CFLAGS-sigtimedwait.c): Likewise.
18482 (CFLAGS-sigwait.c): Likewise.
18483 (CFLAGS-sigwaitinfo.c): Likewise.
18484 (CFLAGS-sigreturn.c): Likewise.
18485 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18486 (CFLAGS-vfwprintf.c): Likewise.
18487 (CFLAGS-tmpfile.c): Likewise.
18488 (CFLAGS-tmpfile64.c): Likewise.
18489 (CFLAGS-tempname.c): Likewise.
18490 (CFLAGS-psignal.c): Likewise.
18491 (CFLAGS-vprintf.c): Likewise.
18492 (CFLAGS-cuserid.c): Likewise.
18493 (CFLAGS-errlist.c): Likewise.
18494 (CFLAGS-siglist.c): Likewise.
18495 (CFLAGS-scanf15.c): Likewise.
18496 (CFLAGS-scanf17.c): Likewise.
18497 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18498 (CFLAGS-msort.c): Likewise.
18499 (CFLAGS-qsort.c): Likewise.
18500 (CFLAGS-system.c): Likewise.
18501 (CFLAGS-fmtmsg.c): Likewise.
18502 (CFLAGS-strfmon.c): Likewise.
18503 (CFLAGS-strfmon_l.c): Likewise.
18504 (CFLAGS-strfromd.c): Likewise.
18505 (CFLAGS-strfromf.c): Likewise.
18506 (CFLAGS-strfroml.c): Likewise.
18507 (CFLAGS-tst-bsearch.c): Likewise.
18508 (CFLAGS-tst-qsort.c): Likewise.
18509 (CFLAGS-tst-makecontext2.c): Likewise.
18510 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18511 (CFLAGS-xnlm_prot.c): Likewise.
18512 (CFLAGS-xrstat.c): Likewise.
18513 (CFLAGS-xyppasswd.c): Likewise.
18514 (CFLAGS-xklm_prot.c): Likewise.
18515 (CFLAGS-xrex.c): Likewise.
18516 (CFLAGS-xsm_inter.c): Likewise.
18517 (CFLAGS-xmount.c): Likewise.
18518 (CFLAGS-xrusers.c): Likewise.
18519 (CFLAGS-xspray.c): Likewise.
18520 (CFLAGS-xnfs_prot.c): Likewise.
18521 (CFLAGS-xrquota.c): Likewise.
18522 (CFLAGS-xkey_prot.c): Likewise.
18523 (CFLAGS-auth_unix.c): Likewise.
18524 (CFLAGS-key_call.c): Likewise.
18525 (CFLAGS-pmap_rmt.c): Likewise.
18526 (CFLAGS-clnt_perr.c): Likewise.
18527 (CFLAGS-openchild.c): Likewise.
18528 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18529 (CFLAGS-msgsnd.c): Likewise.
18530 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18531 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18532 (CFLAGS-tzset.c): Likewise.
18533 (CFLAGS-getdate.c): Likewise.
18534 (CFLAGS-test_time.c): Likewise.
18535 (CPPFLAGS-tst-tzname.c): Likewise.
18536 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18537 (CFLAGS-zic.c): Likewise.
18538 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18539 (CFLAGS-wcswidth.c): Likewise.
18540 (CFLAGS-wcstol.c): Likewise.
18541 (CFLAGS-wcstoul.c): Likewise.
18542 (CFLAGS-wcstoll.c): Likewise.
18543 (CFLAGS-wcstoull.c): Likewise.
18544 (CFLAGS-wcstod.c): Likewise.
18545 (CFLAGS-wcstold.c): Likewise.
18546 (CFLAGS-wcstof128.c): Likewise.
18547 (CFLAGS-wcstof.c): Likewise.
18548 (CFLAGS-wcstol_l.c): Likewise.
18549 (CFLAGS-wcstoul_l.c): Likewise.
18550 (CFLAGS-wcstoll_l.c): Likewise.
18551 (CFLAGS-wcstoull_l.c): Likewise.
18552 (CFLAGS-wcstod_l.c): Likewise.
18553 (CFLAGS-wcstold_l.c): Likewise.
18554 (CFLAGS-wcstof128_l.c): Likewise.
18555 (CFLAGS-wcstof_l.c): Likewise.
18556 (CPPFLAGS-tst-wchar-h.c): Likewise.
18557 (CPPFLAGS-wcstold_l.c): Likewise.
18558
18559 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18560
18561 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18562
18563 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18564 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18565
18566 * manual/tunables.texi (Hardware Capability Tunables): Document
18567 glibc.tune.cached_memopt.
18568 * sysdeps/powerpc/cpu-features.c: New file.
18569 * sysdeps/powerpc/cpu-features.h: New file.
18570 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18571 _dl_powerpc_cpu_features.
18572 * sysdeps/powerpc/dl-tunables.list: New file.
18573 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18574 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18575 (INIT_ARCH): Initialize use_aligned_memopt.
18576 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18577 IS_IN(rtld))]: Restrict dl_platform_init availability and
18578 initialize CPU features used by tunables.
18579 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18580 Add memcpy-power8-cached.
18581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18582 __memcpy_power8_cached.
18583 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18584 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18585 New file.
18586
18587 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18588
18589 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18590 (CFLAGS-noinl-tester.c): Likewise.
18591 (CFLAGS-tst-strlen.c): Likewise.
18592 (CFLAGS-stratcliff.c): Likewise.
18593 (CFLAGS-test-ffs.c): Likewise.
18594 (CFLAGS-tst-inlcall.c): Likewise.
18595 (CFLAGS-tst-xbzero-opt.c): Likewise.
18596 (CFLAGS-memcpy.c): Likewise.
18597 (CFLAGS-wordcopy.c): Likewise.
18598
18599 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18600
18601 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18602 Store r15 on stack and add cfi rule.
18603 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18604 Likewise.
18605
18606 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18607
18608 [BZ #22577]
18609 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18610 call.
18611
18612 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18613
18614 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18615 Add s_sinf-sse2 and s_sinf-fma.
18616 (CFLAGS-s_sinf-fma.c): New.
18617 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18618 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18619 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18620
18621 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18622
18623 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18624
18625 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18626
18627 [BZ #22568]
18628 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18629 part of result to imaginary part of argument if it is zero and the
18630 real part of the argument is not finite.
18631 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18632 of result to real part of argument if it is zero and the imaginary
18633 part of the argument is not finite.
18634
18635 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18636
18637 [BZ #22524]
18638 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18639 and to the list of locales to be built for testing.
18640 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18641 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18642 and build the collation rules upon that.
18643
18644 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18645
18646 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18647 * manual/math.texi (Mathematics): Document support for _Float32.
18648 * math/Makefile (test-types): Add float32.
18649 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18650 * stdlib/Versions (GLIBC_2.27): Likewise.
18651 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18652 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18653 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18654 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18655 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18656 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18657 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18658 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18659 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18660 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18661 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18662 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18663 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18664 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18665 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18666 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18667 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18668 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18669 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18670 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18671 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18672 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18673 Likewise.
18674 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18675 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18676 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18677 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18678 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18680 Likewise.
18681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18682 Likewise.
18683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18684 Likewise.
18685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18686 Likewise.
18687
18688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18689 Likewise.
18690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18691 Likewise.
18692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18693 Likewise.
18694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18695 Likewise.
18696 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18697 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18698 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18699 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18700 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18701 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18702 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18703 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18704 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18705 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18707 Likewise.
18708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18709 Likewise.
18710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18711 Likewise.
18712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18713 Likewise.
18714 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18715 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18716 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18717 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18718 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18719 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18720 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18721 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18722
18723 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18724
18725 * stdlib/strtof.c: Include <bits/floatn.h>
18726 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18727 and later undefine as macro. Define as weak alias if
18728 [!USE_WIDE_CHAR].
18729 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18730 and later undefine as macro. Define as weak alias if
18731 [USE_WIDE_CHAR].
18732 * stdlib/strtof_l.c: Include <bits/floatn.h>
18733 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18734 and later undefine as macro. Define as weak alias if
18735 [!USE_WIDE_CHAR].
18736 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18737 and later undefine as macro. Define as weak alias if
18738 [USE_WIDE_CHAR].
18739
18740 * stdlib/strfromf.c: Include <bits/floatn.h>.
18741 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18742 and later undefine as macro and define as weak alias.
18743
18744 * math/test-float32.h: New file.
18745
18746 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18747 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18748 (libm_alias_float_other_r): Create f32 alias.
18749 (libm_alias_float_r): Use semicolon before call to
18750 libm_alias_float_other_r.
18751
18752 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18753 second argument to libm_alias_float_other.
18754 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18755 second argument to libm_alias_float_other.
18756 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18757 argument to libm_alias_float_other.
18758
18759 [BZ #22561]
18760 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18761 real part of result for argument 0 + i * NaN.
18762 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18763 results for tests of 0 + i * NaN.
18764
18765 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18766
18767 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18768
18769 2017-12-06 David S. Miller <davem@davemloft.net>
18770
18771 * sysdeps/sparc/fpu/libm-test-ulps: Update
18772 exp_{downward,towardzero,upward} ulps.
18773
18774 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18775
18776 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18777 variables static.
18778
18779 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18780 (Y0_2D): Likewise.
18781 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18782 (Y0_2D): Likewise.
18783 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18784 (Y0_2D): Likewise.
18785 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18786 (Y0_2D): Likewise.
18787
18788 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18789
18790 [BZ #22515]
18791 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18792 and to the list of locales to be built for testing.
18793 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18794 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18795 and build the collation rules upon that.
18796
18797 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18798
18799 * NEWS: Add sinf to list of optimized functions.
18800
18801 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18802
18803 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18804 (__HAVE_FLOAT32X): Likewise.
18805 * manual/math.texi (Mathematics): Document support for _Float64
18806 and _Float32x.
18807 * math/Makefile (test-types): Add float64 and float32x.
18808 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18809 functions.
18810 * stdlib/Versions (GLIBC_2.27): Likewise.
18811 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18812 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18813 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18814 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18815 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18816 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18817 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18818 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18819 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18820 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18821 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18822 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18823 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18824 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18825 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18826 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18827 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18828 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18829 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18830 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18831 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18832 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18833 Likewise.
18834 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18835 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18836 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18837 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18838 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18840 Likewise.
18841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18842 Likewise.
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18844 Likewise.
18845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18846 Likewise.
18847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18848 Likewise.
18849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18850 Likewise.
18851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18852 Likewise.
18853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18854 Likewise.
18855 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18856 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18857 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18858 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18859 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18860 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18861 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18862 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18863 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18864 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18866 Likewise.
18867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18868 Likewise.
18869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18870 Likewise.
18871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18872 Likewise.
18873 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18874 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18875 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18876 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18877 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18878 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18879 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18880 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18881
18882 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18883
18884 * bits/floatn-common.h: Include <bits/long-double.h>.
18885 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18886 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18887 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18888 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18889 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18890 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18891 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18892 (__builtin_huge_valf64): Use __builtin_huge_vall.
18893 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18894 (__builtin_inff64): Use __builtin_infl.
18895 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18896 (__builtin_nanf64): Use __builtin_nanl.
18897 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18898 (__builtin_nansf64): Use __builtin_nansl.
18899
18900 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18901 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18902 Carlos O'Donnell <carlos@redhat.com>
18903
18904 * elf/dl-tunables.list: Add elision parameters.
18905 * manual/tunables.texi: Add entries about elision tunable.
18906 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18907 Add callback functions to dynamically enable/disable elision.
18908 Add multiple callbacks functions to set elision parameters.
18909 Deleted __libc_enable_secure check.
18910 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18911 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18912 * configure: Regenerated.
18913 * configure.ac: Option enable_lock_elision was deleted.
18914 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18915 * config.make.in: Remove references to enable_lock_elision.
18916 * manual/install.texi: Elision configure option was removed.
18917 * INSTALL: Regenerated to remove enable_lock_elision.
18918 * nptl/Makefile:
18919 Disable elision so it can verify error case for destroying a mutex.
18920 * sysdeps/powerpc/nptl/elide.h:
18921 Cleanup ENABLE_LOCK_ELISION check.
18922 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18923 * sysdeps/s390/configure: Regenerated.
18924 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18925 * nptl/tst-mutex8.c:
18926 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18927 * sysdeps/powerpc/powerpc32/sysdep.h:
18928 Deleted all ENABLE_LOCK_ELISION checks.
18929 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18930 * sysdeps/powerpc/sysdep.h: Likewise.
18931 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18932 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18933 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18934 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18935 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18936 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18937 enable-lock-elision.
18938
18939 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18940
18941 * stdlib/strtod.c: Include <bits/floatn.h>.
18942 (BUILD_DOUBLE): New macro.
18943 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18944 (strtof64): Define and later undefine as macro. Define as weak
18945 alias if [!USE_WIDE_CHAR].
18946 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18947 (wcstof64): Define and later undefine as macro. Define as weak
18948 alias if [USE_WIDE_CHAR].
18949 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18950 (strtof32x): Define and later undefine as macro. Define as weak
18951 alias if [!USE_WIDE_CHAR].
18952 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18953 (wcstof32x): Define and later undefine as macro. Define as weak
18954 alias if [USE_WIDE_CHAR].
18955 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18956 (BUILD_DOUBLE): New macro.
18957 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18958 (strtof64_l): Define and later undefine as macro. Define as weak
18959 alias if [!USE_WIDE_CHAR].
18960 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18961 (wcstof64_l): Define and later undefine as macro. Define as weak
18962 alias if [USE_WIDE_CHAR].
18963 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18964 (strtof32x_l): Define and later undefine as macro. Define as weak
18965 alias if [!USE_WIDE_CHAR].
18966 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18967 (wcstof32x_l): Define and later undefine as macro. Define as weak
18968 alias if [USE_WIDE_CHAR].
18969
18970 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18971
18972 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18973 (reduced): Use ones as double instead of integer.
18974
18975 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18976
18977 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18978
18979 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18980
18981 * stdlib/strfromd.c: Include <bits/floatn.h>.
18982 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18983 and later undefine as macro and define as weak alias.
18984 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18985 Likewise.
18986
18987 * math/test-float32x.h: New file.
18988 * math/test-float64.h: Likewise.
18989
18990 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18991 (libm_alias_double_other_r_f64): New macro.
18992 (libm_alias_double_other_r_f32x): Likewise.
18993 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18994 libm_alias_double_other_r_f32x.
18995 (libm_alias_double_r): Use semicolon before call to
18996 libm_alias_double_other_r.
18997 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18998 <bits/floatn.h>.
18999 (libm_alias_double_other_r_f64): New macro.
19000 (libm_alias_double_other_r_f32x): Likewise.
19001 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19002 libm_alias_double_other_r_f32x.
19003
19004 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19005
19006 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19007 int.
19008 (SINF_FUNC): Likewise. Replace floor with simple casts.
19009
19010 2017-12-05 Mike FABIAN <mfabian@redhat.com>
19011
19012 [BZ #22517]
19013 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19014 and to the list of locales to be built for testing.
19015 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19016 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19017 and build the collation rules upon that.
19018
19019 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19020
19021 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19022 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19023 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19024 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19025 instead of __insn__xxx.
19026 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19027 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19028 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19029 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19030 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19031 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19032
19033 2017-12-05 Florian Weimer <fweimer@redhat.com>
19034
19035 Linux: Implement interfaces for memory protection keys
19036 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
19037 xsignal, xsysconf.
19038 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
19039 * support/xunistd.h (xsysconf): Declare.
19040 * support/xraise.c: New file.
19041 * support/xsigaction.c: Likewise.
19042 * support/xsignal.c: Likewise.
19043 * support/xsysconf.c: Likewise.
19044 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
19045 pkey_set, pkey_get, pkey_mprotect.
19046 [misc] (tests): Add tst-pkey.
19047 (tst-pkey): Link with -lpthread.
19048 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
19049 pkey_free, pkey_set, pkey_get, pkey_mprotect.
19050 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
19051 (PKEY_DISABLE_WRITE): Define.
19052 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
19053 Declare.
19054 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
19055 (SEGV_PKUERR): Add.
19056 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
19057 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19058 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19059 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19060 Add.
19061 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19062 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19063 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19064 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19065 * sysdeps/unix/sysv/linux/**.abilist: Update.
19066
19067 2017-12-05 Florian Weimer <fweimer@redhat.com>
19068
19069 * support/tst-test_compare.c (subprocess): Use long long instead
19070 of long argument for consistent type width across 32-bit and
19071 64-bit architectures.
19072 (do_test): Adjust expected output.
19073
19074 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19075
19076 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19077 (cosf): Define using libm_alias_float.
19078 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19079 (fabsf): Define using libm_alias_float.
19080 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19081 (fmaf): Define using libm_alias_float.
19082 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19083 (rintf): Define using libm_alias_float.
19084 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19085 (sinf): Define using libm_alias_float.
19086 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19087 <libm-alias-float.h>.
19088 (modff): Define using libm_alias_float.
19089 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19090 <libm-alias-float.h>.
19091 (logbf): Define using libm_alias_float.
19092 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19093 <libm-alias-float.h>.
19094 (ceilf): Define using libm_alias_float.
19095 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19096 <libm-alias-float.h>.
19097 (copysignf): Define using libm_alias_float.
19098 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19099 <libm-alias-float.h>.
19100 (floorf): Define using libm_alias_float.
19101 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19102 <libm-alias-float.h>.
19103 (llrintf): Define using libm_alias_float.
19104 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19105 <libm-alias-float.h>.
19106 (llroundf): Define using libm_alias_float.
19107 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19108 <libm-alias-float.h>.
19109 (lrintf): Define using libm_alias_float.
19110 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19111 <libm-alias-float.h>.
19112 (lroundf): Define using libm_alias_float.
19113 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19114 <libm-alias-float.h>.
19115 (nearbyintf): Define using libm_alias_float.
19116 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19117 <libm-alias-float.h>.
19118 (rintf): Define using libm_alias_float.
19119 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19120 <libm-alias-float.h>.
19121 (roundf): Define using libm_alias_float.
19122 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19123 <libm-alias-float.h>.
19124 (truncf): Define using libm_alias_float.
19125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19126 Include <libm-alias-float.h>.
19127 (ceilf): Define using libm_alias_float.
19128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19129 Include <libm-alias-float.h>.
19130 (copysignf): Define using libm_alias_float.
19131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19132 Include <libm-alias-float.h>.
19133 (floorf): Define using libm_alias_float.
19134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19135 Include <libm-alias-float.h>.
19136 (llrintf): Define using libm_alias_float.
19137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19138 Include <libm-alias-float.h>.
19139 (llroundf): Define using libm_alias_float.
19140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19141 Include <libm-alias-float.h>.
19142 (logbf): Define using libm_alias_float.
19143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19144 Include <libm-alias-float.h>.
19145 (lrintf): Define using libm_alias_float.
19146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19147 Include <libm-alias-float.h>.
19148 (lroundf): Define using libm_alias_float.
19149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19150 Include <libm-alias-float.h>.
19151 (modff): Define using libm_alias_float.
19152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19153 Include <libm-alias-float.h>.
19154 (roundf): Define using libm_alias_float.
19155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19156 Include <libm-alias-float.h>.
19157 (truncf): Define using libm_alias_float.
19158 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19159 <libm-alias-float.h>.
19160 (llrintf): Define using libm_alias_float.
19161 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19162 <libm-alias-float.h>.
19163 (llroundf): Define using libm_alias_float.
19164 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19165 <libm-alias-float.h>.
19166 (ceilf): Define using libm_alias_float.
19167 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19168 <libm-alias-float.h>.
19169 (floorf): Define using libm_alias_float.
19170 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19171 <libm-alias-float.h>.
19172 (llroundf): Define using libm_alias_float.
19173 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19174 <libm-alias-float.h>.
19175 (lroundf): Define using libm_alias_float.
19176 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19177 <libm-alias-float.h>.
19178 (roundf): Define using libm_alias_float.
19179 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19180 <libm-alias-float.h>.
19181 (truncf): Define using libm_alias_float.
19182 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19183 <libm-alias-float.h>.
19184 (copysignf): Define using libm_alias_float.
19185 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19186 <libm-alias-float.h>.
19187 (llrintf): Define using libm_alias_float.
19188 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19189 <libm-alias-float.h>.
19190 (llroundf): Define using libm_alias_float.
19191 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19192 <libm-alias-float.h>.
19193 (lrintf): Define using libm_alias_float.
19194 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19195 <libm-alias-float.h>.
19196 (lroundf): Define using libm_alias_float.
19197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19198 <libm-alias-float.h>.
19199 (ceilf): Define using libm_alias_float.
19200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19201 <libm-alias-float.h>.
19202 (copysignf): Define using libm_alias_float.
19203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19204 <libm-alias-float.h>.
19205 (cosf): Define using libm_alias_float.
19206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19207 <libm-alias-float.h>.
19208 (floorf): Define using libm_alias_float.
19209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19210 <libm-alias-float.h>.
19211 (llrintf): Define using libm_alias_float.
19212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19213 <libm-alias-float.h>.
19214 (llroundf): Define using libm_alias_float.
19215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19216 <libm-alias-float.h>.
19217 (logbf): Define using libm_alias_float.
19218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19219 <libm-alias-float.h>.
19220 (modff): Define using libm_alias_float.
19221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19222 <libm-alias-float.h>.
19223 (roundf): Define using libm_alias_float.
19224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19225 <libm-alias-float.h>.
19226 (sinf): Define using libm_alias_float.
19227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19228 <libm-alias-float.h>.
19229 (truncf): Define using libm_alias_float.
19230 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19231 <libm-alias-float.h>.
19232 (ceilf): Define using libm_alias_float.
19233 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19234 <libm-alias-float.h>.
19235 (copysignf): Define using libm_alias_float.
19236 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19237 <libm-alias-float.h>.
19238 (floorf): Define using libm_alias_float.
19239 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19240 <libm-alias-float.h>.
19241 (llrintf): Define using libm_alias_float.
19242 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19243 <libm-alias-float.h>.
19244 (llroundf): Define using libm_alias_float.
19245 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19246 <libm-alias-float.h>.
19247 (nearbyintf): Define using libm_alias_float.
19248 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19249 <libm-alias-float.h>.
19250 (rintf): Define using libm_alias_float.
19251 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19252 <libm-alias-float.h>.
19253 (roundf): Define using libm_alias_float.
19254 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19255 <libm-alias-float.h>.
19256 (truncf): Define using libm_alias_float.
19257 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19258 <libm-alias-float.h>.
19259 (ceilf): Define using libm_alias_float.
19260 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19261 <libm-alias-float.h>.
19262 (floorf): Define using libm_alias_float.
19263 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19264 <libm-alias-float.h>.
19265 (llroundf): Define using libm_alias_float.
19266 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19267 <libm-alias-float.h>.
19268 (roundf): Define using libm_alias_float.
19269 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19270 <libm-alias-float.h>.
19271 (truncf): Define using libm_alias_float.
19272 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19273 <libm-alias-float.h>.
19274 (copysignf): Define using libm_alias_float.
19275 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19276 <libm-alias-float.h>.
19277 (llrintf): Define using libm_alias_float.
19278 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19279 <libm-alias-float.h>.
19280 (llroundf): Define using libm_alias_float.
19281 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19282 <libm-alias-float.h>.
19283 (cosf): Define using libm_alias_float.
19284 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19285 <libm-alias-float.h>.
19286 (llrintf): Define using libm_alias_float.
19287 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19288 <libm-alias-float.h>.
19289 (llroundf): Define using libm_alias_float.
19290 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19291 <libm-alias-float.h>.
19292 (sinf): Define using libm_alias_float.
19293
19294 2017-12-04 Florian Weimer <fweimer@redhat.com>
19295
19296 * support/check.h (TEST_COMPARE): Define.
19297 (support_test_compare_failure): Declare.
19298 * support/Makefile (libsupport-routines): Add
19299 support_test_compare_failure.
19300 (tests): Add tst-test_compare.
19301 * support /support_test_compare_failure.c: New file.
19302 * support/tst-test_compare.c: Likewise.
19303
19304 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19305
19306 [BZ #22527]
19307 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19308 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19309 available, this rewrite of the collation rules does reproduce
19310 the test file in the same order.
19311
19312 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19313
19314 [BZ #10580]
19315 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19316 digraphs in the month and day names. Using single code points for
19317 digraphs is deprecated. While there are dedicated Unicode
19318 codepoints, for the digraphs, these are included for backwards
19319 compatibility and modern texts use a sequence of Basic Latin
19320 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19321 This makes the month and day names agree exactly with CLDR now,
19322 CLDR does not use the single code points for the digraphs either.
19323
19324 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19325
19326 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19327
19328 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19329
19330 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19331 of floor.
19332
19333 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19334
19335 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19336 Define only for libc.so.
19337
19338 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19339
19340 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19341 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19342 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19343 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19344 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19345
19346 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19347
19348 [BZ #5997]
19349 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19350
19351 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19352
19353 [BZ libc/19170]
19354 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19355 PREINIT_FUNCTION_WEAK is nonzero.
19356 (gmon_initializer): New function. Put procedure label for it in
19357 .init_array section.
19358 (_init): Don't call PREINIT_FUNCTION.
19359 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19360 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19361 value when map argument is null.
19362
19363 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19364 depi instruction from PIC pc-relative sequence.
19365 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19366 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19367 (elf_machine_load_address): Likewise.
19368 (elf_machine_runtime_setup): Likewise.
19369
19370 2017-12-02 Joseph Myers <joseph@codesourcery.com>
19371
19372 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19373 <libm-alias-double.h>.
19374 (logb): Define using libm_alias_double.
19375 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19376 <libm-alias-double.h>.
19377 (copysign): Define using libm_alias_double.
19378 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19379 <libm-alias-double.h>.
19380 (llrint): Define using libm_alias_double.
19381 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19382 <libm-alias-double.h>.
19383 (llround): Define using libm_alias_double.
19384 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19385 <libm-alias-double.h>.
19386 (lrint): Define using libm_alias_double.
19387 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19388 <libm-alias-double.h>.
19389 (lround): Define using libm_alias_double.
19390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19391 Include <libm-alias-double.h>.
19392 (copysign): Define using libm_alias_double.
19393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19394 Include <libm-alias-double.h>.
19395 (llrint): Define using libm_alias_double.
19396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19397 Include <libm-alias-double.h>.
19398 (llround): Define using libm_alias_double.
19399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19400 <libm-alias-double.h>.
19401 (logb): Define using libm_alias_double.
19402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19403 Include <libm-alias-double.h>.
19404 (lrint): Define using libm_alias_double.
19405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19406 Include <libm-alias-double.h>.
19407 (lround): Define using libm_alias_double.
19408 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19409 <libm-alias-double.h>.
19410 (llrint): Define using libm_alias_double.
19411 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19412 <libm-alias-double.h>.
19413 (llround): Define using libm_alias_double.
19414 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19415 <libm-alias-double.h>.
19416 (llround): Define using libm_alias_double.
19417 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19418 <libm-alias-double.h>.
19419 (lround): Define using libm_alias_double.
19420 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19421 <libm-alias-double.h>.
19422 (copysign): Define using libm_alias_double.
19423 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19424 <libm-alias-double.h>.
19425 (llrint): Define using libm_alias_double.
19426 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19427 <libm-alias-double.h>.
19428 (llround): Define using libm_alias_double.
19429 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19430 <libm-alias-double.h>.
19431 (lrint): Define using libm_alias_double.
19432 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19433 <libm-alias-double.h>.
19434 (lround): Define using libm_alias_double.
19435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19436 <libm-alias-double.h>.
19437 (copysign): Define using libm_alias_double.
19438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19439 <libm-alias-double.h>.
19440 (llrint): Define using libm_alias_double.
19441 (lrint): Likewise.
19442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19443 <libm-alias-double.h>.
19444 (llround): Define using libm_alias_double.
19445 (lround): Likewise.
19446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19447 <libm-alias-double.h>.
19448 (logb): Define using libm_alias_double.
19449 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19450 <libm-alias-double.h>.
19451 (copysign): Define using libm_alias_double.
19452 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19453 <libm-alias-double.h>.
19454 (llrint): Define using libm_alias_double.
19455 (lrint): Likewise.
19456 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19457 <libm-alias-double.h>.
19458 (llround): Define using libm_alias_double.
19459 (lround): Likewise.
19460 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19461 <libm-alias-double.h>.
19462 (llround): Define using libm_alias_double.
19463 (lround): Likewise.
19464 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19465 <libm-alias-double.h>.
19466 (copysign): Define using libm_alias_double.
19467 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19468 <libm-alias-double.h>.
19469 (llrint): Define using libm_alias_double.
19470 (lrint): Likewise.
19471 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19472 <libm-alias-double.h>.
19473 (llround): Define using libm_alias_double.
19474 (lround): Likewise.
19475 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19476 <libm-alias-double.h>.
19477 (llrint): Define using libm_alias_double.
19478 (lrint): Likewise.
19479 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19480 <libm-alias-double.h>.
19481 (llround): Define using libm_alias_double.
19482 (lround): Likewise.
19483
19484 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19485
19486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19487 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19488 compat symbol based on llround.
19489
19490 * sysdeps/powerpc/power7/fpu/s_logb.c
19491 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19492 symbol based on __logb, not on logb.
19493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19494 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19496 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19497
19498 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19499 (rint): Define using libm_alias_double.
19500 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19501 <libm-alias-double.h>.
19502 (modf): Define using libm_alias_double.
19503 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19504 <libm-alias-double.h>.
19505 (ceil): Define using libm_alias_double.
19506 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19507 <libm-alias-double.h>.
19508 (floor): Define using libm_alias_double.
19509 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19510 <libm-alias-double.h>.
19511 (nearbyint): Define using libm_alias_double.
19512 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19513 <libm-alias-double.h>.
19514 (rint): Define using libm_alias_double.
19515 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19516 <libm-alias-double.h>.
19517 (round): Define using libm_alias_double.
19518 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19519 <libm-alias-double.h>.
19520 (trunc): Define using libm_alias_double.
19521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19522 <libm-alias-double.h>.
19523 (ceil): Define using libm_alias_double.
19524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19525 Include <libm-alias-double.h>.
19526 (floor): Define using libm_alias_double.
19527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19528 <libm-alias-double.h>.
19529 (modf): Define using libm_alias_double.
19530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19531 Include <libm-alias-double.h>.
19532 (round): Define using libm_alias_double.
19533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19534 Include <libm-alias-double.h>.
19535 (trunc): Define using libm_alias_double.
19536 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19537 <libm-alias-double.h>.
19538 (ceil): Define using libm_alias_double.
19539 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19540 <libm-alias-double.h>.
19541 (floor): Define using libm_alias_double.
19542 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19543 <libm-alias-double.h>.
19544 (round): Define using libm_alias_double.
19545 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19546 <libm-alias-double.h>.
19547 (trunc): Define using libm_alias_double.
19548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19549 <libm-alias-double.h>.
19550 (ceil): Define using libm_alias_double.
19551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19552 <libm-alias-double.h>.
19553 (floor): Define using libm_alias_double.
19554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19555 <libm-alias-double.h>.
19556 (modf): Define using libm_alias_double.
19557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19558 <libm-alias-double.h>.
19559 (round): Define using libm_alias_double.
19560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19561 <libm-alias-double.h>.
19562 (trunc): Define using libm_alias_double.
19563 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19564 <libm-alias-double.h>.
19565 (ceil): Define using libm_alias_double.
19566 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19567 <libm-alias-double.h>.
19568 (floor): Define using libm_alias_double.
19569 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19570 <libm-alias-double.h>.
19571 (nearbyint): Define using libm_alias_double.
19572 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19573 <libm-alias-double.h>.
19574 (rint): Define using libm_alias_double.
19575 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19576 <libm-alias-double.h>.
19577 (round): Define using libm_alias_double.
19578 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19579 <libm-alias-double.h>.
19580 (trunc): Define using libm_alias_double.
19581 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19582 <libm-alias-double.h>.
19583 (ceil): Define using libm_alias_double.
19584 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19585 <libm-alias-double.h>.
19586 (floor): Define using libm_alias_double.
19587 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19588 <libm-alias-double.h>.
19589 (round): Define using libm_alias_double.
19590 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19591 <libm-alias-double.h>.
19592 (trunc): Define using libm_alias_double.
19593
19594 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19595 (fabs): Define using libm_alias_double.
19596 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19597 (fma): Define using libm_alias_double.
19598 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19599 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19600 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19601 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19602
19603 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19604
19605 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19606
19607 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19608 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19609 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19610
19611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19612 due redirect macro.
19613
19614 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19615
19616 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19617
19618 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19619
19620 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19621 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19622 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19623 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19624
19625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19626 (libm-sysdep_routines): Add s_nearbyintf-generic and
19627 s_nearbyint-generic.
19628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19629 New file.
19630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19632 Likewise.
19633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19634 Likewise.
19635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19636 file.
19637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19638 Likewise.
19639
19640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19641 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19643 file.
19644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19646 Likewise.
19647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19650
19651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19652 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19654 file.
19655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19657 Likewise.
19658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19661
19662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19663 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19665 file.
19666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19668 Likewise.
19669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19672
19673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19674 (sysdep_calls): New rule.
19675 (sysdep_routines): Use sysdep_calls as base.
19676 (libm-sysdep_routines): Add generic rule for symbols shared with
19677 libc. Add s_copysign-generic and s_copysign-generic objects.
19678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19679 New file.
19680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19682 Likewise.
19683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19686
19687 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19688
19689 [BZ #22519]
19690 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19691 the list of locales to be built for testing.
19692 * localedata/is_IS.UTF-8.in: New file.
19693 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19694 on iso14651_t1.
19695
19696 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19697
19698 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19699 <libm-alias-float.h>.
19700 (fabsf): Define using libm_alias_float.
19701
19702 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19703
19704 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19705
19706 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19707
19708 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19709 <libm-alias-float.h>.
19710 (fabsf): Define using libm_alias_float.
19711 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19712 <libm-alias-float.h>.
19713 (lrintf): Define using libm_alias_float.
19714 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19715 <libm-alias-float.h>.
19716 (rintf): Define using libm_alias_float.
19717
19718 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19719 <libm-alias-double.h>.
19720 (fabs): Define using libm_alias_double.
19721 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19722 <libm-alias-double.h>.
19723 (lrint): Define using libm_alias_double.
19724 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19725 <libm-alias-double.h>.
19726 (rint): Define using libm_alias_double.
19727
19728 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19729 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19730 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19731 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19732 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19733 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19734 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19735 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19736 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19737 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19738 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19739 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19740 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19741 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19742 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19743 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19744 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19745 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19746 s_atan_template.c.
19747 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19748 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19749 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19750 s_ceil_template.c.
19751 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19752 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19753 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19754 s_cos_template.c.
19755 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19756 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19757 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19758 s_expm1_template.c.
19759 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19760 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19761 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19762 s_fabs_template.c.
19763 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19764 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19765 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19766 s_floor_template.c.
19767 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19768 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19769 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19770 s_frexp_template.c.
19771 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19772 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19773 s_lrint_template.c.
19774 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19775 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19776 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19777 s_modf_template.c.
19778 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19779 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19780 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19781 s_nearbyint_template.c.
19782 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19783 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19784 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19785 s_remquo_template.c.
19786 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19787 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19788 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19789 s_rint_template.c.
19790 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19791 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19792 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19793 s_sin_template.c.
19794 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19795 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19796 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19797 s_sincos_template.c.
19798 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19799 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19800 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19801 s_tan_template.c.
19802 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19803 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19804 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19805 s_tanh_template.c.
19806 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19807 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19808 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19809 s_trunc_template.c.
19810 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19811 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19812 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19813 s_atan.c instead of including s_atan.c.
19814 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19815 s_atanf.c instead of including s_atanf.c.
19816 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19817 s_atanl.c instead of including s_atanl.c.
19818 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19819 instead of s_atan.c.
19820 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19821 instead of s_atanf.c.
19822 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19823 instead of s_atanl.c.
19824
19825 * scripts/update-copyrights: Do not handle intl/plural.c
19826 specially.
19827
19828 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19829
19830 [BZ #22432]
19831 * configure.ac (BISON): Require to be present.
19832 * configure: Regenerated.
19833 * intl/Makefile (generated): Add plural.c.
19834 [$(BISON) != no]: Make code unconditional.
19835 (plural.c): Change rule to $(objpfx)plural.c.
19836 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19837 * intl/plural.c: Remove.
19838 * manual/install.texi (Tools for Compilation): Document bison as
19839 required.
19840 * INSTALL: Regenerated.
19841
19842 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19843
19844 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19845 <libm-alias-double.h>.
19846 (llrint): Define using libm_alias_double.
19847 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19848 <libm-alias-float.h>.
19849 (llrintf): Define using libm_alias_float.
19850 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19851 <libm-alias-ldouble.h>.
19852 (llrintl): Define using libm_alias_ldouble.
19853
19854 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19855 declare_mgen_alias instead of weak_alias.
19856 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19857 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19858 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19859
19860 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19861
19862 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19863 Add add_n-generic.
19864 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19865 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19866 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19867
19868 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19869 Add submul_1-generic.
19870 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19871 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19872 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19873
19874 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19875 Add addmul_1-generic.
19876 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19877 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19878 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19879
19880 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19881 Add sub_n-generic.
19882 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19883 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19884 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19885
19886 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19887 Add mul_1-generic.
19888 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19889 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19890 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19891
19892 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19893
19894 According to CLDR, collation rules for Serbian and Bosnian
19895 should be the same as for Croatian.
19896
19897 [BZ #22534]
19898 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19899 and to the list of locales to be built for testing.
19900 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19901 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19902 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19903 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19904
19905 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19906
19907 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19908 to make test case pass.
19909 * localedata/hr_HR.UTF-8.in: Add more test strings.
19910
19911 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19912
19913 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19914
19915 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19916
19917 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19918 the list of locales to built for testing.
19919 * localedata/hr_HR.UTF-8.in: New file.
19920
19921 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19922
19923 [BZ #10580]
19924 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19925 iso14651_t1.
19926 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19927 CLDR (except use ligatures for the digraphs, CLDR does not use
19928 the ligatures), add first_workday, some fixes in the date and time
19929 formats.
19930 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19931 for Đ and đ.
19932 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19933 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19934 Add int_p_cs_precedes and int_n_cs_precedes.
19935 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19936 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19937 LC_MONETARY now).
19938 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19939 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19940 name_miss.
19941 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19942 and lang_lib. Change postal_fmt.
19943
19944 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19945
19946 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19947 <setjmp.h>.
19948 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19949 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19950 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19951 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19952 * sysdeps/generic/setjmpP.h: New file.
19953 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19954 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19955 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19956 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19957 Add jmp_buf-ssp.sym.
19958 (tests): Add tst-saved_mask-1.
19959
19960 2017-11-30 Arjun Shankar <arjun@redhat.com>
19961
19962 [BZ #22375]
19963 CVE-2017-17426
19964 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19965 instead of request2size.
19966
19967 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19968
19969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19970 (__lllrint): Remove alias.
19971 (lllrint): Likewise.
19972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19973 (__lllrintf): Likewise.
19974 (lllrintf): Likewise.
19975
19976 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19977 <libm-alias-float.h>.
19978 (copysignf): Define using libm_alias_float.
19979 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19980 <libm-alias-float.h>.
19981 (fabsf): Define using libm_alias_float.
19982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19983 Include <libm-alias-float.h>.
19984 (copysignf): Define using libm_alias_float.
19985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19986 <libm-alias-float.h>.
19987 (fabsf): Define using libm_alias_float.
19988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19989 <libm-alias-float.h>.
19990 (fdimf): Define using libm_alias_float.
19991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19992 <libm-alias-float.h>.
19993 (fmaf): Define using libm_alias_float.
19994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19995 <libm-alias-float.h>.
19996 (llrintf): Define using libm_alias_float.
19997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19998 Include <libm-alias-float.h>.
19999 (nearbyintf): Define using libm_alias_float.
20000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20001 <libm-alias-float.h>.
20002 (rintf): Define using libm_alias_float.
20003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20004 <libm-alias-float.h>.
20005 (llrintf): Define using libm_alias_float.
20006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20007 <libm-alias-float.h>.
20008 (lrintf): Define using libm_alias_float.
20009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20010 <libm-alias-float.h>.
20011 (nearbyintf): Define using libm_alias_float.
20012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20013 <libm-alias-float.h>.
20014 (rintf): Define using libm_alias_float.
20015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20016 <libm-alias-float.h>.
20017 (ceilf): Define using libm_alias_float.
20018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20019 <libm-alias-float.h>.
20020 (floorf): Define using libm_alias_float.
20021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20022 <libm-alias-float.h>.
20023 (fmaf): Define using libm_alias_float.
20024 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20025 <libm-alias-float.h>.
20026 (lrintf): Define using libm_alias_float.
20027 (llrintf): Likewise.
20028 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20029 <libm-alias-float.h>.
20030 (nearbyintf): Define using libm_alias_float.
20031 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20032 <libm-alias-float.h>.
20033 (rintf): Define using libm_alias_float.
20034 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
20035 <libm-alias-float.h>.
20036 (truncf): Define using libm_alias_float.
20037 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
20038 <libm-alias-float.h>.
20039 (copysignf): Define using libm_alias_float.
20040 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
20041 <libm-alias-float.h>.
20042 (fabsf): Define using libm_alias_float.
20043 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
20044 <libm-alias-float.h>.
20045 (lrintf): Define using libm_alias_float.
20046 (llrintf): Likewise.
20047 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
20048 <libm-alias-float.h>.
20049 (nearbyintf): Define using libm_alias_float.
20050 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
20051 <libm-alias-float.h>.
20052 (rintf): Define using libm_alias_float.
20053
20054 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20055
20056 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
20057 <libm-alias-double.h>.
20058 (copysign): Define using libm_alias_double.
20059 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20060 <libm-alias-double.h>.
20061 (fabs): Define using libm_alias_double.
20062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20063 Include <libm-alias-double.h>.
20064 (copysign): Define using libm_alias_double.
20065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20066 <libm-alias-double.h>.
20067 (fabs): Define using libm_alias_double.
20068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20069 <libm-alias-double.h>.
20070 (fdim): Define using libm_alias_double.
20071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20072 <libm-alias-double.h>.
20073 (fma): Define using libm_alias_double.
20074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20075 <libm-alias-double.h>.
20076 (llrint): Define using libm_alias_double.
20077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20078 Include <libm-alias-double.h>.
20079 (nearbyint): Define using libm_alias_double.
20080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20081 <libm-alias-double.h>.
20082 (rint): Define using libm_alias_double.
20083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20084 <libm-alias-double.h>.
20085 (fabs): Define using libm_alias_double.
20086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20087 <libm-alias-double.h>.
20088 (llrint): Define using libm_alias_double.
20089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20090 <libm-alias-double.h>.
20091 (nearbyint): Define using libm_alias_double.
20092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20093 <libm-alias-double.h>.
20094 (rint): Define using libm_alias_double.
20095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20096 <libm-alias-double.h>.
20097 (ceil): Define using libm_alias_double.
20098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20099 <libm-alias-double.h>.
20100 (floor): Define using libm_alias_double.
20101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20102 <libm-alias-double.h>.
20103 (fma): Define using libm_alias_double.
20104 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20105 <libm-alias-double.h>.
20106 (lrint): Define using libm_alias_double.
20107 (llrint): Likewise.
20108 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20109 <libm-alias-double.h>.
20110 (nearbyint): Define using libm_alias_double.
20111 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20112 <libm-alias-double.h>.
20113 (rint): Define using libm_alias_double.
20114 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20115 <libm-alias-double.h>.
20116 (trunc): Define using libm_alias_double.
20117 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20118 <libm-alias-double.h>.
20119 (copysign): Define using libm_alias_double.
20120 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20121 <libm-alias-double.h>.
20122 (fabs): Define using libm_alias_double.
20123 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20124 <libm-alias-double.h>.
20125 (lrint): Define using libm_alias_double.
20126 (llrint): Likewise.
20127 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20128 <libm-alias-double.h>.
20129 (nearbyint): Define using libm_alias_double.
20130 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20131 <libm-alias-double.h>.
20132 (rint): Define using libm_alias_double.
20133
20134 [BZ #22229]
20135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20136 <math_ldbl_opt.h>.
20137 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20138
20139 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20140 SPARC --disable-multi-arch glibc variants.
20141
20142 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20143 <libm-alias-float.h>.
20144 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20145 if [SHARED].
20146 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20147 <libm-alias-float.h>.
20148 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20149 if [SHARED].
20150 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20151 <libm-alias-float.h>.
20152 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20153 if [SHARED].
20154 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20155 <libm-alias-float.h>.
20156 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20157 if [SHARED].
20158 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20159 <libm-alias-float.h>.
20160 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20161 if [SHARED].
20162 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20163 <libm-alias-float.h>.
20164 (ceilf): Define using libm_alias_float.
20165 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20166 <libm-alias-float.h>.
20167 (floorf): Define using libm_alias_float.
20168 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20169 <libm-alias-float.h>.
20170 (fmaf): Define using libm_alias_float.
20171 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20172 <libm-alias-float.h>.
20173 (nearbyintf): Define using libm_alias_float.
20174 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20175 <libm-alias-float.h>.
20176 (rintf): Define using libm_alias_float.
20177 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20178 <libm-alias-float.h>.
20179 (truncf): Define using libm_alias_float.
20180 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20181 (copysignf): Define using libm_alias_float.
20182 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20183 (cosf): Define using libm_alias_float.
20184 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20185 (fabsf): Define using libm_alias_float.
20186 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20187 (fmaxf): Define using libm_alias_float.
20188 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20189 (fminf): Define using libm_alias_float.
20190 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20191 (llrintf): Define using libm_alias_float.
20192 [!__ILP32__] (lrintf): Likewise.
20193 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20194 (sincosf): Define using libm_alias_float.
20195 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20196 (sinf): Define using libm_alias_float.
20197 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20198 (lrintf): Define using libm_alias_float.
20199
20200 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20201 <libm-alias-double.h>.
20202 (atan): Define using libm_alias_double.
20203 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20204 <libm-alias-double.h>.
20205 (ceil): Define using libm_alias_double.
20206 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20207 <libm-alias-double.h>.
20208 (floor): Define using libm_alias_double.
20209 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20210 <libm-alias-double.h>.
20211 (fma): Define using libm_alias_double.
20212 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20213 <libm-alias-double.h>.
20214 (nearbyint): Define using libm_alias_double.
20215 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20216 <libm-alias-double.h>.
20217 (rint): Define using libm_alias_double.
20218 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20219 <libm-alias-double.h>.
20220 (sin): Define using libm_alias_double.
20221 (cos): Likewise.
20222 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20223 <libm-alias-double.h>.
20224 (tan): Define using libm_alias_double.
20225 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20226 <libm-alias-double.h>.
20227 (trunc): Define using libm_alias_double.
20228 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20229 (copysign): Define using libm_alias_double.
20230 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20231 (fabs): Define using libm_alias_double.
20232 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20233 (fmax): Define using libm_alias_double.
20234 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20235 (fmin): Define using libm_alias_double.
20236 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20237 (llrint): Define using libm_alias_double.
20238 [!__ILP32__] (lrint): Likewise.
20239 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20240 (lrint): Define using libm_alias_double.
20241
20242 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20243
20244 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20245 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20246 objects.
20247 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20248 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20249 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20250 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20251 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20253
20254 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20255 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20256 objects.
20257 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20258 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20259 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20260 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20261 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20262 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20263
20264 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20265 (libm-sysdep_routines): Add s_nearbyint-generic and
20266 s_nearbyintf-generic objects.
20267 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20268 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20269 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20270 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20271 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20272 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20273
20274 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20275 Add s_finitef-generic and s_finite-generic objects.
20276 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20277 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20278 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20279 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20281 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20282
20283 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20284 Add s_isinff-generic and s_isinf-generic objects.
20285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20291
20292 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20293 Add s_isnanf-generic and s_isnan-generic objects.
20294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20300
20301 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20302 macro.
20303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20304 rule.
20305 (sysdep_routines): Use sysdep_calls as base.
20306 (libm-sysdep_routines): Add generic rule for symbols shared with
20307 libc. Add s_signbit-generic and s_signbitf-generic objects.
20308 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20309 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20310 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20311 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20312 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20313 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20314
20315 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20316
20317 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20318 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20319 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20320 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20321 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20322 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20323 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20324 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20325 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20326 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20327 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20328 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20329 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20330 libm_alias_float_r.
20331 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20332 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20333 (logf): Likewise.
20334 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20335 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20336 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20337 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20338 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20339 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20340 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20341 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20342 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20343 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20344 libm_alias_float.
20345 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20346 (cosf): Likewise.
20347 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20348 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20349 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20350 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20351 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20352 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20353 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20354 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20355 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20356 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20357 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20358 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20359 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20360 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20361 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20362 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20363 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20364 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20365 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20366 libm_alias_float.
20367 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20368 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20369 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20370 * sysdeps/ia64/fpu/w_lgammaf_main.c
20371 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20372 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20373
20374 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20375 Alexandre Oliva <aoliva@redhat.com>
20376
20377 [BZ #17750]
20378 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20379 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20380 accents sorting.
20381 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20382 sorting.
20383 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20384 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20385 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20386 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20387 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20388 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20389 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20390 instead of “ifdef DIACRIT_BACKWARD”.
20391
20392 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20393
20394 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20395 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20396 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20397 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20398 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20399 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20400 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20401 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20402 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20403 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20406 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20407 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20408 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20409 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20410 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20411 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20413 ($(have-as-vis3) == yes): Remove conditional.
20414 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20415 Likewise.
20416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20417 file.
20418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20419 file.
20420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20421 file.
20422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20423 file.
20424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20430 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20431 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20432
20433 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20434
20435 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20436 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20437 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20438 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20439 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20440 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20441 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20442 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20443 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20444 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20445 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20446 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20447 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20448 libm_alias_double_r.
20449 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20450 (log): Likewise.
20451 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20452 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20453 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20454 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20455 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20456 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20457 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20458 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20459 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20460 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20461 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20462 libm_alias_double.
20463 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20464 (cos): Likewise.
20465 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20466 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20467 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20468 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20469 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20470 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20471 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20472 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20473 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20474 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20475 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20476 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20477 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20478 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20479 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20480 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20481 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20482 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20483 libm_alias_double.
20484 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20485 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20486 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20487 * sysdeps/ia64/fpu/w_lgamma_main.c
20488 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20489 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20490
20491 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20492
20493 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20494 address of $global$ into %dp register earlier. Use pc-relative
20495 instruction sequence for PIC case.
20496
20497 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20498
20499 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20500 (asinhf): Define using libm_alias_float.
20501 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20502 (atanf): Define using libm_alias_float.
20503 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20504 (cbrtf): Define using libm_alias_float.
20505 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20506 (ceilf): Define using libm_alias_float.
20507 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20508 (copysignf): Define using libm_alias_float.
20509 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20510 (expm1f): Define using libm_alias_float.
20511 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20512 (fabsf): Define using libm_alias_float.
20513 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20514 (floorf): Define using libm_alias_float.
20515 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20516 (fmaxf): Define using libm_alias_float.
20517 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20518 (fminf): Define using libm_alias_float.
20519 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20520 (frexpf): Define using libm_alias_float.
20521 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20522 (llrintf): Define using libm_alias_float.
20523 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20524 (logbf): Define using libm_alias_float.
20525 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20526 (lrintf): Define using libm_alias_float.
20527 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20528 (nearbyintf): Define using libm_alias_float.
20529 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20530 (remquof): Define using libm_alias_float.
20531 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20532 (rintf): Define using libm_alias_float.
20533 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20534 (truncf): Define using libm_alias_float.
20535 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20536 <libm-alias-float.h>.
20537 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20538 if [SHARED].
20539 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20540 <libm-alias-float.h>.
20541 (expf): Define using libm_alias_float, or libm_alias_float_other
20542 if [SHARED].
20543 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20544 <libm-alias-float.h>.
20545 (log2f): Define using libm_alias_float, or libm_alias_float_other
20546 if [SHARED].
20547 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20548 <libm-alias-float.h>.
20549 (logf): Define using libm_alias_float, or libm_alias_float_other
20550 if [SHARED].
20551 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20552 <libm-alias-float.h>.
20553 (powf): Define using libm_alias_float, or libm_alias_float_other
20554 if [SHARED].
20555 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20556 <libm-alias-float.h>.
20557 (cosf): Define using libm_alias_float.
20558 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20559 <libm-alias-float.h>.
20560 (sincosf): Define using libm_alias_float.
20561 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20562 <libm-alias-float.h>.
20563 (sinf): Define using libm_alias_float.
20564 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20565 (fmaxf): Define using libm_alias_float.
20566 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20567 (fminf): Define using libm_alias_float.
20568 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20569 <libm-alias-float.h>.
20570 (fmaf): Define using libm_alias_float.
20571
20572 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20573 (asinh): Define using libm_alias_double.
20574 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20575 (atan): Define using libm_alias_double.
20576 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20577 (cbrt): Define using libm_alias_double.
20578 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20579 (ceil): Define using libm_alias_double.
20580 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20581 (copysign): Define using libm_alias_double.
20582 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20583 (expm1): Define using libm_alias_double.
20584 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20585 (fabs): Define using libm_alias_double.
20586 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20587 (fdim): Define using libm_alias_double.
20588 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20589 (floor): Define using libm_alias_double.
20590 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20591 (fmax): Define using libm_alias_double.
20592 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20593 (fmin): Define using libm_alias_double.
20594 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20595 (frexp): Define using libm_alias_double.
20596 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20597 (llrint): Define using libm_alias_double.
20598 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20599 (logb): Define using libm_alias_double.
20600 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20601 (lrint): Define using libm_alias_double.
20602 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20603 (nearbyint): Define using libm_alias_double.
20604 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20605 (remquo): Define using libm_alias_double.
20606 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20607 (rint): Define using libm_alias_double.
20608 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20609 (trunc): Define using libm_alias_double.
20610 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20611 (fmax): Define using libm_alias_double.
20612 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20613 (fmin): Define using libm_alias_double.
20614 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20615 (fma): Define using libm_alias_double.
20616
20617 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20618
20619 [BZ #22370]
20620 * elf/dl-hwcaps.c (ROUND): Removed.
20621 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20622 and ELF_NOTE_NEXT_OFFSET.
20623 * elf/dl-load.c (ROUND): Removed.
20624 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20625 * elf/readelflib.c (ROUND): Removed.
20626 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20627 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20628 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20629 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20630
20631 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20632
20633 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20634 [!__fmaf] (fmaf): Define using libm_alias_float.
20635
20636 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20637 [!__fma] (fma): Define using libm_alias_double.
20638 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20639
20640 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20641
20642 [BZ #22336]
20643 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20644 and implement the collation rules for cs from CLDR on top of that.
20645 * Makefile: Add cs_CZ.UTF-8 to test-input.
20646 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20647
20648 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20649
20650 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20651
20652 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20653 Icarus Sparry <icarus.w.sparry@intel.com>
20654
20655 * benchtests/Makefile:Add BENCHSET to allow subsets of
20656 benchmarks to be run.
20657 * benchtests/README: Add documentation for: Running subsets of
20658 benchmarks.
20659
20660 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20661
20662 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20663 range of tests names.
20664
20665 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20666 result from property and remove "max", min" and "mean" from
20667 required properties based on benchtests/bench-skeleton.c.
20668
20669 2017-11-28 Florian Weimer <fweimer@redhat.com>
20670
20671 [BZ #20826]
20672 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20673 due to Internet requirement.
20674 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20675 tst-getaddrinfo5.
20676 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20677
20678 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20679
20680 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20681 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20682 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20683 (sysdep_routines): Add memset-ultra1.
20684 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20685 file.
20686 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20687 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20688 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20689 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20690 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20691 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20692 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20693 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20694
20695 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20696 file.
20697 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20698 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20699 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20700 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20701 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20702 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20703 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20704 macro.
20705 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20706 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20707 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20708 (sysdep_routines): Add memcpy-ultra1.
20709 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20710 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20711
20712 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20713
20714 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20715 (cfloat_versions): Take function argument without trailing 'f'.
20716 Call libm_alias_float_other.
20717 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20718 * sysdeps/alpha/fpu/cargf.c: Likewise.
20719 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20720 * sysdeps/alpha/fpu/conjf.c: Likewise.
20721 * sysdeps/alpha/fpu/crealf.c: Likewise.
20722 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20723 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20724 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20725 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20726 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20727 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20728 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20729 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20730 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20731 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20732 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20733 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20734 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20735 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20736 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20737 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20738 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20739 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20740 (clog10f): Use libm_alias_float_other.
20741 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20742 (ceilf): Define using libm_alias_float.
20743 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20744 (copysignf): Define using libm_alias_float.
20745 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20746 (fabsf): Define using libm_alias_float.
20747 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20748 (floorf): Define using libm_alias_float.
20749 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20750 (fmaxf): Define using libm_alias_float.
20751 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20752 (fminf): Define using libm_alias_float.
20753 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20754 (lrintf): Define using libm_alias_float.
20755 (llrintf): Likewise.
20756 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20757 (lroundf): Define using libm_alias_float.
20758 (llroundf): Likewise.
20759 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20760 (rintf): Define using libm_alias_float.
20761 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20762 (truncf): Define using libm_alias_float.
20763
20764 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20765 (ceilf): Define using libm_alias_float.
20766 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20767 (floorf): Define using libm_alias_float.
20768 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20769 (fmaf): Define using libm_alias_float.
20770 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20771 (fmaxf): Define using libm_alias_float.
20772 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20773 (fminf): Define using libm_alias_float.
20774 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20775 (llrintf): Define using libm_alias_float.
20776 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20777 (llroundf): Define using libm_alias_float.
20778 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20779 (lrintf): Define using libm_alias_float.
20780 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20781 (lroundf): Define using libm_alias_float.
20782 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20783 <libm-alias-float.h>.
20784 (nearbyintf): Define using libm_alias_float.
20785 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20786 (rintf): Define using libm_alias_float.
20787 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20788 (roundf): Define using libm_alias_float.
20789 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20790 (truncf): Define using libm_alias_float.
20791
20792 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20793 (ceil): Define using libm_alias_double.
20794 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20795 (copysign): Define using libm_alias_double.
20796 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20797 (fabs): Define using libm_alias_double.
20798 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20799 (floor): Define using libm_alias_double.
20800 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20801 (fmax): Define using libm_alias_double.
20802 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20803 (fmin): Define using libm_alias_double.
20804 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20805 (lrint): Define using libm_alias_double.
20806 (llrint): Likewise.
20807 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20808 (lround): Define using libm_alias_double.
20809 (llround): Likewise.
20810 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20811 (rint): Define using libm_alias_double.
20812 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20813 (trunc): Define using libm_alias_double.
20814
20815 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20816 (libm_alias_double_r): Add semicolon after weak_alias call.
20817
20818 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20819
20820 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20821 (ceil): Define using libm_alias_double.
20822 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20823 (floor): Define using libm_alias_double.
20824 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20825 (fma): Define using libm_alias_double.
20826 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20827 (fmax): Define using libm_alias_double.
20828 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20829 (fmin): Define using libm_alias_double.
20830 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20831 (llrint): Define using libm_alias_double.
20832 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20833 (llround): Define using libm_alias_double.
20834 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20835 (lrint): Define using libm_alias_double.
20836 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20837 (lround): Define using libm_alias_double.
20838 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20839 (nearbyint): Define using libm_alias_double.
20840 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20841 (rint): Define using libm_alias_double.
20842 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20843 (round): Define using libm_alias_double.
20844 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20845 (trunc): Define using libm_alias_double.
20846
20847 2017-11-27 Florian Weimer <fweimer@redhat.com>
20848
20849 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20850 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20851 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20852 (tests): Add tst-mlock2.
20853 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20854 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20855 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20856 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20857 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20858 for mlock. Document mlock2.
20859
20860 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20861
20862 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20863 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20864 Likewise.
20865 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20866 Likewise.
20867 * sysdeps/x86/Makeconfig: New file.
20868 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20869 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20870 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20871 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20872 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20873 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20874 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20875 Likewise.
20876 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20877 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20878 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20879 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20880 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20881 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20882 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20883 * manual/math.texi (Mathematics): Document support for _Float64x.
20884 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20885 * stdlib/Versions (GLIBC_2.27): Likewise.
20886 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20887 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20888 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20889 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20890 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20891 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20892 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20893 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20894 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20895 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20896 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20897 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20899 Likewise.
20900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20901 Likewise.
20902 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20903 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20904 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20905 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20906 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20907 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20908 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20909 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20910 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20911 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20912 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20913 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20914 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20915 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20916
20917 2017-11-27 Andreas Schwab <schwab@suse.de>
20918
20919 * elf/Makefile (dl-routines): Add dl-sort-maps.
20920 * elf/dl-sort-maps.c: New file.
20921 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20922 (_dl_sort_maps): Declare.
20923 * elf/dl-fini.c (_dl_sort_fini): Remove.
20924 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20925 * elf/dl-close.c (_dl_close_worker): Likewise.
20926 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20927 open-coding it.
20928 * elf/dl-open.c (dl_open_worker): Likewise.
20929
20930 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20931
20932 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20933 using libm_alias_float128.
20934 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20935 Likewise.
20936 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20937 Likewise.
20938 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20939 (setpayloadsigf128): Likewise.
20940 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20941 Likewise.
20942 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20943 Likewise.
20944
20945 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20946 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20947 -mfloat128 to CFLAGS.
20948 ($(foreach
20949 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20950 Likewise.
20951 (CFLAGS-libm-test-support-float64x.c): New variable.
20952 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20953 $(f128-loader-link) to gnulib-tests.
20954
20955 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20956 (libm_alias_float128_other_r): If
20957 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20958 alias.
20959 (libm_alias_float128_r): Add semicolon after weak_alias call.
20960 * sysdeps/generic/libm-alias-ldouble.h
20961 (libm_alias_ldouble_other_r_f128): New macro.
20962 (libm_alias_ldouble_other_r_f64x): Likewise.
20963 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20964 and libm_alias_ldouble_other_r_f64x.
20965 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20966 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20967 (libm_alias_ldouble_other_r_f128): New macro.
20968 (libm_alias_ldouble_other_r_f64x): Likewise.
20969 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20970 and libm_alias_ldouble_other_r_f64x.
20971
20972 * stdlib/strfroml.c: Always include <stdlib.h>.
20973 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20974 undefine as macro and define as weak alias.
20975 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20976 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20977 <stdlib.h>.
20978 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20979 Define and later undefine as macro and define as weak alias.
20980
20981 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20982 Define and later undefine as macro. Define as weak alias if
20983 [!USE_WIDE_CHAR].
20984 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20985 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20986 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20987 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20988 Define and later undefine as macro. Define as weak alias if
20989 [!USE_WIDE_CHAR].
20990 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20991 Define and later undefine as macro. Define as weak alias if
20992 [USE_WIDE_CHAR].
20993 * sysdeps/ieee754/float128/strtof128_l.c
20994 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20995 Define and later undefine as macro. Define as weak alias if
20996 [!USE_WIDE_CHAR].
20997 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20998 Define and later undefine as macro. Define as weak alias if
20999 [USE_WIDE_CHAR].
21000 * sysdeps/ieee754/ldbl-128/strtold_l.c
21001 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21002 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21003 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21004 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21005 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
21006 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21007 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21008 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21009 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21010 * sysdeps/ieee754/ldbl-96/strtold_l.c
21011 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21012 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21013 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21014 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21015
21016 * math/test-float64x.h: New file.
21017 * math/Makefile (type-float64x-yes): New variable.
21018 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21019
21020 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21021 function-like macro.
21022 (min_of_type_): Likewise.
21023 (min_of_type_l): Likewise.
21024 (min_of_type_f128): Likewise.
21025 (min_of_type): Pass () as last argument of __MATH_TG.
21026
21027 * stdlib/tst-strtod-round-skeleton.c
21028 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21029 headers.
21030
21031 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21032 for combinations of long double with _Float64 and _Float64x.
21033
21034 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
21035 (__DECL_SIMD_cosf32): Likewise.
21036 (__DECL_SIMD_cosf64): Likewise.
21037 (__DECL_SIMD_cosf32x): Likewise.
21038 (__DECL_SIMD_cosf64x): Likewise.
21039 (__DECL_SIMD_cosf128x): Likewise.
21040 (__DECL_SIMD_sinf16): Likewise.
21041 (__DECL_SIMD_sinf32): Likewise.
21042 (__DECL_SIMD_sinf64): Likewise.
21043 (__DECL_SIMD_sinf32x): Likewise.
21044 (__DECL_SIMD_sinf64x): Likewise.
21045 (__DECL_SIMD_sinf128x): Likewise.
21046 (__DECL_SIMD_sincosf16): Likewise.
21047 (__DECL_SIMD_sincosf32): Likewise.
21048 (__DECL_SIMD_sincosf64): Likewise.
21049 (__DECL_SIMD_sincosf32x): Likewise.
21050 (__DECL_SIMD_sincosf64x): Likewise.
21051 (__DECL_SIMD_sincosf128x): Likewise.
21052 (__DECL_SIMD_logf16): Likewise.
21053 (__DECL_SIMD_logf32): Likewise.
21054 (__DECL_SIMD_logf64): Likewise.
21055 (__DECL_SIMD_logf32x): Likewise.
21056 (__DECL_SIMD_logf64x): Likewise.
21057 (__DECL_SIMD_logf128x): Likewise.
21058 (__DECL_SIMD_expf16): Likewise.
21059 (__DECL_SIMD_expf32): Likewise.
21060 (__DECL_SIMD_expf64): Likewise.
21061 (__DECL_SIMD_expf32x): Likewise.
21062 (__DECL_SIMD_expf64x): Likewise.
21063 (__DECL_SIMD_expf128x): Likewise.
21064 (__DECL_SIMD_powf16): Likewise.
21065 (__DECL_SIMD_powf32): Likewise.
21066 (__DECL_SIMD_powf64): Likewise.
21067 (__DECL_SIMD_powf32x): Likewise.
21068 (__DECL_SIMD_powf64x): Likewise.
21069 (__DECL_SIMD_powf128x): Likewise.
21070
21071 * stdlib/Versions (libc): Move entries for wcstof128 and
21072 wcstof128_l to ....
21073 * wcsmbs/Versions (libc): ... here.
21074 Include <float128-abi.h>.
21075
21076 2017-11-24 Florian Weimer <fweimer@redhat.com>
21077
21078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21079 bits/mman-shared.h.
21080 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21081 <bits/mman-shared.h>.
21082 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21083 to ...
21084 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21085 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21086 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21087 <bits/mman-shared.h>.
21088
21089 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21090
21091 [BZ #22457]
21092 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21093 posix_memalign/free.
21094 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21095
21096 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21097
21098 [BZ #22469]
21099 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21100 and implement the collation rules for pl from CLDR on top of that.
21101 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21102 of locales to be built for testing.
21103 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21104
21105 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21106
21107 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21108 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21109 libm_alias_ldouble_other.
21110 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21111 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21112 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21113 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21114 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21115 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21116 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21117 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21118 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21119 libm_alias_ldouble_r.
21120 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21121 libm_alias_ldouble_other.
21122 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21123 (log10l): Likewise.
21124 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21125 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21126 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21127 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21128 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21129 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21130 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21131 (atan2l): Likewise.
21132 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21133 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21134 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21135 libm_alias_ldouble.
21136 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21137 (cosl): Likewise.
21138 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21139 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21140 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21141 (expl): Likewise.
21142 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21143 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21144 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21145 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21146 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21147 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21148 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21149 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21150 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21151 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21152 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21153 libm_alias_ldouble.
21154 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21155 libm_alias_ldouble_other.
21156 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21157 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21158 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21159 libm_alias_ldouble.
21160 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21161 libm_alias_ldouble_other.
21162 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21163 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21164 * sysdeps/ia64/fpu/w_lgammal_main.c
21165 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21166 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21167
21168 2017-11-23 Florian Weimer <fweimer@redhat.com>
21169
21170 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21171 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21172 alike. Remove freeres marker.
21173 * malloc/arena.c (arena_thread_freeres): Call
21174 tcache_thread_shutdown.
21175
21176 2017-11-23 Florian Weimer <fweimer@redhat.com>
21177
21178 [BZ #22459]
21179 Export nscd hash function as __nss_hash.
21180 * include/nss.h (__nss_hash): Declare.
21181 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21182 symbol.
21183 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21184 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21185 of __nscd_hash.
21186 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21187 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21188 * nss/Makefiles (routines): Add nss_hash.
21189 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21190 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21191 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21192 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21193
21194 2017-11-23 Florian Weimer <fweimer@redhat.com>
21195
21196 [BZ #22478]
21197 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21198 Return error code, not -1.
21199 * signal/tst-sigwait-eintr.c: New file.
21200 * signal/Makefile (tests): Add tst-sigwait-eintr.
21201
21202 2017-11-23 Florian Weimer <fweimer@redhat.com>
21203
21204 Linux: Add memfd_create system call wrapper
21205 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21206 tst-memfd_create.
21207 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21208 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21209 [__USE_GNU] (memfd_create): Declare.
21210 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21211 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21212 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21213 * sysdeps/unix/sysv/linux/**.abilist: Update.
21214 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21215
21216 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21217
21218 * localedata/gen-locale.sh: Fix typo in variable name.
21219
21220 * resolv/res_debug.c (p_secstodate): Condition definition on
21221 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21222 directly as __p_secstodate, and as a compat symbol. Do not use
21223 libresolv_hidden_def.
21224 * resolv/resolv.h (p_secstodate): Remove macro and function
21225 declaration.
21226 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21227 using p_secstodate.
21228 * include/resolv.h (__p_secstodate): Do not use
21229 libresolv_hidden_proto.
21230 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21231 (tests-internal): ... here.
21232 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21233 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21234 and declare and use __p_secstodate and use compat_symbol_reference
21235 in that case.
21236 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21237 implementation returning 77.
21238
21239 [BZ #22463]
21240 * resolv/res_debug.c: Include <libc-diag.h>.
21241 (p_secstodate): Assert time_t at least as wide as u_long. On
21242 overflow, use integer seconds since the epoch as output, or use
21243 "<overflow>" as output and set errno to EOVERFLOW if integer
21244 seconds since the epoch would be 14 or more characters.
21245 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21246 for sprintf call.
21247 * resolv/tst-p_secstodate.c: New file.
21248 * resolv/Makefile (tests): Add tst-p_secstodate.
21249 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21250
21251 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21252 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21253 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21254
21255 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21256
21257 * posix/regcomp.c (init_word_char): Add comments.
21258
21259 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21260
21261 [BZ #22447]
21262 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21263 strlen to compute length of ut_user and set trailing NUL byte of
21264 result explicitly.
21265
21266 2017-11-21 Mike FABIAN <mfabian@redhat.com>
21267
21268 [BZ #15537]
21269 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21270 using “copy "iso14651_t1"” and then implementing the
21271 collation rules for lv from CLDR on top of that.
21272 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21273 of locales to be built for testing.
21274 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21275 sorting.
21276
21277 2017-11-21 Joseph Myers <joseph@codesourcery.com>
21278
21279 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21280 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21281 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21282 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21283 [__USE_MISC] (MADV_HWPOISON): New macro.
21284 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21285
21286 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21287
21288 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21289 -Wmissing-braces on GCC 4.9.
21290
21291 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21292
21293 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21294 * sysdeps/s390/s390-32/start.S (_start): Likewise
21295 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21296 (thread_start): Likewise.
21297 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21298 (thread_start): Likewise.
21299 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21300 (__makecontext_ret): Likewise.
21301 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21302 (__makecontext_ret): Likewise.
21303
21304 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21305
21306 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21307 __wcschrnul): Remove attribute_hidden.
21308
21309 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21310
21311 regex: don't assume uint64_t or uint32_t
21312 This avoids -Werror=overflow errors for 32-bit systems in
21313 the 64-bit case. Problem reported by Joseph Myers in:
21314 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21315 Also, when this code is used in Gnulib it ports to platforms
21316 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21317 them, and on some 32-bit compilers there is no uint64_t.
21318 Problem reported by Gianluigi Tiesi in:
21319 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21320 * posix/regcomp.c (init_word_char): Don't assume that the types
21321 uint64_t and uint32_t exist. Adapted from Gnulib patch
21322 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21323 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21324
21325 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21326
21327 * sysdeps/aarch64/memset-reg.h: New file.
21328 * sysdeps/aarch64/memset.S: Use it.
21329 (__memset): Rename to MEMSET macro.
21330 [ZVA_MACRO]: Use zva_macro.
21331 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21332 Add memset_generic and memset_falkor.
21333 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21334 (__libc_ifunc_impl_list): Add memset ifuncs.
21335 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21336 local variable zva_size.
21337 * sysdeps/aarch64/multiarch/memset.c: New file.
21338 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21339 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21340 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21341 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21342 (DCZID_DZP_MASK): New macro.
21343 (DCZID_BS_MASK): Likewise.
21344 (init_cpu_features): Read and set zva_size.
21345 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21346 (struct cpu_features): New member zva_size.
21347
21348 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21349 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21350 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21351
21352 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21353 backwards. Fix timing computation.
21354 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21355 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21356 on memset by N at a time. Fix timing computation.
21357
21358 2017-11-20 Florian Weimer <fweimer@redhat.com>
21359
21360 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21361 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21362
21363 2017-11-19 Florian Weimer <fweimer@redhat.com>
21364
21365 manual: Document mprotect
21366 * manual/memory.texi (Memory Protection): New section.
21367 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21368 documentation of PROT_* flags and reference the Memory Protection
21369 section instead.
21370
21371 2017-11-19 Florian Weimer <fweimer@redhat.com>
21372
21373 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21374 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21375 (Scatter-Gather): ... to here. Remove misleading comment.
21376
21377 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
21378
21379 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21380 style.
21381
21382 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21383 when /proc/<pid>/setgroups does not exist.
21384
21385 2017-11-18 Florian Weimer <fweimer@redhat.com>
21386
21387 * sysdeps/unix/sysv/linux/tst-ttyname.c
21388 (become_root_in_mount_ns): Remove.
21389 (do_in_chroot_1): Call support_enter_mount_namespace.
21390 (do_in_chroot_2): Likewise.
21391 (do_test): Call support_become_root early.
21392
21393 2017-11-18 Florian Weimer <fweimer@redhat.com>
21394
21395 * support/namespace.h (support_enter_mount_namespace): Declare.
21396 * support/support_enter_mount_namespace.c: New file.
21397 * support/Makefile (libsupport-routines): Add
21398 support_enter_mount_namespace.
21399
21400 2017-11-18 Florian Weimer <fweimer@redhat.com>
21401
21402 * support/temp_file.c (support_create_temp_directory): Use
21403 test_dir and do not rely on the presence of the XXXXXX suffix.
21404 * support/temp_file.h (support_create_temp_directory): Update
21405 comment.
21406 * support/tst-xreadlink.c (do_test): Adjust.
21407 * support/support_chroot.c (support_chroot_create): Likewise.
21408
21409 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21410
21411 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21412 macro.
21413 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21414 htm-no-suspend.
21415
21416 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21417
21418 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21419 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21420 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21421 (ceill): Define using libm_alias_ldouble.
21422 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21423 <libm-alias-ldouble.h>.
21424 (copysignl): Define using libm_alias_ldouble.
21425 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21426 (fabsl): Define using libm_alias_ldouble.
21427 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21428 (floorl): Define using libm_alias_ldouble.
21429 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21430 (fmaxl): Define using libm_alias_ldouble.
21431 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21432 (fminl): Define using libm_alias_ldouble.
21433 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21434 (llrintl): Define using libm_alias_ldouble.
21435 (lrintl): Likewise.
21436 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21437 <libm-alias-ldouble.h>.
21438 (nearbyintl): Define using libm_alias_ldouble.
21439 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21440 (truncl): Define using libm_alias_ldouble.
21441 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21442 <libm-alias-ldouble.h>.
21443 (lrintl): Define using libm_alias_ldouble.
21444
21445 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21446 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21447 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21448 (asinhl): Define using libm_alias_ldouble.
21449 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21450 (atanl): Define using libm_alias_ldouble.
21451 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21452 (cbrtl): Define using libm_alias_ldouble.
21453 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21454 (ceill): Define using libm_alias_ldouble.
21455 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21456 (copysignl): Define using libm_alias_ldouble.
21457 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21458 (fabsl): Define using libm_alias_ldouble.
21459 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21460 (floorl): Define using libm_alias_ldouble.
21461 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21462 (fmaxl): Define using libm_alias_ldouble.
21463 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21464 (fminl): Define using libm_alias_ldouble.
21465 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21466 (frexpl): Define using libm_alias_ldouble.
21467 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21468 (llrintl): Define using libm_alias_ldouble.
21469 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21470 (logbl): Define using libm_alias_ldouble.
21471 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21472 (lrintl): Define using libm_alias_ldouble.
21473 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21474 (nearbyintl): Define using libm_alias_ldouble.
21475 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21476 (nextafterl): Define using libm_alias_ldouble.
21477 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21478 (remquol): Define using libm_alias_ldouble.
21479 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21480 (rintl): Define using libm_alias_ldouble.
21481 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21482 (truncl): Define using libm_alias_ldouble.
21483 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21484 (fmaxl): Define using libm_alias_ldouble.
21485 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21486 (fminl): Define using libm_alias_ldouble.
21487
21488 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21489 to C syntax instead of availability and properties of types.
21490 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21491 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21492 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21493 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21494 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21495 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21496
21497 2017-11-17 Florian Weimer <fweimer@redhat.com>
21498
21499 support_become_root: Enable file creation in namespaces.
21500 * support/support_become_root.c (setup_mapping): New function.
21501 (support_become_root): Call it.
21502
21503 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21504
21505 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21506 macro.
21507
21508 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21509
21510 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21511 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21512
21513 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21514
21515 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21516
21517 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21518 version to 4.14.
21519
21520 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21521
21522 * INSTALL: Fix botched up regeneration.
21523
21524 * NEWS: Update sourceare link to https.
21525 * configure.ac: Likewise.
21526 * crypt/md5test-giant.c: Likewise.
21527 * dlfcn/bug-atexit1.c: Likewise.
21528 * dlfcn/bug-atexit2.c: Likewise.
21529 * localedata/README: Likewise.
21530 * malloc/tst-mallocfork.c: Likewise.
21531 * manual/install.texi: Likewise.
21532 * nptl/tst-pthread-getattr.c: Likewise.
21533 * stdio-common/tst-fgets.c: Likewise.
21534 * stdio-common/tst-fwrite.c: Likewise.
21535 * sunrpc/Makefile: Likewise.
21536 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21537 * wcsmbs/tst-mbrtowc2.c: Likewise.
21538 * configure: Regenerate.
21539 * INSTALL: Regenerate.
21540
21541 2017-11-15 Martin Sebor <msebor@redhat.com>
21542
21543 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21544 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21545 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21546
21547 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21548
21549 [BZ #22145]
21550 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21551 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21552
21553 [BZ #22145]
21554 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21555 Defer is_pty check until end of the function.
21556 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21557
21558 [BZ #22145]
21559 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21560 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21561 (ttyname): Likewise.
21562 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21563 (__ttyname_r): Likewise.
21564
21565 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21566 int to bool.
21567
21568 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21569
21570 * manual/terminal.texi (Is It a Terminal):
21571 Mention ENODEV for ttyname and ttyname_r.
21572
21573 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21574
21575 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21576 constant and macro.
21577
21578 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21579 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21580 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21581 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21582 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21583 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21584
21585 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21586
21587 * signal/sigrelse.c (sigrelse): Optimize implementation.
21588
21589 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21590 (__sigpause): Rely on __sigsuspend to implement single thread
21591 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21592
21593 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21594
21595 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21596 kernel version to 4.14.
21597
21598 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21599
21600 [BZ #22442]
21601 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21602 Check if ifname is too long.
21603
21604 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21605
21606 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21607
21608 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21609
21610 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21611 was accidentally lost.
21612
21613 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21614
21615 * localedata/locales/az_IR: Add standard copyright header.
21616
21617 2017-11-15 Florian Weimer <fweimer@redhat.com>
21618
21619 [BZ #22439]
21620 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21621 not just the top one. Output a new "subheaps" statistic.
21622
21623 2017-11-15 Florian Weimer <fweimer@redhat.com>
21624
21625 [BZ #22408]
21626 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21627 under the per-arena lock.
21628 * malloc/Makefile (tests): Add tst-malloc_info.
21629 (tst-malloc_info): Link with libpthread.
21630 * malloc/tst-malloc_info.c: New file.
21631
21632 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21633
21634 [BZ #21660]
21635 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21636 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21637 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21638 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21639 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21640 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21641 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21642 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21643 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21644 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21645 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21646 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21647 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21648 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21649 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21650 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21651 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21652 (__floating_type): Likewise.
21653 (__real_integer_type): Likewise.
21654 (__complex_integer_type): Likewise.
21655 (__expr_is_real): Likewise.
21656 (__tgmath_real_type_sub): Likewise.
21657 (__tgmath_real_type): Likewise.
21658 (__tgmath_complex_type_sub): Likewise.
21659 (__tgmath_complex_type): Likewise.
21660 (__TGMATH_F128): Likewise.
21661 (__TGMATH_CF128): Likewise.
21662 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21663 new macros.
21664 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21665 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21666 Likewise.
21667 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21668 Likewise.
21669 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21670 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21671 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21672 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21673 Likewise.
21674 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21675 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21676 Likewise.
21677 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21678 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21679 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21680 Likewise.
21681 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21682 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21683 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21684 (cimag): Likewise.
21685 (creal): Likewise.
21686
21687 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21688
21689 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21690 for stpncpy calls for GCC 8.
21691 (test_strncat): Disable -Wstringop-truncation warning for strncat
21692 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21693 strncat call for GCC 7.
21694 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21695 calls for GCC 8.
21696 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21697 trailing NUL.
21698
21699 * string/bug-strncat1.c: Include <libc-diag.h>.
21700 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21701
21702 2017-11-13 Claude Paroz <claude@2xlibre.net>
21703
21704 [BZ #22387]
21705 * localedata/locales/aa_DJ: Improved readibility by replacing
21706 <Uxxxx> sequences in the ASCII printable range by their ASCII
21707 character equivalents.
21708 * localedata/locales/aa_ER: Likewise.
21709 * localedata/locales/aa_ER@saaho: Likewise.
21710 * localedata/locales/aa_ET: Likewise.
21711 * localedata/locales/af_ZA: Likewise.
21712 * localedata/locales/agr_PE: Likewise.
21713 * localedata/locales/ak_GH: Likewise.
21714 * localedata/locales/am_ET: Likewise.
21715 * localedata/locales/anp_IN: Likewise.
21716 * localedata/locales/ar_AE: Likewise.
21717 * localedata/locales/ar_BH: Likewise.
21718 * localedata/locales/ar_DZ: Likewise.
21719 * localedata/locales/ar_EG: Likewise.
21720 * localedata/locales/ar_IN: Likewise.
21721 * localedata/locales/ar_IQ: Likewise.
21722 * localedata/locales/ar_JO: Likewise.
21723 * localedata/locales/ar_KW: Likewise.
21724 * localedata/locales/ar_LB: Likewise.
21725 * localedata/locales/ar_LY: Likewise.
21726 * localedata/locales/ar_MA: Likewise.
21727 * localedata/locales/ar_OM: Likewise.
21728 * localedata/locales/ar_QA: Likewise.
21729 * localedata/locales/ar_SA: Likewise.
21730 * localedata/locales/ar_SD: Likewise.
21731 * localedata/locales/ar_SS: Likewise.
21732 * localedata/locales/ar_SY: Likewise.
21733 * localedata/locales/ar_TN: Likewise.
21734 * localedata/locales/ar_YE: Likewise.
21735 * localedata/locales/as_IN: Likewise.
21736 * localedata/locales/ast_ES: Likewise.
21737 * localedata/locales/ayc_PE: Likewise.
21738 * localedata/locales/az_AZ: Likewise.
21739 * localedata/locales/az_IR: Likewise.
21740 * localedata/locales/be_BY: Likewise.
21741 * localedata/locales/be_BY@latin: Likewise.
21742 * localedata/locales/bem_ZM: Likewise.
21743 * localedata/locales/ber_DZ: Likewise.
21744 * localedata/locales/ber_MA: Likewise.
21745 * localedata/locales/bg_BG: Likewise.
21746 * localedata/locales/bhb_IN: Likewise.
21747 * localedata/locales/bho_IN: Likewise.
21748 * localedata/locales/bi_VU: Likewise.
21749 * localedata/locales/bn_BD: Likewise.
21750 * localedata/locales/bn_IN: Likewise.
21751 * localedata/locales/bo_CN: Likewise.
21752 * localedata/locales/bo_IN: Likewise.
21753 * localedata/locales/br_FR: Likewise.
21754 * localedata/locales/brx_IN: Likewise.
21755 * localedata/locales/bs_BA: Likewise.
21756 * localedata/locales/byn_ER: Likewise.
21757 * localedata/locales/ca_AD: Likewise.
21758 * localedata/locales/ca_ES: Likewise.
21759 * localedata/locales/ca_FR: Likewise.
21760 * localedata/locales/ca_IT: Likewise.
21761 * localedata/locales/ce_RU: Likewise.
21762 * localedata/locales/chr_US: Likewise.
21763 * localedata/locales/cmn_TW: Likewise.
21764 * localedata/locales/crh_UA: Likewise.
21765 * localedata/locales/cs_CZ: Likewise.
21766 * localedata/locales/csb_PL: Likewise.
21767 * localedata/locales/cv_RU: Likewise.
21768 * localedata/locales/cy_GB: Likewise.
21769 * localedata/locales/da_DK: Likewise.
21770 * localedata/locales/de_AT: Likewise.
21771 * localedata/locales/de_BE: Likewise.
21772 * localedata/locales/de_CH: Likewise.
21773 * localedata/locales/de_DE: Likewise.
21774 * localedata/locales/de_IT: Likewise.
21775 * localedata/locales/de_LI: Likewise.
21776 * localedata/locales/de_LU: Likewise.
21777 * localedata/locales/doi_IN: Likewise.
21778 * localedata/locales/dv_MV: Likewise.
21779 * localedata/locales/dz_BT: Likewise.
21780 * localedata/locales/el_CY: Likewise.
21781 * localedata/locales/el_GR: Likewise.
21782 * localedata/locales/en_AG: Likewise.
21783 * localedata/locales/en_AU: Likewise.
21784 * localedata/locales/en_BW: Likewise.
21785 * localedata/locales/en_CA: Likewise.
21786 * localedata/locales/en_DK: Likewise.
21787 * localedata/locales/en_GB: Likewise.
21788 * localedata/locales/en_HK: Likewise.
21789 * localedata/locales/en_IE: Likewise.
21790 * localedata/locales/en_IL: Likewise.
21791 * localedata/locales/en_IN: Likewise.
21792 * localedata/locales/en_NG: Likewise.
21793 * localedata/locales/en_NZ: Likewise.
21794 * localedata/locales/en_PH: Likewise.
21795 * localedata/locales/en_SG: Likewise.
21796 * localedata/locales/en_US: Likewise.
21797 * localedata/locales/en_ZA: Likewise.
21798 * localedata/locales/en_ZM: Likewise.
21799 * localedata/locales/en_ZW: Likewise.
21800 * localedata/locales/eo: Likewise.
21801 * localedata/locales/es_AR: Likewise.
21802 * localedata/locales/es_BO: Likewise.
21803 * localedata/locales/es_CL: Likewise.
21804 * localedata/locales/es_CO: Likewise.
21805 * localedata/locales/es_CR: Likewise.
21806 * localedata/locales/es_CU: Likewise.
21807 * localedata/locales/es_DO: Likewise.
21808 * localedata/locales/es_EC: Likewise.
21809 * localedata/locales/es_ES: Likewise.
21810 * localedata/locales/es_GT: Likewise.
21811 * localedata/locales/es_HN: Likewise.
21812 * localedata/locales/es_MX: Likewise.
21813 * localedata/locales/es_NI: Likewise.
21814 * localedata/locales/es_PA: Likewise.
21815 * localedata/locales/es_PE: Likewise.
21816 * localedata/locales/es_PR: Likewise.
21817 * localedata/locales/es_PY: Likewise.
21818 * localedata/locales/es_SV: Likewise.
21819 * localedata/locales/es_US: Likewise.
21820 * localedata/locales/es_UY: Likewise.
21821 * localedata/locales/es_VE: Likewise.
21822 * localedata/locales/et_EE: Likewise.
21823 * localedata/locales/eu_ES: Likewise.
21824 * localedata/locales/eu_ES@euro: Likewise.
21825 * localedata/locales/fa_IR: Likewise.
21826 * localedata/locales/ff_SN: Likewise.
21827 * localedata/locales/fi_FI: Likewise.
21828 * localedata/locales/fil_PH: Likewise.
21829 * localedata/locales/fo_FO: Likewise.
21830 * localedata/locales/fr_BE: Likewise.
21831 * localedata/locales/fr_CA: Likewise.
21832 * localedata/locales/fr_CH: Likewise.
21833 * localedata/locales/fr_FR: Likewise.
21834 * localedata/locales/fr_LU: Likewise.
21835 * localedata/locales/fur_IT: Likewise.
21836 * localedata/locales/fy_DE: Likewise.
21837 * localedata/locales/fy_NL: Likewise.
21838 * localedata/locales/ga_IE: Likewise.
21839 * localedata/locales/gd_GB: Likewise.
21840 * localedata/locales/gez_ER: Likewise.
21841 * localedata/locales/gez_ET: Likewise.
21842 * localedata/locales/gl_ES: Likewise.
21843 * localedata/locales/gu_IN: Likewise.
21844 * localedata/locales/gv_GB: Likewise.
21845 * localedata/locales/ha_NG: Likewise.
21846 * localedata/locales/hak_TW: Likewise.
21847 * localedata/locales/he_IL: Likewise.
21848 * localedata/locales/hi_IN: Likewise.
21849 * localedata/locales/hif_FJ: Likewise.
21850 * localedata/locales/hne_IN: Likewise.
21851 * localedata/locales/hr_HR: Likewise.
21852 * localedata/locales/hsb_DE: Likewise.
21853 * localedata/locales/ht_HT: Likewise.
21854 * localedata/locales/hu_HU: Likewise.
21855 * localedata/locales/hy_AM: Likewise.
21856 * localedata/locales/i18n: Likewise.
21857 * localedata/locales/ia_FR: Likewise.
21858 * localedata/locales/id_ID: Likewise.
21859 * localedata/locales/ig_NG: Likewise.
21860 * localedata/locales/ik_CA: Likewise.
21861 * localedata/locales/is_IS: Likewise.
21862 * localedata/locales/it_CH: Likewise.
21863 * localedata/locales/it_IT: Likewise.
21864 * localedata/locales/iu_CA: Likewise.
21865 * localedata/locales/ja_JP: Likewise.
21866 * localedata/locales/ka_GE: Likewise.
21867 * localedata/locales/kk_KZ: Likewise.
21868 * localedata/locales/kl_GL: Likewise.
21869 * localedata/locales/kn_IN: Likewise.
21870 * localedata/locales/ko_KR: Likewise.
21871 * localedata/locales/kok_IN: Likewise.
21872 * localedata/locales/ks_IN: Likewise.
21873 * localedata/locales/ks_IN@devanagari: Likewise.
21874 * localedata/locales/ku_TR: Likewise.
21875 * localedata/locales/kw_GB: Likewise.
21876 * localedata/locales/ky_KG: Likewise.
21877 * localedata/locales/lb_LU: Likewise.
21878 * localedata/locales/lg_UG: Likewise.
21879 * localedata/locales/li_BE: Likewise.
21880 * localedata/locales/li_NL: Likewise.
21881 * localedata/locales/lij_IT: Likewise.
21882 * localedata/locales/ln_CD: Likewise.
21883 * localedata/locales/lo_LA: Likewise.
21884 * localedata/locales/lt_LT: Likewise.
21885 * localedata/locales/lv_LV: Likewise.
21886 * localedata/locales/lzh_TW: Likewise.
21887 * localedata/locales/mag_IN: Likewise.
21888 * localedata/locales/mai_IN: Likewise.
21889 * localedata/locales/mg_MG: Likewise.
21890 * localedata/locales/mhr_RU: Likewise.
21891 * localedata/locales/mi_NZ: Likewise.
21892 * localedata/locales/mk_MK: Likewise.
21893 * localedata/locales/ml_IN: Likewise.
21894 * localedata/locales/mn_MN: Likewise.
21895 * localedata/locales/mni_IN: Likewise.
21896 * localedata/locales/mr_IN: Likewise.
21897 * localedata/locales/ms_MY: Likewise.
21898 * localedata/locales/mt_MT: Likewise.
21899 * localedata/locales/my_MM: Likewise.
21900 * localedata/locales/nan_TW: Likewise.
21901 * localedata/locales/nan_TW@latin: Likewise.
21902 * localedata/locales/nb_NO: Likewise.
21903 * localedata/locales/nds_DE: Likewise.
21904 * localedata/locales/nds_NL: Likewise.
21905 * localedata/locales/ne_NP: Likewise.
21906 * localedata/locales/nhn_MX: Likewise.
21907 * localedata/locales/niu_NU: Likewise.
21908 * localedata/locales/niu_NZ: Likewise.
21909 * localedata/locales/nl_AW: Likewise.
21910 * localedata/locales/nl_BE: Likewise.
21911 * localedata/locales/nl_NL: Likewise.
21912 * localedata/locales/nn_NO: Likewise.
21913 * localedata/locales/nr_ZA: Likewise.
21914 * localedata/locales/nso_ZA: Likewise.
21915 * localedata/locales/oc_FR: Likewise.
21916 * localedata/locales/om_ET: Likewise.
21917 * localedata/locales/om_KE: Likewise.
21918 * localedata/locales/or_IN: Likewise.
21919 * localedata/locales/os_RU: Likewise.
21920 * localedata/locales/pa_IN: Likewise.
21921 * localedata/locales/pa_PK: Likewise.
21922 * localedata/locales/pap_AW: Likewise.
21923 * localedata/locales/pap_CW: Likewise.
21924 * localedata/locales/pl_PL: Likewise.
21925 * localedata/locales/ps_AF: Likewise.
21926 * localedata/locales/pt_BR: Likewise.
21927 * localedata/locales/pt_PT: Likewise.
21928 * localedata/locales/quz_PE: Likewise.
21929 * localedata/locales/raj_IN: Likewise.
21930 * localedata/locales/ro_RO: Likewise.
21931 * localedata/locales/ru_RU: Likewise.
21932 * localedata/locales/ru_UA: Likewise.
21933 * localedata/locales/rw_RW: Likewise.
21934 * localedata/locales/sa_IN: Likewise.
21935 * localedata/locales/sat_IN: Likewise.
21936 * localedata/locales/sc_IT: Likewise.
21937 * localedata/locales/sd_IN: Likewise.
21938 * localedata/locales/sd_IN@devanagari: Likewise.
21939 * localedata/locales/se_NO: Likewise.
21940 * localedata/locales/sgs_LT: Likewise.
21941 * localedata/locales/shs_CA: Likewise.
21942 * localedata/locales/si_LK: Likewise.
21943 * localedata/locales/sid_ET: Likewise.
21944 * localedata/locales/sk_SK: Likewise.
21945 * localedata/locales/sl_SI: Likewise.
21946 * localedata/locales/sm_WS: Likewise.
21947 * localedata/locales/so_DJ: Likewise.
21948 * localedata/locales/so_ET: Likewise.
21949 * localedata/locales/so_KE: Likewise.
21950 * localedata/locales/so_SO: Likewise.
21951 * localedata/locales/sq_AL: Likewise.
21952 * localedata/locales/sq_MK: Likewise.
21953 * localedata/locales/sr_ME: Likewise.
21954 * localedata/locales/sr_RS: Likewise.
21955 * localedata/locales/sr_RS@latin: Likewise.
21956 * localedata/locales/ss_ZA: Likewise.
21957 * localedata/locales/st_ZA: Likewise.
21958 * localedata/locales/sv_FI: Likewise.
21959 * localedata/locales/sv_SE: Likewise.
21960 * localedata/locales/sw_KE: Likewise.
21961 * localedata/locales/sw_TZ: Likewise.
21962 * localedata/locales/szl_PL: Likewise.
21963 * localedata/locales/ta_IN: Likewise.
21964 * localedata/locales/ta_LK: Likewise.
21965 * localedata/locales/tcy_IN: Likewise.
21966 * localedata/locales/te_IN: Likewise.
21967 * localedata/locales/tg_TJ: Likewise.
21968 * localedata/locales/th_TH: Likewise.
21969 * localedata/locales/the_NP: Likewise.
21970 * localedata/locales/ti_ER: Likewise.
21971 * localedata/locales/ti_ET: Likewise.
21972 * localedata/locales/tig_ER: Likewise.
21973 * localedata/locales/tk_TM: Likewise.
21974 * localedata/locales/tl_PH: Likewise.
21975 * localedata/locales/tn_ZA: Likewise.
21976 * localedata/locales/to_TO: Likewise.
21977 * localedata/locales/tpi_PG: Likewise.
21978 * localedata/locales/tr_CY: Likewise.
21979 * localedata/locales/tr_TR: Likewise.
21980 * localedata/locales/ts_ZA: Likewise.
21981 * localedata/locales/tt_RU: Likewise.
21982 * localedata/locales/tt_RU@iqtelif: Likewise.
21983 * localedata/locales/ug_CN: Likewise.
21984 * localedata/locales/uk_UA: Likewise.
21985 * localedata/locales/unm_US: Likewise.
21986 * localedata/locales/ur_IN: Likewise.
21987 * localedata/locales/ur_PK: Likewise.
21988 * localedata/locales/uz_UZ: Likewise.
21989 * localedata/locales/uz_UZ@cyrillic: Likewise.
21990 * localedata/locales/ve_ZA: Likewise.
21991 * localedata/locales/vi_VN: Likewise.
21992 * localedata/locales/wa_BE: Likewise.
21993 * localedata/locales/wae_CH: Likewise.
21994 * localedata/locales/wal_ET: Likewise.
21995 * localedata/locales/wo_SN: Likewise.
21996 * localedata/locales/xh_ZA: Likewise.
21997 * localedata/locales/yi_US: Likewise.
21998 * localedata/locales/yo_NG: Likewise.
21999 * localedata/locales/yue_HK: Likewise.
22000 * localedata/locales/yuw_PG: Likewise.
22001 * localedata/locales/zh_CN: Likewise.
22002 * localedata/locales/zh_HK: Likewise.
22003 * localedata/locales/zh_SG: Likewise.
22004 * localedata/locales/zh_TW: Likewise.
22005 * localedata/locales/zu_ZA: Likewise.
22006
22007 2017-11-13 Florian Weimer <fweimer@redhat.com>
22008
22009 * support/next_to_fault.h, support/next_to_fault.c: New files.
22010 * support/Makefile (libsupport-routines): Add next_to_fault.
22011 * resolv/tst-inet_pton.c (struct next_to_fault)
22012 (next_to_fault_allocate, next_to_fault_free): Remove.
22013 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22014
22015 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22016
22017 * elf/dl-support.c: Include <dl-procruntime.c>.
22018 * include/link.h: Include <link_map.h>.
22019 * sysdeps/generic/dl-procruntime.c: New file.
22020 * sysdeps/generic/link_map.h: Likewise.
22021 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22022 the writable ld.so namespace.
22023
22024 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22025
22026 timezone: pacify GCC -Wstringop-truncation
22027 Problem reported by Martin Sebor in:
22028 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22029 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22030
22031 2017-11-12 Florian Weimer <fweimer@redhat.com>
22032
22033 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22034 tst-xreadlink.
22035 (tests): Add tst-xreadlink.
22036 * support/support.h (xstrndup): Declare.
22037 * support/xunistd.h (xunlink, xreadlink): Declare.
22038 * support/temp_file.h (support_create_temp_directory): Declare.
22039 * support/temp_file.c (support_create_temp_directory): New function.
22040 * support/support_chroot.c (support_chroot_create): Use it.
22041 * support/xreadlink.c: New file.
22042 * support/xstrndup.c: Likewise.
22043 * support/xunlink.c: Likewise.
22044 * support/tst-xreadlink.c: Likewise.
22045
22046 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
22047
22048 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
22049
22050 2017-11-11 Florian Weimer <fweimer@redhat.com>
22051
22052 [BZ #22409]
22053 [BZ #22412]
22054 * resolv/res_comp.c (printable_string, binary_hnok)
22055 (binary_leading_dash): New functions.
22056 (res_hnok): Reimplement using these functions and ns_name_pton.
22057 (res_ownok): Likewise.
22058 (res_mailok): Reimplement using printable_string, ns_name_pton and
22059 binary_hnok.
22060 (res_dnok): Reimplement using printable_string and ns_name_pton.
22061 * resolv/tst-res_hnok.c (tests): Add additional tests.
22062 (LETTERDIGITS, PRINTABLE): Define.
22063 (do_test): Adjust one_char results.
22064
22065 2017-11-11 Florian Weimer <fweimer@redhat.com>
22066
22067 [BZ #22413]
22068 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22069 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22070
22071 2017-11-11 Florian Weimer <fweimer@redhat.com>
22072
22073 * resolv/tst-ns_name_pton.c: New file.
22074 * resolv/Makefile (tests): Add tst-ns_name_pton.
22075 (tst-ns_name_pton): Link against libresolv.
22076
22077 2017-11-11 Florian Weimer <fweimer@redhat.com>
22078
22079 * resolv/tst-res_hnok.c: New file.
22080 * resolv/Makefile (tests): Add tst-res_hnok.
22081 (tst-res_hnok): Link against libresolv.
22082
22083 2017-11-11 Florian Weimer <fweimer@redhat.com>
22084
22085 * resolv/tst-resolv-network.c: Use test framework instead explicit
22086 main function.
22087
22088 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22089
22090 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22091 <jmp_buf-macros.h>.
22092 [!_ISOMAC] (STR_HELPER): New.
22093 [!_ISOMAC] (STR): Likewise.
22094 [!_ISOMAC] (TEST_SIZE): Likewise.
22095 [!_ISOMAC] (TEST_ALIGN): Likewise.
22096 [!_ISOMAC] (TEST_OFFSET): Likewise.
22097 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22098 field offsets of jmp_buf as well as sigjmp_buf.
22099 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22100 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22101 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22102 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22103 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22104 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22105 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22106 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22107 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22108 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22109 Likewise.
22110 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22111 Likewise.
22112 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22114 Likewise.
22115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22116 Likewise.
22117 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22118 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22119 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22120 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22121 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22123 Likewise.
22124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22125 Likewise.
22126 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22127 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22128 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22129
22130 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22131
22132 * include/float.h
22133 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22134 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22135 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22136 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22137 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22138 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22139 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22140 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22141 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22142 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22143 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22144 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22145 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22146 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22147 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22148 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22149 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22150 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22151 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22152 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22153 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22154 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22155 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22156 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22157 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22158 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22159 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22160 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22161 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22162 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22163 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22164 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22165 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22166 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22167 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22168 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22169 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22170 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22171 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22172 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22173 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22174 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22175 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22176 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22177 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22178 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22179 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22180 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22181 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22182 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22183 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22184 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22185 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22186 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22187 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22188 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22189 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22190 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22191 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22192 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22193 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22194 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22195 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22196 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22197 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22198 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22199 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22200 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22201 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22202 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22203 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22204 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22205 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22206 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22207 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22208 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22209 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22210 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22211 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22212 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22213 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22214 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22215 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22216 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22217 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22218 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22219 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22220 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22221
22222 * stdlib/tst-strtod.h (F16): New macro.
22223 (F32): Likewise.
22224 (F64): Likewise.
22225 (F32X): Likewise.
22226 (F64X): Likewise.
22227 (F128X): Likewise.
22228 (IF_FLOAT16): Likewise.
22229 (IF_FLOAT32): Likewise.
22230 (IF_FLOAT64): Likewise.
22231 (IF_FLOAT32X): Likewise.
22232 (IF_FLOAT64X): Likewise.
22233 (IF_FLOAT128X): Likewise.
22234 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22235 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22236 (STRTOD_TEST_FOREACH): Likewise.
22237 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22238 (CHOOSE_f64): Likewise.
22239 (CHOOSE_f32x): Likewise.
22240 (CHOOSE_f64x): Likewise.
22241
22242 2017-11-07 Andreas Schwab <schwab@suse.de>
22243
22244 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22245
22246 2017-11-07 Mike FABIAN <mfabian@redhat.com>
22247
22248 [BZ #22403]
22249 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22250 to be escaped.
22251 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22252 to be escaped.
22253
22254 2017-11-07 Claude Paroz <claude@2xlibre.net>
22255
22256 [BZ #22403]
22257 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22258 to be escaped.
22259 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22260 to be escaped.
22261 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22262 to be escaped.
22263
22264 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22265
22266 [BZ #22298]
22267 * nptl/allocatestack.c (allocate_stack): Check if
22268 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22269 __PTHREAD_MUTEX_HAVE_PREV is defined.
22270 * nptl/descr.h (pthread): Likewise.
22271 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22272 Likewise.
22273 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22274 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22275 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22276 * sysdeps/nptl/bits/thread-shared-types.h
22277 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22278 defines.
22279 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22280 of __WORDSIZE for internal layout.
22281 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22282 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22283 instead of __WORDSIZE whether to use an union for __spins and __list
22284 fields.
22285 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22286 case.
22287 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22288 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22289 defines.
22290 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22291 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22292 Likewise.
22293 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22294 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22295 Likewise.
22296 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22297 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22298 Likewise.
22299 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22300 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22301 Likewise.
22302 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22303 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22304 Likewise.
22305 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22306 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22307 Likewise.
22308 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22309 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22310 Likewise.
22311 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22312 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22313 Likewise.
22314 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22315 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22316 Likewise.
22317 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22318 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22319 Likewise.
22320 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22321 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22322 Likewise.
22323 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22324 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22325 Likewise.
22326 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22327 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22328 Likewise.
22329 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22330 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22331 Likewise.
22332
22333 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22334 New macros.
22335 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22336 checks for expected input type size.
22337 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22338 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22339 Likewise.
22340 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22341 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22342 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22343 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22344 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22345 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22346 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22347 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22348 superflous runtime assert check.
22349 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22350 Likewise.
22351 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22352 Likewise.
22353 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22354 Likewise.
22355 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22356 Likewise.
22357 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22358 Likewise.
22359 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22360 Likewise.
22361 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22362 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22363 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22364 Likewise.
22365 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22366 Likewise.
22367 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22368 Likewise.
22369 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22370 Likewise.
22371 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22372 Likewise.
22373 * nptl/pthread_attr_setinheritsched.c
22374 (__pthread_attr_setinheritsched): Likewise.
22375 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22376 Likewise.
22377 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22378 Likewise.
22379 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22380 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22381 __old_pthread_attr_setstack): Likewise.
22382 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22383 Likewise.
22384 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22385 Likewise.
22386 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22387 Likewise.
22388 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22389 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22390 Likewise.
22391 * nptl/tst-typesizes.c: Remove file.
22392
22393 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22394 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22395 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22396 checks for internal pthread_mutex_t offsets.
22397 * sysdeps/aarch64/nptl/pthread-offsets.h
22398 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22399 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22400 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22401 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22402 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22403 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22404 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22405 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22406 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22407 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22408 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22409 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22410 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22411 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22412 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22413 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22414 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22415 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22416
22417 2017-11-07 Florian Weimer <fweimer@redhat.com>
22418
22419 * bits/mman-linux.h: Move ...
22420 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22421 comment.
22422 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22423 outdated comment.
22424
22425 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22426
22427 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22428 Redefine STRNLEN as __strnlen_power8.
22429
22430 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22431
22432 * signal/sighold.c (sighold): Optimize implementation.
22433
22434 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22435 __NR_rt_sigqueueinfo.
22436
22437 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22438 __sigtimedwait.
22439 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22440 assume __NR_rt_sigtimedwait.
22441 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22442 and add LIBC_CANCEL_HANDLED for cancellation marking.
22443 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22444
22445 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22446 (sysdeps_routines): Add memchr_noneon.
22447 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22448 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22449 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22450 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22451 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22452 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22453 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22454
22455 * sysdeps/arm/arm-ifunc.h: New file.
22456 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22457 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22458 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22459 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22460 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22461 (__memcpy_neon): Avoid create hidden alias.
22462 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22463 (__memcpy_vfp): Likewise.
22464 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22465 (sysdep_routines): Add memcpy_arm.
22466 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22467
22468 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22469
22470 [BZ #22362]
22471 * Makerules (make-link-multidir): New.
22472 * config.make.in (multidir): New.
22473 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22474 * configure: Regenerated.
22475 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22476 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22477 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22478 New target.
22479
22480 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22481
22482 [BZ #22402]
22483 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22484 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22485
22486 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22487
22488 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22489 to be escaped.
22490
22491 2017-11-04 Florian Weimer <fweimer@redhat.com>
22492
22493 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22494
22495 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22496
22497 * math/math.h [__HAVE_DISTINCT_FLOAT16
22498 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22499 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22500 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22501 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22502 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22503 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22504 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22505 (__MATH_TG_F32): New macro.
22506 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22507 (__MATH_TG_F64X): Likewise.
22508 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22509 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22510
22511 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22512
22513 * po/de.po: Update translations.
22514 * po/ru.po: Likewise.
22515
22516 2017-11-03 Florian Weimer <fweimer@redhat.com>
22517
22518 * manual/filesys.texi (Hard Links): Document linkat.
22519
22520 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22521
22522 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22523 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22524 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22525 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22526 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22527 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22528 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22529 the same as _Float128.
22530 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22531 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22532 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22533
22534 * stdlib/stdlib.h
22535 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22536 Declare.
22537 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22538 Likewise.
22539 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22540 Likewise.
22541 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22542 (strtof32x): Likewise.
22543 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22544 (strtof64x): Likewise.
22545 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22546 (strtof128x): Likewise.
22547 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22548 (strfromf16): Likewise.
22549 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22550 (strfromf32): Likewise.
22551 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22552 (strfromf64): Likewise.
22553 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22554 (strfromf32x): Likewise.
22555 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22556 (strfromf64x): Likewise.
22557 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22558 (strfromf128x): Likewise.
22559 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22560 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22561 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22562 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22563 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22564 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22565
22566 2017-11-03 Richard Henderson <rth@twiddle.net>
22567
22568 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22569
22570 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22571
22572 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22573
22574 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22575
22576 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22577 DT_TLSDESC_GOT initialization.
22578 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22579 (_dl_tlsdesc_resolve_hold): Likewise.
22580 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22581 (_dl_tlsdesc_resolve_hold): Likewise.
22582 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22583 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22584
22585 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22586
22587 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22588
22589 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22590
22591 [BZ #18572]
22592 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22593 non-lazily for R_ARM_TLS_DESC.
22594
22595 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22596
22597 [BZ #17078]
22598 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22599 R_ARM_TLS_DESC case.
22600 (elf_machine_lazy_rel): Remove the prelink check.
22601
22602 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22603
22604 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22605 DT_TLSDESC_GOT initialization.
22606 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22607 (_dl_tlsdesc_resolve_rela): Likewise.
22608 (_dl_tlsdesc_resolve_hold): Likewise.
22609 (_dl_tlsdesc_undefweak): Remove ldar.
22610 (_dl_tlsdesc_dynamic): Likewise.
22611 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22612 (_dl_tlsdesc_resolve_rela): Likewise.
22613 (_dl_tlsdesc_resolve_hold): Likewise.
22614 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22615 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22616 (_dl_tlsdesc_resolve_rela): Likewise.
22617 (_dl_tlsdesc_resolve_hold): Likewise.
22618
22619 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22620
22621 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22622 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22623
22624 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22625
22626 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22627 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22628
22629 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22630
22631 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22632 Declare.
22633 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22634 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22635 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22636 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22637 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22638 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22639 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22640 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22641 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22642 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22643 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22644
22645 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22646
22647 [BZ #22382]
22648 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22649 * localedata/locales/tpi_PG: Add standard header.
22650
22651 2017-11-02 Florian Weimer <fweimer@redhat.com>
22652
22653 test-errno-linux: quotactl can fail with EPERM in containers.
22654 * sysdeps/unix/sysv/linux/test-errno-linux.c
22655 (LIST, LIST_FORWARD): New macros.
22656 (check_error_in_list): New function.
22657 (test_wrp_rv): Accept list of permitted error codes.
22658 (test_wrp_rv2): Remove.
22659 (test_wrp): Call test_wrp_rv with list of error codes.
22660 (test_wrp2): Accept list of error codes.
22661 (do_test): Adjust. Allow EPERM for quotactl.
22662
22663 2017-11-02 Florian Weimer <fweimer@redhat.com>
22664
22665 * stdio-common/bug16.c (do_test): Use array_length.
22666 * stdio-common/errlist.c (_sys_nerr): Likewise.
22667 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22668 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22669 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22670 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22671 (do_test): Use array_length.
22672 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22673 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22674 * stdio-common/tst-printf-round.c (do_test): Likewise.
22675 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22676 (CHECK): Use array_length.
22677 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22678 * stdio-common/tstscanf.c (main): Likewise.
22679 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22680
22681 2017-11-02 Florian Weimer <fweimer@redhat.com>
22682
22683 Add array_length and array_end macros.
22684 * include/array_length.h: New file.
22685
22686 2017-11-02 Florian Weimer <fweimer@redhat.com>
22687
22688 [BZ #22332]
22689 * posix/tst-glob-tilde.c (do_noescape): New variable.
22690 (one_test): Process it.
22691 (do_test): Set do_noescape. Add unescaping test case.
22692
22693 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22694
22695 * math/complex.h
22696 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22697 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22698 with appropriate macros defined and undefined.
22699 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22700 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22701 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22702 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22703 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22704 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22705 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22706 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22707 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22708 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22709
22710 * math/complex.h
22711 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22712 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22713 that for long double. Do not condition define and undefine of
22714 _Mdouble_complex_ on [__CFLOAT128].
22715
22716 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22717
22718 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22719 of <sysdeps/generic/sysdep.h>.
22720 (ALIGNARG): Removed.
22721 (ASM_SIZE_DIRECTIVE): Likewise.
22722 (ENTRY): Likewise.
22723 (END): Likewise.
22724 (ENTRY_CHK): Likewise.
22725 (END_CHK): Likewise.
22726 (syscall_error): Likewise.
22727 (mcount): Likewise.
22728 (PSEUDO_END): Likewise.
22729 (L): Likewise.
22730 (atom_text_section): Likewise.
22731 * sysdeps/x86/sysdep.h: New file.
22732 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22733 of <sysdeps/generic/sysdep.h>.
22734 (ALIGNARG): Removed.
22735 (ASM_SIZE_DIRECTIVE): Likewise.
22736 (ENTRY): Likewise.
22737 (END): Likewise.
22738 (ENTRY_CHK): Likewise.
22739 (END_CHK): Likewise.
22740 (syscall_error): Likewise.
22741 (mcount): Likewise.
22742 (PSEUDO_END): Likewise.
22743 (L): Likewise.
22744 (atom_text_section): Likewise.
22745
22746 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22747
22748 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22749 category of LC_CTYPE set to "i18n:2012".
22750 * localedata/locales/i18n_ctype: Regenerate.
22751
22752 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22753
22754 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22755 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22756 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22757 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22758
22759 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22760 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22761 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22762 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22763
22764 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22765
22766 * math/complex.h
22767 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22768 New macro.
22769 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22770 Likewise.
22771 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22772 Likewise.
22773 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22774 (CMPLXF32X): Likewise.
22775 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22776 (CMPLXF64X): Likewise.
22777 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22778 (CMPLXF128X): Likewise.
22779
22780 * math/math.h
22781 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22782 (__MATH_EVAL_FMT2): Define to add 0.0f.
22783
22784 2017-10-31 Alan Modra <amodra@gmail.com>
22785
22786 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22787 include sysdep.h.
22788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22802 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22803 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22804 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22805 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22806 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22807 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22808 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22809 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22810 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22811 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22812 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22813 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22814 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22815 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22816 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22817 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22818 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22819 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22820 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22821 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22822 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22823 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22824 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22825 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22826 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22827 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22828 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22829 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22830 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22831 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22832 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22833 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22834 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22835 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22836 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22837 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22838 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22839 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22840 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22841 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22842 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22843 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22844 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22845 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22846 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22847 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22848 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22849 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22850 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22851 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22852 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22853 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22854 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22855 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22856 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22857
22858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22859 include sysdep.h and math_ldbl_opt.h.
22860
22861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22862 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22887
22888 2017-10-31 Alan Modra <amodra@gmail.com>
22889
22890 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22891 string/strncase_l.c, not string/strncase.c.
22892 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22893 (libc_hidden_def): Redefine.
22894
22895 2017-10-31 Alan Modra <amodra@gmail.com>
22896
22897 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22898 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22899 (__strcasecmp): Don't define.
22900
22901 2017-10-31 Alan Modra <amodra@gmail.com>
22902
22903 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22904 IS_IN (libc).
22905 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22906 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22907 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22908
22909 2017-10-31 Alan Modra <amodra@gmail.com>
22910
22911 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22912 USE_AS_STPNCPY.
22913
22914 2017-10-31 Alan Modra <amodra@gmail.com>
22915
22916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22917 Redefine only when SHARED.
22918
22919 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22920
22921 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22922 Include <bits/math-finite.h> with appropriate macros defined and
22923 undefined.
22924 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22925 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22926 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22927 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22928 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22929
22930 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22931 [!_Mlong_double_] (_Mlong_double_): Likewise.
22932 [!_Mfloat16_] (_Mfloat16_): Likewise.
22933 [!_Mfloat32_] (_Mfloat32_): Likewise.
22934 [!_Mfloat64_] (_Mfloat64_): Likewise.
22935 [!_Mfloat128_] (_Mfloat128_): Likewise.
22936 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22937 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22938 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22939 (_Mdouble_): Define without indirection through those macros.
22940 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22941 [!_Mfloat128_] (_Mfloat128_): Likewise.
22942 [_Mlong_double_] (_Mlong_double_): Likewise.
22943 (_Mdouble_): Define without indirection through those macros.
22944 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22945 not add -D_Mlong_double_=double.
22946 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22947 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22948
22949 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22950
22951 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22952
22953 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22954
22955 * sysdeps/x86/libc-start.c: Reformat.
22956
22957 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22958
22959 [BZ #22353]
22960 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22961 (1): Renamed to ...
22962 (L(Src0)): This.
22963 (L(Src1)): New.
22964 (L(Src2)): Likewise.
22965 (L(1)): Renamed to ...
22966 (L(Src3)): This.
22967
22968 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22969
22970 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22971 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22972 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22973 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22974 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22975 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22976 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22977 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22978 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22979 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22980 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22981 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22982 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22983 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22984 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22985 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22986 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22987 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22988 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22989 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22990 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22991 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22992 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22993 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22994 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22995 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22996 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22997 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22998 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22999 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23000 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23001 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23002 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23003 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23004 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23005 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23006 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23007 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23008 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23009 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23010 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23011 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23012 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23013 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23014 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23015 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23016 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23017 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23018 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23019 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23020 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23021 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23022 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23023 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23024 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23025 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23026 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23027 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23028 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23029 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23030 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23031 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23032 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23033 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23034 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
23035 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
23036
23037 2017-10-30 Florian Weimer <fweimer@redhat.com>
23038
23039 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
23040 always defined.
23041 * io/tst-mkdirat.c (do_test): Likewise.
23042 * io/tst-mkfifoat.c (do_test): Likewise.
23043 * io/tst-mknodat.c (do_test): Likewise.
23044 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
23045 * locale/programs/locale.c (select_dirs): Likewise.
23046 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
23047 * posix/bug-glob2.c (my_readdir): Likewise.
23048 * posix/tst-dir.c (main): Likewise.
23049 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
23050 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
23051
23052 2017-10-30 Florian Weimer <fweimer@redhat.com>
23053
23054 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
23055 just __USE_GNU.
23056
23057 2017-10-30 Florian Weimer <fweimer@redhat.com>
23058
23059 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23060 Convert to support/test-driver.c.
23061 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23062 New macro parameters.
23063 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23064 * posix/tst-gnuglob.c: New file.
23065 * posix/tst-gnuglob64.c: Likewise.
23066 * posix/Makefile (tests): Add tst-gnuglob64.
23067
23068 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
23069
23070 [BZ #19485]
23071 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23072 and use a better translation for March in “mon”.
23073 * localedata/locales/csb_PL: Use more ASCII to improve the
23074 readability of the source.
23075
23076 2017-10-30 Mike FABIAN <mfabian@redhat.com>
23077
23078 [BZ #13953]
23079 * localedata/locales/km_KH: Use ASCII as much
23080 as possible for better readability of the source and
23081 remove useless comments.
23082 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23083 was commented out and apparently wrong anyway because it was
23084 using Lao characters. If Buddhist era should be used
23085 for km_KH, a native speaker should write the correct formaat
23086 for Khmer.
23087 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23088 (According to CLDR, the first weekday for Cambodia is Sunday).
23089 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23090 (These were using Lao characters which must be wrong. If we get
23091 the correct data from a native speaker, we could add it back, until
23092 then it is better not to have name_mr and name_mrs at all than
23093 having it wrong).
23094
23095 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23096
23097 * locale/loadlocale.c: Correct size of
23098 _nl_value_type_LC_<category> arrays.
23099
23100 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23101
23102 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23103 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23104 with appropriate macros defined and undefined.
23105 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23106 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23107 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23108 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23109 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23110
23111 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23112
23113 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23114 "-O2 -march=i586".
23115
23116 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23117
23118 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23119 with lowercase letters to make it agree with CLDR.
23120
23121 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23122
23123 [BZ #15260]
23124 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23125 first letters of yesstr and nostr in yesexpr and noexpr,
23126 not for the full words.
23127 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23128 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23129 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23130 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23131 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23132 first letters of yesstr and nostr in yesexpr and noexpr,
23133 until now only English was matched in yesexpr and noexpr.
23134 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23135 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23136 fil but not for tl. As tl and fil are very similar, using fil
23137 is probably better than using English.
23138
23139 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23140
23141 [BZ #21706]
23142 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23143 in yesstr and nostr.
23144
23145 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23146
23147 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23148 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23149 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23150 Likewise.
23151 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23152 Likewise.
23153 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23154 Likewise.
23155 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23156 Likewise.
23157 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23158 (SNANF128X): Likewise.
23159
23160 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23161 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23162 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23163 (HUGE_VAL_F32): Likewise.
23164 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23165 (HUGE_VAL_F64): Likewise.
23166 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23167 (HUGE_VAL_F32X): Likewise.
23168 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23169 (HUGE_VAL_F64X): Likewise.
23170 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23171 (HUGE_VAL_F128X): Likewise.
23172
23173 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23174
23175 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23176 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23177 for the br_FR locale.
23178
23179 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23180
23181 [BZ #21706]
23182 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23183
23184 2017-10-25 Carlos O'Donell <carlos@redhat.com>
23185
23186 * locale/programs/record-status.h: Define globals, and function
23187 prototypes. Move function bodies...
23188 * locale/programs/record-status.c: ... to here. New file.
23189 * iconv/Makefile (iconv_prog-modules): Add record-status.
23190 * locale/Makefile (lib-modules): Likewise.
23191 * iconv/iconv_prog.c: Remove verbose.
23192 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23193 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23194 record a warning about ASCII compatibility.
23195 * locale/programs/ld-monetary.c (monetary_finish): If
23196 warn_int_curr_symbol is true then record a warning about the symbol
23197 not being in our ISO 4217 list.
23198 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23199 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23200 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23201 (OPT_NO_WARN): Define.
23202 (OPT_WARN): Define.
23203 (options): Add entry for --no-warnings, and --warnings.
23204 (set_warnings): New function to enable/disable warnings.
23205 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23206 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23207 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23208 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23209 Pass flags to generate_locale.
23210 (generate_locale): Accept new flag argument and pass it to localedef
23211 invocation.
23212 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23213 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23214
23215 * localedata/Makefile (test-input-data): Use full file name.
23216 * localedata/da_DK.in: Rename to...
23217 * localedata/da_DK.ISO-8859-1.in: ...this.
23218 * localedata/de_DE.in: Rename to...
23219 * localedata/de_DE.ISO-8859-1.in: ...this.
23220 * localedata/en_US.in: Rename to...
23221 * localedata/en_US.ISO-8859-1.in: ...this.
23222 * localedata/fr_FR.in: Rename to...
23223 * localedata/fr_FR.UTF-8.in: ... this.
23224 * localedata/hr_HR.in: Rename to...
23225 * localedata/hr_HR.ISO-8859-2.in: ...this.
23226 * localedata/hu_HU.in: Rename to...
23227 * localedata/hu_HU.UTF-8.in: ...this.
23228 * localedata/si_LK.in: Rename to...
23229 * localedata/si_LK.UTF-8.in: ...this.
23230 * localedata/sv_SE.in: Rename to...
23231 * localedata/sv_SE.ISO-8859-1.in: ...this.
23232 * localedata/tr_TR.in: Rename to...
23233 * localedata/tr_TR.UTF-8.in: ...this.
23234 * localedata/uk_UA.in: Rename to...
23235 * localedata/uk_UA.UTF-8.in: ...this.
23236 * localedata/sort-test.sh: Test file is locale name with the
23237 suffix.
23238
23239 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23240 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23241 file.
23242 * localedata/locales/i18n_ctype: Regenerate.
23243 * localedata/locales/tr_TR: Likewise.
23244 * localedata/locales/translit_circle: Likewise.
23245 * localedata/locales/translit_cjk_compat: Likewise.
23246 * localedata/locales/translit_combining: Likewise.
23247 * localedata/locales/translit_compat: Likewise.
23248 * localedata/locales/translit_font: Likewise.
23249 * localedata/locales/translit_fraction: Likewise.
23250
23251 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23252
23253 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23254 lxvd2x/stxvd2x with lvx/stvx.
23255 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23256
23257 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23258
23259 * include/alloc_buffer.h: Replace "if if " with "if " in
23260 comments.
23261 * sysdeps/mips/memcpy.S: Likkewise.
23262 * sysdeps/mips/memset.S: Likewise.
23263 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23264 Likewise.
23265 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23266 Likewise.
23267 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23268 Likewise.
23269
23270 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23271
23272 [BZ #15261]
23273 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23274 yesexpr and noexpr.
23275 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23276 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23277 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23278 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23279 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23280 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23281 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23282
23283 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23284
23285 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23286 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23287 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23288 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23289 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23290 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23291 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23292 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23293 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23294 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23295 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23296 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23297
23298 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23299
23300 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23301 as possible for better readability of the source.
23302 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23303 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23304 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23305 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23306 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23307 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23308 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23309 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23310 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23311 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23312 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23313 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23314 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23315 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23316 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23317 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23318 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23319 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23320 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23321 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23322 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23323 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23324 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23325 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23326 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23327 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23328 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23329 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23330 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23331 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23332 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23333 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23334 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23335 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23336 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23337 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23338 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23339 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23340 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23341 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23342 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23343 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23344 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23345 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23346 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23347 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23348 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23349 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23350 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23351 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23352 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23353 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23354 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23355 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23356 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23357 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23358 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23359 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23360 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23361 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23362 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23363 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23364 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23365 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23366 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23367 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23368 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23369 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23370 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23371 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23372 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23373 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23374 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23375 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23376 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23377 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23378 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23379 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23380 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23381 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23382 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23383 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23384 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23385 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23386 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23387 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23388 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23389 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23390 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23391 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23392 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23393 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23394 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23395 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23396 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23397 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23398 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23399 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23400 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23401 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23402 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23403 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23404 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23405 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23406 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23407 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23408 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23409 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23410 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23411 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23412 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23413 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23414 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23415 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23416 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23417 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23418 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23419 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23420 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23421 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23422 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23423 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23424 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23425 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23426 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23427 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23428 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23429 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23430 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23431 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23432 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23433 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23434 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23435 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23436 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23437 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23438 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23439 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23440 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23441 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23442 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23443 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23444 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23445 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23446 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23447 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23448 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23449 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23450 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23451 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23452 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23453 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23454 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23455 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23456 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23457 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23458 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23459 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23460 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23461 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23462 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23463 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23464 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23465 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23466 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23467 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23468 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23469 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23470 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23471 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23472 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23473 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23474 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23475 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23476
23477 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23478
23479 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23480 (Use first letters of yesstr and nostr correctly instead of using
23481 full words).
23482
23483 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23484
23485 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23486 (Use first letters of yesstr and nostr correctly).
23487
23488 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23489
23490 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23491 also check for the first characters of yesstr and nostr.
23492 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23493 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23494
23495 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23496
23497 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23498 also check for Chinese characters.
23499
23500 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23501
23502 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23503 match also for the contents of yesstr and nostr. As the first letter
23504 of yesstr and nostr is equal, checking only for the first letter
23505 is not enough.
23506
23507 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23508
23509 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23510 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23511
23512 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23513
23514 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23515 of main contributor.
23516
23517 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23518
23519 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23520 instead of using English.
23521
23522 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23523
23524 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23525 by including the first letters of nostr and yesexpr in the regexp.
23526 Also make it more readable by using ASCII where possible.
23527
23528 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23529
23530 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23531 the first letter of nostr in the regexp. It agrees with CLDR now.
23532 Also make it more readable by using ASCII where possible.
23533
23534 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23535
23536 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23537 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23538 these strings contain a U+17D6 (which somewhat looks like a colon)
23539 instead of a real colon to separate the full words for “yes”
23540 and “no” from the single letter responses.
23541
23542 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23543
23544 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23545 it agree with CLDR (include the first letter of yesstr).
23546 Also make it more readable by using ASCII where possible.
23547
23548 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23549
23550 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23551 and improve yesexpr and noexpr. The yesstr and nostr apparently
23552 came from CLDR. And CLDR has a bug there: these strings contain
23553 a U+0903 (which looks like a colon) instead of a real colon
23554 to separate the full words for “yes” and “no” from the single
23555 letter responses.
23556
23557 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23558
23559 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23560 letters of the full yesstr and nostr in yesexpr and noexpr.
23561
23562 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23563
23564 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23565 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23566 * localedata/locales/an_ES: Make source more readable by using ASCII
23567 where possible.
23568
23569 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23570
23571 [BZ #20952]
23572 * localedata/locales/yuw_PG: New file.
23573 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23574 * locale/iso-639.def: Add Yau (Uruwa).
23575
23576 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23577
23578 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23579
23580 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23581
23582 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23583 (__libc_realloc): Likewise.
23584 (_mid_memalign): Likewise.
23585 (__libc_calloc): Likewise.
23586
23587 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23588
23589 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23590 by adding the generic +1 and -0 as in all other locales.
23591 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23592 day names and make it more readable by using ASCII where possible.
23593
23594 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23595
23596 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23597 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23598
23599 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23600
23601 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23602 WNOHANG in waitpid call.
23603
23604 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23605
23606 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23607 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23608
23609 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23610 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23611 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23612 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23613 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23614 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23615 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23616 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23617 variables.
23618
23619 2017-10-23 Michael Collison <michael.collison@arm.com>
23620
23621 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23622 with __builtin_sqrt.
23623 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23624 with __builtin_sqrtf.
23625 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23626 with __builtin_ceil.
23627 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23628 with __builtin_ceilf.
23629 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23630 with __builtin_floor.
23631 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23632 with __builtin_floorf.
23633 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23634 with __builtin_fma.
23635 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23636 with __builtin_fmaf.
23637 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23638 with __builtin_fmax.
23639 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23640 with __builtin_fmaxf.
23641 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23642 with __builtin_fmin.
23643 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23644 with __builtin_fminf.
23645 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23646 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23647 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23648 with builtin_rint and conversion to int.
23649 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23650 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23651 with builtin_llround.
23652 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23653 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23654 with builtin_rint and conversion to long int.
23655 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23656 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23657 with builtin_lround.
23658 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23659 with builtin_lroundf.
23660 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23661 statements with __builtin_nearbyint.
23662 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23663 statements with __builtin_nearbyintf.
23664 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23665 with __builtin_rint.
23666 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23667 with __builtin_rintf.
23668 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23669 with __builtin_round.
23670 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23671 with __builtin_roundf.
23672 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23673 with __builtin_trunc.
23674 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23675 with __builtin_truncf.
23676 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23677 and s_l[l]round[f].c too.
23678
23679 2017-10-23 Alan Modra <amodra@gmail.com>
23680
23681 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23682 Adjust stack after restoring regs. Add missing LR cfi_restore.
23683
23684 2017-10-23 Alan Modra <amodra@gmail.com>
23685
23686 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23687 Move LR save and frame setup/teardown and LR restore to
23688 immediately around memset call. Provide cfi.
23689
23690 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23691
23692 * sysdeps/i386/fpu/e_powf.S: Removed.
23693 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23694 * sysdeps/i386/fpu/w_powf.c: Likewise.
23695 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23696 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23697 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23698 Add e_powf-sse2.
23699 (CFLAGS-e_powf-sse2.c): New.
23700 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23701 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23702
23703 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23704
23705 * sysdeps/i386/fpu/e_log2f.S: Removed.
23706 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23707 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23708 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23709 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23710 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23711 Add e_log2f-sse2.
23712 (CFLAGS-e_log2f-sse2.c): New.
23713 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23714 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23715
23716 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23717
23718 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23719 Add e_powf-fma.
23720 (CFLAGS-e_powf-fma.c): New.
23721 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23722 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23723
23724 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23725
23726 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23727 Add e_log2f-fma.
23728 (CFLAGS-e_log2f-fma.c): New.
23729 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23730 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23731
23732 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23733
23734 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23735 Add e_logf-fma.
23736 (CFLAGS-e_logf-fma.c): New.
23737 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23738 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23739
23740 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23741
23742 * sysdeps/i386/fpu/e_logf.S: Removed.
23743 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23744 * sysdeps/i386/fpu/w_logf.c: Likewise.
23745 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23746 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23747 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23748 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23749 Add e_logf-sse2.
23750 (CFLAGS-e_logf-sse2.c): New.
23751 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23752 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23753
23754 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23755
23756 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23757 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23758 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23759 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23760 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23761 Add e_exp2f-sse2.
23762 (CFLAGS-e_exp2f-sse2.c): New.
23763 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23764 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23765
23766 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23767
23768 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23769 Add e_exp2f-fma.
23770 (CFLAGS-e_exp2f-fma.c): New.
23771 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23772 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23773
23774 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23775
23776 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23777 * sysdeps/i386/fpu/e_expf.S: Likewise.
23778 * sysdeps/i386/fpu/math_errf.c: Likewise.
23779 * sysdeps/i386/fpu/w_expf.c: Likewise.
23780 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23781 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23782 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23783 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23784 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23785 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23786 Remove e_expf-ia32.
23787 (CFLAGS-e_expf-sse2.c): New.
23788 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23789 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23790
23791 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23792
23793 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23794 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23795 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23796 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23797 e_expf.c.
23798 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23799 New.
23800 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23801 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23802 Renamed to ...
23803 (__redirect_expf): This.
23804 (SYMBOL_NAME): Changed to expf.
23805 (__ieee754_expf): Renamed to ...
23806 (__expf): This.
23807 (__GI___expf): This.
23808 (__ieee754_expf): Add strong_alias.
23809 (__expf_finite): Likewise.
23810 (__expf): New.
23811 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23812
23813 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23814
23815 [BZ #22332]
23816 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23817 unescaping.
23818
23819 2017-10-21 Florian Weimer <fweimer@redhat.com>
23820
23821 * posix/Makefile (tests): Add tst-glob-tilde.
23822 (tests-special): Add tst-glob-tilde-mem.out
23823 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23824 (tst-glob-tilde-mem.out): Add mtrace check.
23825 * posix/tst-glob-tilde.c: New file.
23826
23827 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23828
23829 * bits/floatn-common.h: New file.
23830 * math/Makefile (headers): Add bits/floatn-common.h.
23831 * bits/floatn.h: Include <bits/floatn-common.h>.
23832 * sysdeps/ia64/bits/floatn.h: Likewise.
23833 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23834 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23835 * sysdeps/powerpc/bits/floatn.h: Likewise.
23836 * sysdeps/x86/bits/floatn.h: Likewise.
23837
23838 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23839
23840 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23841 indicates whether compiler emits an warning for alias for
23842 functions with incompatible types.
23843
23844 [BZ #22273]
23845 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23846 the auxiliary process is terminated by a signal before calling _exit
23847 or execve.
23848
23849 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23850
23851 [BZ #21265]
23852 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23853 New.
23854 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23855 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23856 and bit_arch_XSAVEC_Usable if needed.
23857 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23858 and bit_arch_Use_dl_runtime_resolve_opt.
23859 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23860 Removed.
23861 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23862 (bit_arch_Prefer_No_AVX512): Updated.
23863 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23864 (bit_arch_XSAVEC_Usable): New.
23865 (STATE_SAVE_OFFSET): Likewise.
23866 (STATE_SAVE_MASK): Likewise.
23867 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23868 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23869 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23870 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23871 (index_arch_XSAVEC_Usable): New.
23872 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23873 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23874 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23875 is enabled.
23876 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23877 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23878 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23879 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23880 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23881 _dl_runtime_resolve_xsavec.
23882 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23883 Removed.
23884 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23885 instead of VEC_SIZE.
23886 (REGISTER_SAVE_BND0): Removed.
23887 (REGISTER_SAVE_BND1): Likewise.
23888 (REGISTER_SAVE_BND3): Likewise.
23889 (REGISTER_SAVE_RAX): Always defined to 0.
23890 (VMOV): Removed.
23891 (_dl_runtime_resolve_avx): Likewise.
23892 (_dl_runtime_resolve_avx_slow): Likewise.
23893 (_dl_runtime_resolve_avx_opt): Likewise.
23894 (_dl_runtime_resolve_avx512): Likewise.
23895 (_dl_runtime_resolve_avx512_opt): Likewise.
23896 (_dl_runtime_resolve_sse): Likewise.
23897 (_dl_runtime_resolve_sse_vex): Likewise.
23898 (USE_FXSAVE): New.
23899 (_dl_runtime_resolve_fxsave): Likewise.
23900 (USE_XSAVE): Likewise.
23901 (_dl_runtime_resolve_xsave): Likewise.
23902 (USE_XSAVEC): Likewise.
23903 (_dl_runtime_resolve_xsavec): Likewise.
23904 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23905 Removed.
23906 (_dl_runtime_resolve_avx512_opt): Likewise.
23907 (_dl_runtime_resolve_avx): Likewise.
23908 (_dl_runtime_resolve_avx_opt): Likewise.
23909 (_dl_runtime_resolve_sse): Likewise.
23910 (_dl_runtime_resolve_sse_vex): Likewise.
23911 (_dl_runtime_resolve_fxsave): New.
23912 (_dl_runtime_resolve_xsave): Likewise.
23913 (_dl_runtime_resolve_xsavec): Likewise.
23914
23915 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23916
23917 [BZ #22320]
23918 CVE-2017-15670
23919 * posix/glob.c (__glob): Fix one-byte overflow.
23920
23921 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23922
23923 * malloc/malloc.c (sysdep-cancel.h): Add include.
23924
23925 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23926
23927 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23928
23929 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23930
23931 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23932 (tests): Remove $(objpfx)ga_test depdendency.
23933 * resolv/ga_test.c: Remove file.
23934
23935 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23936
23937 [BZ #18812]
23938 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23939 * localedata/locales/kab_DZ: New file.
23940
23941 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23942
23943 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23944 _dl_relocate_static_pie instead of _dl_start to compute load
23945 address in static PIE.
23946
23947 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23948
23949 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23950
23951 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23952
23953 [BZ #13605]
23954 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23955 * localedata/locales/shn_MM: New file.
23956
23957 2017-10-20 Florian Weimer <fweimer@redhat.com>
23958
23959 [BZ #22321]
23960 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23961 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23962 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23963 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23964 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23965 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23966
23967 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23968
23969 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23970
23971 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23972
23973 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23974
23975 [BZ #22322]
23976 * sysdeps/mips/bits/long-double.h: Move to ....
23977 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23978
23979 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23980
23981 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23982
23983 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23984 H.J. Lu <hongjiu.lu@intel.com>
23985
23986 [BZ #22299]
23987 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23988 GLRO(dl_platform) to NULL.
23989 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23990 (modules-names): Add tst-platformmod-1 and
23991 x86_64/tst-platformmod-2.
23992 (CFLAGS-tst-platform-1.c): New.
23993 (CFLAGS-tst-platformmod-1.c): Likewise.
23994 (CFLAGS-tst-platformmod-2.c): Likewise.
23995 (LDFLAGS-tst-platformmod-2.so): Likewise.
23996 ($(objpfx)tst-platform-1): Likewise.
23997 ($(objpfx)tst-platform-1.out): Likewise.
23998 (tst-platform-1-ENV): Likewise.
23999 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24000 * sysdeps/x86_64/tst-platform-1.c: New file.
24001 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24002 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24003
24004 2017-10-19 Mike FABIAN <mfabian@redhat.com>
24005
24006 [BZ #13994]
24007 * locale/iso-639.def: Add Karbi.
24008 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24009 * localedata/locales/mjw_IN: New file.
24010
24011 2017-10-18 Joseph Myers <joseph@codesourcery.com>
24012
24013 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24014 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24015 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24016 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24017 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24018 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24019 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24020 <bits/floatn.h>.
24021 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24022 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24023 * manual/math.texi (Mathematics): Document additional architecture
24024 support for _Float128.
24025 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24026 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24027 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24028 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24029 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24030 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24031 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24032 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24033 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24034 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24035 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24036 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24037 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24038 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24039 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24040
24041 2017-10-18 Renlin Li <renlin.li@arm.com>
24042
24043 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
24044 _DYNAMIC symbol to calculate load address.
24045
24046 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
24047
24048 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
24049 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
24050 summary bits.
24051 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
24052 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
24053
24054 2017-10-18 Mike FABIAN <mfabian@redhat.com>
24055
24056 [BZ #16777]
24057 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24058 and improve readability by using more ASCII.
24059 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24060 and improve readability by using more ASCII.
24061
24062 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24063
24064 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24065 not all targets support atomics on bool.
24066
24067 2017-10-17 Joseph Myers <joseph@codesourcery.com>
24068
24069 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24070 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24071 __f128.
24072 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24073 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24074 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24075 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24076 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24077 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24078
24079 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24080
24081 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24082 defines.
24083
24084 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24085
24086 [BZ #22159]
24087 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24088 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24089 (do_check_remalloced_chunk): Fix build bug.
24090 (do_check_malloc_state): Add assert that checks arena->top.
24091 (malloc_consolidate): Remove initialization.
24092 (int_mallinfo): Remove call to malloc_consolidate.
24093 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24094
24095 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24096
24097 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24098 (have_fastchunks): Remove.
24099 (clear_fastchunks): Remove.
24100 (set_fastchunks): Remove.
24101 (malloc_state): Add have_fastchunks.
24102 (malloc_init_state): Use have_fastchunks.
24103 (do_check_malloc_state): Remove incorrect invariant checks.
24104 (_int_malloc): Use have_fastchunks.
24105 (_int_free): Likewise.
24106 (malloc_consolidate): Likewise.
24107
24108 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24109
24110 * malloc/malloc.c (tcache_put): Inline.
24111 (tcache_get): Inline.
24112
24113 2017-10-17 Jordi Mallach <jordi@gnu.org>
24114
24115 Aurelien Jarno <aurelien@aurel32.net>
24116 [BZ #2522]
24117 * localedata/locales/ca_ES@valencia: New file.
24118 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24119
24120 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24121
24122 [BZ #22296]
24123 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24124 < 6.x
24125
24126 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24127
24128 * scripts/build-many-glibcs.py (Context.add_all_configs):
24129 Add arm-linux-gnueabihf multiarch extra_glibcs.
24130
24131 * sysdeps/generic/ifunc-init.h: New file.
24132 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24133
24134 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24135
24136 [BZ #22019]
24137 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24138 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24139 * stdlib/tst-strfmon_l.c: adapt test case.
24140
24141 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24142
24143 * sysdeps/generic/float128-abi.h: New file.
24144 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24145 non-__prefixed symbols to ....
24146 * math/Versions: ... here. Include <float128-abi.h>.
24147 * stdlib/Versions ... and here. Include <float128-abi.h>
24148
24149 2017-10-16 Florian Weimer <fweimer@redhat.com>
24150
24151 * version.h (VERSION): Switch to ".9000" as the development
24152 version suffix.
24153
24154 2017-10-16 Florian Weimer <fweimer@redhat.com>
24155
24156 [BZ #22050]
24157 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24158 compat_symbol_reference to access non-default version.
24159
24160 2017-10-16 Florian Weimer <fweimer@redhat.com>
24161
24162 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24163
24164 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24165
24166 * include/shlib-compat.h (compat_symbol_reference): Update
24167 comment.
24168
24169 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24170
24171 * math/Makefile (test-types): Add
24172 $(type-float128-$(float128-alias-fcts)).
24173 * math/test-float128.h (TYPE_STR): Define conditional on
24174 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24175 (ULP_IDX): Likewise.
24176 (ULP_I_IDX): Likewise.
24177
24178 * stdlib/strtold.c: Include <bits/floatn.h>
24179 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24180 and later undefine as macro. Define as weak alias if
24181 [!USE_WIDE_CHAR].
24182 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24183 and later undefine as macro. Define as weak alias if
24184 [USE_WIDE_CHAR].
24185 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24186 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24187 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24188 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24189 Define and later undefine as macro. Define as weak alias if
24190 [USE_WIDE_CHAR].
24191 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24192 <bits/floatn.h>.
24193 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24194 Define and later undefine as macro. Define as weak alias if
24195 [!USE_WIDE_CHAR].
24196 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24197 Define and later undefine as macro. Define as weak alias if
24198 [USE_WIDE_CHAR].
24199
24200 2017-10-15 Carlos O'Donell <carlos@redhat.com>
24201
24202 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24203 record_verbose messages.
24204
24205 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24206
24207 [BZ #22052]
24208 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24209 to silence -O3 -Wall warning with GCC 7.
24210
24211 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24212
24213 * Makeconfig (+link-static-before-libc): Use the first of
24214 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24215 * gmon/Makefile (tests): Add tst-gmon-static.
24216 (tests-static): Likewise.
24217 (CFLAGS-tst-gmon-static.c): New.
24218 (CRT-tst-gmon-static): Likewise.
24219 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24220 (tst-gmon-static-ENV): Likewise.
24221 (tests-special): Likewise.
24222 ($(objpfx)tst-gmon-static.out): Likewise.
24223 (clean-tst-gmon-static-data): Likewise.
24224 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24225 * gmon/tst-gmon-static-gprof.sh: New file.
24226 * gmon/tst-gmon-static.c: Likewise.
24227
24228 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24229
24230 [BZ #22295]
24231 * locale/programs/linereader.c (get_string): Don't warn on
24232 non-symbolic character.
24233
24234 [BZ #22294]
24235 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24236 int_curr_symbol.
24237
24238 [BZ #22292]
24239 * locale/programs/record-status.h: New file
24240 * locale/programs/locale.c: Add comment.
24241 * locale/programs/charmap-dir.c: Don't include error.h.
24242 (charmap_opendir): Use record_error.
24243 * locale/programs/charmap.c: Don't include error.h.
24244 (charmap_read): Use record_error, and record_warning.
24245 (parse_charmap): Likewise.
24246 * locale/programs/ld-address.c: Don't include error.h.
24247 (address_finish): Use record_error, and record_warning.
24248 * locale/programs/ld-collate.c: Don't include error.h.
24249 (collate_finish): Use record_error, and record_error_at_line.
24250 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24251 (ctype_class_new): Likewise.
24252 (ctype_map_new): Likewise.
24253 (set_one_default): Likewise.
24254 (set_class_defaults): Likewise.
24255 (translit_flatten): Likewise.
24256 (allocate_arrays): Use record_error, and record_verbose.
24257 * locale/programs/ld-identification.c: Don't include error.h.
24258 (indentation_finish): Use record_error and record_warning.
24259 * locale/programs/ld-measurement.c: Don't include error.h.
24260 (measurement_finish): Use record_error.
24261 * locale/programs/ld-messages.c
24262 (message_finish): Likewise.
24263 * locale/programs/ld-monetary.c
24264 (monetary_finish): Likewise.
24265 * locale/programs/ld-name.c (name_finish): Use record_error
24266 and record_warning.
24267 * locale/programs/ld-numeric.c
24268 (numeric_finish): Use record_error.
24269 * locale/programs/ld-paper.c: Don't include error.h.
24270 (paper_finish): Use record_error.
24271 * locale/programs/ld-telephone.c: Don't include error.h.
24272 (telephone_finish): Use record_error.
24273 * locale/programs/ld-time.c (time_finish): Likewise.
24274 * locale/programs/linereader.h (lr_error): Make inline func.
24275 * locale/programs/localedef.c: Define recorded_warning_count,
24276 and recorded_error_count.
24277 (main): Use record_error. Use recorded_error_count and
24278 recorded_warning_count to issue correct error returns.
24279 (add_to_readlist): Use record_error.
24280 (find_locale): Likewise.
24281 (load_locale): Likewise.
24282 * locale/programs/localedef.h: Remove be_quiet
24283 and WITH_CUR_LOCALE.
24284 * locale/programs/locarchive.c (compare_from_file): Use
24285 record_error.
24286 * locale/programs/locfile.c (write_locale_data): Use
24287 record_error.
24288 * locale/programs/repertoire.c: Dont include error.h.
24289 (repertoire_complain): Use record_error.
24290 * localedata/tst-fmon.sh: Expect failures from localedef.
24291 * localedata/tst-locale.sh: Likewise.
24292 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24293
24294 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24295 (REPORTS): Likewise.
24296 (check): Likewise.
24297 (i18n): Rename to...
24298 (i18n_ctype): ...this.
24299 (i18n-report): Rename to...
24300 (i18n_ctype-report): ...this.
24301 * localedata/locales/i18n_ctype: Regenerate.
24302 * localedata/locales/i18n: copy i18n_ctype.
24303
24304 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24305
24306 * stdlib/strfroml.c: Include <bits/floatn.h>.
24307 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24308 Define before include of <stdlib.h> and undefine afterwards, then
24309 define as weak alias.
24310
24311 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24312 Undefine and restore default definition. Use
24313 libm_alias_ldouble_other.
24314
24315 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24316
24317 [BZ #22153]
24318 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24319 in coredumps.
24320
24321 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24322
24323 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24324 Assign sym_map to be map for local symbols, as TLS relocations
24325 use sym_map to determine whether the symbol is defined and to
24326 extract the TLS information.
24327 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24328 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24329
24330 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24331
24332 [BZ #22189]
24333 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24334 (math_force_eval): Add powerpc version.
24335
24336 [BZ #22142]
24337 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24338 -DBL_MAX.
24339 (do_test): Likewise.
24340 * stdio-common/tst-printf.sh: Likewise.
24341 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24342 ifdef clause in order to set the carry bit right. Replace r0 by
24343 0 without changing the behavior.
24344
24345 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24346
24347 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24348 <libm-alias-ldouble.h>.
24349 (fabsl): Define using libm_alias_ldouble.
24350 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24351 <libm-alias-ldouble.h>.
24352 (fabsl): Define using libm_alias_ldouble.
24353
24354 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24355 Remove conditional code.
24356
24357 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24358 Rename to __clog10_internal_l.
24359 (__clog10_internal_l): Define aliases using
24360 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24361 with __clog10.
24362
24363 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24364
24365 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24366 * benchtests/sincosf-inputs: New file.
24367 * benchtests/cosf-inputs: New file.
24368 * benchtests/sinf-inputs: New file.
24369
24370 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24371
24372 * posix/tst-spawn.c (do_test): Wait for both children.
24373
24374 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24375
24376 [BZ #22284]
24377 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24378 tests-pie): Add tst-gmon-pie.
24379 (CFLAGS-tst-gmon-pie.c): New.
24380 (CRT-tst-gmon-pie): Likewise.
24381 (tst-gmon-pie-ENV): Likewise.
24382 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24383 ($(objpfx)tst-gmon-pie.out): Likewise.
24384 (clean-tst-gmon-pie-data): Likewise.
24385 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24386 * gmon/gmon.c [PIC]: Include <link.h>.
24387 [PIC] (callback): New function.
24388 (write_hist): Add an argument for load address. Subtract load
24389 address from PCs.
24390 (write_call_graph): Likewise.
24391 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24392 it to write_hist and write_call_graph.
24393 * gmon/tst-gmon-pie.c: New file.
24394
24395 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24396
24397 * math/Makefile (test-types-basic): New variable.
24398 (test-types): Likewise.
24399 (libm-test-support): Use $(test-types) instead of $(types).
24400 (libm-tests-base-normal): Likewise.
24401 (libm-tests-base-finite): Likewise.
24402 (libm-tests-base-inline): Likewise.
24403 (generated): Likewise.
24404 ($(objpfx)libm-test-support-$(t).c): Likewise.
24405 (libm-tests-for-type iterator): Likewise.
24406 (libm-test-support iterator): Likewise.
24407 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24408 (ulp_idx): Use ULP_IDX.
24409 * math/test-ldouble.h: Include <float.h>.
24410 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24411 (ULP_IDX): New macro.
24412 (ULP_I_IDX): Likewise.
24413 * math/test-double.h (ULP_IDX): Likewise.
24414 (ULP_I_IDX): Likewise.
24415 * math/test-float.h (ULP_IDX): Likewise.
24416 (ULP_I_IDX): Likewise.
24417 * math/test-float128.h (ULP_IDX): Likewise.
24418 (ULP_I_IDX): Likewise.
24419
24420 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24421
24422 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24423 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24424 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24425 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24426 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24427 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24428 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24429 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24430 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24431 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24432 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24433 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24434 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24435 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24436 (SINGLE_THREAD_BY_GLOBAL): Define.
24437 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24438 Likewise.
24439 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24440 Likewise.
24441 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24442 Likewise.
24443 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24444 Likewise.
24445 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24446 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24448 Likewise.
24449
24450 2017-10-11 Andreas Schwab <schwab@suse.de>
24451
24452 * nis/Makefile (aux): Remove.
24453 * nscd/Makefile (aux): Add nscd_hash.
24454 (nscd-modules): Likewise.
24455 ($(objpfx)nscd): Don't depend on libnsl.
24456 * nscd/nscd_hash.c: New file.
24457 * nscd/nscd_hash.h: Likewise.
24458 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24459 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24460 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24461 instead of <nis/rpcsvc/nis.h>.
24462 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24463
24464 2017-10-11 Florian Weimer <fweimer@redhat.com>
24465
24466 [BZ #22078]
24467 Avoid large NSS buffers with many addresses, aliases.
24468 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24469 using dynarrays and struct alloc_buffer.
24470 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24471 (tst-nss-files-hosts-multi): Link with -ldl.
24472 * nss/tst-nss-files-hosts-multi.c: New file.
24473
24474 2017-10-11 Florian Weimer <fweimer@redhat.com>
24475
24476 [BZ #18023]
24477 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24478 scratch_buffer. Eliminate gotos.
24479
24480 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24481
24482 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24483 libm_alias_ldouble_other.
24484 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24485 undefine and redefine.
24486 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24487 (exp10l): Do not define here.
24488 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24489 (weak_alias): Undefine and redefine.
24490 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24491 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24492 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24493 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24494
24495 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24496 [!__fma] (fma): Define using libm_alias_double.
24497 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24498 [!__fmaf] (fmaf): Define using libm_alias_float.
24499 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24500 (fmal): Define using libm_alias_ldouble.
24501
24502 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24503
24504 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24505 New macro.
24506 (libm_alias_double_other): Likewise.
24507 (libm_alias_double_r): Use libm_alias_double_other_r.
24508 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24509 New macro.
24510 (libm_alias_float_other): Likewise.
24511 (libm_alias_float_r): Use libm_alias_float_other_r.
24512 * sysdeps/generic/libm-alias-float128.h
24513 (libm_alias_float128_other_r): New macro.
24514 (libm_alias_float128_other): Likewise.
24515 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24516 * sysdeps/generic/libm-alias-ldouble.h
24517 (libm_alias_ldouble_other_r): New macro.
24518 (libm_alias_ldouble_other): Likewise.
24519 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24520 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24521 (libm_alias_double_other_r): New macro.
24522 (libm_alias_double_other): Likewise.
24523 (libm_alias_double_r): Use libm_alias_double_other_r.
24524 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24525 (libm_alias_ldouble_other_r): New macro.
24526 (libm_alias_ldouble_other): Likewise.
24527 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24528 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24529 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24530 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24531 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24532 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24533 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24534 * math/w_exp2f.c: Use libm_alias_float_other.
24535 * math/w_expf.c: Likewise.
24536 * math/w_log2f.c: Likewise.
24537 * math/w_logf.c: Likewise.
24538 * math/w_powf.c: Likewise.
24539 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24540 [!__exp2f]: Use libm_alias_float_other.
24541 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24542 [!__expf]: Use libm_alias_float_other.
24543 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24544 [!__log2f]: Use libm_alias_float_other.
24545 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24546 [!__logf]: Use libm_alias_float_other.
24547 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24548 [!__powf]: Use libm_alias_float_other.
24549
24550 2017-10-10 Florian Weimer <fweimer@redhat.com>
24551
24552 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24553 function.
24554 (_nss_files_gethostbyname3_r): Call it.
24555
24556 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24557
24558 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24559 error. Remove default definition of declare_mgen_alias.
24560 [!declare_mgen_alias_r]: Likewise.
24561 * sysdeps/generic/math-type-macros-double.h
24562 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24563 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24564 (declare_mgen_alias_r): Likewise.
24565 * sysdeps/generic/math-type-macros-float128.h
24566 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24567 * sysdeps/generic/math-type-macros-ldouble.h
24568 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24569 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24570 macro.
24571 (declare_mgen_alias_r_s): Likewise.
24572 (declare_mgen_alias_r): Likewise.
24573 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24574 (lgamma_r): Define using libm_alias_double_r.
24575 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24576 (lgammaf_r): Define using libm_alias_float_r.
24577 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24578 (lgammal_r): Define using libm_alias_ldouble_r.
24579 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24580 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24581
24582 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24583
24584 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24585 extern declaration.
24586
24587 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24588
24589 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24590
24591 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24592
24593 [BZ #21326]
24594 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24595 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24596 * math/Makefile (test-math-cxx11): New test.
24597 * math/test-math-cxx11.cc: New file.
24598
24599 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24600
24601 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24602
24603 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24604 call to allocate the slave pty file descriptor.
24605
24606 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24607
24608 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24609 [!__fma] (fma): Define using libm_alias_double.
24610 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24611 [!__fma] (fma): Define using libm_alias_double.
24612
24613 * sysdeps/ieee754/float128/float128_private.h: Include
24614 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24615 (libm_alias_ldouble_r): Undefine and redefine.
24616 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24617 <libm-alias-ldouble.h>.
24618 (asinhl): Define using libm_alias_ldouble.
24619 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24620 <libm-alias-ldouble.h>.
24621 (atanl): Define using libm_alias_ldouble.
24622 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24623 <libm-alias-ldouble.h>.
24624 (cbrtl): Define using libm_alias_ldouble.
24625 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24626 <libm-alias-ldouble.h>.
24627 (ceill): Define using libm_alias_ldouble.
24628 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24629 <libm-alias-ldouble.h>.
24630 (copysignl): Define using libm_alias_ldouble.
24631 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24632 <libm-alias-ldouble.h>.
24633 (cosl): Define using libm_alias_ldouble.
24634 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24635 <libm-alias-ldouble.h>.
24636 (erfl): Define using libm_alias_ldouble.
24637 (erfcl): Likewise.
24638 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24639 <libm-alias-ldouble.h>.
24640 (expm1l): Define using libm_alias_ldouble.
24641 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24642 <libm-alias-ldouble.h>.
24643 (fabsl): Define using libm_alias_ldouble.
24644 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24645 <libm-alias-ldouble.h>.
24646 (floorl): Define using libm_alias_ldouble.
24647 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24648 <libm-alias-ldouble.h>.
24649 (fmal): Define using libm_alias_ldouble.
24650 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24651 <libm-alias-ldouble.h>.
24652 (frexpl): Define using libm_alias_ldouble.
24653 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24654 libm_alias_ldouble.
24655 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24656 <libm-alias-ldouble.h>.
24657 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24658 libm_alias_ldouble.
24659 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24660 <libm-alias-ldouble.h>.
24661 (getpayloadl): Define using libm_alias_ldouble.
24662 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24663 <libm-alias-ldouble.h>.
24664 (llrintl): Define using libm_alias_ldouble.
24665 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24666 <libm-alias-ldouble.h>.
24667 (llroundl): Define using libm_alias_ldouble.
24668 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24669 <libm-alias-ldouble.h>.
24670 (logbl): Define using libm_alias_ldouble.
24671 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24672 <libm-alias-ldouble.h>.
24673 (lrintl): Define using libm_alias_ldouble.
24674 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24675 <libm-alias-ldouble.h>.
24676 (lroundl): Define using libm_alias_ldouble.
24677 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24678 <libm-alias-ldouble.h>.
24679 (modfl): Define using libm_alias_ldouble.
24680 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24681 <libm-alias-ldouble.h>.
24682 (nearbyintl): Define using libm_alias_ldouble.
24683 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24684 <libm-alias-ldouble.h>.
24685 (nextafterl): Define using libm_alias_ldouble.
24686 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24687 <libm-alias-ldouble.h>.
24688 (nextupl): Define using libm_alias_ldouble.
24689 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24690 <libm-alias-ldouble.h>.
24691 (remquol): Define using libm_alias_ldouble.
24692 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24693 <libm-alias-ldouble.h>.
24694 (rintl): Define using libm_alias_ldouble.
24695 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24696 <libm-alias-ldouble.h>.
24697 (roundevenl): Define using libm_alias_ldouble.
24698 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24699 <libm-alias-ldouble.h>.
24700 (roundl): Define using libm_alias_ldouble.
24701 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24702 using libm_alias_ldouble.
24703 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24704 <libm-alias-ldouble.h>.
24705 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24706 Define using libm_alias_ldouble.
24707 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24708 <libm-alias-ldouble.h>.
24709 (sincosl): Define using libm_alias_ldouble.
24710 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24711 <libm-alias-ldouble.h>.
24712 (sinl): Define using libm_alias_ldouble.
24713 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24714 <libm-alias-ldouble.h>.
24715 (tanhl): Define using libm_alias_ldouble.
24716 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24717 <libm-alias-ldouble.h>.
24718 (tanl): Define using libm_alias_ldouble.
24719 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24720 <libm-alias-ldouble.h>.
24721 (totalorderl): Define using libm_alias_ldouble.
24722 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24723 <libm-alias-ldouble.h>.
24724 (totalordermagl): Define using libm_alias_ldouble.
24725 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24726 <libm-alias-ldouble.h>.
24727 (truncl): Define using libm_alias_ldouble.
24728 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24729 libm_alias_ldouble.
24730 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24731 libm_alias_ldouble.
24732 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
24733 <libm-alias-ldouble.h>.
24734 (weak_alias): Do not undefine and redefine.
24735 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24736 (copysignl): Define with long_double_symbol only if [IS_IN
24737 (libc)].
24738 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24739 <libm-alias-ldouble.h>.
24740 (weak_alias): Do not undefine and redefine.
24741 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24742 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24743 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
24744 <libm-alias-ldouble.h>.
24745 (weak_alias): Do not undefine and redefine.
24746 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24747 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24748 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24749 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24750 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24751 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24752 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24753 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24754 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24755 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24756 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24757 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24758 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24759 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24760 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24761 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24762 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24763 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24764 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24765 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24766 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24767 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24768 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24769 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24770 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24771 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24772
24773 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24774
24775 [BZ #22111]
24776 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24777 (tcache_thread_freeres): Set tcache_shutting_down before
24778 freeing the tcache.
24779 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24780 * malloc/tst-malloc-tcache-leak.c: New file.
24781
24782 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24783
24784 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24785 back to powerpc32 file.
24786 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24787 (memrchr): Add __memrchr_power8 to ifunc list.
24788 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24789 extra bytes for unaligned inputs.
24790
24791 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24792
24793 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24794 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24795 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24796 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24797 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24798
24799 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24800
24801 * sysdeps/arm/libm-test-ulps: Update.
24802
24803 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24804 <libm-alias-ldouble.h>.
24805 (asinhl): Define using libm_alias_ldouble.
24806 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24807 <libm-alias-ldouble.h>.
24808 (cbrtl): Define using libm_alias_ldouble.
24809 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24810 <libm-alias-ldouble.h>.
24811 (copysignl): Define using libm_alias_ldouble.
24812 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24813 <libm-alias-ldouble.h>.
24814 (cosl): Define using libm_alias_ldouble.
24815 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24816 <libm-alias-ldouble.h>.
24817 (erfl): Define using libm_alias_ldouble.
24818 (erfcl): Likewise.
24819 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24820 <libm-alias-ldouble.h>.
24821 (fmal): Define using libm_alias_ldouble.
24822 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24823 <libm-alias-ldouble.h>.
24824 (frexpl): Define using libm_alias_ldouble.
24825 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24826 libm_alias_ldouble.
24827 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24828 <libm-alias-ldouble.h>.
24829 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24830 libm_alias_ldouble.
24831 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24832 <libm-alias-ldouble.h>.
24833 (getpayloadl): Define using libm_alias_ldouble.
24834 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24835 <libm-alias-ldouble.h>.
24836 (llrintl): Define using libm_alias_ldouble.
24837 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24838 <libm-alias-ldouble.h>.
24839 (llroundl): Define using libm_alias_ldouble.
24840 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24841 <libm-alias-ldouble.h>.
24842 (lrintl): Define using libm_alias_ldouble.
24843 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24844 <libm-alias-ldouble.h>.
24845 (lroundl): Define using libm_alias_ldouble.
24846 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24847 <libm-alias-ldouble.h>.
24848 (modfl): Define using libm_alias_ldouble.
24849 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24850 <libm-alias-ldouble.h>.
24851 (nextupl): Define using libm_alias_ldouble.
24852 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24853 <libm-alias-ldouble.h>.
24854 (remquol): Define using libm_alias_ldouble.
24855 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24856 <libm-alias-ldouble.h>.
24857 (roundevenl): Define using libm_alias_ldouble.
24858 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24859 <libm-alias-ldouble.h>.
24860 (roundl): Define using libm_alias_ldouble.
24861 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24862 using libm_alias_ldouble.
24863 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24864 <libm-alias-ldouble.h>.
24865 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24866 <libm-alias-ldouble.h>.
24867 (setpayloadsigl): Define using libm_alias_ldouble.
24868 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24869 <libm-alias-ldouble.h>.
24870 (sincosl): Define using libm_alias_ldouble.
24871 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24872 <libm-alias-ldouble.h>.
24873 (sinl): Define using libm_alias_ldouble.
24874 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24875 <libm-alias-ldouble.h>.
24876 (tanhl): Define using libm_alias_ldouble.
24877 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24878 <libm-alias-ldouble.h>.
24879 (tanl): Define using libm_alias_ldouble.
24880 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24881 <libm-alias-ldouble.h>.
24882 (totalorderl): Define using libm_alias_ldouble.
24883 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24884 <libm-alias-ldouble.h>.
24885 (totalordermagl): Define using libm_alias_ldouble.
24886 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24887 libm_alias_ldouble.
24888 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24889 libm_alias_ldouble.
24890
24891 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24892
24893 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24894 memmove_falkor.
24895 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24896 (__libc_ifunc_impl_list): Likewise.
24897 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24898 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24899
24900 * benchtests/bench-memmove-walk.c: New file.
24901 * benchtests/Makefile (string-benchset): Add it.
24902
24903 * benchtests/bench-memset-walk.c: New file.
24904 * benchtests/Makefile (string-benchset): Add it.
24905
24906 * benchtests/bench-memcpy-walk.c: New file.
24907 * benchtests/Makefile (string-benchset): Add it.
24908
24909 2017-10-05 Florian Weimer <fweimer@redhat.com>
24910
24911 nscd: Eliminate compilation time dependency in the build output.
24912 * nscd/nscd_stat.c (STATDATA_VERSION)
24913 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24914 (STATDATA_VERSION_FULL): New macro definitions.
24915 (compilation): Remove.
24916 (struct statdata): Adjust version member.
24917 (send_stats): Set version from STATDATA_VERSION_FULL.
24918 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24919
24920 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24921
24922 * configure.ac (--enable-add-ons): Remove option.
24923 (machine): Do not mention add-ons in comment.
24924 (LIBC_PRECONFIGURE): Likewise.
24925 (add_ons): Remove variable and sanity checks and logic to locate
24926 add-ons.
24927 (add_ons_automatic): Remove variable.
24928 (configured_add_ons): Likewise.
24929 (add_ons_sfx): Likewise.
24930 (add_ons_pfx): Likewise.
24931 (add_on_subdirs): Likewise.
24932 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24933 consideration of add-ons in Implies handling.
24934 (sysdeps_add_ons): Likewise.
24935 * configure: Regenerated.
24936 * libidn/configure.ac: Remove.
24937 * libidn/configure: Likewise.
24938 * sysdeps/unix/inet/configure.ac: New file.
24939 * sysdeps/unix/inet/configure: New generated file.
24940 * sysdeps/unix/inet/Subdirs: Add libidn.
24941 * Makeconfig (sysdeps-srcdirs): Remove variable.
24942 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24943 ($(common-objpfx)config.status): Do not depend on add-on files.
24944 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24945 comment.
24946 (all-subdirs): Do not include $(add-on-subdirs).
24947 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24948 * config.make.in (add-ons): Remove variable.
24949 (add-on-subdirs): Likewise.
24950 (sysdeps-add-ons): Likewise.
24951 * manual/Makefile (add-chapters): Remove.
24952 ($(objpfx)texis): Do not depend on $(add-chapters).
24953 (nonexamples): Do not handle $(add-chapters).
24954 (examples): Do not handle $(add-ons).
24955 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24956 libc-texinfo.sh.
24957 * manual/install.texi (Installation): Do not mention add-ons.
24958 (--enable-add-ons): Do not document configure option.
24959 * INSTALL: Regenerated.
24960 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24961 * manual/maint.texi (Hierarchy Conventions): Do not mention
24962 add-ons.
24963 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24964 --enable-add-ons.
24965 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24966 add-ons.
24967 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24968 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24969
24970 2017-10-05 Andreas Schwab <schwab@suse.de>
24971
24972 [BZ #15142]
24973 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24974 (_IO_flush_all_lockp): Always lock list_all_lock.
24975 (_IO_flush_all_linebuffered): Likewise.
24976 (_IO_unbuffer_all): Likewise.
24977
24978 2017-10-05 Florian Weimer <fweimer@redhat.com>
24979
24980 [BZ #15436]
24981 Do not flush stdio streams on abort.
24982 * stdlib/abort.c (fflush): Remove macro definition.
24983 (abort): Remove stages related to stdio flushing.
24984
24985 2017-10-05 Florian Weimer <fweimer@redhat.com>
24986
24987 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24988
24989 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24990
24991 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24992
24993 2017-10-05 Florian Weimer <fweimer@redhat.com>
24994
24995 * support/support_format_hostent.c (support_format_hostent): Add
24996 more error information for NETDB_INTERNAL.
24997
24998 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24999
25000 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25001 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25002 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25003 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25004 AC_DEFINE if multi-arch is enabled.
25005 * sysdeps/i386/configure: Regenerated.
25006
25007 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25008
25009 * Makeconfig (+link-static-before-libc): Use
25010 $(DEFAULT-LDFLAGS-$(@F)).
25011 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25012 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25013 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25014
25015 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25016
25017 * elf/Makefile (tests): Add tst-main1.
25018 (modules-names): Add tst-main1mod.
25019 ($(objpfx)tst-main1): New.
25020 (CRT-tst-main1): Likewise.
25021 (LDFLAGS-tst-main1): Likewise.
25022 (LDLIBS-tst-main1): Likewise.
25023 (tst-main1mod.so-no-z-defs): Likewise.
25024 * elf/tst-main1.c: New file.
25025 * elf/tst-main1mod.c: Likewise.
25026
25027 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25028
25029 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25030
25031 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25032
25033 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25034 (fma): Define using libm_alias_double.
25035 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
25036 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
25037 <math_ldbl_opt.h>.
25038 (fmal): Do not define as compat symbol here.
25039 * sysdeps/alpha/fpu/s_fma.c: New file.
25040
25041 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25042
25043 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
25044
25045 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25046
25047 [BZ #22229]
25048 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25049 <math_ldbl_opt.h>
25050 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25051 and libc.
25052 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
25053 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25054 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
25055 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
25056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25057 Include <math_ldbl_opt.h>
25058 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25059 and libc.
25060 (compat_symbol): Undefine and redefine.
25061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25062 <math_ldbl_opt.h>
25063 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25064 (compat_symbol): Undefine and redefine.
25065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25066 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25067 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25068 GLIBC_2_1 for libm.
25069 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25070 GLIBC_2.0 copysignl symbol.
25071 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25072 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25073
25074 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25075
25076 2017-10-04 Florian Weimer <fweimer@redhat.com>
25077
25078 * scripts/check-local-headers.sh: Ignore nspr4 header file
25079 directory in addition to nspr.
25080
25081 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
25082
25083 [BZ #17956]
25084 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25085 * configure: Regenerate.
25086 * crypt/Makefile (nss-cpp-flags): New variable.
25087 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25088 (CPPFLAGS-md5-crypt.c): Use it.
25089 * scripts/check-local-headers.sh: Ignore nspr header file
25090 directory.
25091
25092 2017-10-04 Andreas Schwab <schwab@suse.de>
25093
25094 * nis/Makefile (services): Remove compat.
25095 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25096 ($(objpfx)libnss_compat.so): Remove rule.
25097 * nis/Versions (libnss_compat): Remove.
25098 * nss/Makefile (services): Add compat.
25099 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25100 * nss/Versions (libnss_compat): Define.
25101 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25102 Don't include <rpc/types.h>. Replace bool_t by bool.
25103 * nss/nss_compat/compat-initgroups.c: Likewise.
25104 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25105 instead of <rpcsrv/ypclnt.h>.
25106 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25107 yp_get_default_domain.
25108 * nss/nss_compat/compat-pwd.c: Likewise.
25109 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25110 yp_get_default_domain.
25111 * nss/nss_compat/nisdomain.c: New file.
25112 * nss/nss_compat/nisdomain.h: Likewise.
25113
25114 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25115
25116 [BZ #22244]
25117 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25118 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25119
25120 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25121
25122 [BZ #22243]
25123 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25124 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25125
25126 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25127
25128 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25129 "movl main@GOTOFF(%ebx), %eax".
25130
25131 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25132
25133 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25134 allow undefined _DYNAMIC in PIE libc.a.
25135 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25136 Likewse.
25137
25138 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25139
25140 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25141 check _DYNAMIC.
25142
25143 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25144
25145 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25146 check _DYNAMIC.
25147
25148 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25149
25150 * math/test-math-iscanonical.cc (error): Replace bool with int.
25151
25152 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25153
25154 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25155 (modf): Define using libm_alias_double, only if [!__modf].
25156 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25157 <libm-alias-double.h>.
25158 (modf): Define using libm_alias_double, only if [!__modf].
25159 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25160 compat symbol here.
25161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25162 (weak_alias): Do not undefine and redefine.
25163 (strong_alias): Likewise.
25164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25165 (weak_alias): Likewise.
25166 (strong_alias): Likewise.
25167
25168 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25169 (logb): Define using libm_alias_double, only if [!__logb].
25170 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25171 <libm-alias-double.h>.
25172 (logb): Define using libm_alias_double, only if [!__logb].
25173 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25175 (weak_alias): Do not undefine and redefine.
25176 (strong_alias): Likewise.
25177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25178 (weak_alias): Likewise.
25179 (strong_alias): Likewise.
25180
25181 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25182
25183 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25184 Check SHARED instead PIC.
25185
25186 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25187
25188 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25189 [!__fmaf] (fmaf): Define using libm_alias_float.
25190
25191 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25192 (frexp): Define using libm_alias_double.
25193 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25194 <libm-alias-double.h>.
25195 (frexp): Define using libm_alias_double.
25196 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25197 compat symbol here.
25198
25199 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25200
25201 [BZ #22235]
25202 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25203 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25204 (CFLAGS-test-math-iscanonical.cc): New variable.
25205 * math/test-math-iscanonical.cc: New file.
25206 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25207 Provide a C++ implementation based on function overloading,
25208 rather than using __MATH_TG, which uses C-only builtins.
25209 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25210 Likewise.
25211 * sysdeps/powerpc/powerpc64le/Makefile
25212 (CFLAGS-test-math-iscanonical.cc): New variable.
25213
25214 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25215
25216 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25217 (ceil): Define using libm_alias_double.
25218 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25219 (floor): Define using libm_alias_double.
25220 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25221 <libm-alias-double.h>.
25222 (llround): Define using libm_alias_double.
25223 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25224 <libm-alias-double.h>.
25225 (lround): Define using libm_alias_double.
25226 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25227 <libm-alias-double.h>.
25228 (nearbyint): Define using libm_alias_double.
25229 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25230 <libm-alias-double.h>.
25231 (remquo): Define using libm_alias_double.
25232 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25233 (rint): Define using libm_alias_double.
25234 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25235 (round): Define using libm_alias_double.
25236 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25237 (trunc): Define using libm_alias_double.
25238 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25239 <libm-alias-double.h>.
25240 (ceil): Define using libm_alias_double.
25241 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25242 <libm-alias-double.h>.
25243 (floor): Define using libm_alias_double.
25244 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25245 <libm-alias-double.h>.
25246 (llround): Define using libm_alias_double.
25247 [_LP64] (lround): Likewise.
25248 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25249 <libm-alias-double.h>.
25250 [!_LP64] (lround): Define using libm_alias_double.
25251 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25252 <libm-alias-double.h>.
25253 (nearbyint): Define using libm_alias_double.
25254 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25255 <libm-alias-double.h>.
25256 (remquo): Define using libm_alias_double.
25257 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25258 <libm-alias-double.h>.
25259 (rint): Define using libm_alias_double.
25260 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25261 <libm-alias-double.h>.
25262 (round): Define using libm_alias_double.
25263 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25264 <libm-alias-double.h>.
25265 (trunc): Define using libm_alias_double.
25266 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25267 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25268 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25269 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25270 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25271 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25272 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25273 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25274 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25275
25276 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25277
25278 * math/w_remainder.c: New file.
25279 * math/w_remainderf.c: New file.
25280 * math/w_remainderl.c: New file.
25281
25282 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25283
25284 * elf/rtld.c (BOOTSTRAP_MAP): New.
25285 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25286 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25287 Likewise.
25288 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25289 Likewise.
25290 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25291 Likewise.
25292
25293 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25294
25295 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25296 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25297 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25298 rtld_hidden_data_ver): Define to empty.
25299 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25300 __assert_perror_fail): Likewise.
25301 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25302 (__rewinddir): Likewise.
25303 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25304 (__profile_frequency): Likewise.
25305 * include/setjmp.h (__sigsetjmp): Likewise.
25306 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25307 __libc_sigaction): Likewise.
25308 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25309 not set hidden attribute.
25310 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25311 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25312 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25313 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25314 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25315 __fxstatat64): Likewise.
25316 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25317 (__uname): Likewise.
25318 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25319 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25320 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25321 (NO_RTLD_HIDDEN): Set.
25322 * sysdeps/mach/hurd/configure: Refresh.
25323 * config.h.in: Refresh.
25324
25325 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25326
25327 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25328 (atan): Define using libm_alias_double.
25329 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25330 (tan): Define using libm_alias_double.
25331 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25332 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25333
25334 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25335 define as weak alias of __atan. Do not define any aliases if
25336 [__atan].
25337 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25338 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25339 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25340 as weak alias of __tan. Do not define any aliases if [__tan].
25341 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25342 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25343 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25344 __atan.
25345 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25346 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25347 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25348 and define as weak alias of __atan.
25349 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25350 __atan.
25351 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25352 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25353 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25354 define as weak alias of __tan.
25355
25356 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25357
25358 * math/w_lgamma.c: New file.
25359 * math/w_lgammaf.c: New file.
25360 * math/w_lgammal.c: New file.
25361
25362 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25363
25364 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25365 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25366 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25367 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25368 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25369 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25370 * sysdeps/i386/fpu/w_log2f.c: New file.
25371 * sysdeps/i386/fpu/w_logf.c: New file.
25372 * sysdeps/i386/fpu/w_powf.c: New file.
25373 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25374 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25375 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25376
25377 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25378 H.J. Lu <hongjiu.lu@intel.com>
25379
25380 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25381 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25382 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25383 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25384 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25385 the new expf code.
25386 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25387 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25388 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25389 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25390 * sysdeps/i386/fpu/w_exp2f.c: New file.
25391 * sysdeps/i386/fpu/w_expf.c: New file.
25392 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25393 * sysdeps/x86_64/fpu/w_expf.c: New file.
25394
25395 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25396
25397 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25398 (log2f): Likewise.
25399 (powf): Likewise.
25400 * math/w_log2f.c: New file.
25401 * math/w_logf.c: New file.
25402 * math/w_powf.c: New file.
25403 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25404 * math/w_logf_compat.c (__logf_compat): Likewise.
25405 * math/w_powf_compat.c (__powf_compat): Likewise.
25406 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25407 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25408 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25409 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25410 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25411 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25412 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25413 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25414 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25415 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25416 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25417 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25418 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25419 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25420 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25422 Likewise.
25423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25424 Likewise.
25425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25426 Likewise.
25427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25428 Likewise.
25429 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25430 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25431 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25432 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25433 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25435 Likewise.
25436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25437 Likewise.
25438 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25439 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25440 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25441
25442 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25443
25444 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25445 (sysdep_routines): Add memrchr_power8.
25446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25447 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25448 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25449 New file.
25450 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25451 (memrchr): Add __memrchr_power8 to ifunc list.
25452 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25453
25454 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25455
25456 [BZ #18822]
25457 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25458 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25459 libc_hidden_def.
25460 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25461 (__posix_fallocate64_l64): Likewise.
25462
25463 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25464
25465 [BZ #18822]
25466 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25467 (__sched_setaffinity_new): Add libc_hidden_proto and
25468 libc_hidden_def.
25469
25470 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25471
25472 [BZ #18822]
25473 * include/glob.h (__glob64): Add libc_hidden_proto.
25474 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25475 libc_hidden_def.
25476
25477 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25478
25479 [BZ #18822]
25480 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25481 attribute_hidden.
25482
25483 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25484
25485 [BZ #18822]
25486 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25487
25488 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25489
25490 [BZ #18822]
25491 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25492 libc_hidden_def.
25493
25494 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25495
25496 [BZ #18822]
25497 * csu/version.c (__libc_print_version): Add attribute_hidden.
25498
25499 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25500
25501 [BZ #18822]
25502 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25503
25504 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25505
25506 [BZ #18822]
25507 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25508
25509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25510
25511 [BZ #18822]
25512 * nscd/nscd_helper.c (__nis_hash): New prototype.
25513
25514 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25515
25516 [BZ #18822]
25517 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25518 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25519 libc_hidden_def.
25520 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25521 * termios/tcgetattr.c (__tcgetattr): Likewise.
25522
25523 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25524
25525 [BZ #18822]
25526 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25527 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25528 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25529 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25530 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25531
25532 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25533
25534 [BZ #18822]
25535 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25536
25537 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25538
25539 [BZ #18822]
25540 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25541 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25542
25543 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25544
25545 [BZ #18822]
25546 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25547
25548 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25549
25550 [BZ #18822]
25551 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25552 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25553
25554 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25555
25556 [BZ #18822]
25557 * include/ifreq.h: New file.
25558 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25559 (__ifreq): Likewise.
25560 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25561 (__ifreq): Likewise.
25562
25563 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25564
25565 [BZ #18822]
25566 * include/idna.h: New file.
25567 * inet/getnameinfo.c: Include <idna.h> instead of
25568 <libidn/idna.h>.
25569 (__idna_to_unicode_lzlz): Removed.
25570 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25571 <libidn/idna.h>.
25572 (__idna_to_ascii_lz): Removed.
25573 (__idna_to_unicode_lzlz): Likewise.
25574
25575 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25576
25577 [BZ #18822]
25578 * include/plural-exp.h: New file.
25579 * intl/plural-exp.c: Include <plural-exp.h> instead of
25580 "plural-exp.h".
25581
25582 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25583
25584 [BZ #18822]
25585 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25586 "getsourcefilter.h".
25587 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25588 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25589 "getsourcefilter.h".
25590 (__get_sol): Removed.
25591
25592 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25593
25594 [BZ #18822]
25595 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25596 to ...
25597 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25598
25599 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25600
25601 [BZ #18822]
25602 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25603 attribute_hidden.
25604
25605 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25606
25607 [BZ #18822]
25608 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25609
25610 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25611
25612 [BZ #18822]
25613 * include/search.h (__tdestroy): Add libc_hidden_proto.
25614 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25615
25616 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25617
25618 [BZ #18822]
25619 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25620
25621 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25622
25623 [BZ #18822]
25624 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25625 attribute_hidden.
25626
25627 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25628
25629 [BZ #18822]
25630 * include/signal.h (__kill): Add libc_hidden_proto.
25631 (__sigblock): Likewise.
25632 (__sigprocmask): Likewise.
25633 (__sigaltstack): Likewise.
25634 * signal/kill.c (__kill): Add libc_hidden_def.
25635 * signal/sigblock.c (__sigblock): Likewise.
25636 * signal/sigprocmask.c (__sigprocmask): Likewise.
25637 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25638 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25639 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25640 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25641 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25642 Likewise.
25643 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25644 Likewise.
25645 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25646 (__sigprocmask): Likewise.
25647 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25648 Likewise.
25649 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25650 (__sigprocmask): Likewise.
25651 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25652 Likewise.
25653
25654 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25655
25656 [BZ #18822]
25657 * include/string.h (__strsep): Add libc_hidden_proto.
25658 * string/strsep.c (__strsep): Add libc_hidden_def.
25659
25660 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25661
25662 [BZ #18822]
25663 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25664 attribute_hidden.
25665 (__spawni): Likewise.
25666
25667 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25668
25669 [BZ #18822]
25670 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25671 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25672 libc_hidden_def.
25673
25674 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25675
25676 [BZ #18822]
25677 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25678
25679 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25680
25681 [BZ #18822]
25682 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25683 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25684 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25685 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25686 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25687 Likewise.
25688 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25689 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25690
25691 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25692
25693 [BZ #18822]
25694 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25695 (__dcigettext): Likewise.
25696
25697 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25698
25699 [BZ #18822]
25700 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25701 libc_hidden_proto.
25702 (__get_nprocs): Likewise.
25703 (__get_phys_pages): Likewise.
25704 (__get_avphys_pages): Likewise.
25705 (__get_child_max): Add attribute_hidden.
25706 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25707 (__get_nprocs): Likewise.
25708 (__get_phys_pages): Likewise.
25709 (__get_avphys_pages): Likewise.
25710 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25711 libc_hidden_def.
25712 (__get_nprocs): Likewise.
25713 (__get_phys_pages): Likewise.
25714 (__get_avphys_pages): Likewise.
25715 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25716 libc_hidden_def.
25717 (__get_nprocs_conf): Likewise.
25718 (__get_phys_pages): Likewise.
25719 (__get_avphys_pages): Likewise.
25720
25721 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25722
25723 [BZ #18822]
25724 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25725 attribute_hidden.
25726 (__netlink_close): Likewise.
25727 (__netlink_free_handle): Likewise.
25728 (__netlink_request): Likewise.
25729
25730 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25731
25732 [BZ #18822]
25733 * include/rpc/rpc.h (__rpc_thread_variables): Add
25734 attribute_hidden.
25735 (__rpc_thread_svc_cleanup): Likewise.
25736 (__rpc_thread_clnt_cleanup): Likewise.
25737 (__rpc_thread_key_cleanup): Likewise.
25738
25739 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25740
25741 [BZ #18822]
25742 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25743 (__writev): Likewise.
25744 * misc/readv.c (__readv): Add libc_hidden_def.
25745 * misc/writev.c (__writev): Likewise.
25746 * sysdeps/posix/readv.c (__readv): Likewise.
25747 * sysdeps/posix/writev.c (__writev): Likewise.
25748 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25749 (__readv): Likewise.
25750 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25751 (__writev): Likewise.
25752
25753 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25754
25755 [BZ #18822]
25756 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25757 (__regcomp): Add libc_hidden_proto.
25758 (__regexec): Likewise.
25759 (__regfree): Likewise.
25760 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25761 (__regfree): Likewise.
25762 * posix/regexec.c (__regexec): Likewise.
25763
25764 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25765
25766 [BZ #18822]
25767 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25768 (__getutent): Likewise.
25769 (__getutid): Likewise.
25770 (__getutline): Likewise.
25771 (__pututline): Likewise.
25772 (__getutent_r): Likewise.
25773 (__getutid_r): Likewise.
25774 (__getutline_r): Likewise.
25775 (__utmpname): Add attribute_hidden.
25776 (__setutent): Likewise.
25777 (__endutent): Likewise.
25778 * login/getutent.c (__getutent): Add libc_hidden_def.
25779 * login/getutent_r.c (__getutent_r): Likewise.
25780 (__pututline): Likewise.
25781 * login/getutid.c (__getutid): Likewise.
25782 * login/getutid_r.c (__getutid_r): Likewise.
25783 * login/getutline.c (__getutline): Likewise.
25784 * login/getutline_r.c (__getutline_r): Likewise.
25785 * login/updwtmp.c (__updwtmp): Likewise.
25786
25787 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25788
25789 [BZ #18822]
25790 * include/dirent.h (__opendir): Always add attribute_hidden.
25791 (__fdopendir): Likewise.
25792 (__closedir): Likewise.
25793 (__readdir): Likewise.
25794 (__readdir64): Add libc_hidden_proto.
25795 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25796 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25797 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25798 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25799 New alias.
25800
25801 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25802
25803 [BZ #18822]
25804 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25805 * include/netdb.h (__gethostbyaddr_r): Likewise.
25806 (__gethostbyname_r): Likewise.
25807 (__gethostbyname2_r): Likewise.
25808 (__getnetbyaddr_r): Likewise.
25809 (__getnetbyname_r): Likewise.
25810 (__getservbyname_r): Likewise.
25811 (__getservbyport_r): Likewise.
25812 (__getprotobyname_r): Likewise.
25813 (__getprotobynumber_r): Likewise.
25814 (__getnetgrent_r): Likewise.
25815 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25816 (__getrpcbynumber_r): Likewise.
25817 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25818
25819 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25820
25821 [BZ #18822]
25822 * include/stdio.h (__fcloseall): Add attribute_hidden.
25823 (__getline): Likewise.
25824 (__path_search): Likewise.
25825 (__gen_tempname): Likewise.
25826 (__libc_message): Likewise.
25827 (__flockfile): Likewise.
25828 (__funlockfile): Likewise.
25829 (__fxprintf): Likewise.
25830 (__fxprintf_nocancel): Likewise.
25831
25832 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25833
25834 [BZ #18822]
25835 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25836 (__sgetsgent_r): Likewise.
25837
25838 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25839
25840 [BZ #18822]
25841 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25842 (__statfs64): Likewise.
25843 (__fstatfs64): Likewise.
25844 * include/sys/statvfs.h (__statvfs64): Likewise.
25845 (__fstatvfs64): Likewise.
25846 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25847 (__statfs_filesize_max): Likewise.
25848 (__statfs_symlinks): Likewise.
25849 (__statfs_chown_restricted): Likewise.
25850
25851 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25852
25853 [BZ #18822]
25854 * include/time.h (__tzstring): Add attribute_hidden.
25855 (__tzfile_read): Likewise.
25856 (__tzfile_compute): Likewise.
25857 (__tzfile_default): Likewise.
25858 (__tzset_parse_tz): Likewise.
25859 (__offtime): Likewise.
25860 (__asctime_r): Likewise.
25861 (__tzset): Likewise.
25862 (__tz_convert): Likewise.
25863 (__getdate_r): Likewise.
25864 (__getclktck): Likewise.
25865
25866 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25867
25868 [BZ #18822]
25869 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25870 (__nscd_unmap): Likewise.
25871 (__nscd_cache_search): Likewise.
25872 (__nscd_get_nl_timestamp): Likewise.
25873 (__nscd_getpwnam_r): Likewise.
25874 (__nscd_getpwuid_r): Likewise.
25875 (__nscd_getgrnam_r): Likewise.
25876 (__nscd_getgrgid_r): Likewise.
25877 (__nscd_gethostbyname_r): Likewise.
25878 (__nscd_gethostbyname2_r): Likewise.
25879 (__nscd_gethostbyaddr_r): Likewise.
25880 (__nscd_getai): Likewise.
25881 (__nscd_getgrouplist): Likewise.
25882 (__nscd_getservbyname_r): Likewise.
25883 (__nscd_getservbyport_r): Likewise.
25884 (__nscd_innetgr): Likewise.
25885 (__nscd_setnetgrent): Likewise.
25886
25887 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25888
25889 [BZ #18822]
25890 * include/gmp.h: Declare internal functions only if _ISOMAC is
25891 undefined.
25892 (__mpn_extract_double): Add attribute_hidden.
25893 (__mpn_extract_long_double): Likewise.
25894 (__mpn_extract_float128): Likewise.
25895 (__mpn_construct_float): Likewise.
25896 (__mpn_construct_double): Likewise.
25897 (__mpn_construct_long_double): Likewise.
25898 (__mpn_construct_float128): Likewise.
25899 (mpn_add_1): Likewise.
25900 (mpn_addmul_1): Likewise.
25901 (mpn_add_n): Likewise.
25902 (mpn_cmp): Likewise.
25903 (mpn_divrem): Likewise.
25904 (mpn_lshift): Likewise.
25905 (mpn_mul): Likewise.
25906 (mpn_mul_1): Likewise.
25907 (mpn_rshift): Likewise.
25908 (mpn_sub_1): Likewise.
25909 (mpn_submul_1): Likewise.
25910 (mpn_sub_n): Likewise.
25911
25912 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25913
25914 [BZ #18822]
25915 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25916 (__wcscat): Likewise.
25917 (__btowc): Likewise.
25918 (__wcrtomb): Likewise.
25919 (__mbsrtowcs): Likewise.
25920 (__wcsrtombs): Likewise.
25921 (__mbsnrtowcs): Likewise.
25922 (__wcsnrtombs): Likewise.
25923 (__wcsncpy): Likewise.
25924 (__wcpncpy): Likewise.
25925 (__wmemcpy): Likewise.
25926 (__wmempcpy): Likewise.
25927 (__wmemmove): Likewise.
25928 (__wcschrnul): Likewise.
25929 (__vfwscanf): Likewise.
25930 (__vswprintf): Likewise.
25931 (__fwprintf): Likewise.
25932 (__vfwprintf): Likewise.
25933
25934 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25935
25936 [BZ #18822]
25937 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25938 (__getgrgid_r): Likewise.
25939 (__getgrnam_r): Likewise.
25940 * include/pwd.h (__getpwuid_r): Likewise.
25941 (__getpwnam_r): Likewise.
25942 (__fgetpwent_r): Likewise.
25943 * include/shadow.h (__getspnam_r): Likewise.
25944 (__sgetspent_r): Likewise.
25945 (__fgetspent_r): Likewise.
25946
25947 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25948
25949 [BZ #18822]
25950 * include/unistd.h (__access): Add attribute_hidden.
25951 (__lseek64): Likewise.
25952 (__libc_pread64): Likewise.
25953 (__pipe2): Likewise.
25954 (__sleep): Likewise.
25955 (__chdir): Likewise.
25956 (__fchdir): Likewise.
25957 (__getcwd): Likewise.
25958 (__rmdir): Likewise.
25959 (__execvpe): Likewise.
25960 (__execve): Likewise.
25961 (__setsid): Likewise.
25962 (__getuid): Likewise.
25963 (__geteuid): Likewise.
25964 (__getgid): Likewise.
25965 (__getegid): Likewise.
25966 (__getgroups): Likewise.
25967 (__group_member): Likewise.
25968 (__ttyname_r): Likewise.
25969 (__isatty): Likewise.
25970 (__readlink): Likewise.
25971 (__unlink): Likewise.
25972 (__gethostname): Likewise.
25973 (__profil): Likewise.
25974 (__getdtablesize): Likewise.
25975 (__brk): Likewise.
25976 (__ftruncate): Likewise.
25977 (__ftruncate64): Likewise.
25978
25979 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25980
25981 [BZ #18822]
25982 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25983 * argp/argp-fs-xinl.c: Likewise.
25984 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25985 * argp/argp-parse.c: Include <argp.h>.
25986 * argp/argp-xinl.c: Likewise.
25987 * include/argp-fmtstream.h: New file.
25988 * include/argp.h (__argp_error): Add attribute_hidden.
25989 (__argp_failure): Likewise.
25990 (__argp_input): Likewise.
25991 (__argp_state_help): Likewise.
25992
25993 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25994
25995 [BZ #18822]
25996 * include/wchar.h (____wcstof_l_internal): New prototype.
25997 (____wcstod_l_internal): Likewise.
25998 (____wcstold_l_internal): Likewise.
25999 (____wcstol_l_internal): Likewise.
26000 (____wcstoul_l_internal): Likewise.
26001 (____wcstoll_l_internal): Likewise.
26002 (____wcstoull_l_internal): Likewise.
26003 (____wcstof128_l_internal): Likewise.
26004 * sysdeps/ieee754/float128/wcstof128.c
26005 (____wcstof128_l_internal): Removed.
26006 * sysdeps/ieee754/float128/wcstof128_l.c
26007 (____wcstof128_l_internal): Likewise.
26008 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26009 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26010 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26011 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26012 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26013 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26014 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26015 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26016 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26017 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26018
26019 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26020
26021 [BZ #18822]
26022 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26023 instead of <sys/statvfs.h>.
26024 (__internal_statvfs): Removed.
26025 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26026 instead of <sys/statvfs.h>.
26027 (__internal_statvfs64): Removed.
26028 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26029 "internal_statvfs.h" instead of <sys/statvfs.h>.
26030 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26031 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26032 instead of <sys/statvfs.h>.
26033 (__internal_statvfs): Removed.
26034 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
26035 instead of <sys/statvfs.h>.
26036 (__internal_statvfs64): Removed.
26037
26038 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26039
26040 [BZ #18822]
26041 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
26042 (__gconv_close): Likewise.
26043 (__gconv): Likewise.
26044 (__gconv_find_transform): Likewise.
26045 (__gconv_lookup_cache): Likewise.
26046 (__gconv_compare_alias_cache): Likewise.
26047 (__gconv_load_cache): Likewise.
26048 (__gconv_get_path): Likewise.
26049 (__gconv_close_transform): Likewise.
26050 (__gconv_release_cache): Likewise.
26051 (__gconv_find_shlib): Likewise.
26052 (__gconv_release_shlib): Likewise.
26053 (__gconv_get_builtin_trans): Likewise.
26054 (__gconv_compare_alias): Likewise.
26055 * include/dlfcn.h (_dlerror_run): Likewise.
26056 * include/stdio.h (__fortify_fail_abort): Likewise.
26057 * include/time.h (__tz_compute): Likewise.
26058 (__strptime_internal): Likewise.
26059 * intl/gettextP.h (_nl_find_domain): Likewise.
26060 (_nl_load_domain): Likewise.
26061 (_nl_find_msg): Likewise.
26062 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26063 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26064 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26065 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26066 (__gai_find_request): Likewise.
26067 (__gai_remove_request): Likewise.
26068 (__gai_notify): Likewise.
26069 (__gai_notify_only): Likewise.
26070 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26071 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26072 (_dl_non_dynamic_init): Likewise.
26073 (_dl_aux_init): Likewise.
26074 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26075 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26076 Likewise.
26077 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26078 (__wcsmbs_clone_conv): Likewise.
26079 (__wcsmbs_named_conv): Likewise.
26080
26081 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26082
26083 [BZ #18822]
26084 * include/stdlib.h (__random): Add attribute_hidden.
26085 (__random_r): Likewise.
26086 (__srandom_r): Likewise.
26087 (__initstate_r): Likewise.
26088 (__setstate_r): Likewise.
26089 (__erand48_r): Likewise.
26090 (__nrand48_r): Likewise.
26091 (__jrand48_r): Likewise.
26092 (__srand48_r): Likewise.
26093 (__seed48_r): Likewise.
26094 (__lcong48_r): Likewise.
26095 (__drand48_iterate): Likewise.
26096 (__setenv): Likewise.
26097 (__unsetenv): Likewise.
26098 (__clearenv): Likewise.
26099 (__ptsname_r): Likewise.
26100 (__posix_openpt): Likewise.
26101 (__add_to_environ): Likewise.
26102 (__realpath): Add libc_hidden_proto.
26103 (__ecvt_r): Likewise.
26104 (__fcvt_r): Likewise.
26105 (__qecvt_r): Likewise.
26106 (__qfcvt_r): Likewise.
26107 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26108 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26109
26110 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26111
26112 [BZ #18822]
26113 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26114 * include/time.h (__mktime_internal): Likewise.
26115 * libio/iolibio.h (__fopen_internal): Likewise.
26116
26117 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26118
26119 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26120 pointer in frame.
26121 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26122 Correct offset used to restore PIC register.
26123
26124 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26125
26126 [BZ libc/22165]
26127 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26128 code to load address of __getcontext_ret when generating PIC code.
26129
26130 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26131
26132 * elf/Makefile (tests-static-internal): Add
26133 tst-tls1-static-non-pie.
26134 (LDFLAGS-tst-tls1-static-non-pie): New.
26135 * elf/tst-tls1-static-non-pie.c: New file.
26136
26137 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26138
26139 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26140 (asinh): Define using libm_alias_double.
26141 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26142 (cbrt): Define using libm_alias_double.
26143 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26144 <libm-alias-double.h>.
26145 (copysign): Define using libm_alias_double.
26146 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26147 (erf): Define using libm_alias_double.
26148 (erfc): Likewise.
26149 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26150 (expm1): Define using libm_alias_double.
26151 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26152 (fabs): Define using libm_alias_double.
26153 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26154 libm_alias_double.
26155 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26156 <libm-alias-double.h>.
26157 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26158 libm_alias_double.
26159 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26160 <libm-alias-double.h>.
26161 (getpayload): Define using libm_alias_double.
26162 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26163 <libm-alias-double.h>.
26164 (llrint): Define using libm_alias_double.
26165 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26166 (lrint): Define using libm_alias_double.
26167 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26168 <libm-alias-double.h>.
26169 (nextup): Define using libm_alias_double.
26170 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26171 <libm-alias-double.h>.
26172 (roundeven): Define using libm_alias_double.
26173 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26174 libm_alias_double.
26175 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26176 <libm-alias-double.h>.
26177 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26178 using libm_alias_double.
26179 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26180 (cos): Define using libm_alias_double.
26181 (sin): Likewise.
26182 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26183 <libm-alias-double.h>.
26184 (sincos): Define using libm_alias_double.
26185 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26186 (tanh): Define using libm_alias_double.
26187 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26188 <libm-alias-double.h>.
26189 (totalorder): Define using libm_alias_double.
26190 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26191 <libm-alias-double.h>.
26192 (totalordermag): Define using libm_alias_double.
26193 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26194 libm_alias_double.
26195 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26196 libm_alias_double.
26197 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26198 <libm-alias-double.h>.
26199 (getpayload): Define using libm_alias_double.
26200 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26201 <libm-alias-double.h>.
26202 (roundeven): Define using libm_alias_double.
26203 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26204 <libm-alias-double.h>.
26205 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26206 <libm-alias-double.h>.
26207 (totalorder): Define using libm_alias_double.
26208 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26209 <libm-alias-double.h>.
26210 (totalordermag): Define using libm_alias_double.
26211 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26212 libc compat symbol here.
26213 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26214 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26215 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26216 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26217 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26218 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26219 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26220 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26221 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26222 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26223
26224 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26225
26226 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26227 _dl_relocate_static_pie instead of _dl_start to compute load
26228 address in static PIE. Return 0 if _DYNAMIC is undefined for
26229 static executable.
26230
26231 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26232
26233 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26234 _DYNAMIC is undefined for static executable.
26235
26236 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26237
26238 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26239
26240 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26241
26242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26243
26244 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26245
26246 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26247 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26248 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26249 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26250 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26251 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26252 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26253 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26254 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26255 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26256 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26257 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26258 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26259 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26260 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26261 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26262 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26263
26264 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26265
26266 * math/bits/cmathcalls.h (cimag): Remove inline.
26267 (creal): Remove inline.
26268 (conj): Remove inline.
26269
26270 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26271
26272 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26273 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26274 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26275 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26276 (issignalingf_inline): Likewise.
26277 (POWF_LOG2_TABLE_BITS): Likewise.
26278 (POWF_LOG2_POLY_ORDER): Likewise.
26279 (POWF_SCALE_BITS): Likewise.
26280 (POWF_SCALE): Likewise.
26281 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26282 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26283 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26284
26285 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26286
26287 * math/Makefile (type-float-routines): Add e_log2f_data.
26288 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26289 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26290 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26291 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26292 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26293 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26294 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26295
26296 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26297
26298 * math/Makefile (type-float-routines): Add e_logf_data.
26299 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26300 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26301 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26302 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26303 * sysdeps/i386/fpu/e_logf_data.c: New file.
26304 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26305 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26306
26307 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26308
26309 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26310 undefined _DYNAMIC in PIE libc.a.
26311 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26312 Likewse.
26313
26314 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26315
26316 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26317 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26318 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26319 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26320 (__signbit): Remove.
26321 (__signbitl): Remove.
26322 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26323 (__signbit): Remove.
26324 (__signbitl): Remove.
26325 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26326 (__signbit): Remove.
26327 (__signbitl): Remove.
26328 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26329 (__signbit): Remove.
26330 (__signbitl): Remove.
26331 * sysdeps/tile/bits/mathinline.h: Delete file.
26332 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26333 (__signbit): Remove.
26334 (__signbitl): Remove.
26335
26336 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26337
26338 * math/math.h: Improve handling of C99 isgreater macros.
26339 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26340 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26341 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26342 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26343 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26344
26345 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26346
26347 * sysdeps/aarch64/libm-test-ulps: Update.
26348
26349 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26350
26351 [BZ #22225]
26352 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26353 math_opt_barrier on argument when doing arithmetic on it.
26354 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26355 Likewise. Use math_force_eval not math_opt_barrier after
26356 arithmetic.
26357 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26358 math_opt_barrier on argument when doing arithmetic on it.
26359 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26360 Likewise.
26361
26362 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26363
26364 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26365 libc_hidden_def.
26366 (__freeifaddrs): Likewise.
26367
26368 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26369
26370 * include/dirent.h (__dirfd): New declaration.
26371 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26372 alias.
26373 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26374 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26375 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
26376 * include/unistd.h (__revoke): New declaration.
26377 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26378 alias.
26379 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26380 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26381 revoke.
26382 * include/dirent.h (__seekdir): New declaration.
26383 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26384 redefine as weak alias.
26385 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26386 of seekdir.
26387 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26388 and use libc_hidden_def on them.
26389 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26390 them.
26391 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26392 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26393 instead of getifaddrs and freeifaddrs.
26394
26395 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26396
26397 [BZ #18822]
26398 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26399 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26400 (__dso_handle): Remove declaration.
26401 * dlfcn/tstatexit.c (__dso_handle): Removed.
26402 (main): Don't check __dso_handle.
26403 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26404 (main): Don't check __dso_handle.
26405 * include/dso_handle.h: New file.
26406 * malloc/mtrace.c: Include <dso_handle.h>.
26407 (mtrace): Pass __dso_handle directly.
26408 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26409 (__dso_handle): Remove declaration.
26410 (__pthread_atfork): Pass __dso_handle directly.
26411 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26412 (__dso_handle): Removed.
26413 * posix/wordexp-test.c: Include <dso_handle.h>.
26414 (__dso_handle): Remove declaration.
26415 (__app_register_atfork): Pass __dso_handle directly.
26416 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26417 (__dso_handle): Remove declaration.
26418 (at_quick_exit): Pass __dso_handle directly.
26419 * stdlib/atexit.c: Include <dso_handle.h>.
26420 (__dso_handle): Remove declaration.
26421 (atexit): Pass __dso_handle directly.
26422 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26423 (__dso_handle): Removed.
26424
26425 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26426
26427 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26428 using VDSO.
26429
26430 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26431
26432 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26433 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26434 values to correct default value for given type.
26435
26436 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26437
26438 [BZ #22101]
26439 * elf/Makefile (tests): Add tst-debug1.
26440 ($(objpfx)tst-debug1): New.
26441 ($(objpfx)tst-debug1.out): Likewise.
26442 ($(objpfx)tst-debug1mod1.so): Likewise.
26443 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26444 with p_filesz == 0.
26445 * elf/tst-debug1.c: New file.
26446
26447 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26448
26449 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26450 Define using __ifunc.
26451
26452 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26453
26454 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26455 exp2f() values.
26456
26457 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26458
26459 [BZ #22156]
26460 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26461
26462 2017-09-26 Florian Weimer <fweimer@redhat.com>
26463
26464 * resolv/Makefile (tests-internal): Fix typo in comment.
26465
26466 2017-09-26 Florian Weimer <fweimer@redhat.com>
26467
26468 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26469
26470 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26471
26472 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26473 Use an union instead of a max_align_t array for __space,
26474 so that __space is the same size on all platforms.
26475 * malloc/scratch_buffer_grow_preserve.c
26476 (__libc_scratch_buffer_grow_preserve): Likewise.
26477
26478 [BZ #22183]
26479 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26480 version to 2.
26481 * posix/Makefile (routines): Add glob-lstat-compat and
26482 glob64-lstat-compat.
26483 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26484 * posix/glob-lstat-compat.c: New file.
26485 * posix/glob64-lstat-compat.c: Likewise.
26486 * posix/tst-glob_lstat_compat.c: Likewise.
26487 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26488 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26489 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26490 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26491 Likewise.
26492 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26493 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26494 * posix/glob.c (glob_lstat): New function.
26495 (glob): Rename to __glob and add versioned symbol to 2.27.
26496 (glob_in_dir): Use glob_lstat.
26497 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26498 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26499 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26500 2.27.
26501 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26502 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26503 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26504 gl_lstat on glob call.
26505 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26506 and glob64 symbols.
26507 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26508 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26509 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26510 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26511 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26512 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26513 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26514 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26515 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26516 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26517 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26518 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26520 Likewise.
26521 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26523 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26524 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26525 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26526 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26527 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26530 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26531 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26532 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26533
26534 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26535
26536 * configure.ac (AS): Require binutils 2.25 or later.
26537 * configure: Regenerated.
26538
26539 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26540
26541 [BZ #22207]
26542 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26543 VM size.
26544
26545 2017-09-25 DJ Delorie <dj@redhat.com>
26546
26547 [BZ #22161]
26548 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26549 resetting timeout.
26550
26551 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26552
26553 * sysdeps/ieee754/dbl-64/sincos32.h
26554 [SINCCOS32_H]: Remove define.
26555 [SINCOS32_H]: Define.
26556
26557 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26558
26559 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26560 (exp2f): Likewise.
26561 * math/w_exp2f.c: New file.
26562 * math/w_expf.c: New file.
26563 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26564 * math/w_expf_compat.c (__expf_compat): Likewise.
26565 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26566 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26567 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26568 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26569 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26570 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26571 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26572 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26573 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26574 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26575 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26576 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26577 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26578 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26580 Likewise.
26581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26582 Likewise.
26583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26584 Likewise.
26585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26586 Likewise.
26587 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26588 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26589 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26590 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26591 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26593 Likewise.
26594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26595 Likewise.
26596 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26597 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26598 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26599
26600 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26601
26602 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26603 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26604 (roundtoint, converttoint): Likewise.
26605 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26606 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26607 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26608 * sysdeps/ieee754/flt-32/math_config.h: New file.
26609 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26610 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26611 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26612 * sysdeps/i386/fpu/math_errf.c: New file.
26613 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26614 * sysdeps/ia64/fpu/math_errf.c: New file.
26615 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26616 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26617
26618 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26619
26620 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26621 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26622 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26623 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26624 to make sure that these symbols are defined.
26625 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26626 of <limits.h>
26627 (__need_NULL): Do not define.
26628 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26629 alignment.
26630 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26631 CMGROUP_MAX, cmsgcred): Do not define.
26632 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26633 NULL.
26634 * bits/socket.h: Likewise.
26635 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26636 __gettimeofday instead of gettimeofday.
26637 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26638 instead of settimeofday.
26639
26640 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26641
26642 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26643 (asinhf): Define using libm_alias_float.
26644 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26645 (atanf): Define using libm_alias_float.
26646 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26647 (cbrtf): Define using libm_alias_float.
26648 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26649 (ceilf): Define using libm_alias_float.
26650 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26651 <libm-alias-float.h>.
26652 (copysignf): Define using libm_alias_float.
26653 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26654 (cosf): Define using libm_alias_float.
26655 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26656 (erff): Define using libm_alias_float.
26657 (erfcf): Likewise.
26658 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26659 (expm1f): Define using libm_alias_float.
26660 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26661 (fabsf): Define using libm_alias_float.
26662 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26663 (floorf): Define using libm_alias_float.
26664 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26665 (frexpf): Define using libm_alias_float.
26666 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26667 libm_alias_float.
26668 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26669 <libm-alias-float.h>.
26670 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26671 libm_alias_float.
26672 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26673 <libm-alias-float.h>.
26674 (getpayloadf): Define using libm_alias_float.
26675 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26676 <libm-alias-float.h>.
26677 (llrintf): Define using libm_alias_float.
26678 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26679 <libm-alias-float.h>.
26680 (llroundf): Define using libm_alias_float.
26681 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26682 (logbf): Define using libm_alias_float.
26683 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26684 (lrintf): Define using libm_alias_float.
26685 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26686 (lroundf): Define using libm_alias_float.
26687 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26688 (modff): Define using libm_alias_float.
26689 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26690 <libm-alias-float.h>.
26691 (nearbyintf): Define using libm_alias_float.
26692 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26693 <libm-alias-float.h>.
26694 (nextafterf): Define using libm_alias_float.
26695 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26696 <libm-alias-float.h>.
26697 (nextupf): Define using libm_alias_float.
26698 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26699 <libm-alias-float.h>.
26700 (remquof): Define using libm_alias_float.
26701 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26702 (rintf): Define using libm_alias_float.
26703 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26704 <libm-alias-float.h>.
26705 (roundevenf): Define using libm_alias_float.
26706 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26707 (roundf): Define using libm_alias_float.
26708 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26709 using libm_alias_float.
26710 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26711 <libm-alias-float.h>.
26712 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26713 Define using libm_alias_float.
26714 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26715 <libm-alias-float.h>.
26716 (sincosf): Define using libm_alias_float.
26717 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26718 (sinf): Define using libm_alias_float.
26719 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26720 (tanf): Define using libm_alias_float.
26721 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26722 (tanhf): Define using libm_alias_float.
26723 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26724 <libm-alias-float.h>.
26725 (totalorderf): Define using libm_alias_float.
26726 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26727 <libm-alias-float.h>.
26728 (totalordermagf): Define using libm_alias_float.
26729 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26730 (truncf): Define using libm_alias_float.
26731 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26732 libm_alias_float.
26733 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26734 libm_alias_float.
26735
26736 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26737
26738 [BZ #22146]
26739 math/math.h: Let fpclassify use the builtin in C++ mode, even
26740 when optimazing for size.
26741
26742 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26743
26744 * csu/Makefile (generated): Do not add version-info.h.
26745 (before-compile): Likewise.
26746 (all-Banner-files): Remove variable.
26747 ($(objpfx)version-info.h): Remove rule.
26748 * csu/version.c (banner): Do not include "version-info.h".
26749 * libidn/Banner: Remove.
26750 * manual/contrib.texi (Simon Josefsson): New entry.
26751
26752 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26753
26754 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26755 Remove conditionals on LDBL_MANT_DIG.
26756 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26757 (__ieee754_lgammal_r): Likewise.
26758
26759 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26760
26761 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26762 _Float128 and L().
26763 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26764 _Float128 and L(). Replace _Float128 with long double and L(x)
26765 with xL, throughout the file.
26766 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26767 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26768 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26769 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26770
26771 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26772
26773 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26774 sysdeps/ieee754/ldbl-128ibm.
26775 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26776 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26777 of including it. Keep _Float128 and L() intact. These will be
26778 reviewed by a separate patch.
26779 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26780 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26781 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26782 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26783
26784 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26785
26786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26787 (__finitef128): Define to __redirect___finitef128.
26788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26789 (__isinff128): Define to __redirect___isinff128.
26790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26791 (__isnanf128): Define to __redirect___isnanf128.
26792
26793 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26794
26795 * sysdeps/powerpc/powerpc64le/Makefile
26796 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26797 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26798
26799 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26800 Carlos O'Donell <carlos@redhat.com>
26801
26802 [BZ #22180]
26803 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26804 * stdlib/test-dlclose-exit-race.c: New file.
26805 * stdlib/test-dlclose-exit-race-helper.c: New file.
26806 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26807
26808 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26809
26810 * crypt/Banner: Remove file.
26811 * nptl/Banner: Likewise.
26812 * resolv/Banner: Likewise.
26813 * soft-fp/Banner: Likewise.
26814 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26815 ($(objpfx)version.d): Remove dependency on banner.h.
26816 ($(objpfx)version.os): Likewise.
26817 * nptl/version.c (banner): Do not include banner.h.
26818 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26819 Jelinek and BIND code.
26820
26821 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26822 Carlos O'Donell <carlos@redhat.com>
26823
26824 * support/xdlfcn.h: New file.
26825 * support/xdlfcn.c: New file.
26826 * support/Makefile (libsupport-routines): Add xdlfcn.
26827 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26828
26829 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26830
26831 [BZ #20142]
26832 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26833 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26834 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26835 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26836 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26837 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26838 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26839 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26840
26841 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26842 Ricky Zhou <rickyz@google.com>
26843 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26844
26845 [BZ #14333]
26846 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26847 Remove atomics.
26848 (__new_exitfn): Fail registration when we finished at_exit processing.
26849 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26850 * stdlib/on_exit.c (__on_exit): Likewise.
26851 * stdlib/exit.c (__exit_funcs_done): New variable.
26852 (__run_exit_handlers): Use __exit_funcs_lock.
26853 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26854 declarations.
26855 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26856 (test-cxa_atexit-race, test-on_exit-race): New tests.
26857 * stdlib/test-atexit-race-common.c: New file.
26858 * stdlib/test-atexit-race.c: New file.
26859 * stdlib/test-at_quick_exit-race.c: New file.
26860 * stdlib/test-cxa_atexit-race.c: New file.
26861 * stdlib/test-on_exit-race.c: New file.
26862
26863 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26864
26865 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26866 * benchtests/exp2f-inputs: Copy of expf-inputs.
26867 * benchtests/log2f-inputs: Copy of logf-inputs.
26868
26869 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26870
26871 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26872 Explicitly take address of first element of array arguments in
26873 call to INLINE_SYSCALL.
26874
26875 2017-09-19 Andreas Schwab <schwab@suse.de>
26876
26877 [BZ #22134]
26878 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26879 execveat first.
26880 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26881 unimplemented.
26882 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26883 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26884 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26885 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26886 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26887 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26888 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26889 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26890 * posix/Makefile (tests): Add tst-fexecve.
26891 * posix/tst-fexecve.c: New file.
26892
26893 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26894
26895 * benchtests/Makefile: Add logf benchmark.
26896 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26897
26898 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26899
26900 * benchtests/Makefile: Add expf benchmark.
26901 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26902
26903 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26904
26905 * csu/Makefile: Add -funwind-tables to libc-start.c.
26906 * debug/Makefile: Add -funwind-tables to backtrace.c.
26907 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26908 * sysdeps/arm/Makefile: Likewise.
26909 * sysdeps/i386/Makefile: Likewise.
26910 * sysdeps/m68k/Makefile: Likewise.
26911 * sysdeps/mips/Makefile: Likewise.
26912 * sysdeps/nios2/Makefile: Likewise.
26913 * sysdeps/sh/Makefile: Likewise.
26914 * sysdeps/sparc/Makefile: Likewise.
26915
26916 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26917
26918 * benchtests/Makefile (bench-math): Add trunc and truncf.
26919 (CFLAGS-bench-trunc.c): New variable.
26920 (CFLAGS-bench-truncf.c): Likewise.
26921 * benchtests/trunc-inputs: New file.
26922 * benchtests/truncf-inputs: Likewise.
26923
26924 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26925
26926 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26927
26928 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26929
26930 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26931 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26932 redefine.
26933 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26934 (exp10l): Define as weak alias.
26935 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26936 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26937 and redefine.
26938 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26939 (remainderl): Define as weak alias.
26940
26941 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26942 (fmal): Define using libm_alias_ldouble.
26943 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26944 (acoshl): Define using libm_alias_ldouble.
26945 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26946 (acosl): Define using libm_alias_ldouble.
26947 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26948 (asinl): Define using libm_alias_ldouble.
26949 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26950 (atan2l): Define using libm_alias_ldouble.
26951 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26952 (atanhl): Define using libm_alias_ldouble.
26953 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26954 (coshl): Define using libm_alias_ldouble.
26955 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26956 (exp10l): Define using libm_alias_ldouble.
26957 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26958 (exp2l): Define using libm_alias_ldouble.
26959 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26960 (expl): Define using libm_alias_ldouble.
26961 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26962 (fmodl): Define using libm_alias_ldouble.
26963 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26964 (hypotl): Define using libm_alias_ldouble.
26965 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26966 (j0l): Define using libm_alias_ldouble.
26967 (y0l): Likewise.
26968 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26969 (j1l): Define using libm_alias_ldouble.
26970 (y1l): Likewise.
26971 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26972 (jnl): Define using libm_alias_ldouble.
26973 (ynl): Likewise.
26974 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26975 (log10l): Define using libm_alias_ldouble.
26976 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26977 (log2l): Define using libm_alias_ldouble.
26978 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26979 (logl): Define using libm_alias_ldouble.
26980 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26981 (powl): Define using libm_alias_ldouble.
26982 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26983 (remainderl): Define using libm_alias_ldouble.
26984 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26985 (sinhl): Define using libm_alias_ldouble.
26986 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26987 (sqrtl): Define using libm_alias_ldouble.
26988 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26989 (tgammal): Define using libm_alias_ldouble.
26990 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26991 (exp10l): Do not use long_double_symbol here.
26992 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26993 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26994 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26995 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26996 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26997 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26998 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26999 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27000 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27001 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27002 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27003 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27004 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27005 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27006 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27007 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27008 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27009 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27010 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27011 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27012 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27013 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27014
27015 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27016
27017 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27018 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27019
27020 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27021
27022 * io/read.c (read): Add libc_hidden_weak.
27023 * sysdeps/mach/hurd/read.c (read): Likewise.
27024 * io/write.c (write): Likewise.
27025 * sysdeps/mach/hurd/write.c (write): Likewise.
27026 * io/pread64.c (__pread64): Likewise.
27027 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27028 * posix/pread64.c (__pread64): Add libc_hidden_def.
27029
27030 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27031
27032 * benchtests/scripts/compare_strings.py: New option -g.
27033 (draw_graph): Print a message that a graph is being generated.
27034 (process_results): Generate graph only if -g is passed.
27035 (main): Process option -g.
27036
27037 * benchtests/scripts/compare_strings.py (process_results):
27038 Better spacing for output.
27039
27040 * benchtests/scripts/compare_strings.py: Use argparse.
27041 * benchtests/README: Document existence of compare_strings.py.
27042
27043 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27044
27045 * math/s_fma.c: Include <libm-alias-double.h>.
27046 (fma): Define using libm_alias_double.
27047 * math/s_nextafter.c: Include <libm-alias-double.h>.
27048 (nextafter): Define using libm_alias_double.
27049 * math/w_acos_compat.c: Include <libm-alias-double.h>.
27050 (acos): Define using libm_alias_double.
27051 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
27052 (aocsh): Define using libm_alias_double.
27053 * math/w_asin_compat.c: Include <libm-alias-double.h>.
27054 (asin): Define using libm_alias_double.
27055 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
27056 (atan2): Define using libm_alias_double.
27057 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27058 (atanh): Define using libm_alias_double.
27059 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27060 (cosh): Define using libm_alias_double.
27061 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27062 (exp10): Define using libm_alias_double.
27063 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27064 (exp2): Define using libm_alias_double.
27065 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27066 (exp): Define using libm_alias_double.
27067 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27068 (fmod): Define using libm_alias_double.
27069 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27070 (hypot): Define using libm_alias_double.
27071 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27072 (j0): Define using libm_alias_double.
27073 (y0): Likewise.
27074 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27075 (j1): Define using libm_alias_double.
27076 (y1): Likewise.
27077 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27078 (jn): Define using libm_alias_double.
27079 (yn): Likewise.
27080 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27081 (log10): Define using libm_alias_double.
27082 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27083 (log2): Define using libm_alias_double.
27084 * math/w_log_compat.c: Include <libm-alias-double.h>.
27085 (log): Define using libm_alias_double.
27086 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27087 (pow): Define using libm_alias_double.
27088 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27089 (remainder): Define using libm_alias_double.
27090 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27091 (sinh): Define using libm_alias_double.
27092 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27093 (sqrt): Define using libm_alias_double.
27094 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27095 (tgamma): Define using libm_alias_double.
27096 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27097 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27098 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27099 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27100 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27101 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27102 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27103 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27104 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27105 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27106 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27107 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27108 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27109 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27110 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27111 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27112 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27113 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27114 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27115 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27116 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27117 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27118 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27119 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27120 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27121
27122 * math/e_acoshl.c: Remove.
27123 * math/e_acosl.c: Likewise.
27124 * math/e_asinl.c: Likewise.
27125 * math/e_atan2l.c: Likewise.
27126 * math/e_atanhl.c: Likewise.
27127 * math/e_coshl.c: Likewise.
27128 * math/e_expl.c: Likewise.
27129 * math/e_fmodl.c: Likewise.
27130 * math/e_gammal_r.c: Likewise.
27131 * math/e_hypotl.c: Likewise.
27132 * math/e_j0l.c: Likewise.
27133 * math/e_j1l.c: Likewise.
27134 * math/e_jnl.c: Likewise.
27135 * math/e_lgammal_r.c: Likewise.
27136 * math/e_log10l.c: Likewise.
27137 * math/e_log2l.c: Likewise.
27138 * math/e_logl.c: Likewise.
27139 * math/e_powl.c: Likewise.
27140 * math/e_rem_pio2l.c: Likewise.
27141 * math/e_sinhl.c: Likewise.
27142 * math/e_sqrtf128.c: Likewise.
27143 * math/e_sqrtl.c: Likewise.
27144 * math/k_cosl.c: Likewise.
27145 * math/k_sinl.c: Likewise.
27146 * math/k_tanl.c: Likewise.
27147 * math/s_asinhl.c: Likewise.
27148 * math/s_atanl.c: Likewise.
27149 * math/s_cbrtl.c: Likewise.
27150 * math/s_erfl.c: Likewise.
27151 * math/s_expm1l.c: Likewise.
27152 * math/s_log1pl.c: Likewise.
27153 * math/s_tanhl.c: Likewise.
27154
27155 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27156
27157 [BZ #21745]
27158 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27159 [$(subdir) = math] (sysdep_calls): New variable. Has the
27160 previous contents of sysdep_routines, but re-sorted..
27161 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27162 sysdep_calls.
27163 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27164 defined in sysdep_calls and replace by the respective m_* names.
27165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27166 (compat_symbol): Undefine to avoid duplicated compat symbols in
27167 libc.
27168
27169 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27170
27171 * math/s_fmaf.c: Include <libm-alias-float.h>.
27172 (fmaf): Define using libm_alias_float.
27173 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27174 (acosf): Define using libm_alias_float.
27175 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27176 (acoshf): Define using libm_alias_float.
27177 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27178 (asinf): Define using libm_alias_float.
27179 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27180 (atan2f): Define using libm_alias_float.
27181 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27182 (atanhf): Define using libm_alias_float.
27183 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27184 (coshf): Define using libm_alias_float.
27185 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27186 (exp10f): Define using libm_alias_float.
27187 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27188 (fmodf): Define using libm_alias_float.
27189 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27190 (hypotf): Define using libm_alias_float.
27191 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27192 (j0f): Define using libm_alias_float.
27193 (y0f): Likewise.
27194 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27195 (j1f): Define using libm_alias_float.
27196 (y1f): Likewise.
27197 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27198 (jnf): Define using libm_alias_float.
27199 (ynf): Likewise.
27200 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27201 (log10f): Define using libm_alias_float.
27202 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27203 (log2f): Define using libm_alias_float.
27204 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27205 (logf): Define using libm_alias_float.
27206 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27207 (powf): Define using libm_alias_float.
27208 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27209 (remainderf): Define using libm_alias_float.
27210 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27211 (sinhf): Define using libm_alias_float.
27212 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27213 (sqrtf): Define using libm_alias_float.
27214 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27215 (tgammaf): Define using libm_alias_float.
27216
27217 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27218
27219 * include/math.h (roundeven): Change hidden_proto call to
27220 __roundeven.
27221 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27222 alias.
27223 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27224 (y0): Rename to __y0 and define as weak alias.
27225 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27226 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27227 alias.
27228 (y0f): Rename to __y0f and define as weak alias.
27229 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27230 alias.
27231 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27232 (y1): Rename to __y1 and define as weak alias.
27233 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27234 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27235 alias.
27236 (y1f): Rename to __y1f and define as weak alias.
27237 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27238 alias.
27239 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27240 (yn): Rename to __yn and define as weak alias.
27241 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27242 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27243 alias.
27244 (ynf): Rename to __ynf and define as weak alias.
27245 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27246 (fromfp): Define as weak alias.
27247 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27248 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27249 (fromfpx): Define as weak alias.
27250 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27251 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27252 __getpayload and define as weak alias.
27253 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27254 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27255 __roundeven and define as weak alias.
27256 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27257 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27258 __setpayload.
27259 (setpayload): Define as weak alias.
27260 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27261 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27262 __setpayloadsig.
27263 (setpayloadsig): Define as weak alias.
27264 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27265 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27266 __totalorder and define as weak alias.
27267 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27268 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27269 to __totalordermag and define as weak alias.
27270 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27271 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27272 (ufromfp): Define as weak alias.
27273 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27274 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27275 __ufromfpx.
27276 (ufromfpx): Define as weak alias.
27277 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27278 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27279 Rename to __getpayload and define as weak alias.
27280 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27281 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27282 Rename to __roundeven and define as weak alias.
27283 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27284 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27285 Rename to __totalorder and define as weak alias.
27286 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27287 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27288 (totalordermag): Rename to __totalordermag and define as weak
27289 alias.
27290 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27291 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27292 macro.
27293 (__roundevenl): Likewise.
27294 (__totalorderl): Likewise.
27295 (__totalordermagl): Likewise
27296 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27297 __fromfpf128.
27298 (fromfpf128): Define as weak alias.
27299 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27300 __fromfpxf128.
27301 (fromfpxf128): Define as weak alias.
27302 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27303 __setpayloadf128.
27304 (setpayloadf128): Define as weak alias.
27305 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27306 __setpayloadsigf128.
27307 (setpayloadsigf128): Define as weak alias.
27308 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27309 __ufromfpf128.
27310 (ufromfpf128): Define as weak alias.
27311 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27312 __ufromfpxf128.
27313 (ufromfpxf128): Define as weak alias.
27314 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27315 (fromfpf): Define as weak alias.
27316 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27317 __fromfpxf.
27318 (fromfpxf): Define as weak alias.
27319 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27320 __getpayloadf and define as weak alias.
27321 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27322 __roundevenf and define as weak alias.
27323 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27324 __setpayloadf.
27325 (setpayloadf): Define as weak alias.
27326 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27327 __setpayloadsigf.
27328 (setpayloadsigf): Define as weak alias.
27329 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27330 __totalorderf and define as weak alias.
27331 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27332 Rename to __totalordermagf and define as weak alias.
27333 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27334 __ufromfpf.
27335 (ufromfpf): Define as weak alias.
27336 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27337 __ufromfpxf.
27338 (ufromfpxf): Define as weak alias.
27339 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27340 __fromfpl.
27341 (fromfpl): Define as weak alias.
27342 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27343 __fromfpxl.
27344 (fromfpxl): Define as weak alias.
27345 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27346 to __getpayloadl and define as weak alias.
27347 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27348 __roundevenl and define as weak alias.
27349 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27350 __setpayloadl.
27351 (setpayloadl): Define as weak alias.
27352 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27353 __setpayloadsigl.
27354 (setpayloadsigl): Define as weak alias.
27355 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27356 to __totalorderl and define as weak alias.
27357 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27358 Rename to __totalordermagl and define as weak alias.
27359 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27360 __ufromfpl.
27361 (ufromfpl): Define as weak alias.
27362 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27363 __ufromfpxl.
27364 (ufromfpxl): Define as weak alias.
27365 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27366 __fromfpl.
27367 (fromfpl): Define as weak alias.
27368 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27369 __fromfpxl.
27370 (fromfpxl): Define as weak alias.
27371 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27372 Rename to __getpayloadl and define as weak alias.
27373 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27374 to __roundevenl and define as weak alias. Call __roundeven
27375 instead of roundeven.
27376 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27377 __setpayloadl.
27378 (setpayloadl): Define as weak alias.
27379 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27380 __setpayloadsigl.
27381 (setpayloadsigl): Define as weak alias.
27382 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27383 Rename to __totalorderl and define as weak alias.
27384 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27385 Rename to __totalordermagl and define as weak alias.
27386 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27387 __ufromfpl.
27388 (ufromfpl): Define as weak alias.
27389 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27390 __ufromfpxl.
27391 (ufromfpxl): Define as weak alias.
27392 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27393 __fromfpl.
27394 (fromfpl): Define as weak alias.
27395 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27396 __fromfpxl.
27397 (fromfpxl): Define as weak alias.
27398 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27399 __getpayloadl and define as weak alias.
27400 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27401 __roundevenl and define as weak alias.
27402 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27403 __setpayloadl.
27404 (setpayloadl): Define as weak alias.
27405 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27406 __setpayloadsigl.
27407 (setpayloadsigl): Define as weak alias.
27408 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27409 __totalorderl and define as weak alias.
27410 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27411 Rename to __totalordermagl and define as weak alias.
27412 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27413 __ufromfpl.
27414 (ufromfpl): Define as weak alias.
27415 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27416 __ufromfpxl.
27417 (ufromfpxl): Define as weak alias.
27418
27419 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27420
27421 * benchtests/bench-string.h (realloc_bufs): New function.
27422 (test_init): Call it.
27423 * benchtests/bench-memset-large.c (do_test): Likewise.
27424 * benchtests/bench-memset.c (do_test): Likewise.
27425
27426 * benchtests/bench-memset-large.c: Print output in JSON
27427 format.
27428 * benchtests/bench-memset.c: Likewise.
27429
27430 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27431
27432 [BZ #21084]
27433 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27434 * iconvdata/Makefile: Add IBM858.
27435 * iconvdata/gconv-modules: Likewise.
27436 * iconvdata/tst-tables.sh: Likewise.
27437 * iconvdata/ibm858.c: New file.
27438 * localedata/charmaps/IBM858: Likewise.
27439
27440 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27441
27442 [BZ #22023]
27443 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27444 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27445
27446 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27447
27448 [BZ #22112]
27449 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27450 and add tel_int_fmt.
27451
27452 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27453
27454 * sysdeps/generic/libm-alias-float128.h: New file.
27455 * sysdeps/generic/math-type-macros-float128.h: Include
27456 <libm-alias-float128.h>.
27457 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27458
27459 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27460
27461 * sysdeps/generic/libm-alias-ldouble.h: New file.
27462 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27463 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27464 * sysdeps/generic/math-type-macros-ldouble.h: Include
27465 <libm-alias-ldouble.h>.
27466 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27467 libm_alias_ldouble.
27468
27469 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27470
27471 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27472 * math/w_exp_compat.c: ... here.
27473 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27474 * math/w_expf_compat.c: ... here.
27475 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27476 * math/w_expl_compat.c: ... here.
27477 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27478 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27479 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27480 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27481
27482 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27483
27484 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27485 redefine.
27486 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27487 macro.
27488 (ldexpl): Only define as compat symbol for libc, not libm.
27489 (scalbnl): Define as compat symbol for libc here.
27490 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27491 define for [IS_IN (libc)].
27492 (__ldexpl_2): Remove alias.
27493 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27494 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27495 name in long_double_symbol call.
27496 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27497 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27498 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27499 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27500 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27501 Remove macro.
27502 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27503 Define as compat symbol.
27504
27505 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27506
27507 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27508 * sysdeps/unix/sysv/linux/alpha/Makefile
27509 [$(subdir) = csu] (sysdep_routines): Remove rule.
27510
27511 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27512
27513 * sysdeps/generic/libm-alias-double.h: New file.
27514 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27515 * sysdeps/generic/math-type-macros-double.h: Include
27516 <libm-alias-double.h>.
27517 [declare_mgen_alias] (declare_mgen_alias): Define to use
27518 libm_alias_double.
27519 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27520 (M_LIBM_NEED_COMPAT): Remove macro.
27521 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27522 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27523 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27524 code.
27525 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27526 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27527 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27528 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27529 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27530 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27531 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27532 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27533 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27534 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27535 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27536 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27537 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27538 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27539 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27540 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27541 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27542 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27543 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27544 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27545 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27546 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27547 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27548 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27549 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27550 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27551 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27552 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27553 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27554 macro.
27555 (declare_mgen_alias): New macro.
27556 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27557 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27559 (M_LIBM_NEED_COMPAT): Remove macro.
27560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27561 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27562 <first-versions.h>.
27563 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27564 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27565
27566 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27567
27568 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27569 (declare_mgen_alias_2): Remove.
27570 * sysdeps/generic/math-type-macros-double.h
27571 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27572 Likewise.
27573 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27574 alias.
27575 (ldexp): Define with declare_mgen_alias.
27576 (scalbn): Likewise.
27577
27578 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27579
27580 * grp/initgroups.c: Include config.h.
27581 (DEFAULT_CONFIG): New macro.
27582 (internal_getgrouplist): Use DEFAULT_CONFIG.
27583 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27584 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27585 (DEFAULT_DEFCONFIG): New macro.
27586 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27587 * nss/grp-lookup.c: Include config.h
27588 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27589 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27590 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27591 * manual/nss.texi: Update default values section.
27592
27593 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27594
27595 [BZ #21967]
27596 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27597 New.
27598 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27599 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27600 Handle MathVec_Prefer_No_AVX512.
27601 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27602 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27603 is set.
27604
27605 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27606
27607 * posix/sched_primax.c (__sched_get_priority_max): Add
27608 libc_hidden_def.
27609 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27610 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27611 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27612 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27613 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27614 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27615 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27616 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27617 Add aliases.
27618
27619 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27620
27621 * sysdeps/generic/libm-alias-float.h: New file.
27622 * sysdeps/generic/math-type-macros-float.h: Include
27623 <libm-alias-float.h>.
27624 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27625
27626 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27627
27628 [BZ #22093]
27629 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27630 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27631 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27632 (HWCAP_IMPORTANT): Likewise.
27633 (HWCAP_X86_64): New enum.
27634 (HWCAP_X86_AVX512_1): Updated.
27635 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27636 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27637 (modules-names): Add x86_64/tst-x86_64mod-1.
27638 (LDFLAGS-tst-x86_64mod-1.so): New.
27639 ($(objpfx)tst-x86_64-1): Likewise.
27640 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27641 (tst-x86_64-1-clean): Likewise.
27642 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27643 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27644
27645 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27646
27647 * po/sv.po: Update translations.
27648 * po/fr.po: Likewise.
27649
27650 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27651
27652 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27653 seconds.
27654 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27655 seconds.
27656 * elf/rtld-Rules: Fix $(error) use.
27657
27658 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27659
27660 [BZ #14925]
27661 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27662 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27663 * localedata/locales/bn_BD: “Bengali” was still used in some
27664 comments. Change it to “Bangla”.
27665
27666 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27667
27668 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27669
27670 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27671
27672 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27673 thunderx2t99p1 to list of cpu names.
27674 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27675 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27676
27677 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27678
27679 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27680 Use strcmp instead of tunable_is_name.
27681
27682 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27683
27684 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27685 (F_GET_RW_HINT): New macro.
27686 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27687 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27688 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27689 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27690 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27691 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27692 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27693 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27694 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27695
27696 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27697 (F_ADD_SEALS): New macro.
27698 [__USE_GNU] (F_GET_SEALS): Likewise.
27699 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27700 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27701 [__USE_GNU] (F_SEAL_GROW): Likewise.
27702 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27703
27704 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27705
27706 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27707 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27708 * posix/glob_internal.h (__glob_pattern_type):
27709 * posix/glob.c (glob):
27710 * posix/glob_pattern_p.c (__glob_pattern_p):
27711 Use them.
27712
27713 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27714 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27715 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27716 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27717 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27719 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27720 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27721 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27722 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27723 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27724 * sysdeps/wordsize-64/glob.c: Likewise.
27725 * sysdeps/wordsize-64/glob64.c: Likewise.
27726 * sysdeps/wordsize-64/globfree.c: Likewise.
27727 * sysdeps/wordsize-64/globfree64.c: Likewise.
27728 * sysdeps/unix/sysv/linux/glob.c: New file.
27729 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27730 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27731 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27732 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27733 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27734 adds !GLOB_NO_OLD_VERSION as an extra condition.
27735 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27736 using relative path instead of absolute one.
27737 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27738 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27739 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27740 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27741 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27742 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27743
27744 [BZ #1062]
27745 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27746 (glob): Use the same scratch buffer for both getlogin_r and
27747 getpwnam_r. Don’t require preallocation of the login name. This
27748 simplifies storage allocation, and corrects the handling of
27749 long login names.
27750
27751 [BZ #1062]
27752 * posix/glob.c (glob): Port recent patches to platforms
27753 lacking getpwnam_r.
27754 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27755 returns an error number rather than setting errno.
27756
27757 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27758 instead of GCC extension.
27759 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27760 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27761 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27762
27763 [BZ #866]
27764 [BZ #1062]
27765 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27766 * posix/bug-glob1.c: Remove file.
27767 * posix/tst-glob_symlinks.c: New file.
27768 * posix/glob.c (__lstat64): New macro.
27769 (is_dir): New function.
27770 (glob, glob_in_dir): Match symlinks even if they are dangling.
27771 (link_stat, link_exists_p): Remove. All uses removed.
27772
27773 [BZ #1062]
27774 [BZ #19971]
27775 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27776 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27777 All uses removed.
27778
27779 [BZ #1062]
27780 CVE-2017-15671
27781 * posix/Makefile (routines): Add globfree, globfree64, and
27782 glob_pattern_p.
27783 * posix/flexmember.h: New file.
27784 * posix/glob_internal.h: Likewise.
27785 * posix/glob_pattern_p.c: Likewise.
27786 * posix/globfree.c: Likewise.
27787 * posix/globfree64.c: Likewise.
27788 * sysdeps/gnu/globfree64.c: Likewise.
27789 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27790 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27791 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27792 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27793 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27794 * sysdeps/wordsize-64/globfree.c: Likewise.
27795 * sysdeps/wordsize-64/globfree64.c: Likewise.
27796 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27797 [NDEBUG): Remove comments.
27798 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27799 (dirent_type): New type. Use uint_fast8_t not
27800 uint8_t, as C99 does not require uint8_t.
27801 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27802 (struct readdir_result): Use dirent_type. Do not define skip_entry
27803 unless it is needed; this saves a byte on platforms lacking d_ino.
27804 (readdir_result_type, readdir_result_skip_entry):
27805 New functions, replacing ...
27806 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27807 these functions, which were removed. This makes the callers
27808 easier to read. All callers changed.
27809 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27810 (size_add_wrapv, glob_use_alloca): New static functions.
27811 (glob, glob_in_dir): Check for size_t overflow in several places,
27812 and fix some size_t checks that were not quite right.
27813 Remove old code using SHELL since Bash no longer
27814 uses this.
27815 (glob, prefix_array): Separate MS code better.
27816 (glob_in_dir): Remove old Amiga and VMS code.
27817 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27818 separate files.
27819 (glob_in_dir): Do not rely on undefined behavior in accessing
27820 struct members beyond their bounds. Use a flexible array member
27821 instead
27822 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27823 0/1. Caller changed.
27824 (glob): Fix memory leaks.
27825 * posix/glob64 (globfree64): Move to separate file.
27826 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27827 (globfree64): Remove hidden alias.
27828 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27829 oldglob.
27830 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27831 separate file.
27832 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27833 define.
27834 Move compat code to separate file.
27835 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27836 separate file.
27837
27838 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27839
27840 * resolv/tst-resolv-qtypes.c (domain): Changed to
27841 "const char domain[] =".
27842
27843 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27844
27845 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27846 version to 3.1.6.
27847
27848 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27849 (TCP_MD5SIG_EXT): Likewise.
27850 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27851 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27852 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27853
27854 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27855
27856 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27857
27858 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27859
27860 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27861
27862 [BZ #22100]
27863 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27864
27865 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27866
27867 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27868 before assuming that the file is empty. Avoid testing buffer content
27869 when nread == 0.
27870
27871 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27872
27873 [BZ #18858]
27874 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27875 Remove define.
27876 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27877 Likewise.
27878 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27879 Likewise.
27880 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27881 Likewise.
27882 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27883 Likewise.
27884 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27885 Likewise.
27886 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27887 Likewise.
27888
27889 2017-09-06 Florian Weimer <fweimer@redhat.com>
27890
27891 * malloc/dynarray_emplace_enlarge.c
27892 (__libc_dynarray_emplace_enlarge): Add missing else.
27893
27894 2017-09-06 Florian Weimer <fweimer@redhat.com>
27895
27896 [BZ #22096]
27897 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27898 case of failure to obtain the global conf object.
27899
27900 2017-09-06 Florian Weimer <fweimer@redhat.com>
27901
27902 [BZ #22095]
27903 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27904 dynarray allocation failure.
27905
27906 2017-09-06 Florian Weimer <fweimer@redhat.com>
27907
27908 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27909 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27910 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27911 New functions.
27912 (response): Call them. Add 'p', '6' flag processing.
27913 (test_reverse): New function.
27914 (test_get2_any): Call it.
27915 (test_no_inet6): Add 'p' test.
27916 (test_inet6): Likewise.
27917
27918 2017-09-06 Florian Weimer <fweimer@redhat.com>
27919
27920 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27921 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27922 the QNAME.
27923 (test_gai): Adjust query names. Add additional tests.
27924 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27925 test_get2. Adjust query names. Add additional tests.
27926 (test_no_inet6): New function, extracted from threadfunc.
27927 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27928 Add additional tests.
27929
27930 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27931
27932 [BZ #22070]
27933 * localedata/unicode-gen/utf8_gen.py: Set the width for
27934 characters with Prepended_Concatenation_Mark property to 1
27935 * localedata/charmaps/UTF-8: Updated using the improved script.
27936
27937 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27938
27939 [BZ #21750]
27940 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27941 use the range notation for all ranges of neighbouring characters
27942 with the same width.
27943
27944 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27945
27946 * sysdeps/generic/math-type-macros-double.h: Include
27947 <math-svid-compat.h>.
27948 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27949 * sysdeps/generic/math-type-macros-float.h: Include
27950 <math-svid-compat.h>.
27951 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27952 * sysdeps/generic/math-type-macros-ldouble.h: Include
27953 <math-svid-compat.h>.
27954 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27955 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27956 condition.
27957 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27958 * math/w_acosf_compat.c: Likewise.
27959 * math/w_acosh_compat.c: Likewise.
27960 * math/w_acoshf_compat.c: Likewise.
27961 * math/w_acoshl_compat.c: Likewise.
27962 * math/w_acosl_compat.c: Likewise.
27963 * math/w_asin_compat.c: Likewise.
27964 * math/w_asinf_compat.c: Likewise.
27965 * math/w_asinl_compat.c: Likewise.
27966 * math/w_atan2_compat.c: Likewise.
27967 * math/w_atan2f_compat.c: Likewise.
27968 * math/w_atan2l_compat.c: Likewise.
27969 * math/w_atanh_compat.c: Likewise.
27970 * math/w_atanhf_compat.c: Likewise.
27971 * math/w_atanhl_compat.c: Likewise.
27972 * math/w_cosh_compat.c: Likewise.
27973 * math/w_coshf_compat.c: Likewise.
27974 * math/w_coshl_compat.c: Likewise.
27975 * math/w_exp10_compat.c: Likewise.
27976 * math/w_exp10f_compat.c: Likewise.
27977 * math/w_exp10l_compat.c: Likewise.
27978 * math/w_exp2_compat.c: Likewise.
27979 * math/w_exp2f_compat.c: Likewise.
27980 * math/w_exp2l_compat.c: Likewise.
27981 * math/w_fmod_compat.c: Likewise.
27982 * math/w_fmodf_compat.c: Likewise.
27983 * math/w_fmodl_compat.c: Likewise.
27984 * math/w_hypot_compat.c: Likewise.
27985 * math/w_hypotf_compat.c: Likewise.
27986 * math/w_hypotl_compat.c: Likewise.
27987 * math/w_j0_compat.c: Likewise.
27988 * math/w_j0f_compat.c: Likewise.
27989 * math/w_j0l_compat.c: Likewise.
27990 * math/w_j1_compat.c: Likewise.
27991 * math/w_j1f_compat.c: Likewise.
27992 * math/w_j1l_compat.c: Likewise.
27993 * math/w_jn_compat.c: Likewise.
27994 * math/w_jnf_compat.c: Likewise.
27995 * math/w_jnl_compat.c: Likewise.
27996 * math/w_lgamma_r_compat.c: Likewise.
27997 * math/w_lgammaf_r_compat.c: Likewise.
27998 * math/w_lgammal_r_compat.c: Likewise.
27999 * math/w_log10_compat.c: Likewise.
28000 * math/w_log10f_compat.c: Likewise.
28001 * math/w_log10l_compat.c: Likewise.
28002 * math/w_log2_compat.c: Likewise.
28003 * math/w_log2f_compat.c: Likewise.
28004 * math/w_log2l_compat.c: Likewise.
28005 * math/w_log_compat.c: Likewise.
28006 * math/w_logf_compat.c: Likewise.
28007 * math/w_logl_compat.c: Likewise.
28008 * math/w_pow_compat.c: Likewise.
28009 * math/w_powf_compat.c: Likewise.
28010 * math/w_powl_compat.c: Likewise.
28011 * math/w_remainder_compat.c: Likewise.
28012 * math/w_remainderf_compat.c: Likewise.
28013 * math/w_remainderl_compat.c: Likewise.
28014 * math/w_sinh_compat.c: Likewise.
28015 * math/w_sinhf_compat.c: Likewise.
28016 * math/w_sinhl_compat.c: Likewise.
28017 * math/w_sqrt_compat.c: Likewise.
28018 * math/w_sqrtf_compat.c: Likewise.
28019 * math/w_sqrtl_compat.c: Likewise.
28020 * math/w_tgamma_compat.c: Likewise.
28021 * math/w_tgammaf_compat.c: Likewise.
28022 * math/w_tgammal_compat.c: Likewise.
28023 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28024 [LIBM_SVID_COMPAT].
28025 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28026 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28027 [LIBM_SVID_COMPAT].
28028 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28029 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28030 [LIBM_SVID_COMPAT].
28031 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28032 * sysdeps/i386/fpu/w_sqrt.c: New file.
28033 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28034 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
28035 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
28036 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
28037 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
28038 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
28039 * sysdeps/ia64/fpu/w_asin.c: Likewise.
28040 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
28041 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
28042 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
28043 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
28044 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
28045 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
28046 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
28047 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
28048 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
28049 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
28050 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
28051 * sysdeps/ia64/fpu/w_exp.c: Likewise.
28052 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
28053 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
28054 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
28055 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
28056 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
28057 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28058 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28059 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28060 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28061 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28062 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28063 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28064 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28065 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28066 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28067 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28068 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28069 * sysdeps/ia64/fpu/w_log.c: Likewise.
28070 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28071 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28072 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28073 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28074 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28075 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28076 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28077 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28078 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28079 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28080 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28081 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28082 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28083 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28084 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28085 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28086 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28087 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28088 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28089 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28090 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28091 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28092 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28093 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28094 [LIBM_SVID_COMPAT].
28095 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28096 * sysdeps/ieee754/k_standard.c: Likewise.
28097 * sysdeps/ieee754/k_standardf.c: Likewise.
28098 * sysdeps/ieee754/k_standardl.c: Likewise.
28099 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28100 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28101 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28102 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28103 long_double_symbol call on [LIBM_SVID_COMPAT].
28104 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28105 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28106 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28107 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28108 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28109 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28110 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28111 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28112 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28113 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28114 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28115 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28116 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28117 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28118 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28119 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28120 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28121 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28122 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28123 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28124 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28125 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28126
28127 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28128
28129 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28130 * malloc/tst-mallocstate.c: Convert from test-skeleton
28131 to test-driver. Ifdef code using TEST_COMPAT macro.
28132 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28133 * math/test-matherr.c: Likewise.
28134
28135 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28136
28137 [BZ #22086]
28138 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28139 comparing word with byte-swapped constant.
28140
28141 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28142
28143 [BZ #20498]
28144 * locale/iso-639.def: add Miskito.
28145 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28146 * localedata/locales/miq_NI: New file.
28147
28148 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28149
28150 [BZ #18822]
28151 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28152 (__mkdir): Likewise.
28153 * io/chmod.c (__chmod): Add libc_hidden_def.
28154 * io/mkdir.c (__mkdir): Likewise.
28155 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28156 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28157 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28158 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28159
28160 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28161
28162 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28163 version to 4.13.
28164
28165 [BZ #22082]
28166 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28167 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28168
28169 2017-09-04 Florian Weimer <fweimer@redhat.com>
28170
28171 * math/math.h: Issue warning if log is defined.
28172
28173 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28174
28175 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28176 kernel version to 4.13.
28177
28178 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28179
28180 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28181 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28182 parameter.
28183 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28184 just <bits/types.h>.
28185 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
28186 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
28187 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
28188 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
28189 * misc/preadv2.c: Include <errno.h>.
28190 * misc/preadv64v2.c: Include <errno.h>.
28191 * misc/pwritev2.c: Include <errno.h>.
28192 * misc/pwritev64v2.c: Include <errno.h>.
28193 * sysdeps/posix/preadv2.c: Include <errno.h>.
28194 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28195 Fix <unistd.h> inclusion.
28196 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28197 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
28198 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28199 __strtoul_internal): New functions.
28200 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28201 * sysdeps/posix/system.c: Include <sigsetops.h>.
28202 * sysdeps/mach/hurd/i386/Makefile
28203 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28204 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28205 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
28206 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28207 __feraiseexcept_renamed to feraiseexcept instead of
28208 __GI_feraiseexcept.
28209 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
28210 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
28211 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28212 RWF_NOWAIT): Define to 0 if undefined already.
28213 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28214 boils down to 0.
28215 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28216 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
28217
28218 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28219
28220 * manual/math.texi (pow10): Do not document.
28221 (pow10f): Likewise.
28222 (pow10l): Likewise.
28223 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28224 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28225 * math/libm-test-exp10.inc (pow10_test): Remove.
28226 (do_test): Do not call pow10.
28227 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28228 [NO_LONG_DOUBLE] (pow10l): Likewise.
28229 * math/w_exp10f_compat.c (pow10f): Likewise.
28230 * math/w_exp10l_compat.c (pow10l): Likewise.
28231 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28232 (pow10): Make into compat symbol.
28233 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28234 (pow10f): Make into compat symbol.
28235 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28236 (pow10l): Make into compat symbol.
28237 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28238 pow10.
28239 (CFLAGS-nldbl-pow10.c): Remove variable..
28240 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28241 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28242 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28243 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28244 Undefine and redefine.
28245 (pow10l): Make into compat symbol.
28246 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28247 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28248 * sysdeps/arm/libm-test-ulps: Likewise.
28249 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28250 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28251 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28252 * sysdeps/microblaze/libm-test-ulps: Likewise.
28253 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28254 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28255 * sysdeps/nios2/libm-test-ulps: Likewise.
28256 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28257 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28258 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28259 * sysdeps/sh/libm-test-ulps: Likewise.
28260 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28261 * sysdeps/tile/libm-test-ulps: Likewise.
28262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28263
28264 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28265
28266 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28267
28268 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28269
28270 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28271 "../ChangeLog.old/ChangeLog.8".
28272 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28273 "../ChangeLog.old/ChangeLog.14".
28274
28275 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28276
28277 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28278 Threads Library.
28279
28280 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28281
28282 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28283
28284 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28285
28286 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28287 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28288
28289 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28290
28291 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28292 32 atexit handlers.
28293
28294 2017-09-01 Zack Weinberg <zackw@panix.com>
28295
28296 * math/math.h (HUGE_VAL): Improve commentary.
28297
28298 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28299 Andreas Schwab <schwab@suse.de>
28300
28301 [BZ #21530]
28302 * include/stdio.h (__gen_tempfd): New function.
28303 * stdio-common/Makefile (routines): Add gentempfd.
28304 * stdio-common/gentempfd.c: New file.
28305 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28306 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28307 unnamed file first.
28308
28309 2017-09-01 Florian Weimer <fweimer@redhat.com>
28310
28311 [BZ #21915]
28312 [BZ #21922]
28313 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28314 result to determine success or failure, not the errno value.
28315 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28316 (tst-nss-files-hosts-erange): Link with -ldl.
28317 * nss/tst-nss-files-hosts-erange.c: New file.
28318 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28319 (do_test): Add NO_DATA tests.
28320 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28321 (do_test): Call it.
28322
28323 2017-09-01 Florian Weimer <fweimer@redhat.com>
28324
28325 [BZ #21922]
28326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28327 coming from gethostbyname2_r.
28328
28329 2017-09-01 Florian Weimer <fweimer@redhat.com>
28330
28331 * support/namespace.h (struct support_chroot_configuration): Add
28332 hosts, host_conf.
28333 (struct support_chroot): Add path_hosts, path_host_conf.
28334 * support/support_chroot.c (write_file): New function.
28335 (support_chroot_create): Call it to process /etc/resolv.conf,
28336 /etc/hosts, /etc/host.conf.
28337 (support_chroot_free): Update.
28338
28339 2017-09-01 Florian Weimer <fweimer@redhat.com>
28340
28341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28342 status indicates it is set.
28343
28344 2017-09-01 Florian Weimer <fweimer@redhat.com>
28345
28346 [BZ #20532]
28347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28348 function lookup failures more reliable.
28349
28350 2017-09-01 Florian Weimer <fweimer@redhat.com>
28351
28352 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28353 (getcanonname): Likewise.
28354 (gaih_inet): Likewise.
28355
28356 2017-09-01 Florian Weimer <fweimer@redhat.com>
28357
28358 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28359 (getcanonname): Likewise.
28360 (gaih_inet): Likewise.
28361
28362 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28363 Richard Henderson <rth@twiddle.net>
28364
28365 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28366 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28367 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28368 (IREG_SIZE, OREG_SIZE): New macros.
28369 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28370 (IREG_SIZE, OREG_SIZE): New macros.
28371 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28372 (IREG_SIZE): New macro.
28373 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28374 (IREG_SIZE): New macro.
28375 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28376 New includes.
28377 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28378 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28379 (__CONCATX): Handle exceptions correctly on large values that may
28380 set FE_INVALID.
28381 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28382 Initialize if not already set.
28383 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28384
28385 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28386
28387 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28388 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28389 Likewise.
28390 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28391 Likewise.
28392 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28393 Likewise.
28394 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28395 Likewise.
28396 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28397 Likewise.
28398 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28399 Likewise.
28400 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28401 Likewise.
28402 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28403 (NO_CANCELLATION): Likewise.
28404 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28405 Likewise.
28406 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28407 Likewise.
28408 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28409 Likewise.
28410 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28411 (NO_CANCELLATION): Likewise.
28412 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28413 (NO_CANCELLATION): Likewise.
28414 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28415 Likewise
28416 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28417 Likewise.
28418 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28419 Likewise.
28420 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28421 Likewise.
28422 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28423 hidden prototype.
28424 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28425 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28426
28427 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28428
28429 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28430 in resolver call.
28431
28432 2017-08-31 Florian Weimer <fweimer@redhat.com>
28433
28434 * include/libc-symbols.h (internal_function): Remove.
28435
28436 2017-08-31 Florian Weimer <fweimer@redhat.com>
28437
28438 * stdlib/fmtmsg.c (internal_addseverity): Remove
28439 internal_function.
28440
28441 2017-08-31 Florian Weimer <fweimer@redhat.com>
28442
28443 * stdio-common/printf_fp.c (group_number): Remove
28444 internal_function.
28445 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28446
28447 2017-08-31 Florian Weimer <fweimer@redhat.com>
28448
28449 * posix/fnmatch.c (internal_function): Remove definition.
28450 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28451 * posix/regcomp.c (peek_token, init_word_char)
28452 (duplicate_node_closure, fetch_token, peek_token)
28453 (peek_token_bracket, build_range_exp, build_collating_symbol):
28454 Likewise.
28455 * posix/regex_internal.c (re_string_construct_common)
28456 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28457 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28458 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28459 (re_string_translate_buffer, re_string_reconstruct)
28460 (re_string_peek_byte_case, re_string_fetch_byte_case)
28461 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28462 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28463 (re_node_set_add_intersect, re_node_set_init_union)
28464 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28465 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28466 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28467 (re_acquire_state_context): Likewise.
28468 * posix/regex_internal.h (internal_function): Remove definition.
28469 (re_string_realloc_buffers, build_wcs_buffer)
28470 (build_wcs_upper_buffer, build_upper_buffer)
28471 (re_string_translate_buffer, re_string_context_at)
28472 (re_string_char_size_at, re_string_wchar_at)
28473 (re_string_elem_size_at): Likewise.
28474 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28475 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28476 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28477 (re_search_internal, re_search_2_stub, re_search_stub)
28478 (re_copy_regs, prune_impossible_nodes, check_matching)
28479 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28480 (free_fail_stack_return, sift_states_iter_mb)
28481 (sift_states_backward, build_sifted_states)
28482 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28483 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28484 (check_subexp_limits, sift_states_bkref, merge_state_array)
28485 (find_recover_state, transit_state, merge_state_with_log)
28486 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28487 (transit_state_mb, transit_state_bkref, get_subexp)
28488 (get_subexp_sub, find_subexp_node, check_arrival)
28489 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28490 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28491 (check_node_accept_bytes, find_collation_sequence_value)
28492 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28493 (acquire_init_state_context, check_halt_node_context)
28494 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28495 (sub_epsilon_src_nodes): Likewise.
28496 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28497 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28498 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28499 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28500 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28501 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28502 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28503 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28504 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28505 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28506 (PREADV): Likewise.
28507 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28508 (PREADV): Likewise.
28509 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28510 (PWRITEV): Likewise.
28511 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28512 (PWRITEV): Likewise.
28513 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28514 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28515
28516 2017-08-31 Florian Weimer <fweimer@redhat.com>
28517
28518 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28519 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28520 Remove internal_function.
28521 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28522 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28523 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28524 (__deallocate_stack, __libc_pthread_init)
28525 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28526 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28527 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28528 Likewise.
28529 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28530 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28531 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28532 Likewise.
28533 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28534 (__pthread_mutex_unlock_usercnt): Likewise.
28535
28536 2017-08-31 Florian Weimer <fweimer@redhat.com>
28537
28538 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28539 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28540 (fts_safe_changedir): Remove internal_function.
28541 * io/ftw.c (internal_function): Remove definition.
28542 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28543
28544 2017-08-31 Florian Weimer <fweimer@redhat.com>
28545
28546 * inet/deadline.c (__deadline_current_time)
28547 (__deadline_from_timeval, __deadline_to_ms): Remove
28548 internal_function.
28549 * inet/getnameinfo.c (nrl_domainname): Likewise.
28550 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28551 * inet/inet6_option.c (add_pad): Likewise.
28552 * inet/net-internal.h (__deadline_current_time)
28553 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28554 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28555 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28556 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28557
28558 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28559
28560 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28561 include <bits/nan.h>.
28562 * math/Makefile (headers): Remove bits/nan.h.
28563 * bits/nan.h: Remove.
28564 * sysdeps/ieee754/bits/nan.h: Likewise.
28565 * sysdeps/mips/bits/nan.h: Likewise.
28566
28567 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28568 not include <bits/inf.h>.
28569 * math/Makefile (headers): Remove bits/inf.h.
28570 * bits/inf.h: Remove.
28571 * sysdeps/ieee754/bits/inf.h: Likewise.
28572
28573 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28574 bits/huge_vall.h or bits/huge_val_flt128.h.
28575 (HUGE_VAL): Define directly here.
28576 [__USE_ISOC99] (HUGE_VALF): Likewise.
28577 [__USE_ISOC99] (HUGE_VALL): Likewise.
28578 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28579 (HUGE_VAL_F128): Likewise.
28580 * math/Makefile (headers): Remove bits/huge_val.h,
28581 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28582 * bits/huge_val.h: Remove.
28583 * bits/huge_val_flt128.h: Likewise.
28584 * bits/huge_valf.h: Likewise.
28585 * bits/huge_vall.h: Likewise.
28586 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28587 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28588 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28589 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28590 * sysdeps/sh/bits/huge_val.h: Likewise.
28591 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28592 * sysdeps/x86/bits/huge_vall.h: Likewise.
28593
28594 2017-08-31 Florian Weimer <fweimer@redhat.com>
28595
28596 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28597 internal_function.
28598 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28599 Likewise.
28600 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28601 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28602 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28603 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28604 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28605 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28606 * elf/dl-libc.c (dlerror_run): Likewise.
28607 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28608 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28609 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28610 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28611 Likewise.
28612 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28613 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28614 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28615 * elf/dl-profile.c (_dl_start_profile): Likewise.
28616 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28617 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28618 Likewise.
28619 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28620 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28621 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28622 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28623 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28624 (_dl_allocate_tls_storage): Likewise.
28625 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28626 (_dl_check_all_versions): Likewise.
28627 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28628 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28629 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28630 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28631 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28632 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28633 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28634 internal_function from __dl_start.
28635 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28636 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28637 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28638 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28639 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28640 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28641 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28642 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28643 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28644 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28645 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28646 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28647 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28648 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28649 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28650 Likewise.
28651 (struct rtld_global_ro): Remove internal_function from the
28652 _dl_lookup_symbol_x member.
28653 (_dl_symbol_value): Remove. No longer defined anywhere.
28654 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28655 internal_function.
28656 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28657 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28658 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28659 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28660 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28661 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28662 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28663 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28664 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28665 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28666 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28667 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28668
28669 2017-08-31 Florian Weimer <fweimer@redhat.com>
28670
28671 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28672 Remove internal_function.
28673 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28674 Likewise.
28675 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28676 Likewise.
28677
28678 2017-08-31 Florian Weimer <fweimer@redhat.com>
28679
28680 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28681 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28682 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28683
28684 2017-08-31 Florian Weimer <fweimer@redhat.com>
28685
28686 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28687 (__gai_enqueue_request): Remove internal_function.
28688 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28689 (__gai_remove_request, __gai_notify, __gai_notify_only)
28690 (__gai_sigqueue): Likewise.
28691 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28692 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28693 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28694 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28695 Likewise.
28696
28697 2017-08-31 Florian Weimer <fweimer@redhat.com>
28698
28699 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28700 * include/dirent.h (__opendirat, __getdents, __getdents64)
28701 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28702 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28703 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28704 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28705 Likewise.
28706 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28707
28708 2017-08-31 Florian Weimer <fweimer@redhat.com>
28709
28710 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28711 internal_function.
28712 (GETCWD_RETURN_TYPE): Likewise.
28713
28714 2017-08-31 Florian Weimer <fweimer@redhat.com>
28715
28716 * include/time.h (__tz_compute, __strptime_internal): Remove
28717 internal_function.
28718 * time/strptime_l.c (__strptime_internal): Likewise.
28719 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28720
28721 2017-08-31 Florian Weimer <fweimer@redhat.com>
28722
28723 * iconv/gconv.c (__gconv): Remove internal_function.
28724 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28725 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28726 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28727 (__gconv_release_cache): Likewise.
28728 * iconv/gconv_close.c (__gconv_close): Likewise.
28729 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28730 (read_conf_file, __gconv_get_path): Likewise.
28731 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28732 (__gconv_release_step, gen_steps, increment_counter)
28733 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28734 (__gconv_close_transform, free_modules_db): Likewise.
28735 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28736 Likewise.
28737 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28738 (__gconv_find_transform, __gconv_lookup_cache)
28739 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28740 (__gconv_close_transform, __gconv_release_cache)
28741 (__gconv_loaded_object, __gconv_release_shlib)
28742 (__gconv_compare_alias): Likewise.
28743 * iconv/gconv_open.c (__gconv_open): Likewise.
28744 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28745 * iconv/iconvconfig.c (add_module): Likewise.
28746 * intl/dcigettext.c (plural_lookup, guess_category_value)
28747 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28748 * intl/eval-plural.h (plural_eval): Likewise.
28749 * intl/finddomain.c (_nl_find_domain): Likewise.
28750 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28751 (_nl_load_domain, _nl_find_msg): Likewise.
28752 (internal_function): Remove definition.
28753 * intl/loadinfo.h (internal_function): Likewise.
28754 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28755 internal_function.
28756 * intl/localealias.c (internal_function): Remove definition.
28757 (read_alias_file): Remove internal_function.
28758 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28759 * intl/plural-exp.h (internal_function): Remove definition.
28760 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28761 internal_function.
28762 * intl/plural.c: Regenerate.
28763 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28764 * locale/coll-lookup.c (__collidx_table_lookup)
28765 (__collseq_table_lookup): Likewise.
28766 * locale/coll-lookup.h (__collidx_table_lookup)
28767 (__collseq_table_lookup): Likewise.
28768 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28769 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28770 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28771 (_nl_unload_locale): Likewise.
28772 * locale/localeinfo.h (struct __locale_data): Remove
28773 internal_function from cleanup member.
28774 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28775 (_nl_remove_locale, _nl_load_locale_from_archive)
28776 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28777 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28778 (_nl_cleanup_time): Remove internal_function.
28779 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28780 (_nl_parse_alt_digit): Likewise.
28781 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28782 (_nl_select_era_entry): Likewise.
28783 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28784 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28785 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28786 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28787 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28788
28789 2017-08-31 Florian Weimer <fweimer@redhat.com>
28790
28791 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28792 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28793 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28794 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28795 Likewise.
28796 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28797 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28798 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28799 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28800 Likewise.
28801 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28802
28803 2017-08-31 Florian Weimer <fweimer@redhat.com>
28804
28805 * misc/getttyent.c (skip, value): Remove internal_function.
28806 * misc/syslog.c (openlog_internal): Likewise.
28807 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28808
28809 2017-08-31 Florian Weimer <fweimer@redhat.com>
28810
28811 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28812 (__nss_rewrite_field): Remove internal_function.
28813 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28814 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28815 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28816 * nss/nsswitch.c (nss_parse_file, nss_getline)
28817 (nss_parse_service_list, nss_new_service): Likewise.
28818 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28819 * nss/valid_field.c (__nss_valid_field): Likewise.
28820 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28821
28822 2017-08-31 Florian Weimer <fweimer@redhat.com>
28823
28824 * malloc/arena.c (__malloc_fork_lock_parent)
28825 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28826 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28827 internal_function from defintions.
28828 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28829 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28830 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28831 internal_function from declarations.
28832 * malloc/malloc.c (internal_function): Do not define.
28833 (mem2mem_check): Remove internal_function from declaration.
28834 (munmap_chunk, mremap_chunk): Remove internal_function.
28835 * malloc/mtrace.c (tr_where): Likewise.
28836
28837 2017-08-31 Florian Weimer <fweimer@redhat.com>
28838
28839 * include/rpc/pmap_clnt.h (__get_socket): Remove
28840 internal_function.
28841 * sunrpc/auth_des.c (synchronize): Likewise.
28842 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28843 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28844 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28845 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28846 (key_call): Likewise.
28847 * sunrpc/pm_getport.c (__get_socket): Likewise.
28848 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28849 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28850 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28851 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28852 (invalidate): Likewise.
28853 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28854 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28855 (set_input_fragment, get_input_bytes): Likewise.
28856
28857 2017-08-31 Florian Weimer <fweimer@redhat.com>
28858
28859 * malloc/malloc.c (_int_free): Remove locked variable and related
28860 asserts.
28861
28862 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28863
28864 [BZ #22051]
28865 * Makerules (build-module-helper-objlist): Filter out
28866 $(elf-objpfx)sofini.os.
28867 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28868 needed.
28869
28870 2017-08-31 Florian Weimer <fweimer@redhat.com>
28871
28872 * libio/fcloseall.c: Assume weak_alias is defined.
28873 * libio/feof.c: Likewise.
28874 * libio/fileno.c: Likewise.
28875 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28876 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28877 definitions.
28878 (_IO_file_open): Call __open directly.
28879 (_IO_new_file_sync): Assume ESPIPE is defined.
28880 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28881 (_IO_new_file_write): Call __write directly.
28882 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28883 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28884 * libio/genops.c: Assume _LIBC is defined.
28885 (save_for_backup): Remove internal_function.
28886 * libio/getc.c: Assume weak_alias is defined.
28887 * libio/getwc.c: Likewise.
28888 * libio/iofclose.c: Assume _LIBC is defined.
28889 * libio/iofdopen.c: Likewise.
28890 (_IO_fcntl): Remove macro definition.
28891 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28892 Call __fcntl directly.
28893 * libio/iofflush.c: Assume weak_alias is defined.
28894 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28895 defined.
28896 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28897 * libio/iofgets.c: Likewise.
28898 * libio/iofopen.c: Assume _LIBC is defined.
28899 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28900 * libio/iofputs.c: Assume weak_alias is defined.
28901 * libio/iofread.c: Likewise.
28902 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28903 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28904 * libio/ioftell.c: Assume weak_alias is defined.
28905 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28906 * libio/iofwide.c: Assume _LIBC is defined.
28907 (_IO_fwide): Drop SHARED conditional because it is implied by
28908 SHLIB_COMPAT.
28909 * libio/iofwrite.c: Assume weak_alias is defined.
28910 * libio/iogetdelim.c: Likewise.
28911 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28912 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28913 (_IO_getwline): Call __wmemcpy directly.
28914 * libio/iopopen.c: Assume _LIBC is defined.
28915 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28916 (_IO_close): Remove macro definitions.
28917 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28918 _exit directly.
28919 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28920 directly.
28921 * libio/ioputs.c: Assume weak_alias is defined.
28922 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28923 * libio/iosetbuffer.c: Assume weak_alias is defined.
28924 * libio/iosetvbuf.c: Likewise.
28925 * libio/ioungetc.c: Likewise.
28926 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28927 libc_hidden_def, libc_hidden_weak, NULL are defined.
28928 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28929 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28930 defined.
28931 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28932 definitions.
28933 (_IO_old_file_init_internal): Drop SHARED conditional because it
28934 is implied by SHLIB_COMPAT.
28935 (_IO_old_file_fopen): Call __open directly.
28936 (_IO_old_file_sync): Assume ESPIPE is defined.
28937 (_IO_old_file_write): Call __write directly.
28938 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28939 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28940 Call __fcntl directly.
28941 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28942 (_IO_old_fgetpos): Assume EIO is defined.
28943 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28944 (_IO_old_fgetpos64): Assume EIO is defined.
28945 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28946 (_IO_old_fsetpos): Assume EIO is defined.
28947 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28948 (_IO_old_fsetpos64): Assume EIO is defined.
28949 * libio/oldiopopen.c: Assume _LIBC is defined.
28950 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28951 (_IO_close): Remove macro definitions.
28952 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28953 directly.
28954 (_IO_old_proc_close): Call __close, __waitpid directly.
28955 * libio/put.c: Assume weak_alias is defined.
28956 * libio/stdfiles.c: Assume _LIBC is defined.
28957 * libio/stdio.c: Likewise.
28958 * libio/wfileops.c: Likewise.
28959 (_IO_wfile_sync): Assume ESPIPE is defined.
28960 * libio/wgenops.c: Assume _LIBC is defined.
28961 (save_for_wbackup): Remove internal_function.
28962
28963 2017-08-31 Florian Weimer <fweimer@redhat.com>
28964
28965 * malloc/malloc.c (top_check): Change return type to void. Remove
28966 internal_function.
28967 * malloc/hooks.c (top_check): Likewise.
28968 (malloc_check, realloc_check, memalign_check): Adjust.
28969
28970 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28971
28972 [BZ #21457]
28973 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28974 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28975 sigcontext and namespace requirements.
28976 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28977 * sysdeps/m68k/sys/ucontext.h: Likewise.
28978 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28979 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28980 <bits/sigcontext.h>.
28981 (__ctx): Define earlier.
28982 (mcontext_t): Define structure contents rather than using struct
28983 sigcontext.
28984 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28985 __glibc_reserved1 instead of __reserved.
28986 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28987 <bits/sigcontext.h>.
28988 (__ctx): Define earlier.
28989 (mcontext_t): Define structure contents rather than using struct
28990 sigcontext.
28991 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28992 mcontext_t instead of struct sigcontext.
28993 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28994 <bits/sigcontext.h>.
28995 (__ctx): Define earlier.
28996 (mcontext_t): Define structure contents rather than using struct
28997 sigcontext.
28998 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28999 <bits/sigcontext.h>.
29000 (__ctx): Define earlier.
29001 (mcontext_t): Define structure contents rather than using struct
29002 sigcontext.
29003 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
29004 mcontext_t instead of struct sigcontext.
29005 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29006 mcontext_t instead of struct sigcontext.
29007 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29008 <bits/sigcontext.h>.
29009 (__ctx): New macro.
29010 (struct __ia64_fpreg_mcontext): New type.
29011 (mcontext_t): Define structure contents rather than using struct
29012 sigcontext.
29013 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29014 (uc_sigmask): Define using __ctx.
29015 (uc_stack): Likewise.
29016 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29017 <bits/sigcontext.h>.
29018 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29019 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29020 <bits/sigcontext.h>.
29021 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29022 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29023 <bits/sigcontext.h>.
29024 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29025 <bits/sigcontext.h>.
29026 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29027 <bits/sigcontext.h>.
29028 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29029 <bits/sigcontext.h>.
29030 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29031 <bits/sigcontext.h>.
29032 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29033 <bits/sigcontext.h>.
29034 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
29035 <bits/sigcontext.h>.
29036 (__ctx): Define earlier.
29037 (mcontext_t): Define structure contents rather than using struct
29038 sigcontext.
29039 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
29040 <bits/sigcontext.h>. Include <bits/types.h>.
29041 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
29042 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
29043 (test-xfail-XPG42/ucontext.h/conform): Likewise.
29044 (test-xfail-UNIX98/signal.h/conform): Likewise.
29045 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29046 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29047 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29048 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29049 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29050 (test-xfail-POSIX2008/signal.h/conform): Likewise.
29051 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29052 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29053 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29054
29055 2017-08-30 Florian Weimer <fweimer@redhat.com>
29056
29057 * malloc/dynarray_emplace_enlarge.c
29058 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29059 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29060 * malloc/tst-dynarray.c (test_long_overflow): New function.
29061 (do_test): Call it.
29062
29063 2017-08-30 Florian Weimer <fweimer@redhat.com>
29064
29065 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29066 (set_arena_corrupt): Remove definitions.
29067 (mtrim): Do not check for corrupt arena.
29068 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29069 Likewise.
29070
29071 2017-08-30 Florian Weimer <fweimer@redhat.com>
29072
29073 [BZ #21754]
29074 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29075 check_action.
29076 (ptmalloc_init): Do not set or use check_action.
29077 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29078 call to malloc_printerr. Remove return statement.
29079 (free_check): Likewise. Remove arena unlock.
29080 (top_check): Update comment. Adjust call to malloc_printerr.
29081 Remove heap repair code.
29082 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29083 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29084 (sysmalloc): Adjust call to malloc_printerr.
29085 (munmap_chunk, __libc_realloc): Likewise. Remove return
29086 statement.
29087 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29088 Remove errout label and corresponding gotos.
29089 (_int_free): Likewise. Remove arena unlock.
29090 (do_set_mallopt_check): Do not set check_action.
29091 (malloc_printerr): Adjust parameter list. Do not mark arena as
29092 corrupt.
29093 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29094 comment.
29095 * manual/probes.texi (Memory Allocation Probes): Remove
29096 memory_mallopt_check_action.
29097
29098 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29099
29100 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29101 Use pointer to uint64_t instead of long int for sp.
29102
29103 2017-08-30 Florian Weimer <fweimer@redhat.com>
29104
29105 [BZ #21754]
29106 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29107 without printing a backtrace. Do not leak any information in the
29108 error message.
29109 * manual/memory.texi (Heap Consistency Checking): Update.
29110 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29111
29112 2017-08-30 Florian Weimer <fweimer@redhat.com>
29113
29114 Do not scale NPTL tests with available number of CPUs.
29115 * nptl/tst-cond16.c (count): Set to constant value of 8.
29116 * nptl/tst-cond18.c (count): Likewise.
29117
29118 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29119
29120 [BZ #22035]
29121 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29122 Define to take a second argument that is a macro that
29123 concatentates a suffix, not the suffix itself.
29124 (__CONCAT_d): New macro.
29125 (__CONCAT_f): Likewise.
29126 (__CONCAT_l): Likewise.
29127
29128 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29129
29130 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29131 by child.
29132
29133 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29134 Aurelien Jarno <aurelien@aurel32.net>
29135 Maciej W. Rozycki <macro@imgtec.com>
29136
29137 [BZ #21956]
29138 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29139 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29140 `mips16-syscall6' and `mips16-syscall7'.
29141 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29142 (CFLAGS-mips16-syscall7.c): Remove.
29143 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29144 Remove `__mips16_syscall5', `__mips16_syscall6' and
29145 `__mips16_syscall7'.
29146 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29147 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29148 `__mips_syscall_return'.
29149 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29150 (__mips16_syscall1): Likewise.
29151 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29152 (__mips16_syscall2): Likewise.
29153 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29154 (__mips16_syscall3): Likewise.
29155 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29156 (__mips16_syscall4): Likewise.
29157 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29158 Remove.
29159 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29160 Remove.
29161 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29162 Remove.
29163 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29164 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29165 `__mips16_syscall5'. Remove prototype.
29166 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29167 `__mips16_syscall6'. Remove prototype.
29168 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29169 `__mips16_syscall7'. Remove prototype.
29170 (__nomips16, __mips16_syscall_return): Move to...
29171 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29172 (__nomips16, __mips_syscall_return): ... here.
29173 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29174 `__mips16_syscall_return' to `__mips_syscall_return'.
29175 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29176 `internal_syscall##nr'.
29177 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29178 `internal_syscall##nr'.
29179 (FORCE_FRAME_POINTER): Remove.
29180 (__mips_syscall5): New prototype.
29181 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29182 (__mips_syscall6): New prototype.
29183 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29184 (__mips_syscall7): New prototype.
29185 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29186 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29187 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29188 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29189 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29190 (sysdep_routines): Add libc-do-syscall.
29191 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29192 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29193
29194 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29195
29196 [BZ #21672]
29197 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29198 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29199 (advise_stack_range): New function.
29200 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29201 stack non required to advise_stack_range at allocatestack.c
29202
29203 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29204
29205 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29206
29207 2017-08-29 Florian Weimer <fweimer@redhat.com>
29208
29209 [BZ #22026]
29210 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29211 __end_fct. Mangle __end_fct after setting it to NULL.
29212 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29213 (modules-names, modules-names-tests): Add
29214 tst-gconv-init-failure-mod.
29215 (gconv-modules): New target.
29216 (tst-gconv-init-failure-mod.so): Link against libsupport.
29217 (tst-gconv-init-failure): Depend on gconv-modules,
29218 tst-gconv-init-failure-mod.so.
29219 * iconv/tst-gconv-init-failure-mod.c: New file.
29220 * iconv/tst-gconv-init-failure.c: Likewise.
29221 * iconv/test-gconv-modules: Likewise.
29222
29223 2017-08-29 Florian Weimer <fweimer@redhat.com>
29224
29225 [BZ #22025]
29226 * iconv/gconv_db.c (free_derivation): Remove redundant
29227 parentheses.
29228 (gen_steps): Unconditionally mangle __btowc_fct after
29229 initialization.
29230 (increment_counter): Likewise. Do not call init_fct for internal
29231 modules.
29232
29233 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29234
29235 [BZ #22028]
29236 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29237 (_MSUF_): Remove macro.
29238 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29239 Likewise.
29240 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29241 (__REDIRFROM_X): New macro.
29242 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29243 Likewise.
29244 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29245 (__REDIRTO_X): Likewise.
29246 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29247 arguments.
29248 (__MATH_REDIRCALL_2): Likewise.
29249 (__MATH_REDIRCALL_INTERNAL): Likewise.
29250 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29251 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29252 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29253 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29254 * math/test-finite-macros.c: New file.
29255 * math/Makefile (tests): Add test-finite-macros.
29256 (CFLAGS-test-finite-macros.c): New variable.
29257
29258 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
29259 Jeff Law <law@redhat.com>
29260
29261 [BZ #22025]
29262 Mangle NULL pointers in iconv/gconv.
29263 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29264 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29265 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29266 is non-NULL before demangling the end_fct. Check for NULL
29267 end_fct after demangling.
29268 (__gconv_release_step): Demangle the end_fct before checking
29269 it for NULL. Remove assert on __shlibc_handle != NULL.
29270 (gen_steps): Don't check btowc_fct for NULL before mangling.
29271 Demangle init_fct before checking for NULL.
29272 (increment_counter): Likewise.
29273 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29274 end_fct for NULL before mangling.
29275 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29276 for NULL.
29277
29278 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
29279
29280 [BZ #21971]
29281 * locale/iso-639.def: add Morisyen.
29282
29283 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29284
29285 [BZ #21930]
29286 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29287 (iszero): New C++ implementation that does not use
29288 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29289 signaling nans are enabled, since __builtin_types_compatible_p
29290 is a C-only feature.
29291 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29292 defined, include ieee754_float128.h for access to the union and
29293 member ieee854_float128.ieee.
29294 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29295 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29296 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29297 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29298 options of test-math-zero on powerpc64le.
29299
29300 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29301
29302 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29303 Change double to float.
29304
29305 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29306
29307 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29308 unconditional.
29309 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29310 conditional code; define contents only for [LIBM_SVID_COMPAT].
29311
29312 2017-08-28 Florian Weimer <fweimer@redhat.com>
29313
29314 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29315 (abi-lp64_be-options): Remove.
29316 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29317 (abi-hard-options): Likewise.
29318 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29319 (abi-o32_hard-options, abi-o32_soft_2008-options)
29320 (abi-o32_hard_2008-options, abi-n32_soft-options)
29321 (abi-n32_hard-options, abi-n32_soft_2008-options)
29322 (abi-n32_hard_2008-options, abi-n64_soft-options)
29323 (abi-n64_hard-options, abi-n64_soft_2008-options)
29324 (abi-n64_hard_2008-options): Likewise.
29325 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29326 (abi-64-v1-options, abi-64-v2-options): Likewise.
29327 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29328 (abi-64-options): Likewise.
29329 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29330 (abi-64-options): Likewise.
29331 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29332 (abi-64-options): Likewise.
29333 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29334 (abi-64-options, abi-x32-options): Likewise.
29335
29336 2017-08-28 Florian Weimer <fweimer@redhat.com>
29337
29338 Store supported list of SYS_* system calls in the source tree.
29339 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29340 (bits/syscall.h): Generate from list file.
29341 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29342 [$(subdir) = misc] (tests): Add tst-syscall-list.
29343 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29344 [$(subdir) = misc] (tst-syscall-list-macros.list)
29345 [$(subdir) = misc] (tst-syscall-list-nr.list)
29346 (tst-syscall-list-sys.list): Helper targets for new
29347 tst-syscall-list test.
29348 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29349 tst-syscall-list.sh.
29350 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29351 target. Do not include bits/syscall.d.
29352 [$(subdir) = misc] (generated): Do not update.
29353 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29354 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29355 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29356 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29357
29358 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29359
29360 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29361 (tst-cxa_atexit, tst-on_exit): Likewise.
29362 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29363 tst-cxa_atexit, and tst-on_exit.
29364 * stdlib/tst-atexit-common.c: New file.
29365 * stdlib/tst-atexit.c: New file.
29366 * stdlib/tst-at_quick_exit.c: New file.
29367 * stdlib/tst-cxa_atexit.c: New file.
29368 * stdlib/tst-on_exit.c: New file.
29369
29370 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29371
29372 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
29373 * mach/stack_chk_fail_local.c: New file.
29374 * hurd/stack_chk_fail_local.c: New file.
29375 * mach/Machrules ($(interface-library)-routines): Add
29376 stack_chk_fail_local.
29377 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29378 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29379 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29380 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29381 * hurd/Makefile (CFLAGS-hurdstartup.o,
29382 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29383
29384 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29385
29386 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29387 (index_cpu_*, index_arch_*): Removed.
29388
29389 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29390
29391 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29392 Use uint64_t instead of unsigned long.
29393
29394 2017-08-25 Joseph Myers <joseph@codesourcery.com>
29395
29396 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29397 [__HAVE_DISTINCT_FLOAT128].
29398
29399 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29400 of <bits/math-finite.h>.
29401 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29402 inclusion of <bits/math-finite.h>.
29403 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29404 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29405 __NO_LONG_DOUBLE_MATH].
29406 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29407 (__MATH_REDIRCALL_2): Likewise.
29408 (__MATH_REDIRCALL_INTERNAL): Likewise.
29409 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29410 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29411 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29412
29413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29414 Remove file.
29415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29416 Likewise.
29417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29418 Likewise.
29419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29420 Likewise.
29421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29422 Likewise.
29423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29424 Likewise.
29425 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29426 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29427 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29428 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29430 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29431 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29432 w_sqrtf_compat-ppc32.
29433
29434 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29435
29436 * math/math.h [defined __cplusplus] (issignaling): In the long
29437 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29438 is not defined. Call __issignaling, otherwise.
29439
29440 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29441
29442 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29443 syscall definitions and replace __builtin_expect with __glibc_likely.
29444 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29445 syscall.
29446 (SYSCALL_CANCELLABLE): Removedefinition
29447 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29448 definition.
29449 (PSEUDO_END): Likewise.
29450 [IS_IN (libpthread)] (CENABLE): Likewise.
29451 [IS_IN (libpthread)] (CDISABLE): Likewise.
29452 [IS_IN (libc)] (CENABLE): Likewise.
29453 [IS_IN (libc)] (CENABLE): Likewise.
29454 [IS_IN (librt)] (CDISABLE): Likewise.
29455 [IS_IN (librt)] (CDISABLE): Likewise.
29456 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29457 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29458 definition.
29459 (PSEUDO_END): Likewise.
29460 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29461 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29462 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29463 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29464 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29465 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29466 (CENABLE): Likewise.
29467 (CDISABLE): Likewise.
29468 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29469 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29470 defintion.
29471 (PSEUDO_END): Likewise.
29472 [IS_IN (libpthread)] (CENABLE): Likewise.
29473 [IS_IN (libpthread)] (CDISABLE): Likewise.
29474 [IS_IN (libc)] (CENABLE): Likewise.
29475 [IS_IN (libc)] (CENABLE): Likewise.
29476 [IS_IN (librt)] (CDISABLE): Likewise.
29477 [IS_IN (librt)] (CDISABLE): Likewise.
29478 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29479 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29480 definition.
29481 (PSEUDO_END): Likewise.
29482 [IS_IN (libpthread)] (CENABLE): Likewise.
29483 [IS_IN (libpthread)] (CDISABLE): Likewise.
29484 [IS_IN (libc)] (CENABLE): Likewise.
29485 [IS_IN (libc)] (CENABLE): Likewise.
29486 [IS_IN (librt)] (CDISABLE): Likewise.
29487 [IS_IN (librt)] (CDISABLE): Likewise.
29488 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29489 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29490 definition.
29491 (PSEUDO_END): Likewise.
29492 [IS_IN (libpthread)] (CENABLE): Likewise.
29493 [IS_IN (libpthread)] (CDISABLE): Likewise.
29494 [IS_IN (libc)] (CENABLE): Likewise.
29495 [IS_IN (libc)] (CENABLE): Likewise.
29496 [IS_IN (librt)] (CDISABLE): Likewise.
29497 [IS_IN (librt)] (CDISABLE): Likewise.
29498 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29499 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29500 definition.
29501 (PSEUDO_END): Likewise.
29502 [IS_IN (libpthread)] (CENABLE): Likewise.
29503 [IS_IN (libpthread)] (CDISABLE): Likewise.
29504 [IS_IN (libc)] (CENABLE): Likewise.
29505 [IS_IN (libc)] (CENABLE): Likewise.
29506 [IS_IN (librt)] (CDISABLE): Likewise.
29507 [IS_IN (librt)] (CDISABLE): Likewise.
29508 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29509 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29510 definition.
29511 (PSEUDO_END): Likewise.
29512 [IS_IN (libpthread)] (CENABLE): Likewise.
29513 [IS_IN (libpthread)] (CDISABLE): Likewise.
29514 [IS_IN (libc)] (CENABLE): Likewise.
29515 [IS_IN (libc)] (CENABLE): Likewise.
29516 [IS_IN (librt)] (CDISABLE): Likewise.
29517 [IS_IN (librt)] (CDISABLE): Likewise.
29518 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29519 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
29520 definition.
29521 (PSEUDO_END): Likewise.
29522 [IS_IN (libpthread)] (CENABLE): Likewise.
29523 [IS_IN (libpthread)] (CDISABLE): Likewise.
29524 [IS_IN (libc)] (CENABLE): Likewise.
29525 [IS_IN (libc)] (CENABLE): Likewise.
29526 [IS_IN (librt)] (CDISABLE): Likewise.
29527 [IS_IN (librt)] (CDISABLE): Likewise.
29528 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29529 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
29530 Remove definition.
29531 (PSEUDO_END): Likewise.
29532 [IS_IN (libpthread)] (CENABLE): Likewise.
29533 [IS_IN (libpthread)] (CDISABLE): Likewise.
29534 [IS_IN (libc)] (CENABLE): Likewise.
29535 [IS_IN (libc)] (CENABLE): Likewise.
29536 [IS_IN (librt)] (CDISABLE): Likewise.
29537 [IS_IN (librt)] (CDISABLE): Likewise.
29538 (SINGLE_THREAD_P): Likewise.
29539 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
29540 definition.
29541 (PSEUDO_END): Likewise.
29542 [IS_IN (libpthread)] (CENABLE): Likewise.
29543 [IS_IN (libpthread)] (CDISABLE): Likewise.
29544 [IS_IN (libc)] (CENABLE): Likewise.
29545 [IS_IN (libc)] (CENABLE): Likewise.
29546 [IS_IN (librt)] (CDISABLE): Likewise.
29547 [IS_IN (librt)] (CDISABLE): Likewise.
29548 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29549 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
29550 definition.
29551 (PSEUDO_END): Likewise.
29552 [IS_IN (libpthread)] (CENABLE): Likewise.
29553 [IS_IN (libpthread)] (CDISABLE): Likewise.
29554 [IS_IN (libc)] (CENABLE): Likewise.
29555 [IS_IN (libc)] (CENABLE): Likewise.
29556 [IS_IN (librt)] (CDISABLE): Likewise.
29557 [IS_IN (librt)] (CDISABLE): Likewise.
29558 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29559 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29560 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29561 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29562 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
29563 definition.
29564 (PSEUDO_END): Likewise.
29565 [IS_IN (libpthread)] (CENABLE): Likewise.
29566 [IS_IN (libpthread)] (CDISABLE): Likewise.
29567 [IS_IN (libc)] (CENABLE): Likewise.
29568 [IS_IN (libc)] (CENABLE): Likewise.
29569 [IS_IN (librt)] (CDISABLE): Likewise.
29570 [IS_IN (librt)] (CDISABLE): Likewise.
29571 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29572 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29573 definition.
29574 (PSEUDO_END): Likewise.
29575 [IS_IN (libpthread)] (CENABLE): Likewise.
29576 [IS_IN (libpthread)] (CDISABLE): Likewise.
29577 [IS_IN (libc)] (CENABLE): Likewise.
29578 [IS_IN (libc)] (CENABLE): Likewise.
29579 [IS_IN (librt)] (CDISABLE): Likewise.
29580 [IS_IN (librt)] (CDISABLE): Likewise.
29581 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29582 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29583 definition.
29584 (PSEUDO_END): Likewise.
29585 [IS_IN (libpthread)] (CENABLE): Likewise.
29586 [IS_IN (libpthread)] (CDISABLE): Likewise.
29587 [IS_IN (libc)] (CENABLE): Likewise.
29588 [IS_IN (libc)] (CENABLE): Likewise.
29589 [IS_IN (librt)] (CDISABLE): Likewise.
29590 [IS_IN (librt)] (CDISABLE): Likewise.
29591 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29592 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29594 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29595 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
29596 definition.
29597 (PSEUDO_END): Likewise.
29598 [IS_IN (libpthread)] (CENABLE): Likewise.
29599 [IS_IN (libpthread)] (CDISABLE): Likewise.
29600 [IS_IN (libc)] (CENABLE): Likewise.
29601 [IS_IN (libc)] (CENABLE): Likewise.
29602 [IS_IN (librt)] (CDISABLE): Likewise.
29603 [IS_IN (librt)] (CDISABLE): Likewise.
29604 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29605 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29606 definition.
29607 (PSEUDO_END): Likewise.
29608 [IS_IN (libpthread)] (CENABLE): Likewise.
29609 [IS_IN (libpthread)] (CDISABLE): Likewise.
29610 [IS_IN (libc)] (CENABLE): Likewise.
29611 [IS_IN (libc)] (CENABLE): Likewise.
29612 [IS_IN (librt)] (CDISABLE): Likewise.
29613 [IS_IN (librt)] (CDISABLE): Likewise.
29614 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29615
29616 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29617
29618 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29619
29620 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29621
29622 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29623
29624 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29625
29626 [BZ #21982]
29627 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29628 middle and outer with size_t instead of int. Repleace %d and
29629 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29630 "MAX (outer, nchars - 64)" to support unsigned outer and
29631 nchars. Also exit loop when outer == 0.
29632
29633 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29634
29635 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29636 * include/signal.h (__sigsuspend_nocancel): Likewise.
29637 * include/time.h (__nanosleep_nocancel): Likewise.
29638 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29639 * login/utmp_file.c: Include non cancellable syscall header.
29640 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29641 prototype.
29642
29643 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29644
29645 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29646 .byte sequences with AVX512F instructions.
29647 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29648 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29649 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29650 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29651 Likewise.
29652 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29653 Likewise.
29654
29655 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29656 Steve Ellcey <sellcey@cavium.com>
29657
29658 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29659 Use PTR_REG macro in cmp instruction.
29660
29661 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29662
29663 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29664 Change the return type of the ifunc resolver to match the return
29665 type of the target function.
29666
29667 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29668
29669 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29670 (preadv64): Likewise.
29671 (pwrite64(: Likewise.
29672 (pwritev64): Likewise.
29673
29674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29675 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29676 (LOAD_ARGS_0): Likewise.
29677 (LOAD_ARGS_1): Likewise.
29678 (LOAD_ARGS_2): Likewise.
29679 (LOAD_ARGS_3): Likewise.
29680 (LOAD_ARGS_4): Likewise.
29681 (LOAD_ARGS_5): Likewise.
29682 (LOAD_ARGS_6): Likewise.
29683 (LOAD_REGS_0): Likewise.
29684 (LOAD_REGS_1): Likewise.
29685 (LOAD_REGS_2): Likewise.
29686 (LOAD_REGS_3): Likewise.
29687 (LOAD_REGS_4): Likewise.
29688 (LOAD_REGS_5): Likewise.
29689 (LOAD_REGS_6): Likewise.
29690 (ASM_ARGS_0): Likewise.
29691 (ASM_ARGS_1): Likewise.
29692 (ASM_ARGS_2): Likewise.
29693 (ASM_ARGS_3): Likewise.
29694 (ASM_ARGS_4): Likewise.
29695 (ASM_ARGS_5): Likewise.
29696 (ASM_ARGS_6): Likewise.
29697 (LOAD_ARGS_TYPES_1): Likewise.
29698 (LOAD_ARGS_TYPES_2): Likewise.
29699 (LOAD_ARGS_TYPES_3): Likewise.
29700 (LOAD_ARGS_TYPES_4): Likewise.
29701 (LOAD_ARGS_TYPES_5): Likewise.
29702 (LOAD_ARGS_TYPES_6): Likewise.
29703 (LOAD_REGS_TYPES_1): Likewise.
29704 (LOAD_REGS_TYPES_2): Likewise.
29705 (LOAD_REGS_TYPES_3): Likewise.
29706 (LOAD_REGS_TYPES_4): Likewise.
29707 (LOAD_REGS_TYPES_5): Likewise.
29708 (LOAD_REGS_TYPES_6): Likewise.
29709 (TYPEFY): New define.
29710 (ARGIFY): Likewise.
29711 (internal_syscall0): Likewise.
29712 (internal_syscall1): Likewise.
29713 (internal_syscall2): Likewise.
29714 (internal_syscall3): Likewise.
29715 (internal_syscall4): Likewise.
29716 (internal_syscall5): Likewise.
29717 (internal_syscall6): Likewise.
29718 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29719 (INTERNAL_SYSCALL_NCS): Remove define.
29720 (internal_syscall1): Add define.
29721
29722 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29723
29724 * math/w_remainder_compat.c: Remove duplicate inclusion of
29725 math-svid-compat.h.
29726 * math/w_remainderf_compat.c: Likewise.
29727 * math/w_remainderl_compat.c: Likewise.
29728
29729 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29730
29731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29732
29733 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29734
29735 [BZ #21684]
29736 * math/tgmath.h (__floating_type): Simplify definitions.
29737 (__real_integer_type): New macro.
29738 (__complex_integer_type): Likewise.
29739 (__expr_is_real): Likewise.
29740 (__tgmath_real_type_sub): Update comment to describe handling of
29741 complex types.
29742 (__tgmath_complex_type_sub): New macro.
29743 (__tgmath_complex_type): Likewise.
29744 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29745 (__TGMATH_CF128): Use __expr_is_real.
29746 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29747 __expr_is_real.
29748 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29749 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29750 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29751 integer types.
29752
29753 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29754
29755 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29756 macro.
29757 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29758 alias.
29759 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29760 Likewise.
29761
29762 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29763 nanosleep_not_cancel with __nanosleep_nocancel.
29764 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29765 (__nanosleep_nocancel): New macro.
29766 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29767 function.
29768 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29769 macro.
29770 (__nanosleep_nocancel): New prototype.
29771
29772 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29773 pause_not_cancel with __pause_nocancel.
29774 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29775 (__pause_nocancel): New macro.
29776 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29777 macro.
29778 (__pause_nocancel): New prototype.
29779 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29780
29781 2017-08-22 Martin Sebor <msebor@redhat.com>
29782
29783 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29784 to return a pointer to the same type as the target function.
29785
29786 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29787
29788 [BZ #18822]
29789 [BZ #21986]
29790 * include/printf.h (__printf_fphex): Add attribute_hidden.
29791 (__guess_grouping): New prototype.
29792 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29793 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29794 libc_hidden_proto and libc_hidden_def.
29795 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29796 (__vstrfmon_l): Remove the third argument passed to
29797 __guess_grouping.
29798
29799 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29800
29801 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29802 definition for issignaling that does not rely on __MATH_TG,
29803 since __MATH_TG uses __builtin_types_compatible_p, which is only
29804 available in C mode.
29805 (CFLAGS-test-math-issignaling.cc): New variable.
29806 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29807 * math/test-math-issignaling.cc: New test for C++ implementation
29808 of type-generic issignaling.
29809 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29810 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29811 options of test-math-issignaling on powerpc64le.
29812
29813 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29814
29815 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29816 building libc.a.
29817 (hidden_proto): Likewise.
29818 (hidden_tls_proto): Likewise.
29819 (__hidden_proto): Likewise.
29820
29821 2017-08-22 Florian Weimer <fweimer@redhat.com>
29822
29823 math: Statically link tests of internal functionality.
29824 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29825 atest-exp2.
29826 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29827 (gmp-objs): Remove assignment.
29828 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29829
29830 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29831
29832 [BZ #21987]
29833 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29834 and copy to ...
29835 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29836 ... here.
29837 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29838 ... and here.
29839
29840 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29841 variable definitions above inclusion of ../Rules.
29842
29843 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29844
29845 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29846 case calling __builtin_unreachable.
29847
29848 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29849
29850 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29851 __waitpid_nocancel.
29852 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29853 (__waitpid_nocancel): New macro.
29854 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29855 macro.
29856 (__waitpid_nocancel): Replace macro with a function.
29857 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29858 function.
29859
29860 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29861 __fcntl_nocancel.
29862 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29863 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29864
29865 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29866 __writev_nocancel_nostatus.
29867 (write_call_graph): Likewise.
29868 (write_bb_counts): Likewise.
29869 * resolv/herror.c (herror): Likewise.
29870 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29871 macro.
29872 (__writev_nocancel_nostatus): New macro.
29873 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29874 Remove macro.
29875 (__writev_nocancel_nostatus): New function.
29876
29877 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29878
29879 Revert:
29880 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29881
29882 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29883 building libc.a.
29884 (hidden_proto): Likewise.
29885 (hidden_tls_proto): Likewise.
29886 (__hidden_proto): Likewise.
29887
29888 [BZ #21973]
29889 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29890 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29892 Likewise.
29893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29894 Likewise.
29895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29896 Likewise.
29897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29898 Likewise.
29899 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29900 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29901 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29902 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29903 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29904 GLIBC_2.0 sqrtl symbol.
29905
29906 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29907 [__USE_MISC] (_LIB_VERSION): Likewise.
29908 [__USE_MISC] (struct exception): Likewise.
29909 [__USE_MISC] (matherr): Likewise.
29910 [__USE_MISC] (DOMAIN): Likewise.
29911 [__USE_MISC] (SING): Likewise.
29912 [__USE_MISC] (OVERFLOW): Likewise.
29913 [__USE_MISC] (UNDERFLOW): Likewise.
29914 [__USE_MISC] (TLOSS): Likewise.
29915 [__USE_MISC] (PLOSS): Likewise.
29916 [__USE_MISC] (HUGE): Likewise.
29917 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29918 * math/math-svid-compat.h: New file.
29919 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29920 and matherrl.
29921 * include/math.h [!_ISOMAC] (__matherr): Remove.
29922 * manual/arith.texi (FP Exceptions): Do not document matherr.
29923 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29924 (tests-internal): New variable.
29925 (install-lib): Do not add libieee.a.
29926 (non-lib.a): Likewise.
29927 (extra-objs): Do not add libieee.a and ieee-math.o.
29928 (CPPFLAGS-s_lib_version.c): Remove variable.
29929 ($(objpfx)libieee.a): Remove rule.
29930 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29931 * math/ieee-math.c: Remove.
29932 * math/libm-test-support.c (matherr): Remove.
29933 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29934 and license notices. Include <math-svid-compat.h> and
29935 <shlib-compat.h>.
29936 (matherr): Undefine as macro. Use compat_symbol_reference.
29937 (_LIB_VERSION): Likewise.
29938 * math/test-matherr-2.c: New file.
29939 * math/test-matherr-3.c: Likewise.
29940 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29941 declaration.
29942 (__kernel_standard_f): Likewise.
29943 (__kernel_standard_l): Likewise.
29944 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29945 <math_private.h>. Include <math-svid-compat.h>.
29946 (_LIB_VERSION): Undefine as macro.
29947 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29948 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29949 [LIBM_SVID_COMPAT], use compat_symbol.
29950 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29951 <math_private.h>. Include <math-svid-compat.h>.
29952 (matherr): Undefine as macro.
29953 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29954 compat_symbol.
29955 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29956 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29957 compat_symbol_reference.
29958 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29959 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29960 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29961 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29962 (MATHERR_D): Remove declaration.
29963 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29964 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29965 [LIBM_BUILD] (pmatherrf): Likewise.
29966 [LIBM_BUILD] (pmatherr): Likewise.
29967 [LIBM_BUILD] (pmatherrl): Likewise.
29968 (DOMAIN): Likewise.
29969 (SING): Likewise.
29970 (OVERFLOW): Likewise.
29971 (UNDERFLOW): Likewise.
29972 (TLOSS): Likewise.
29973 (PLOSS): Likewise.
29974 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29975 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29976 compat_symbol.
29977 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29978 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29979 compat_symbol.
29980 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29981 * math/w_acos_compat.c: Likewise.
29982 * math/w_acosf_compat.c: Likewise.
29983 * math/w_acosh_compat.c: Likewise.
29984 * math/w_acoshf_compat.c: Likewise.
29985 * math/w_acoshl_compat.c: Likewise.
29986 * math/w_acosl_compat.c: Likewise.
29987 * math/w_asin_compat.c: Likewise.
29988 * math/w_asinf_compat.c: Likewise.
29989 * math/w_asinl_compat.c: Likewise.
29990 * math/w_atan2_compat.c: Likewise.
29991 * math/w_atan2f_compat.c: Likewise.
29992 * math/w_atan2l_compat.c: Likewise.
29993 * math/w_atanh_compat.c: Likewise.
29994 * math/w_atanhf_compat.c: Likewise.
29995 * math/w_atanhl_compat.c: Likewise.
29996 * math/w_cosh_compat.c: Likewise.
29997 * math/w_coshf_compat.c: Likewise.
29998 * math/w_coshl_compat.c: Likewise.
29999 * math/w_exp10_compat.c: Likewise.
30000 * math/w_exp10f_compat.c: Likewise.
30001 * math/w_exp10l_compat.c: Likewise.
30002 * math/w_exp2_compat.c: Likewise.
30003 * math/w_exp2f_compat.c: Likewise.
30004 * math/w_exp2l_compat.c: Likewise.
30005 * math/w_fmod_compat.c: Likewise.
30006 * math/w_fmodf_compat.c: Likewise.
30007 * math/w_fmodl_compat.c: Likewise.
30008 * math/w_hypot_compat.c: Likewise.
30009 * math/w_hypotf_compat.c: Likewise.
30010 * math/w_hypotl_compat.c: Likewise.
30011 * math/w_j0_compat.c: Likewise.
30012 * math/w_j0f_compat.c: Likewise.
30013 * math/w_j0l_compat.c: Likewise.
30014 * math/w_j1_compat.c: Likewise.
30015 * math/w_j1f_compat.c: Likewise.
30016 * math/w_j1l_compat.c: Likewise.
30017 * math/w_jn_compat.c: Likewise.
30018 * math/w_jnf_compat.c: Likewise.
30019 * math/w_jnl_compat.c: Likewise.
30020 * math/w_lgamma_main.c: Likewise.
30021 * math/w_lgamma_r_compat.c: Likewise.
30022 * math/w_lgammaf_main.c: Likewise.
30023 * math/w_lgammaf_r_compat.c: Likewise.
30024 * math/w_lgammal_main.c: Likewise.
30025 * math/w_lgammal_r_compat.c: Likewise.
30026 * math/w_log10_compat.c: Likewise.
30027 * math/w_log10f_compat.c: Likewise.
30028 * math/w_log10l_compat.c: Likewise.
30029 * math/w_log2_compat.c: Likewise.
30030 * math/w_log2f_compat.c: Likewise.
30031 * math/w_log2l_compat.c: Likewise.
30032 * math/w_log_compat.c: Likewise.
30033 * math/w_logf_compat.c: Likewise.
30034 * math/w_logl_compat.c: Likewise.
30035 * math/w_pow_compat.c: Likewise.
30036 * math/w_powf_compat.c: Likewise.
30037 * math/w_powl_compat.c: Likewise.
30038 * math/w_remainder_compat.c: Likewise.
30039 * math/w_remainderf_compat.c: Likewise.
30040 * math/w_remainderl_compat.c: Likewise.
30041 * math/w_scalb_compat.c: Likewise.
30042 * math/w_scalbf_compat.c: Likewise.
30043 * math/w_scalbl_compat.c: Likewise.
30044 * math/w_sinh_compat.c: Likewise.
30045 * math/w_sinhf_compat.c: Likewise.
30046 * math/w_sinhl_compat.c: Likewise.
30047 * math/w_sqrt_compat.c: Likewise.
30048 * math/w_sqrtf_compat.c: Likewise.
30049 * math/w_sqrtl_compat.c: Likewise.
30050 * math/w_tgamma_compat.c: Likewise.
30051 * math/w_tgammaf_compat.c: Likewise.
30052 * math/w_tgammal_compat.c: Likewise.
30053 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
30054 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30055 * sysdeps/ieee754/k_standard.c: Likewise.
30056 * sysdeps/ieee754/k_standardf.c: Likewise.
30057 * sysdeps/ieee754/k_standardl.c: Likewise.
30058 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30059 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30060 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30061 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30062 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30063 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30064 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30065 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30066 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30068 Likewise.
30069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30070 Likewise.
30071 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30072 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30073 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30074 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30075
30076 2017-08-21 Florian Weimer <fweimer@redhat.com>
30077
30078 [BZ #21864]
30079 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30080 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30081 Move before inclusion of ../Rules.
30082
30083 2017-08-21 Florian Weimer <fweimer@redhat.com>
30084
30085 [BZ #21972]
30086 * assert/assert.h (assert): Use static_cast (bool) for C++.
30087 Use the ternary operator in the warning branch for GNU C.
30088 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30089 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30090 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30091 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30092 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30093
30094 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30095
30096 [BZ #18822]
30097 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30098 (__syscall_clock_gettime): Add attribute_hidden.
30099 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30100 (__start_context): Likewise.
30101
30102 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30103
30104 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30105 building libc.a.
30106 (hidden_proto): Likewise.
30107 (hidden_tls_proto): Likewise.
30108 (__hidden_proto): Likewise.
30109
30110 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30111
30112 * include/libc-symbols.h (attribute_hidden): Enable hidden
30113 visibility in libc.a compiled with PIE.
30114
30115 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30116
30117 [BZ #18822]
30118 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30119 Add attribute_hidden.
30120
30121 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30122
30123 [BZ #21864]
30124 * Makerules (all-nonlib): Add $(others-extras).
30125 * catgets/Makefile (others-extras): New.
30126 * elf/Makefile (others-extras): Likewise.
30127 * nss/Makefile (others-extras): Likewise.
30128
30129 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30130
30131 [BZ #18822]
30132 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30133 * elf/dl-open.c: Include <libc-internal.h>.
30134 (__libc_multiple_libcs): Removed.
30135 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30136 <hp-timing.h>.
30137 * include/libc-internal.h (__libc_multiple_libcs): New.
30138 * misc/sbrk.c: Include <libc-internal.h>.
30139 (__libc_multiple_libcs): Removed.
30140
30141 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30142
30143 [BZ #18822]
30144 * grp/initgroups.c (__nss_group_database): Removed.
30145 (__nss_initgroups_database): Likewise.
30146 * nscd/gai.c (__nss_hosts_database): Likewise.
30147 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30148 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30149 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30150 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30151 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30152 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30153 attribute_hidden.
30154 * nss/nsswitch.c (__nss_database_custom): Define only if
30155 USE_NSCD is defined.
30156 (__nss_configure_lookup): Use __nss_database_custom only if
30157 USE_NSCD is defined.
30158 * nss/nsswitch.h (__nss_database_custom): Declare only if
30159 USE_NSCD is defined. Add attribute_hidden.
30160 (__nss_setent): Add attribute_hidden.
30161 (__nss_endent): Likewise.
30162 (__nss_getent_r): Likewise.
30163 (__nss_getent): Likewise.
30164 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30165
30166 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30167
30168 [BZ #18822]
30169 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30170 libc_hidden_proto and libc_hidden_def.
30171
30172 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30173
30174 [BZ #18822]
30175 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30176 Add libc_hidden_proto.
30177 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30178 Add libc_hidden_def.
30179
30180 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30181
30182 [BZ #21974]
30183 * gmon/Makefile (routines): Remove bb_init_func and
30184 bb_exit_func.
30185 (elide-routines.os): Removed.
30186 * gmon/bb_exit_func.c: Likewise.
30187 * gmon/bb_init_func.c: Likewise.
30188 * include/sys/gmon.h (__bb): Likewise.
30189 (__bb_init_func): Likewise.
30190 (__bb_exit_func): Likewise.
30191 * sysdeps/alpha/bb_init_func.S: Likewise.
30192
30193 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30194
30195 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30196 * include/setjmp.h (____longjmp_chk): Here. Add
30197 attribute_hidden.
30198
30199 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30200
30201 [BZ #18822]
30202 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30203 attribute_hidden.
30204 (__strspn_sse2): Likewise.
30205
30206 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30207
30208 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30209 (close_not_cancel_no_status): Likewise.
30210 (__close_nocancel): New macro.
30211 (__close_nocancel_nostatus): Likewise.
30212 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30213 macro.
30214 (close_not_cancel): Likewise.
30215 (close_not_cancel_no_status): Likewise.
30216 (__close_nocancel): New prototype.
30217 (__close_nocancel_nostatus): New function.
30218 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30219 * catgets/open_catalog.c (__open_catalog): Replace
30220 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30221 * gmon/gmon.c (write_gmon): Likewise.
30222 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30223 * intl/loadmsgcat.c (close): Likewise.
30224 * io/ftw.c (open_dir_stream): Likewise.
30225 (ftw_startup): Likewise.
30226 * libio/fileops.c (_IO_file_open): Likewise.
30227 (_IO_file_close_mmap): Likewise.
30228 (_IO_file_close): Likewise.
30229 * libio/iopopen.c (_IO_dup2): Likewise.
30230 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30231 * locale/loadlocale.c (_nl_load_locale): Likewise.
30232 * login/utmp_file.c (pututline_file): Likewise.
30233 (endutent_file): Likewise.
30234 * misc/daemon.c (daemon): Likewise.
30235 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30236 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30237 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30238 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30239 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30240 * nscd/nscd_helper.c (open_socket): Likewise.
30241 (__nscd_open_socket): Likewise.
30242 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30243 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30244 (__nscd_innetgr): Likewise.
30245 * nss/nss_db/db-open.c (internal_setent): Likewise.
30246 * resolv/res-close.c (__res_iclose): Likewise.
30247 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30248 * sysdeps/posix/closedir.c (__closedir): Likewise.
30249 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30250 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30251 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30252 (opendir_tail): Likewise.
30253 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30254 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30255 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30256 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30257 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30258 (gethostid): Likewise.
30259 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30260 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30261 Likewise.
30262 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30263 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30264 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30265 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30266 Likewise.
30267 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30268 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30269 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30270 Likewise.
30271 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30272 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30273 Likewise.
30274 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30275 Likewise.
30276 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30277 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30278 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30279 __close_nocancel.
30280
30281 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30282 (openat_not_cancel_3): Likewise.
30283 (openat64_not_cancel_3): Likewise).
30284 (openat_not_cancel_3): Likewise).
30285 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30286 macro.
30287 (openat_not_cancel_3): Likewise.
30288 (openat64_not_cancel): Likewise.
30289 (openat64_not_cancel_3): Likewise.
30290 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30291 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30292 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30293 __open{64}_nocancel.
30294 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30295 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30296 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30297
30298 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30299
30300 [BZ #18822]
30301 * include/argz.h (__argz_create_sep): New function prototype.
30302 (__argz_append): Likewise.
30303 (__argz_add): Likewise.
30304 (__argz_add_sep): Likewise.
30305 (__argz_delete): Likewise.
30306 (__argz_insert): Likewise.
30307 (__argz_replace): Likewise.
30308 * string/argz.h (__argz_create_sep): Removed.
30309 (__argz_append): Likewise.
30310 (__argz_add): Likewise.
30311 (__argz_add_sep): Likewise.
30312 (__argz_delete): Likewise.
30313 (__argz_insert): Likewise.
30314 (__argz_replace): Likewise.
30315
30316 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30317
30318 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30319 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30320 (GNU_PROPERTY_STACK_SIZE): Likewie.
30321 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30322 (GNU_PROPERTY_LOPROC): Likewise.
30323 (GNU_PROPERTY_HIPROC): Likewise.
30324 (GNU_PROPERTY_LOUSER): Likewise.
30325 (GNU_PROPERTY_HIUSER): Likewise.
30326 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30327 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30328 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30329 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30330 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30331 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30332 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30333 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30334 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30335 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30336 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30337 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30338 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30339 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30340 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30341 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30342 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30343 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30344 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30345 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30346 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30347 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30348 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30349
30350 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30351
30352 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30353 in C++ mode.
30354
30355 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30356
30357 [BZ #21930]
30358 * math/math.h (isinf): Check if in C or C++ mode before using
30359 __builtin_types_compatible_p, since this is a C mode feature.
30360
30361 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30362
30363 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30364 (__write_nocancel): New macro.
30365 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30366 Rewrite as a function prototype.
30367 (write_not_cancel): Remove macro.
30368 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30369 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30370 (write_gmon): Likewise.
30371 * libio/fileops.c (_IO_new_file_write): Likewise.
30372 * login/utmp_file.c (pututline_file): Likewise.
30373 (updwtmp_file): Likewise.
30374 * stdio-common/psiginfo.c (psiginfo): Likewise.
30375 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30376 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30377 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30378 Likewise.
30379 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30380 Likewise.
30381
30382 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30383 (__read_nocancel): New macro.
30384 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30385 __read_nocancel.
30386 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30387 macro.
30388 (__read_nocancel): New prototype.
30389 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30390 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30391 with __read_nocancel.
30392 * intl/loadmsgcat.c (read): Likewise.
30393 * libio/fileops.c (_IO_file_read): Likewise.
30394 * locale/loadlocale.c (_nl_load_locale): Likewise.
30395 * login/utmp_file.c (getutent_r_file): Likewise.
30396 (internal_getut_r): Likewise.
30397 (getutline_r_file): Likewise.
30398 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30399 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30400 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30401 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30402 Likewise.
30403 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30404 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30405 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30406 Likewise.
30407 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30408 Likewise.
30409 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30410 Likewise.
30411 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30412 Likewise.
30413 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30414
30415 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30416
30417 [BZ #21966]
30418 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30419 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30420 usable.
30421
30422 2017-08-17 DJ Delorie <dj@redhat.com>
30423
30424 * bug17079.c: Update to new test harness.
30425 * test-digits-dots.c: Likewise.
30426 * test-netdb.c: Likewise.
30427 * tst-field.c: Likewise.
30428 * tst-nss-getpwent.c: Likewise.
30429 * tst-nss-static.c: Likewise.
30430 * tst-nss-test1.c: Likewise.
30431 * tst-nss-test2.c: Likewise.
30432 * tst-nss-test3.c: Likewise.
30433 * tst-nss-test4.c: Likewise.
30434 * tst-nss-test5.c: Likewise.
30435
30436 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30437
30438 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30439 (open_not_cancel_2): Likewise.
30440 (open_nocancel): New macro.
30441 (open64_nocancel): Likewise.
30442 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30443 (open_not_cancel_2): Likewise.
30444 (__open_nocancel): New prototype.
30445 (__open64_nocancel): Likewise.
30446 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30447 __open_nocancel.
30448 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30449 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30450 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30451 with __open_nocancel.
30452 * csu/check_fds.c (check_one_fd): Likewise.
30453 * gmon/gmon.c (write_gmon): Likewise.
30454 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30455 * intl/loadmsgcat.c (open): Likewise.
30456 * libio/fileops.c (_IO_file_open): Likewise.
30457 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30458 * locale/loadlocale.c (_nl_load_locale): Likewise.
30459 * login/utmp_file.c (setutent_file): Likewise.
30460 * misc/daemon.c (daemon): Likewise.
30461 * nss/nss_db/db-open.c (internal_setent): Likewise.
30462 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30463 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30464 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30465 (__opendir): Likewise.
30466 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30467 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30468 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30469 (gethostid): Likewise.
30470 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30471 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30472 Likewise.
30473 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30474 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30475 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30476 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30477 Likewise.
30478 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30479 Likewise.
30480 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30481 Likewise.
30482 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30483 Likewise.
30484 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30485 Likewise.
30486 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30487 Likewise.
30488 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30489 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30490
30491 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30492
30493 * benchtests/bench-skeleton.c (main): Add support for
30494 latency benchmarking.
30495 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30496
30497 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30498
30499 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30500 the startup object.
30501
30502 2017-08-17 Florian Weimer <fweimer@redhat.com>
30503
30504 * include/sys/socket.h (__opensock): Remove internal_function.
30505 * socket/opensock.c (__opensock): Likewise.
30506 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30507
30508 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30509
30510 [BZ #21944]
30511 * signal/bits/types/__sigval_t.h: New file.
30512 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30513 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30514 and define sigval_t using __sigval_t.
30515 * include/bits/types/__sigval_t.h: New file.
30516 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30517 instead of <bits/types/__sigval_t.h>.
30518 (struct sigevent): Use __sigval_t instead of sigval_t.
30519 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30520 instead of <bits/types/__sigval_t.h>.
30521 (siginfo_t): Use __sigval_t instead of sigval_t.
30522 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30523 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30524 (struct sigevent): Use __sigval_t instead of sigval_t.
30525 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30526 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30527 (siginfo_t): Use __sigval_t instead of sigval_t.
30528 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30529
30530 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30531
30532 * NEWS: Remove "[Add new features here]" for 2.27.
30533
30534 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30535
30536 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30537 libc.so.
30538
30539 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30540
30541 * NEWS: Mention x86-64 FMA optimization.
30542
30543 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30544
30545 [BZ #21912]
30546 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30547 Add e_expf-fma.
30548 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30549 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30550 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30551
30552 2017-08-16 Andreas Schwab <schwab@suse.de>
30553
30554 [BZ #16750]
30555 CVE-2009-5064
30556 * elf/ldd.bash.in: Never run file directly.
30557
30558 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30559
30560 [BZ #21955]
30561 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30562 (L(SP_INF_0)): Likewise.
30563
30564 2017-08-15 Florian Weimer <fweimer@redhat.com>
30565
30566 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30567 run-built-tests.
30568
30569 2017-08-15 Florian Weimer <fweimer@redhat.com>
30570
30571 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30572 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30573 BROKEN_THREAD_SIGNALS code.
30574 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30575 request_list): Remove caller_pid member used for
30576 BROKEN_THREAD_SIGNALS.
30577 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30578 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30579 Remove BROKEN_THREAD_SIGNALS support.
30580 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30581 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30582
30583 2017-08-15 Florian Weimer <fweimer@redhat.com>
30584
30585 * gmon/Makefile (tests): Add tst-gmon.
30586 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30587 Set.
30588 (tests-special): Add tst-gmon-prof.out.
30589 (tst-gmon.out): Depend on clean-tst-gmon-data.
30590 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30591 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30592 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30593 startup object.
30594 * aclocal.m4 (GPROF): Set and substitute.
30595 * config.amke.in (GPROF): Set.
30596 * configure: Regenerate.
30597
30598 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30599
30600 * elf/elf.h A (NT_PPC_TAR): New macro.
30601 (NT_PPC_PPR): Likewise.
30602 (NT_PPC_DSCR): Likewise.
30603 (NT_PPC_EBB): Likewise.
30604 (NT_PPC_PMU): Likewise.
30605 (NT_PPC_TM_CGPR): Likewise.
30606 (NT_PPC_TM_CFPR): Likewise.
30607 (NT_PPC_TM_CVMX): Likewise.
30608 (NT_PPC_TM_CVSX): Likewise.
30609 (NT_PPC_TM_SPR): Likewise.
30610 (NT_PPC_TM_CTAR): Likewise.
30611 (NT_PPC_TM_CPPR): Likewise.
30612 (NT_PPC_TM_CDSCR): Likewise.
30613
30614 2017-08-15 Florian Weimer <fweimer@redhat.com>
30615
30616 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30617 regparm (2) instead of internal_function.
30618 (_MCOUNT_DECL): Adjust.
30619
30620 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30621
30622 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30623 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30624
30625 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30626
30627 * conform/data/sys/wait.h-data (si_value): Do not expect for
30628 XPG42.
30629
30630 2017-08-14 Florian Weimer <fweimer@redhat.com>
30631
30632 [BZ #21962]
30633 NSS: Create stubs for accidentally exported lookup functions.
30634 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30635 Remove declaration.
30636 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30637 (ether_hostton): Call __nss_ethers_lookup2 instead.
30638 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30639 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30640 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30641 (setup): Call __nss_netgroup_lookup2 instead.
30642 * nss/Makefile (routines): Add compat-lookup.
30643 * nss/Versions (GLIBC_2.27): Add symbol version.
30644 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30645 (DB_COMPAT_FCT): Remove.
30646 * nss/compat-lookup.c: New file.
30647 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30648 from databases.def.
30649 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30650 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30651 (netname2user): Call __nss_publickey_lookup2 instead.
30652 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30653 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30654 instead.
30655
30656 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30657 Sergei Trofimovich <slyfox@inbox.ru>
30658
30659 [BZ #21908]
30660 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30661 Rename to MMAP2_PAGE_UNIT.
30662 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30663 __OFF_T_MATCHES_OFF64_T is not defined.
30664 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30665 uint64_t.
30666 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30667 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30668
30669 2017-08-14 Florian Weimer <fweimer@redhat.com>
30670
30671 i386: Do not set internal_function.
30672 * config.h.in (USE_REGPARMS, internal_function): Remove.
30673 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30674 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30675
30676 2017-08-14 Florian Weimer <fweimer@redhat.com>
30677
30678 * elf/dl-init.c (_dl_init): Remove internal_function.
30679 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30680 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30681
30682 2017-08-14 Florian Weimer <fweimer@redhat.com>
30683
30684 * elf/rtld.c (_dl_start): Remove internal_function.
30685 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30686 _dl_start.
30687
30688 2017-08-14 Florian Weimer <fweimer@redhat.com>
30689
30690 * elf/dl-fini.c (_dl_fini): Remove internal_function
30691 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30692
30693 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30694
30695 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30696 (bit_cpu_SHSTK): Likewise.
30697 (index_cpu_IBT): Likewise.
30698 (index_cpu_SHSTK): Likewise.
30699 (reg_IBT): Likewise.
30700 (reg_SHSTK): Likewise.
30701 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30702 Handle index_cpu_IBT and index_cpu_SHSTK.
30703
30704 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30705
30706 [BZ #19982]
30707 * po/fr.po: Fix spelling mistake.
30708
30709 2017-08-13 Florian Weimer <fweimer@redhat.com>
30710
30711 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30712 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30713 (_dl_catch_error, _dl_receive_error): Likewise.
30714 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30715 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30716 (_dl_deallocate_tls): Likewise.
30717 * include/dlfcn.h (_dl_addr): Likewise.
30718 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30719 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30720 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30721 Likewise.
30722
30723 2017-08-13 Florian Weimer <fweimer@redhat.com>
30724
30725 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30726 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30727 internal_function.
30728 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30729
30730 2017-08-13 Florian Weimer <fweimer@redhat.com>
30731
30732 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30733 internal_function.
30734 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30735 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30736 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30737 internal_function from _dl_make_stack_executable_hook member.
30738 (_dl_make_stack_executable): Remove internal_function.
30739 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30740 Likewise.
30741 * sysdeps/unix/sysv/linux/dl-execstack.c
30742 (_dl_make_stack_executable): Likewise.
30743
30744 2017-08-13 Florian Weimer <fweimer@redhat.com>
30745
30746 * sysdeps/unix/sysv/linux/netlinkaccess.h
30747 (__netlink_assert_response): Remove internal_function.
30748 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30749 (__netlink_assert_response): Likewise.
30750
30751 2017-08-13 Florian Weimer <fweimer@redhat.com>
30752
30753 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30754 internal_function.
30755 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30756
30757 2017-08-13 Florian Weimer <fweimer@redhat.com>
30758
30759 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30760 internal_function.
30761 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30762 * inet/netgroup.h (__internal_setnetgrent)
30763 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30764 * inet/getnetgrent_r.c (__internal_setnetgrent)
30765 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30766 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30767 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30768 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30769 * nss/nsswitch.h (db_lookup_function): Likewise.
30770
30771 2017-08-13 Florian Weimer <fweimer@redhat.com>
30772
30773 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30774 Remove internal_function.
30775 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30776 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30777 message argument on the stack.
30778 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30779 Likeweise.
30780
30781 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30782
30783 Adapt test case data to the changes in the thousands
30784 separators.
30785
30786 [BZ #20756]
30787 * localedata/tst-langinfo.sh: Adapt test case data.
30788 * stdlib/tst-strfmon_l.c: Likewise.
30789 * stdlib/tst-strtod4.c: Likewise.
30790 * stdlib/tst-strtod5i.c: Likewise.
30791
30792 2017-08-11 Florian Weimer <fweimer@redhat.com>
30793
30794 [BZ #21242]
30795 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30796 Suppress pedantic warning resulting from statement expression.
30797 (__ASSERT_FUNCTION): Add missing __extension__.
30798
30799 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30800
30801 * benchtests/bench-memmove-large.c: Print output in JSON
30802 format.
30803 * benchtests/bench-memmove.c: Likewise.
30804
30805 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30806 * benchtests/bench-memchr.c (do_one_test): Likewise.
30807 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30808 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30809 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30810 * benchtests/bench-memmove.c (do_one_test): Likewise.
30811 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30812 * benchtests/bench-memset.c (do_one_test): Likewise.
30813 * benchtests/bench-string.h (test_init): Remove memsets.
30814
30815 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30816
30817 * manual/lang.texi
30818 (Computing the Width of an Integer Data Type): Rename section to
30819 "Width of an Integer Type". Remove inaccurate statement regarding
30820 lack of C language facilities for determining width of integer
30821 types, and reorder content to improve flow and context of
30822 discussion.
30823
30824 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30825
30826 * lang.texi (va_copy): Change standard from ISO to C99.
30827 (__va_copy): Add standard and header annotation.
30828 Update description for clarity of origins and current use.
30829
30830 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30831
30832 [BZ #21941]
30833 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30834 xssqrtqp requires operands to be in Vector Registers
30835 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30836 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30837 (__ieee754_sqrtf128): Likewise.
30838
30839 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30840
30841 * sysdeps/aarch64/memcmp.S (memcmp):
30842 Rewrite of optimized memcmp.
30843
30844 2017-08-10 Florian Weimer <fweimer@redhat.com>
30845
30846 Introduce ld.so exceptions.
30847 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30848 (_dl_exception_create, _dl_exception_create_format)
30849 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30850 (_dl_catch_exception): Declare.
30851 (_dl_catch_error): Update comment.
30852 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30853 errstring, malloced members with exception member.
30854 (_dl_out_of_memory): Remove.
30855 (fatal_error): New function, extracted from _dl_signal_error.
30856 (_dl_signal_exception, _dl_signal_cexception): New functions.
30857 (_dl_signal_error): Call _dl_exception_create to allocate an
30858 exception object.
30859 (_dl_catch_exception): New function, based on _dl_catch_error.
30860 (_dl_catch_error): Implement using _dl_catch_exception.
30861 * elf/dl-exception.c: New file.
30862 * elf/Makefile (dl-routines): Add dl-exception.
30863 (elide-routines.os): Likewise.
30864 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30865 _dl_exception_create_format, _dl_exception_free.
30866 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30867 _dl_signal_exception.
30868 * elf/dl-lookup.c (make_string): Remove.
30869 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30870 _dl_signal_cexception, _dl_exception_free.
30871 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30872 _dl_signal_exception.
30873 * elf/dl-sym.c (do_sym): Likewise.
30874 * elf/dl-version.c (make_string): Remove.
30875 (match_symbol): Use _dl_exception_create_format,
30876 _dl_signal_cexception, _dl_exception_free.
30877 (_dl_check_map_versions): Likewise.
30878 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30879 _dl_catch_exception.
30880 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30881 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30882 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30883 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30884 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30885 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30886 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30887 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30888 Likewise.
30889 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30891 (ld.so): Likewise.
30892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30893 (ld.so): Likewise.
30894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30895 Likewise.
30896 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30897 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30898 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30899 Likewise.
30900 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30901 Likewise.
30902 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30903
30904 2017-08-10 Florian Weimer <fweimer@redhat.com>
30905
30906 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30907 attribute_hidden, internal_function.
30908 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30909 internal_function.
30910
30911 2017-08-10 Florian Weimer <fweimer@redhat.com>
30912
30913 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30914 function which calls __builtin_unreachable.
30915
30916 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30917
30918 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30919 Indian monetary formatting
30920 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30921 test cases.
30922
30923 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30924
30925 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30926 Fix typo in comment.
30927
30928 [BZ #21928]
30929 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30930 PTRACE_SEIZE_DEVEL): Remove.
30931 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30932 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30933 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30934 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30935 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30936
30937 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30938
30939 * posix/bits/types.h (__qaddr_t): Remove.
30940
30941 [BZ #21457]
30942 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30943 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30944 __glibc_reserved1.
30945 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30946 (ucontext_t): Use __ctx with uc_flags.
30947 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30948 (__ctxt): Likewise.
30949 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30950 __glibc_reserved1.
30951 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30952 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30953 __glibc_reserved1.
30954 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30955 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30956 __glibc_reserved1.
30957 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30958 macro.
30959 (ucontext_t): Use __ctx with uc_flags.
30960 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30961 (ucontext_t): Use __ctx with uc_flags.
30962 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30963 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30964 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30965 (ucontext_t): Use __ctx with uc_flags.
30966 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30967 undefine further down.
30968 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30969 __glibc_reserved1.
30970 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30971 undefine further down.
30972 (ucontext_t): Use __ctx with uc_flags.
30973 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30974 undefine further down.
30975 (ucontext_t): Use __ctx with uc_flags.
30976 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30977 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30978 Rename uc_pad to __glibc_reserved1.
30979 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30980 undefine further down.
30981 (ucontext_t): Use __ctx with uc_flags.
30982 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30983 further down.
30984 (ucontext_t): Use __ctx with uc_flags.
30985 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30986 __ctx with uc_flags.
30987 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30988 (ucontext_t): Use __ctx with uc_flags.
30989 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30990 __ctx with uc_flags.
30991
30992 2017-08-09 Florian Weimer <fweimer@redhat.com>
30993
30994 [BZ #21932]
30995 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30996 before early return.
30997
30998 2017-08-09 Andreas Schwab <schwab@suse.de>
30999
31000 [BZ #21041]
31001 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31002 renamed alias.
31003
31004 [BZ #21041]
31005 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31006 tst-compat-forwarder.
31007 (modules-names): Add tst-compat-forwarder-mod.
31008 ($(objpfx)tst-compat-forwarder): Depend on
31009 $(objpfx)tst-compat-forwarder-mod.so.
31010 * nptl/tst-compat-forwarder.c: New file.
31011 * nptl/tst-compat-forwarder-mod.c: New file.
31012
31013 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31014
31015 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31016 comments.
31017
31018 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31019 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31020 memcpy_falkor.
31021 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31022 Bump.
31023 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31024 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31025 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31026 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31027 Add falkor.
31028 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31029 New macro.
31030
31031 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31032
31033 [BZ #759]
31034 * manual/setjmp.texi (getcontex): Document uc_stack value
31035 compatibility differences.
31036
31037 2017-08-08 Joseph Myers <joseph@codesourcery.com>
31038
31039 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
31040 (old_malloc_hook): Likewise.
31041 (old_memalign_hook): Likewise.
31042 (old_realloc_hook): Likewise.
31043 (struct hdr): Likewise.
31044 (flood): Likewise.
31045 (freehook): Likewise.
31046 (mallochook): Likewise.
31047 (memalignhook): Likewise.
31048 (reallochook): Likewise.
31049 (mprobe): Likewise.
31050 * malloc/mtrace.c (mallwatch): Likewise.
31051 (tr_old_free_hook): Likewise.
31052 (tr_old_malloc_hook): Likewise.
31053 (tr_old_realloc_hook): Likewise.
31054 (tr_old_memalign_hook): Likewise.
31055 (tr_where): Likewise.
31056 (lock_and_info): Likewise.
31057 (tr_freehook): Likewise.
31058 (tr_mallochook): Likewise.
31059 (tr_reallochook): Likewise.
31060 (tr_memalignhook): Likewise.
31061 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31062 * misc/mmap.c (__mmap): Likewise.
31063 * misc/mmap64.c (__mmap64): Likewise.
31064 * misc/mprotect.c (__mprotect): Likewise.
31065 * misc/msync.c (msync): Likewise.
31066 * misc/munmap.c (__munmap): Likewise.
31067 * posix/posix_madvise.c (posix_madvise): Likewise.
31068 * socket/send.c (__send): Likewise.
31069 * socket/sendto.c (__sendto): Likewise.
31070 * socket/setsockopt.c (__setsockopt): Likewise.
31071 * string/memcmp.c (__ptr_t): Remove macro.
31072 (MEMCMP): Use void * instead of ptr_t.
31073 * string/memrchr.c (__ptr_t): Remove macro.
31074 (__memrchr): Use void * instead of ptr_t.
31075 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31076 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31077 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31078 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31079 * sysdeps/mach/msync.c (msync): Likewise.
31080 * sysdeps/mach/munmap.c (__munmap): Likewise.
31081 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31082 Likewise.
31083 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31084 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31085 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31086 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31087 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31088 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31089 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31090 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31091 Likewise.
31092 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31093 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31094 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31095 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31096 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31097 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31098 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31099 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31100 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31101 Likewise.
31102 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31103 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31104 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31105 (MEMCMP): Use void * instead of ptr_t.
31106 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31107 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31108
31109 2017-08-08 Florian Weimer <fweimer@redhat.com>
31110
31111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31112 return statement.
31113
31114 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31115
31116 [BZ #21913]
31117 * csu/libc-tls.c: Include <startup.h> first.
31118 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31119 * elf/dl-tunables.c: Include <startup.h> first.
31120 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31121 * sysdeps/generic/startup.h: New file.
31122 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31123 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31124 (I386_USE_SYSENTER): New. Defined to 0.
31125
31126 2017-08-08 Andreas Schwab <schwab@suse.de>
31127
31128 [BZ #21041]
31129 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31130 * nptl/pt-system.c (system): Likewise.
31131
31132 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31133
31134 [BZ #21780]
31135 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31136 EOPNOTSUPP.
31137 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31138 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31139 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31140 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31141 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31142 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31143 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31144
31145 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31146
31147 [BZ #21899]
31148 * bits/sigaction.h (struct sigaction): Define sa_handler and
31149 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31150 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31151 [__USE_XOPEN_EXTENDED].
31152 (SA_RESTART): Likewise.
31153 (SA_NODEFER): Likewise.
31154 (SA_RESETHAND): Likewise.
31155 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31156 (struct sigaction): Define sa_handler and sa_sigaction using union
31157 also for [__USE_XOPEN_EXTENDED].
31158 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31159 [__USE_XOPEN_EXTENDED].
31160 (SA_RESTART): Likewise.
31161 (SA_NODEFER): Likewise.
31162 (SA_RESETHAND): Likewise.
31163 * sysdeps/unix/sysv/linux/bits/sigaction.h
31164 (struct sigaction): Define sa_handler and sa_sigaction using union
31165 also for [__USE_XOPEN_EXTENDED].
31166 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31167 [__USE_XOPEN_EXTENDED].
31168 (SA_RESTART): Likewise.
31169 (SA_NODEFER): Likewise.
31170 (SA_RESETHAND): Likewise.
31171 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31172 (struct sigaction): Define sa_handler and sa_sigaction using union
31173 also for [__USE_XOPEN_EXTENDED].
31174 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31175 [__USE_XOPEN_EXTENDED].
31176 (SA_RESTART): Likewise.
31177 (SA_NODEFER): Likewise.
31178 (SA_RESETHAND): Likewise.
31179 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31180 (struct sigaction): Define sa_handler and sa_sigaction using union
31181 also for [__USE_XOPEN_EXTENDED].
31182 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31183 [__USE_XOPEN_EXTENDED].
31184 (SA_RESTART): Likewise.
31185 (SA_NODEFER): Likewise.
31186 (SA_RESETHAND): Likewise.
31187 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31188 (struct sigaction): Define sa_handler and sa_sigaction using union
31189 also for [__USE_XOPEN_EXTENDED].
31190 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31191 [__USE_XOPEN_EXTENDED].
31192 (SA_RESTART): Likewise.
31193 (SA_NODEFER): Likewise.
31194 (SA_RESETHAND): Likewise.
31195 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31196 (struct sigaction): Define sa_handler and sa_sigaction using union
31197 also for [__USE_XOPEN_EXTENDED].
31198 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31199 [__USE_XOPEN_EXTENDED].
31200 (SA_RESTART): Likewise.
31201 (SA_NODEFER): Likewise.
31202 (SA_RESETHAND): Likewise.
31203 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31204 (struct sigaction): Define sa_handler and sa_sigaction using union
31205 also for [__USE_XOPEN_EXTENDED].
31206 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31207 [__USE_XOPEN_EXTENDED].
31208 (SA_RESTART): Likewise.
31209 (SA_NODEFER): Likewise. Define directly rather than as alias.
31210 (SA_RESETHAND): Likewise.
31211 (SA_INTERRUPT): Define only for [__USE_MISC].
31212 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31213 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31214 [__USE_MISC].
31215 (SA_STACK): Define only for [__USE_MISC].
31216 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31217 (struct sigaction): Define sa_handler and sa_sigaction using union
31218 also for [__USE_XOPEN_EXTENDED].
31219 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31220 [__USE_XOPEN_EXTENDED].
31221 (SA_RESTART): Likewise.
31222 (SA_NODEFER): Likewise.
31223 (SA_RESETHAND): Likewise.
31224 (SA_NOPTRACE): Define only for [__USE_MISC].
31225
31226 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31227 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31228 (struct catalog_info): Likewise.
31229 * inet/htontest.c (lo): Likewise.
31230 (foo): Likewise.
31231 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31232 * inet/inet_net.c (inet_network): Likewise.
31233 * inet/inet_netof.c (inet_netof): Likewise.
31234 * inet/rcmd.c (__ivaliduser): Likewise.
31235 (iruserok): Likewise.
31236 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31237 * locale/programs/locale-spec.c (locale_special): Likewise.
31238 * nis/nis_findserv.c (struct findserv_req): Likewise.
31239 (__nis_findfastest_with_timeout): Likewise.
31240 * nss/test-netdb.c (test_network): Likewise.
31241 * resolv/inet_neta.c (inet_neta): Likewise.
31242 * resolv/ns_date.c (ns_datetosecs): Likewise.
31243 (SECS_PER_DAY): Likewise.
31244 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31245 Likewise.
31246 * resolv/res_comp.c (__putlong): Likewise.
31247 (__putshort): Likewise.
31248 (_getlong): Likewise.
31249 (_getshort): Likewise.
31250 * resolv/res_debug.c (p_time): Likewise.
31251 (precsize_ntoa): Likewise.
31252 (precsize_aton): Likewise.
31253 (latlon2ul): Likewise.
31254 (loc_aton): Likewise.
31255 (loc_ntoa): Likewise.
31256 * resolv/res_hconf.c (struct netaddr): Likewise.
31257 (_res_hconf_reorder_addrs): Likewise.
31258 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31259 (clnttcp_control): Likewise.
31260 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31261 (clntudp_control): Likewise.
31262 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31263 (clntunix_control): Likewise.
31264 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31265 * sunrpc/rpc/auth.h (union des_block): Likewise.
31266 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31267 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31268 (xdrrec_create): Likewise.
31269 (xdrrec_endofrecord): Likewise.
31270 (flush_out): Likewise.
31271 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31272 (xdrstdio_putlong): Likewise.
31273 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31274 Likewise.
31275
31276 * misc/sys/cdefs.h (__long_double_t): Remove.
31277 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31278 instead of __long_double_t,
31279 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31280
31281 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31282
31283 * benchtests/scripts/compare_strings.py: Avoid display error when
31284 running on a text terminal.
31285
31286 * benchtests/scripts/compare_strings.py (main): Add an
31287 optional -base option.
31288 (process_results): New argument base_func.
31289
31290 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31291 hardcoding memcpy.
31292 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31293 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31294
31295 2017-08-07 Andreas Schwab <schwab@suse.de>
31296
31297 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31298 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31299 * intl/Makefile ($(objpfx)tst-gettext.out)
31300 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31301 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31302 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31303 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31304 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31305 * posix/Makefile ($(objpfx)globtest.out)
31306 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31307 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31308 ($(objpfx)tst-printf.out): Likewise.
31309 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31310 ($(objpfx)tst-setcontext3.out): Likewise.
31311
31312 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31313
31314 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31315 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31316 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31317 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31318 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31319 and mptan-fma.
31320 (CFLAGS-doasin-fma.c): New.
31321 (CFLAGS-dosincos-fma.c): Likewise.
31322 (CFLAGS-e_asin-fma.c): Likewise.
31323 (CFLAGS-e_atan2-fma.c): Likewise.
31324 (CFLAGS-e_exp-fma.c): Likewise.
31325 (CFLAGS-e_log-fma.c): Likewise.
31326 (CFLAGS-e_pow-fma.c): Likewise.
31327 (CFLAGS-halfulp-fma.c): Likewise.
31328 (CFLAGS-mpa-fma.c): Likewise.
31329 (CFLAGS-mpatan-fma.c): Likewise.
31330 (CFLAGS-mpatan2-fma.c): Likewise.
31331 (CFLAGS-mpexp-fma.c): Likewise.
31332 (CFLAGS-mplog-fma.c): Likewise.
31333 (CFLAGS-mpsqrt-fma.c): Likewise.
31334 (CFLAGS-mptan-fma.c): Likewise.
31335 (CFLAGS-s_atan-fma.c): Likewise.
31336 (CFLAGS-sincos32-fma.c): Likewise.
31337 (CFLAGS-slowexp-fma.c): Likewise.
31338 (CFLAGS-slowpow-fma.c): Likewise.
31339 (CFLAGS-s_sin-fma.c): Likewise.
31340 (CFLAGS-s_tan-fma.c): Likewise.
31341 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31342 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31343 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31344 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31345 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31346 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31347 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31348 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31349 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31350 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31351 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31352 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31353 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31354 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31355 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31356 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31357 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31358 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31359 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31360 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31361 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31362 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31363 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31364 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31365 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31366 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31367 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31368 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31369 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31370 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31371 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31372
31373 2017-08-04 Joseph Myers <joseph@codesourcery.com>
31374
31375 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31376 (min_of_type_f): New macro.
31377 (min_of_type_): Likewise.
31378 (min_of_type_l): Likewise.
31379 (min_of_type_f128): Likewise.
31380 (min_of_type): Define using __MATH_TG and taking an expression
31381 argument.
31382 (math_check_force_underflow): Pass expression instead of type to
31383 min_of_type.
31384 (math_check_force_underflow_nonneg): Likewise.
31385
31386 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31387
31388 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31389 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31390 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31391
31392 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31393
31394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31395 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31396 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31397 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31398 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31399 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31400 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31401 memmove_chk-nonshared and memset_chk-nonshared
31402 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31403 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31404 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31405 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31406 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31407 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31408 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31409 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31410 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31411 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31412 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31413 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31414 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31415 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31416 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31417 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31418 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31419 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31420 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31421 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31422 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31423 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31424 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31425 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31426 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31427 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31428 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31429 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31430 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31431 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31432 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31433 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31434 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31435 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31436 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31437 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31438 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31439 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31440 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31441 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31442 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31443 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31444 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31445 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31446 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31447 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31448 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31449 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31450 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31451 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31452 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31453 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31454 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31455 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31456 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31457 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31458 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31459 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31460 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31461 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31462 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31463 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31464 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31465 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31466 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31467 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31468 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31469 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31470 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31471 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31472 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31473 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31474 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31475 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31476 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31477 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31478 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31479 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31480 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31481 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31482 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31483 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31484 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31485 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31486 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31487 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31488 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31489 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31490 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31491 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31492 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31493 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31494 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31495 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31496 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31497 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31498 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31499 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31500 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31501 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31502 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31503 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31504 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31505 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31506 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31507 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31508 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31509 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31510
31511 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31512
31513 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31514 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31515 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31516 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31517 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31518 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31519 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31520 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31521 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31522 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31523 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31524 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31525 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31526 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31527 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31528 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31529 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31530 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31531 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31532 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31533 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31534 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31535 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31536 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31537 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31538 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31539 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31540 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31541 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31542 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31543 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31544 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31545 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31546 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31547 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31548 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31549 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31550 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31551 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31552 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31553 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31554 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31555 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31556 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31557 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31558 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31559 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31560 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31561 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31562 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31563 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31564 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31565 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31566 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31567 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31568 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31569 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31570 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31571 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31572 ...
31573 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31574 Don't include <sysdep.h> nor <init-arch.h>.
31575 (_ZGVbN2v_cos): Removed.
31576 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31577 ...
31578 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31579 Don't include <sysdep.h> nor <init-arch.h>.
31580 (_ZGVdN4v_cos): Removed.
31581 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31582 ...
31583 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31584 Don't include <sysdep.h> nor <init-arch.h>.
31585 (_ZGVeN8v_cos): Removed.
31586 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31587 ...
31588 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31589 Don't include <sysdep.h> nor <init-arch.h>.
31590 (_ZGVbN2v_exp): Removed.
31591 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31592 ...
31593 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31594 Don't include <sysdep.h> nor <init-arch.h>.
31595 (_ZGVdN4v_exp): Removed.
31596 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31597 ...
31598 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31599 Don't include <sysdep.h> nor <init-arch.h>.
31600 (_ZGVeN8v_exp): Removed.
31601 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31602 ...
31603 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31604 Don't include <sysdep.h> nor <init-arch.h>.
31605 (_ZGVbN2v_log): Removed.
31606 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31607 ...
31608 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31609 Don't include <sysdep.h> nor <init-arch.h>.
31610 (_ZGVdN4v_log): Removed.
31611 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31612 ...
31613 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31614 Don't include <sysdep.h> nor <init-arch.h>.
31615 (_ZGVeN8v_log): Removed.
31616 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31617 ...
31618 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31619 Don't include <sysdep.h> nor <init-arch.h>.
31620 (_ZGVbN2vv_pow): Removed.
31621 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31622 ...
31623 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31624 Don't include <sysdep.h> nor <init-arch.h>.
31625 (_ZGVdN4vv_pow): Removed.
31626 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31627 ...
31628 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31629 Don't include <sysdep.h> nor <init-arch.h>.
31630 (_ZGVeN8vv_pow): Removed.
31631 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31632 ...
31633 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31634 Don't include <sysdep.h> nor <init-arch.h>.
31635 (_ZGVbN2v_sin): Removed.
31636 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31637 ...
31638 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31639 Don't include <sysdep.h> nor <init-arch.h>.
31640 (_ZGVbN4v_sin): Removed.
31641 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31642 ...
31643 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31644 Don't include <sysdep.h> nor <init-arch.h>.
31645 (_ZGVbN8v_sin): Removed.
31646 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31647 ...
31648 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31649 Don't include <sysdep.h> nor <init-arch.h>.
31650 (_ZGVbN2vvv_sincos): Removed.
31651 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31652 ...
31653 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31654 Don't include <sysdep.h> nor <init-arch.h>.
31655 (_ZGVdN4vvv_sincos): Removed.
31656 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31657 ...
31658 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31659 Don't include <sysdep.h> nor <init-arch.h>.
31660 (_ZGVeN8vvv_sincos): Removed.
31661 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31662 ...
31663 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31664 Don't include <sysdep.h> nor <init-arch.h>.
31665 (_ZGVeN16v_cosf): Removed.
31666 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31667 ...
31668 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31669 Don't include <sysdep.h> nor <init-arch.h>.
31670 (_ZGVbN4v_cosf): Removed.
31671 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31672 ...
31673 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31674 Don't include <sysdep.h> nor <init-arch.h>.
31675 (_ZGVdN8v_cosf): Removed.
31676 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31677 ...
31678 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31679 Don't include <sysdep.h> nor <init-arch.h>.
31680 (_ZGVeN16v_expf): Removed.
31681 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31682 ...
31683 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31684 Don't include <sysdep.h> nor <init-arch.h>.
31685 (_ZGVbN4v_expf): Removed.
31686 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31687 ...
31688 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31689 Don't include <sysdep.h> nor <init-arch.h>.
31690 (_ZGVdN8v_expf): Removed.
31691 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31692 ...
31693 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31694 Don't include <sysdep.h> nor <init-arch.h>.
31695 (_ZGVeN16v_logf): Removed.
31696 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31697 ...
31698 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31699 Don't include <sysdep.h> nor <init-arch.h>.
31700 (_ZGVbN4v_logf): Removed.
31701 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31702 ...
31703 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31704 Don't include <sysdep.h> nor <init-arch.h>.
31705 (_ZGVdN8v_logf): Removed.
31706 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31707 ...
31708 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31709 Don't include <sysdep.h> nor <init-arch.h>.
31710 (_ZGVeN16vv_powf): Removed.
31711 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31712 ...
31713 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31714 Don't include <sysdep.h> nor <init-arch.h>.
31715 (_ZGVbN4vv_powf): Removed.
31716 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31717 ...
31718 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31719 Don't include <sysdep.h> nor <init-arch.h>.
31720 (_ZGVdN8vv_powf): Removed.
31721 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31722 ...
31723 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31724 Don't include <sysdep.h> nor <init-arch.h>.
31725 (_ZGVeN16vvv_sincosf): Removed.
31726 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31727 ...
31728 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31729 Don't include <sysdep.h> nor <init-arch.h>.
31730 (_ZGVbN4vvv_sincosf): Removed.
31731 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31732 ...
31733 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31734 Don't include <sysdep.h> nor <init-arch.h>.
31735 (_ZGVdN8vvv_sincosf): Removed.
31736 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31737 ...
31738 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31739 Don't include <sysdep.h> nor <init-arch.h>.
31740 (_ZGVeN16v_sinf): Removed.
31741 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31742 ...
31743 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31744 Don't include <sysdep.h> nor <init-arch.h>.
31745 (_ZGVbN4v_sinf): Removed.
31746 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31747 ...
31748 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31749 Don't include <sysdep.h> nor <init-arch.h>.
31750 (_ZGVdN8v_sinf): Removed.
31751
31752 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31753
31754 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31755 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31756 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31757 s_rint-sse4_1 and s_rintf-sse4_1.
31758 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31759 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31760 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31761 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31762 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31763 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31764 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31765 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31766 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31767 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31768 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31769 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31770 (__ceil): Removed.
31771 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31772 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31773 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31774 (__ceilf): Removed.
31775 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31776 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31777 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31778 (__floor): Removed.
31779 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31780 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31781 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31782 (__floorf): Removed.
31783 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31784 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31785 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31786 (__nearbyint): Removed.
31787 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31788 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31789 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31790 (__nearbyintf): Removed.
31791 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31792 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31793 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31794 (__rint): Removed.
31795 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31796 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31797 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31798 (__rintf): Removed.
31799
31800 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31801
31802 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31803 SHARED. Avoid dynamic relocation against main in static PIE.
31804
31805 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31806
31807 [BZ #21815]
31808 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31809 (LDFLAGS-tst-prelink): Likewise.
31810
31811 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31812
31813 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31814 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31815 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31816 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31817 (INTERNAL_SYSCALL_NCS): Likewise.
31818 (LOADARGS_1): Likewise.
31819 (LOADARGS_5): Likewise.
31820 (RESTOREARGS_1): Likewise.
31821 (RESTOREARGS_5): Likewise.
31822
31823 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31824
31825 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31826 (MEMPCPY_SYMBOL): Likewise.
31827 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31828 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31829 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31830 in libc.a.
31831 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31832 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31833 Likewise.
31834 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31835 (__hidden_ver1): Don't use in libc.a.
31836 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31837 (__mempcpy): Don't create a weak alias in libc.a.
31838 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31839 libc.a.
31840 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31841 (__hidden_ver1): Don't use in libc.a.
31842
31843 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31844
31845 * config.make.in (have-insert): New.
31846 * configure.ac (libc_cv_insert): New. Set to yes if linker
31847 supports INSERT in linker script.
31848 (AC_SUBST(libc_cv_insert): New.
31849 * configure: Regenerated.
31850 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31851 if $(have-insert) == yes.
31852
31853 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31854
31855 * elf/Makefile (tests): Add vismain only if
31856 $(have-protected-data) == yes.
31857 (tests-pie): Likewise.
31858
31859 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31860
31861 [BZ #21871]
31862 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31863 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31864
31865 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31866
31867 [BZ #21790]
31868 * sysdeps/i386/i586/memset.S
31869 (__memset_zero_constant_len_parameter): Removed.
31870 * sysdeps/i386/i686/memset.S
31871 (__memset_zero_constant_len_parameter): Likewise.
31872 * sysdeps/i386/i686/multiarch/memset_chk.S
31873 (__memset_zero_constant_len_parameter): Likewise.
31874 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31875 Likewise.
31876
31877 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31878
31879 * stdlib/getentropy.c (getentropy): Change return type to int.
31880
31881 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31882
31883 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31884
31885 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31886
31887 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31888 u_intN_t.
31889 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31890 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31891 Likewise.
31892 (ieee_float_shape_type): Likewise.
31893 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31894 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31895 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31896 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31897 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31898 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31899 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31900 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31901 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31902 Likewise.
31903 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31904 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31905 (__ieee754_yn): Likewise.
31906 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31907 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31908 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31909 Likewise.
31910 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31911 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31912 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31913 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31914 (__erfc): Likewise.
31915 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31916 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31917 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31918 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31919 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31920 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31921 Likewise.
31922 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31923 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31924 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31925 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31926 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31927 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31928 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31929 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31930 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31931 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31932 (__issignaling): Likewise.
31933 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31934 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31935 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31936 Likewise.
31937 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31938 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31939 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31940 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31941 Likewise.
31942 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31943 Likewise.
31944 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31945 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31946 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31947 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31948 (__erfcf): Likewise.
31949 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31950 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31951 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31952 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31953 Likewise.
31954 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31955 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31956 Likewise.
31957 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31958 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31959 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31960 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31961 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31962 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31963 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31964 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31965 Likewise.
31966 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31967 Likewise.
31968 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31969 Likewise.
31970 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31971 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31972 Likewise.
31973 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31974 Likewise.
31975 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31976 (__ieee754_ynl): Likewise.
31977 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31978 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31979 Likewise.
31980 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31981 Likewise.
31982 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31983 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31984 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31985 Likewise.
31986 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31987 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31988 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31989 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31990 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31991 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31992 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31993 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31994 Likewise.
31995 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31996 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31997 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31998 Likewise.
31999 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32000 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32001 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32002 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32003 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32004 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32005 Likewise.
32006 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32007 Likewise.
32008 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32009 Likewise.
32010 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32011 Likewise.
32012 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32013 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32014 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32015 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32016 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32017 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32018 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32019 Likewise.
32020 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32021 Likewise.
32022 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32023 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32024 Likewise.
32025 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32026 (__ieee754_remainderl): Likewise.
32027 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32028 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32029 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32030 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32031 Likewise.
32032 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32033 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32034 Likewise.
32035 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32036 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
32037 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
32038 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
32039 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32040 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32041 Likewise.
32042 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
32043 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
32044 (__ieee754_y0l): Likewise.
32045 (pzero): Likewise.
32046 (qzero): Likewise.
32047 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32048 (__ieee754_y1l): Likewise.
32049 (pone): Likewise.
32050 (qone): Likewise.
32051 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32052 (__ieee754_ynl): Likewise.
32053 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
32054 (__ieee754_lgammal_r): Likewise.
32055 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
32056 Likewise.
32057 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32058 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32059 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32060 (__erfcl): Likewise.
32061 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32062 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32063 Likewise.
32064 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32065 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32066 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32067 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32068 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32069 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32070 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32071 Likewise.
32072 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32073 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32074 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32075 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32076 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32077 Likewise.
32078 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32079 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32080 Likewise.
32081 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32082 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32083 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32084 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32085 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32086
32087 2017-08-03 Florian Weimer <fweimer@redhat.com>
32088
32089 [BZ #21885]
32090 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32091 on memory allocation failure.
32092
32093 2017-08-03 Alan Modra <amodra@gmail.com>
32094
32095 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32096 tst-tlsopt-powerpc.c with function name change and no test harness.
32097 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32098 Call tls_get_addr_opt_test.
32099 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32100 (modules-names): Add mod-tlsopt-powerpc.
32101 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32102 (tst-tlsopt-powerpc): Depend on .so.
32103 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32104 define. Expand use in TLS_GD and TLS_LD.
32105
32106 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32107
32108 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32109 function.
32110 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32111
32112 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32113
32114 [BZ #21686]
32115 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32116 comparing size with that of double.
32117 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32118 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32119 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32120 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32121 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32122 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32123 unsigned __int128 types.
32124
32125 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32126
32127 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32128 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32129 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32130 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32131 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32132
32133 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32134
32135 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32136
32137 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32138
32139 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32140 of SHARED.
32141 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32142 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32143 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32144 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32145 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32146 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32147 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32148
32149 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32150
32151 [BZ #21685]
32152 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32153 bit-field expressions passed to sizeof or typeof.
32154 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32155 (__TGMATH_F128): Likewise.
32156 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32157 (__TGMATH_CF128): Likewise.
32158 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32159 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32160 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32161 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32162 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32163 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32164 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32165 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32166 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32167 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32168 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32169 (__TGMATH_UNARY_IMAG): Likewise.
32170 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32171 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32172 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32173 type.
32174 (define_vars_for_type): Handle bit_field type specially.
32175 (Tests.__init__): Declare structure with bit-field element.
32176
32177 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32178
32179 [BZ #21791]
32180 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32181 (MEMCPY_CHK): Define only if SHARED is defined.
32182 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32183 Likewise.
32184 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32185 Likewise.
32186
32187 See ChangeLog.18 for earlier changes.