]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
elf: Ignore LD_AUDIT interfaces if la_version returns 0 [BZ #24122]
[thirdparty/glibc.git] / ChangeLog
1 2019-02-12 Florian Weimer <fweimer@redhat.com>
2
3 [BZ #24122]
4 * elf/rtld.c (unload_audit_module): New function.
5 (report_audit_module_load_error): Likewise.
6 (load_audit_module): Likewise. Extracted from dl_main. Call
7 _dl_close if the laversion symbol cannot be found. Use early
8 returns for error handling. Add malloc error check. Check for a
9 zero return value from la_version. Remove spurious comment about
10 static TLS initialization. Remove useless casts.
11 (notify_audit_modules_of_loaded_object): New function. Extracted
12 from dl_main.
13 (load_audit_module): Likewise.
14 (dl_main): Call load_audit_modules.
15
16 2019-02-12 Joseph Myers <joseph@codesourcery.com>
17
18 * elf/dl-exception.c (_dl_exception_create_format): Add
19 fall-through comments.
20 * elf/ldconfig.c (parse_conf_include): Likewise.
21 * elf/rtld.c (print_statistics): Likewise.
22 * locale/programs/charmap.c (parse_charmap): Likewise.
23 * misc/mntent_r.c (__getmntent_r): Likewise.
24 * posix/wordexp.c (parse_arith): Likewise.
25 (parse_backtick): Likewise.
26 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
27 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
28 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29
30 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
31
32 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
33 Use float instead of double.
34
35 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
36
37 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
38
39 2019-02-08 Joseph Myers <joseph@codesourcery.com>
40
41 * sysdeps/powerpc/bits/mathinline.h: Remove.
42
43 2019-02-08 Florian Weimer <fweimer@redhat.com>
44
45 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
46 * math/bits/math-finite.h: Move to ...
47 * bits/math-finite.h: ... here.
48
49 2019-02-08 Florian Weimer <fweimer@redhat.com>
50
51 * sysdeps/generic/bits/unistd_ext.h: Move to ...
52 * bits/unistd_ext.h: here.
53
54 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
55
56 [BZ #21915]
57 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
58 * nss/tst-nss-files-hosts-long.c: New file.
59 * nss/tst-nss-files-hosts-long.root: New directory.
60 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
61 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
62
63 2019-02-08 Florian Weimer <fweimer@redhat.com>
64
65 * include/bits/unistd_ext.h: Remove file.
66 * posix/bits/unistd_ext.h: Move to ...
67 * sysdeps/generic/bits/unistd_ext.h: ... here.
68
69 2019-02-08 Florian Weimer <fweimer@redhat.com>
70
71 * include/bits/unistd_ext.h: New file.
72
73 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
74
75 * time/tst-strftime2.c: Use array_length macros instead of magic
76 numbers.
77
78 2019-02-08 Florian Weimer <fweimer@redhat.com>
79
80 [BZ #24161]
81 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
82 argument.
83 * nptl/register-atfork.c (__run_fork_handlers): Only perform
84 locking if the new do_locking argument is true.
85 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
86 __run_fork_handlers.
87
88 2019-02-08 Florian Weimer <fweimer@redhat.com>
89
90 [BZ #6399]
91 Linux: Add gettid system call wrapper.
92 * posix/Makefile (headers): Add bits/unistd_ext.h.
93 * posix/bits/unistd_ext.h: New file.
94 * posix/unistd.h: Include it.
95 * manual/process.texi (Process Identification): Document gettid.
96 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
97 tst-gettid, tst-gettid-kill.
98 (tst-gettid): Link with $(shared-thread-library).
99 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
100 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
101 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
102 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
103 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
104 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
105 Add gettid.
106 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
107 Likewise.
108 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
109 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
110 Likewise.
111 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
112 Likewise.
113 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
114 Likewise.
115 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
116 Likewise.
117 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
118 Likewise.
119 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
120 Likewise.
121 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
122 Likewise.
123 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
124 (GLIBC_2.30): Likewise.
125 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
126 (GLIBC_2.30): Likewise.
127 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
128 (GLIBC_2.30): Likewise.
129 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
130 (GLIBC_2.30): Likewise.
131 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
132 Likewise.
133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
134 (GLIBC_2.30): Likewise.
135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
136 (GLIBC_2.30): Likewise.
137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
138 (GLIBC_2.30): Likewise.
139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
140 (GLIBC_2.30): Likewise.
141 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
142 Likewise.
143 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
144 Likewise.
145 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
146 Likewise.
147 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
148 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
149 Likewise.
150 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
151 Likewise.
152 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
153 Likewise.
154 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
155 Likewise.
156 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
157
158 2019-02-07 Florian Weimer <fweimer@redhat.com>
159
160 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
161 compatibility symbols.
162
163 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
164
165 [BZ #24180]
166 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
167 Add compiler barriers and comments.
168
169 2019-02-07 Florian Weimer <fweimer@redhat.com>
170
171 * include/array_length.h (array_length): Do not use a statement
172 expression and _Static_assert, so that array_length can be used at
173 file scope and as a constant expression.
174
175 2019-02-07 Florian Weimer <fweimer@redhat.com>
176
177 * support/xdlfcn.h (xdlmopen): Declare.
178 * support/xdlmopen.c: New file.
179 * support/Makefile (libsupport-routines): Add xdlmopen.
180
181 2019-02-06 Joseph Myers <joseph@codesourcery.com>
182
183 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
184 before return type, without separate inline.
185 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
186 * elf/dl-tunables.h (tunable_is_name): Likewise.
187 * malloc/malloc.c (do_set_trim_threshold): Likewise.
188 (do_set_top_pad): Likewise.
189 (do_set_mmap_threshold): Likewise.
190 (do_set_mmaps_max): Likewise.
191 (do_set_mallopt_check): Likewise.
192 (do_set_perturb_byte): Likewise.
193 (do_set_arena_test): Likewise.
194 (do_set_arena_max): Likewise.
195 (do_set_tcache_max): Likewise.
196 (do_set_tcache_count): Likewise.
197 (do_set_tcache_unsorted_limit): Likewise.
198 * nis/nis_subr.c (count_dots): Likewise.
199 * nptl/allocatestack.c (advise_stack_range): Likewise.
200 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
201 (do_sin): Likewise.
202 (reduce_sincos): Likewise.
203 (do_sincos): Likewise.
204 * sysdeps/unix/sysv/linux/x86/elision-conf.c
205 (do_set_elision_enable): Likewise.
206 (TUNABLE_CALLBACK_FNDECL): Likewise.
207
208 2019-02-06 Florian Weimer <fweimer@redhat.com>
209
210 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
211 (xdlsym): Use dlerror to detect a NULL symbol.
212
213 2019-02-06 Florian Weimer <fweimer@redhat.com>
214
215 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
216 <stap-probe.h>.
217 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
218
219 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
220
221 * libio/tst-bz24153.c (wide): Use wide char format specifier.
222
223 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
224
225 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
226 __wmemcmp and weak alias to wmemcmp.
227
228 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
229
230 [BZ #23403]
231 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
232 TLS_TCB_AT_TP tls variant.
233 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
234 Add alignment checks.
235 * support/Makefile (libsupport-routines): Add xposix_memalign and
236 xpthread_setstack.
237 * support/support.h: Add xposix_memalign.
238 * support/xthread.h: Add xpthread_attr_setstack.
239 * support/xposix_memalign.c: New File.
240 * support/xpthread_attr_setstack.c: Likewise.
241
242 2019-02-05 Florian Weimer <fweimer@redhat.com>
243
244 [BZ #24164]
245 arm: Use "nr" constraint for Systemtap probes, to avoid the
246 compiler using memory operands for constants, due to the "o"
247 alternative in the default "nor" constraint.
248 * include/stap-probe.h [USE_STAP_PROBE]: Include
249 <stap-probe-machine.h>
250 * sysdeps/generic/stap-probe-machine.h: New file.
251 * sysdeps/arm/stap-probe-machine.h: Likewise.
252
253 2019-02-04 Joseph Myers <joseph@codesourcery.com>
254
255 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
256 with 0, not tcache->entries[tc_idx].
257
258 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
259 once.
260
261 2019-02-04 Andreas Schwab <schwab@suse.de>
262
263 [BZ #16976]
264 [BZ #17396]
265 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
266 looking up collating elements match against (wide) character
267 sequence instead of name. Correct alignment adjustment.
268 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
269 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
270 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
271 (LOCALES): Add cs_CZ.ISO-8859-2.
272 * posix/tst-fnmatch4.c: New file.
273 * posix/tst-fnmatch5.c: New file.
274 * include/wchar.h (__wmemcmp): Declare.
275 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
276 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
277 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
278 * sysdeps/s390/wmemcmp.c: Likewise.
279
280 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
281
282 [BZ #24155]
283 CVE-2019-7309
284 * NEWS: Updated for CVE-2019-7309.
285 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
286 upper 32 bits of RDX register for x32. Use unsigned Jcc
287 instructions, instead of signed.
288 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
289 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
290
291 2019-02-04 Florian Weimer <fweimer@redhat.com>
292
293 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
294 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
295 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
296 Likewise.
297 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
298 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
299 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
300 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
301 Likewise.
302 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
303 Likewise.
304 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
305 Likewise.
306 (posix_spawn_file_actions_addopen): Likewise.
307 (posix_spawn_file_actions_addclose): Likewise.
308 (posix_spawn_file_actions_adddup2): Likewise.
309 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
310 qualifiers.
311 (posix_spawn_file_actions_addfchdir_np): Likewise.
312
313 2019-02-04 David Newall <glibc@davidnewall.com>
314
315 elf: Implement --preload option for the dynamic linker.
316 * elf/rtld.c (preloadarg): New variable.
317 (handle_preload_list): Pass through “where” argument to
318 do_preload.
319 (dl_main): Handle "--preload" and add second call to
320 handle_preload_list.
321 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
322 (tst-rtld-preload-OBJS): Set variable.
323 (tst-rtld-preload.out): New target.
324 * elf/tst-rtld-preload.sh: New file.
325
326 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
327
328 * Makefile (testrun.sh): Exit in case of incorrect argument.
329
330 2019-02-04 Florian Weimer <fweimer@redhat.com>
331
332 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
333 alignment gaps.
334
335 2019-02-03 Florian Weimer <fweimer@redhat.com>
336
337 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
338 implicit overflow checks.
339
340 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
341
342 * stdlib/isomac.c: Include <unistd.h>.
343
344 2019-02-03 Florian Weimer <fweimer@redhat.com>
345
346 * include/time.h (__tzfile_default): Use int, not long int, for
347 the GMT offsets.
348 * time/tzfile.c (struct ttinfo): Change type of the offset member
349 to int.
350 (__tzfile_read): Remove useless cast.
351 (__tzfile_default): Adjust prototype.
352 * time/tzset.c (tz_rule): Change type of the offset member to int.
353 (parse_offset): Change the type of the sign variable to int.
354
355 2019-02-03 Florian Weimer <fweimer@redhat.com>
356
357 [BZ #24153]
358 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
359 * libio/getchar.c (getchar): Likewise.
360 * libio/getchar_u.c (getchar_unlocked): Likewise.
361 * libio/getwchar.c (getwchar): Likewise.
362 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
363 * libio/iogets.c (_IO_gets): Likewise.
364 * libio/vscanf.c (_IO_vscanf): Likewise.
365 * libio/vwscanf.c (__vwscanf): Likewise.
366 * libio/tst-bz24153.c: New file.
367 * libio/Makefile (tests): Add it.
368
369 2019-02-02 Florian Weimer <fweimer@redhat.com>
370
371 [BZ #14829]
372 * manual/resource.texi (Basic Scheduling Functions): Add
373 portability note. Change process to task throughout the section.
374 Remove incorrect comment about sched_yield as it affects
375 tasks/threads, not entire processes.
376 * sysdeps/unix/sysv/linux/bits/posix_opt.h
377 (_POSIX_PRIORITY_SCHEDULING): Update comment.
378
379 2019-02-01 Joseph Myers <joseph@codesourcery.com>
380
381 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
382 * configure: Regenerated.
383 * manual/install.texi (Tools for Compilation): Update minimum GCC
384 version.
385 * INSTALL: Regenerated.
386
387 2019-02-01 Florian Weimer <fweimer@redhat.com>
388
389 * support/support_test_compare_string.c
390 (support_test_compare_string): Use "string" in error message.
391 * support/tst-test_compare_string.c (do_test): Adjust.
392
393 2019-02-01 Florian Weimer <fweimer@redhat.com>
394
395 * support/support_format_address_family.c
396 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
397
398 2019-02-01 Florian Weimer <fweimer@redhat.com>
399
400 * manual/socket.texi (Internet Address Formats): Clarify the byte
401 order of struct sockaddr_in, struct sockaddr_in6. Document
402 sin6_flowinfo and sin6_scope_id.
403
404 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
405
406 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
407 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
408 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
409 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
410 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
411 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
412
413 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
414
415 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
416 [!MEMCHR](MEMCHR): Set to __memchr.
417 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
418 Add memchr_generic and memchr_nosimd.
419 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
420 (__libc_ifunc_impl_list): Add memchr ifuncs.
421 * sysdeps/aarch64/multiarch/memchr.c: New file.
422 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
423 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
424
425 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
426
427 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
428 Add memset_emag.
429 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
430 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
431 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
432 Add IS_EMAG check for ifunc dispatch.
433 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
434 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
435
436 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
437
438 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
439 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
440 Add emag.
441 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
442 New macro.
443
444 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
445
446 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
447
448 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
449
450 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
451 syscall-template file.
452
453 2019-01-31 Carlos O'Donell <carlos@redhat.com>
454 Torvald Riegel <triegel@redhat.com>
455 Rik Prohaska <prohaska7@gmail.com>
456
457 [BZ# 23844]
458 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
459 tst-rwlock-trywrlock-stall.
460 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
461 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
462 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
463 Set __wrphase_fute to 1 only if we started the write phase.
464 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
465 * nptl/tst-rwlock-trywrlock-stall.c: New file.
466 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
467 * support/xpthread_rwlock_destroy.c: New file.
468 * support/xthread.h: Declare xpthread_rwlock_destroy.
469
470 2019-02-01 Joseph Myers <joseph@codesourcery.com>
471
472 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
473 version to 4.0.2.
474
475 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
476
477 [BZ #24051]
478 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
479 * libio/fileops.c (_IO_new_file_underflow): Likewise
480 * libio/wfileops.c (_IO_wfile_underflow): Likewise
481 * libio/putchar.c (putchar): Likewise.
482 * libio/putchar_u.c (putchar_unlocked): Likewise.
483 * libio/putwchar.c (putchar): Likewise.
484 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
485 * libio/tst-bz24051.c: New test.
486 * libio/Makefile (tests): Add tst-bz24051
487
488 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
489
490 regex: fix read overrun [BZ #24114]
491 Problem found by AddressSanitizer, reported by Hongxu Chen in:
492 https://debbugs.gnu.org/34140
493 * posix/regexec.c (proceed_next_node):
494 Do not read past end of input buffer.
495
496 2019-01-31 Florian Weimer <fweimer@redhat.com>
497
498 [BZ #24059]
499 * nss/nss_files/files-alias.c (get_next_alias): Handle
500 continuation line without newline at the end.
501 * nss/tst-nss-files-alias-truncated.c: New file.
502 * nss/Makefile [$(build-shared)] (tests): Add
503 tst-nss-files-alias-truncated.
504 (tst-nss-files-alias-truncated): Link with libnss_files.so.
505 * support/namespace.h (struct support_chroot_configuration): Add
506 aliases member.
507 (struct support_chroot): Add path_aliases member.
508 * support/support_chroot.c (support_chroot_create): Handle
509 aliases.
510 (support_chroot_free): Free path_aliases.
511
512 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
513
514 * version.h (RELEASE): Set to "development".
515 (VERSION): Set to "2.29.9000".
516 * NEWS: Add section for 2.30.
517
518 * version.h (RELEASE): Set to "stable".
519 (VERSION): Set to "2.29".
520 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
521
522 * NEWS: Add the list of bugs fixed in 2.29.
523 * manual/contrib.texi: Update contributors list with some more
524 names.
525 * manual/install.texi: Update latest versions of packages
526 tested.
527 * INSTALL: Regenerated.
528
529 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
530
531 * po/be.po: Update translations.
532 * po/bg.po: Likewise.
533 * po/ca.po: Likewise.
534 * po/cs.po: Likewise.
535 * po/da.po: Likewise.
536 * po/de.po: Likewise.
537 * po/el.po: Likewise.
538 * po/eo.po: Likewise.
539 * po/es.po: Likewise.
540 * po/fi.po: Likewise.
541 * po/fr.po: Likewise.
542 * po/gl.po: Likewise.
543 * po/hr.po: Likewise.
544 * po/hu.po: Likewise.
545 * po/ia.po: Likewise.
546 * po/id.po: Likewise.
547 * po/it.po: Likewise.
548 * po/ja.po: Likewise.
549 * po/ko.po: Likewise.
550 * po/lt.po: Likewise.
551 * po/nb.po: Likewise.
552 * po/nl.po: Likewise.
553 * po/pl.po: Likewise.
554 * po/pt_BR.po: Likewise.
555 * po/ru.po: Likewise.
556 * po/rw.po: Likewise.
557 * po/sk.po: Likewise.
558 * po/sl.po: Likewise.
559 * po/sv.po: Likewise.
560 * po/tr.po: Likewise.
561 * po/uk.po: Likewise.
562 * po/vi.po: Likewise.
563 * po/zh_CN.po: Likewise.
564 * po/zh_TW.po: Likewise.
565
566 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
567
568 [BZ #24130]
569 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
570 of $f3 register on $y_is_neg path.
571
572 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
573
574 [BZ #24110]
575 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
576 sigaltstack.ss_flags.
577
578 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
579
580 [BZ #23758]
581 * manual/time.texi (strftime): Document "%Ey".
582 * time/strftime_l.c (__strftime_internal): Set the default width
583 padding with zero of "%Ey" to 2.
584
585 [BZ #24096]
586 * manual/time.texi (strftime): Document "%EC" and "%EY".
587 * time/Makefile (tests): Add tst-strftime2.
588 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
589 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
590 override padding for "%Ey".
591 If an optional flag ('_' or '-') is specified to "%EY", interpret the
592 "%Ey" in the subformat as if decorated with that flag.
593 * time/tst-strftime2.c: New file.
594
595 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
596
597 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
598 are not defined.
599
600 [BZ #24122]
601 * elf/Makefile (tests): Add tst-audit13.
602 (modules-names): Add tst-audit13mod1.
603 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
604 rule.
605 * elf/rtld.c (dl_main): Handle invalid audit module version.
606 * elf/tst-audit13.c: New file.
607 * elf/tst-audit13mod1.c: Likewise.
608
609 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
610
611 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
612 returned by __hurd_at_flags.
613 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
614 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
615 directly instead of __hurd_file_name_lookup.
616
617 2019-01-21 Joseph Myers <joseph@codesourcery.com>
618
619 * scripts/build-many-glibcs.py (Context.checkout): Default
620 binutils version to 2.32 branch.
621
622 2019-01-21 Florian Weimer <fweimer@redhat.com>
623
624 [BZ #20018]
625 CVE-2016-10739
626 resolv: Reject trailing characters in host names
627 * include/arpa/inet.h (__inet_aton_exact): Declare.
628 (inet_aton): Remove hidden prototype. No longer used internally.
629 * nscd/gai.c (__inet_aton): Do not define.
630 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
631 * nss/digits_dots.c (__inet_aton): Likewise.
632 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
633 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
634 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
635 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
636 (tst-resolv-trailing): Likewise.
637 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
638 libc.
639 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
640 Make static. Add endp parameter.
641 (__inet_aton_exact): New function.
642 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
643 (__inet_addr): Call inet_aton_end.
644 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
645 not just IPv6. Call __inet_aton_exact.
646 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
647 (tests): Make const. Add additional test cases with trailing
648 characters.
649 (do_test): Use array_length.
650 * resolv/tst-inet_aton_exact.c: New file.
651 * resolv/tst-resolv-trailing.c: Likewise.
652 * resolv/tst-resolv-nondecimal.c: Likewise.
653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
654
655 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
656
657 [BZ# 24097]
658 CVE-2019-6488
659 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
660 Clear the upper 32 bits of RSI register.
661 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
662 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
663 and tst-size_t-wcsnlen.
664 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
665 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
666
667 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
668
669 [BZ# 24097]
670 CVE-2019-6488
671 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
672 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
673 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
674 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
675 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
676
677 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
678
679 [BZ# 24097]
680 CVE-2019-6488
681 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
682 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
683 * sysdeps/x86_64/strcmp.S: Likewise.
684 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
685 tst-size_t-strncmp and tst-size_t-wcsncmp.
686 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
687 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
688 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
689
690 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
691
692 [BZ# 24097]
693 CVE-2019-6488
694 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
695 RDX_LP for length. Clear the upper 32 bits of RDX register.
696 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
697 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
698 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
699 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
700
701 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
702
703 [BZ# 24097]
704 CVE-2019-6488
705 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
706 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
707 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
708 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
709
710 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
711
712 [BZ# 24097]
713 CVE-2019-6488
714 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
715 length. Clear the upper 32 bits of RDX register.
716 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
717 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
718 Likewise.
719 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
720 Likewise.
721 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
722 tst-size_t-wmemchr.
723 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
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/memcmp-avx2-movbe.S: Use RDX_LP for
730 length. Clear the upper 32 bits of RDX register.
731 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
732 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
733 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
734 tst-size_t-wmemcmp.
735 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
736 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
737
738 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
739
740 [BZ# 24097]
741 CVE-2019-6488
742 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
743 upper 32 bits of RDX register.
744 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
745 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
746 tst-size_t-wmemchr.
747 * sysdeps/x86_64/x32/test-size_t.h: New file.
748 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
749 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
750
751 2019-01-18 Florian Weimer <fweimer@redhat.com>
752
753 [BZ #24112]
754 resolv: Do not send queries for non-host-names in nss_dns.
755 * resolv/nss_dns/dns-host.c (check_name): New function.
756 (_nss_dns_gethostbyname2_r): Use it.
757 (_nss_dns_gethostbyname_r): Likewise.
758 (_nss_dns_gethostbyname4_r): Likewise.
759
760 2019-01-21 Florian Weimer <fweimer@redhat.com>
761
762 * resolv/inet_addr.c: Reformat to GNU style.
763 (__inet_addr, __inet_aton): Update comment.
764
765 2019-01-18 Florian Weimer <fweimer@redhat.com>
766
767 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
768 ("malloc: Use current (C11-style) atomics for fastbin access").
769 This commit introduces a substantial performance regression on
770 POWER and Aarch64.
771 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
772 (REMOVE_FB): Define.
773 (_int_malloc): Use it and reindent.
774 (_int_free): Use CAS loop with
775 catomic_compare_and_exchange_val_rel.
776 (malloc_consolidate): Use atomic_exchange_acq.
777
778
779 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
780
781 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
782 -Wl,-z,now.
783 (LDFLAGS-tst-minsigstksz-2): Likewise.
784 (LDFLAGS-tst-minsigstksz-3): Likewise.
785 (LDFLAGS-tst-minsigstksz-3a): Likewise.
786 (LDFLAGS-tst-minsigstksz-4): Likewise.
787
788 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
789
790 * manual/time.texi (strftime): Fix the wording to "alternative" rather
791 than "alternate".
792
793 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
794
795 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
796
797 2019-01-16 Zack Weinberg <zackw@panix.com>
798
799 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
800 (xget_sigstack_location): New test support functions.
801 * support/xsigstack.c: New file, implementing them.
802 * support/tst-xsigstack.c: New test for them.
803 * support/Makefile: Update.
804
805 * signal/tst-minsigstksz-1.c
806 * signal/tst-minsigstksz-2.c
807 * signal/tst-minsigstksz-3.c
808 * signal/tst-minsigstksz-3a.c
809 * signal/tst-minsigstksz-4.c: New tests.
810 * signal/Makefile: Run them.
811
812 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
813
814 * po/libc.pot: Regenerate.
815
816 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
817
818 * math/libm-test-fma.inc (fma_test_data): Set
819 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
820
821 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
822
823 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
824 (do_test): Changed __vector __int128_t to __vector unsigned int.
825
826 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
827
828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
829 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
830 stpcpy-avx2 and stpncpy-avx2.
831 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
832 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
833 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
834 and __stpncpy_avx2.
835 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
836 ifunc-strcpy.h}: rename header for a more generic name.
837 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
838 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
839 AVX unaligned load is fast and vzeroupper is preferred.
840 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
841 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
842 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
843 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
844 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
845 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
846
847 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
848
849 * argp/argp-help.c: Fix typo in comment.
850 * misc/sys/cdefs.h: Likewise.
851 * posix/regexec.c (sift_states_iter_mb): Likewise.
852 * socket/sockatmark.c: Likewise.
853 * socket/sys/socket.h: Likewise.
854 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
855 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
856 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
857 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
858 * sysdeps/unix/sockatmark.c: Likewise.
859 * time/strptime_l.c: Likewise.
860
861 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
862
863 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
864 missing space after the cast of "_NL_CURRENT".
865
866 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
867
868 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
869 ifdef to fix read of VSCR.
870 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
871 tst-ucontext-ppc64-vscr.c to test list.
872 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
873
874 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
875
876 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
877 fall-through.
878
879 2019-01-09 Jim Wilson <jimw@sifive.com>
880
881 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
882
883 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
884
885 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
886 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
887 __memcpy_falkor for ares.
888 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
889 Add new define.
890 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
891 Add ares cpu.
892
893 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
894
895 [BZ #24066]
896 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
897 4_FP_W_TYPEs are used for IEEE quad precision.
898 * soft-fp/extendhftf2.c: Likewise.
899 * soft-fp/extendsftf2.c: Likewise.
900 * soft-fp/extendxftf2.c: Likewise.
901 * soft-fp/trunctfdf2.c: Likewise.
902 * soft-fp/trunctfhf2.c: Likewise.
903 * soft-fp/trunctfsf2.c: Likewise.
904 * soft-fp/trunctfxf2.c: Likewise.
905 * sysdeps/alpha/ots_cvttx.c: Likewise.
906 * sysdeps/alpha/ots_cvtxt.c: Likewise.
907 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
908 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
909 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
910 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
911 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
912 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
913 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
914 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
915 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
916 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
917 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
918 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
919 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
920 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
921 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
922 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
923
924 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
925
926 [BZ #24024]
927 * Makeconfig: Build libm with -fno-math-errno but build the remaining
928 code with -fmath-errno.
929 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
930 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
931 * string/test-strerror-errno.c: New file.
932
933 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
934
935 [BZ #24046]
936 * localedata/locales/en_US (date_fmt): Add, set to
937 "%a %d %b %Y %r %Z".
938
939 2019-01-07 Florian Weimer <fweimer@redhat.com>
940
941 [BZ #24063]
942 * manual/arith.texi (Math Error Reporting): Use @code{errno}
943 instead of @var{errno}.
944 (Parsing of Integers): Likewise.
945 (Parsing of Floats): Likewise.
946 * manual/filesys.texi (Working with Directory Trees): Likewise.
947 (Temporary Files): Likewise.
948 * manual/job.texi (Terminal Access Functions): Likewise.
949 * manual/llio.texi (Synchronizing I/O): Likewise.
950 * manual/math.texi (SVID Random): Likewise.
951 * manual/message.texi (The catgets Functions): Likewise.
952 (Translation with gettext): Likewise.
953 (Locating gettext catalog): Likewise.
954 (Charset conversion in gettext): Likewise.
955 * manual/nss.texi (NSS Module Function Internals): Likewise.
956 * manual/search.texi (Hash Search Function): Likewise.
957 * manual/setjmp.texi (System V contexts): Likewise.
958 * manual/time.texi (Sleeping): Likewise.
959 * manual/users.texi (Lookup User): Likewise.
960 (Lookup Group): Likewise.
961
962 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
963
964 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
965 fix typo.
966
967 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
968
969 [BZ #19444]
970 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
971 __builtin_unreachable for default case in switch.
972 (__ieee754_yn): Likewise.
973 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
974 (__ieee754_ynl): Likewise.
975 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
976 (__ieee754_ynl): Likewise.
977 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
978 (__ieee754_ynl): Likewise.
979
980 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
981
982 * manual/maint.texi: Use @{ and @}.
983
984 2019-01-04 Florian Weimer <fweimer@redhat.com>
985
986 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
987 function.
988 (do_in_chroot_1): Call it.
989 (run_chroot_tests):
990 Improve error reporting in case it is not possible to create a
991 collision for the PTY name required by the test.
992
993 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
994
995 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
996 lll_wait_tid with timeout.
997 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
998 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
999 futex_reltimed_wait_cancelable for cancelabla mode.
1000 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1001 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1002 macros.
1003 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1004 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1005 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1006 SYSCALL_CANCEL_NCS): New macro.
1007 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1008 (lll_timedwait_tid): Remove macro.
1009 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1010 Likewise.
1011 (lll_timedwait_tid): Likewise.
1012 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1013 Likewise.
1014 (lll_timedwait_tid): Likewise.
1015 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1016 Likewise.
1017 (lll_timedwait_tid): Likewise.
1018 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1019 Use INTERNAL_SYSCALL_CANCEL.
1020 * sysdeps/unix/sysv/linux/futex-internal.h
1021 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1022 instead of __pthread_{enable,disable}_asynccancel.
1023 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1024 (lll_futex_wait_cancel): New macro.
1025
1026 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1027 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1028
1029 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1030 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1031
1032 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1033 in backtrace analysis.
1034 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1035 side-effects.
1036 (tf_send): Likewise.
1037
1038 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1039 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1040 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1041 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1042 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1043 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1044 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1045 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1046 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1047 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1048 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1049 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1050 Likewise.
1051 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1052 tst-cancel-wrappers.sh.
1053 (generated): Remove tst-cancel-wrappers.out.
1054 (tst-cancel-wrappers.out): Remove rule.
1055 * nptl/tst-cancel-wrappers.sh: Remove file.
1056
1057 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1058
1059 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1060 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1061 Update.
1062
1063 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1064
1065 [BZ #23640]
1066 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1067 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1068 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1069 close-on-exec reset for adddup2 file action.
1070 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1071
1072 2019-01-03 Zack Weinberg <zackw@panix.com>
1073
1074 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1075 parameter. Only use deprecated scanf when __USE_GNU is defined
1076 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1077 than 201103L, whichever is relevant for the language being compiled.
1078
1079 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1080 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1081 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1082 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1083 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1084
1085 * libio/iovsscanf.c
1086 * libio/fwscanf.c
1087 * libio/iovswscanf.c
1088 * libio/swscanf.c
1089 * libio/vscanf.c
1090 * libio/vwscanf.c
1091 * libio/wscanf.c
1092 * stdio-common/fscanf.c
1093 * stdio-common/scanf.c
1094 * stdio-common/vfscanf.c
1095 * stdio-common/vfwscanf.c
1096 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1097 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1098 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1099 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1100 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1101 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1102 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1103 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1104 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1105 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1106 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1107 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1108 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1109 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1110 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1111
1112 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1113 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1114 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1115 not sscanf.
1116 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1117 with a preprocessor macro.
1118
1119 * stdio-common/bug21.c, stdio-common/scanf14.c:
1120 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1121 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1122 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1123 to xscanf, xfscanf, xsscanf.
1124
1125 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1126 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1127 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1128 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1129 xfscanf, xsscanf.
1130 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1131 override feature selection macros or provide definitions of u_char etc.
1132 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1133 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1134 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1135 with -std=gnu89.
1136
1137 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1138
1139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1140 bits/termios-misc.h.
1141 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1142 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1143 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1144 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1145 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1146 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1147
1148 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1149 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1150 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1151 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1152 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1153 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1154 termios-misc.h.
1155 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1156 (sysdep_headers): Add termios-misc.h.
1157
1158 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1159 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1160 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1161
1162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1163 termios-tcflow.h.
1164 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1165 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1166 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1167 TCSAFLUSH): Move to termios-tcflow.h.
1168 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1169 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1170 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1171 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1172
1173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1174 termios-c_lflag.h.
1175 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1176 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1177 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1178 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1179 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1180 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1181 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1182 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1183 Likewise.
1184 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1185 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1186 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1187 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1188
1189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1190 termios-c_cflag.h.
1191 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1192 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1193 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1194 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1195 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1196 termios-c_cflag.h.
1197 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1198 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1199 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1200 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1201
1202 [BZ #23783]
1203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1204 termios-baud.h.
1205 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1206 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1207 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1208 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1209 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1210 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1211 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1212 __MAX_BAUD): Move to termios-baud.h.
1213 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1214 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1215 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1216 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1217 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1218
1219 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1220 termios-c_oflag.h.
1221 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1222 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1223 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1224 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1225 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1226 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1227 termios-c_oflag.h.
1228 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1229 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1230 FFR1): Likewise.
1231 [USE_MISC] (XTABS): Likewise.
1232 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1233 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1234 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1235 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1236
1237 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1238 termios-c_iflag.h.
1239 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1240 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1241 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1242 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1243 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1244 IUTF8): Move to termios-c_iflag.h.
1245 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1246 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1247 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1248 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1249
1250 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1251 termios-cc.h.
1252 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1253 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1254 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1255 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1256 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1257 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1258 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1259 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1260 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1261 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1262 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1263 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1264
1265 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1266 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1267 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1268 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1270 termios-struct.h.
1271 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1272 termios-struct.h.
1273 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1274 Likewise.
1275 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1276 Likewise.
1277 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1278 Likewise.
1279 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1280 Likewise.
1281 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1282 _HAVE_C_OSPEED): Define.
1283 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1284 _HAVE_C_OSPEED): Likewise.
1285 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1286 _HAVE_C_OSPEED): Likewise.
1287 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1288 (cfsetospeed): Check for define value instead of existence.
1289 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1290 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1291 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1292 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1293 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1294
1295 [BZ #17783]
1296 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1297 Define.
1298 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1299 (TIOCSER_TEMT): Likewise.
1300 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1301 (TEOCSER_TEMT): Likewise.
1302
1303 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
1304
1305 [BZ #24011]
1306 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1307
1308 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1309
1310 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1311
1312 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1313
1314 * sysdeps/htl/pt-barrierattr-setpshared.c
1315 (pthread_barrierattr_setpshared): Add stub warning.
1316 * sysdeps/htl/pt-condattr-setpshared.c
1317 (pthread_condattr_setpshared): Likewise.
1318 * sysdeps/htl/pt-mutexattr-setpshared.c
1319 (pthread_mutexattr_setpshared): Likewise.
1320 * sysdeps/htl/pt-rwlockattr-setpshared.c
1321 (pthread_rwlockattr_setpshared): Likewise.
1322 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1323 (pthread_mutexattr_setpshared): Likewise.
1324
1325 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1326
1327 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1328 constants to match with Linux 4.20.
1329
1330 * sysdeps/mips/mips32/libm-test-ulps: Update.
1331 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1332
1333 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1334
1335 [BZ #24034]
1336 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1337 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1338 than __typeof (...) for the a_ptr variable.
1339
1340 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1341
1342 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1343 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1344 * libio/Makefile (tests): Add tst-sprintf-ub and
1345 tst-sprintf-chk-ub.
1346 (CFLAGS-tst-sprintf-ub.c): New variable.
1347 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1348 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1349 destination buffer and check for overflows in fortified mode.
1350 * libio/libioP.h (PRINTF_CHK): New macro.
1351 * libio/tst-sprintf-chk-ub.c: New file.
1352 * libio/tst-sprintf-ub.c: Likewise.
1353
1354 2019-01-02 Florian Weimer <fweimer@redhat.com>
1355
1356 [BZ #24018]
1357 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1358 failure.
1359
1360 2019-01-02 Florian Weimer <fweimer@redhat.com>
1361
1362 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1363
1364 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1365
1366 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1367 macro.
1368
1369 * sysdeps/unix/sysv/linux/netpacket/packet.h
1370 (PACKET_IGNORE_OUTGOING): New macro.
1371
1372 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1373 macro.
1374
1375 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1376 version to 4.20.
1377 (riscv_flush_icache): New syscall.
1378
1379 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1380 trailing whitespace removed.
1381 * scripts/config.guess: Update to version 2019-01-01.
1382 * scripts/config.sub: Update to version 2019-01-01.
1383 * scripts/move-if-change: Update from gnulib.
1384
1385 * NEWS: Update copyright dates.
1386 * catgets/gencat.c (print_version): Likewise.
1387 * csu/version.c (banner): Likewise.
1388 * debug/catchsegv.sh: Likewise.
1389 * debug/pcprofiledump.c (print_version): Likewise.
1390 * debug/xtrace.sh (do_version): Likewise.
1391 * elf/ldconfig.c (print_version): Likewise.
1392 * elf/ldd.bash.in: Likewise.
1393 * elf/pldd.c (print_version): Likewise.
1394 * elf/sotruss.sh: Likewise.
1395 * elf/sprof.c (print_version): Likewise.
1396 * iconv/iconv_prog.c (print_version): Likewise.
1397 * iconv/iconvconfig.c (print_version): Likewise.
1398 * locale/programs/locale.c (print_version): Likewise.
1399 * locale/programs/localedef.c (print_version): Likewise.
1400 * login/programs/pt_chown.c (print_version): Likewise.
1401 * malloc/memusage.sh (do_version): Likewise.
1402 * malloc/memusagestat.c (print_version): Likewise.
1403 * malloc/mtrace.pl: Likewise.
1404 * manual/libc.texinfo: Likewise.
1405 * nptl/version.c (banner): Likewise.
1406 * nscd/nscd.c (print_version): Likewise.
1407 * nss/getent.c (print_version): Likewise.
1408 * nss/makedb.c (print_version): Likewise.
1409 * posix/getconf.c (main): Likewise.
1410 * scripts/test-installation.pl: Likewise.
1411 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1412
1413 * All files with FSF copyright notices: Update copyright dates
1414 using scripts/update-copyrights.
1415 * locale/programs/charmap-kw.h: Regenerated.
1416 * locale/programs/locfile-kw.h: Likewise.
1417
1418 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1419
1420 * timezone/zdump.c: Update from tzcode 2018i.
1421 * timezone/zic.c: Likewise.
1422
1423 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1424
1425 regex: improve Gnulib port to AIX
1426 From the glibc point of view, this removes duplicate macro
1427 definitions and is obviously safe.
1428 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1429 * posix/regex_internal.h:
1430 (__attribute__, __attribute_warn_unused_result__):
1431 Remove; already defined elsewhere.
1432
1433 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1434
1435 [BZ #24027]
1436 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1437 copying operation. (ncopies had the wrong type, resulting in an
1438 integer wraparound and too few elements being copied.)
1439
1440 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1441
1442 [BZ #24022]
1443 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1444 <asm/syscalls.h> exists with __has_include__ before including it.
1445
1446 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1447
1448 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1449 version to 4.20.
1450
1451 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1452
1453 * hurd/lookup-retry: Include <unistd.h>.
1454 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1455 Release it on return. Handle "pid" magical lookup retry.
1456
1457 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1458
1459 [BZ #10496]
1460 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1461 (t_fmt_ampm): Likewise.
1462 * localedata/locales/aa_ER (t_fmt): Likewise.
1463 (t_fmt_ampm): Likewise.
1464 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1465 (t_fmt_ampm): Likewise.
1466 * localedata/locales/aa_ET (t_fmt): Likewise.
1467 (t_fmt_ampm): Likewise.
1468 * localedata/locales/am_ET (t_fmt): Likewise.
1469 (t_fmt_ampm): Likewise.
1470 * localedata/locales/byn_ER (t_fmt): Likewise.
1471 (t_fmt_ampm): Likewise.
1472 * localedata/locales/om_ET (t_fmt): Likewise.
1473 (t_fmt_ampm): Likewise.
1474 * localedata/locales/sid_ET (t_fmt): Likewise.
1475 (t_fmt_ampm): Likewise.
1476 * localedata/locales/so_DJ (t_fmt): Likewise.
1477 (t_fmt_ampm): Likewise.
1478 * localedata/locales/so_ET (t_fmt): Likewise.
1479 (t_fmt_ampm): Likewise.
1480 * localedata/locales/so_SO (t_fmt): Likewise.
1481 (t_fmt_ampm): Likewise.
1482 * localedata/locales/ti_ER (t_fmt): Likewise.
1483 (t_fmt_ampm): Likewise.
1484 * localedata/locales/ti_ET (t_fmt): Likewise.
1485 (t_fmt_ampm): Likewise.
1486 * localedata/locales/tig_ER (t_fmt): Likewise.
1487 (t_fmt_ampm): Likewise.
1488 * localedata/locales/wal_ET (t_fmt): Likewise.
1489 (t_fmt_ampm): Likewise.
1490
1491 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1492 * localedata/locales/ar_IN (t_fmt): Likewise.
1493 * localedata/locales/bhb_IN (t_fmt): Likewise.
1494 * localedata/locales/bho_IN (t_fmt): Likewise.
1495 * localedata/locales/bi_VU (t_fmt): Likewise.
1496 * localedata/locales/bn_BD (t_fmt): Likewise.
1497 * localedata/locales/bn_IN (t_fmt): Likewise.
1498 * localedata/locales/brx_IN (t_fmt): Likewise.
1499 * localedata/locales/doi_IN (t_fmt): Likewise.
1500 * localedata/locales/en_HK (t_fmt): Likewise.
1501 (t_fmt_ampm): Likewise.
1502 * localedata/locales/en_IN (t_fmt): Likewise.
1503 * localedata/locales/en_PH (t_fmt): Likewise.
1504 * localedata/locales/gu_IN (t_fmt): Likewise.
1505 * localedata/locales/hi_IN (t_fmt): Likewise.
1506 * localedata/locales/hif_FJ (t_fmt): Likewise.
1507 * localedata/locales/hne_IN (t_fmt): Likewise.
1508 * localedata/locales/kn_IN (t_fmt): Likewise.
1509 * localedata/locales/kok_IN (t_fmt): Likewise.
1510 * localedata/locales/ks_IN (t_fmt): Likewise.
1511 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1512 * localedata/locales/mag_IN (t_fmt): Likewise.
1513 * localedata/locales/mai_IN (t_fmt): Likewise.
1514 * localedata/locales/mjw_IN (t_fmt): Likewise.
1515 * localedata/locales/ml_IN (t_fmt): Likewise.
1516 * localedata/locales/mni_IN (t_fmt): Likewise.
1517 * localedata/locales/mr_IN (t_fmt): Likewise.
1518 * localedata/locales/ms_MY (t_fmt): Likewise.
1519 * localedata/locales/pa_IN (t_fmt): Likewise.
1520 * localedata/locales/raj_IN (t_fmt): Likewise.
1521 * localedata/locales/sa_IN (t_fmt): Likewise.
1522 * localedata/locales/sat_IN (t_fmt): Likewise.
1523 * localedata/locales/sd_IN (t_fmt): Likewise.
1524 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1525 * localedata/locales/tcy_IN (t_fmt): Likewise.
1526 * localedata/locales/the_NP (t_fmt): Likewise.
1527 * localedata/locales/to_TO (t_fmt): Likewise.
1528 * localedata/locales/ur_IN (t_fmt): Likewise.
1529
1530 * localedata/locales/hif_FJ (d_t_fmt): Set to
1531 "%A %d %b %Y %I:%M:%S %p".
1532 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1533
1534 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1535 * localedata/locales/ar_BH (t_fmt): Likewise.
1536 * localedata/locales/ar_DZ (t_fmt): Likewise.
1537 * localedata/locales/ar_EG (t_fmt): Likewise.
1538 * localedata/locales/ar_IQ (t_fmt): Likewise.
1539 * localedata/locales/ar_JO (t_fmt): Likewise.
1540 * localedata/locales/ar_KW (t_fmt): Likewise.
1541 * localedata/locales/ar_LB (t_fmt): Likewise.
1542 * localedata/locales/ar_LY (t_fmt): Likewise.
1543 * localedata/locales/ar_OM (t_fmt): Likewise.
1544 * localedata/locales/ar_QA (t_fmt): Likewise.
1545 * localedata/locales/ar_SD (t_fmt): Likewise.
1546 * localedata/locales/ar_SS (t_fmt): Likewise.
1547 * localedata/locales/ar_SY (t_fmt): Likewise.
1548 * localedata/locales/ar_TN (t_fmt): Likewise.
1549 * localedata/locales/ar_YE (t_fmt): Likewise.
1550
1551 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1552 (t_fmt_ampm): Likewise.
1553 * localedata/locales/gez_ET (t_fmt): Likewise.
1554 (t_fmt_ampm): Likewise.
1555
1556 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1557 (t_fmt_ampm): Likewise.
1558 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1559
1560 * localedata/locales/zh_HK (t_fmt):
1561 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1562
1563 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1564 because this locale does not use the 12-hour clock.
1565 (t_fmt): Set to "%Z %H:%M:%S".
1566 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1567
1568 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
1569 because this locale does not use the 12-hour clock.
1570 (t_fmt): Set to "%H:%M:%S %Z".
1571 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
1572
1573 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1574 because this locale does not use the 12-hour clock.
1575 (t_fmt): Set to "%T".
1576 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1577 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1578
1579 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
1580 because this locale does not use the 12-hour clock.
1581 (t_fmt): Set to "%H:%M:%S %Z".
1582 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
1583
1584 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1585 because this locale does not use the 12-hour clock.
1586 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1587 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1588
1589 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1590
1591 [BZ #10496]
1592 [BZ #23724]
1593 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1594 (t_fmt_ampm): Likewise.
1595 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1596 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1597 (d_fmt): Set to "%-d.%-m.%y".
1598
1599 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1600
1601 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1602 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1603 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1604 Likewise.
1605 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1606 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1607 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1608 function.
1609 * support/blob_repeat.c (check_mul_overflow_size_t,
1610 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1611
1612 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1613
1614 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1615
1616 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1617
1618 regex: simplify Gnulib port
1619 This simplifies the code, by removing stuff intended for porting
1620 to Gnulib but no longer needed there.
1621 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1622 uses of libc_hidden_def, weak_alias.
1623 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1624 _Restrict_ except for public-facing headers.
1625 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1626 Remove; already defined elsewhere.
1627 * posix/regex.c, posix/regex_internal.h:
1628 Use __GNUC_PREREQ instead of rolling our own.
1629 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1630
1631 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1632
1633 * benchtests/bench-strlen.c (generic_strlen): New function.
1634 (memchr_strlen): New function.
1635
1636 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1637
1638 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1639 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1640 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1641
1642 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1643
1644 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1645
1646 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1647
1648 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1649 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1650 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1651 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1652 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1653 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1654 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1655
1656 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1657
1658 [BZ #24023]
1659 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1660 PLT reference in libc.so.
1661 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1662 _Q_lltoq and _Q_qtod PLT references in libc.so.
1663
1664 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1665
1666 * benchtests/bench-memchr.c: Cleanup defines.
1667 * benchtests/bench-memcmp.c: Likewise.
1668 * benchtests/bench-memset.c: Likewise.
1669 * benchtests/bench-memset-large.c: Likewise.
1670 * benchtests/bench-memset-walk.c: Likewise.
1671 * benchtests/bench-stpcpy.c: Likewise.
1672 * benchtests/bench-stpncpy.c: Likewise.
1673 * benchtests/bench-strcat.c: Likewise.
1674 * benchtests/bench-strchr.c: Likewise.
1675 * benchtests/bench-strcmp.c: Likewise.
1676 * benchtests/bench-strcpy.c: Likewise.
1677 * benchtests/bench-strcspn.c: Likewise.
1678 * benchtests/bench-string.h: Likewise.
1679 * benchtests/bench-strlen.c: Likewise.
1680 * benchtests/bench-strncat.c: Likewise.
1681 * benchtests/bench-strncmp.c: Likewise.
1682 * benchtests/bench-strncpy.c: Likewise.
1683 * benchtests/bench-strnlen.c: Likewise.
1684 * benchtests/bench-strpbrk.c: Likewise.
1685 * benchtests/bench-strrchr.c: Likewise.
1686 * benchtests/bench-strspn.c: Likewise.
1687
1688 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1689
1690 * stdlib/longlong.h: Update from GCC.
1691
1692 [BZ #23993]
1693 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1694 * configure: Regenerated.
1695 * manual/install.texi (Tools for Compilation): Update minimum GCC
1696 version.
1697 * INSTALL: Regenerated.
1698
1699 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1700
1701 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1702
1703 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1704
1705 * malloc/malloc.c (mremap_chunk): Additional checks.
1706
1707 2018-12-21 Mao Han <han_mao@c-sky.com>
1708
1709 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1710 * scripts/build-many-glibcs.py: Add C-SKY targets.
1711 * sysdeps/csky/Implies: New file.
1712 * sysdeps/csky/Makefile: Likewise.
1713 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1714 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1715 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1716 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1717 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1718 * sysdeps/csky/abiv2/memmove.S: Likewise.
1719 * sysdeps/csky/abiv2/memset.S: Likewise.
1720 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1721 * sysdeps/csky/abiv2/start.S: Likewise.
1722 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1723 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1724 * sysdeps/csky/abiv2/strlen.S: Likewise.
1725 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1726 * sysdeps/csky/abort-instr.h: Likewise.
1727 * sysdeps/csky/atomic-machine.h: Likewise.
1728 * sysdeps/csky/bits/endian.h: Likewise.
1729 * sysdeps/csky/bits/fenv.h: Likewise.
1730 * sysdeps/csky/bits/link.h: Likewise.
1731 * sysdeps/csky/bits/setjmp.h: Likewise.
1732 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1733 * sysdeps/csky/bsd-setjmp.S: Likewise.
1734 * sysdeps/csky/configure: Likewise.
1735 * sysdeps/csky/configure.ac: Likewise.
1736 * sysdeps/csky/dl-machine.h: Likewise.
1737 * sysdeps/csky/dl-procinfo.c: Likewise.
1738 * sysdeps/csky/dl-procinfo.h: Likewise.
1739 * sysdeps/csky/dl-sysdep.h: Likewise.
1740 * sysdeps/csky/dl-tls.h: Likewise.
1741 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1742 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1743 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1744 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1745 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1746 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1747 * sysdeps/csky/fpu/fegetround.c: Likewise.
1748 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1749 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1750 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1751 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1752 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1753 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1754 * sysdeps/csky/fpu/fesetround.c: Likewise.
1755 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1756 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1757 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1758 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1759 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1760 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1761 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1762 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1763 * sysdeps/csky/fpu_control.h: Likewise.
1764 * sysdeps/csky/gccframe.h: Likewise.
1765 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1766 * sysdeps/csky/ldsodefs.h: Likewise.
1767 * sysdeps/csky/libc-tls.c: Likewise.
1768 * sysdeps/csky/linkmap.h: Likewise.
1769 * sysdeps/csky/machine-gmon.h: Likewise.
1770 * sysdeps/csky/memusage.h: Likewise.
1771 * sysdeps/csky/nofpu/Implies: Likewise.
1772 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1773 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1774 * sysdeps/csky/nptl/Makefile: Likewise.
1775 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1776 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1777 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1778 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1779 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1780 * sysdeps/csky/nptl/tls.h: Likewise.
1781 * sysdeps/csky/preconfigure: Likewise.
1782 * sysdeps/csky/sfp-machine.h: Likewise.
1783 * sysdeps/csky/sotruss-lib.c: Likewise.
1784 * sysdeps/csky/stackinfo.h: Likewise.
1785 * sysdeps/csky/sysdep.h: Likewise.
1786 * sysdeps/csky/tininess.h: Likewise.
1787 * sysdeps/csky/tst-audit.h: Likewise.
1788 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1789 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1790 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1791 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1792 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1793 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1794 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1795 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1796 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1797 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1798 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1799 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1800 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1801 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1802 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1803 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1804 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1805 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1806 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1807 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1808 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1809 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1810 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1811 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1812 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1813 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1814 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1815 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1816 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1817 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1818 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1819 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1820 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1821 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1822 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1823 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1824 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1825 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1826 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1827 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1828 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1829 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1830 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1831 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1832
1833 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1834
1835 * include/time.h (__difftime64): Add.
1836 * time/difftime.c (subtract): convert to 64-bit time.
1837 * time/difftime.c (__difftime64): Add.
1838 * time/difftime.c (__difftime): Wrap around __difftime64.
1839
1840 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1841
1842 * manual/examples/add.c: Remove redundant "if not".
1843 * manual/examples/argp-ex1.c: Likewise.
1844 * manual/examples/argp-ex2.c: Likewise.
1845 * manual/examples/argp-ex3.c: Likewise.
1846 * manual/examples/argp-ex4.c: Likewise.
1847 * manual/examples/atexit.c: Likewise.
1848 * manual/examples/db.c: Likewise.
1849 * manual/examples/dir.c: Likewise.
1850 * manual/examples/dir2.c: Likewise.
1851 * manual/examples/execinfo.c: Likewise.
1852 * manual/examples/filecli.c: Likewise.
1853 * manual/examples/filesrv.c: Likewise.
1854 * manual/examples/fmtmsgexpl.c: Likewise.
1855 * manual/examples/genpass.c: Likewise.
1856 * manual/examples/inetcli.c: Likewise.
1857 * manual/examples/inetsrv.c: Likewise.
1858 * manual/examples/isockad.c: Likewise.
1859 * manual/examples/longopt.c: Likewise.
1860 * manual/examples/memopen.c: Likewise.
1861 * manual/examples/memstrm.c: Likewise.
1862 * manual/examples/mkdirent.c: Likewise.
1863 * manual/examples/mkfsock.c: Likewise.
1864 * manual/examples/mkisock.c: Likewise.
1865 * manual/examples/mygetpass.c: Likewise.
1866 * manual/examples/pipe.c: Likewise.
1867 * manual/examples/popen.c: Likewise.
1868 * manual/examples/rprintf.c: Likewise.
1869 * manual/examples/search.c: Likewise.
1870 * manual/examples/select.c: Likewise.
1871 * manual/examples/setjmp.c: Likewise.
1872 * manual/examples/sigh1.c: Likewise.
1873 * manual/examples/sigusr.c: Likewise.
1874 * manual/examples/stpcpy.c: Likewise.
1875 * manual/examples/strdupa.c: Likewise.
1876 * manual/examples/strftim.c: Likewise.
1877 * manual/examples/subopt.c: Likewise.
1878 * manual/examples/swapcontext.c: Likewise.
1879 * manual/examples/termios.c: Likewise.
1880 * manual/examples/testopt.c: Likewise.
1881 * manual/examples/testpass.c: Likewise.
1882 * manual/examples/timeval_subtract.c: Likewise.
1883
1884 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1885
1886 * sysdeps/x86/fpu/math_private.h: New file.
1887 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1888
1889 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1890 definition.
1891 (cosh): Likewise.
1892 (tanh): Likewise.
1893
1894 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1895
1896 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1897 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1898 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1899 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1900 fields.
1901 (_dl_show_auxv): Give a special treatment to
1902 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1903 and AT_L3_CACHEGEOMETRY.
1904 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1905 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1906 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1907 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1908
1909 2018-12-19 Andreas Schwab <schwab@suse.de>
1910
1911 * nscd/connections.c (check_use): Don't abort on invalid len.
1912
1913 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1914
1915 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1916 values in the 64bit value cases.
1917
1918 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1919
1920 * include/time.h
1921 (__ctime64_r): Add.
1922 * time/ctime_r.c
1923 (__ctime64_r): Add.
1924 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1925
1926 * include/time.h
1927 (__ctime64): Add.
1928 * time/gmtime.c
1929 (__ctime64): Add.
1930 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1931
1932 * include/time.h
1933 (__gmtime64_r): Add.
1934 * time/gmtime.c
1935 (__gmtime64_r): Add.
1936 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1937
1938 * include/time.h
1939 (__gmtime64): Add.
1940 * time/gmtime.c
1941 (__gmtime64): Add.
1942 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1943
1944 * include/time.h
1945 (__localtime64_r): Add.
1946 * time/localtime.c
1947 (__localtime64_r): Add.
1948 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1949
1950 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1951
1952 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1953 kernel_sigction definition.
1954
1955 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1956
1957 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1958
1959 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1960 __syscall_rt_sigaction.
1961 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1962 (kernel_sigaction): Use Linux generic defintion.
1963 (STUB): Define.
1964 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1965 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1966 (__syscall_rt_sigaction): Remove implementation.
1967 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1968 hidden.
1969 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1970 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1971 INTERNAL_SYSCALL): Remove definitions.
1972 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1973 action and signal set size.
1974 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1975 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1976
1977 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1978 James Clarke <jrtc27@jrtc27.com>
1979
1980 [BZ #23967]
1981 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1982 Define if SA_RESTORER is defined.
1983 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1984 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1985 already defined.
1986 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1987 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1988 definitions.
1989 (HAS_SA_RESTORER): Define.
1990 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1991 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1992 (HAS_SA_RESTORER): Define.
1993 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1994 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1995 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1996 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1997 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1998
1999 2018-12-18 Joseph Myers <joseph@codesourcery.com>
2000
2001 * sysdeps/unix/sysv/linux/kernel-features.h
2002 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2003 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2004 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2005 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2006 (__ASSUME_ST_INO_64_BIT): Likewise.
2007 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2008 <kernel-features.h>.
2009 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2010 Remove conditional code.
2011 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2012 <kernel-features.h>.
2013 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2014 Remove conditional code.
2015 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2016 <kernel-features.h>.
2017 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2018 Remove conditional code.
2019 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2020 <kernel-features.h>.
2021 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2022 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2023
2024 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2025
2026 * sysdeps/s390/multiarch/ifunc-resolve.h
2027 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2028 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2029 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2030 Delete macro definition.
2031 (s390_libc_ifunc_init): Rename to
2032 s390_libc_ifunc_expr_stfle_init.
2033 * sysdeps/s390/bzero: Use
2034 s390_libc_ifunc_expr_stfle_init instead of
2035 s390_libc_ifunc_init.
2036 * sysdeps/s390/memcmp.c: Likewise.
2037 * sysdeps/s390/memcpy.c: Likewise.
2038 * sysdeps/s390/mempcpy.c: Likewise.
2039 * sysdeps/s390/memset.c: Likewise.
2040
2041 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2042
2043 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2044 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2045
2046 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2047
2048 * sysdeps/s390/multiarch/Makefile
2049 (sysdep_routines): Remove wmemcmp variants.
2050 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2051 * sysdeps/s390/multiarch/ifunc-impl-list.c
2052 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2053 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2054 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2055 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2056 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2057 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2058 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2059 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2060
2061 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2062
2063 * sysdeps/s390/multiarch/Makefile
2064 (sysdep_routines): Remove wmemset variants.
2065 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2066 * sysdeps/s390/multiarch/ifunc-impl-list.c
2067 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2068 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2069 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2070 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2071 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2072 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2073 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2074 * sysdeps/s390/ifunc-wmemset.h: New file.
2075
2076 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2077
2078 * sysdeps/s390/multiarch/Makefile
2079 (sysdep_routines): Remove wmemchr variants.
2080 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2081 * sysdeps/s390/multiarch/ifunc-impl-list.c
2082 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2083 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2084 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2085 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2086 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2087 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2088 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2089 * sysdeps/s390/ifunc-wmemchr.h: New file.
2090
2091 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2092
2093 * sysdeps/s390/multiarch/Makefile
2094 (sysdep_routines): Remove wcscspn variants.
2095 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2096 * sysdeps/s390/multiarch/ifunc-impl-list.c
2097 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2098 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2099 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2100 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2101 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2102 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2103 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2104 * sysdeps/s390/ifunc-wcscspn.h: New file.
2105
2106 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2107
2108 * sysdeps/s390/multiarch/Makefile
2109 (sysdep_routines): Remove wcspbrk variants.
2110 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2111 * sysdeps/s390/multiarch/ifunc-impl-list.c
2112 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2113 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2114 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2115 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2116 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2117 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2118 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2119 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2120
2121 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2122
2123 * sysdeps/s390/multiarch/Makefile
2124 (sysdep_routines): Remove wcsspn variants.
2125 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2126 * sysdeps/s390/multiarch/ifunc-impl-list.c
2127 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2128 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2129 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2130 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2131 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2132 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2133 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2134 * sysdeps/s390/ifunc-wcsspn.h: New file.
2135
2136 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2137
2138 * sysdeps/s390/multiarch/Makefile
2139 (sysdep_routines): Remove wcsrchr variants.
2140 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2141 * sysdeps/s390/multiarch/ifunc-impl-list.c
2142 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2143 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2144 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2145 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2146 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2147 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2148 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2149 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2150
2151 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2152
2153 * sysdeps/s390/multiarch/Makefile
2154 (sysdep_routines): Remove wcschrnul variants.
2155 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2156 * sysdeps/s390/multiarch/ifunc-impl-list.c
2157 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2158 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2159 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2160 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2161 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2162 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2163 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2164 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2165
2166 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2167
2168 * sysdeps/s390/multiarch/Makefile
2169 (sysdep_routines): Remove wcschr variants.
2170 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2171 * sysdeps/s390/multiarch/ifunc-impl-list.c
2172 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2173 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2174 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2175 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2176 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2177 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2178 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2179 * sysdeps/s390/ifunc-wcschr.h: New file.
2180
2181 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2182
2183 * sysdeps/s390/multiarch/Makefile
2184 (sysdep_routines): Remove wcsncmp variants.
2185 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2186 * sysdeps/s390/multiarch/ifunc-impl-list.c
2187 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2188 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2189 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2190 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2191 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2192 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2193 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2194 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2195
2196 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2197
2198 * sysdeps/s390/multiarch/Makefile
2199 (sysdep_routines): Remove wcscmp variants.
2200 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2201 * sysdeps/s390/multiarch/ifunc-impl-list.c
2202 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2203 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2204 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2205 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2206 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2207 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2208 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2209 * sysdeps/s390/ifunc-wcscmp.h: New file.
2210
2211 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2212
2213 * sysdeps/s390/multiarch/Makefile
2214 (sysdep_routines): Remove wcsncat variants.
2215 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2216 * sysdeps/s390/multiarch/ifunc-impl-list.c
2217 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2218 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2219 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2220 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2221 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2222 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2223 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2224 * sysdeps/s390/ifunc-wcsncat.h: New file.
2225
2226 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2227
2228 * sysdeps/s390/multiarch/Makefile
2229 (sysdep_routines): Remove wcscat variants.
2230 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2231 * sysdeps/s390/multiarch/ifunc-impl-list.c
2232 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2233 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2234 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2235 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2236 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2237 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2238 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2239 * sysdeps/s390/ifunc-wcscat.h: New file.
2240
2241 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2242
2243 * sysdeps/s390/multiarch/Makefile
2244 (sysdep_routines): Remove wcpncpy variants.
2245 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2246 * sysdeps/s390/multiarch/ifunc-impl-list.c
2247 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2248 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2249 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2250 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2251 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2252 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2253 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2254 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2255
2256 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2257
2258 * sysdeps/s390/multiarch/Makefile
2259 (sysdep_routines): Remove wcsncpy variants.
2260 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2261 * sysdeps/s390/multiarch/ifunc-impl-list.c
2262 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2263 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2264 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2265 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2266 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2267 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2268 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2269 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2270
2271 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2272
2273 * sysdeps/s390/multiarch/Makefile
2274 (sysdep_routines): Remove wcpcpy variants.
2275 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2276 * sysdeps/s390/multiarch/ifunc-impl-list.c
2277 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2278 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2279 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2280 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2281 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2282 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2283 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2284 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2285
2286 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2287
2288 * sysdeps/s390/multiarch/Makefile
2289 (sysdep_routines): Remove wcscpy variants.
2290 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2291 * sysdeps/s390/multiarch/ifunc-impl-list.c
2292 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2293 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2294 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2295 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2296 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2297 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2298 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2299 * sysdeps/s390/ifunc-wcscpy.h: New file.
2300
2301 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2302
2303 * sysdeps/s390/multiarch/Makefile
2304 (sysdep_routines): Remove wcsnlen variants.
2305 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2306 * sysdeps/s390/multiarch/ifunc-impl-list.c
2307 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2308 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2309 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2310 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2311 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2312 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2313 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2314 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2315
2316 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2317
2318 * sysdeps/s390/multiarch/Makefile
2319 (sysdep_routines): Remove wcslen variants.
2320 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2321 * sysdeps/s390/multiarch/ifunc-impl-list.c
2322 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2323 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2324 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2325 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2326 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2327 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2328 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2329 * sysdeps/s390/ifunc-wcslen.h: New file.
2330
2331 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2332
2333 * sysdeps/s390/multiarch/Makefile
2334 (sysdep_routines): Remove memrchr variants.
2335 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2336 * sysdeps/s390/multiarch/ifunc-impl-list.c
2337 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2338 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2339 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2340 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2341 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2342 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2343 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2344 * sysdeps/s390/ifunc-memrchr.h: New file.
2345
2346 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2347
2348 * sysdeps/s390/multiarch/Makefile
2349 (sysdep_routines): Remove memccpy variants.
2350 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2351 * sysdeps/s390/multiarch/ifunc-impl-list.c
2352 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2353 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2354 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2355 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2356 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2357 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2358 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2359 * sysdeps/s390/ifunc-memccpy.h: New file.
2360
2361 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2362
2363 * sysdeps/s390/multiarch/Makefile
2364 (sysdep_routines): Remove rawmemchr variants.
2365 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2366 * sysdeps/s390/multiarch/ifunc-impl-list.c
2367 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2368 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2369 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2370 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2371 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2372 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2373 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2374 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2375
2376 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2377
2378 * sysdeps/s390/multiarch/Makefile
2379 (sysdep_routines): Remove memchr variants.
2380 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2381 * sysdeps/s390/multiarch/ifunc-impl-list.c
2382 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2383 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2384 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2385 * sysdeps/s390/multiarch/memchr.c: Move to ...
2386 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2387 * sysdeps/s390/ifunc-memchr.h: New file.
2388 * sysdeps/s390/s390-64/memchr.S: Move to ...
2389 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2390 for 31/64bit and ifunc handling.
2391 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2392 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2393 * sysdeps/s390/s390-32/memchr.S: Likewise.
2394
2395 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2396
2397 * sysdeps/s390/multiarch/Makefile
2398 (sysdep_routines): Remove strcspn variants.
2399 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2400 * sysdeps/s390/multiarch/ifunc-impl-list.c
2401 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2402 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2403 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2404 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2405 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2406 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2407 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2408 * sysdeps/s390/ifunc-strcspn.h: New file.
2409
2410 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2411
2412 * sysdeps/s390/multiarch/Makefile
2413 (sysdep_routines): Remove strpbrk variants.
2414 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2415 * sysdeps/s390/multiarch/ifunc-impl-list.c
2416 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2417 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2418 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2419 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2420 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2421 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2422 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2423 * sysdeps/s390/ifunc-strpbrk.h: New file.
2424
2425 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2426
2427 * sysdeps/s390/multiarch/Makefile
2428 (sysdep_routines): Remove strspn variants.
2429 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2430 * sysdeps/s390/multiarch/ifunc-impl-list.c
2431 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2432 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2433 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2434 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2435 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2436 * sysdeps/s390/multiarch/strspn.c: Move to ...
2437 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2438 * sysdeps/s390/ifunc-strspn.h: New file.
2439
2440 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2441
2442 * sysdeps/s390/multiarch/Makefile
2443 (sysdep_routines): Remove strrchr variants.
2444 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2445 * sysdeps/s390/multiarch/ifunc-impl-list.c
2446 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2447 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2448 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2449 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2450 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2451 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2452 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2453 * sysdeps/s390/ifunc-strrchr.h: New file.
2454
2455 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2456
2457 * sysdeps/s390/multiarch/Makefile
2458 (sysdep_routines): Remove strchrnul variants.
2459 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2460 * sysdeps/s390/multiarch/ifunc-impl-list.c
2461 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2462 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2463 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2464 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2465 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2466 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2467 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2468 * sysdeps/s390/ifunc-strchrnul.h: New file.
2469
2470 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2471
2472 * sysdeps/s390/multiarch/Makefile
2473 (sysdep_routines): Remove strchr variants.
2474 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2475 * sysdeps/s390/multiarch/ifunc-impl-list.c
2476 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2477 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2478 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2479 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2480 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2481 * sysdeps/s390/multiarch/strchr.c: Move to ...
2482 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2483 * sysdeps/s390/ifunc-strchr.h: New file.
2484
2485 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2486
2487 * sysdeps/s390/multiarch/Makefile
2488 (sysdep_routines): Remove strncmp variants.
2489 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2490 * sysdeps/s390/multiarch/ifunc-impl-list.c
2491 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2492 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2493 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2494 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2495 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2496 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2497 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2498 * sysdeps/s390/ifunc-strncmp.h: New file.
2499
2500 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2501
2502 * sysdeps/s390/multiarch/Makefile
2503 (sysdep_routines): Remove strcmp variants.
2504 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2505 * sysdeps/s390/multiarch/ifunc-impl-list.c
2506 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2507 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2508 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2509 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2510 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2511 * sysdeps/s390/ifunc-strcmp.h: New file.
2512 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2513 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2514 for 31/64bit and ifunc handling.
2515 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2516 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2517 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2518
2519 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2520
2521 * sysdeps/s390/multiarch/Makefile
2522 (sysdep_routines): Remove strncat variants.
2523 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2524 * sysdeps/s390/multiarch/ifunc-impl-list.c
2525 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2526 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2527 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2528 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2529 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2530 * sysdeps/s390/multiarch/strncat.c: Move to ...
2531 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2532 * sysdeps/s390/ifunc-strncat.h: New file.
2533
2534 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2535
2536 * sysdeps/s390/multiarch/Makefile
2537 (sysdep_routines): Remove strcat variants.
2538 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2539 * sysdeps/s390/multiarch/ifunc-impl-list.c
2540 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2541 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2542 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2543 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2544 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2545 * sysdeps/s390/multiarch/strcat.c: Move to ...
2546 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2547 * sysdeps/s390/ifunc-strcat.h: New file.
2548
2549 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2550
2551 * sysdeps/s390/multiarch/Makefile
2552 (sysdep_routines): Remove stpncpy variants.
2553 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2554 * sysdeps/s390/multiarch/ifunc-impl-list.c
2555 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2556 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2557 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2558 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2559 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2560 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2561 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2562 * sysdeps/s390/ifunc-stpncpy.h: New file.
2563
2564 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2565
2566 * sysdeps/s390/multiarch/Makefile
2567 (sysdep_routines): Remove strncpy variants.
2568 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2569 * sysdeps/s390/multiarch/ifunc-impl-list.c
2570 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2571 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2572 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2573 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2574 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2575 * sysdeps/s390/ifunc-strncpy.h: New file.
2576 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2577 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2578 and adjust ifunc handling.
2579 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2580 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2581 and adjust ifunc handling.
2582 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2583 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2584
2585 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2586
2587 * sysdeps/s390/multiarch/Makefile
2588 (sysdep_routines): Remove stpcpy variants.
2589 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2590 * sysdeps/s390/multiarch/ifunc-impl-list.c
2591 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2592 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2593 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2594 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2595 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2596 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2597 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2598 * sysdeps/s390/ifunc-stpcpy.h: New file.
2599
2600 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2601
2602 * sysdeps/s390/multiarch/Makefile
2603 (sysdep_routines): Remove strcpy variants.
2604 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2605 * sysdeps/s390/multiarch/ifunc-impl-list.c
2606 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2607 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2608 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2609 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2610 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2611 * sysdeps/s390/ifunc-strcpy.h: New file.
2612 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2613 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2614 for 31/64bit and ifunc handling.
2615 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2616 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2617 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2618
2619 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2620
2621 * sysdeps/s390/multiarch/Makefile
2622 (sysdep_routines): Remove strnlen variants.
2623 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2624 * sysdeps/s390/multiarch/ifunc-impl-list.c
2625 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2626 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2627 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2628 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2629 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2630 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2631 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2632 * sysdeps/s390/ifunc-strnlen.h: New file.
2633
2634 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2635
2636 * sysdeps/s390/multiarch/Makefile
2637 (sysdep_routines): Remove strlen variants.
2638 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2639 * sysdeps/s390/multiarch/ifunc-impl-list.c
2640 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2641 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2642 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2643 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2644 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2645 * sysdeps/s390/multiarch/strlen.c: Move to ...
2646 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2647 * sysdeps/s390/ifunc-strlen.h: New file.
2648
2649 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2650
2651 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2652 * sysdeps/s390/multiarch/ifunc-impl-list.c
2653 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2654 * sysdeps/s390/ifunc-memmem.h: New file.
2655 * sysdeps/s390/memmem.c: Likewise.
2656 * sysdeps/s390/memmem-c.c: Likewise.
2657 * sysdeps/s390/memmem-vx.c: Likewise.
2658
2659 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2660
2661 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2662 * sysdeps/s390/multiarch/ifunc-impl-list.c
2663 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2664 * sysdeps/s390/ifunc-strstr.h: New file.
2665 * sysdeps/s390/strstr.c: Likewise.
2666 * sysdeps/s390/strstr-c.c: Likewise.
2667 * sysdeps/s390/strstr-vx.c: Likewise.
2668
2669 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2670
2671 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2672 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2673 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2674 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2675 New defines.
2676 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2677 * sysdeps/s390/memmove-c.c: New file.
2678 * sysdeps/s390/memmove.c: Likewise.
2679 * sysdeps/s390/multiarch/ifunc-impl-list.c
2680 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2681
2682 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2683
2684 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2685 * sysdeps/s390/configure.ac: Add check for z13 support.
2686 * sysdeps/s390/configure: Regenerated.
2687
2688 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2689
2690 * sysdeps/s390/memcopy.h: New file.
2691
2692 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2693
2694 * sysdeps/s390/s390-32/bcopy.S: Remove.
2695 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2696
2697 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2698
2699 * sysdeps/s390/ifunc-memcpy.h: New File.
2700 * sysdeps/s390/memcpy.S: Move to ...
2701 * sysdeps/s390/memcpy-z900.S ... here.
2702 Move implementations from memcpy-s390x.s to here.
2703 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2704 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2705 Remove memcpy/mempcpy variants.
2706 * sysdeps/s390/Makefile (sysdep_routines):
2707 Add memcpy/mempcpy variants.
2708 * sysdeps/s390/multiarch/ifunc-impl-list.c
2709 (__libc_ifunc_impl_list): Adjust ifunc variants for
2710 memcpy and mempcpy.
2711 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2712 to ...
2713 * sysdeps/s390/memcpy.c: ... here.
2714 Adjust ifunc variants for memcpy.
2715 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2716 * sysdeps/s390/mempcpy.c: ... here.
2717 Adjust ifunc variants for mempcpy.
2718 * sysdeps/s390/mempcpy.S: Delete file.
2719
2720 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2721
2722 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2723 * sysdeps/s390/memcpy.S: ... here.
2724 Adjust to be usable for 31/64bit.
2725 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2726 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2727 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2728 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2729 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2730 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2731 Adjust to be usable for 31/64bit.
2732 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2733 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2734 * sysdeps/s390/multiarch/memcpy.c: ... here.
2735 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2736
2737 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2738
2739 * sysdeps/s390/ifunc-memcmp.h: New File.
2740 * sysdeps/s390/memcmp.S: Move to ...
2741 * sysdeps/s390/memcmp-z900.S ... here.
2742 Move implementations from memcmp-s390x.s to here.
2743 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2744 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2745 Remove memcmp variants.
2746 * sysdeps/s390/Makefile (sysdep_routines):
2747 Add memcmp variants.
2748 * sysdeps/s390/multiarch/ifunc-impl-list.c
2749 (__libc_ifunc_impl_list): Adjust ifunc variants for
2750 memcmp.
2751 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2752 to ...
2753 * sysdeps/s390/memcmp.c: ... here.
2754 Adjust ifunc variants for memcmp.
2755
2756 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2757
2758 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2759 * sysdeps/s390/memcmp.S: ... here.
2760 Adjust to be usable for 31/64bit.
2761 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2762 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2763 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2764 Remove memcmp.
2765 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2766 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2767 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2768 Adjust to be usable for 31/64bit.
2769 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2770 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2771 * sysdeps/s390/multiarch/memcmp.c: ... here.
2772 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2773
2774 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2775
2776 * sysdeps/s390/s390-32/bzero.S: Delete file.
2777 * sysdeps/s390/s390-64/bzero.S: Likewise.
2778 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2779 * sysdeps/s390/bzero.c: New file.
2780 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2781 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2782 * sysdeps/s390/multiarch/ifunc-impl-list.c
2783 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2784
2785 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2786
2787 * sysdeps/s390/ifunc-memset.h: New File.
2788 * sysdeps/s390/memset.S: Move to ...
2789 * sysdeps/s390/memset-z900.S ... here.
2790 Move implementations from memset-s390x.s to here.
2791 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2792 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2793 Remove memset variants.
2794 * sysdeps/s390/Makefile (sysdep_routines):
2795 Add memset variants.
2796 * sysdeps/s390/multiarch/ifunc-impl-list.c
2797 (__libc_ifunc_impl_list): Adjust ifunc variants for
2798 memset.
2799 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2800 to ...
2801 * sysdeps/s390/memset.c: ... here.
2802 Adjust ifunc variants for memset.
2803
2804 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2805
2806 * sysdeps/s390/s390-64/memset.S: Move to ...
2807 * sysdeps/s390/memset.S: ... here.
2808 Adjust to be usable for 31/64bit.
2809 * sysdeps/s390/s390-32/memset.S: Delete File.
2810 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2811 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2812 Remove memset.
2813 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2814 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2815 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2816 Adjust to be usable for 31/64bit.
2817 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2818 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2819 * sysdeps/s390/multiarch/memset.c: ... here.
2820 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2821
2822 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2823
2824 * sysdeps/s390/multiarch/ifunc-resolve.h
2825 (s390_libc_ifunc_init, s390_libc_ifunc,
2826 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2827
2828 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2829
2830 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2831 * sysdeps/s390/configure.ac: Add check for z10 support.
2832 * sysdeps/s390/configure: Regenerated.
2833
2834 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2835
2836 * sysdeps/i386/atomic-machine.h: Merged with ...
2837 * sysdeps/x86_64/atomic-machine.h: To ...
2838 * sysdeps/x86/atomic-machine.h: This. New file.
2839
2840 2018-12-18 Florian Weimer <fweimer@redhat.com>
2841
2842 Rewrite locale/gen-translit.pl in Python.
2843 * locale/Makefile (generated): Add C-translit.h.
2844 (before-compile): Add $(objpfx)C-translit.h.
2845 (C-translit.h): Move to $(objpfx). Create target directory.
2846 Build using Python script.
2847 * locale/gen-translit.py: New file.
2848 * locale/gen-translit.pl: Remove file.
2849 * locale/C-translit.h.in: Change comment character to '#' for
2850 easier parsing without a C preprocessor.
2851 * locale/C-translit.h: Remove generated file.
2852 * manual/install.texi (Tools for Compilation): Do not mention
2853 C-translit.h.
2854 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2855 Remove locale/C-translit.h.
2856 * scripts/update-copyrights: Likewise.
2857 * INSTALL: Regenerate.
2858
2859 2018-12-18 Florian Weimer <fweimer@redhat.com>
2860
2861 [BZ #23995]
2862 * localedata/locales/bi_VU: Remove executable bit from file.
2863
2864 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2865
2866 * include/time.h
2867 (__localtime64): Add.
2868 * manual/maint.texi: Document Y2038 symbol handling.
2869 * time/localtime.c
2870 (__localtime64): Add.
2871 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2872
2873 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2874
2875 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2876 Do not clobber r12.
2877
2878 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2879 to allow extra macros from first or second sources.
2880 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2881 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2882 (tests-special): Add $(objpfx)tst-mman-consts.out.
2883 ($(objpfx)tst-mman-consts.out): New makefile target.
2884
2885 2018-12-17 Mao Han <han_mao@c-sky.com>
2886
2887 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2888 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2889 without stat64 system call support.
2890 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2891 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2892 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2893 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2894 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2895 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2896 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2897 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2898 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2899 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2900 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2901
2902 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2903
2904 regex: fix storage-exhaustion error
2905 [BZ #18040]
2906 * posix/regexec.c (get_subexp):
2907 Do not continue if storage is exhausted.
2908
2909 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2910
2911 regex: fix heap-use-after-free error
2912 [BZ #18040]
2913 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2914 https://debbugs.gnu.org/32592
2915 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2916 call extend_buffers which reallocates the re_string_t internal buffer.
2917 Local variable 'buf' was not updated in such case, resulting in
2918 use-after-free.
2919 * posix/regexec.c (get_subexp): Update 'buf' after call to
2920 get_subexp_sub.
2921
2922 2018-12-15 Florian Weimer <fweimer@redhat.com>
2923
2924 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2925 (minimum_stride_size): Use it.
2926 (support_blob_repeat_allocate): Likewise.
2927
2928 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2929
2930 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2931 definition.
2932 (acosh): Likewise.
2933 (atanh): Likewise.
2934
2935 2018-12-14 Florian Weimer <fweimer@redhat.com>
2936
2937 * manual/process.texi (Process Creation Concepts): Remove
2938 documentation of process (ID) lifetime. List more process
2939 creation functions. Reference Process Identification section.
2940 (Process Identification): Add information about process ID
2941 lifetime. Describe Linux thread/task IDs.
2942 * manual/signal.texi (Signaling Another Process): Mention that the
2943 signal is always sent to the process.
2944
2945 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2946
2947 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2948 and tst-ldbl-efgcvt.
2949 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2950 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2951 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2952 (fcvt_tests, output_error, output_r_error, do_test): Use the
2953 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2954 select the type of floating-point variables and arguments; to
2955 produce extra tests for double and conversion specifiers for
2956 printf; and to set the names of called functions.
2957 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2958 in tst-efgcvt-template.c.
2959 * misc/tst-ldbl-efgcvt.c: Likewise.
2960
2961 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2962
2963 * nss/Makefile (tst-nss-test3.out): New rule.
2964
2965 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2966
2967 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2968 clobber sp.
2969
2970 2018-12-13 fanjinke <fanjinke@hygon.cn>
2971
2972 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2973 "HygonGenuine".
2974
2975 2018-12-13 Andreas Schwab <schwab@suse.de>
2976
2977 [BZ #23861]
2978 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2979 (__pthread_rwlock_rdlock_full): Update expected value for
2980 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2981 * nptl/tst-rwlock-pwn.c: New file.
2982 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2983
2984 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2985
2986 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2987 definition.
2988
2989 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2990
2991 * benchtests/scripts/compare_bench.py (do_compare): write to
2992 stderr in casestat is not present.
2993 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2994 stderr in case timings field is not present. Also string showing
2995 the output filename goes into the stderr.
2996
2997 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2998
2999 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3000 and ZeroDivisorError exceptions.
3001 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3002 argument to loop through user provided statistics.
3003 * benchtests/scripts/compare_bench.py (main): Include the --stats
3004 argument.
3005
3006 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3007
3008 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3009 instead of return.
3010
3011 2018-12-12 Florian Weimer <fweimer@redhat.com>
3012
3013 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3014 clause to copyright header.
3015
3016 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3017
3018 [BZ #23614]
3019 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3020 registers saved in the stack frame.
3021 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3022 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3023
3024 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3025
3026 * include/bits/monetary-ldbl.h: New file.
3027 * include/bits/printf-ldbl.h: Likewise.
3028 * include/bits/stdio-ldbl.h: Likewise.
3029 * include/bits/stdlib-ldbl.h: Likewise.
3030 * include/bits/syslog-ldbl.h: Likewise.
3031 * include/bits/wchar-ldbl.h: Likewise.
3032
3033 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3034
3035 * libio/libio.h: Remove redirection for _IO_vfprintf.
3036
3037 2018-12-11 Andreas Schwab <schwab@suse.de>
3038
3039 * Makerules: Remove all references to abilist-pattern.
3040 (update-all-abi): Simplify find expression.
3041
3042 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3043
3044 [BZ #23961]
3045 * math/auto-libm-test-in: Add new test case.
3046 * math/auto-libm-test-out-pow: Regenerated.
3047 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3048
3049 2018-12-10 DJ Delorie <dj@redhat.com>
3050
3051 [BZ #23948]
3052 * support/test-container.c: Move postclean step to before we
3053 change namespaces.
3054
3055 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3056
3057 * scripts/gen-as-const.py (main): Handle --python option.
3058 * scripts/gen-py-const.awk: Remove.
3059 * Makerules (py-const-script): Use gen-as-const.py.
3060 ($(py-const)): Likewise.
3061 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3062 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3063 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3064 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3065 ~PTHREAD_MUTEX_NO_ELISION_NP.
3066 * manual/README.pretty-printers: Update reference to
3067 gen-py-const.awk.
3068
3069 * scripts/glibcextract.py: New file.
3070 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3071 or tempfile. Import glibcexctract.
3072 (compute_c_consts): Remove. Moved to glibcextract.py.
3073 (gen_test): Update reference to compute_c_consts.
3074 (main): Likewise.
3075 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3076 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3077 * sysdeps/unix/sysv/linux/Makefile
3078 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3079 Redirect stderr as well as stdout.
3080
3081 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3082
3083 [BZ #19767]
3084 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3085 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3086 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3087 ALWAYS_USE_VSYSCALL.
3088 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3089 ALWAYS_USE_VSYSCALL.
3090 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3091 ALWAYS_USE_VSYSCALL.
3092
3093 2018-12-10 Florian Weimer <fweimer@redhat.com>
3094
3095 [BZ #23972]
3096 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3097 offset instead of count for clarity. Fix typo in comment.
3098 (__old_getdents64): Keep track of previous offset. Use it to call
3099 handle_overflow.
3100 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3101 that d_off is never zero.
3102
3103 2018-12-10 Andreas Schwab <schwab@suse.de>
3104
3105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3106 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3108 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3109 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3110
3111 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3112
3113 * timezone/private.h: Update from tzcode 2018g.
3114 * timezone/tzfile.h: Likewise.
3115 * timezone/tzselect.ksh: Likewise.
3116 * timezone/zdump.c: Likewise.
3117 * timezone/zic.c: Likewise.
3118
3119 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3120
3121 [BZ #23490]
3122 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3123 (do_test): Adjust buffer size and fix format.
3124
3125 2018-12-07 DJ Delorie <dj@redhat.com>
3126
3127 [BZ #23907]
3128 * malloc/tst-tcfree3.c: New.
3129 * malloc/Makefile: Add it.
3130
3131 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3132
3133 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3134
3135 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3136
3137 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3138 used as a mask for the mode argument of __vfscanf_internal and
3139 __vfwscanf_internal.
3140 * stdio-common/vfscanf-internal.c
3141 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3142 (__strtof128_internal): Define to __wcstof128_internal.
3143 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3144 __strtof128_internal or __wcstof128_internal when the format of
3145 long double is the same as _Float128.
3146
3147 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3148
3149 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3150 * posix/confstr.c (confstr): Rename to __confstr.
3151 (__confstr): Add hidden def.
3152 (confstr): Add weak alias for __confstr.
3153 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3154 confstr.
3155
3156 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3157
3158 * NEWS: Mention getcpu.
3159 * include/sched.h (__getcpu): New libc_hidden_proto.
3160 * manual/resource.texi: Document getcpu.
3161 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3162 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3163 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3164 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3165 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3166 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3167 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3168 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3169 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3170 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3171 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3172 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3173 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3174 Likewise.
3175 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3176 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3177 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3179 Likewise.
3180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3181 Likewise.
3182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3183 Likewise.
3184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3185 Likewise.
3186 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3187 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3188 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3189 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3190 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3191 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3192 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3193 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3194 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3195 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3196 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3197 Also check getcpu.
3198
3199 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3200
3201 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3202 functions.
3203 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3204
3205 2018-12-07 Florian Weimer <fweimer@redhat.com>
3206
3207 [BZ #17405]
3208 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3209 * posix/Versions (GLIBC_2.29): Export
3210 posix_spawn_file_actions_addfchdir_np.
3211 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3212 * posix/spawn_faction_destroy.c
3213 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3214 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3215 and the field action.fchdir_action.
3216 * posix/tst-spawn-chdir.c (add_chdir): New function.
3217 (do_test): Add do_fchdir loop. Call add_chdir.
3218 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3219 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3220 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3221 posix_spawn_file_actions_addfchdir_np.
3222 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3223 Likewise.
3224 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3225 Likewise.
3226 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3227 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3228 Likewise.
3229 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3230 Likewise.
3231 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3232 Likewise.
3233 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3234 Likewise.
3235 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3236 Likewise.
3237 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3238 Likewise.
3239 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3240 (GLIBC_2.29): Likewise.
3241 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3242 (GLIBC_2.29): Likewise.
3243 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3244 (GLIBC_2.29): Likewise.
3245 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3246 (GLIBC_2.29): Likewise.
3247 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3248 Likewise.
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3250 (GLIBC_2.29): Likewise.
3251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3252 (GLIBC_2.29): Likewise.
3253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3254 (GLIBC_2.29): Likewise.
3255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3256 (GLIBC_2.29): Likewise.
3257 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3258 Likewise.
3259 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3260 Likewise.
3261 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3262 Likewise.
3263 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3264 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3265 Likewise.
3266 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3267 Likewise.
3268 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3269 Likewise.
3270 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3271 Likewise.
3272
3273 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3274
3275 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3276 trailing whitespace removed.
3277 * scripts/config.guess: Update to version 2018-11-28.
3278 * scripts/config.sub: Update to version 2018-11-28.
3279 * scripts/install-sh: Update to version 2018-03-11.20.
3280 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3281 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3282
3283 2018-12-07 Florian Weimer <fweimer@redhat.com>
3284
3285 [BZ #23927]
3286 CVE-2018-19591
3287 * inet/tst-if_index-long.c: New file.
3288 * inet/Makefile (tests): Add tst-if_index-long.
3289
3290 2018-12-07 Florian Weimer <fweimer@redhat.com>
3291
3292 * support/check.h (support_record_failure_is_failed): Declare.
3293 * support/descriptors.h: New file.
3294 * support/support_descriptors.c: Likewise.
3295 * support/tst-support_descriptors.c: Likewise.
3296 * support/support_record_failure.c
3297 (support_record_failure_is_failed): New function.
3298 * support/Makefile (libsupport-routines): Add support_descriptors.
3299 (tests): Add tst-support_descriptors.
3300
3301 2018-12-05 Zack Weinberg <zackw@panix.com>
3302 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3303
3304 * stdio-common/vfprintf-internal.c
3305 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3306 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3307 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3308 and __no_long_double.
3309 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3310 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3311 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3312 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3313 and __nldbl_*syslog* functions.
3314 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3315 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3316 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3317 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3318 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3319 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3320 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3321 (__nldbl_vwprintf, __nldbl_wprintf):
3322 Directly call the appropriate __v*printf_internal routine, passing
3323 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3324 variable names.
3325 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3326 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3327 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3328 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3329 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3330 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3331 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3332 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3333 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3334 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3335 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3336 (__nldbl_syslog, __nldbl_vsyslog):
3337 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3338 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3339 appropriate.
3340 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3341 appropriate.
3342
3343 2018-12-05 Zack Weinberg <zackw@panix.com>
3344 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3345
3346 [BZ #11319]
3347 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3348 Moved here from debug/vsprintf_chk.c.
3349 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3350 and completion logic for the strfile to match exactly what
3351 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3352 _IO_str_init_static_internal instead of maxlen-1.
3353 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3354 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3355 __vsprintf_internal.
3356
3357 * debug/vsprintf_chk.c (__vsprintf_chk)
3358 * debug/sprintf_chk.c (__sprintf_chk):
3359 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3360 'flags' argument is positive, and slen as maxlen. No need to lock
3361 the FILE and/or construct a temporary FILE. Minimize and normalize
3362 header inclusions and variable names. Do not libc_hidden_def anything.
3363
3364 * debug/asprintf_chk.c (__asprintf_chk)
3365 * debug/dprintf_chk.c (__dprintf_chk)
3366 * debug/fprintf_chk.c (__fprintf_chk)
3367 * debug/fwprintf_chk.c (__fwprintf_chk)
3368 * debug/printf_chk.c (__printf_chk)
3369 * debug/snprintf_chk.c (__snprintf_chk)
3370 * debug/swprintf_chk.c (__swprintf_chk)
3371 * debug/vasprintf_chk.c (__vasprintf_chk)
3372 * debug/vdprintf_chk.c (__vdprintf_chk)
3373 * debug/vfprintf_chk.c (__vfprintf_chk)
3374 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3375 * debug/vprintf_chk.c (__vprintf_chk)
3376 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3377 * debug/vswprintf_chk.c (__vswprintf_chk)
3378 * debug/vwprintf_chk.c (__vwprintf_chk)
3379 * debug/wprintf_chk.c (__wprintf_chk):
3380 Directly call the corresponding vxxprintf_internal function, passing
3381 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3382 the FILE and/or construct a temporary FILE. Minimize and normalize
3383 header inclusions and variable names. Do not libc_hidden_def anything.
3384
3385 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3386 __obstack_vprintf_internal.
3387 (__obstack_vprintf_chk): Convert into a wrapper that calls
3388 __obstack_vprintf_internal (these two functions already had the
3389 same code) and move to new file...
3390 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3391 file.
3392 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3393 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3394 * debug/Makefile (routines): Add vobprintf_chk.
3395
3396 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3397 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3398 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3399 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3400 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3401 (__nldbl___obstack_vfprintf_chk):
3402 Directly call the corresponding vxxprintf_internal function,
3403 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3404 duplicate comparison of slen with 0 or maxlen from the corresponding
3405 non-__nldbl function.
3406
3407 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3408 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3409 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3410 Remove libc_hidden_proto.
3411
3412 * stdio-common/vfprintf-internal.c
3413 (__vfprintf_internal, __vfwprintf_internal):
3414 Do not check _IO_FLAGS2_FORTIFY.
3415 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3416 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3417 a comment explaining why it has the maxlen argument.
3418 (_IO_acquire_lock_clear_flags2_fct): Remove.
3419 (_IO_acquire_lock_clear_flags2): Remove.
3420 (_IO_release_lock): Remove conditional statement which will
3421 now never execute.
3422 (_IO_acquire_lock): Remove variable which is now unused.
3423 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3424 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3425
3426 * stdio-common/Makefile (tests): Add tst-bz11319 and
3427 tst-bz11319-fortify2.
3428 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3429 * stdio-common/tst-bz11319-fortify2.c: New file.
3430 * stdio-common/tst-bz11319.c: Likewise.
3431
3432 2018-12-05 Zack Weinberg <zackw@panix.com>
3433 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3434
3435 * misc/syslog.c: Include libioP.h, not iolibio.h.
3436 (__vsyslog_internal): New function with the former body of
3437 __vsyslog_chk; takes mode_flags argument same as
3438 __v*printf_internal. Call __vfprintf_internal directly.
3439
3440 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3441 Remove libc_hidden_def.
3442 (__syslog, __syslog_chk): Use __vsyslog_internal.
3443 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3444
3445 * include/sys/syslog.h: Add multiple inclusion guard.
3446 Add prototype for __vsyslog_internal.
3447 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3448
3449 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3450 Use __vsyslog_internal.
3451
3452 2018-12-05 Zack Weinberg <zackw@panix.com>
3453 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3454
3455 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3456 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3457 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3458 New functions.
3459 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3460 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3461
3462 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3463 Include wctype.h here if COMPILE_WPRINTF is defined.
3464 Define __vfprintf_internal or __vfwprintf_internal, depending
3465 on COMPILE_WPRINTF.
3466 Temporarily, on entry to this function, update mode_flags
3467 according to the environmental settings corresponding to
3468 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3469 Throughout, check mode_flags instead of __ldbl_is_dbl and
3470 _IO_FLAGS2_FORTIFY on the destination FILE.
3471 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3472 Include vfprintf-internal.c. Don't include wctype.h.
3473 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3474 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3475 and vfprintf.
3476 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3477 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3478 and vfwprintf.
3479 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3480
3481 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3482 and add mode_flags argument; use __vfprintf_internal.
3483 (__vdprintf): New function. Alias vdprintf to this.
3484 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3485 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3486 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3487 (__obstack_printf): Use __obstack_printf_internal.
3488 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3489 public aliases __vsnprintf and vsnprintf.
3490 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3491 called internally.
3492 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3493 public aliases _IO_vsprintf and vsprintf.
3494 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3495 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3496 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3497 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3498 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3499
3500 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3501 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3502 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3503 * stdio-common/printf.c: Use __vfprintf_internal.
3504
3505 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3506 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3507 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3508
3509 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3510 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3511 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3512 __vfwprintf_internal.
3513
3514 * libio/libio.h: Remove libc_hidden_proto and declaration for
3515 _IO_vfprintf.
3516 Remove declaration of _IO_vfwprintf.
3517 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3518 _IO_vsprintf.
3519 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3520 _IO_obstack_printf.
3521 * include/stdio.h: Add prototype for __vasprintf.
3522 (__vsnprintf): Remove declaration, because there are no more
3523 internal calls.
3524 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3525 declaration, because there are no more internal calls.
3526
3527 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3528 __vsnprintf_internal, instead of _IO_vsnprintf.
3529 * argp/argp-help.c (__argp_error, __argp_failure): Use
3530 __vasprintf_internal, instead of _IO_vasprintf.
3531 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3532 redefine, because there are no more internal calls.
3533
3534 2018-12-05 Zack Weinberg <zackw@panix.com>
3535 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3536
3537 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3538 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3539 Include libio/strfile.h instead of libioP.h.
3540 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3541 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3542 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3543 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3544 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3545 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3546 necessary. Do not set __no_long_double. Normalize variable names.
3547 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3548 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3549 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3550 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3551 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3552 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3553 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3554 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3555 Do not set __no_long_double. Normalize variable names.
3556
3557 2018-12-05 Zack Weinberg <zackw@panix.com>
3558 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3559
3560 * stdio-common/isoc99_scanf.c
3561 * stdio-common/isoc99_fscanf.c
3562 * stdio-common/isoc99_sscanf.c
3563 * stdio-common/isoc99_vscanf.c
3564 * stdio-common/isoc99_vfscanf.c
3565 * stdio-common/isoc99_vsscanf.c
3566 * wcsmbs/isoc99_wscanf.c
3567 * wcsmbs/isoc99_fwscanf.c
3568 * wcsmbs/isoc99_swscanf.c
3569 * wcsmbs/isoc99_vwscanf.c
3570 * wcsmbs/isoc99_vfwscanf.c
3571 * wcsmbs/isoc99_vswscanf.c:
3572 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3573 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3574 No need to lock and unlock the FILE passed to that function.
3575
3576 * stdio-common/vfscanf-internal.c
3577 (__vfscanf_internal, __vfwscanf_internal):
3578 Don't look at _IO_FLAGS2_SCANF_STD.
3579 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3580 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3581 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3582
3583 2018-12-05 Zack Weinberg <zackw@panix.com>
3584 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3585
3586 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3587 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3588 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3589 * libio/strfile.h: Add multiple inclusion guard.
3590 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3591
3592 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3593 consistency with the other version of this file.
3594 (ldbl_compat_symbol): New macro.
3595 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3596 New macro.
3597
3598 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3599 Define __vfscanf_internal or __vfwscanf_internal, depending on
3600 COMPILE_WSCANF; don't define any other public symbols.
3601 Remove errval and code to set errp.
3602 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3603 as the mode_flags argument.
3604 (encode_error, conv_error, input_error): Don't set errval.
3605 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3606 Include vfscanf-internal.c.
3607 * stdio-common/vfscanf.c: New file defining the public entry
3608 point vfscanf, which calls __vfscanf_internal.
3609 * stdio-common/vfwscanf.c: New file defining the public entry
3610 point vfwscanf, which calls __vfwscanf_internal.
3611
3612 * stdio-common/iovfscanf.c: New file.
3613 * stdio-common/iovfwscanf.c: Likewise.
3614
3615 * stdio-common/Makefile (routines): Add vfscanf-internal,
3616 vfwscanf-internal, iovfscanf, iovfwscanf.
3617 * stdio-common/Versions: Mention GLIBC_2.29, so that
3618 it can be used in SHLIB_COMPAT expressions.
3619 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3620 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3621 Call __vfscanf_internal, instead of _IO_vfscanf.
3622 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3623 _IO_vfscanf.
3624 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3625 _IO_vfwscanf.
3626
3627 * libio/iovsscanf.c: Clean up includes, when possible. Use
3628 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3629 __vfscanf_internal or __vfwscanf_internal directly.
3630 * libio/iovswscanf.c: Likewise.
3631 * libio/swscanf.c: Likewise.
3632 * libio/vscanf.c: Likewise.
3633 * libio/vwscanf.c: Likewise.
3634 * libio/wscanf.c: Likewise.
3635 * stdio-common/isoc99_fscanf.c: Likewise.
3636 * stdio-common/isoc99_scanf.c: Likewise.
3637 * stdio-common/isoc99_sscanf.c: Likewise.
3638 * stdio-common/isoc99_vfscanf.c: Likewise.
3639 * stdio-common/isoc99_vscanf.c: Likewise.
3640 * stdio-common/isoc99_vsscanf.c: Likewise.
3641 * stdio-common/scanf.c: Likewise.
3642 * stdio-common/sscanf.c: Likewise.
3643 * wcsmbs/isoc99_fwscanf.c: Likewise.
3644 * wcsmbs/isoc99_swscanf.c: Likewise.
3645 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3646 * wcsmbs/isoc99_vswscanf.c: Likewise.
3647 * wcsmbs/isoc99_vwscanf.c: Likewise.
3648 * wcsmbs/isoc99_wscanf.c: Likewise.
3649
3650 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3651
3652 * include/time.h
3653 (__tz_compute): Replace time_t with __time64_t.
3654 (__tz_convert): Replace time_t* with __time64_t.
3655 (__offtime): Replace time_t* with __time64_t.
3656 * time/gmtime.c
3657 (__gmtime_r): Adjust call to __tz_convert.
3658 (gmtime): Likewise.
3659 * time/localtime.c
3660 (__localtime_r): Likewise.
3661 (localtime): Likewise.
3662 * time/offtime.c: Replace time_t with __time64_t.
3663 * time/tzset.c: Likewise.
3664
3665 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3666
3667 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3668 dynamic linker unless [$(run-built-tests) = yes].
3669
3670 2018-12-03 DJ Delorie <dj@delorie.com>
3671
3672 * support/test-container.c (check_for_unshare_hints): New.
3673 (main): Call it if unshare fails. Add support for "su" scriptlet
3674 command.
3675
3676 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3677
3678 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3679 'START' to indicate that start text should be output.
3680 (gen_test): Likewise.
3681 (main): Generate 'START' for first symbol or '--' line, or at end
3682 of input if not previously generated.
3683
3684 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3685
3686 [BZ #19767]
3687 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3688 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3689 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3690 ALWAYS_USE_VSYSCALL.
3691
3692 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3693
3694 [BZ #23913]
3695 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3696 new_argv by one.
3697
3698 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3699
3700 [BZ #23923]
3701 * locale/programs/localedef.c: Declare boolean hard_links default true.
3702 (options): Add --no-hard-links option.
3703 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3704 * locale/programs/localedef.h: Declare prototype for hard_links.
3705 * locale/programs/locfile.c (write_locale_data): Don't use hard
3706 links if hard_links is false.
3707
3708 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3709
3710 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3711 cpu_features_basic.
3712 (__cache_sysconf): Likewise.
3713 (init_cacheinfo): Likewise.
3714 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3715 populate COMMON_CPUID_INDEX_80000007 and
3716 COMMON_CPUID_INDEX_80000008.
3717 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3718 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3719 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3720 (init_cpu_features): Use _Static_assert on
3721 index_arch_Fast_Unaligned_Load.
3722 __get_cpuid_registers and __get_arch_feature. Updated for
3723 cpu_features_basic. Set stepping in cpu_features.
3724 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3725 (FEATURE_INDEX_2): New.
3726 (FEATURE_INDEX_MAX): Changed to enum.
3727 (COMMON_CPUID_INDEX_D_ECX_1): New.
3728 (COMMON_CPUID_INDEX_80000007): Likewise.
3729 (COMMON_CPUID_INDEX_80000008): Likewise.
3730 (cpuid_registers): Likewise.
3731 (cpu_features_basic): Likewise.
3732 (CPU_FEATURE_USABLE): Likewise.
3733 (bit_arch_XXX_Usable): Likewise.
3734 (cpu_features): Use cpuid_registers and cpu_features_basic.
3735 (bit_arch_XXX): Reweritten.
3736 (bit_cpu_XXX): Likewise.
3737 (index_cpu_XXX): Likewise.
3738 (reg_XXX): Likewise.
3739 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3740 <support/check.h>.
3741 (CHECK_CPU_FEATURE): New.
3742 (CHECK_CPU_FEATURE_USABLE): Likewise.
3743 (cpu_kinds): Likewise.
3744 (do_test): Print vendor, family, model and stepping. Check
3745 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3746 (TEST_FUNCTION): Removed.
3747 Include <support/test-driver.c> instead of
3748 "../../test-skeleton.c".
3749 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3750 Check POPCNT instead of POPCOUNT.
3751 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3752
3753 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3754
3755 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3756 there is no element in `consts'.
3757
3758 2018-12-01 Florian Weimer <fweimer@redhat.com>
3759
3760 * support/support_capture_subprocess.c
3761 (support_capture_subprocess): Check that pipe descriptors have
3762 expected values. Close original pipe descriptors in subprocess.
3763
3764 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3765
3766 [BZ #23032]
3767 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3768 attr with __pthread_default_barrierattr.
3769 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3770 attr with __pthread_default_condattr.
3771 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3772 attr with __pthread_default_mutexattr.
3773 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3774 attr with __pthread_default_rwlockattr.
3775
3776 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3777
3778 * manual/tunables.texi (POSIX Thread Tunables): New node.
3779 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3780 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3781 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3782 __pthread_tunables_init.
3783 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3784 (max_adaptive_count): Define.
3785 * nptl/pthread_mutex_conf.c: New file.
3786 * nptl/pthread_mutex_conf.h: New file.
3787 * sysdeps/generic/adaptive_spin_count.h: New file.
3788 * sysdeps/nptl/dl-tunables.list: New file.
3789 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3790 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3791 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3792 Likewise.
3793
3794 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3795
3796 [BZ #20544]
3797 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3798 * stdlib/on_exit.c (__on_exit): Likewise.
3799 * stdlib/Makefile (tests): Add tst-bz20544.
3800 * stdlib/tst-bz20544.c: New test.
3801
3802 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3803
3804 [BZ #19767]
3805 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3806 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3807 New.
3808
3809 2018-11-30 Florian Weimer <fweimer@redhat.com>
3810
3811 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3812 Extend error logging.
3813 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3814 symbol.
3815
3816 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3817
3818 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3819 __sigismember instead of sigismember.
3820 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3821 cancel_handler): New definitions.
3822 (do_system): Use posix_spawn instead of fork and execl and remove
3823 reentracy code.
3824 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3825 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3826 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3827 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3828 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3829 * sysdeps/unix/sysv/linux/system.c: Likewise.
3830
3831 [BZ #22834]
3832 [BZ #17490]
3833 * NEWS: Add new semantic for atfork with popen and system.
3834 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3835 fork and execl.
3836
3837 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3838
3839 [BZ #23690]
3840 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3841 modification order when accessing reloc_result->addr.
3842 * include/link.h (reloc_result): Add field init.
3843 * nptl/Makefile (tests): Add tst-audit-threads.
3844 (modules-names): Add tst-audit-threads-mod1 and
3845 tst-audit-threads-mod2.
3846 Add rules to build tst-audit-threads.
3847 * nptl/tst-audit-threads-mod1.c: New file.
3848 * nptl/tst-audit-threads-mod2.c: Likewise.
3849 * nptl/tst-audit-threads.c: Likewise.
3850 * nptl/tst-audit-threads.h: Likewise.
3851
3852 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3853
3854 * scripts/gen-as-const.py: New file.
3855 * scripts/gen-as-const.awk: Remove.
3856 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3857 gen-as-const.py.
3858 ($(objpfx)test-as-const-%.c): Likewise.
3859
3860 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3861
3862 * elf/dl-exception.c: Include <_itoa.h>.
3863
3864 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3865
3866 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3867 returned by __f_setlk.
3868
3869 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3870 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3871
3872 * elf/Makefile (tests-internal): Add tst-create_format1.
3873 * elf/dl-exception.c (_dl_exception_create_format): Support
3874 %x, %lx and %zx.
3875 * elf/tst-create_format1.c: New file.
3876
3877 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3878
3879 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3880 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3881 gnulib.)
3882 * argp/argp-help.c (__argp_failure): Likewise.
3883
3884 2018-11-29 Mao Han <han_mao@c-sky.com>
3885
3886 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3887 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3888 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3889 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3890 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3891 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3892 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3893 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3894 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3895 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3896 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3897 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3898 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3899 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3900 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3901 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3902 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3903 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3904 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3905 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3906 (R_CKCORE_TLS_TPOFF32): New defines.
3907
3908 2018-11-29 Florian Weimer <fweimer@redhat.com>
3909
3910 * posix/Makefile (before-compile): Remove testcases.h and
3911 ptestcases.h.
3912 (generated): Add testcases.h and ptestcases.h.
3913 (testcases.h, ptestcases.h): Move to $(objpfx).
3914 (runtests.o): Add dependency on testcases.h.
3915 (runptests.o): Add dependency on ptestcases.h.
3916 * posix/testcases.h, posix/ptestcases.h: Remove files.
3917 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3918 not touch posix/testcases.h and posix/ptestcases.h.
3919
3920 2018-11-28 Florian Weimer <fweimer@redhat.com>
3921
3922 support: Add signal support to support_capture_subprocess_check.
3923 * support/capture_subprocess.h (support_capture_subprocess_check):
3924 Adjust comment and rename parameter.
3925 * support/support_capture_subprocess_check.c
3926 (print_actual_status): New function.
3927 (support_capture_subprocess_check): Support negative
3928 status_or_signal. Call print_actual_status.
3929 * support/tst-support_capture_subprocess.c (do_test): Call
3930 support_capture_subprocess_check.
3931 * libio/tst-vtables-common.c (termination_status)
3932 (init_termination_status): Remove.
3933 (check_for_termination): Adjust support_capture_subprocess_check
3934 call.
3935 (do_test): Remove call to init_termination_status.
3936
3937 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3938
3939 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3940 source directory instead of a copy.
3941 (CommandList.create_copy_dir): Remove.
3942
3943 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3944
3945 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3946
3947 2018-11-28 Florian Weimer <fweimer@redhat.com>
3948
3949 * support/support.h (support_quote_string): Do not use str
3950 parameter name.
3951
3952 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3953
3954 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3955 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3956
3957 2018-11-27 Florian Weimer <fweimer@redhat.com>
3958
3959 * support/support.h (support_quote_string): Declare.
3960 * support/support_quote_string.c: New file.
3961 * support/tst-support_quote_string.c: Likewise.
3962 * support/Makefile (libsupport-routines): Add
3963 support_quote_string.
3964 (tests): Add tst-support_quote_string.
3965
3966 2018-11-27 Florian Weimer <fweimer@redhat.com>
3967
3968 [BZ #23927]
3969 CVE-2018-19591
3970 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3971 descriptor leak in case of ENODEV error.
3972
3973 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3974
3975 [BZ #19767]
3976 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3977 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3978 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3979
3980 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3981
3982 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3983 Error for unknown lines.
3984
3985 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3986
3987 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3988 Touch additional files.
3989
3990 2018-11-26 Florian Weimer <fweimer@redhat.com>
3991
3992 [BZ #23907]
3993 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3994 double-frees.
3995
3996 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3997
3998 [BZ #19767]
3999 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4000 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4001 SHARED. Include sysdep.h.
4002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4003 ALWAYS_USE_VSYSCALL.
4004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4005 ALWAYS_USE_VSYSCALL.
4006
4007 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4008
4009 [BZ #19767]
4010 * nptl/Makefile (tests-static): Add tst-cond11-static.
4011 (tests): Likewise.
4012 * nptl/tst-cond11-static.c: New File.
4013 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4014 tst-affinity-static.
4015 (tests): Likewise.
4016 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4017 instead of SHARED.
4018 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4019 (USE_VSYSCALL): Likewise.
4020 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4021 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4022 instead of SHARED.
4023 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4024 SHARED.
4025 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4026 New.
4027
4028 2018-11-23 Joseph Myers <joseph@codesourcery.com>
4029
4030 [BZ #23915]
4031 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4032 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4033 Undefine.
4034
4035 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4036
4037 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4038 (tst-cet-legacy-1a-ARGS): New.
4039 ($(objpfx)tst-cet-legacy-1a): New target.
4040 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4041
4042 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4043
4044 * conform/conformtest.py (CompileSubTest.__init__): Set
4045 self.run_early to False.
4046 (ExecuteSubTest.__init__): Likewise.
4047 (HeaderTests.run): Try running all non-optional, non-XFAILed
4048 compilation tests in a single execution of the compiler.
4049
4050 * conform/conformtest.py (CompileSubTest): New class.
4051 (ExecuteSubTest): Likewise.
4052 (ElementTest.run): Rename to gen_subtests. Append tests to
4053 self.subtests instead of running them.
4054 (ConstantTest.run): Likewise.
4055 (SymbolTest.run): Likewise.
4056 (TypeTest.run): Likewise.
4057 (TagTest.run): Likewise.
4058 (FunctionTest.run): Likewise.
4059 (VariableTest.run): Likewise.
4060 (MacroFunctionTest.run): Likewise.
4061 (MacroStrTest.run): Likewise.
4062 (HeaderTests.handle_test_line): Generate subtests for tests.
4063 (HeaderTests.run): Run subtests for tests.
4064
4065 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4066
4067 * math/Versions (GLIBC_2.29): Add pow.
4068 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4069 symbol.
4070 * math/w_pow.c: New file.
4071 * sysdeps/i386/fpu/w_pow.c: New file.
4072 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4073 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4074 and add necessary aliases.
4075 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4076 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4077 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4078 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4079 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4080 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4081 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4082 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4083 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4084 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4085 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4086 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4087 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4088 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4089 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4094 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4095 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4096 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4097 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4098 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4099 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4100 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4101 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4102 __pow.
4103 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4104 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4105 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4106
4107 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4108
4109 * math/Versions (GLIBC_2.29): Add log2.
4110 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4111 symbol.
4112 * math/w_log2.c: New file.
4113 * sysdeps/i386/fpu/w_log2.c: New file.
4114 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4115 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4116 and add necessary aliases.
4117 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4118 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4119 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4120 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4121 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4122 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4123 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4124 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4125 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4126 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4127 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4128 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4129 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4130 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4131 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4136 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4137 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4138 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4139 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4140 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4141 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4142 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4143
4144 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4145
4146 * math/Versions (GLIBC_2.29): Add log.
4147 * math/w_log_compat.c (__log_compat): Change to versioned compat
4148 symbol.
4149 * math/w_log.c: New file.
4150 * sysdeps/i386/fpu/w_log.c: New file.
4151 * sysdeps/ia64/fpu/e_log.S: Update.
4152 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4153 and add necessary aliases.
4154 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4155 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4156 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4157 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4158 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4159 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4160 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4161 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4162 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4163 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4164 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4165 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4166 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4167 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4168 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4173 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4174 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4175 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4176 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4177 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4178 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4179 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4180 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4181 __log.
4182 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4183 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4184 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4185 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4186
4187 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4188
4189 * math/Versions (GLIBC_2.29): Add exp and exp2.
4190 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4191 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4192 * math/w_exp_compat.c (__exp_compat): Likewise.
4193 * math/w_exp.c: New file.
4194 * math/w_exp2.c: New file.
4195 * sysdeps/i386/fpu/w_exp.c: New file.
4196 * sysdeps/i386/fpu/w_exp2.c: New file.
4197 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4198 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4199 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4200 and add necessary aliases.
4201 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4202 and add necessary aliases.
4203 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4204 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4205 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4206 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4207 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4208 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4209 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4210 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4211 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4212 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4213 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4214 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4215 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4216 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4217 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4218 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4219 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4224 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4225 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4226 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4227 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4228 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4229 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4230 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4231 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4232 (__ieee754_exp): Rename to __exp.
4233 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4234 (__ieee754_exp): Rename to __exp.
4235 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4236 (__ieee754_exp): Rename to __exp.
4237 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4238 __exp.
4239 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4240
4241 2018-11-20 DJ Delorie <dj@redhat.com>
4242
4243 * malloc/malloc.c (tcache_entry): Add key field.
4244 (tcache_put): Set it.
4245 (tcache_get): Likewise.
4246 (_int_free): Check for double free in tcache.
4247 * malloc/tst-tcfree1.c: New.
4248 * malloc/tst-tcfree2.c: New.
4249 * malloc/Makefile: Run the new tests.
4250 * manual/probes.texi: Document memory_tcache_double_free probe.
4251
4252 * dlfcn/dlerror.c (check_free): Prevent double frees.
4253
4254 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4255
4256 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4257
4258 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4259
4260 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4261 in tests. Use names for format arguments.
4262 (ConstantTest.run): Likewise.
4263 (SymbolTest.run): Likewise.
4264 (TypeTest.run): Likewise.
4265 (TagTest.run): Likewise.
4266 (FunctionTest.run): Likewise.
4267 (VariableTest.run): Likewise.
4268 (MacroFunctionTest.run): Likewise.
4269 (MacroStrTest.run): Likewise.
4270 (HeaderTests.__init__): Set self.num_tests.
4271 (HeaderTests.handle_test_line): Set test.num. Increment
4272 self.num_tests.
4273
4274 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4275
4276 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4277 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4278 SEEK_SET.
4279
4280 2018-11-19 Mao Han <han_mao@c-sky.com>
4281
4282 * scripts/config.guess: Update to version 2018-08-29.
4283 * scripts/config.sub: Update to version 2018-08-29.
4284
4285 2018-11-19 Florian Weimer <fweimer@redhat.com>
4286
4287 support: Print timestamps in timeout handler.
4288 * support/support_test_main.c (print_timestamp): New function.
4289 (signal_handler): Use it to print the termination time and the
4290 time of the last write to standard output.
4291
4292 2018-11-16 Zack Weinberg <zackw@panix.com>
4293 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4294
4295 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4296 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4297 argument.
4298 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4299 and add flags argument. Check flags instead of __ldbl_is_dbl when
4300 deciding whether to set is_long_double.
4301 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4302 passing zero for flags argument.
4303 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4304
4305 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4306 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4307 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4308 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4309 variable names. Remove libc_hidden_def/libc_hidden_proto from
4310 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4311 longer called from within the library.
4312 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4313 for __nldbl___vstrfmon_l, declare it explicitly.
4314
4315 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4316
4317 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4318
4319 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4320 macros
4321 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4322 F_SETLK64, F_SETLKW64, respectively.
4323 * sysdeps/mach/hurd/f_setlk.c: New file.
4324 * sysdeps/mach/hurd/f_setlk.h: New file.
4325 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4326 f_setlk.
4327 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4328 (__libc_fcntl): Move non-flock operations to...
4329 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4330 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4331
4332 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4333
4334 mktime: DEBUG_MKTIME cleanup
4335 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4336 And it’s no longer needed now that glibc and Gnulib both have
4337 their own testing mechanisms for mktime.
4338 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4339
4340 mktime: fix non-EOVERFLOW errno handling
4341 [BZ#23789]
4342 mktime was not properly reporting failures when the underlying
4343 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4344 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4345 The problem could happen on non-glibc platforms, with Gnulib.
4346 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4347 (tm_diff): ... this simpler function, which does not change errno.
4348 All callers changed to deal with errno themselves.
4349 (ranged_convert, __mktime_internal): Return failure immediately if
4350 the underlying function reports any failure other than EOVERFLOW.
4351 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4352 gap code fails.
4353
4354 mktime: fix bug with Y2038 DST transition
4355 [BZ#23789]
4356 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4357 mishandle a DST transition that jumps over the Y2038 boundary.
4358 No such DST transitions are known so this is only a theoretical
4359 bug, but we might as well do things right.
4360
4361 mktime: make more room for overflow
4362 [BZ#23789]
4363 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4364 This is so that we can add tm_diff results to a previous guess,
4365 which will be useful in a later patch.
4366
4367 mktime: simplify offset guess
4368 [BZ#23789]
4369 * time/mktime.c (__mktime_internal): Omit excess precision.
4370
4371 mktime: new test for mktime failure
4372 [BZ#23789]
4373 Based on a test suggested by Albert Aribaud in:
4374 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4375 * time/Makefile (tests): Add bug-mktime4.
4376 * time/bug-mktime4.c: New file.
4377
4378 mktime: fix EOVERFLOW bug
4379 [BZ#23789]
4380 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4381 Include libc-config.h, not config.h, for __set_errno.
4382 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4383
4384 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4385
4386 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4387 __attribute_copy__ to copy attributes from name. Drop static qualifier
4388 to avoid warnings about leaf attribute not having effect on static
4389 functions.
4390
4391 2018-11-13 Florian Weimer <fweimer@redhat.com>
4392
4393 * malloc/malloc.c (fastbin_push_entry): New function.
4394 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4395 (REMOVE_FB): Remove macro.
4396 (_int_malloc): Use fastbin_pop_entry and reindent.
4397 (_int_free): Use fastbin_push_entry.
4398 (malloc_consolidate): Use atomic_exchange_acquire.
4399
4400 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4401
4402 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4403 alias attribute, not with strong_alias.
4404
4405 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4406 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4407 with additional parameter thread.
4408 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4409 in terms of __hidden_ver2.
4410 (hidden_tls_def): New macro.
4411 (libc_hidden_tls_def): Likewise.
4412 (rtld_hidden_tls_def): Likewise.
4413 (libm_hidden_tls_def): Likewise.
4414 (libmvec_hidden_tls_def): Likewise.
4415 (libresolv_hidden_tls_def): Likewise.
4416 (librt_hidden_tls_def): Likewise.
4417 (libdl_hidden_tls_def): Likewise.
4418 (libnss_files_hidden_tls_def): Likewise.
4419 (libnsl_hidden_tls_def): Likewise.
4420 (libnss_nisplus_hidden_tls_def): Likewise.
4421 (libutil_hidden_tls_def): Likewise.
4422 (libutil_hidden_tls_def): Likweise.
4423 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4424 libc_hidden_tls_def.
4425 (__sim_disabled_exceptions_thread): Likewise.
4426 (__sim_round_mode_thread): Likewise.
4427
4428 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4429 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4430 copy attributes from name.
4431
4432 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4433
4434 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4435 Use __attribute_copy__ to copy attributes from name.
4436
4437 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4438 with __hidden_ver1 call.
4439 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4440 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4441 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4442 (__cosf): Do not declare here.
4443 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4444 (__sincosf): Do not declare here.
4445 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4446 (__sinf): Do not declare here.
4447
4448 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4449 (__BIG_ENDIAN): Likewise.
4450 (__BYTE_ORDER): Likewise.
4451 (strong_alias): Likewise.
4452 (_strong_alias): Likewise.
4453
4454 2018-11-12 Florian Weimer <fweimer@redhat.com>
4455
4456 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4457 function. Move after the definition of in_smallbin_range. Do not
4458 use __builtin_expect for paths that lead to a noreturn function.
4459 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4460 because it is unclear whether this is in fact an unlikely
4461 condition.
4462 (_int_malloc, _int_free): Adjust.
4463 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4464 variables.
4465 * malloc/arena.c (heap_trim): Likewise.
4466
4467 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4468
4469 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4470 it, free it if needed.
4471 (reauthenticate): Test and use ccwdir.
4472 (child_init_port): In non-resetids case, test and use ccwdir.
4473 (child_chdir): New nested function to set ccwdir.
4474 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4475 * hurd/hurd/port.h (_hurd_port_move): New function.
4476 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4477 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4478 * hurd/Versions (_hurd_port_move): Export function.
4479 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4480 symbol.
4481 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4482 of dtablesize for allocating dtable_cloexec.
4483
4484 2018-11-09 Martin Sebor <msebor@redhat.com>
4485
4486 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4487 it's already defined.
4488 (_strong_alias): Use __attribute_copy__.
4489 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4490 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4491 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4492 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4493 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4494 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4495 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4496 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4497 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4498 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4499 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4500 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4501 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4502 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4503 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4504 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4505 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4506 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4507 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4508
4509 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4510
4511 * misc/tst-efgcvt.c: Include support/check.h and
4512 support/test-driver.c. Do not include test-skeleton.c.
4513 (error_count): Remove.
4514 (output_error): Replace increments to error_count with calls to
4515 support_record_failure.
4516 (output_r_error): Likewise.
4517 (special): Likewise.
4518 (do_test): Unconditionally return zero.
4519 (TEST_FUNCTION): Remove.
4520
4521 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4522
4523 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4524 not $(@D)/scratch.
4525 ($(linknamespace-header-tests)): Likewise.
4526
4527 * conform/conformtest.py: New file.
4528 * conform/conformtest.pl: Remove.
4529 * conform/GlibcConform.pm: Likewise.
4530 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4531 (KEYWORDS_C99): Likewise.
4532 (KEYWORDS): Likewise.
4533 * conform/Makefile ($(conformtest-header-tests)): Use
4534 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4535 option. Use --header instead of --headers.
4536 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4537 function entries.
4538 * conform/data/spawn.h-data: Likewise.
4539 * conform/data/fcntl.h-data (openat): Add space after function
4540 name.
4541 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4542 (wcscasecmp_l): Likewise.
4543 * conform/data/termios.h-data (c_cc): Add space after element
4544 name.
4545
4546 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4547
4548 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4549 instead of manually comparing and reporting mismatching strings.
4550 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4551 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4552
4553 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4554
4555 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4556 __ASSUME_SOCKETCALL.
4557 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4558 (__ASSUME_SOCKETCALL): Remove.
4559 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4560 (__ASSUME_SOCKETCALL): Likewise.
4561 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4562 (__ASSUME_SOCKETCALL): Likewise.
4563 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4564 (__ASSUME_SOCKETCALL): Likewise.
4565 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4566 (__ASSUME_SOCKETCALL): Likewise.
4567 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4568 (__ASSUME_SOCKETCALL): Likewise.
4569 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4570 (__ASSUME_SOCKETCALL): Likewise.
4571
4572 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4573
4574 [BZ #23509]
4575 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4576 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4577 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4578 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4579 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4580 lc_unknown.
4581
4582 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4583
4584 [BZ #17630]
4585 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4586
4587 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4588
4589 [BZ #23867]
4590 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4591 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4592 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4593 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4594
4595 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4596
4597 * support/support_test_compare_string.c
4598 (support_test_compare_string): Fix printf format.
4599
4600 2018-11-07 Florian Weimer <fweimer@redhat.com>
4601
4602 Implement TEST_COMPARE_STRING.
4603 * support/check.h (TEST_COMPARE_STRING): Define.
4604 (support_test_compare_string): Declare.
4605 * support/Makefile (libsupport-routines): Add
4606 support_test_compare_string.
4607 (tests): Add tst-test_compare_string.
4608 * support/support_test_compare_string.c: New file.
4609 * support/tst-test_compare_string.c: Likewise.
4610
4611 2018-11-07 Andreas Schwab <schwab@suse.de>
4612
4613 [BZ #23864]
4614 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4615 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4616 Undef.
4617
4618 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4619
4620 [BZ #23862]
4621 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4622 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4623 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4624 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4625 Likewise.
4626
4627 2018-11-06 Florian Weimer <fweimer@redhat.com>
4628
4629 [BZ #17405]
4630 * posix/Makefile (routines): Add spawn_faction_addchdir.
4631 (tests): Add tst-spawn-chdir.
4632 * posix/Versions (GLIBC_2.29): Add
4633 posix_spawn_file_actions_addchdir_np.
4634 * posix/spawn_faction_addchdir.c: New file.
4635 * posix/spawn_faction_destroy.c
4636 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4637 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4638 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4639 chdir_action.
4640 * posix/tst-spawn-chdir.c: New file.
4641 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4642 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4643 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4644 posix_spawn_file_actions_addchdir_np.
4645 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4646 Likewise.
4647 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4648 Likewise.
4649 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4650 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4651 Likewise.
4652 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4653 Likewise.
4654 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4655 Likewise.
4656 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4657 Likewise.
4658 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4659 Likewise.
4660 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4661 Likewise.
4662 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4663 (GLIBC_2.29): Likewise.
4664 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4665 (GLIBC_2.29): Likewise.
4666 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4667 (GLIBC_2.29): Likewise.
4668 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4669 (GLIBC_2.29): Likewise.
4670 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4671 Likewise.
4672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4673 (GLIBC_2.29): Likewise.
4674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4675 (GLIBC_2.29): Likewise.
4676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4677 (GLIBC_2.29): Likewise.
4678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4679 (GLIBC_2.29): Likewise.
4680 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4681 Likewise.
4682 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4683 Likewise.
4684 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4685 Likewise.
4686 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4687 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4688 Likewise.
4689 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4690 Likewise.
4691 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4692 Likewise.
4693 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4694 Likewise.
4695
4696 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4697
4698 * misc/Makefile (tests): Add tst-ldbl-error.
4699 * misc/tst-ldbl-error.c: New file.
4700
4701 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4702
4703 * misc/Makefile (tests): Add tst-ldbl-warn.
4704 * misc/tst-ldbl-warn.c: New file.
4705
4706 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4707
4708 * argp/Makefile (tests): Add tst-ldbl-argp.
4709 * argp/tst-ldbl-argp.c: New file.
4710
4711 2018-11-05 Arjun Shankar <arjun@redhat.com>
4712
4713 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4714 __gconv_path_elem and call __gconv_get_path unconditionally.
4715
4716 2018-11-05 Andreas Schwab <schwab@suse.de>
4717
4718 [BZ #22927]
4719 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4720 creating the first helper thread failed.
4721
4722 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4723
4724 * sysdeps/mach/hurd/msync.c: New file.
4725
4726 2018-11-02 Florian Weimer <fweimer@redhat.com>
4727
4728 * support/shell-container.c (copy_func): Call
4729 support_copy_file_range instead of copy_file_range to support
4730 cross-device copies.
4731
4732 2018-11-02 Florian Weimer <fweimer@redhat.com>
4733
4734 * support/test-container.c: Include <libc-pointer-arith.h> for
4735 ALIGN_UP.
4736
4737 2018-11-01 Zong Li <zong@andestech.com>
4738
4739 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4740 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4741 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4742 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4743
4744 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4745 variable to avoid overlap arguments.
4746
4747 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4748
4749 * posix/bug-regex22.c (main): Use puts with distinct error
4750 messages for unexpected success of re_compile_pattern, not printf
4751 with NULL argument to %s.
4752
4753 * stdio-common/bug22.c: Include <libc-diag.h>.
4754 (do_test): Disable -Wformat-overflow= warnings around fprintf
4755 calls outputting more than INT_MAX characters.
4756 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4757 around printf call with NULL %s argument.
4758
4759 [BZ #23848]
4760 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4761 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4762 Undefine.
4763 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4764 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4765 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4766 (__ASSUME_SENDTO_SYSCALL): Likewise.
4767 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4768 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4769 [!__arch64__].
4770 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4771 (__ASSUME_CONNECT_SYSCALL): Likewise.
4772 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4773 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4774 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4775 Define.
4776 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4777 Likewise.
4778 [__LINUX_KERNEL_VERSION >= 0x040400]
4779 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4780 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4781 Remove.
4782 (listen): Likewise.
4783 (setsockopt): Likewise.
4784
4785 2018-11-01 Fredrik Noring <noring@nocrew.org>
4786
4787 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4788 with the ISA override.
4789
4790 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4791
4792 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4793 #endif.
4794
4795 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4796
4797 * manual/errno.texi (EIEIO): Document how translators should
4798 translate the error message.
4799 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4800 printing trailing whitespaces refused by git.
4801 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4802 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4803 * hurd/Makefile (user-interfaces): Add pci.
4804
4805 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4806
4807 * conform/linknamespace.py: New file.
4808 * conform/linknamespace.pl: Remove file.
4809 * conform/Makefile ($(linknamespace-header-tests)): Use
4810 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4811 option.
4812
4813 2018-10-30 Florian Weimer <fweimer@redhat.com>
4814
4815 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4816 memory leaks.
4817
4818 2018-10-30 Florian Weimer <fweimer@redhat.com>
4819
4820 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4821
4822 2018-10-30 Florian Weimer <fweimer@redhat.com>
4823
4824 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4825 support_blob_repeat.
4826
4827 2018-10-30 Florian Weimer <fweimer@redhat.com>
4828
4829 Avoid spurious test failures in stdlib/test-bz22786.
4830 * support/Makefile (libsupport-routines): Add blob_repeat.
4831 (tests): Add tst-support_blob_repeat.
4832 * support/blob_repeat.h: New file.
4833 * support/blob_repeat.c: Likewise.
4834 * support/tst-support_blob_repeat.c: Likewise.
4835 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4836 support_blob_repeat_allocate.
4837
4838 2018-10-30 Andreas Schwab <schwab@suse.de>
4839
4840 [BZ #23125]
4841 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4842 Don't use tail call.
4843 * elf/tst-unwind-main.c: New file.
4844 * elf/Makefile (tests): Add tst-unwind-main.
4845 (CFLAGS-tst-unwind-main.c): Define.
4846
4847 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4848
4849 [BZ #23791]
4850 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4851 n_cs_precedes to 0.
4852 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4853
4854 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4855
4856 * conform/glibcconform.py: Do not import shutil.
4857 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4858 of mkdtemp.
4859
4860 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4861 critic_missing for versions before 3.4.
4862 * configure: Regenerated.
4863 * manual/install.texi (Tools for Compilation): Document
4864 requirement for Python to build glibc.
4865 * INSTALL: Regenerated.
4866 * Rules [PYTHON]: Make code unconditional.
4867 * benchtests/Makefile [PYTHON]: Likewise.
4868 * conform/Makefile [PYTHON]: Likewise.
4869 * manual/Makefile [PYTHON]: Likewise.
4870 * math/Makefile [PYTHON]: Likewise.
4871
4872 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4873
4874 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4875 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4876 answer to interrupt_operation, return EIEIO instead of EINTR.
4877 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4878 _hurd_intr_rpc_msg_about_to global point to start of controlled
4879 assembly snippet. Make it check canceled flag.
4880 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4881 the _hurd_intr_rpc_msg_about_to point.
4882 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4883 issue, remove cancel flag check.
4884
4885 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4886
4887 * scripts/build-many-glibcs.py: Remove compatibility for missing
4888 os.cpu_count and re.fullmatch.
4889
4890 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4891
4892 [BZ #23822]
4893 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4894 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4895 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4896
4897 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4898
4899 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4900 macro.
4901
4902 2018-10-25 Florian Weimer <fweimer@redhat.com>
4903
4904 [BZ #23562]
4905 [BZ #23821]
4906 XFAIL siginfo_t si_band conform test on sparc64.
4907 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4908 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4909 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4910 (conformtest-xfail-conds): Add sparc64-linux.
4911 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4912 sparc64.
4913 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4914
4915 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4916
4917 * elf/elf.h (NT_MIPS_DSP): New macro.
4918 (NT_MIPS_FP_MODE): Likewise.
4919
4920 2018-10-25 Zong Li <zong@andestech.com>
4921
4922 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4923 name by adding the file extension (.so).
4924
4925 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4926
4927 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4928 (test-xfail-ISO11/threads.h/linknamespace,
4929 test-xfail-ISO11/threads.h/conform): Add.
4930
4931 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4932
4933 * math/gen-libm-test.py: Import os.
4934 (ALL_FLOATS_MANUAL): New constant.
4935 (ALL_FLOATS_SUFFIX): Likewise.
4936 (Ulps.all_functions): New function.
4937 (real_all_ulps): Likewise.
4938 (generate_err_table_sub): Likewise.
4939 (generate_err_table): Likewise.
4940 (main): Handle -s and -m options.
4941 * manual/libm-err-tab.pl: Remove.
4942 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4943 instead of libm-err-tab.pl.
4944 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4945 != no].
4946 * manual/install.texi (Tools for Compilation): Document
4947 requirement for Python to build manual.
4948 * INSTALL: Regenerated.
4949
4950 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4951
4952 * bits/time64.h: New file.
4953 * include/time.h: Replace internal_time_t with __time64_t.
4954 * posix/bits/types (__time64_t): Add.
4955 * stdlib/Makefile: Add bits/time64.h to includes.
4956 * time/tzfile.c: Replace internal_time_t with __time64_t.
4957
4958 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4959
4960 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4961 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4962 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4963 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4964 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4965 prototype.
4966 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4967 * posix/spawn_faction_addclose.c
4968 (__posix_spawn_file_actions_addclose): Add hidden definition.
4969 * posix/spawn_faction_adddup2.c
4970 (__posix_spawn_file_actions_adddup2): Likewise.
4971 * posix/spawn_faction_destroy.c
4972 (__posix_spawn_file_actions_destroy): Likewise.
4973 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4974 Likewise.
4975 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4976 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4977 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4978 Likewise.
4979 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4980 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4981 Likewise.
4982
4983 2018-10-24 Andreas Schwab <schwab@suse.de>
4984
4985 [BZ #18093]
4986 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4987 format cache.
4988 * elf/cache.c (print_cache): Likewise.
4989
4990 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4991
4992 * bits/timesize.h: New file.
4993 * stdlib/Makefile (headers): Add bits/timesize.h.
4994 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4995 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4996 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4997 (__SEM_PAD_AFTER_TIME): Likewise.
4998 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4999 (__SHM_PAD_AFTER_TIME): Likewise.
5000 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5001 (__MSQ_PAD_BEFORE_TIME): Likewise.
5002 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5003 (__SEM_PAD_BEFORE_TIME): Likewise.
5004 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5005 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5006 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5007 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5008 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5009 (__MSQ_PAD_BEFORE_TIME): Likewise.
5010 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5011 (__SEM_PAD_BEFORE_TIME): Likewise.
5012 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5013 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5014 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5015 (__MSQ_PAD_BEFORE_TIME): Likewise.
5016 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5017 (__SEM_PAD_BEFORE_TIME): Likewise.
5018 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5019 (__SHM_PAD_BEFORE_TIME): Likewise.
5020 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5021 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5022 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5023
5024 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5025
5026 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5027 USE_RDTSCP is defined.
5028 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5029 USE_RDTSCP is defined.
5030
5031 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5032
5033 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5034 defined.
5035
5036 [BZ #23709]
5037 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5038 independently of other flags.
5039
5040 2018-10-23 Florian Weimer <fweimer@redhat.com>
5041
5042 * time/tst-mktime2.c (N_STRINGS): Remove.
5043 (set_timezone): New function.
5044 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5045 (mktime_test1): Report localtime failure and check errno value.
5046 Use TEST_COMPARE.
5047 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5048 (do_test): Remove alarm call. Use set_timezone and array_length.
5049
5050 2018-10-23 Andreas Schwab <schwab@suse.de>
5051
5052 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5053 (__start_context): Use END instead of PSEUDO_END.
5054
5055 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5056
5057 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5058 version to 4.19.
5059
5060 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5061 version to 4.19.
5062
5063 [BZ #23793]
5064 * wcsmbs/c32rtomb.c: New file.
5065 * wcsmbs/mbrtoc32.c: Likewise.
5066 * wcsmbs/tst-c32-state.c: Likewise.
5067 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5068 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5069 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5070 (tests): Add tst-c32-state.
5071 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5072 $(gen-locales).
5073
5074 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5075
5076 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5077 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5078
5079 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5080
5081 [BZ #23794]
5082 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5083 pair and return 0 in that case, and use saved character to
5084 interpret following character.
5085 * wcsmbs/tst-c16-surrogate.c: New file.
5086 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5087 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5088 Depend on $(gen-locales)
5089
5090 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5091
5092 [BZ #23562]
5093 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5094 (struct siginfo_t): Use correct type for si_band.
5095
5096 2018-10-19 Florian Weimer <fweimer@redhat.com>
5097
5098 [BZ #23689]
5099 * resource/bits/types/struct_rusage.h (struct rusage): Update
5100 comment on struct. Remove extraneous field comment.
5101
5102 2018-10-18 David S. Miller <davem@davemloft.net>
5103
5104 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5105 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5106 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5107 sysdep_routines in subdir elf.
5108 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5109 version for __vdso_clock_gettime.
5110 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5111 Define.
5112 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5113 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5114
5115 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5116
5117 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5118
5119 * sysdeps/i386/init-arch.h: Removed.
5120 * sysdeps/i386/i586/init-arch.h: Likewise.
5121 * sysdeps/i386/i686/init-arch.h: Likewise.
5122 * sysdeps/i386/i686/hp-timing.h: Likewise.
5123 * sysdeps/x86_64/hp-timing.h: Likewise.
5124 * sysdeps/i386/isa.h: New file.
5125 * sysdeps/i386/i586/isa.h: Likewise.
5126 * sysdeps/i386/i686/isa.h: Likewise.
5127 * sysdeps/x86_64/isa.h: Likewise.
5128 * sysdeps/x86/hp-timing.h: New file.
5129 * sysdeps/x86/init-arch.h: Include <isa.h>.
5130
5131 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5132
5133 * math/libm-test-pow.inc (pow_test_data): Do not allow
5134 divide-by-zero exception for pow(+/- 0, -Inf).
5135
5136 2018-10-17 Zack Weinberg <zackw@panix.com>
5137
5138 * manual/job.texi (Job Control is Optional): Remove node, as
5139 job control has not been optional in quite some time.
5140 (Job Control): Mention briefly that systems older than
5141 POSIX.1-2001 might not support job control.
5142 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5143 defined on systems conforming to POSIX.1-2001.
5144
5145 2018-10-17 Arjun Shankar <arjun@redhat.com>
5146
5147 [BZ #22062]
5148 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5149 indentation.
5150 * (__gconv_read_conf): Mark function static.
5151 * (once): New static variable.
5152 * (__gconv_load_conf): New function.
5153 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5154 * iconv/gconv_db.c (once): Remove static variable.
5155 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5156 __gconv_read_conf.
5157 * (__gconv_find_transform): Likewise.
5158 * iconv/tst-iconv-mt.c: New test.
5159 * iconv/Makefile: Add tst-iconv_mt.
5160
5161 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5162
5163 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5164 bits/shm-pad.h.
5165 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5166 (shmatt_t): Define as __syscall_ulong_t.
5167 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5168 and [__SHM_PAD_AFTER_TIME].
5169 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5170 Define shm_segsz and associated padding based on
5171 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5172 Use __syscall_ulong_t instead of unsigned long int.
5173 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5174 unsigned long int.
5175 [__USE_MISC] (struct shm_info): Likewise.
5176 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5177 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5178 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5179 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5180 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5181 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5182 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5183 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5184 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5185 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5186 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5187
5188 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5189 bits/shmlba.h.
5190 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5191 (SHMLBA): Remove macro.
5192 (__getpagesize): Remove function declaration.
5193 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5194 <bits/shmlba.h>.
5195 (SHMLBA): Remove macro.
5196 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5197 <bits/shmlba.h>.
5198 (SHMLBA): Remove macro.
5199 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5200 <bits/shmlba.h>.
5201 (SHMLBA): Remove macro.
5202 (__getpagesize): Remove function declaration.
5203 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5204 <bits/shmlba.h>.
5205 (SHMLBA): Remove macro.
5206 (__getshmlba): Remove function declaration.
5207 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5208 (SHMLBA): Remove macro.
5209 (__getpagesize): Remove function declaration.
5210 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5211 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5212 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5213 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5214 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5215 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5216 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5217 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5218 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5219 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5220
5221 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
5222
5223 [BZ #23275]
5224 * nptl/tst-mutex10.c: New File.
5225 * nptl/Makefile (tests): Add tst-mutex10.
5226 (tst-mutex10-ENV): New variable.
5227 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5228 Ensure that elision path is used if elision is available.
5229 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5230 Likewise.
5231 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5232 Likewise.
5233 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5234 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5235 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5236 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5237 Likewise.
5238 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5239 (__pthread_mutex_cond_lock_adjust): Likewise.
5240 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5241 Likewise.
5242 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5243 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5244 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5245 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5246 Add comments.
5247 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5248 Use atomic_load_relaxed and atomic_store_relaxed.
5249 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5250 Use atomic_store_relaxed.
5251
5252 2018-10-17 Andreas Schwab <schwab@suse.de>
5253
5254 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5255 * crypt/badsalttest.c (TIMEOUT): Likewise.
5256 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5257 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5258 * io/test-lfs.c (TIMEOUT): Likewise.
5259 * libio/tst-atime.c (TIMEOUT): Likewise.
5260 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5261 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5262 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5263 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5264 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5265 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5266 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5267 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5268 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5269 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5270 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5271 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5272 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5273 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5274 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5275 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5276 * nptl/tst-once2.c (TIMEOUT): Likewise.
5277 * nptl/tst-once3.c (TIMEOUT): Likewise.
5278 * nptl/tst-once4.c (TIMEOUT): Likewise.
5279 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5280 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5281 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5282 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5283 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5284 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5285 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5286 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5287 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5288 * posix/tst-chmod.c (TIMEOUT): Likewise.
5289 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5290 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5291 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5292 * posix/tst-regex2.c (TIMEOUT): Likewise.
5293 * posix/tst-waitid.c (TIMEOUT): Likewise.
5294 * rt/tst-aio.c (TIMEOUT): Likewise.
5295 * rt/tst-aio10.c (TIMEOUT): Likewise.
5296 * rt/tst-aio4.c (TIMEOUT): Likewise.
5297 * rt/tst-aio5.c (TIMEOUT): Likewise.
5298 * rt/tst-aio6.c (TIMEOUT): Likewise.
5299 * rt/tst-aio64.c (TIMEOUT): Likewise.
5300 * rt/tst-aio7.c (TIMEOUT): Likewise.
5301 * rt/tst-aio9.c (TIMEOUT): Likewise.
5302 * rt/tst-clock.c (TIMEOUT): Likewise.
5303 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5304 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5305 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5306 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5307 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5308 * rt/tst-timer4.c (TIMEOUT): Likewise.
5309 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5310 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5311 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5312 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5313 * time/tst-ftime.c (TIMEOUT): Likewise.
5314 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5315
5316 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5317
5318 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5319 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5320 for thunderX2.
5321
5322 2018-10-15 Joseph Myers <joseph@codesourcery.com>
5323
5324 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5325 bits/sem-pad.h.
5326 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5327 instead of <bits/wordsize.h>.
5328 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5329 and [__SEM_PAD_AFTER_TIME].
5330 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5331 __syscall_ulong_t instead of unsigned long int.
5332 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5333 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5334 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5335 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5336 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5337 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5338 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5339 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5340 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5341 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5342 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5343
5344 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5345
5346 regex: simplify by using intprops.h
5347 [BZ#23744]
5348 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5349 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5350 intprops.h defines them.
5351
5352 regex: __builtin_expect → __glibc_unlikely
5353 [BZ#23744]
5354 This refactoring was prompted by a problem when the regex code is
5355 used as part of Gnulib and when the builder’s compiler does not grok
5356 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5357 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5358 Although this refactoring does not fix the problem directly,
5359 we might as well have Gawk use the now-preferred glibc style for when
5360 __builtin_expect is unavailable.
5361 * posix/regex_internal.h (BE): Remove.
5362 All uses replaced by __glibc_unlikely or __glibc_likely.
5363
5364 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5365
5366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5367 bits/msq-pad.h.
5368 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5369 instead of <bits/wordsize.h>.
5370 (msgqnum_t): Define as __syscall_ulong_t.
5371 (msglen_t): Likewise.
5372 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5373 and [__MSQ_PAD_AFTER_TIME].
5374 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5375 __syscall_ulong_t instead of unsigned long int.
5376 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5377 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5378 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5379 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5380 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5381 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5382 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5383 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5384 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5385 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5386 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5387
5388 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5389
5390 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5391 (struct shmid_ds): Condition padding after time fields on
5392 [__WORDSIZE == 32].
5393 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5394 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5395 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5396
5397 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5398 (struct semid_ds): Condition padding after time fields on
5399 [__WORDSIZE == 32].
5400 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5401 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5402 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5403 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5404
5405 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5406 (struct msqid_ds): Condition padding after time fields on
5407 [__WORDSIZE == 32].
5408 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5409 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5410 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5411 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5412
5413 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5414
5415 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5416
5417 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5418
5419 * libio/tst-readline.c (TIMEOUT): Define.
5420
5421 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5422
5423 mktime fix for Gnulib + coreutils
5424 [BZ#23745]
5425 This fix affects only Gnulib. Problem discovered when
5426 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5427 * time/mktime.c:
5428 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5429 Do not define since it is not used. Defining an unused static
5430 function prompts a warning from GCC when Coreutils is configured
5431 with --enable-gcc-warnings.
5432
5433 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5434
5435 * benchtests/scripts/compare_bench.py (main): set float type on
5436 threshold argument.
5437
5438 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5439
5440 [BZ #23740]
5441 * localedata/locales/kl_GL (mon): Update, the relative case.
5442 (alt_mon): Add, fill with month names in the nominative case.
5443 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5444 (d_fmt): Set to "%b %d %Y".
5445
5446 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5447
5448 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5449 <bits/mman-linux.h>.
5450 (PROT_READ): Don't define here.
5451 (PROT_WRITE): Likewise.
5452 (PROT_EXEC): Likewise.
5453 (PROT_NONE): Likewise.
5454 (PROT_GROWSDOWN): Likewise.
5455 (PROT_GROWSUP): Likewise.
5456 (MAP_SHARED): Likewise.
5457 (MAP_PRIVATE): Likewise.
5458 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5459 [__USE_MISC] (MAP_FILE): Likewise.
5460 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5461 [__USE_MISC] (MAP_ANON): Likewise.
5462 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5463 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5464 (MCL_CURRENT): Likewise.
5465 (MCL_FUTURE): Likewise.
5466 (MCL_ONFAULT): Likewise.
5467 [__USE_MISC] (MADV_NORMAL): Likewise.
5468 [__USE_MISC] (MADV_RANDOM): Likewise.
5469 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5470 [__USE_MISC] (MADV_WILLNEED): Likewise.
5471 [__USE_MISC] (MADV_DONTNEED): Likewise.
5472 [__USE_MISC] (MADV_FREE): Likewise.
5473 [__USE_MISC] (MADV_REMOVE): Likewise.
5474 [__USE_MISC] (MADV_DONTFORK): Likewise.
5475 [__USE_MISC] (MADV_DOFORK): Likewise.
5476 [__USE_MISC] (MADV_HWPOISON): Likewise.
5477 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5478 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5479 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5480 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5481 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5482 (__MAP_ANONYMOUS): New macro.
5483 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5484 <bits/mman-linux.h> inclusion.
5485 (MAP_FIXED): Likewise.
5486 (MS_SYNC): Likewise.
5487 (MS_ASYNC): Likewise.
5488 (MS_INVALIDATE): Likewise.
5489 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5490 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5491 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5492 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5493 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5494 [__USE_MISC] (MADV_DODUMP): Likewise.
5495 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5496 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5497
5498 [BZ #23735]
5499 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5500 Define.
5501 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5502 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5503 Add test-nldbl-redirect.
5504 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5505 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5506 $(objpfx)libnldbl_nonshared.a.
5507
5508 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5509
5510 * support/support.h (support_objdir_elf_ldso): New variable.
5511 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5512 * support/Makefile (CFLAGS-support_paths.c): Add definition
5513 for OBJDIR_ELF_LDSO_PATH.
5514 * support/test-container.c (main): Search for the ld.so
5515 which is also used by the testsuite.
5516
5517 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5518
5519 [BZ #20209]
5520 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5521 should be "sap" rather than "sab".
5522 (day): Fix spelling of Sunday, should be "sapaat" rather than
5523 "sabaat".
5524
5525 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5526
5527 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5528
5529 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5530
5531 [BZ #19444]
5532 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5533 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5534 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5535
5536 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5537
5538 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5539
5540 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5541
5542 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5543 Add -mrtm.
5544 (CFLAGS-elision-unlock.c): Likewise.
5545 (CFLAGS-elision-timed.c): Likewise.
5546 (CFLAGS-elision-trylock.c): Likewise.
5547 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5548
5549 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5550
5551 [BZ #21037]
5552 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5553 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5554 new fd_to_filename interface.
5555 * libio/freopen64.c (freopen64): Likewise.
5556 * libio/tst-memstream.h: New file.
5557 * libio/tst-memstream4.c: Likewise.
5558 * libio/tst-wmemstream4.c: Likewise.
5559 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5560 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5561 and remove internal dynamic allocation.
5562
5563 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5564
5565 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5566 (MREMAP_MAYMOVE): Do not define here.
5567 [__USE_GNU] (MREMAP_FIXED): Likewise.
5568 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5569 (MREMAP_MAYMOVE): Define here instead.
5570 [__USE_GNU] (MREMAP_FIXED): Likewise.
5571 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5572 (MREMAP_MAYMOVE): Remove.
5573 [__USE_GNU] (MREMAP_FIXED): Likewise.
5574
5575 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5576
5577 * math/fromfp.h: Do not include <math_private.h>.
5578 * math/s_cacosh_template.c: Likewise.
5579 * math/s_casin_template.c: Likewise.
5580 * math/s_casinh_template.c: Likewise.
5581 * math/s_ccos_template.c: Likewise.
5582 * math/s_cproj_template.c: Likewise.
5583 * math/s_fdim_template.c: Likewise.
5584 * math/s_fmaxmag_template.c: Likewise.
5585 * math/s_fminmag_template.c: Likewise.
5586 * math/s_iseqsig_template.c: Likewise.
5587 * math/s_ldexp_template.c: Likewise.
5588 * math/s_nextdown_template.c: Likewise.
5589 * math/w_log1p_template.c: Likewise.
5590 * math/w_scalbln_template.c: Likewise.
5591 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5592 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5593 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5594 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5595 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5596 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5597 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5598 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5599 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5600 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5601 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5602 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5603 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5604 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5605 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5606 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5607 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5608 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5609 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5610 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5611 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5612 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5613 * sysdeps/ieee754/k_standardf.c: Likewise.
5614 * sysdeps/ieee754/k_standardl.c: Likewise.
5615 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5616 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5617 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5618 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5619 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5620 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5621 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5622 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5623 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5624 * sysdeps/ieee754/s_signgam.c: Likewise.
5625 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5626 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5627 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5628 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5629 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5630 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5631 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5632 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5633 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5634 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5635 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5636 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5637 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5638 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5639 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5640 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5641 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5642 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5643 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5644 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5645 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5646 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5647 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5648 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5649 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5650 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5651 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5652 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5653 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5654 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5655 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5656 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5657 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5658 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5659 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5660 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5661 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5662 <math_private.h>.
5663 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5664
5665 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5666
5667 [BZ #23716]
5668 * sysdeps/i386/dl-cet.c: Removed.
5669 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5670 prototype.
5671 (_dl_runtime_profile_shstk): Likewise.
5672 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5673 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5674
5675 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5676
5677 [BZ #23579]
5678 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5679 do_test_with_invalid_iov): New tests.
5680 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5681 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5682 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5683 errno is ENOSYS.
5684 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5685 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5686 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5687
5688 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5689
5690 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5691 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5692 (MATH_REDIRECT_BINARY_ARGS): New macro.
5693 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5694 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5695 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5696 header inclusion.
5697 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5698 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5699 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5700 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5701 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5702 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5703 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5705 Likewise.
5706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5707 Likewise.
5708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5710 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5711 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5713 Likewise.
5714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5715 Likewise.
5716 * sysdeps/generic/math_private_calls.h
5717 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5718 Do not declare and define as an inline function.
5719 * math/divtc3.c (__divtc3): Use copysign functions instead of
5720 __copysign variants.
5721 * math/multc3.c (__multc3): Likewise.
5722 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5723 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5724 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5725 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5726 Likewise.
5727 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5728 (__ieee754_yn): Likewise.
5729 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5730 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5731 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5732 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5733 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5734 (__sin): Likewise.
5735 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5736 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5737 Likewise.
5738 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5739 Likewise.
5740 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5741 Likewise.
5742 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5743 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5744 Likewise.
5745 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5746 (__ieee754_ynf): Likewise.
5747 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5748 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5749 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5750 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5751 Likewise.
5752 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5753 (__ieee754_ynl): Likewise.
5754 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5755 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5756 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5757 Likewise.
5758 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5759 (__ieee754_ynl): Likewise.
5760 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5761 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5762 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5763 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5764 Likewise.
5765 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5766 (__ieee754_ynl)
5767 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5768 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5769 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5770 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5771 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5772
5773 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5774 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5775 using MATH_REDIRECT.
5776 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5777 header inclusion.
5778 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5779 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5780 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5781 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5782 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5783 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5784 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5789 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5790 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5791 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5792 (round): Redirect to __round.
5793 (__roundl): Call round instead of __round.
5794 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5795 Remove macro.
5796 [_ARCH_PWR5X] (__roundf): Likewise.
5797 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5798 functions instead of __round variants.
5799 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5800 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5801 Likewise.
5802 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5803 Likewise.
5804 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5805 Likewise.
5806 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5807 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5808 __lroundl.
5809 (__ieee754_expl): Call roundl instead of __roundl.
5810
5811 2018-09-27 Andreas Schwab <schwab@suse.de>
5812
5813 [BZ #23717]
5814 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5815 (do_test): Make st1 static.
5816
5817 2018-09-26 Andreas Schwab <schwab@suse.de>
5818
5819 [BZ #23707]
5820 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5821 * elf/Makefile (tests): Add tst-unwind-ctor.
5822 (modules-names): Add tst-unwind-ctor-lib.
5823 ($(objpfx)tst-unwind-ctor): Depend on
5824 $(objpfx)tst-unwind-ctor-lib.so.
5825
5826 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5827
5828 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5829 file. Most contents moved from ....
5830 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5831 and include <bits/mman-map-flags-generic.h>.
5832 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5833 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5834 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5835 <bits/mman-map-flags-generic.h>.
5836 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5837 macros defined in <bits/mman-map-flags-generic.h>.
5838 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5839 <bits/mman-map-flags-generic.h>.
5840 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5841 defined in <bits/mman-map-flags-generic.h>.
5842
5843 2018-09-26 Andreas Schwab <schwab@suse.de>
5844
5845 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5846 output.
5847
5848 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5849 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5850 Fangrui Song <maskray@google.com>
5851
5852 [BZ #20480]
5853 * config.make.in (have-textrel_ifunc): New define.
5854 * configure.ac: Add check if linker supports textrel relocation with
5855 ifunc.
5856 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5857 tst-ifunc-textrel.
5858 (CFLAGS-tst-ifunc-textrel.c): New rule.
5859 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5860 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5861 * elf/tst-ifunc-textrel.c: New file.
5862
5863 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5864
5865 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5866 <bits/procfs-prregset.h>.
5867 (prgregset_t): Define using __prgregset_t.
5868 (prfpregset_t): Define using __prfpregset_t.
5869 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5870 (sysdep_headers): Add bits/procfs-prregset.h.
5871 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5872 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5873 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5874 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5875
5876 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5877 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5878 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5879 pr_uid and pr_gid.
5880 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5881 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5882 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5883 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5884 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5885 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5886 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5887 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5888 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5889 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5890 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5891 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5892 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5893 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5894 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5895 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5896 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5897 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5898 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5899 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5900 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5901 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5902 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5903 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5904
5905 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5906 AArch64 version. Include <bits/procfs.h>.
5907 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5908 (sysdep_headers): Add bits/procfs.h.
5909 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5910 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5911 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5912 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5913 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5914 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5915 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5916 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5917 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5918 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5919 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5920 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5921 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5922 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5923 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5924 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5925 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5926
5927 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5928
5929 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5930 Use libsupport.
5931
5932 2018-09-25 Arjun Shankar <arjun@redhat.com>
5933
5934 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5935 (__gconv_max_path_elem_len): Likewise.
5936 (__gconv_nmodules): Likewise.
5937 (__gconv_get_path): Likewise.
5938 (path_elem): Move to ...
5939 * iconv/gconv_conf.c: ... here.
5940 (__gconv_get_path): Mark function static.
5941 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5942 * iconv/gconv_open.c: ... here.
5943
5944 2018-09-24 Andreas Schwab <schwab@suse.de>
5945
5946 * scripts/haveversions.awk: New file.
5947 * Makerules ($(common-objpfx)Versions.def)
5948 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5949 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5950 Move rules ...
5951 * Makeconfig ($(common-objpfx)Versions.def)
5952 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5953 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5954 ... here.
5955 ($(common-objpfx)Versions.mk): New rule. Include it.
5956 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5957 Emit error if build-obsolete-nsl = yes.
5958 * manual/install.texi (Configuring and compiling): Describe
5959 --enable-obsolete-nsl as unavaiable after version 2.28.
5960 * INSTALL: Regenerate.
5961
5962 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5963
5964 * NEWS: Add note about new TLE support on powerpc64le.
5965 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5966 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5967 __ununsed1.
5968 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5969 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5970 * sysdeps/powerpc/powerpc32/sysdep.h,
5971 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5972 ABORT_TRANSACTION): Remove macros.
5973 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5974 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5975 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5977 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5978 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5979 usage.
5980 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5981
5982 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5983
5984 [BZ #10425]
5985 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5986 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5987 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5988 which is the same as in it_IT.
5989 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5990 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5991
5992 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5993
5994 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5995 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5996 using MATH_REDIRECT.
5997 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5998 header inclusion.
5999 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6000 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6001 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6002 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6003 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6004 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6009 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6010 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6011 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6012 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6013 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6014 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6015 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6016 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6017 (ceil): Redirect to __ceil.
6018 (floor): Redirect to __floor.
6019 (trunc): Redirect to __trunc.
6020 (__truncl): Call trunc instead of __trunc.
6021 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6022 Remove macro.
6023 [_ARCH_PWR5X] (__truncf): Likewise.
6024 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6025 trunc functions instead of __trunc variants.
6026 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6027 Likewise.
6028 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6029 Likewise.
6030 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6031 Likewise.
6032 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6033 Likewise.
6034
6035 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6036 [__i586__ || __pentium__].
6037 [__i486__]: Handle explicitly.
6038 (HAS_CPUID): Define to 1 if above macros are undefined.
6039 (HAS_I586): Likewise.
6040 (HAS_I686): Likewise.
6041
6042 2018-09-20 Florian Weimer <fweimer@redhat.com>
6043
6044 * misc/tst-gethostid.c: New file.
6045 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6046 (tst-gethostid): Link with -ldl.
6047
6048 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6049
6050 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6051 value from gethostbyname_r.
6052
6053 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6054
6055 * stdlib/tst-setcontext9.c (f1): Rename to...
6056 (f1a): ... this.
6057 (f1b): New function implementing lower half of f1 in alternate stack.
6058
6059 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6060
6061 Fix mktime localtime offset confusion
6062 [BZ #23603]
6063 * include/time.h (__mktime_internal): The localtime offset is now
6064 of type long int instead of time_t. This is the longstanding type
6065 in glibc, and it is more than enough to represent difference
6066 between localtime and gmtime even if it is 32 bits and time_t is
6067 64. Changing it now will let us avoid an unnecessary change when
6068 time_t is widened to 64 bits on 32-bit platforms.
6069 * time/mktime-internal.h (mktime_offset_t): Now long int.
6070
6071 Merge mktime, timegm from upstream Gnulib
6072 [BZ #23603][BZ #16346]
6073 This fixes some obscure problems with integer overflow.
6074 Although it looks scary, it is almost all a byte-for-byte copy
6075 from Gnulib, and the Gnulib code has been tested reasonably well.
6076 * include/intprops.h: New file, copied from Gnulib.
6077 * include/verify.h, time/mktime-internal.h:
6078 New tiny files, simplified from Gnulib.
6079 * time/mktime.c: Copy from Gnulib. This has the following changes:
6080 Do not include config.h if DEBUG_MKTIME is nonzero.
6081 Include stdbool.h, intprops.h, verify.h.
6082 Include string.h only if needed.
6083 Include stdlib.h on MS-Windows.
6084 Include mktime-internal.h.
6085 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6086 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6087 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6088 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6089 simplify later conditionals; default the others to zero. Use
6090 these conditionals to express only the code needed on the current
6091 platform. In uses of these conditionals, explicitly spell out how
6092 _LIBC affects things, so it’s easier to review from a glibc
6093 viewpoint.
6094 (WRAPV): Remove; no longer needed now that we have
6095 systematic overflow checking.
6096 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6097 compartmentalize tzset issues. Move system-dependent tzsettish
6098 code here from mktime.
6099 (verify): Remove; now done by verify.h. All uses changed.
6100 (long_int): Use a more-conservative definition, to avoid
6101 integer overflow.
6102 (SHR): Remove, replacing with ...
6103 (shr): New function, which means we needn’t worry about side
6104 effects in args, and conversion analysis is simpler.
6105 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6106 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6107 (time_t_avg, time_t_add_ok): Remove.
6108 (mktime_min, mktime_max): New constants.
6109 (leapyear, isdst_differ): Use bool for booleans.
6110 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6111 Use long_int, not time_t, for mktime differences.
6112 (long_int_avg): New function, replacing time_t_avg.
6113 INT_ADD_WRAPV replaces time_t_add_ok.
6114 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6115 All uses changed.
6116 (convert_time): New function.
6117 (ranged_convert): Use it.
6118 (__mktime_internal): Last arg now points to mktime_offset_t, not
6119 time_t. All uses changed. This is a no-op on glibc, where
6120 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6121 offset guess. Directly check for integer overflow instead of
6122 using a heuristic that works only 99.9...% of the time.
6123 Access *OFFSET only once, to avoid an unlikely race if the
6124 compiler delays a load and if this cascades into a signed integer
6125 overflow.
6126 (mktime): Move tzsettish code to my_tzset, and move
6127 localtime_offset to within mktime so that it doesn’t
6128 need a separate ifdef.
6129 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6130 instead of localtime.
6131 * time/timegm.c: Copy from Gnulib. This has the following changes:
6132 Include mktime-internal.h.
6133 [!_LIBC]: Include config.h and time.h. Do not include
6134 timegm.h or time_r.h. Make __mktime_internal a macro,
6135 and include mktime-internal.h to get its declaration.
6136 (timegm): Temporary is now mktime_offset_t, not time_t.
6137 This affects only Gnulib.
6138
6139 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6140
6141 [BZ #23637]
6142 * string/test-strstr.c (pr23637): New function.
6143 (test_main): Add tests with longer needles.
6144 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6145 * string/strstr.c (AVAILABLE): Likewise.
6146
6147 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6148
6149 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6150
6151 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6152
6153 * NEWS: Mention pow improvements.
6154 * math/Makefile (type-double-routines): Add e_pow_log_data.
6155 * sysdeps/generic/math_private.h (__exp1): Remove.
6156 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6157 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6158 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6159 contraction.
6160 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6161 (exp_inline): Remove.
6162 (__ieee754_exp): Only single double input is handled.
6163 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6164 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6165 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6166 (__pow_log_data): Define.
6167 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6168 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6169 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6170 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6171 contraction.
6172 (CFLAGS-e_pow-fma4.c): Likewise.
6173
6174 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6175
6176 Simplify tzfile fstat failure code
6177 [BZ #21716]
6178 * time/tzfile.c (__tzfile_read): Simplify slightly.
6179
6180 Fix tzfile low-memory assertion failure
6181 [BZ #21716]
6182 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6183 when registering time zone abbreviations.
6184
6185 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6186
6187 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6188 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6189 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6190 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6191 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6192 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6193 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6194 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6195 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6196
6197 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6198 __ceil.
6199 (__ceill): Call ceil instead of __ceil.
6200 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6201 __floor.
6202 (__floorl): Call floor instead of __floor.
6203
6204 2018-09-17 Joseph Myers <joseph@codesourcery.com>
6205
6206 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6207 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6208 using MATH_REDIRECT.
6209 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6210 header inclusion.
6211 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6212 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6213 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6214 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6215 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6216 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6217 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6218 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6223 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6224 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6227 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6228 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6229 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6230 Remove macro.
6231 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6232 functions instead of __ceil variants.
6233 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6234 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6235 Likewise.
6236 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6237 Likewise.
6238 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6239 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6240 Likewise.
6241 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6242 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6243
6244 [BZ #21286]
6245 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6246 constant.
6247 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6248 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6249 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6250 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6251 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6252 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6253 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6254 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6255 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6256 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6257 (ILL_BADIADDR): Remove constant.
6258 (TRAP_BRANCH): Likewise.
6259 (TRAP_HWBKPT): Likewise.
6260
6261 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6262
6263 [BZ #23656]
6264 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6265 Remove [_MIPS_SIM = _ABIN32] conditional case.
6266 (struct elf_prpsinfo): Likewise.
6267
6268 [BZ #23649]
6269 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6270 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6271 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6272 Likewise.
6273 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6274 elf_prpsinfo): Likewise.
6275 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6276 elf_prpsinfo): Likewise.
6277 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6278 Likewise.
6279
6280 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6281 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6282 using MATH_REDIRECT.
6283 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6284 header inclusion.
6285 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6286 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6287 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6288 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6289 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6290 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6291 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6292 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6293 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6294 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6295 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6296 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6297 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6298 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6299 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6300 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6301 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6302 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6303 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6308 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6309 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6310 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6311 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6312 __rint variants.
6313 * math/e_scalbf.c (invalid_fn): Likewise.
6314 * math/e_scalbl.c (invalid_fn): Likewise.
6315 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6316 Likewise.
6317 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6318 Likewise.
6319 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6320 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6321 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6322 Likewise.
6323 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6324 Likewise.
6325 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6326 Likewise.
6327 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6328 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6329
6330 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6331 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6332 New macro.
6333 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6334 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6335 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6336 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6337 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6338 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6339 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6340 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6341 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6342 && !NO_MATH_REDIRECT] (floor): Likewise.
6343 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6344 header inclusion.
6345 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6346 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6347 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6348 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6349 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6352 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6357 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6358 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6359 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6360 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6361 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6362 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6363 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6364 Remove macro.
6365 [_ARCH_PWR5X] (__floorf): Likewise.
6366 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6367 inline function.
6368 [__SSE4_1__] (__floorf): Likewise.
6369 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6370 instead of __floor variants.
6371 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6372 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6373 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6374 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6375 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6376 * math/w_tgamma_compat.c (__tgamma): Likewise.
6377 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6378 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6379 * math/w_tgammal_compat.c (__tgammal): Likewise.
6380 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6381 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6382 Likewise.
6383 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6384 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6385 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6386 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6387 Likewise.
6388 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6389 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6390 Likewise.
6391 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6392 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6393 Likewise.
6394 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6395 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6396 Likewise.
6397 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6398 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6399 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6400 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6401 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6402 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6403
6404 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6405
6406 * elf/Makefile (modules-names-tests): New variable.
6407
6408 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6409
6410 * NEWS: Mention log2 improvements.
6411 * math/Makefile (type-double-routines): Add e_log2_data.
6412 * sysdeps/i386/fpu/e_log2_data.c: New file.
6413 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6414 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6415 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6416 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6417 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6418 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6419
6420 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6421
6422 * NEWS: Mention log improvement.
6423 * math/Makefile (type-double-routines): Add e_log_data.
6424 * sysdeps/i386/fpu/e_log_data.c: New file.
6425 * sysdeps/ia64/fpu/e_log_data.c: New file.
6426 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6427 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6428 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6429 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6430 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6431 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6432
6433 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6434 Xuepeng Guo <xuepeng.guo@intel.com>
6435
6436 [BZ #23606]
6437 * sysdeps/i386/start.S: Include <sysdep.h>
6438 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6439 enabled. Add cfi_undefined (eip).
6440
6441 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6442
6443 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6444 (MOVQ): Likewise.
6445 (EXTRACT_WORDS64): Likewise.
6446 (INSERT_WORDS64): Likewise.
6447 (GET_FLOAT_WORD): Likewise.
6448 (SET_FLOAT_WORD): Likewise.
6449
6450 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6451 argument.
6452 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6453 build, but not for second build if --full-gcc. Use
6454 --enable-languages=all for second build if --full-gcc.
6455 (get_parser): Add --full-gcc option.
6456 (main): Update call to Context.
6457
6458 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6459
6460 [BZ #10797]
6461 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6462 Single Quotation Mark).
6463 (thousands_sep): Likewise.
6464 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6465 * localedata/locales/it_IT (thousands_sep): Use ".".
6466 (grouping): Use "3;3".
6467
6468 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6469
6470 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6471 x86_64 and i686 configs using --enable-obsolete-rpc
6472 --enable-obsolete-nsl.
6473
6474 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6475
6476 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6477
6478 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6479
6480 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6481 Increment size of new_argv by one.
6482
6483 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6484
6485 [BZ #17426]
6486 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6487 * localedata/locales/ar_IN (d_fmt): Likewise.
6488 * localedata/locales/bhb_IN (d_fmt): Likewise.
6489 * localedata/locales/bho_IN (d_fmt): Likewise.
6490 * localedata/locales/bn_BD (d_fmt): Likewise.
6491 * localedata/locales/bn_IN (d_fmt): Likewise.
6492 * localedata/locales/doi_IN (d_fmt): Likewise.
6493 * localedata/locales/gu_IN (d_fmt): Likewise.
6494 * localedata/locales/hi_IN (d_fmt): Likewise.
6495 * localedata/locales/hne_IN (d_fmt): Likewise.
6496 * localedata/locales/kn_IN (d_fmt): Likewise.
6497 * localedata/locales/mag_IN (d_fmt): Likewise.
6498 * localedata/locales/mai_IN (d_fmt): Likewise.
6499 * localedata/locales/mjw_IN (d_fmt): Likewise.
6500 * localedata/locales/ml_IN (d_fmt): Likewise.
6501 * localedata/locales/mni_IN (d_fmt): Likewise.
6502 * localedata/locales/mr_IN (d_fmt): Likewise.
6503 * localedata/locales/pa_IN (d_fmt): Likewise.
6504 * localedata/locales/raj_IN (d_fmt): Likewise.
6505 * localedata/locales/sat_IN (d_fmt): Likewise.
6506 * localedata/locales/sd_IN (d_fmt): Likewise.
6507 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6508 * localedata/locales/ta_IN (d_fmt): Likewise.
6509 * localedata/locales/ta_LK (d_fmt): Likewise.
6510 * localedata/locales/tcy_IN (d_fmt): Likewise.
6511 * localedata/locales/ur_IN (d_fmt): Likewise.
6512
6513 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6514 * localedata/locales/ks_IN (d_fmt): Likewise.
6515 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6516
6517 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6518 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6519 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6520 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6521
6522 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6523
6524 * NEWS: Mention exp and exp2 improvements.
6525 * math/Makefile (libm-support): Remove t_exp.
6526 (type-double-routines): Add math_err and e_exp_data.
6527 * sysdeps/aarch64/libm-test-ulps: Update.
6528 * sysdeps/arm/libm-test-ulps: Update.
6529 * sysdeps/i386/fpu/e_exp_data.c: New file.
6530 * sysdeps/i386/fpu/math_err.c: New file.
6531 * sysdeps/i386/fpu/t_exp.c: Remove.
6532 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6533 * sysdeps/ia64/fpu/math_err.c: New file.
6534 * sysdeps/ia64/fpu/t_exp.c: Remove.
6535 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6536 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6537 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6538 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6539 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6540 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6541 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6542 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6543 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6544 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6545 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6546 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6547 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6548 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6551
6552 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6553
6554 * sysdeps/alpha/fpu/math_private.h: Remove.
6555
6556 * sysdeps/generic/math_private.h
6557 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6558 Move this inline function ....
6559 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6560 * include/math.h [!_ISOMAC]: To here....
6561
6562 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6563
6564 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6565 code ....
6566 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6567 * include/fenv.h [!_ISOMAC]: ... to here.
6568 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6569 (feraiseexcept): Likewise.
6570 * math/fromfp.h: Do not include <fenv_private.h>.
6571 * math/s_cexp_template.c: Likewise.
6572 * math/s_csin_template.c: Likewise.
6573 * math/s_csinh_template.c: Likewise.
6574 * math/s_ctan_template.c: Likewise.
6575 * math/s_ctanh_template.c: Likewise.
6576 * math/s_iseqsig_template.c: Likewise.
6577 * math/w_acos_compat.c: Likewise.
6578 * math/w_acosf_compat.c: Likewise.
6579 * math/w_acosl_compat.c: Likewise.
6580 * math/w_asin_compat.c: Likewise.
6581 * math/w_asinf_compat.c: Likewise.
6582 * math/w_asinl_compat.c: Likewise.
6583 * math/w_j0_compat.c: Likewise.
6584 * math/w_j0f_compat.c: Likewise.
6585 * math/w_j0l_compat.c: Likewise.
6586 * math/w_j1_compat.c: Likewise.
6587 * math/w_j1f_compat.c: Likewise.
6588 * math/w_j1l_compat.c: Likewise.
6589 * math/w_jn_compat.c: Likewise.
6590 * math/w_jnf_compat.c: Likewise.
6591 * math/w_log10_compat.c: Likewise.
6592 * math/w_log10f_compat.c: Likewise.
6593 * math/w_log10l_compat.c: Likewise.
6594 * math/w_log2_compat.c: Likewise.
6595 * math/w_log2f_compat.c: Likewise.
6596 * math/w_log2l_compat.c: Likewise.
6597 * math/w_log_compat.c: Likewise.
6598 * math/w_logf_compat.c: Likewise.
6599 * math/w_logl_compat.c: Likewise.
6600 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6601 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6602 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6603 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6604 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6605 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6606 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6607 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6608 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6609 * sysdeps/ieee754/k_standardl.c: Likewise.
6610 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6611 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6612 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6613 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6614 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6615 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6617 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6618 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6619 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6620 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6621 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6622 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6623 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6624 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6625 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6626 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6627 * math/w_ilogb_template.c: Include <fenv.h> instead of
6628 <fenv_private.h>.
6629 * math/w_llogb_template.c: Likewise.
6630 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6631 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6632
6633 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6634
6635 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6636 * math/fromfp.h: Include <fenv_private.h>.
6637 * math/math-narrow.h: Likewise.
6638 * math/s_cexp_template.c: Likewise.
6639 * math/s_csin_template.c: Likewise.
6640 * math/s_csinh_template.c: Likewise.
6641 * math/s_ctan_template.c: Likewise.
6642 * math/s_ctanh_template.c: Likewise.
6643 * math/s_iseqsig_template.c: Likewise.
6644 * math/w_acos_compat.c: Likewise.
6645 * math/w_acosf_compat.c: Likewise.
6646 * math/w_acosl_compat.c: Likewise.
6647 * math/w_asin_compat.c: Likewise.
6648 * math/w_asinf_compat.c: Likewise.
6649 * math/w_asinl_compat.c: Likewise.
6650 * math/w_ilogb_template.c: Likewise.
6651 * math/w_j0_compat.c: Likewise.
6652 * math/w_j0f_compat.c: Likewise.
6653 * math/w_j0l_compat.c: Likewise.
6654 * math/w_j1_compat.c: Likewise.
6655 * math/w_j1f_compat.c: Likewise.
6656 * math/w_j1l_compat.c: Likewise.
6657 * math/w_jn_compat.c: Likewise.
6658 * math/w_jnf_compat.c: Likewise.
6659 * math/w_llogb_template.c: Likewise.
6660 * math/w_log10_compat.c: Likewise.
6661 * math/w_log10f_compat.c: Likewise.
6662 * math/w_log10l_compat.c: Likewise.
6663 * math/w_log2_compat.c: Likewise.
6664 * math/w_log2f_compat.c: Likewise.
6665 * math/w_log2l_compat.c: Likewise.
6666 * math/w_log_compat.c: Likewise.
6667 * math/w_logf_compat.c: Likewise.
6668 * math/w_logl_compat.c: Likewise.
6669 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6670 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6671 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6672 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6673 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6674 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6675 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6676 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6677 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6678 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6679 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6680 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6681 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6682 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6683 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6684 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6685 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6686 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6687 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6688 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6689 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6690 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6691 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6692 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6693 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6694 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6695 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6696 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6697 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6698 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6699 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6700 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6701 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6702 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6703 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6704 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6705 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6706 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6707 * sysdeps/ieee754/k_standardl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6716 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6721 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6727 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6733 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6734 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6738 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6739 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6744 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6745 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6746 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6747 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6748 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6749 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6750 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6751 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6752 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6753 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6754 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6755 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6756 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6757 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6758 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6759 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6760 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6761 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6762 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6763 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6764 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6765 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6766 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6767 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6768 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6769 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6770 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6771 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6772 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6773 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6774 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6775 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6776 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6777 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6778 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6779
6780 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6781
6782 [BZ #20271]
6783 * include/stdio.h (__libc_fatal): Mention newline in comment.
6784 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6785 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6786 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6787 * nss/nsswitch.c (__nss_next2): Likewise.
6788 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6789 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6790 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6791 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6792 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6793 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6794 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6795 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6796 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6797 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6798 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6799 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6800 (__netlink_assert_response): Likewise.
6801
6802 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6803
6804 * conform/glibcconform.py: New file.
6805 * conform/list-header-symbols.py: Likewise.
6806 * conform/list-header-symbols.pl: Remove.
6807 * conform/Makefile (tests-special): Only add linknamespace tests
6808 if [PYTHON].
6809 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6810
6811 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6812
6813 [BZ #23597]
6814 * support/Makefile (libsupport-routines): Add
6815 support_copy_file_range and xcopy_file_range.
6816 * support/support.h: Include <sys/types.h>.
6817 (support_copy_file_range): New prototype.
6818 * support/support_copy_file_range.c: New file. Copied and
6819 modified from io/copy_file_range-compat.c.
6820 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6821 instead of copy_file_range.
6822 * support/xcopy_file_range.c: New file.
6823 * support/xunistd.h (xcopy_file_range): New prototype.
6824
6825 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6826
6827 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6828 xpthread_create and xpthread_join.
6829
6830 2018-08-30 Florian Weimer <fweimer@redhat.com>
6831
6832 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6833
6834 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6835
6836 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6837 if malloc fails.
6838
6839 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6840
6841 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6842 and minus_oflow as non-finite.
6843
6844 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6845
6846 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6847 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6848 moved to fenv_private.h except for ...
6849 (TOINT_INTRINSICS): Kept in math_private.h.
6850 (roundtoint): Likewise.
6851 (converttoint): Likewise.
6852 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6853 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6854 * sysdeps/arm/math_private.h: Remove.
6855 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6856 ....
6857 * sysdeps/generic/math_private.h: ... this file. Include
6858 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6859 Include <fenv_private.h>. Remove functions and macros moved to
6860 fenv_private.h.
6861 * sysdeps/i386/fpu/math_private.h: Remove.
6862 * sysdeps/mips/math_private.h: Move to ....
6863 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6864 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6865 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6866 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6867 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6868 * sysdeps/powerpc/fpu/math_private.h: Do not include
6869 <fenv_private.h>.
6870 * sysdeps/riscv/rvf/math_private.h: Move to ....
6871 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6872 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6873 <fenv_private.h>.
6874 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6875 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6876 * sysdeps/sparc/fpu/math_private.h: Remove.
6877 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6878 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6879 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6880 <fenv_private.h>.
6881 * sysdeps/x86_64/fpu/math_private.h: Do not include
6882 <sysdeps/i386/fpu/fenv_private.h>.
6883
6884 2018-08-28 Florian Weimer <fweimer@redhat.com>
6885
6886 [BZ #23578]
6887 * posix/tst-regcomp-truncated.c: New file.
6888 * posix/Makefile (tests): Add it.
6889 (tst-regcomp-truncated.out): Depend on generated locales.
6890
6891 2018-08-28 Florian Weimer <fweimer@redhat.com>
6892
6893 * support/test-container.c (main): Treat unshare failure with
6894 EPERM as an unsupported test.
6895
6896 2018-08-28 Florian Weimer <fweimer@redhat.com>
6897
6898 [BZ #23520]
6899 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6900 * nscd/netgroupcache.c
6901 (addgetnetgrentX): Add tofreep parameter. Do not free
6902 heap-allocated buffer.
6903 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6904 (addgetnetgrentX_ignore): New function.
6905 (addgetnetgrent): Call it.
6906 (readdgetnetgrent): Likewise.
6907
6908 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6909
6910 * string/memmem.c: Use memcmp for first match.
6911
6912 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6913
6914 [BZ #17426]
6915 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6916
6917 2018-08-27 DJ Delorie <dj@redhat.com>
6918
6919 * support/Makefile (others): Don't list programs explicitly as a
6920 dependency of "others".
6921
6922 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6923
6924 * sysdeps/generic/math-tests-trap-force.h: New file.
6925 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6926 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6927 * sysdeps/powerpc/math-tests.h: Remove file.
6928 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6929
6930 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6931 Torvald Riegel <triegel@redhat.com>
6932
6933 [BZ #23538]
6934 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6935 Update r to include the set wake-request flag if waiters are
6936 remaining after spinning.
6937
6938 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6939
6940 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6941
6942 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6943
6944 [BZ #23578]
6945 regex: fix uninitialized memory access
6946 I introduced this bug into gnulib in commit
6947 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6948 eventually it was merged into glibc. The bug was found by
6949 project-repo <bugs@feusi.co> and reported here:
6950 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6951 Diagnosis and draft fix reported by Assaf Gordon here:
6952 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6953 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6954 * posix/regex_internal.c (build_wcs_upper_buffer):
6955 Fix bug when mbrtowc returns 0.
6956
6957 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6958
6959 * po/be.po: Update translation.
6960
6961 2018-08-24 DJ Delorie <dj@delorie.com>
6962
6963 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6964 $(libunwind).
6965
6966 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6967
6968 [BZ #23400]
6969 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6970 create temporary files in source tree.
6971
6972 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6973
6974 * sysdeps/generic/math-tests-trap.h: New file.
6975 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6976 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6977 * sysdeps/aarch64/math-tests.h: Remove file.
6978 * sysdeps/arm/math-tests.h: Likewise.
6979 * sysdeps/riscv/math-tests.h: Likewise.
6980 * sysdeps/aarch64/math-tests-trap.h: New file.
6981 * sysdeps/arm/math-tests-trap.h: Likewise.
6982 * sysdeps/riscv/math-tests-trap.h: Likewise.
6983
6984 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6985
6986 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6987 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6988 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6989 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6990 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6991 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6992 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6993 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6994 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6995 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6996 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6997 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6998 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6999 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7000 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7001 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7002 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7003 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7004
7005 2018-08-23 Joseph Myers <joseph@codesourcery.com>
7006
7007 * sysdeps/generic/math-tests-exceptions.h: New file.
7008 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7009 (EXCEPTION_TESTS_float): Do not define here.
7010 (EXCEPTION_TESTS_double): Likewise.
7011 (EXCEPTION_TESTS_long_double): Likewise.
7012 (EXCEPTION_TESTS_float128): Likewise.
7013 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7014 Likewise.
7015 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7016 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7017 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7018 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7019 * sysdeps/mips/math-tests.h: Likewise.
7020 * sysdeps/nios2/math-tests.h: Likewise.
7021 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7022 (EXCEPTION_TESTS_float): Do not define here.
7023 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7024 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7025 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7026
7027 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7028
7029 * NEWS: Move optimized sinf entry to 2.29.
7030
7031 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7032
7033 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7034
7035 2018-08-22 DJ Delorie <dj@redhat.com>
7036
7037 * Makefile (testroot.pristine): New rules to initialize the
7038 test-in-container "testroot".
7039 * Makerules (all-testsuite): Add tests-container.
7040 * Rules (tests-expected): Add tests-container.
7041 (binaries-all-tests): Likewise.
7042 (tests-container): New, run these tests in the testroot container.
7043 * support/Makefile (others): Add *-container, support_paths.c,
7044 xmkdirp, and links-dso-program.
7045 * support/links-dso-program-c.c: New.
7046 * support/links-dso-program.cc: New.
7047 * support/test-container.c: New.
7048 * support/shell-container.c: New.
7049 * support/echo-container.c: New.
7050 * support/true-container.c: New.
7051 * support/xmkdirp.c: New.
7052 * support/xsymlink.c: New.
7053 * support/support_paths.c: New.
7054 * support/support.h: Add support paths prototypes.
7055 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7056
7057 * nss/tst-nss-test3.c: Convert to test-in-container.
7058 * nss/tst-nss-test3.root/: New.
7059
7060 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7061
7062 regex: port Gnulib code to z/OS POSIX environment
7063 Problem reported by Arnold Robbins in:
7064 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7065 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7066 Undef.
7067
7068 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7069
7070 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7071 (ROUNDING_TESTS_double): Remove.
7072 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7073 (ROUNDING_TESTS_double): Remove.
7074 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7075 (ROUNDING_TESTS_double): Remove.
7076 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7077 (ROUNDING_TESTS_float): Remove.
7078 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7079 (ROUNDING_TESTS_float): Remove.
7080 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7081 (ROUNDING_TESTS_float): Remove.
7082 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7083 !TEST_MATHVEC here.
7084 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7085 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7086
7087 * sysdeps/generic/math-tests-rounding.h: New file.
7088 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7089 (ROUNDING_TESTS_float): Do not define here.
7090 (ROUNDING_TESTS_double): Likewise.
7091 (ROUNDING_TESTS_long_double): Likewise.
7092 (ROUNDING_TESTS_float128): Likewise.
7093 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7094 (ROUNDING_TESTS_double): Undefine before defining.
7095 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7096 (ROUNDING_TESTS_double): Undefine before defining.
7097 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7098 (ROUNDING_TESTS_double): Undefine before defining.
7099 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7100 (ROUNDING_TESTS_float): Undefine before defining.
7101 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7102 (ROUNDING_TESTS_float): Undefine before defining.
7103 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7104 (ROUNDING_TESTS_float): Undefine before defining.
7105 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7106 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7107 not define here.
7108 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7109 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7110 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7111 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7112 (ROUNDING_TESTS_float): Do not define here.
7113 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7114 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7115 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7116 (ROUNDING_TESTS_float): Likewise.
7117 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7118 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7119 * sysdeps/mips/math-tests.h [__mips_soft_float]
7120 (ROUNDING_TESTS_float): Likewise.
7121 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7122 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7123 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7124 (ROUNDING_TESTS_double): Likewise.
7125 (ROUNDING_TESTS_long_double): Likewise.
7126
7127 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
7128
7129 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7130 (PF_XDP): New macro.
7131 (AF_XDP): New macro.
7132 (SOL_XDP): New macro.
7133
7134 2018-08-21 Joseph Myers <joseph@codesourcery.com>
7135
7136 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7137 (TCP_INQ): Likewise.
7138 (TCP_CM_INQ): Likewise.
7139 (TCP_REPAIR_ON): Likewise.
7140 (TCP_REPAIR_OFF): Likewise.
7141 (TCP_REPAIR_OFF_NO_WP): Likewise.
7142 (struct tcp_zerocopy_receive): New type.
7143
7144 2018-08-21 Florian Weimer <fweimer@redhat.com>
7145
7146 * support/support.h (support_descriptor_supports_holes): Declare.
7147 * support/Makefile (libsupport-routines): Add
7148 support_descriptor_supports_holes.
7149 * support/support_descriptor_supports_holes.c: New file.
7150 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7151 and stop testing if holes are not supported.
7152 * io/test-lfs.c (do_prepare): Likewise.
7153 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7154 Likewise.
7155 * timezone/tst-tzset.c (create_tz_file): Likewise.
7156 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7157 variable.
7158 (do_prepare): Set it.
7159 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7160
7161 2018-08-21 Florian Weimer <fweimer@redhat.com>
7162
7163 [BZ #17248]
7164 * Makeconfig (+cflags): Do not sort (and deduplicate).
7165
7166 2018-08-21 Florian Weimer <fweimer@redhat.com>
7167
7168 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7169 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7170
7171 2018-08-20 Florian Weimer <fweimer@redhat.com>
7172
7173 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7174 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7175
7176 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7177
7178 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7179 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7180 and ssi_arch members.
7181
7182 * elf/elf.c (NT_VMCOREDD): New macro.
7183 (AT_MINSIGSTKSZ): Likewise.
7184
7185 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7186
7187 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7188 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7189 s_cosf-ppc64 and s_cosf-power8.
7190 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7191 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7192 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7193 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7200 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7201 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7202
7203 2018-08-17 Florian Weimer <fweimer@redhat.com>
7204
7205 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7206
7207 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7208
7209 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7210
7211 2018-08-16 Florian Weimer <fweimer@redhat.com>
7212
7213 * configure.ac: Add --with-nonshared-cflags option.
7214 * config.make.in (extra-nonshared-cflags): Set variable.
7215 * Makeconfig (CFLAGS-.oS): Use it.
7216 * manual/install.texi (Configuring and compiling): Document
7217 --with-nonshared-cflags.
7218 * configure: Regenerate.
7219 * INSTALL: Likewise.
7220
7221 2018-08-16 Florian Weimer <fweimer@redhat.com>
7222
7223 * Makeconfig (ASFLAGS): Always append required assembler flags.
7224
7225 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
7226
7227 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7228 (malloc_consolidate): Likewise.
7229
7230 2018-08-16 Pochang Chen <johnchen902@gmail.com>
7231
7232 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7233
7234 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7235
7236 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7237 every strlen call.
7238
7239 * benchtests/bench-strlen.c: Print performance numbers in json.
7240
7241 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7242
7243 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7244 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7245 only for little endian.
7246 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7247 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7248 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7249 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7250 Add check for little endian.
7251 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7252 (__strcmp_power9): Add check for little endian.
7253 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7254 Add check for little endian.
7255 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7256 (__strncmp_power9): Add check for little endian.
7257 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7258 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7259 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7260 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7261 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7262
7263 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7264
7265 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7266 [!STRLEN](STRLEN): Set to __strlen.
7267 * sysdeps/aarch64/multiarch/strlen.c: New file.
7268 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7269 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7270 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7271 (__libc_ifunc_impl_list): Add strlen.
7272 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7273 strlen_generic and strlen_asimd.
7274
7275 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7276
7277 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7278 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7279 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7280
7281 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7282
7283 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7284
7285 2018-08-14 Florian Weimer <fweimer@redhat.com>
7286
7287 [BZ #23519]
7288 * include/stdio.h (__vfxprintf): Declare.
7289 * stdio-common/fxprintf.c (__vfxprintf): New function.
7290 (__fxprintf): Call it.
7291 * misc/err.c (convert_and_print): Remove function.
7292 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7293 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7294 * misc/Makefile (tests): Add tst-warn-wide.
7295 * misc/tst-warn-wide.c: New file.
7296
7297 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7298 Szabolcs Nagy <szabolcs.nagy@arm.com>
7299
7300 * NEWS: Mention sinf, cosf, sincosf.
7301 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7302 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7303 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7304 constants rather than including generic sincosf.h.
7305 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7306 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7307 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7308 (reduced_cos): Remove.
7309 (sinf_poly): New function.
7310 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7311
7312 2018-08-14 Florian Weimer <fweimer@redhat.com>
7313
7314 [BZ #23521]
7315 [BZ #23522]
7316 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7317 processing, bail out if no room, and close the stream before
7318 returning ERANGE.
7319 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7320 (tst-nss-files-alias-leak): Link with libdl.
7321 (tst-nss-files-alias-leak.out): Depend on nss_files.
7322
7323 * nss/tst-nss-files-alias-leak.c: New file.
7324
7325 2018-08-14 Florian Weimer <fweimer@redhat.com>
7326
7327 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7328 server_user, stat_user.
7329
7330 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7331
7332 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7333 version to 4.18.
7334 (io_pgetevents): New syscall.
7335 (rseq): Likewise.
7336
7337 * manual/install.texi (Configuring and compiling): Do not list
7338 tools used for testing pretty printers here.
7339 (Tools for Compilation): List Python, PExpect and GDB here.
7340 Update descriptions of uses of Perl and Python.
7341 * INSTALL: Regenerate.
7342
7343 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7344 version to 4.18.
7345
7346 2018-08-13 Florian Weimer <fweimer@redhat.com>
7347
7348 * misc/error.c (error): Add missing va_end call.
7349 (error_at_line): Likewise.
7350
7351 2018-08-13 Florian Weimer <fweimer@redhat.com>
7352
7353 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7354
7355 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7356
7357 * benchtests/scripts/benchout.schema.json (properties): Add
7358 new properties.
7359
7360 * benchtests/bench-skeleton.c (main): Add duration and
7361 iterations attributes.
7362
7363 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7364
7365 regex: Gnulib unibyte RRI uses bytes not chars
7366 Adjust the non-glibc code to agree with what Gawk needs for
7367 rational range interpretation (RRI) for regular expression ranges.
7368 In unibyte locales, Gawk wants ranges to use the underlying byte
7369 rather than the character code point. This change does not affect
7370 glibc proper.
7371 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7372 In unibyte locales, use the byte value rather than
7373 running it through btowc.
7374
7375 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7376
7377 * sysdeps/generic/math-tests-snan.h: New file.
7378 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7379 (SNAN_TESTS_float): Do not define here.
7380 (SNAN_TESTS_double): Likewise.
7381 (SNAN_TESTS_long_double): Likewise.
7382 (SNAN_TESTS_float128): Likewise.
7383 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7384 * sysdeps/i386/fpu/math-tests.h: Remove file.
7385 * sysdeps/ia64/math-tests-snan.h: New file.
7386 * sysdeps/ia64/math-tests.h: Remove file.
7387 * sysdeps/x86/math-tests.h: Likewise.
7388 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7389
7390 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7391 Szabolcs Nagy <szabolcs.nagy@arm.com>
7392
7393 * math/Makefile: Add s_sincosf_data.c.
7394 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7395 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7396 (sincosf_poly): Likewise.
7397 (reduce_small): Likewise.
7398 (reduce_large): Likewise.
7399 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7400 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7401 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7402 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7403
7404 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7405 Szabolcs Nagy <szabolcs.nagy@arm.com>
7406
7407 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7408 (converttoint): Use lround.
7409 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7410 document the semantics when TOINT_INTRINSICS is set.
7411 (converttoint): Likewise.
7412 (TOINT_RINT): Remove.
7413 (TOINT_SHIFT): Remove.
7414 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7415 path.
7416
7417 2018-08-10 Florian Weimer <fweimer@redhat.com>
7418
7419 [BZ #23497]
7420 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7421 function.
7422 (__old_getdents64): Use getdents64. Convert entries without
7423 moving them.
7424 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7425 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7426 tst-readdir64-compat.
7427
7428 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7429
7430 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7431 Fix unwind.
7432
7433 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7434
7435 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7436 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7437 code to s390x-mcount.h and #include it.
7438 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7439 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7440 (__fentry__): Add.
7441
7442 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7443
7444 * stdlib/Versions: Remove __fentry__.
7445 * sysdeps/i386/Versions: Add __fentry__.
7446 * sysdeps/x86_64/Versions: Add __fentry__.
7447
7448 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7449
7450 * sysdeps/s390/Makefile: Register the new tests.
7451 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7452 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7453 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7454 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7455 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7456 * sysdeps/s390/tst-dl-runtime.c: New file.
7457
7458 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7459
7460 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7461 Do not clobber R0.
7462
7463 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7464
7465 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7466 Do not clobber R0.
7467
7468 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7469
7470 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7471 Do not clobber R0.
7472
7473 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7474
7475 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7476 Do not clobber R0.
7477
7478 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7479
7480 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7481 Use symbolic offsets for stack variables.
7482
7483 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7484
7485 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7486 Use symbolic offsets for stack variables.
7487
7488 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7489
7490 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7491 Use symbolic offsets for stack variables.
7492
7493 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7494
7495 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7496 Use symbolic offsets for stack variables.
7497
7498 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7499
7500 * math/gen-libm-test.py: New file.
7501 * math/gen-libm-test.pl: Remove.
7502 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7503 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7504 gen-libm-test.pl.
7505 ($(libm-test-c-noauto-obj)): Likewise.
7506 ($(libm-test-c-auto-obj)): Likewise.
7507 ($(libm-test-c-narrow-obj)): Likewise.
7508 (regen-ulps): Likewise.
7509 * math/README.libm-test: Update references to gen-libm-test.pl.
7510 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7511 referencing gen-libm-test.pl.
7512 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7513 * math/libm-test-support.c: Likewise.
7514 * math/libm-test-support.h: Likewise.
7515 * sysdeps/generic/libm-test-ulps: Likewise.
7516
7517 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7518
7519 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7520 Fix value.
7521
7522 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7523
7524 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7525 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7526
7527 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7528
7529 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7530 symbols.
7531 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7532 __pthread_setspecific): Add hidden proto.
7533 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7534 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7535
7536 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7537
7538 * benchtests/bench-string.h (buf1_size, buf2_size): New
7539 variables.
7540 (init_sizes): New function.
7541 (test_init): Use it.
7542 (alloc_buf, exit_error): New functions.
7543 (alloc_bufs): Use ALLOC_BUF.
7544 (realloc_bufs): Remove.
7545 * benchtests/bench-memcmp.c (do_test): Adjust.
7546 * benchtests/bench-memset-large.c (do_test): Likewise.
7547 * benchtests/bench-memset-walk.c (do_test): Likewise.
7548 * benchtests/bench-memset.c (do_test): Likewise.
7549 * benchtests/bench-strncmp.c (do_test): Likewise.
7550
7551 2018-08-06 Andreas Schwab <schwab@suse.de>
7552
7553 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7554 of CONST_THREAD_AREA.
7555
7556 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7557
7558 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7559 (STATE_SAVE_MASK): Likewise.
7560 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7561 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7562 (STATE_SAVE_MASK): Likewise.
7563 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7564 instead of <cpu-features.h>.
7565
7566 2018-08-03 DJ Delorie <dj@redhat.com>
7567
7568 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7569 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7570
7571 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7572
7573 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7574
7575 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7576 after TEST_* calls.
7577 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7578 * math/libm-test-logb.inc (logb_test_data): Likewise.
7579
7580 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7581
7582 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7583 * string/strstr.c (AVAILABLE): Likewise.
7584
7585 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7586
7587 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7588 <init-arch.h>.
7589 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7590 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7591 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7592
7593 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7594
7595 * po/be.po: Update translation.
7596
7597 * po/be.po: Update translation.
7598
7599 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7600
7601 * sysdeps/x86/cpu-features-offsets.sym
7602 (rtld_global_ro_offsetof): Removed.
7603 (CPU_FEATURES_SIZE): Likewise.
7604 (CPUID_OFFSET): Likewise.
7605 (CPUID_SIZE): Likewise.
7606 (CPUID_EAX_OFFSET): Likewise.
7607 (CPUID_EBX_OFFSET): Likewise.
7608 (CPUID_ECX_OFFSET): Likewise.
7609 (CPUID_EDX_OFFSET): Likewise.
7610 (FAMILY_OFFSET): Likewise.
7611 (MODEL_OFFSET): Likewise.
7612 (FEATURE_OFFSET): Likewise.
7613 (FEATURE_SIZ): Likewise.
7614 (COMMON_CPUID_INDEX_1): Likewise.
7615 (COMMON_CPUID_INDEX_7): Likewise.
7616 (FEATURE_INDEX_1): Likewise.
7617 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7618
7619 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7620
7621 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7622 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7623 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7624 (install-locales): Depend on install-locale-archive.
7625 (install-locale-archive): Define.
7626 (install-locale-files): Define.
7627 (build-one-locale): Define macro.
7628 * manual/install.texi (Running make install): Document.
7629 * manual/INSTALL: Regenerate.
7630
7631 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7632
7633 * benchtests/scripts/compare_strings.py: Import traceback.
7634 (parse_file): Pretty-print error.
7635
7636 * NEWS: Mention the change.
7637 * elf/dl-tunables.list: Rename tune namespace to cpu.
7638 * sysdeps/powerpc/dl-tunables.list: Likewise.
7639 * sysdeps/x86/dl-tunables.list: Likewise.
7640 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7641 cpu.name.
7642 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7643 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7644 * manual/README.tunables: Likewise.
7645 * manual/tunables.texi: Likewise.
7646 * sysdeps/powerpc/cpu-features.c: Likewise.
7647 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7648 (init_cpu_features): Likewise.
7649 * sysdeps/x86/cpu-features.c: Likewise.
7650 * sysdeps/x86/cpu-features.h: Likewise.
7651 * sysdeps/x86/cpu-tunables.c: Likewise.
7652 * sysdeps/x86_64/Makefile: Likewise.
7653 * sysdeps/x86/dl-cet.c: Likewise.
7654
7655 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7656
7657 [BZ #23479]
7658 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7659 [__mips_hard_float].
7660 (FE_UNDERFLOW): Likewise.
7661 (FE_OVERFLOW): Likewise.
7662 (FE_DIVBYZERO): Likewise.
7663 (FE_INVALID): Likewise.
7664 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7665 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7666 (FE_UPWARD): Likewise.
7667 (FE_DOWNWARD): Likewise.
7668 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7669 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7670 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7671 [__mips_hard_float].
7672 (FP_ROUNDMODE): Likewise.
7673 (FP_RND_NEAREST): Likewise.
7674 (FP_RND_ZERO): Likewise.
7675 (FP_RND_PINF): Likewise.
7676 (FP_RND_MINF): Likewise.
7677 (FP_EX_INVALID): Likewise.
7678 (FP_EX_OVERFLOW): Likewise.
7679 (FP_EX_UNDERFLOW): Likewise.
7680 (FP_EX_DIVZERO): Likewise.
7681 (FP_EX_INEXACT): Likewise.
7682 (FP_INIT_ROUNDMODE): Likewise.
7683 * sysdeps/mips/nofpu/fesetenv.c: New file.
7684 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7685
7686 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7687
7688 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7689 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7690 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7691 conditional on [FE_UPWARD].
7692
7693 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7694
7695 regex: fix memory leak in Gnulib
7696 Problem and fix reported by Assaf Gordon in:
7697 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7698 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7699 range_ends members too, as they are defined in 'struct
7700 re_charset_t' even if not _LIBC. This affects only Gnulib.
7701
7702 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7703
7704 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7705 ...
7706 (get_common_indices): This.
7707 (init_cpu_features): Updated.
7708
7709 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7710
7711 * sysdeps/generic/math-tests-snan-payload.h: New file.
7712 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7713 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7714 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7715 * sysdeps/generic/math-tests.h: Include
7716 <math-tests-snan-payload.h>.
7717 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7718 * sysdeps/hppa/math-tests.h: Remove file.
7719 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7720 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7721 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7722 Likewise.
7723
7724 * sysdeps/generic/math-tests-snan-cast.h: New file.
7725 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7726 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7727 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7728 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7729
7730 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7731
7732 * version.h (RELEASE): Set to "development".
7733 (VERSION): Set to "2.28.9000".
7734 * NEWS (2.29): New section.
7735
7736 * version.h (RELEASE): Set to "stable".
7737 (VERSION): Set to "2.28".
7738 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7739 * NEWS: Add the list of bugs fixed in 2.28.
7740
7741 * po/ca.po: Update to latest version.
7742 * po/cs.po: Likewise
7743 * po/da.po: Likewise
7744 * po/el.po: Likewise
7745 * po/eo.po: Likewise
7746 * po/es.po: Likewise
7747 * po/fi.po: Likewise
7748 * po/fr.po: Likewise
7749 * po/gl.po: Likewise
7750 * po/hu.po: Likewise
7751 * po/ia.po: Likewise
7752 * po/id.po: Likewise
7753 * po/it.po: Likewise
7754 * po/ja.po: Likewise
7755 * po/ko.po: Likewise
7756 * po/lt.po: Likewise
7757 * po/nb.po: Likewise
7758 * po/nl.po: Likewise
7759 * po/pt_BR.po: Likewise
7760 * po/ru.po: Likewise
7761 * po/rw.po: Likewise
7762 * po/sk.po: Likewise
7763 * po/sl.po: Likewise
7764 * po/tr.po: Likewise
7765 * po/zh_CN.po: Likewise
7766 * po/zh_TW.po: Likewise
7767
7768 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7769
7770 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7771 initialization...
7772 (init): ... before initializing libpthread.
7773
7774 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7775 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7776 (__mach_setup_tls): ... new function.
7777 (mach_setup_tls): New alias.
7778 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7779 __mach_setup_thread.
7780 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7781 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7782 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7783 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7784
7785 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7786
7787 * manual/install.texi: Update versions.
7788 * INSTALL: Regenerate.
7789
7790 * manual/contrib.texi (Contributors): Update contributions.
7791
7792 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7793
7794 * po/be.po: Update translations.
7795
7796 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7797
7798 * sysdeps/sh/libm-test-ulps: Update.
7799
7800 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7801
7802 * po/bg.po: Update translations.
7803 * po/de.po: Likewise.
7804 * po/hr.po: Likewise.
7805 * po/pt_BR.po: Likewise.
7806 * po/sv.po: Likewise.
7807 * po/vi.po: Likewise.
7808
7809 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7810
7811 [BZ #23467]
7812 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7813 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7814 (CFLAGS-tst-cet-property-1.o): New.
7815 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7816 ($(objpfx)tst-cet-property-2): Likewise.
7817 ($(objpfx)tst-cet-property-2.out): Likewise.
7818 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7819 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7820 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7821 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7822 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7823
7824 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7825
7826 [BZ #23458]
7827 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7828
7829 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7830
7831 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7832 __sbrk): Do not set attribute_hidden.
7833 * sysdeps/mach/hurd/not-errno.h: New file.
7834 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7835 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7836
7837 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7838
7839 * po/uk.po: Update translations.
7840 * po/cs.po: Likewise.
7841 * po/pl.po: Likewise.
7842
7843 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7844
7845 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7846 parse beyond the note end.
7847
7848 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7849
7850 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7851 kernel does not support OFD locks.
7852 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7853
7854 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7855
7856 * sysdeps/mach/hurd/Versions (libc): Make __access and
7857 __access_noerrno external so they can override the ld symbols.
7858 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7859 __writev, __open64, __access_noerrno extern so they can be overrided.
7860 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7861 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7862
7863 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7864
7865 * po/libc.pot: Regenerate.
7866
7867 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7868
7869 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7870
7871 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7872
7873 [BZ #23459]
7874 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7875 function.
7876 (init_cpu_features): Call get_extended_indices for both Intel
7877 and AMD CPUs.
7878 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7879 Remove "for AMD" comment.
7880
7881 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7882
7883 [BZ # 23456]
7884 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7885 COMMON_CPUID_INDEX_80000001.
7886
7887 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7888
7889 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7890 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7891
7892 2018-07-26 Florian Weimer <fweimer@redhat.com>
7893
7894 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7895 aliases for symbols not in the implementation namespace.
7896
7897 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7898
7899 [BZ #23393]
7900 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7901 lowercase in LATIN script.
7902 * localedata/Makefile (test-input): Add en_US.UTF-8.
7903 * localedata/en_US.UTF-8.in: New file.
7904 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7905 and restore old tests.
7906 * posix/tst-regexloc.c (do_test): Add back range expression test.
7907
7908 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7909
7910 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7911
7912 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7913
7914 * nptl/threads.h: Move to ...
7915 * sysdeps/nptl/threads.h: ... here.
7916 * sysdeps/hurd/stdc-predef.h: New file.
7917
7918 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7919
7920 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7921 tst-cet-setcontext-1 if CET is enabled.
7922 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7923 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7924
7925 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7926
7927 * include/threads.h: Move to ...
7928 * sysdeps/nptl/threads.h: ... here.
7929 * sysdeps/htl/threads.h: New file.
7930 * conform/Makefile (linknamespace-libs-ISO11): Use
7931 static-thread-library instead of linking libpthread.
7932 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7933
7934 2018-07-25 Florian Weimer <fweimer@redhat.com>
7935
7936 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7937 nanoseconds into seconds.
7938 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7939 (do_test): Likewise.
7940 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7941 (do_test): Likewise. Avoid nanosecond overflow and spurious
7942 timeouts due to system load.
7943 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7944 (child_wait): Increment it.
7945 (do_test): Wait as long as necessary until all expected threads
7946 have arrived.
7947
7948 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7949 H.J. Lu <hongjiu.lu@intel.com>
7950
7951 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7952 __ssp.
7953 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7954 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7955 (__push___start_context): New.
7956 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7957 <asm/prctl.h>.
7958 (__getcontext): Record the current shadow stack base. Save the
7959 caller's shadow stack pointer and base.
7960 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7961 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7962 (__push___start_context): New prototype.
7963 (__makecontext): Call __push___start_context to allocate a new
7964 shadow stack, push __start_context onto the new stack as well
7965 as the new shadow stack.
7966 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7967 <asm/prctl.h>.
7968 (__setcontext): Restore the target shadow stack.
7969 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7970 <asm/prctl.h>.
7971 (__swapcontext): Record the current shadow stack base. Save
7972 the caller's shadow stack pointer and base. Restore the target
7973 shadow stack.
7974 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7975 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7976 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7977
7978 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7979
7980 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7981 tst-setcontext8 and tst-setcontext9.
7982 * stdlib/tst-setcontext6.c: New file.
7983 * stdlib/tst-setcontext7.c: Likewise.
7984 * stdlib/tst-setcontext8.c: Likewise.
7985 * stdlib/tst-setcontext9.c: Likewise.
7986
7987 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7988
7989 * stdlib/Makefile ((tests): Add tst-setcontext5.
7990 * stdlib/tst-setcontext5.c: New file.
7991
7992 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7993
7994 * stdlib/Makefile (tests): Add tst-setcontext4.
7995 * stdlib/tst-setcontext4.c: New file.
7996
7997 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7998
7999 * stdlib/Makefile (tests): Add tst-swapcontext1.
8000 * stdlib/tst-swapcontext1.c: New test.
8001
8002 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8003
8004 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8005 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8006 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8007 and tst-cet-legacy-4c.
8008 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8009 and tst-cet-legacy-mod-4.
8010 (CFLAGS-tst-cet-legacy-2.c): New.
8011 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8012 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8013 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8014 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8015 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8016 ($(objpfx)tst-cet-legacy-1): Likewise.
8017 ($(objpfx)tst-cet-legacy-2): Likewise.
8018 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8019 ($(objpfx)tst-cet-legacy-2a): Likewise.
8020 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8021 ($(objpfx)tst-cet-legacy-4): Likewise.
8022 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8023 ($(objpfx)tst-cet-legacy-4a): Likewise.
8024 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8025 (tst-cet-legacy-4a-ENV): Likewise.
8026 ($(objpfx)tst-cet-legacy-4b): Likewise.
8027 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8028 (tst-cet-legacy-4b-ENV): Likewise.
8029 ($(objpfx)tst-cet-legacy-4c): Likewise.
8030 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8031 (tst-cet-legacy-4c-ENV): Likewise.
8032 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8033 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8034 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8035 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8036 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8037 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8038 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8039 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8040 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8041 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8042 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8043
8044 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8045
8046 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8047 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8048 with ssp_base.
8049 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8050 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8051 with ssp_base.
8052
8053 2018-07-25 Andreas Schwab <schwab@suse.de>
8054
8055 [BZ #23442]
8056 * locale/weightwc.h (findidx): Handle the case where usrc is a
8057 prefix of cp but one character too short.
8058
8059 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8060
8061 * NEWS: Add ISO C threads addition.
8062
8063 2018-07-24 Florian Weimer <fweimer@redhat.com>
8064
8065 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8066 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8067 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8068 4.13.
8069
8070 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8071
8072 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8073 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8074 <sys/prctl.h> and <asm/prctl.h>.
8075 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8076 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8077 and <asm/prctl.h>.
8078 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8079 ARCH_CET_LEGACY_BITMAP.
8080 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8081 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8082 * sysdeps/x86/libc-start.c: Include <startup.h>.
8083
8084 2018-07-24 Florian Weimer <fweimer@redhat.com>
8085
8086 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8087 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8088
8089 2018-07-24 Rical Jasan <rj@2c3t.io>
8090 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8091 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8092
8093 [BZ #14092]
8094 * manual/debug.texi: Update adjacent chapter name.
8095 * manual/probes.texi: Likewise.
8096 * manual/threads.texi (ISO C Threads): New section.
8097 (POSIX Threads): Convert to a section.
8098
8099 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8100 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8101
8102 [BZ# 14092]
8103 * nptl/Makefile (tests): Add new test files.
8104 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8105 * nptl/tst-cnd-basic.c: Likewise.
8106 * nptl/tst-cnd-broadcast.c: Likewise.
8107 * nptl/tst-cnd-timedwait.c: Likewise.
8108 * nptl/tst-mtx-basic.c: Likewise.
8109 * nptl/tst-mtx-recursive.c: Likewise.
8110 * nptl/tst-mtx-timedlock.c: Likewise.
8111 * nptl/tst-mtx-trylock.c: Likewise.
8112 * nptl/tst-thrd-basic.c: Likewise.
8113 * nptl/tst-thrd-detach.c: Likewise.
8114 * nptl/tst-thrd-sleep.c: Likewise.
8115 * nptl/tst-tss-basic.c: Likewise.
8116
8117 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8118
8119 [BZ #14092]
8120 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8121 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8122 symbols.
8123 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8124 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8125 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8126 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8127 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8128 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8129 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8130 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8131 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8132 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8133 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8134 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8136 Likewise.
8137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8138 Likewise.
8139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8140 Likewise.
8141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8142 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8143 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8144 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8145 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8146 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8147 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8148 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8149 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8150 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8151 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8152 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8153 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8154 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8155 Likewise.
8156 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8157 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8158 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8159 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8160 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8161 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8162 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8163 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8164 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8165 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8166 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8167 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8168 ikewise.
8169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8171 Likewise.
8172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8173 Likewise.
8174 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8175 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8176 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8177 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8178 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8179 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8180 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8181 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8182
8183 [BZ #14092]
8184 * conform/data/threads.h-data (thread_local): New macro.
8185 (TSS_DTOR_ITERATIONS): Likewise.
8186 (tss_t): New type.
8187 (tss_dtor_t): Likewise.
8188 (tss_create): New function.
8189 (tss_get): Likewise.
8190 (tss_set): Likewise.
8191 (tss_delete): Likewise.
8192 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8193 tss_get, and tss_set objects.
8194 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8195 * nptl/tss_create.c: New file.
8196 * nptl/tss_delete.c: Likewise.
8197 * nptl/tss_get.c: Likewise.
8198 * nptl/tss_set.c: Likewise.
8199 * sysdeps/nptl/threads.h (thread_local): New define.
8200 (TSS_DTOR_ITERATIONS): Likewise.
8201 (tss_t): New typedef.
8202 (tss_dtor_t): Likewise.
8203 (tss_create): New prototype.
8204 (tss_get): Likewise.
8205 (tss_set): Likewise.
8206 (tss_delete): Likewise.
8207
8208 [BZ #14092]
8209 * conform/data/threads.h-data (cnd_t): New type.
8210 (cnd_init): New function.
8211 (cnd_signal): Likewise.
8212 (cnd_broadcast): Likewise.
8213 (cnd_wait): Likewise.
8214 (cnd_timedwait): Likewise.
8215 (cnd_destroy): Likewise.
8216 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8217 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8218 object.
8219 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8220 * nptl/cnd_broadcast.c: New file.
8221 * nptl/cnd_destroy.c: Likewise.
8222 * nptl/cnd_init.c: Likewise.
8223 * nptl/cnd_signal.c: Likewise.
8224 * nptl/cnd_timedwait.c: Likewise.
8225 * nptl/cnd_wait.c: Likewise.
8226 * sysdeps/nptl/threads.h (cnd_t): New type.
8227 (cnd_init): New prototype.
8228 (cnd_signa): Likewise.
8229 (cnd_broadcast): Likewise.
8230 (cnd_wait): Likewise.
8231 (cnd_timedwait): Likewise.
8232 (cnd_destroy): Likewise.
8233
8234 [BZ #14092]
8235 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8236 (once_flag): New type.
8237 (call_once): New function.
8238 * nptl/Makefile (libpthread-routines): Add call_once object.
8239 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8240 * nptl/call_once.c: New file.
8241 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8242 (once_flag): New type.
8243 (call_once): New prototype.
8244
8245 [BZ #14092]
8246 * conform/data/threads.h-data (mtx_plain): New constant.
8247 (mtx_recursive): Likewise.
8248 (mtx_timed): Likewise.
8249 (mtx_t): New type.
8250 (mtx_init): New function.
8251 (mtx_lock): Likewise.
8252 (mtx_timedlock): Likewise.
8253 (mtx_trylock): Likewise.
8254 (mtx_unlock): Likewise.
8255 (mtx_destroy): Likewise.
8256 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8257 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8258 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8259 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8260 * nptl/mtx_destroy.c: New file.
8261 * nptl/mtx_init.c: Likewise.
8262 * nptl/mtx_lock.c: Likewise.
8263 * nptl/mtx_timedlock.c: Likewise.
8264 * nptl/mtx_trylock.c: Likewise.
8265 * nptl/mtx_unlock.c: Likewise.
8266 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8267 (mtx_recursive): Likewise.
8268 (mtx_timed): Likewise.
8269 (mtx_t): New type.
8270 (mtx_init): New prototype.
8271 (mtx_lock): Likewise.
8272 (mtx_timedlock): Likewise.
8273 (mtx_trylock): Likewise.
8274 (mtx_unlock): Likewise.
8275 (mtx_destroy): Likewise.
8276
8277 [BZ #14092]
8278 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8279 (linknamespace-libs-ISO11): Add libpthread.a.
8280 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8281 functions.
8282 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8283 * nptl/Makefile (headers): Add threads.h.
8284 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8285 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8286 thrd_yield.
8287 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8288 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8289 thrd_join, thrd_sleep, and thrd_yield symbols.
8290 * nptl/descr.h (struct pthread): Add c11 field.
8291 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8292 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8293 routine with expected function prototype.
8294 (__pthread_create_2_1): Add C11 threads check based on attribute
8295 value.
8296 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8297 * nptl/thrd_create.c: New file.
8298 * nptl/thrd_current.c: Likewise.
8299 * nptl/thrd_detach.c: Likewise.
8300 * nptl/thrd_equal.c: Likewise.
8301 * nptl/thrd_exit.c: Likewise.
8302 * nptl/thrd_join.c: Likewise.
8303 * nptl/thrd_priv.h: Likewise.
8304 * nptl/thrd_sleep.c: Likewise.
8305 * nptl/thrd_yield.c: Likewise.
8306 * include/threads.h: Likewise.
8307
8308 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8309
8310 * bits/indirect-return.h: New file.
8311 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8312 * sysdeps/x86/bits/indirect-return.h: Likewise.
8313 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8314 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8315 (swapcontext): Add __INDIRECT_RETURN.
8316 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8317 (prepare_test_buffer): Use it.
8318
8319 2018-07-24 Andreas Schwab <schwab@suse.de>
8320
8321 [BZ #23448]
8322 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8323 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8324
8325 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8326
8327 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8328 Redefine if shadow stack is enabled.
8329 (SYSCALL_ERROR_LABEL): Likewise.
8330 (__vfork): Pop shadow stack and jump back to to caller directly
8331 when shadow stack is in use.
8332 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8333 Redefine if shadow stack is enabled.
8334 (SYSCALL_ERROR_LABEL): Likewise.
8335 (__vfork): Pop shadow stack and jump back to to caller directly
8336 when shadow stack is in use.
8337
8338 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8339
8340 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8341 enabled.
8342 (foo): Likewise.
8343 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8344 (foo): Likewise.
8345
8346 2018-07-20 Joseph Myers <joseph@codesourcery.com>
8347
8348 * scripts/build-many-glibcs.py (Context.checkout): Default
8349 binutils version to 2.31 branch.
8350
8351 2018-07-20 Zong Li <zong@andestech.com>
8352
8353 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8354 URL of gcc's tarball.
8355
8356 2018-07-20 Florian Weimer <fweimer@redhat.com>
8357
8358 [BZ #23396]
8359 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8360 not compare an extra byte after the end of the weights.
8361
8362 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8363
8364 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8365 to 1.
8366 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8367 hidden prototypes.
8368 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8369 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8370 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8371 list of libraries whose stack executability is expected.
8372 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8373 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8374 variable.
8375 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8376 libc.so libpthread.so.
8377
8378 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8379
8380 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8381 SOCK_NONBLOCK.
8382 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8383 and SOCK_NONBLOCK.
8384 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8385 implement __pipe2.
8386 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8387
8388 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8389
8390 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8391 library to improve command line parsing.
8392 (__main__): make schema file as optional parameter (--schema),
8393 defaulting to benchtests/scripts/benchout.schema.json.
8394 (main): move out of the parsing stuff to __main_  and leave it
8395 only as caller of main comparison functions.
8396
8397 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8398
8399 * NEWS: Add a note for Intel CET status.
8400 * manual/install.texi: Likewise.
8401 * INSTALL: Regenerated.
8402
8403 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8404
8405 [BZ #23140]
8406 * localedata/locales/oc_FR (mon): Rename to...
8407 (alt_mon): This, then update October (typo fix).
8408 (mon): New content (genitive case, month names preceded by
8409 "de" or "d’").
8410
8411 [BZ #23422]
8412 * localedata/locales/oc_FR (abday): Update all items.
8413 (day): Update Wednesday and Saturday (typo fixes).
8414 (abmon): Update all items, except May.
8415 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8416 (LC_IDENTIFICATION): Bump the revision number and date.
8417 Keep the "category" entries in alphabetic order.
8418 (LC_ADDRESS): Remove no longer needed comment.
8419 (LC_COLLATE): Use “copy "ca_ES"”.
8420 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8421 "name_mrs".
8422
8423 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8424
8425 * grp/tst_fgetgrent.c: Include <unistd.h>.
8426 (main): Use mkstemp instead of tmpnam.
8427 * io/test-utime.c (main): Likewise.
8428 * posix/annexc.c (macrofile): Change to modifiable array.
8429 (main): Remove macrofile here.
8430 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8431 macrofile here.
8432 (check_header): Do not remove macrofile here.
8433 * posix/bug-getopt1.c: Include <stdlib.h>.
8434 (do_test): Use mkstemp instead of tmpnam.
8435 * posix/bug-getopt2.c: Include <stdlib.h>.
8436 (do_test): Use mkstemp instead of tmpnam.
8437 * posix/bug-getopt3.c: Include <stdlib.h>.
8438 (do_test): Use mkstemp instead of tmpnam.
8439 * posix/bug-getopt4.c: Include <stdlib.h>.
8440 (do_test): Use mkstemp instead of tmpnam.
8441 * posix/bug-getopt5.c: Include <stdlib.h>.
8442 (do_test): Use mkstemp instead of tmpnam.
8443 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8444 (main): Use mkstemp instead of tmpnam.
8445 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8446 (main): Use mkstemp instead of tmpnam.
8447 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8448 (main): use mkstemp instead of tmpnam.
8449 * stdlib/isomac.c (macrofile): Change to modifiable array.
8450 (main): Remove macrofile here.
8451 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8452 macrofile here.
8453 (check_header): Do not remove macrofile here.
8454
8455 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8456
8457 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8458 glibc.tune.x86_shstk.
8459
8460 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8461
8462 * NEWS: Mention --enable-cet.
8463 * manual/install.texi: Document --enable-cet.
8464 * INSTALL: Regenerated.
8465
8466 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8467
8468 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8469 Add _CET_NOTRACK before indirect jump to jump table.
8470
8471 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8472
8473 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
8474 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8475 to jump table.
8476
8477 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8478
8479 * sysdeps/i386/i686/multiarch/strcat-sse2.S
8480 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8481 to jump table.
8482
8483 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8484
8485 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
8486 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8487 to jump table.
8488
8489 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8490
8491 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8492 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8493 to jump table.
8494
8495 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8496
8497 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8498 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8499 to jump table.
8500 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8501
8502 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8503
8504 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8505 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8506 to jump table.
8507
8508 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8509
8510 * sysdeps/i386/i686/multiarch/memset-sse2.S
8511 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8512 to jump table.
8513
8514 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8515
8516 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8517 indirect jump to jump table.
8518
8519 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8520
8521 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8522 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8523 to jump table.
8524 (MEMCPY): Likewise.
8525
8526 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8527
8528 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8529 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8530 to jump table.
8531 (MEMCPY): Likewise.
8532
8533 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8534
8535 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8536 _CET_NOTRACK before indirect jump to jump table.
8537
8538 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8539
8540 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8541 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8542 to jump table.
8543
8544 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8545
8546 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8547 indirect jump to jump table.
8548
8549 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8550
8551 [BZ #22241]
8552 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8553 (LOCALES): Likewise.
8554 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8555 * localedata/locales/sah_RU: New file.
8556 * localedata/sah_RU.UTF-8.in: New file.
8557
8558 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8559
8560 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8561 "sysdep.h".
8562 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8563 _CET_ENDBR to indirect jump targets and adjust jump destination
8564 for _CET_ENDBR.
8565 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8566 "sysdep.h".
8567 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8568 _CET_ENDBR to indirect jump targets and adjust jump destination
8569 for _CET_ENDBR.
8570 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8571 "sysdep.h".
8572 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8573 _CET_ENDBR to indirect jump targets and adjust jump destination
8574 for _CET_ENDBR.
8575
8576 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8577
8578 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8579 _CET_ENDBR.
8580
8581 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8582
8583 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8584 _CET_ENDBR.
8585 (_dl_tlsdesc_undefweak): Likewise.
8586 (_dl_tlsdesc_dynamic): Likewise.
8587 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8588 (_dl_tlsdesc_resolve_rel): Likewise.
8589 (_dl_tlsdesc_resolve_rela): Likewise.
8590 (_dl_tlsdesc_resolve_hold): Likewise.
8591 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8592 (_dl_tlsdesc_undefweak): Likewise.
8593 (_dl_tlsdesc_dynamic): Likewise.
8594 (_dl_tlsdesc_resolve_rela): Likewise.
8595 (_dl_tlsdesc_resolve_hold): Likewise.
8596
8597 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8598
8599 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8600 (_fini): Likewise.
8601 * sysdeps/x86_64/crti.S (_init): Likewise.
8602 (_fini): Likewise.
8603
8604 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8605
8606 [BZ #23140]
8607 * localedata/locales/os_RU (mon): Rename to...
8608 (alt_mon): This.
8609 (mon): Import from CLDR (genitive case).
8610
8611 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8612
8613 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8614 cet-tunables.h> when CET is enabled.
8615
8616 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8617
8618 [BZ #21598]
8619 * configure.ac: Add --enable-cet.
8620 * configure: Regenerated.
8621 * elf/Makefille (all-built-dso): Add a comment.
8622 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8623 Include <dl-prop.h>.
8624 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8625 segment.
8626 * elf/dl-open.c: Include <dl-prop.h>.
8627 (dl_open_worker): Call _dl_open_check.
8628 * elf/rtld.c: Include <dl-prop.h>.
8629 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8630 _rtld_main_check.
8631 * sysdeps/generic/dl-prop.h: New file.
8632 * sysdeps/i386/dl-cet.c: Likewise.
8633 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8634 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8635 * sysdeps/x86/cet-tunables.h: Likewise.
8636 * sysdeps/x86/check-cet.awk: Likewise.
8637 * sysdeps/x86/configure: Likewise.
8638 * sysdeps/x86/configure.ac: Likewise.
8639 * sysdeps/x86/dl-cet.c: Likewise.
8640 * sysdeps/x86/dl-procruntime.c: Likewise.
8641 * sysdeps/x86/dl-prop.h: Likewise.
8642 * sysdeps/x86/libc-start.h: Likewise.
8643 * sysdeps/x86/link_map.h: Likewise.
8644 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8645 _CET_ENDBR.
8646 (_dl_runtime_profile): Likewise.
8647 (_dl_runtime_resolve_shstk): New.
8648 (_dl_runtime_profile_shstk): Likewise.
8649 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8650 if CET is enabled.
8651 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8652 (CFLAGS-.os): Likewise.
8653 (CFLAGS-.op): Likewise.
8654 (CFLAGS-.oS): Likewise.
8655 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8656 is enabled.
8657 (tests-special): Add $(objpfx)check-cet.out.
8658 (cet-built-dso): New.
8659 (+$(cet-built-dso:=.note)): Likewise.
8660 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8661 ($(objpfx)check-cet.out): New.
8662 (generated): Add check-cet.out.
8663 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8664 <cet-tunables.h>.
8665 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8666 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8667 (init_cpu_features): Call get_cet_status to check CET status
8668 and update dl_x86_feature_1 with CET status. Call
8669 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8670 (set_x86_shstk). Disable and lock CET in libc.a.
8671 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8672 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8673 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8674 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8675 (_CET_ENDBR): Define if not defined.
8676 (ENTRY): Add _CET_ENDBR.
8677 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8678 x86_shstk.
8679 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8680 _CET_ENDBR.
8681 (_dl_runtime_profile): Likewise.
8682
8683 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8684
8685 [BZ #21895]
8686 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8687 restore r2 on longjmp.
8688 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8689 test list.
8690 Added rules to build test tst-setjmp-bug21895-static.
8691 Added module setjmp-bug21895 and rules to build a shared object from it.
8692 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8693 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8694
8695 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8696
8697 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8698 * benchtests/bench-strstr.c: Likewise.
8699 * string/memmem.c (FASTSEARCH): Define.
8700 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8701 Add support for FASTSEARCH.
8702 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8703 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8704 (FASTSEARCH): Define.
8705 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8706 * string/test-strstr.c: Likewise.
8707
8708 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8709
8710 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8711 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8712
8713 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8714 H.J. Lu <hongjiu.lu@intel.com>
8715
8716 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8717 (__longjmp): Restore shadow stack pointer if shadow stack is
8718 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8719 isn't defined for __longjmp_cancel.
8720 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8721 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8722 and SHADOW_STACK_POINTER_OFFSET is defined.
8723 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8724 (setjmp): Save shadow stack pointer if shadow stack is enabled
8725 and SHADOW_STACK_POINTER_OFFSET is defined.
8726 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8727 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8728 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8729 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8730 <jmp_buf-ssp.h>.
8731 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8732 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8733 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8734 Remove jmp_buf-ssp.sym.
8735 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8736 <jmp_buf-ssp.h>.
8737 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8738 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8739 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8740 jmp_buf-ssp.sym.
8741 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8742 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8743 (__longjmp): Restore shadow stack pointer if shadow stack is
8744 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8745 isn't defined for __longjmp_cancel.
8746 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8747 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8748 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8749
8750 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8751
8752 [BZ #22563]
8753 * nptl/pthread_create.c: Include <tls-setup.h>.
8754 (__pthread_create_2_1): Call tls_setup_tcbhead.
8755 * sysdeps/generic/tls-setup.h: New file.
8756 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8757 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8758 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8759 Likewise.
8760 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8761 to feature_1.
8762 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8763 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8764 (X86_FEATURE_1_SHSTK): Likewise.
8765 (CET_ENABLED): Likewise.
8766 (IBT_ENABLED): Likewise.
8767 (SHSTK_ENABLED): Likewise.
8768
8769 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8770
8771 [BZ #23208]
8772 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8773 (LOCALES): Likewise.
8774 * localedata/dsb_DE.UTF-8.in: New file.
8775 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8776
8777 2018-07-12 Florian Weimer <fweimer@redhat.com>
8778
8779 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8780 __mprotect, not mprotect.
8781
8782 2018-07-11 Florian Weimer <fweimer@redhat.com>
8783
8784 * io/Makefile (headers): Add bits/statx.h.
8785
8786 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8787
8788 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8789 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8790 and headers.
8791 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8792 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8793 for utf8_gen.py
8794
8795 2018-07-10 Florian Weimer <fweimer@redhat.com>
8796
8797 * io/Makefile (routines): Add statx.
8798 (tests-internal): Add tst-statx.
8799 * io/Versions (GLIBC_2.28): Export statx.
8800 * io/bits/statx.h: New file.
8801 * io/sys/stat.h [__USE_GNU]: Include it.
8802 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8803 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8804 Define.
8805 * io/statx.c: New file.
8806 * io/statx_generic.: Likewise.
8807 * io/tst-statx.: Likewise.
8808 * include/bits/statx.h: Likewise.
8809 * sysdeps/unix/sysv/linux/kernel-features.h
8810 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8811 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8812 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8813 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8814 Undefine.
8815 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8816 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8817 * sysdeps/unix/sysv/linux/statx.c: New file.
8818 * manual/filesys.texi: Note that statx is undocumented.
8819 * sysdeps/**/libc*.abilist: Update.
8820
8821 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8822
8823 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8824 a kernel issue which lead to test failure in some cases.
8825
8826 2018-07-10 Florian Weimer <fweimer@redhat.com>
8827
8828 [BZ #23036]
8829 * posix/regexec.c (check_node_accept_bytes): When comparing
8830 weights, do not compare an extra byte after the end of the
8831 weights.
8832
8833 2018-07-10 Florian Weimer <fweimer@redhat.com>
8834
8835 * libio/readline.c: Fix copyright year.
8836 * libio/tst-readline.c Likewise.
8837 * nss/tst-nss-files-hosts-getent.c: Likewise.
8838
8839 2018-07-06 Florian Weimer <fweimer@redhat.com>
8840
8841 [BZ #18991]
8842 * nss/nss_files/files-XXX.c (internal_getent): Use
8843 __libc_readline_unlocked. Seek back to the start of the line if
8844 parsing failes with ERANGE.
8845 (get_contents_ret, get_contents): Remove.
8846 * nss/tst-nss-files-hosts-getent.c: New file.
8847 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8848 (tst-nss-files-hosts-getent): Link with -ldl.
8849
8850 2018-07-06 Florian Weimer <fweimer@redhat.com>
8851
8852 * include/stdio.h (__libc_readline_unlocked): Declare.
8853 (__ftello64, __fseeko64): Declare aliases.
8854 * libio/readline.c: New file.
8855 * libio/tst-readline.c: Likewise.
8856 (routines): Add readline.
8857 (tests-internal): Add tst-readlime.
8858 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8859 __libc_readline_unlocked.
8860 * libio/fseeko.c (__fseeko): Rename from fseeko.
8861 (fseeko): Add alias.
8862 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8863 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8864 (fseeko64): Add alias.
8865 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8866 * libio/ftello64.c (__ftello64): Rename from ftello64.
8867 (ftello64): Add alias.
8868
8869 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8870
8871 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8872 HWCAP_ATOMICS.
8873
8874 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8875
8876 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8877 Use dl_hwcap without masking.
8878 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8879 Remove HWCAP_CPUID.
8880
8881 2018-07-06 Florian Weimer <fweimer@redhat.com>
8882
8883 * conform/conformtest.pl (checknamespace): Escape literal braces
8884 in regular expressions.
8885
8886 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8887
8888 * sysdeps/x86/cpu-features.c (get_common_indeces):
8889 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8890 * sysdeps/x86/cpu-features.c (init_cpu_features):
8891 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8892
8893 2018-07-05 Florian Weimer <fweimer@redhat.com>
8894
8895 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8896 protector.
8897 (CFLAGS-elf-init.oS): Likewise.
8898
8899 2018-07-05 Florian Weimer <fweimer@redhat.com>
8900 Carlos O'Donell <carlos@redhat.com>
8901
8902 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8903 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8904 with stack protector enabled because there is no risk of infinite
8905 recursion.
8906
8907 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8908
8909 [BZ #19818]
8910 [BZ #23307]
8911 * libc-abis (ABSOLUTE): New ABI.
8912 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8913 * NEWS: Mention the new ABI.
8914
8915 2018-07-05 Florian Weimer <fweimer@redhat.com>
8916
8917 [BZ # 17662]
8918 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8919 (RENAME_WHITEOUT): Define.
8920 [__USE_GNU] (renameat2): Declare.
8921 * stdio-common/Makefile (routines): Add renameat2.
8922 (tests): Add tst-renameat2.
8923 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8924 * stdio-common/renameat2.c: New file.
8925 * stdio-common/tst-renameat2.c: Likewise.
8926 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8927 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8928 undocumented.
8929 * sysdeps/unix/sysv/linux/kernel-features.h
8930 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8931 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8932 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8933 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8934 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8935 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8936 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8937 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8938 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8939 * include/stdio.h (__renameat): Add alias for renameat.
8940 * stdio-common/renameat.c (__renameat): Rename from renameat.
8941 Add hidden definition and alias.
8942 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8943 * sysdeps/mach/hurd/renameat.c: Likewise.
8944 * sysdeps/**/libc*.abilist: Add renameat2.
8945
8946 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8947
8948 * posix/bug-regex33.c: Fix build after regex sync.
8949
8950 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8951
8952 [BZ #23164]
8953 * localedata/tst-langinfo-setlocale.c: New file.
8954 * localedata/tst-langinfo-setlocale-static.c: New file.
8955 * localedata/tst-langinfo-newlocale.c: New file.
8956 * localedata/tst-langinfo-newlocale-static.c: New file.
8957 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8958 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8959 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8960 (tests-static): Remove tst-langinfo-static. Add
8961 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8962 (tests-special): Remove $(objpfx)tst-langinfo.out,
8963 $(objpfx)tst-langinfo-static.out. Add
8964 $(objpfx)tst-langinfo-setlocale.out,
8965 $(objpfx)tst-langinfo-newlocale.out,
8966 $(objpfx)tst-langinfo-setlocale-static.out,
8967 $(objpfx)tst-langinfo-newlocale-static.out.
8968 ($(objpfx)tst-langinfo.out): Remove.
8969 ($(objpfx)tst-langinfo-static.out): Remove.
8970 ($(objpfx)tst-langinfo-newlocale.out): New target.
8971 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8972 (test-xfail-tst-langinfo-newlocale-static): Add.
8973 ($(objpfx)tst-langinfo-setlocale.out): New target.
8974 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8975 * localedata/tst-langinfo.c: Call test_locale.
8976 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8977 data.
8978
8979 2018-07-04 Florian Weimer <fweimer@redhat.com>
8980
8981 testrun.sh: Implement --tool=strace, --tool=valgrind
8982 * Makefile (testrun-script): Define variable.
8983 (testrun.sh): Use variable.
8984 * manual/install.texi (Tools for Compilation): make 4.0 or later
8985 is required.
8986 * configure.ac: Check for make 4.0 or later.
8987 * INSTALL: Regenerate.
8988 * configure: Likewise.
8989
8990 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8991
8992 [BZ #23233]
8993 [BZ #21163]
8994 [BZ #18986]
8995 [BZ #13762]
8996 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8997 * posix/PCRE.tests: Remove invalid test.
8998 * posix/bug-regex28.c: Fix expected values for used syntax.
8999 * posix/bug-regex37.c: New file.
9000 * posix/bug-regex38.c: Likewise.
9001 * posix/regcomp.c: Sync with gnulib.
9002 * posix/regex.c: Likewise.
9003 * posix/regex.h: Likewise.
9004 * posix/regex_internal.c: Likewise.
9005 * posix/regex_internal.h: Likewise.
9006 * posix/regexec.c: Likewise.
9007
9008 2018-06-26 Mike FABIAN <mfabian@redhat.com>
9009
9010 [BZ #23308]
9011 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9012 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9013 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9014 * localedata/unicode-gen/PropList.txt: likewise.
9015 * localedata/unicode-gen/UnicodeData.txt: likewise.
9016 * localedata/charmaps/UTF-8: Regenerate.
9017 * localedata/locales/i18n_ctype: likewise.
9018 * localedata/locales/tr_TR: likewise.
9019 * localedata/locales/translit_circle: likewise.
9020 * localedata/locales/translit_cjk_compat: likewise.
9021 * localedata/locales/translit_combining: likewise.
9022 * localedata/locales/translit_compat: likewise.
9023 * localedata/locales/translit_font: likewise.
9024 * localedata/locales/translit_fraction: likewise.
9025
9026 2018-07-03 Florian Weimer <fweimer@redhat.com>
9027
9028 [BZ #23363]
9029 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9030 * stdio-common/tst-printf.sh: Adjust expected output.
9031 * LICENSES: Update.
9032
9033 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9034
9035 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9036 symbol.
9037
9038 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9039
9040 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9041 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9042 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9043 * stdio-common/tst-printfsz-islongdouble.c: New file.
9044 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9045 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9046 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9047 [subdir == stdio-common] (tests-internal): Add
9048 test-printf-size-ieee128, and test-printf-size-ibm128.
9049 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9050 (CFLAGS-test-printf-size-ibm128.c): New variables.
9051 [subdir == stdio-common] (tests-special): Add
9052 $(objpfx)test-printf-size-ieee128.out and
9053 $(objpfx)test-printf-size-ibm128.out.
9054 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9055 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9056 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9057 __printf_sizeieee128.
9058 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9059 New file.
9060 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9061 Likewise.
9062 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9063 Likewise.
9064
9065 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9066
9067 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9068 (exp2f_inline): Likewise.
9069 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9070 (__math_uflowf): Likewise.
9071 (__math_may_uflowf): Likewise.
9072 (__math_divzerof): Likewise.
9073 (__math_invalidf): Likewise.
9074 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9075 (__math_oflowf): Likewise.
9076 (__math_uflowf): Likewise.
9077 (__math_may_uflowf): Likewise.
9078 (__math_divzerof): Likewise.
9079 (__math_invalidf): Likewise.
9080
9081 2018-06-29 DJ Delorie <dj@redhat.com>
9082 Carlos O'Donell <carlos@redhat.com>
9083
9084 [BZ #23329]
9085 * include/libc-symbols.h: Comment the freeres framework.
9086 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9087 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9088 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9089 * dlfcn/dlerror.c: Include libc-symbols.h
9090 (__dlerror_main_freeres): New function.
9091 * dlfcn/dlfreeres.c: New file.
9092 * dlfcn/sdlfreeres.c: New file.
9093 * include/dlfcn.h: Declare __dlerror_main_freeres.
9094 * malloc/set-freeres.c: Declare __libdl_freeres, and
9095 __libpthread_freeres.
9096 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9097 the releavant libraries are loaded.
9098 * malloc/thread-freeres.c: Add comments.
9099 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9100 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9101 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9102 (__free_stacks): Rename to...
9103 (free_stacks): ...this. Mark static.
9104 (queue_stack): Call free_stacks.
9105 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9106 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9107 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9108 ptr_freeres element from struct.
9109 (pthread_functions): Remove .ptr_freeres from struct initializer.
9110 [SHARED] (nptl_freeres): Remove.
9111 * nptl/nptlfreeres.c: New file.
9112 * nptl/pthreadP.h
9113 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9114 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9115 attribute_hidden.
9116 (__free_stacks): Rename to...
9117 (__nptl_stacks_freeres): ...this.
9118 (__shm_directory_freeres): Declare.
9119 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9120 (__nptl_unwind_freeres): ...this.
9121 * resolv/res-close.c: Add comment.
9122 * resolv/resolv_conf.c: Include libc-symbols.h.
9123 * string/strerror_l.c: Include libc-symbols.h.
9124 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9125 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9126 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9127 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9128
9129 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9130
9131 * stdlib/tst-strfmon_l.c: Add tests for long double.
9132
9133 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
9134
9135 [BZ #23208]
9136 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9137 * localedata/locales/dsb_DE: New file.
9138
9139 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9140
9141 [BZ #23140]
9142 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9143 genitive case).
9144 (alt_mon): New entry, import from CLDR (nominative case).
9145
9146 2018-06-29 Sylvain Lesage <severo@rednegra.net>
9147
9148 [BZ #22996]
9149 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9150
9151 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9152
9153 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9154 Use vector registers.
9155
9156 * sysdeps/aarch64/multiarch/memmove_falkor.S
9157 (__memcpy_falkor): Use vector registers.
9158
9159 2018-06-29 Martin Sebor <msebor@redhat.com>
9160
9161 * manual/stdio.texi (Customizing Printf): Mention interaction
9162 with GCC built-ins.
9163
9164 2018-06-29 Maciej W. Rozycki <macro@mips.com>
9165
9166 [BZ #23307]
9167 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9168 `st_value' is 0 if `st_shndx' is SHN_ABS.
9169 * elf/tst-absolute-zero.c: New file.
9170 * elf/tst-absolute-zero-lib.c: New file.
9171 * elf/tst-absolute-zero-lib.lds: New file.
9172 * elf/Makefile (tests): Add `tst-absolute-zero'.
9173 (modules-names): Add `tst-absolute-zero-lib'.
9174 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9175 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9176 ($(objpfx)tst-absolute-zero: New dependency.
9177
9178 2018-06-29 Zack Weinberg <zackw@panix.com>
9179
9180 * configure.ac: New command-line option --disable-crypt.
9181 Force --disable-nss-crypt when --disable-crypt is given, with a
9182 warning if it was explicitly enabled.
9183 * configure: Regenerate.
9184 * config.make.in: New boolean substitution variable $(build-crypt).
9185 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9186 when $(build-crypt).
9187 * manual/install.texi: Document --disable-crypt.
9188 * INSTALL: Regenerate.
9189
9190 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9191 which is never set.
9192 * conform/Makefile: Only include libcrypt.a in
9193 linknamespace-libs-xsi and linknamespace-libs-XPG4
9194 when $(build-crypt).
9195 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9196 USE_CRYPT to 1 when $(build-crypt).
9197 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9198 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9199 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9200
9201 2018-06-29 Zack Weinberg <zackw@panix.com>
9202
9203 * crypt/crypt.h, posix/unistd.h: Update comments and
9204 prototypes for crypt and crypt_r.
9205
9206 * manual/crypt.texi (Cryptographic Functions): New initial
9207 exposition.
9208 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9209 (Unpredictable Bytes): Improve initial exposition. Clarify error
9210 behavior of getentropy and getrandom.
9211 * manual/examples/genpass.c: Generate a salt using getentropy
9212 instead of the current time. Use hash $5$ (SHA-2-256).
9213 * manual/examples/testpass.c: Demonstrate validation against
9214 hashes generated with three different one-way functions.
9215
9216 * manual/intro.texi: crypt.texi does not need an overview
9217 anymore.
9218
9219 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9220 * manual/terminal.texi: Consistently refer to "passphrases"
9221 * instead of "passwords", and to the "user database" instead
9222 * of the "password database".
9223 * manual/users.texi: Similarly. Add notes about how actual
9224 passphrase hashes are now stored in the shadow database.
9225 Remove 20-year-old junk todo note.
9226
9227 2018-06-29 Zack Weinberg <zackw@panix.com>
9228
9229 * manual/crypt.texi: Use a normal top-level @node declaration.
9230 Move most of the introductory text to the 'crypt' section.
9231 Move the example programs below the @deftypefun for 'crypt_r'.
9232 Move the 'getpass' section...
9233 * manual/terminal.texi: ...here.
9234
9235 2018-06-29 Zack Weinberg <zackw@panix.com>
9236 Florian Weimer <fweimer@redhat.com>
9237
9238 * posix/unistd.h: Do not declare encrypt.
9239 (_XOPEN_CRYPT): Remove macro definition.
9240 (crypt): Declare only for _USE_MISC.
9241 * stdlib/stdlib.h: Do not declare setkey.
9242 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9243 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9244
9245 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9246 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9247 into compat symbols. Don't define initial_perm if it's not
9248 going to be used.
9249 * crypt/cert.c: Link explicitly with the expected versions for
9250 setkey and encrypt. If they are not available at all, mark
9251 the test as unsupported.
9252
9253 * sunrpc/des_crypt.c: Unconditionally block linkage with
9254 cbc_crypt and ecb_crypt for new binaries.
9255 * sunrpc/des_soft.c: Unconditionally block linkage with
9256 des_setparity for new binaries.
9257
9258 * manual/crypt.texi: Remove the entire "DES Encryption"
9259 section. Also remove the paragraph talking about FIPS 140-2
9260 from the introduction.
9261 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9262 of libgcrypt for "real" encryption, not DES.
9263 * manual/conf.texi (Constants for Sysconf): Mention that
9264 _XOPEN_CRYPT is no longer impelemented.
9265
9266 * conform/data/unistd.h-data: Remove crypt function declaration.
9267
9268 2018-06-29 Florian Weimer <fweimer@redhat.com>
9269
9270 [BZ #23351]
9271 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9272 (disallow_malloc_check): Remove variable.
9273 (__malloc_check_init): Adjust.
9274 (malloc_set_state): Update comment.
9275 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9276 declarations.
9277
9278 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9279
9280 [BZ #23140]
9281 * localedata/locales/ast_ES (mon): Rename to...
9282 (alt_mon): This.
9283 (mon): Import from CLDR (genitive case).
9284
9285 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9286 Jakub Sitnicki <jkbs@redhat.com>
9287
9288 [BZ #21812]
9289 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9290 on NLM_F_DUMP_INTR.
9291
9292 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9293
9294 * manual/llio.texi: Remove spurious space.
9295
9296 2018-06-28 Florian Weimer <fweimer@redhat.com>
9297
9298 [BZ #23349]
9299 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9300 _STRUCT_TIMESPEC.
9301
9302 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9303
9304 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9305 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9306 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9307 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9308 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9309 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9310 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9311
9312 2018-06-27 Maciej W. Rozycki <macro@mips.com>
9313
9314 [BZ #23266]
9315 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9316 Copy and null-terminate entries that are not terminated, in
9317 addition to empty ones.
9318
9319 2018-06-27 Florian Weimer <fweimer@redhat.com>
9320
9321 [BZ #18023]
9322 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9323 (extend_alloca_account): Remove.
9324 * manual/stdio.texi (Variable Arguments Output): Update comment.
9325
9326 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9327
9328 * nptl/sockperf.c: Remove file.
9329
9330 2018-06-27 Florian Weimer <fweimer@redhat.com>
9331
9332 [BZ #18023]
9333 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9334 scratch_buffer instead of extend_alloca.
9335
9336 2018-06-27 Florian Weimer <fweimer@redhat.com>
9337
9338 [BZ #18023]
9339 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9340 scratch_buffer instead of extend_alloca. Update comments.
9341
9342 2018-06-27 Florian Weimer <fweimer@redhat.com>
9343
9344 [BZ #18023]
9345 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9346 instead of extend_alloca.
9347
9348 2018-06-26 Joseph Myers <joseph@codesourcery.com>
9349
9350 [BZ #13888]
9351 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9352 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9353 /tmp.
9354 * scripts/test-installation.pl: Put temporary files in build
9355 directory, not /tmp.
9356 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9357 (CFLAGS-bug4.c): Likewise.
9358 (CFLAGS-bug5.c): Likewise.
9359 (CFLAGS-test-fseek.c): Likewise.
9360 (CFLAGS-test-popen.c): Likewise.
9361 (CFLAGS-test_rdwr.c): Likewise.
9362 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9363 /tmp.
9364 * stdio-common/bug4.c (main): Likewise.
9365 * stdio-common/bug5.c (main): Likewise.
9366 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9367 * stdio-common/test-popen.c (do_test): Likewise.
9368 * stdio-common/test_rdwr.c (main): Likewise.
9369
9370 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9371
9372 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9373 (sem_open): Set sem.newsem.pad to zero for valgrind.
9374
9375 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9376
9377 [BZ #20251]
9378 * NEWS: Mention fcntl64 addition.
9379 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9380 * login/utmp_file.c: Likewise.
9381 * sysdeps/posix/fdopendir.c: Likewise.
9382 * sysdeps/posix/opendir.c: Likewise.
9383 * sysdeps/unix/pt-fcntl.c: Likewise.
9384 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9385 __fcntl64_nocancel_adjusted): New prototype.
9386 (__fcntl_nocancel_adjusted): Remove prototype.
9387 * io/Makefile (routines): Add fcntl64.
9388 (CFLAGS-fcntl64.c): New rule.
9389 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9390 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9391 * io/fcntl.h (fcntl64): Add prototype and redirect if
9392 __USE_FILE_OFFSET64 is defined.
9393 * io/fcntl64.c: New file.
9394 * manual/llio.text: Add a note for which commands fcntl acts a
9395 cancellation point.
9396 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9397 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9398 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9399 New symbols.
9400 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9401 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9402 non-LFS case.
9403 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9404 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9405 to __fcntl64_nocancel.
9406 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9407 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9408 to __fcntl64_nocancel.
9409 * sysdeps/generic/not-cancel.h: Likewise.
9410 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9411 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9412 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9413 (fcntl64): New symbol.
9414 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9415 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9416 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9419 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9420 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9421 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9422 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9423 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9424 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9425 fcntl64): Likewise.
9426 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9427 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9428 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9429 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9430 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9431 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9432 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9433 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9434 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9436 Likewise.
9437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9438 Likewise.
9439 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9440 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9441 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9442
9443 2018-06-26 Florian Weimer <fweimer@redhat.com>
9444
9445 Run thread shutdown functions in an explicit order.
9446 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9447 definition.
9448 (__libc_thread_freeres): Call thread shutdown functions
9449 explicitly.
9450 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9451 * include/string.h (__strerror_thread_freeres): Declare.
9452 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9453 arena_thread_freeres. No longer static. Remove thread shutdown
9454 hook registration.
9455 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9456 Declare.
9457 * resolv/res-close.c (__res_thread_freeres): Renamed from
9458 res_thread_freeres. No longer static. Remove thread shutdown
9459 hook registration.
9460 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9461 * resolv/resolv_conf.c (freeres): Remove incorrect section
9462 attribute and use libc_freeres_fn.
9463 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9464 strerror_thread_freeres. No longer static. Remove thread
9465 shutdown hook registration.
9466 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9467 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9468 shutdown hook registration.
9469 * Makerules (shlib.lds): Do not provide section boundary symbols
9470 for __libc_thread_subfreeres.
9471 * manual/memory.texi (Basic Allocation): Update comment.
9472
9473 2018-06-26 Florian Weimer <fweimer@redhat.com>
9474
9475 Remove always-defined _RPC_THREAD_SAFE_ macro.
9476 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9477 Do not define _RPC_THREAD_SAFE_.
9478 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9479 conditional.
9480 * sunrpc/clnt_perr.c: Likewise.
9481 * sunrpc/clnt_raw.c: Likewise.
9482 * sunrpc/clnt_simp.c: Likewise.
9483 * sunrpc/key_call.c: Likewise.
9484 * sunrpc/rpc_common.c: Likewise.
9485 * sunrpc/rpc_main.c: Likewise.
9486 * sunrpc/rpc_thread.c: Likewise.
9487 * sunrpc/svc.c: Likewise.
9488 * sunrpc/svc_raw.c: Likewise.
9489 * sunrpc/svc_simple.c: Likewise.
9490 * sumrpc/svcauth_des.c: Likewise.
9491
9492 2018-06-26 Florian Weimer <fweimer@redhat.com>
9493
9494 * libio/Makefile (tests-internal): Add tst-vtables,
9495 tst-vtables-interposed.
9496 * libio/tst-vtables.c: New file.
9497 * libio/tst-vtables-common.c: Likewise.
9498 * libio/tst-vtables-interposed.c: Likewise.
9499
9500 2018-06-26 Florian Weimer <fweimer@redhat.com>
9501
9502 * support/support_test_main.c (support_test_main): Only call
9503 setvbuf if not disables.
9504 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9505 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9506
9507 2018-06-26 Florian Weimer <fweimer@redhat.com>
9508
9509 [BZ #23313]
9510 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9511
9512 2018-06-25 Florian Weimer <fweimer@redhat.com>
9513
9514 [BZ #18023]
9515 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9516 Use struct scratch_buffer instead of extend_alloca.
9517
9518 2018-06-25 Florian Weimer <fweimer@redhat.com>
9519
9520 [BZ #18023]
9521 * nss/getent.c (initgroups_keys): Use dynarray instead of
9522 extend_alloca.
9523
9524 2018-06-25 Florian Weimer <fweimer@redhat.com>
9525
9526 [BZ #18023]
9527 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9528 Use struct scratch_buffer instead of extend_alloca.
9529
9530 2018-06-25 Florian Weimer <fweimer@redhat.com>
9531
9532 [BZ #18023]
9533 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9534 back to malloc directly, without stack allocations.
9535
9536 2018-06-25 Florian Weimer <fweimer@redhat.com>
9537
9538 [BZ #18023]
9539 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9540 of extend_alloca.
9541
9542 2018-06-25 Florian Weimer <fweimer@redhat.com>
9543
9544 [BZ #18023]
9545 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9546 of extend_alloca.
9547 * nscd/hstcache.c (addhstbyX): Likewise.
9548 * nscd/pwdcache.c (addpwbyX): Likewise.
9549 * nscd/servicescache.c (addservbyX): Likewise.
9550
9551 2018-06-25 Florian Weimer <fweimer@redhat.com>
9552
9553 [BZ #18023]
9554 * nscd/connections.c (read_cmdline): New function.
9555 (restart): Use it. Update comment.
9556
9557 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9558
9559 [BZ #23140]
9560 * localedata/locales/csb_PL (mon): Rename to...
9561 (alt_mon): This.
9562 (abmon): Rename to...
9563 (ab_alt_mon): This.
9564 (mon): Add with proper genitive forms, copy from Wikipedia.
9565 (abmon): Likewise.
9566
9567 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9568
9569 [BZ #19485]
9570 * localedata/locales/csb_PL (mon): Fix typos:
9571 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9572 (yesstr): Add, value is "jo".
9573 (nostr): Add, value is "nié".
9574
9575 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9576
9577 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9578 all log1p and significand functions on m680x0.
9579 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9580 of s_significand.c..
9581 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9582 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9583 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9584 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9585 s_log1p.c and include it..
9586
9587 2018-06-21 Vincent Chen <vincentc@andestech.com>
9588
9589 * elf/elf.h (R_NDS32_NONE): New define.
9590 (R_NDS32_32_RELA): Likewise.
9591 (R_NDS32_COPY): Likewise.
9592 (R_NDS32_GLOB_DAT): Likewise.
9593 (R_NDS32_JUMP_SLOT): Likewise.
9594 (R_NDS32_RELATIVE): Likewise.
9595 (R_NDS32_TLS_TPOFF): Likewise.
9596 (R_NDS32_TLS_DESC): Likewise.
9597
9598 2018-06-21 Mark Wielaard <mark@klomp.org>
9599
9600 * elf/elf.h (R_BPF_MAP_FD): Removed.
9601 (R_BPF_64_64, R_BPF_64_32): New.
9602
9603 2018-06-21 Florian Weimer <fweimer@redhat.com>
9604
9605 [BZ #23253]
9606 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9607 Renamed from libc_feholdsetround_ctx.
9608 (default_libc_feresetround_ctx): Renamed from
9609 libc_feresetround_ctx.
9610 (default_libc_feholdsetround_noex_ctx): Renamed from
9611 libc_feholdsetround_noex_ctx.
9612 (default_libc_feresetround_noex_ctx): Renamed from
9613 libc_feresetround_noex_ctx.
9614 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9615 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9616 forwardning to the old implementations under the new names.
9617 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9618 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9619 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9620 (libc_feresetround_ctx): Forward to default implements for i386
9621 and MATH_SET_BOTH_ROUNDING_MODES.
9622 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9623 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9624
9625 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9626
9627 * string/tst-cmp.c: Include <libc-diag.h>.
9628 (strncmp_max): Disable -Wstringop-overflow= around call to
9629 strncmp.
9630 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9631 strncasecmp.
9632
9633 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9634 (main): Disable -Wunused-value around call to strpbrk.
9635 * string/bug-strspn1.c: Include <libc-diag.h>.
9636 (main): Disable -Wunused-value around call to strspn.
9637
9638 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9639 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9640
9641 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9642 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9643
9644 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9645
9646 * math/Makefile (libm-calls): Move s_significandF to...
9647 (gen-libm-calls): ... here.
9648 * math/s_significand_template.c: New file.
9649 * math/s_significand.c: Removed.
9650 * math/s_significandf.c: Removed.
9651 * math/s_significandl.c: Removed.
9652 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9653 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9654
9655 * math/e_exp2_template.c (declare_mgen_finite_alias,
9656 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9657 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9658 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9659
9660 2018-06-20 Florian Weimer <fweimer@redhat.com>
9661
9662 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9663
9664 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9665
9666 [BZ #23280]
9667 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9668 floating-point number to strtod functions rather than possibly
9669 negating result of those functions.
9670 * stdio-common/tst-scanf-round.c: New file.
9671 * stdio-common/Makefile (tests): Add tst-scanf-round.
9672 ($(objpfx)tst-scanf-round): Depend on $(libm).
9673
9674 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9675
9676 * sysdeps/mach/hurd/localplt.data: Move to...
9677 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9678 R_386_GLOB_DAT like on Linux i386.
9679
9680 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9681
9682 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9683 (SHM_STAT_ANY): New macro.
9684 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9685 (SHM_STAT_ANY): Likewise.
9686 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9687 (SHM_STAT_ANY): Likewise.
9688 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9689 (SHM_STAT_ANY): Likewise.
9690 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9691 (SHM_STAT_ANY): Likewise.
9692 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9693 (SHM_STAT_ANY): Likewise.
9694 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9695 (SHM_STAT_ANY): Likewise.
9696 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9697 (SHM_STAT_ANY): Likewise.
9698 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9699 (SHM_STAT_ANY): Likewise.
9700 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9701 (SHM_STAT_ANY): Likewise.
9702 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9703 (SHM_STAT_ANY): Likewise.
9704 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9705 (SHM_STAT_ANY): Likewise.
9706
9707 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9708 (SEM_STAT_ANY): New macro.
9709 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9710 (SEM_STAT_ANY): Likewise.
9711 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9712 (SEM_STAT_ANY): Likewise.
9713 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9714 (SEM_STAT_ANY): Likewise.
9715 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9716 (SEM_STAT_ANY): Likewise.
9717 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9718 (SEM_STAT_ANY): Likewise.
9719 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9720 (SEM_STAT_ANY): Likewise.
9721 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9722 (SEM_STAT_ANY): Likewise.
9723 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9724 (SEM_STAT_ANY): Likewise.
9725 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9726 (SEM_STAT_ANY): Likewise.
9727
9728 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9729 (MSG_STAT_ANY): New macro.
9730 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9731 (MSG_STAT_ANY): Likewise.
9732 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9733 (MSG_STAT_ANY): Likewise.
9734 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9735 (MSG_STAT_ANY): Likewise.
9736 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9737 (MSG_STAT_ANY): Likewise.
9738 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9739 (MSG_STAT_ANY): Likewise.
9740 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9741 (MSG_STAT_ANY): Likewise.
9742 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9743 (MSG_STAT_ANY): Likewise.
9744 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9745 (MSG_STAT_ANY): Likewise.
9746 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9747 (MSG_STAT_ANY): Likewise.
9748
9749 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9750 (MAP_TYPE): Change value to 0x2b.
9751
9752 2018-06-18 Florian Weimer <fweimer@redhat.com>
9753
9754 [BZ #15722]
9755 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9756 socket with SOCK_CLOEXEC.
9757
9758 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9759
9760 [BZ #23303]
9761 * sysdeps/powerpc/powerpc64/le/Makefile
9762 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9763 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9764 (gnulib-tests): Also add $(f128-loader-link) for
9765 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9766
9767 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9768
9769 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9770 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9771 of sendfile.
9772 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9773 (sendfile64): New strong alias.
9774 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9775 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9776 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9777 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9778 attribute.
9779 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9780 ___pthread_get_cleanup_stack.
9781 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9782 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9783 * mach/shortcut.awk: Make syscall stubs include
9784 <mach-shortcuts-hidden.h> and add hidden definition.
9785 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9786 (__mach_msg): Add hidden prototype.
9787 * mach/msg.c: Include <mach.h>.
9788 (__mach_msg): Add hidden definition.
9789 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9790 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9791 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9792 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9793 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9794 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9795 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9796 prototype and definition.
9797 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9798 hidden target for _hurd_self_sigstate.
9799
9800 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9801
9802 [BZ #23007]
9803 * stdlib/tst-strtod-nan-sign-main.c: New file.
9804 * stdlib/tst-strtod-nan-sign.c: Likewise.
9805 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9806 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9807 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9808 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9809 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9810
9811 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9812
9813 [BZ #23007]
9814 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9815 appropriate sign.
9816
9817 2018-06-14 Florian Weimer <fweimer@redhat.com>
9818
9819 [BZ #23290]
9820 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9821 that the result stays within the ISO-8859-1 range.
9822 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9823 characters are defined in IBM273.
9824
9825 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9826
9827 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9828 __mach_task_self): Remove attribute_hidden.
9829
9830 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9831
9832 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9833 ignore -Wrestrict for one test.
9834
9835 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9836 Szabolcs Nagy <szabolcs.nagy@arm.com>
9837
9838 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9839
9840 2018-06-14 Florian Weimer <fweimer@redhat.com>
9841
9842 * scripts/update-abilist.sh: Accept empty list of files to patch.
9843
9844 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9845
9846 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9847 test-xfail-check-abi-libmachuser): Add.
9848 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9849 __libc_read and __libc_write to __read and __write.
9850 * sysdeps/hurd/include/hurd/port.h: New file.
9851 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9852 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9853 __thread_switch, __evc_wait): Move declarations to...
9854 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9855 attribute_hidden.
9856 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9857 use PLT to call _hurd_self_sigstate.
9858
9859 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9860
9861 [BZ #23279]
9862 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9863 MAX_EXP as overflowing.
9864 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9865 overflow flag.
9866 (round_str): Output also whether result overflows in each rounding
9867 mode.
9868 * stdlib/tst-strtod-round-data: Add more tests.
9869 * stdlib/tst-strtod-round-data.h: Regenerated.
9870 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9871 (TEST): Handle extra arguments for overflow flags.
9872 (struct test_overflow): New type.
9873 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9874 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9875 (test_in_one_mode): Take argument with overflow information.
9876 (do_test): Update calls to test_in_one_mode.
9877
9878 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9879
9880 * elf/dl-load (_dl_dst_substitute): Correct comment.
9881 (_dl_dst_count): Likewise.
9882
9883 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9884 lll_futex_timed_wait.
9885
9886 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9887
9888 [BZ #23277]
9889 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9890 attribute.
9891 * math/test-nan-const.c: New file.
9892 * math/Makefile (tests): Add test-nan-const.
9893 (CFLAGS-test-nan-const.c): New variable.
9894
9895 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9896
9897 * benchtests/scripts/compare_strings.py (process_results): Add
9898 funcs argument. Compare only functions which are selected.
9899 (main): Check if base function is among selected functions.
9900 Pass selected functions to process_results.
9901 (__main__): Add -f/--functions argument.
9902
9903 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9904 Hongbo Zhang <hongbo.zhang@linaro.org>
9905
9906 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9907 __memcpy_falkor for phecda core.
9908 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9909 __memmove_falkor for phecda core.
9910 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9911 __memset_falkor for phecda core.
9912 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9913 for phecda core.
9914 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9915 macro to identify phecda core.
9916
9917 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9918 Andreas Schwab <schwab@suse.de>
9919 Dmitry V. Levin <ldv@altlinux.org>
9920 Florian Weimer <fweimer@redhat.com>
9921
9922 [BZ #23102]
9923 [BZ #21942]
9924 [BZ #18018]
9925 [BZ #23259]
9926 CVE-2011-0536
9927 * elf/dl-dst.h: Remove DL_DST_COUNT.
9928 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9929 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9930 (is_dst): Comment. Support ELF gABI.
9931 (_dl_dst_count): Comment. Simplify and count DSTs.
9932 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9933 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9934 locals.
9935
9936 2018-06-12 Zack Weinberg <zackw@panix.com>
9937
9938 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9939 * sysdeps/unix/sysv/linux/dl-sysdep.c
9940 Include not-cancel.h. Use __close_nocancel instead of __close,
9941 __open64_nocancel instead of __open, __read_nocancel instead of
9942 __libc_read, and __write_nocancel instead of __libc_write.
9943
9944 * csu/check_fds.c (check_one_fd)
9945 * sysdeps/posix/fdopendir.c (__fdopendir)
9946 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9947 instead of __fcntl and/or __libc_fcntl.
9948
9949 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9950 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9951 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9952 Use __open64_nocancel instead of __open_nocancel.
9953
9954 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9955 hidden_proto declarations to the end and issue them if either
9956 IS_IN(libc) or IS_IN(rtld).
9957 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9958 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9959 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9960 read_nocancel, waitpid_nocancel, write_nocancel.
9961
9962 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9963 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9964 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9965
9966 * nptl/pt-fcntl.c: New file.
9967 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9968 (libpthread-routines): Add pt-fcntl.
9969 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9970 (__libc_fcntl): Remove attribute_hidden.
9971 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9972 __fcntl_nocancel_adjusted, not fcntl_common.
9973 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9974 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9975 to fcntl_nocancel.c.
9976 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9979 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9980
9981 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9982 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9983 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9984 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9985 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9986 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9987 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9988 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9989 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9990 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9991 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9992 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9993 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9994 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9995 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9996 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9997 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9998 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9999 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10000 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10001
10002 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10003 libpthread-routines.
10004 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10005 defines nothing.
10006
10007 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10008 __libc_read, and __write instead of __libc_write. Define
10009 __open64 in addition to __open.
10010
10011 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10012
10013 [BZ #23250]
10014 [BZ #10686]
10015 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10016 to _private_tm[3] and add __glibc_reserved2.
10017 Add _Static_assert of offset of __private_ss == 0x30.
10018 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10019 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10020
10021 2018-06-12 Florian Weimer <fweimer@redhat.com>
10022
10023 x86: Make strncmp usable from rtld.
10024 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10025 __strncmp_ia32 if in libc (and not in rtld).
10026 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10027 strncmp if not in libc (and not to __strncmp_sse2).
10028
10029 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10030
10031 [BZ #23140]
10032 * localedata/locales/gd_GB (mon): Rename to...
10033 (alt_mon): This.
10034 (mon): Import from CLDR (genitive case).
10035 * localedata/locales/hsb_DE (mon): Rename to...
10036 (alt_mon): This.
10037 (mon): Import from CLDR (genitive case).
10038 * localedata/locales/wa_BE (mon): Rename to...
10039 (alt_mon): This.
10040 (mon): Add, fill with the proper genitive forms, but CLDR data
10041 is incomplete; completed according to the comments in this file.
10042 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10043
10044 * localedata/locales/wa_BE (country_name): Reword
10045 "Beljike" -> "Beldjike".
10046
10047 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10048
10049 [BZ #23272]
10050 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10051 cases of non-finite arguments.
10052 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10053
10054 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10055
10056 [BZ #23174]
10057 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10058
10059 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10060
10061 [BZ #23264]
10062 * include/unistd.h (__execvpex): New prototype.
10063 * posix/Makefile (tests): Add tst-spawn4.
10064 (tests-internal): Add tst-spawn4-compat.
10065 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10066 * posix/tst-spawn4-compat.c: New file.
10067 * posix/tst-spawn4.c: Likewise.
10068 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10069 binaries as shell scripts.
10070 * sysdeps/posix/spawni.c (__spawni): Likewise.
10071
10072 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10073
10074 [BZ #23145]
10075 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10076 ($(all-built-dso:=.dynsym): New target.
10077 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10078 ($(objpfx)check-initfini.out): New target.
10079 (generated): Add check-initfini.out.
10080 * scripts/check-initfini.awk: New file.
10081 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10082 (_fini): Likewise.
10083 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10084 (_fini): Likewise.
10085 * sysdeps/arm/crti.S (_init): Mark as hidden.
10086 (_fini): Likewise.
10087 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10088 (_fini): Likewise.
10089 * sysdeps/i386/crti.S (_init): Mark as hidden.
10090 (_fini): Likewise.
10091 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10092 (_fini): Likewise.
10093 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10094 (_fini): Likewise.
10095 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10096 (_fini): Likewise.
10097 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10098 (_fini): Likewise.
10099 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10100 (_fini): Likewise.
10101 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10102 (_fini): Likewise.
10103 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10104 (_fini): Likewise.
10105 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10106 (_fini): Likewise.
10107 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10108 (_fini): Likewise.
10109 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10110 (_fini): Likewise.
10111 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10112 (_fini): Likewise.
10113 * sysdeps/sh/crti.S (_init): Mark as hidden.
10114 (_fini): Likewise.
10115 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10116 (_fini): Likewise.
10117 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10118 (_fini): Likewise.
10119
10120 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10121
10122 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10123 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10124 and TF redirection to KFtype and KF only when the default
10125 long double type is not the IEEE 128-bit floating point type.
10126
10127 2018-06-05 Joseph Myers <joseph@codesourcery.com>
10128
10129 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10130 macro.
10131 (HWCAP_USCAT): Likewise.
10132 (HWCAP_ILRCPC): Likewise.
10133 (HWCAP_FLAGM): Likewise.
10134 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10135 Increase to 28.
10136 (_dl_aarch64_cap_flags): Add new flag names.
10137
10138 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10139 (MAP_FIXED_NOREPLACE): New macro.
10140 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10141 (MAP_FIXED_NOREPLACE): Likewise.
10142 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10143 (MAP_FIXED_NOREPLACE): Likewise.
10144 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10145 (MAP_FIXED_NOREPLACE): Likewise.
10146 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10147 (MAP_FIXED_NOREPLACE): Likewise.
10148 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10149 (MAP_FIXED_NOREPLACE): Likewise.
10150 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10151 (MAP_FIXED_NOREPLACE): Likewise.
10152 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10153 (MAP_FIXED_NOREPLACE): Likewise.
10154 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10155 (MAP_FIXED_NOREPLACE): Likewise.
10156 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10157 (MAP_FIXED_NOREPLACE): Likewise.
10158 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10159 (MAP_FIXED_NOREPLACE): Likewise.
10160 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10161 (MAP_FIXED_NOREPLACE): Likewise.
10162 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10163 (MAP_FIXED_NOREPLACE): Likewise.
10164 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10165 (MAP_FIXED_NOREPLACE): Likewise.
10166 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10167 (MAP_FIXED_NOREPLACE): Likewise.
10168
10169 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10170 version to 4.17.
10171
10172 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10173
10174 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10175 version to 4.17
10176
10177 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10178
10179 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10180 int.
10181 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10182
10183 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10184
10185 * benchtests/scripts/compare_string.py: (process_results) Catch
10186 exception in non-existent base_func and catch exception in
10187 non-existent attribute.
10188 (parse_file) Catch exception if input file does not exist.
10189
10190 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10191
10192 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10193 options to avoid diff calculation and omit header, respectively.
10194 (main): process --no-diff and --no-header
10195
10196 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10197 H.J. Lu <hongjiu.lu@intel.com>
10198
10199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10200 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10201 wcsncmp-sse2.
10202 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10203 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10204 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10205 and __wcsncmp_sse2.
10206 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10207 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10208 AVX unaligned load is fast and vzeroupper is preferred.
10209 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10210 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10211 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10212 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10213 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10214 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10215 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10216 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10217 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10218 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10219 is undefined.
10220
10221 2018-06-01 Florian Weimer <fweimer@redhat.com>
10222
10223 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10224 configuring with --disable-multi-arch, building with
10225 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10226 Haswell-era CPU.
10227
10228 2018-06-01 Florian Weimer <fweimer@redhat.com>
10229
10230 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10231 results from building with “-march=x86-64 -mtune=generic
10232 -mfpmath=sse” and running on a Haswell-era CPU.
10233
10234 2018-06-01 Joseph Myers <joseph@codesourcery.com>
10235
10236 [BZ #18473]
10237 * soft-fp/sqrttf2.c: Remove file.
10238 * soft-fp/sqrtdf2.c: Move to ....
10239 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10240 <shlib-compat.h>.
10241 (__sqrtdf2): Make conditional on
10242 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10243 symbol.
10244 * soft-fp/sqrtsf2.c: Move to ....
10245 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10246 <shlib-compat.h>.
10247 (__sqrtsf2): Make conditional on
10248 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10249 symbol.
10250 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10251 (gcc-double-routines): Remove sqrtdf2.
10252 (gcc-quad-routines): Remove sqrttf2.
10253 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10254 Do not filter out sqrtsf2 and sqrtdf2.
10255 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10256 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10257
10258 2018-06-01 Florian Weimer <fweimer@redhat.com>
10259
10260 * sysdeps/generic/libcidn.abilist: Remove file.
10261
10262 2018-06-01 Florian Weimer <fweimer@redhat.com>
10263
10264 [BZ #23236]
10265 * libio/strfile.h (struct _IO_str_fields): Rename members to
10266 discourage their use and add comment.
10267 (_IO_STR_DYNAMIC): Remove unused macro.
10268 * libio/strops.c (_IO_str_init_static_internal): Do not use
10269 callback pointers. Call malloc and free.
10270 (_IO_str_overflow): Do not use callback pointers. Call malloc
10271 and free.
10272 (enlarge_userbuf): Likewise.
10273 (_IO_str_finish): Call free.
10274 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10275 _allocate_buffer_unused.
10276 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10277 and free.
10278 (enlarge_userbuf): Likewise.
10279 (_IO_wstr_finish): Call free.
10280 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10281 _allocate_buffer_unused, _free_buffer_unused.
10282 * libio/memstream.c (__open_memstream): Likewise.
10283 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10284 * libio/wmemstream.c (open_wmemstream): Likewise.
10285
10286 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10287
10288 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10289 AMD Ryzen 7 1800X.
10290
10291 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10292
10293 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10294 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10295 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10296 New file.
10297 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10298 Likewise.
10299 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10300
10301 2018-05-29 Florian Weimer <fweimer@redhat.com>
10302
10303 * support/Makefile (libsupport-routines): Add
10304 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10305 xpthread_barrierattr_setpshared.
10306 * support/xpthread_barrierattr_destroy.c: New file.
10307 * support/xpthread_barrierattr_init.c: Likewise.
10308 * support/xpthread_barrierattr_setpshared.c: Likewise.
10309
10310 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10311
10312 [BZ #23206]
10313 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10314 _r_debug and update DT_DEBUG for debugger.
10315
10316 2018-05-29 Florian Weimer <fweimer@redhat.com>
10317
10318 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10319 (tst-strtod5i.out): Likewise.
10320
10321 2018-05-25 Joseph Myers <joseph@codesourcery.com>
10322
10323 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10324 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10325 (sparc64-quad-routines): New variable. Moved from ....
10326 [$(subdir) = soft-fp] (sysdep_routines): Add
10327 $(sparc64-quad-routines). Moved from ....
10328 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10329 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10330 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10331 moved from ....
10332 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10333 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10334 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10335 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10336 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10337 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10338 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10339 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10340 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10341 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10342 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10343 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10344 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10345 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10346 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10347 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10348 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10349 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10350 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10351 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10352 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10353 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10354 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10355 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10356 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10357 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10358 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10359 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10360 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10361 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10362 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10363 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10364 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10365 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10366 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10367 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10368 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10369 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10370 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10371 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10372 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10373 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10374 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10375 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10376 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10377 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10378 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10379 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10380 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10381 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10382 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10383 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10384 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10385 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10386 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10387 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10388 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10389 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10390
10391 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10392 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10393 (sparc32-quad-routines): New variable. Moved from ....
10394 [$(subdir) = soft-fp] (sysdep_routines): Add
10395 $(sparc32-quad-routines). Moved from ....
10396 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10397 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10398 moved from ....
10399 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10400 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10401 * sysdeps/sparc/sparc32/q_add.c: ... here.
10402 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10403 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10404 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10405 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10406 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10407 * sysdeps/sparc/sparc32/q_div.c: ... here.
10408 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10409 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10410 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10411 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10412 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10413 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10414 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10415 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10416 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10417 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10418 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10419 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10420 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10421 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10422 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10423 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10424 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10425 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10426 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10427 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10428 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10429 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10430 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10431 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10432 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10433 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10434 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10435 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10436 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10437 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10438 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10439 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10440 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10441 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10442 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10443 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10444 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10445 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10446 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10447 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10448 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10449 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10450 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10451 * sysdeps/sparc/sparc32/q_util.c: ... here.
10452 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10453 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10454 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10455 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10456
10457 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10458 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10459
10460 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10461 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10462 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10463 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10464
10465 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10466
10467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10468 powerpc/soft-fp.
10469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10470 Likewise.
10471 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10472 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10473
10474 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10475
10476 [BZ #23171]
10477 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10478 double version.
10479
10480 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10481
10482 * sysdeps/sh/Implies: Remove sh/soft-fp.
10483 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10484 * sysdeps/sh/sfp-machine.h: ... here.
10485
10486 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10487
10488 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10489 (__mempcpy_erms): Skip zero length.
10490 (__memmove_erms): Likewise.
10491 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10492 (__memset_erms): Likewise.
10493
10494 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10495
10496 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10497 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10498 Add functions moved from ....
10499 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10500 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10501 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10502 from ....
10503 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10504 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10505 * sysdeps/alpha/e_sqrtl.c: ... here.
10506 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10507 * sysdeps/alpha/local-soft-fp.h: ... here.
10508 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10509 * sysdeps/alpha/ots_add.c: ... here.
10510 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10511 * sysdeps/alpha/ots_cmp.c: ... here.
10512 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10513 * sysdeps/alpha/ots_cmpe.c: ... here.
10514 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10515 * sysdeps/alpha/ots_cvtqux.c: ... here.
10516 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10517 * sysdeps/alpha/ots_cvtqx.c: ... here.
10518 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10519 * sysdeps/alpha/ots_cvttx.c: ... here.
10520 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10521 * sysdeps/alpha/ots_cvtxq.c: ... here.
10522 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10523 * sysdeps/alpha/ots_cvtxt.c: ... here.
10524 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10525 * sysdeps/alpha/ots_div.c: ... here.
10526 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10527 * sysdeps/alpha/ots_mul.c: ... here.
10528 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10529 * sysdeps/alpha/ots_nintxq.c: ... here.
10530 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10531 * sysdeps/alpha/ots_sub.c: ... here.
10532 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10533 * sysdeps/alpha/sfp-machine.h: ... here.
10534
10535 2018-05-23 Florian Weimer <fweimer@redhat.com>
10536
10537 [BZ #19728]
10538 [BZ #19729]
10539 [BZ #22247]
10540 CVE-2016-6261
10541 CVE-2016-6263
10542 CVE-2017-14062
10543 Switch to extern IDNA implementation (libidn2).
10544 * libidn: Remove subdirectory.
10545 * LICENSES: Do not mention licensing conditions for the removed
10546 libidn code.
10547 * config.h.in (HAVE_LIBIDN): Remove.
10548 * include/dlfcn.h (__libc_dlopen): Update comment.
10549 * include/idna.h: Remove file.
10550 * inet/Makefile (routines): Add idna.
10551 (tests-static, tests-internal): Add tst-idna_name_classify.
10552 (LOCALES): Generate locales for tests.
10553 (tst-idna_name_classify.out): Depend on generated locales.
10554 * inet/idna_name_classify.c: New file.
10555 * inet/tst-idna_name_classify.c: Likewise.
10556 * inet/net-internal.h (__idna_to_dns_encoding)
10557 (__idna_from_dns_encoding): Declare.
10558 * inet/net-internal.h (enum idna_name_classification): Define.
10559 (__idna_name_classify): Declare.
10560 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10561 __idna_from_dns_encoding.
10562 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10563 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10564 name as a fallback in case of encoding errors.
10565 (getnameinfo): Use DEPRECATED_NI_IDN.
10566 * inet/idna.c: New file.
10567 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10568 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10569 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10570 (modules-names): Add tst-no-libidn2.
10571 (extra-test-objs): Add tst-no-libidn2.os.
10572 (LDFLAGS-tst-no-libidn2.so): Set soname.
10573 (LOCALES): Set, and generate locales.
10574 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10575 (tst-resolv-ai_idn-latin1): Likewise.
10576 (tst-resolv-ai_idn-nolibidn2): Likewise.
10577 (tst-resolv-ai_idn.out): Depend on locales.
10578 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10579 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10580 tst-no-libidn2.so.
10581 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10582 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10583 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10584 * resolv/tst-resolv-ai_idn.c: New file.
10585 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10586 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10587 * resolv/tst-no-libidn2.c: Likewise.
10588 * support/support_format_addrinfo.c (format_ai_flags): Do not
10589 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10590 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10591 (gaih_inet): Call __idna_to_dns_encoding and
10592 __idna_from_dns_encoding, and use the original (punycode) name if
10593 __idna_from_dns_encoding fails due to an encoding error.
10594 (getaddrinfo): Use DEPRECATED_AI_IDN.
10595 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10596 * sysdeps/unix/inet/configure: Remove file.
10597 * sysdeps/unix/inet/configure.ac: Likewise.
10598
10599 2018-05-23 Florian Weimer <fweimer@redhat.com>
10600
10601 Implement allocate_once.
10602 * include/allocate_once.h: New file.
10603 * misc/allocate_once.c: Likewise.
10604 * misc/tst-allocate_once.c: Likewise.
10605 * misc/Makefile (routines): Add allocate_once.
10606 (tests-internal): Add tst-allocate_once.
10607 (generated): Add tst-allocate_once.mtrace,
10608 tst-allocate_once-mem.out.
10609 (tests-special): Add tst-allocate_once-mem.out.
10610 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10611 (tst-allocate_once-mem.out): Call mtrace.
10612 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10613
10614 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10615
10616 [BZ #23196]
10617 * string/test-memcpy.c (do_test1): New function.
10618 (test_main): Call it.
10619
10620 2018-05-23 Andreas Schwab <schwab@suse.de>
10621
10622 [BZ #23196]
10623 CVE-2018-11237
10624 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10625 (L(preloop_large)): Save initial destination pointer in %r11 and
10626 use it instead of %rax after the loop.
10627 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10628
10629 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10630
10631 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10632 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10633 -I../soft-fp. Moved from ....
10634 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10635 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10636 * sysdeps/aarch64/e_sqrtl.c: ... here.
10637 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10638 * sysdeps/aarch64/sfp-machine.h: ... here.
10639
10640 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10641 -Wmaybe-uninitialized around access to fq[0].
10642 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10643 Likewise.
10644
10645 [BZ #18471]
10646 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10647 aliases for non-libc case of versioned symbols.
10648 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10649 (llseek): Define as compat symbol if
10650 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10651 with link warning.
10652 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10653 Make into a compat symbol, disabled for minimum symbol version
10654 GLIBC_2.28 and later.
10655 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10656
10657 2018-05-22 Florian Weimer <fweimer@redhat.com>
10658
10659 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10660 not add -mpreferred-stack-boundary=4.
10661 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10662 (stack-align-test-flags): Likewise.
10663 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10664 Likewise.
10665 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10666 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10667 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10668 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10669 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10670 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10671 (CFLAGS-tst-align2.c): Likewise.
10672
10673 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10674
10675 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10676 (index_arch_Prefer_FSRM): Likewise.
10677 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10678 Also check Prefer_FSRM.
10679 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10680 Also return OPTIMIZE (erms) for Prefer_FSRM.
10681
10682 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10683
10684 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10685 (index_cpu_FSRM): Likewise.
10686 (reg_FSRM): Likewise.
10687
10688 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10689
10690 * math/gen-tgmath-tests.py: Import sys.
10691 (Tests.__init__): Initialize macros_seen.
10692 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10693 if requested to do so for this macro.
10694 (Tests.add_all_tests): Take argument for macro for which to
10695 generate tests.
10696 (Tests.check_macro_list): New function.
10697 (main): Handle check-list argument and argument specifying macro
10698 for which to generate tests.
10699 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10700 [PYTHON] (tgmath3-macro-tests): Likewise.
10701 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10702 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10703 not test-tgmath3.c.
10704 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10705 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10706 to CFLAGS.
10707 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10708 [PYTHON] ($(foreach
10709 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10710 rule.
10711 [PYTHON] (tests-special): Add
10712 $(objpfx)test-tgmath3-macro-list.out.
10713 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10714
10715 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10716 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10717 later.
10718
10719 [BZ #22639]
10720 * time/tzset.c (SECSPERDAY): Cast to time_t.
10721 * time/tst-y2039.c: New file.
10722 * time/Makefile (tests): Add tst-y2039.
10723
10724 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10725
10726 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10727 (PREFETCH_ONE_SET): Remove duplicate line.
10728
10729 2018-05-17 Florian Weimer <fweimer@redhat.com>
10730
10731 * sysdeps/generic/math-type-macros-double.h: Include
10732 <math-nan-payload-double.h> after <libm-alias-double.h>.
10733 * sysdeps/generic/math-type-macros-float.h: Include
10734 <math-nan-payload-float.h> after <libm-alias-float.h>.
10735 * sysdeps/generic/math-type-macros-float128.h: Include
10736 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10737 * sysdeps/generic/math-type-macros-ldouble.h: Include
10738 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10739
10740 2018-05-17 Andreas Schwab <schwab@suse.de>
10741
10742 * resolv/res_send.c (__res_context_send): Don't set errno when
10743 returing error after malloc failure.
10744
10745 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10746
10747 * nptl/allocatestack.c (allocate_stack): Remove the
10748 !__ASSUME_PRIVATE_FUTEX paths.
10749 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10750 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10751 Likewise.
10752 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10753 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10754 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10755 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10756 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10757 !__ASSUME_PRIVATE_FUTEX path.
10758 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10759 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10760 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10761 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10762 !__ASSUME_PRIVATE_FUTEX macros.
10763 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10764 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10765 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10766 * sysdeps/unix/sysv/linux/kernel-features.h
10767 (__ASSUME_PRIVATE_FUTEX): Removed.
10768
10769 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10770
10771 * math/Makefile (libm-narrow-fns): Add div.
10772 (libm-test-funcs-narrow): Likewise.
10773 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10774 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10775 * math/gen-auto-libm-tests.c (test_functions): Add div.
10776 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10777 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10778 (NARROW_DIV_TRIVIAL): Likewise.
10779 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10780 macro.
10781 (__ddivl): Likewise.
10782 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10783 ddiv.
10784 (CFLAGS-nldbl-ddiv.c): New variable.
10785 (CFLAGS-nldbl-fdiv.c): Likewise.
10786 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10787 __nldbl_ddivl.
10788 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10789 prototype.
10790 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10791 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10792 * math/auto-libm-test-in: Add tests of div.
10793 * math/auto-libm-test-out-narrow-div: New generated file.
10794 * math/libm-test-narrow-div.inc: New file.
10795 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10796 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10797 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10798 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10799 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10800 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10801 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10802 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10803 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10804 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10805 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10806 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10807 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10808 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10809 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10810 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10811 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10812 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10814 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10815 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10816 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10817 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10818 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10819 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10820 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10821 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10822 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10823 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10824 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10825 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10826 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10831 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10832 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10833 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10834 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10835 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10836 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10837 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10838 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10839
10840 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10841
10842 [BZ #23178]
10843 * nscd/nscd-client.h (sendfileall): Remove prototype.
10844 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10845 (handle_request): Use writeall instead of sendfileall.
10846 * nscd/aicache.c (addhstaiX): Likewise.
10847 * nscd/grpcache.c (cache_addgr): Likewise.
10848 * nscd/hstcache.c (cache_addhst): Likewise.
10849 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10850 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10851 * nscd/pwdcache.c (cache_addpw): Likewise.
10852 * nscd/servicescache.c (cache_addserv): Likewise.
10853 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10854 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10855 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10856 Remove define.
10857
10858 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10859
10860 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10861 Include <string/strncat.c>.
10862 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10863 alias.
10864 (__GI___strncat): New hidden alias.
10865
10866 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10867
10868 * sysdeps/mips/mips32/libm-test-ulps: Update.
10869 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10870
10871 2018-05-16 Florian Weimer <fweimer@redhat.com>
10872
10873 * support/Makefile (libsupport-routines): Add support_quote_blob,
10874 support_test_compare_blob.
10875 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10876 * support/check.h (TEST_COMPARE_BLOB): Define.
10877 (support_test_compare_blob): Declare.
10878 * support/support.h (support_quote_blob): Declare.
10879 * support/support_quote_blob.c: New file.
10880 * support/support_test_compare_blob.c: Likewise.
10881 * support/tst-support_quote_blob.c: Likewise.
10882 * support/tst-test_compare_blob.c: Likewise.
10883
10884 2018-05-16 Florian Weimer <fweimer@redhat.com>
10885
10886 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10887 of <strtod_nan_double.h>.
10888 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10889 instead of SET_MANTISSA.
10890 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10891 of include <strtod_nan_float.h>.
10892 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10893 instead of <strtod_nan_ldouble.h>.
10894 * stdlib/strtod_nan_double.h: Move to ...
10895 * sysdeps/generic/math-nan-payload-double.h: ... here.
10896 (FLOAT): Remove definition.
10897 (SET_MANTISSA): Rename to ...
10898 (SET_NAN_PAYLOAD): ... this.
10899 * stdlib/strtod_nan_float.h: Move to ...
10900 * sysdeps/generic/math-nan-payload-float.h: ... here.
10901 (FLOAT): Remove definition.
10902 (SET_MANTISSA): Rename to ...
10903 (SET_NAN_PAYLOAD): ... this.
10904 * sysdeps/generic/math-type-macros-double.h: Include
10905 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10906 instead of <math-svid-compat.h>.
10907 * sysdeps/generic/math-type-macros-float.h: Include
10908 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10909 instead of <math-svid-compat.h>.
10910 * sysdeps/generic/math-type-macros-float128.h: Include
10911 <math-nan-payload-float128.h>.
10912 * sysdeps/generic/math-type-macros-ldouble.h: Include
10913 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10914 instead of <math-svid-compat.h>.
10915 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10916 check for definition.
10917 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10918 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10919 Include <ieee754_float128.h>.
10920 (FLOAT): Remove definition.
10921 (SET_MANTISSA): Rename to ...
10922 (SET_NAN_PAYLOAD): ... this.
10923 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10924 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10925 Do not include <float128_private.h>.
10926 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10927 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10928 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10929 (FLOAT): Remove definition.
10930 (SET_MANTISSA): Rename to ...
10931 (SET_NAN_PAYLOAD): ... this.
10932 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10933 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10934 (FLOAT): Remove definition.
10935 (SET_MANTISSA): Rename to ...
10936 (SET_NAN_PAYLOAD): ... this.
10937 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10938 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10939 (FLOAT): Remove definition.
10940 (SET_MANTISSA): Rename to ...
10941 (SET_NAN_PAYLOAD): ... this.
10942 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10943 of "../stdlib/strtod_nan_double.h".
10944 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10945 of "../stdlib/strtod_nan_float.h".
10946 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10947 instead of "../stdlib/strtod_nan_ldouble.h".
10948 * manual/arith.texi (Parsing of Floats): Adjust comment.
10949
10950 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10951
10952 * math/Makefile (libm-narrow-fns): Add mul.
10953 (libm-test-funcs-narrow): Likewise.
10954 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10955 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10956 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10957 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10958 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10959 (NARROW_MUL_TRIVIAL): Likewise.
10960 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10961 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10962 macro.
10963 (__dmull): Likewise.
10964 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10965 dmul.
10966 (CFLAGS-nldbl-dmul.c): New variable.
10967 (CFLAGS-nldbl-fmul.c): Likewise.
10968 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10969 __nldbl_dmull.
10970 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10971 prototype.
10972 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10973 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10974 * math/auto-libm-test-in: Add tests of mul.
10975 * math/auto-libm-test-out-narrow-mul: New generated file.
10976 * math/libm-test-narrow-mul.inc: New file.
10977 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10978 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10979 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10980 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10981 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10982 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10983 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10984 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10985 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10986 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10987 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10988 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10989 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10990 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10991 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10992 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10993 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10994 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10996 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10997 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10998 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10999 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11000 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11001 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11002 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11003 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11004 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11005 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11006 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11007 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11008 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11013 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11014 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11015 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11016 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11017 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11018 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11019 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11020 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11021
11022 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11023
11024 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11025 with *%eax in call.
11026
11027 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11028
11029 * sysdeps/i386/ldsodefs.h: Removed.
11030 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11031 * sysdeps/x86/ldsodefs.h: This.
11032 (La_i86_regs): New.
11033 (La_i86_retval): Likewise.
11034 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11035 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11036
11037 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11038
11039 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11040 unnecessary testl.
11041
11042 2018-05-13 Alan Modra <amodra@gmail.com>
11043
11044 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11045 R_PARISC_TLS_DTPOFF32 reloc addend.
11046
11047 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11048
11049 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11050 * math/math.h: Restrict the prototype definition for the functions
11051 issignaling(_Float128) and iszero(_Float128); and template
11052 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11053 __HAVE_FLOAT128_UNLIKE_LDBL.
11054 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11055 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11056 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11057 __f128() constants; define the type _Float128 as long double;
11058 and reuse long double in __CFLOAT128.
11059
11060 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11061
11062 * sysdeps/generic/math_private.h: Do not include
11063 <math-barriers.h>.
11064 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11065 <math_private.h>.
11066 * math/fromfp.h: Include <math-barriers.h>.
11067 * math/math-narrow.h: Likewise.
11068 * math/s_nextafter.c: Likewise.
11069 * math/s_nexttowardf.c: Likewise.
11070 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11071 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11072 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11073 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11074 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11075 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11076 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11077 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11078 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11079 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11080 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11081 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11082 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11083 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11084 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11085 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11086 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11087 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11088 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11089 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11090 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11091 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11092 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11093 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11094 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11095 * sysdeps/ieee754/k_standardl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11112 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11113 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11114 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11115 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11116 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11117 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11118
11119 2018-05-11 Florian Weimer <fweimer@redhat.com>
11120
11121 Use 64-bit epoch values in the time zone file parser.
11122 * include/time.h (internal_time_t): Define.
11123 (__tzfile_compute): Use it.
11124 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11125 member.
11126 (transitions): Switch to internal_time_t.
11127 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11128 types.
11129 (__tzfile_compute): Use internal_time_t for timer argument. Check
11130 for truncation before calling __offtime.
11131
11132 2018-05-11 Florian Weimer <fweimer@redhat.com>
11133
11134 [BZ #23166]
11135 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11136 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11137 Likewise.
11138 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11139 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11140 export without --enable-obsolete-rpc.
11141 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11142 symbol. This should not have been exported, ever.
11143
11144 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11145
11146 [BZ #23152]
11147 * localedata/locales/gd_GB (abmon): Fix typo in May:
11148 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11149
11150 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11151
11152 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11153 Use multiple registers to copy data in loop tail.
11154
11155 * sysdeps/aarch64/multiarch/memmove_falkor.S
11156 (__memmove_falkor): Use multiple registers to move data in
11157 loop tail.
11158
11159 2018-05-10 Joseph Myers <joseph@codesourcery.com>
11160
11161 * math/math-underflow.h: New file.
11162 * sysdeps/generic/math_private.h: Do not include <float.h>.
11163 (fabs_tg): Remove macro. Moved to math-underflow.h.
11164 (min_of_type_f): Likewise.
11165 (min_of_type_): Likewise.
11166 (min_of_type_l): Likewise.
11167 (min_of_type_f128): Likewise.
11168 (min_of_type): Likewise.
11169 (math_check_force_underflow): Likewise.
11170 (math_check_force_underflow_nonneg): Likewise.
11171 (math_check_force_underflow_complex): Likewise.
11172 * math/e_exp2_template.c: Include <math-underflow.h>.
11173 * math/k_casinh_template.c: Likewise.
11174 * math/s_catan_template.c: Likewise.
11175 * math/s_catanh_template.c: Likewise.
11176 * math/s_ccosh_template.c: Likewise.
11177 * math/s_cexp_template.c: Likewise.
11178 * math/s_clog10_template.c: Likewise.
11179 * math/s_clog_template.c: Likewise.
11180 * math/s_csin_template.c: Likewise.
11181 * math/s_csinh_template.c: Likewise.
11182 * math/s_csqrt_template.c: Likewise.
11183 * math/s_ctan_template.c: Likewise.
11184 * math/s_ctanh_template.c: Likewise.
11185 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11186 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11187 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11188 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11189 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11190 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11191 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11193 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11194 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11195 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11196 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11197 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11198 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11199 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11200 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11201 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11202 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11203 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11204 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11205 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11206 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11207 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11208 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11209 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11210 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11211 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11212 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11213 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11214 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11215 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11216 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11217 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11218 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11219 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11220 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11221 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11222 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11223 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11224 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11225 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11226 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11227 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11228 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11229 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11230 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11231 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11232 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11233 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11234 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11235 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11236 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11237 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11238 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11239 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11241 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11242 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11243 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11244 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11246 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11247 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11248 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11249 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11250 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11251 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11252 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11253 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11255 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11256 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11257 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11258 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11259 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11260 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11261 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11262 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11263 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11264 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11265 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11266 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11267 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11268 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11269
11270 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11271
11272 * sysdeps/generic/math-barriers.h: New file.
11273 * sysdeps/generic/math_private.h [!math_opt_barrier]
11274 (math_opt_barrier): Move to math-barriers.h.
11275 [!math_opt_barrier] (math_force_eval): Likewise.
11276 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11277 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11278 math-barriers.h.
11279 (math_force_eval): Likewise.
11280 * sysdeps/alpha/fpu/math-barriers.h: New file.
11281 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11282 math-barriers.h.
11283 (math_force_eval): Likewise.
11284 * sysdeps/x86/fpu/math-barriers.h: New file.
11285 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11286 math-barriers.h.
11287 (math_force_eval): Likewise.
11288 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11289 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11290 multiple-include guard for rename.
11291 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11292 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11293 math-barriers.h.
11294 (math_force_eval): Likewise.
11295
11296 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11297
11298 [BZ #22786]
11299 CVE-2018-11236
11300 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11301 computation.
11302 * stdlib/Makefile (test-bz22786): New test.
11303 * stdlib/test-bz22786.c: New test.
11304
11305 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11306
11307 * include/math-narrow-eval.h: New file. Contents moved from ....
11308 * sysdeps/generic/math_private.h: ... here.
11309 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11310 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11311 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11312 * stdlib/strtod_l.c: Likewise.
11313 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11314 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11315 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11316 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11317 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11318 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11319 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11320 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11321 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11322 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11323 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11324 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11325 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11326 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11327 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11328 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11329 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11330 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11331 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11332 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11333 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11334 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11335 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11336 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11337 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11338 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11339 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11340 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11341 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11342
11343 2018-05-08 Andreas Schwab <schwab@suse.de>
11344
11345 * sysdeps/nptl/internaltypes.h: Fix comment.
11346
11347 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11348
11349 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11350 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11351 hidden.
11352
11353 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11354
11355 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11356 of I into loop header.
11357 * benchtests/bench-memmove-walk.c
11358 (test_main): Likewise.
11359
11360 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11361
11362 Revert:
11363 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11364 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11365
11366 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11367
11368 [BZ #20419]
11369 * elf/dl-load.c (open_verify): Fix stack overflow.
11370 * elf/Makefile (tst-big-note): New test.
11371 * elf/tst-big-note-lib.S: New.
11372 * elf/tst-big-note.c: New.
11373
11374 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11375
11376 * scripts/abilist.awk: Ignore absolute symbols.
11377 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11378 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11379 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11380 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11381 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11382 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11383 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11384 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11385 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11386 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11387 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11388 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11389 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11390 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11391 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11392 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11393 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11394 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11395 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11396 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11397 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11398 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11399 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11400 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11401 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11402 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11403 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11404 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11405 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11406 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11407 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11408 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11409 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11410 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11411 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11412 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11413 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11414 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11415 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11416 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11417 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11418 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11419 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11420 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11421 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11422 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11423 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11424 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11425 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11426 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11427 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11428 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11429 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11430 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11431 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11432 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11433 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11434 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11435 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11436 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11437 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11438 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11439 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11440 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11441 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11442 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11443 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11444 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11445 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11446 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11447 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11448 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11449 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11450 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11451 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11452 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11453 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11454 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11455 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11456 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11457 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11458 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11459 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11460 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11461 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11462 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11463 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11464 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11465 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11466 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11467 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11468 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11469 Likewise.
11470 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11471 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11472 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11473 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11474 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11475 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11476 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11477 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11478 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11479 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11480 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11481 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11482 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11483 Likewise.
11484 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11485 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11486 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11487 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11488 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11489 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11490 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11491 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11492 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11493 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11494 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11495 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11496 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11497 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11498 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11499 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11500 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11501 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11502 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11503 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11504 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11505 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11506 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11507 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11508 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11509 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11510 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11511 Likewise.
11512 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11513 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11514 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11515 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11516 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11517 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11518 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11519 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11520 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11521 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11522 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11523 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11524 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11525 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11526 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11527 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11528 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11529 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11530 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11531 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11532 Likewise.
11533 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11534 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11535 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11536 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11537 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11538 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11539 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11540 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11541 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11542 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11543 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11544 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11545 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11546 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11547 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11548 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11549 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11550 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11551 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11552 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11553 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11554 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11555 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11556 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11557 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11558 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11559 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11560 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11565 Likewise.
11566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11571 Likewise.
11572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11573 Likewise.
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11576 Likewise.
11577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11579 Likewise.
11580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11581 Likewise.
11582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11585 Likewise.
11586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11587 Likewise.
11588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11589 Likewise.
11590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11594 Likewise.
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11601 Likewise.
11602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11604 Likewise.
11605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11606 Likewise.
11607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11608 Likewise.
11609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11610 Likewise.
11611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11614 Likewise.
11615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11616 Likewise.
11617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11618 Likewise.
11619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11620 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11621 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11622 Likewise.
11623 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11624 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11625 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11626 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11627 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11628 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11629 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11630 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11631 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11632 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11633 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11634 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11635 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11636 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11637 Likewise.
11638 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11639 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11640 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11641 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11642 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11643 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11644 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11645 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11646 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11647 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11648 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11649 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11650 Likewise.
11651 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11652 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11653 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11654 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11655 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11656 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11657 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11658 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11659 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11660 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11661 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11662 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11663 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11664 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11665 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11666 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11667 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11668 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11669 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11670 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11671 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11672 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11673 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11674 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11675 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11676 Likewise.
11677 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11678 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11679 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11680 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11681 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11682 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11683 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11684 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11685 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11686 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11687 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11688 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11689 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11690 Likewise.
11691 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11692 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11693 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11694 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11695 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11696 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11697 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11698 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11699 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11700 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11701 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11702 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11703 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11704 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11705 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11706 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11707 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11708 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11709 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11710 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11711 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11712 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11713 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11714 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11715 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11716 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11717 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11718 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11719 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11720 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11721 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11722 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11723 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11724 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11725 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11726 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11727 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11728 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11729
11730 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11731
11732 [BZ #23137]
11733 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11734 Use atomic_load_acquire to load __tid.
11735
11736 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11737
11738 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11739 Restore the pointer into %rdx, after syscall and use %rdx,
11740 instead of %rsi, to restore context.
11741
11742 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11743
11744 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11745 Pop the pointer into %rdx after syscall and use %rdx, instead
11746 of %rsi, to restore context.
11747
11748 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11749
11750 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11751 handlers after setjmp.
11752 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11753 defined.
11754 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11755 <libc-pointer-arith.h>.
11756 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11757 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11758 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11759 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11760 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11761 * sysdeps/x86/__longjmp_cancel.S: New file.
11762 * sysdeps/x86/longjmp.c: Likewise.
11763 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11764
11765 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11766
11767 * NEWS: Add ustat.h deprecation entry.
11768 * bits/ustat.h: Remove file.
11769 * misc/sys/ustat.h: Likewise.
11770 * misc/ustat.h: Likewise.
11771 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11772 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11773 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11774 compatibility mode.
11775 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11776 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11777 generic Linux implementation.
11778
11779 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11780
11781 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11782 * math/w_expl_compat.c: Likewise.
11783 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11784
11785 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11786
11787 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11788
11789 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11790
11791 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11792 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11793 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11794 Remove.
11795 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11797 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11798 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11799 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11800 and SYSCALL_LL64.
11801
11802 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11803
11804 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11805
11806 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11807 * math/w_asin_template.c: Likewise.
11808 * math/w_atanh_template.c: Likewise.
11809
11810 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11811
11812 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11813 to powerpc/powerpc64/be for big-endian.
11814 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11815 little-endian.
11816
11817 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11818 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11819 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11820 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11821 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11822 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11823 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11824 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11825 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11826 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11827 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11828 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11829 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11830 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11831 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11832 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11833 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11834 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11835 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11836 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11837 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11838 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11839 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11840 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11841 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11842 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11843 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11844 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11845 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11846 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11847 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11848 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11849
11850 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11851 adjusted to imply powerpc64 and older processors on powerpc64/be.
11852 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11853 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11854 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11855 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11856 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11857 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11858 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11859 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11860 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11861 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11862 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11863 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11864 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11865 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11866 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11867 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11868 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11869 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11870 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11871 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11872 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11873 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11874 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11875 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11876 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11877 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11878 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11879 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11880 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11881 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11882 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11883
11884 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11885 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11886 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11887 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11888
11889 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11890 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11891 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11892 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11893
11894 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11895 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11896 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11897 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11898 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11899 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11900 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11901 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11902 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11903 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11904 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11905
11906 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11907 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11908 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11909 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11910 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11911 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11912 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11913 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11914 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11915 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11916 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11917
11918 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11919 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11920 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11921 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11922 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11923 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11924 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11925 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11926 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11927 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11928 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11929 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11930
11931 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11932 and adjusted to imply olders processors.
11933 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11934 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11935 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11936 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11937 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11938 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11939 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11940 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11941 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11942 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11943 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11944
11945 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11946 powerpc64/le.
11947 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11948 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11949
11950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11951 powerpc64le.
11952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11954
11955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11956 powerpc64/be.
11957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11960
11961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11962 powerpc64 and adjusted.
11963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11966 Likewise.
11967
11968 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11969
11970 * sysdeps/tile: Remove.
11971 * sysdeps/unix/sysv/linux/tile: Likewise.
11972 * README (tilegx-*-linux-gnu): Remove from list of supported
11973 configurations.
11974 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11975 contribution of support for generic Linux kernel syscall
11976 interface.
11977 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11978 tilegx configurations.
11979 (Config.install_linux_headers): Do not handle tile.
11980 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11981 in comment.
11982 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11983 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11984 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11985 conditional undefine and redefine.
11986 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11987 in comment.
11988 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11989 conditional undefine and redefine.
11990
11991 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11992
11993 * signal/tst-sigaction.c: New file to test BZ #23069.
11994 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11995
11996 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11997
11998 [BZ #22766]
11999 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12000 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12001 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12002 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12003
12004 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12005
12006 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12007 _DIRENT_MATCHES_DIRENT64 is not defined.
12008 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12009 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12010 is defined.
12011 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12012 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12013
12014 2018-04-25 Joseph Myers <joseph@codesourcery.com>
12015
12016 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12017 version to GCC 8 branch.
12018
12019 2018-04-24 Joseph Myers <joseph@codesourcery.com>
12020
12021 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12022 (check_no_hidden): Use type of original function when declaring
12023 alias.
12024
12025 * sysdeps/unix/sysv/linux/sys/ptrace.h
12026 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12027 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12028 (struct __ptrace_seccomp_metadata): New type.
12029 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12030 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12031 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12032 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12033 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12034 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12035 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12036 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12037 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12038 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12039 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12040 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12041 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12042 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12043 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12044 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12045
12046 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12047
12048 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12049 defined.
12050 * dirent/versionsort.c (versionsort): Likewise.
12051 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12052 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12053 * dirent/versionsort64.c (versionsort64): Likewise.
12054 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12055 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12056 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12057 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12058 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12059 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12060 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12061 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12062 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12063 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12066 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12067 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12068
12069 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12070
12071 * elf/elf.h (NT_PPC_PKEY): New macro.
12072
12073 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12074
12075 [BZ #23094]
12076 * localedata/locales/hr_HR: fix thousands_sep and
12077 mon_thousands_sep
12078
12079 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12080
12081 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12082 (XTABS): Define to TAB3.
12083
12084 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12085
12086 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12087
12088 * dirent/scandir-tail-common.c: New file.
12089 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12090 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12091 * dirent/scandir.c: Use scandir-tail-common.c.
12092 * dirent/scandirat.c: Likewise.
12093 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12094 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12095 if _DIRENT_MATCHES_DIRENT64 is defined.
12096 * dirent/scandirat64.c (scandirat64): Likewise.
12097 * include/dirent.h (__scandir_tail): Only define iff
12098 _DIRENT_MATCHES_DIRENT64 is not defined.
12099 (__scandir64_tail): Define regardless.
12100 (__scandirat, scandirat64): Remove libc_hidden_proto.
12101 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12102 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12104 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12105 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12106 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12107 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12108
12109 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12110
12111 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12112 New macro.
12113 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12114 Increase to 24.
12115 (_dl_aarch64_cap_flags): Add asimdfhm.
12116
12117 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12118
12119 * sysdeps/nios2/libm-test-ulps: Update.
12120
12121 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12122
12123 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12124 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12125
12126 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12127 requirements.
12128 (_DIRENT_MATCHES_DIRENT64): Undef
12129 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12130 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12131 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12132 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12133 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12134 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12135 use getdents64 syscalls as base.
12136 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12137 symbol if required.
12138 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12139 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12140 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12141 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12142 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12143 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12144 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12145 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12146 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12147 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12148 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12149
12150 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12151
12152 * scripts/test_printers_common.py (init_test): Disable lock elision.
12153
12154 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12155
12156 * math/test-tgmath.c (count_double, count_float,
12157 count_ldouble, count_cdouble, count_cfloat,
12158 count_cldouble): Use volatile int.
12159
12160 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12161
12162 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12163 (conformtest-xfail-conds): Add i386-gnu.
12164 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
12165 i386-gnu.
12166 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12167 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12168 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12169 msqid_ds.msg_lrpid): Likewise.
12170 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12171 Likewise.
12172 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12173 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12174 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12175 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12176 unsigned int.
12177 (struct statvfs64): Likewise.
12178 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12179 Likewise.
12180 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12181 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12182 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12183 instead of wait_queue.
12184 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12185 instead of vm_area_struct.
12186 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12187 struct sched_param definition to it.
12188 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12189 * bits/types/struct_sched_param.h: New file.
12190 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12191 <bits/types/struct_sched_param.h> instead of <sched.h>.
12192 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
12193 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12194 generic version but include <bits/pthreadtypes.h> to make struct
12195 sigevent's sigev_notify_attributes field a pthread_attr_t*.
12196 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12197 non-compliant.
12198 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12199 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12200 [__USE_XOPEN] (OFDEL): New macro.
12201 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
12202 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
12203 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12204 prototypes.
12205 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12206 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
12207 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12208 non-compliant.
12209 * sysdeps/i386/sys/ucontext.h: Likewise.
12210 * sysdeps/m68k/sys/ucontext.h: Likewise.
12211 * sysdeps/mips/sys/ucontext.h: Likewise.
12212 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
12213 * sysdeps/mach/hurd/i386/Makefile
12214 (test-xfail-POSIX/fcntl.h/conform): Add.
12215 (test-xfail-POSIX/signal.h/conform): Add.
12216 (test-xfail-POSIX/semaphore.h/conform): Add.
12217 (test-xfail-POSIX/regex.h/conform): Add.
12218 (test-xfail-POSIX/aio.h/conform): Add.
12219 (test-xfail-POSIX/mqueue.h/conform): Add.
12220 (test-xfail-POSIX/sys/types.h/conform): Add.
12221 (test-xfail-UNIX98/fcntl.h/conform): Add.
12222 (test-xfail-UNIX98/netdb.h/conform): Add.
12223 (test-xfail-UNIX98/signal.h/conform): Add.
12224 (test-xfail-UNIX98/semaphore.h/conform): Add.
12225 (test-xfail-UNIX98/regex.h/conform): Add.
12226 (test-xfail-UNIX98/aio.h/conform): Add.
12227 (test-xfail-UNIX98/ftw.h/conform): Add.
12228 (test-xfail-UNIX98/mqueue.h/conform): Add.
12229 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12230 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12231 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12232 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12233 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12234 (test-xfail-UNIX98/sys/types.h/conform): Add.
12235 (test-xfail-UNIX98/stdlib.h/conform): Add.
12236 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12237 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12238 (test-xfail-POSIX2008/netdb.h/conform): Add.
12239 (test-xfail-POSIX2008/signal.h/conform): Add.
12240 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12241 (test-xfail-POSIX2008/regex.h/conform): Add.
12242 (test-xfail-POSIX2008/aio.h/conform): Add.
12243 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12244 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12245 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12246 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12247 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12248 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12249 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12250 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12251 (test-xfail-XOPEN2K/signal.h/conform): Add.
12252 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12253 (test-xfail-XOPEN2K/regex.h/conform): Add.
12254 (test-xfail-XOPEN2K/aio.h/conform): Add.
12255 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12256 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12257 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12258 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12259 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12260 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12261 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12262 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12263 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12264 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12265 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12266 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12267 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12268 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12269 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12270 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12271 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12272 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12273 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12274 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12275 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12276 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12277 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12278 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12279 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12280 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12281 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12282 i386-gnu.
12283 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12284 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12285
12286 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12287
12288 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12289 --enable-obsolete for powerpc-linux-gnuspe.
12290
12291 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12292
12293 * conform/data/sys/un.h-data: Allow sun_ prefix.
12294 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12295 prototypes.
12296 * sysdeps/mach/include/mach.h: Likewise.
12297 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12298 * sysdeps/mach/include/mach_error.h: Likewise.
12299
12300 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12301
12302 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12303 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12304 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12305 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12306
12307 2018-04-16 Andreas Schwab <schwab@suse.de>
12308
12309 [BZ #19527]
12310 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12311
12312 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12313
12314 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12315 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12316
12317 2018-04-12 DJ Delorie <dj@redhat.com>
12318
12319 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12320 version to 4.16.
12321
12322 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12323
12324 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12325 (struct kernel_sigaction): Use the same definition on 31bit as is used
12326 on 64bit.
12327
12328 2018-04-09 Florian Weimer <fweimer@redhat.com>
12329
12330 [BZ #23037]
12331 * resolv/res_send.c (send_dg): Use designated initializers instead
12332 of assignment to zero-initialize other fields of struct mmsghdr.
12333
12334 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12335
12336 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12337 __READDIR_ALIAS): Undefine after usage.
12338 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12339 __READDIR_R_ALIAS): Likewise.
12340 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12341 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12342 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12343 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12344 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12345 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12346 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12347 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12348 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12349 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12350 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12351 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12352 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12353 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12354 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12355 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12356 * sysdeps/unix/sysv/linux/readdir.c: New file.
12357 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12358 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12359 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12360
12361 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12362
12363 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12364
12365 * manual/charset.texi (Converting a Character): Fix typo.
12366
12367 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12368
12369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12370
12371 * sysdeps/arm/libm-test-ulps: Update.
12372
12373 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12374 as base implementation.
12375 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12376 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12377 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12378 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12379 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12380 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12381 remove unrequired definitions and update comments.
12382 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12383 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12384 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12385 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12386 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12387 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12388 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12389 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12390 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12391 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12392 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12393 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12394 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12395 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12396 and RESET_SA_RESTORER hooks.
12397
12398 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12399
12400 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12401
12402 2018-04-05 Florian Weimer <fweimer@redhat.com>
12403
12404 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12405 integer overflow, memory leak on error, and indeterminate errno
12406 value. Add a null wide character to terminate the result string.
12407 * manual/charset.texi (Converting a Character): Mention embedded
12408 null bytes in the mbrtowc input string. Explain what happens in
12409 the -2 result case. Do not claim that mbrtowc is simple or
12410 obvious to use. Adjust the description of the code example. Use
12411 @code, not @var, for concrete variables.
12412
12413 2018-04-05 Florian Weimer <fweimer@redhat.com>
12414
12415 * manual/examples/mbstouwcs.c: New file.
12416 * manual/charset.texi (Converting a Character): Include it.
12417
12418 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12419
12420 * include/dirent.h (dirfd): Add hidden proto.
12421 * dirent/dirfd.c (dirfd): Add hidden def.
12422 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12423 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12424
12425 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12426
12427 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12428 sin, cos and sincos to 1 ULP.
12429
12430 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12431
12432 [BZ #19818]
12433 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12434 symbols.
12435 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12436 * elf/tst-absolute-sym.c: New file.
12437 * elf/tst-absolute-sym-lib.c: New file.
12438 * elf/tst-absolute-sym-lib.lds: New file.
12439 * elf/Makefile (tests): Add `tst-absolute-sym'.
12440 (modules-names): Add `tst-absolute-sym-lib'.
12441 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12442 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12443 ($(objpfx)tst-absolute-sym): New dependency.
12444
12445 [BZ #19818]
12446 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12447 parameter.
12448 (SYMBOL_ADDRESS): New macro.
12449 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12450 SYMBOL_ADDRESS for symbol address calculation.
12451 * elf/dl-runtime.c (_dl_fixup): Likewise.
12452 (_dl_profile_fixup): Likewise.
12453 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12454 * elf/rtld.c (dl_main): Likewise.
12455 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12456 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12457 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12458 (elf_machine_rela): Likewise.
12459 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12460 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12461 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12462 (elf_machine_rela): Likewise.
12463 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12464 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12465 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12466 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12467 Likewise.
12468 (elf_machine_reloc): Likewise.
12469 (elf_machine_got_rel): Likewise.
12470 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12471 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12472 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12473 Likewise.
12474 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12475 Likewise.
12476 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12477 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12478 Likewise.
12479 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12480 Likewise.
12481 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12482 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12483 Likewise.
12484 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12485 Likewise.
12486 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12487 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12488
12489 2018-04-04 Zack Weinberg <zackw@panix.com>
12490
12491 * sysdeps/generic/internal-signals.h: Include signal.h,
12492 sigsetops.h, and stdbool.h.
12493 (__libc_signal_block_all): Actually block all signals.
12494 (__libc_signal_block_app): Likewise.
12495 (__libc_signal_restore_set): Actually restore the signal mask.
12496
12497 2018-04-04 Florian Weimer <fweimer@redhat.com>
12498
12499 inet: Actually build and run tst-deadline.
12500 * inet/Makefile (tests-internal): Add tst-deadline and do not
12501 overwrite the variable.
12502 (tests-static-internal): Remove variable.
12503
12504 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12505
12506 [BZ #22947]
12507 * bits/uio-ext.h (RWF_APPEND): New.
12508 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12509 * manual/llio.texi: Document RWF_APPEND.
12510 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12511 (RWF_SUPPORTED): Add RWF_APPEND.
12512
12513 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12514
12515 [BZ #22391]
12516 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12517 check for internal nptl signals.
12518 * nptl/sigaction.c (__sigaction): Likewise.
12519 * signal/sigaddset.c (sigaddset): Likewise.
12520 * signal/sigdelset.c (sigdelset): Likewise.
12521 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12522 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12523 value.
12524 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12525 to filter out internal nptl signals.
12526 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12527 also check realtime signals using standard macros.
12528 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12529 __is_internal_signal, __libc_signal_block_all,
12530 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12531 * sysdeps/nptl/sigfillset.c: Remove file.
12532 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12533 Change return to bool.
12534 (__clear_internal_signals): Remove SIGTIMER clean since it is
12535 equal to SIGCANEL on Linux.
12536 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12537 signal set was constructed using standard functions.
12538
12539 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12540
12541 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12542 ifname is too long.
12543 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12544 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12545 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12546 hidden def.
12547 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12548 * signal/sigaddset.c: Include <sigsetopts.h>.
12549 * signal/sigdelset.c: Likewise.
12550
12551 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12552
12553 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12554 (__cos): Likewise.
12555 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12556 logic as sin and cos.
12557
12558 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12559
12560 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12561 inputs. Return correct sign.
12562 (do_sincos): Remove small input check before do_sin, let do_sin set
12563 the sign.
12564 (__sin): Likewise.
12565 (__cos): Likewise.
12566
12567 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12568
12569 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12570 (do_cos_slow): Likewise.
12571 (do_sin_slow): Likewise.
12572 (reduce_and_compute): Likewise.
12573 (slow): Likewise.
12574 (slow1): Likewise.
12575 (slow2): Likewise.
12576 (sloww): Likewise.
12577 (sloww1): Likewise.
12578 (sloww2): Likewise.
12579 (bslow): Likewise.
12580 (bslow1): Likewise.
12581 (bslow2): Likewise.
12582 (cslow2): Likewise.
12583
12584 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12585
12586 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12587 (do_cos): Remove corp parameter and calculations.
12588 (do_sin): Likewise.
12589 (do_sincos): Remove cor variable.
12590 (__sin): Use do_sincos for huge inputs.
12591 (__cos): Likewise.
12592 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12593 (reduce_and_compute_sincos): Remove unused function.
12594
12595 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12596
12597 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12598 reduce_sincos, improve accuracy to 136 bits.
12599 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12600 (__sin): Use improved reduction and simplified do_sincos calculation.
12601 (__cos): Likewise.
12602 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12603
12604 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12605
12606 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12607 (do_sincos_2): Likewise.
12608 (__sin): Remove middle range reduction case.
12609 (__cos): Likewise.
12610 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12611 reduction case.
12612
12613 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12614
12615 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12616 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12617 inputs.
12618 (__cos): Likewise.
12619 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12620
12621 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12622
12623 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12624 version to 4.16
12625
12626 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12627
12628 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12629 Remove definitions.
12630 (opendir_oflags): Use O_DIRECTORY regardless.
12631 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12632 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12633
12634 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12635
12636 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12637 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12638 macros.
12639 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12640 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12641 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12642 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12643 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12644 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12645
12646 * htl/Makefile: Bump licence to LGPL 2.1+.
12647 * htl/alloca_cutoff.c: Likewise.
12648 * htl/cthreads-compat.c: Likewise.
12649 * htl/lockfile.c: Likewise.
12650 * htl/pt-alloc.c: Likewise.
12651 * htl/pt-cancel.c: Likewise.
12652 * htl/pt-cleanup.c: Likewise.
12653 * htl/pt-create.c: Likewise.
12654 * htl/pt-dealloc.c: Likewise.
12655 * htl/pt-detach.c: Likewise.
12656 * htl/pt-exit.c: Likewise.
12657 * htl/pt-getattr.c: Likewise.
12658 * htl/pt-initialize.c: Likewise.
12659 * htl/pt-internal.h: Likewise.
12660 * htl/pt-join.c: Likewise.
12661 * htl/pt-self.c: Likewise.
12662 * htl/pt-setcancelstate.c: Likewise.
12663 * htl/pt-setcanceltype.c: Likewise.
12664 * htl/pt-sigmask.c: Likewise.
12665 * htl/pt-spin-inlines.c: Likewise.
12666 * htl/pt-testcancel.c: Likewise.
12667 * htl/pt-yield.c: Likewise.
12668 * htl/tests/test-1.c: Likewise.
12669 * htl/tests/test-10.c: Likewise.
12670 * htl/tests/test-11.c: Likewise.
12671 * htl/tests/test-12.c: Likewise.
12672 * htl/tests/test-13.c: Likewise.
12673 * htl/tests/test-14.c: Likewise.
12674 * htl/tests/test-15.c: Likewise.
12675 * htl/tests/test-16.c: Likewise.
12676 * htl/tests/test-17.c: Likewise.
12677 * htl/tests/test-2.c: Likewise.
12678 * htl/tests/test-3.c: Likewise.
12679 * htl/tests/test-4.c: Likewise.
12680 * htl/tests/test-5.c: Likewise.
12681 * htl/tests/test-6.c: Likewise.
12682 * htl/tests/test-7.c: Likewise.
12683 * htl/tests/test-8.c: Likewise.
12684 * htl/tests/test-9.c: Likewise.
12685 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12686 * sysdeps/htl/bits/cancelation.h: Likewise.
12687 * sysdeps/htl/bits/pthread-np.h: Likewise.
12688 * sysdeps/htl/bits/pthread.h: Likewise.
12689 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12690 * sysdeps/htl/bits/semaphore.h: Likewise.
12691 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12692 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12693 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12694 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12695 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12696 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12697 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12698 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12699 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12700 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12701 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12702 * sysdeps/htl/old_pt-atfork.c: Likewise.
12703 * sysdeps/htl/pt-atfork.c: Likewise.
12704 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12705 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12706 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12707 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12708 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12709 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12710 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12711 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12712 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12713 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12714 * sysdeps/htl/pt-attr-init.c: Likewise.
12715 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12716 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12717 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12718 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12719 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12720 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12721 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12722 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12723 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12724 * sysdeps/htl/pt-attr.c: Likewise.
12725 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12726 * sysdeps/htl/pt-barrier-init.c: Likewise.
12727 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12728 * sysdeps/htl/pt-barrier.c: Likewise.
12729 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12730 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12731 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12732 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12733 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12734 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12735 * sysdeps/htl/pt-cond-init.c: Likewise.
12736 * sysdeps/htl/pt-cond-signal.c: Likewise.
12737 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12738 * sysdeps/htl/pt-cond-wait.c: Likewise.
12739 * sysdeps/htl/pt-cond.c: Likewise.
12740 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12741 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12742 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12743 * sysdeps/htl/pt-condattr-init.c: Likewise.
12744 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12745 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12746 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12747 * sysdeps/htl/pt-equal.c: Likewise.
12748 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12749 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12750 * sysdeps/htl/pt-getschedparam.c: Likewise.
12751 * sysdeps/htl/pt-getspecific.c: Likewise.
12752 * sysdeps/htl/pt-init-specific.c: Likewise.
12753 * sysdeps/htl/pt-key-create.c: Likewise.
12754 * sysdeps/htl/pt-key-delete.c: Likewise.
12755 * sysdeps/htl/pt-key.h: Likewise.
12756 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12757 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12758 * sysdeps/htl/pt-mutex-init.c: Likewise.
12759 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12760 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12761 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12762 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12763 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12764 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12765 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12766 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12767 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12768 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12769 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12770 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12771 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12772 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12773 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12774 * sysdeps/htl/pt-mutexattr.c: Likewise.
12775 * sysdeps/htl/pt-once.c: Likewise.
12776 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12777 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12778 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12779 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12780 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12781 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12782 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12783 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12784 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12785 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12786 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12787 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12788 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12789 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12790 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12791 * sysdeps/htl/pt-setschedparam.c: Likewise.
12792 * sysdeps/htl/pt-setschedprio.c: Likewise.
12793 * sysdeps/htl/pt-setspecific.c: Likewise.
12794 * sysdeps/htl/pt-spin.c: Likewise.
12795 * sysdeps/htl/pt-startup.c: Likewise.
12796 * sysdeps/htl/pthread.h: Likewise.
12797 * sysdeps/htl/sem-close.c: Likewise.
12798 * sysdeps/htl/sem-destroy.c: Likewise.
12799 * sysdeps/htl/sem-getvalue.c: Likewise.
12800 * sysdeps/htl/sem-init.c: Likewise.
12801 * sysdeps/htl/sem-open.c: Likewise.
12802 * sysdeps/htl/sem-post.c: Likewise.
12803 * sysdeps/htl/sem-timedwait.c: Likewise.
12804 * sysdeps/htl/sem-trywait.c: Likewise.
12805 * sysdeps/htl/sem-unlink.c: Likewise.
12806 * sysdeps/htl/sem-wait.c: Likewise.
12807 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12808 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12809 * sysdeps/mach/htl/pt-block.c: Likewise.
12810 * sysdeps/mach/htl/pt-spin.c: Likewise.
12811 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12812 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12813 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12814 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12815 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12816 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12817 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12818 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12819 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12820 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12821 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12822 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12823 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12824 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12825 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12826 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12827 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12828 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12829 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12830 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12831 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12832 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12833 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12834 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12835 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12836 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12837 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12838 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12839 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12840 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12841 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12842 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12843 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12844 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12845 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12846 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12847 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12848 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12849 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12850 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12851 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12852 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12853 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12854
12855 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12856 * README: Remove the mention of out-of-tree patches needed for
12857 GNU/Hurd.
12858
12859 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12860 (UTIME_NOW, UTIME_OMIT): Define macros.
12861
12862 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12863 instead of pthread_detach.
12864 (__cthread_fork): Call __pthread_create instead of pthread_create.
12865 (__cthread_keycreate): Call __pthread_key_create instead of
12866 pthread_key_create.
12867 (__cthread_getspecific): Call __pthread_getspecific instead of
12868 pthread_getspecific.
12869 (__cthread_setspecific): Call __pthread_setspecific instead of
12870 pthread_setspecific.
12871 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12872 __pthread_mutex_unlock instead of pthread_mutex_lock and
12873 pthread_mutex_unlock.
12874 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12875 ___pthread_get_cleanup_stack.
12876 (__pthread_get_cleanup_stack): New strong alias.
12877 * htl/pt-create.c: Include <pthreadP.h>.
12878 (entry_point): Call __pthread_exit instead of pthread_exit.
12879 (pthread_create): Rename to __pthread_create.
12880 (pthread_create): New strong alias.
12881 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12882 (pthread_detach): New strong alias.
12883 (__pthread_detach): Call __pthread_cond_broadcast instead of
12884 pthread_cond_broadcast.
12885 * htl/pt-exit.c: Include <pthreadP.h>.
12886 (__pthread_exit): Call __pthread_setcancelstate and
12887 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12888 __pthread_get_cleanup_stack.
12889 * htl/pt-testcancel.c: Include <pthreadP.h>.
12890 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12891 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12892 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12893 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12894 pthread_attr_getstacksize.
12895 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12896 Rename to __pthread_attr_getstackaddr.
12897 (pthread_attr_getstackaddr): New strong alias.
12898 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12899 Rename to __pthread_attr_getstacksize.
12900 (pthread_attr_getstacksize): New strong alias.
12901 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12902 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12903 (pthread_attr_setstack): New strong alias.
12904 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12905 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12906 pthread_attr_getstacksize, pthread_attr_setstacksize and
12907 pthread_attr_setstackaddr.
12908 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12909 Rename to __pthread_attr_setstackaddr.
12910 (pthread_attr_setstackaddr): New strong alias.
12911 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12912 Rename to __pthread_attr_setstacksize.
12913 (pthread_attr_setstacksize): New strong alias.
12914 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12915 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12916 pthread_exit.
12917 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12918 (__pthread_key_create): New hidden def.
12919 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12920 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12921 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12922 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12923 __pthread_setspecific, __pthread_setcancelstate,
12924 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12925 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12926 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12927 declarations.
12928 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12929 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12930 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12931 (pthread_attr_setstackaddr): New strong alias.
12932 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12933 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12934 (pthread_attr_setstacksize): New strong alias.
12935 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12936 (call_exit): Call __pthread_exit instead of pthread_exit.
12937 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12938 (_pthread_mutex_init): New hidden definition.
12939 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12940 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12941 instead of pthread_attr_init and pthread_attr_setstack.
12942
12943 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12944 __vm_deallocate instead of vm_allocate and vm_deallocate.
12945 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12946 setenv.
12947 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12948 of geteuid.
12949 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12950 strdup.
12951 * hurd/siginfo.c: Include <libioP.h>.
12952 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12953 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12954 munmap.
12955 * mach/devstream.c: Include <libioP.h>.
12956 (dealloc_ref): Call __mach_port_deallocate instead of
12957 mach_port_deallocate.
12958 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12959 Call __mach_port_deallocate instead of mach_port_deallocate.
12960 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12961 pathconf.
12962 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12963 munmap.
12964 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12965 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12966 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12967 of munmap.
12968 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12969 of close.
12970 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12971 instead of sysconf.
12972 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12973 __clock_gettime instead of clock_gettime.
12974 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12975 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12976 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12977 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12978 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12979 tcgetattr.
12980 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12981 __clock_gettime and __nanosleep instead of clock_gettime and
12982 nanosleep.
12983 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12984 __hurd_catch_signal.
12985 (hurd_catch_signal): New strong alias.
12986 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12987 __hurd_catch_signal instead of hurd_catch_signal.
12988 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12989 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12990 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12991 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12992 (_hurd_thread_sigstate): Add hidden def.
12993 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12994 mutex_unlock.
12995 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12996 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12997 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12998 __hurd_file_name_path_lookup.
12999 (hurd_file_name_path_lookup): New strong alias.
13000 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13001 hurd_file_name_path_lookup.
13002 * mach/errstring.c (mach_error_type): Add hidden def.
13003 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13004 * mach/mutex-init.c (__mutex_init): Add hidden def.
13005 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13006 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13007 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13008 * sysdeps/mach/hurd/getcwd.c
13009 (_hurd_canonicalize_directory_name_internal): Rename to
13010 __hurd_canonicalize_directory_name_internal.
13011 (_hurd_canonicalize_directory_name_internal): New strong alias.
13012 (__canonicalize_directory_name_internal, __getcwd): Call
13013 __hurd_canonicalize_directory_name_internal instead of
13014 _hurd_canonicalize_directory_name_internal.
13015 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13016 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13017 hidden defs.
13018 * sysdeps/hurd/include/hurd.h: New file.
13019 * sysdeps/hurd/include/hurd/fd.h: New file.
13020 * sysdeps/hurd/include/hurd/signal.h: New file.
13021 * sysdeps/mach/include/lock-intern.h: New file.
13022 * sysdeps/mach/include/mach.h: New file.
13023 * sysdeps/mach/include/mach/mig_support.h: New file.
13024 * sysdeps/mach/include/mach_error.h: New file.
13025 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13026 prototype.
13027 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13028 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13029 _HEADER_H_HIDDEN_DEF macro.
13030 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13031 _hurd_fd_error_signal): Add hidden prototype.
13032 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13033 hidden def.
13034 * libio/iolibio.h (_IO_puts): New hidden prototype.
13035 * libio/ioputs.c (_IO_puts): New hidden def.
13036 * sysdeps/mach/hurd/localplt.data: New file.
13037
13038 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13039 Amos Jeffries <squid3@treenet.co.nz>
13040 David Michael <fedora.dm0@gmail.com>
13041 Marco Gerards <marco@gnu.org>
13042 Marcus Brinkmann <marcus@gnu.org>
13043 Neal H. Walfield <neal@gnu.org>
13044 Pino Toscano <toscano.pino@tiscali.it>
13045 Richard Braun <rbraun@sceen.net>
13046 Roland McGrath <roland@gnu.org>
13047 Samuel Thibault <samuel.thibault@ens-lyon.org>
13048 Thomas DiModica <ricinwich@yahoo.com>
13049 Thomas Schwinge <tschwinge@gnu.org>
13050
13051 * htl: New directory.
13052 * sysdeps/htl: New directory.
13053 * sysdeps/hurd/htl: New directory.
13054 * sysdeps/i386/htl: New directory.
13055 * sysdeps/mach/htl: New directory.
13056 * sysdeps/mach/hurd/htl: New directory.
13057 * sysdeps/mach/hurd/i386/htl: New directory.
13058 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13059 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13060 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13061
13062 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13063
13064 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13065 signals in thread created for runing timers.
13066
13067 2018-04-01 Florian Weimer <fweimer@redhat.com>
13068
13069 * support/support_format_addrinfo.c (support_format_addrinfo):
13070 Include unknown error number in formatted result.
13071
13072 2018-03-29 Florian Weimer <fweimer@redhat.com>
13073
13074 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13075 capture SIGBUS.
13076
13077 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13078
13079 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13080 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13081 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13082 (__ASSUME_CLONE_BACKWARDS): Define.
13083
13084 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13085
13086 [BZ #23024]
13087 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13088 early when linux sentinel value is set.
13089
13090 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13091
13092 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13093
13094 2018-03-27 Andreas Schwab <schwab@suse.de>
13095
13096 [BZ #23005]
13097 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13098 allocation of private copy of nsaddr_list fails.
13099
13100 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13101
13102 [BZ #16552]
13103 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13104 * sysdeps/unix/sysv/linux/umount.c: ... here.
13105 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13106 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13107 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13108 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13110 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13111 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13112
13113 2018-03-26 Andreas Schwab <schwab@suse.de>
13114
13115 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13116 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13117 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13118 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13119 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13120 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13121 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13122 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13123 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13124 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13125 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13126 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13127 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13128 (R_RISCV_NUM): Define.
13129
13130 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13131
13132 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13133 TLS declaration of errno.
13134 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13135 __libc_setup_tls.
13136 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13137 (ARCH_SETUP_TLS): Likewise.
13138 * sysdeps/mach/hurd/libc-start.h: New file copied from
13139 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
13140 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13141 instead of __libc_setup_tls.
13142 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
13143 __libc_setup_tls before initializing libpthread and running _hurd_init
13144 which starts the signal thread.
13145 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13146 Declare function.
13147 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13148
13149 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13150
13151 [BZ #22998]
13152 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13153 after it is defined.
13154
13155 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13156 Max Horn <max@quendi.de>
13157
13158 [BZ #22644]
13159 CVE-2017-18269
13160 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13161 branch conditions.
13162 * string/test-memmove.c (do_test2): New testcase.
13163
13164 2018-03-22 Joseph Myers <joseph@codesourcery.com>
13165
13166 * sysdeps/generic/frame.h: Remove file.
13167 * sysdeps/arm/frame.h: Likewise.
13168 * sysdeps/hppa/frame.h: Likewise.
13169 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13170 macro.
13171 (GET_FRAME): Likewise.
13172 (GET_STACK): Likewise.
13173 (CALL_SIGHANDLER): Likewise.
13174 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13175 Likewise.
13176 (GET_FRAME): Likewise.
13177 (GET_STACK): Likewise.
13178 (CALL_SIGHANDLER): Likewise.
13179 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13180 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13181 (GET_FRAME): Likewise.
13182 (GET_STACK): Likewise.
13183 (CALL_SIGHANDLER): Likewise.
13184 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13185 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13186 (GET_FRAME): Likewise.
13187 (GET_STACK): Likewise.
13188 (ADVANCE_STACK_FRAME): Likewise.
13189 (CALL_SIGHANDLER): Likewise.
13190 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13191 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13192 (GET_FRAME): Likewise.
13193 (GET_STACK): Likewise.
13194 (CALL_SIGHANDLER): Likewise.
13195 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13196 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13197 (GET_FRAME): Likewise.
13198 (GET_STACK): Likewise.
13199 (CALL_SIGHANDLER): Likewise.
13200 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13201 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13202 (GET_FRAME): Likewise.
13203 (GET_STACK): Likewise.
13204 (CALL_SIGHANDLER): Likewise.
13205 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13206 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13207 (GET_FRAME): Likewise.
13208 (GET_STACK): Likewise.
13209 (CALL_SIGHANDLER): Likewise.
13210 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13211 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13212 (GET_FRAME): Likewise.
13213 (GET_STACK): Likewise.
13214 (CALL_SIGHANDLER): Likewise.
13215 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13216 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13217 (GET_FRAME): Likewise.
13218 (GET_STACK): Likewise.
13219 (CALL_SIGHANDLER): Likewise.
13220 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13221 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13222 (GET_FRAME): Likewise.
13223 (GET_STACK): Likewise.
13224 (CALL_SIGHANDLER): Likewise.
13225 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13226 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13227 (GET_FRAME): Likewise.
13228 (GET_STACK): Likewise.
13229 (CALL_SIGHANDLER): Likewise.
13230 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13231 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13232 (GET_FRAME): Likewise.
13233 (GET_STACK): Likewise.
13234 (CALL_SIGHANDLER): Likewise.
13235 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13236 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13237 (FIRST_FRAME_POINTER): Likewise.
13238 (ADVANCE_STACK_FRAME): Likewise.
13239 (GET_STACK): Likewise.
13240 (GET_FRAME): Likewise.
13241 (CALL_SIGHANDLER): Likewise.
13242 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13243 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13244 (ADVANCE_STACK_FRAME): Likewise.
13245 (GET_STACK): Likewise.
13246 (GET_FRAME): Likewise.
13247 (CALL_SIGHANDLER): Likewise.
13248 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13249 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13250 (GET_FRAME): Likewise.
13251 (GET_STACK): Likewise.
13252 (CALL_SIGHANDLER): Likewise.
13253 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13254 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13255 (GET_FRAME): Likewise.
13256 (GET_STACK): Likewise.
13257 (CALL_SIGHANDLER): Likewise.
13258
13259 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13260
13261 * sysdeps/x86_64/backtrace.c: Move to ....
13262 * debug/backtrace.c: ... here.
13263 * sysdeps/aarch64/backtrace.c: Remove file.
13264 * sysdeps/alpha/backtrace.c: Likewise.
13265 * sysdeps/hppa/backtrace.c: Likewise.
13266 * sysdeps/ia64/backtrace.c: Likewise.
13267 * sysdeps/mips/backtrace.c: Likewise.
13268 * sysdeps/nios2/backtrace.c: Likewise.
13269 * sysdeps/riscv/backtrace.c: Likewise.
13270 * sysdeps/sh/backtrace.c: Likewise.
13271 * sysdeps/tile/backtrace.c: Likewise.
13272
13273 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13274
13275 [BZ #22987]
13276 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13277 function.
13278 (fdimf): Likewise.
13279 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13280
13281 [BZ #17343]
13282 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13283 possibly overflowing computations.
13284
13285 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13286
13287 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13288 values from Linux-specific section now that it is in the GNU section.
13289 * sysdeps/gnu/errlist.c: Regenerate.
13290
13291 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13292
13293 * math/Makefile (libm-narrow-fns): Add sub.
13294 (libm-test-funcs-narrow): Likewise.
13295 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13296 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13297 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13298 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13299 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13300 (NARROW_SUB_TRIVIAL): Likewise.
13301 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13302 macro.
13303 (__dsubl): Likewise.
13304 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13305 dsub.
13306 (CFLAGS-nldbl-dsub.c): New variable.
13307 (CFLAGS-nldbl-fsub.c): Likewise.
13308 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13309 __nldbl_dsubl.
13310 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13311 prototype.
13312 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13313 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13314 * math/auto-libm-test-in: Add tests of sub.
13315 * math/auto-libm-test-out-narrow-sub: New generated file.
13316 * math/libm-test-narrow-sub.inc: New file.
13317 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13318 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13319 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13320 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13321 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13322 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13323 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13324 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13325 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13326 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13327 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13328 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13329 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13330 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13331 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13332 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13333 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13334 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13336 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13337 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13338 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13339 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13340 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13341 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13342 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13343 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13344 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13345 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13346 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13347 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13348 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13353 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13354 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13355 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13356 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13357 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13358 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13359 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13360 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13361 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13362 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13363
13364 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13365
13366 [BZ #20079]
13367 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13368
13369 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13370
13371 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13372
13373 2018-03-18 Richard Braun <rbraun@sceen.net>
13374
13375 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13376 thread reference.
13377
13378 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13379
13380 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13381 (__libc_cleanup_fct): Define function.
13382 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13383 __libc_cleanup_end): Rewrite implementation using
13384 __attribute__ ((__cleanup__)).
13385 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13386 * hurd/Makefile (routines): Add hurdlock.
13387 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13388 interface.
13389 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13390 * hurd/hurdpid.c: Include <lowlevellock.h>
13391 (_S_msg_proc_newids): Use lll_wait to synchronize.
13392 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13393 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13394 * mach/Makefile (lock-headers): Remove machine-lock.h.
13395 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13396 <machine-lock.h>.
13397 (__spin_lock_t): New type.
13398 (__SPIN_LOCK_INITIALIZER): New macro.
13399 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13400 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13401 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13402 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13403 (__mutex_init): Initialize with lll.
13404 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13405 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13406 needing lll.
13407 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13408 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13409 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13410 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13411 (__setpgid): Use lll for synchronization.
13412 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13413 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13414 instead of <cthreads.h>.
13415 (_IO_lock_inexpensive): New macro
13416 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13417 (__libc_lock_self0): New declaration.
13418 (__libc_lock_owner_self): New macro.
13419 (__libc_key_t): Remove type.
13420 (_LIBC_LOCK_INITIALIZER): New macro.
13421 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13422 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13423 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13424 __libc_lock_define_initialized_recursive,
13425 __rtld_lock_define_initialized_recursive,
13426 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13427 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13428 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13429 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13430 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13431 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13432 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13433 New macros.
13434 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13435 * hurd/hurdlock.c: New file.
13436 * hurd/hurdlock.h: New file.
13437 * mach/lowlevellock.h: New file
13438
13439 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13440
13441 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13442 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13443 when opening a symlink with O_NOFOLLOW.
13444 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13445 path when flags contains O_NOFOLLOW.
13446 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13447 if flags contains O_DIRECTORY and the result is a directory.
13448 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13449 oneself when the pointer given in D is nul (as set by ext2fs).
13450 * sysdeps/mach/hurd/mlockall.c: New file.
13451 * sysdeps/mach/hurd/munlockall.c: New file.
13452
13453 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13454
13455 * hurd/hurdsig.c: Include <pthread.h>.
13456 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13457 get the signal thread stack layout.
13458 * hurd/Makefile (headers): Remove threadvar.h.
13459 (inline-headers): Remove threadvar.h.
13460 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13461 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13462 __hurd_threadvar_max, __hurd_errno_location.
13463 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13464 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13465 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13466 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13467 unless TLS is not initialized yet, in which case we do not need a
13468 critical section yet anyway.
13469 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13470 <machine-sp.h>.
13471 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13472 declarations.
13473 (__hurd_threadvar_index): Remove enum.
13474 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13475 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13476 inlines.
13477 (__hurd_reply_port0): New variable declaration.
13478 (__hurd_local_reply_port): New macro.
13479 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13480 (interrupted_reply_port_location): Add thread_t parameter. Use it
13481 with THREAD_TCB to access thread-local variables.
13482 (_hurdsig_abort_rpcs): Pass ss->thread to
13483 interrupted_reply_port_location.
13484 (_hurd_internal_post_signal): Likewise.
13485 (_hurdsig_init): Use presence of cthread_fork instead of
13486 __hurd_threadvar_stack_mask to start signal thread by hand.
13487 Remove signal thread threadvar initialization.
13488 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13489 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13490 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13491 of threadvar.
13492 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13493 __libc_lock_self0.
13494 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13495 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13496 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13497 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13498 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13499 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13500 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13501 define variables.
13502 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13503 <hurd/threadvar.h>.
13504 [IS_IN(rtld)] (rtld_errno): New variable.
13505 [IS_IN(rtld)] (__errno_location): New weak function.
13506 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13507 * sysdeps/mach/hurd/errno.c: Remove file.
13508 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13509 (__fork): Remove THREADVAR_SPACE macro and its use.
13510 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13511 variable.
13512 (init): Do not initialize threadvar.
13513 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13514 symbol.
13515 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13516 __hurd_local_reply_port instead of threadvar.
13517 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13518 _hurd_sigstate fields.
13519 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13520 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13521 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13522 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13523 instead of threadvar.
13524 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13525 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13526 (use_threadvar, global_reply_port): Remove variables.
13527 (__hurd_reply_port0): New variable.
13528 (__mig_get_reply_port): Use __hurd_local_reply_port and
13529 __hurd_reply_port0 instead of threadvar.
13530 (__mig_dealloc_reply_port): Likewise.
13531 (__mig_init): Do not initialize threadvar.
13532 * sysdeps/mach/hurd/profil.c: Fix comment.
13533 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13534 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13535 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13536 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13537 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13538 __cthread_setspecific.
13539 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13540 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13541 __cthread_t instead of cthread_fork, cthread_detach,
13542 pthread_getattr_np, pthread_attr_getstack.
13543 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13544 __cthread_keycreate.
13545 (cthread_getspecific): Rename to __cthread_getspecific.
13546 (cthread_setspecific): Rename to __cthread_setspecific.
13547 (__libc_getspecific): Use __cthread_getspecific instead of
13548 cthread_getspecific.
13549 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13550 __cthread_keycreate instead of cthread_keycreate.
13551 (__libc_setspecific): Use __cthread_setspecific instead of
13552 cthread_setspecific.
13553 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13554 Likewise.
13555 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13556 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13557 testing whether it is defined.
13558
13559 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13560
13561 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13562 Define macro.
13563 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13564 * sysdeps/mach/i386/thread_state.h
13565 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13566 i386_THREAD_STATE.
13567 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13568 i386_THREAD_STATE.
13569 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13570
13571 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13572 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13573
13574 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13575 macros.
13576 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13577 descriptor instead of creating a new one.
13578 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13579
13580 * mach/setup-thread.c: Include <ldsodefs.h>.
13581 (__mach_setup_thread): Call _dl_allocate_tls, pass
13582 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13583 MACHINE_THREAD_STATE_FLAVOR, before getting
13584 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13585 MACHINE_THREAD_STATE_FLAVOR with the result.
13586 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13587 MACHINE_THREAD_STATE_FIX_NEW.
13588 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13589 too. Add original thread parameter.
13590
13591 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13592
13593 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13594 Remove inline function.
13595
13596 * sysdeps/i386/fpu/libm-test-ulps: Update.
13597 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13598
13599 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13600
13601 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13602 commit.
13603
13604 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13605
13606 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13607 (__sincos_code): Remove define and undefine.
13608 [__FAST_MATH__] (__sincos): Remove inline function.
13609 [__FAST_MATH__] (__sincosf): Remove inline function.
13610 [__FAST_MATH__] (__sincosl): Remove inline function.
13611 (__atan2l): Remove inline functions.
13612 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13613 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13614 function.
13615 (floor): Remove inline function.
13616 (ceil): Likewise.
13617 [__FAST_MATH__] (__ldexp_code): Remove macro.
13618 [__FAST_MATH__] (ldexp): Remove inline function.
13619 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13620 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13621 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13622 [__USE_ISOC99] (__lrint_code): Remove macro.
13623 [__USE_ISOC99] (__llrint_code): Likewise.
13624 [__USE_ISOC99] (lrintf): Remove inline function.
13625 [__USE_ISOC99] (lrint): Likewise.
13626 [__USE_ISOC99] (lrintl): Likewise.
13627 [__USE_ISOC99] (llrint): Likewise.
13628 [__USE_ISOC99] (llrintf): Likewise.
13629 [__USE_ISOC99] (llrintl): Likewise.
13630
13631 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13632
13633 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13634 (__ieee754_sqrtf): Remove.
13635 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13636 (__ieee754_sqrtf): Remove.
13637 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13638 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13639 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13640 (__ieee754_sqrtf): Remove.
13641 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13642 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13643 (sqrtf): Remove.
13644 (sqrtl): Remove.
13645 (__ieee754_sqrt): Remove.
13646 (__ieee754_sqrtf): Remove.
13647 (__ieee754_sqrtl): Remove.
13648 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13649 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13650 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13651 (__ieee754_sqrtf): Remove.
13652 (__ieee754_sqrtl): Remove.
13653
13654 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13655
13656 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13657 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13658 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13659 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13660 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13661 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13662 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13663 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13664 Likewise.
13665 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13666 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13667 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13668 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13669 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13670 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13671 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13672 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13673 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13674 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13675 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13676 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13677 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13678 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13679 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13680 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13681 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13682 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13683 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13684 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13685 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13686 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13687 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13688 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13689 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13690 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13691 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13692 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13693 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13694 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13695 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13696 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13697 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13698 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13699 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13700 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13701 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13702 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13703 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13704 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13705
13706 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13707
13708 * include/math.h (sqrt): Declare with asm redirect.
13709 (sqrtf): Likewise.
13710 (sqrtl): Likewise.
13711 (sqrtf128): Likewise.
13712 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13713 nonlib and libnldbl with -fmath-errno.
13714 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13715 * math/w_sqrt_template.c: Likewise.
13716 * math/w_sqrtf_compat.c: Likewise.
13717 * math/w_sqrtl_compat.c: Likewise.
13718 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13719 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13720 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13721 complex.h.
13722
13723 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13724
13725 * benchtests/Makefile: Define _ISOMAC.
13726 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13727 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13728 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13729 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13730 * benchtests/bench-timing.h: Define attribute_hidden.
13731
13732 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13733
13734 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13735 mov + lsr.
13736
13737 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13738
13739 [BZ #22963]
13740 * localedata/locales/cs_CZ (mon): Rename to...
13741 (alt_mon): This.
13742 (mon): Import from CLDR (genitive case).
13743
13744 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13745
13746 [BZ #22937]
13747 * localedata/locales/el_CY (abmon): Rename to...
13748 (ab_alt_mon): This.
13749 (abmon): Import from CLDR (abbreviated genitive case).
13750 * localedata/locales/el_GR (abmon): Rename to...
13751 (ab_alt_mon): This.
13752 (abmon): Import from CLDR (abbreviated genitive case).
13753
13754 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13755
13756 [BZ #22932]
13757 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13758
13759 2018-03-15 Robert Buj <robert.buj@gmail.com>
13760
13761 [BZ #22848]
13762 * localedata/locales/ca_ES (abmon): Rename to...
13763 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13764 (mon): Rename to...
13765 (alt_mon): This.
13766 (abmon): Import from CLDR (genitive case, month names preceded by
13767 "de" or "d’").
13768 (mon): Likewise.
13769 (abday): Synchronize with CLDR.
13770 (d_t_fmt): Likewise.
13771 (d_fmt): Likewise.
13772 (am_pm): Likewise.
13773
13774 (LC_TIME): Improve indentation.
13775 (LC_TELEPHONE): Likewise.
13776 (LC_NAME): Likewise.
13777 (LC_ADDRESS): Likewise.
13778
13779 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13780
13781 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13782 (lrintf): Remove definitions used only with old GCC.
13783 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13784 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13785 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13786 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13787 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13788 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13789 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13790 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13791 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13792 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13793 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13794 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13795 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13796 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13797 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13798 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13799 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13800 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13801 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13802 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13803 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13804 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13805 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13806 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13807 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13808 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13809 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13810 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13811
13812 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13813
13814 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13815 instruction to unbreak builds with binutils 2.26 and older.
13816
13817 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13818
13819 * sysdeps/aarch64/strncmp.S (count): New macro.
13820 (strncmp): Store misaligned length in SRC1 in COUNT.
13821 (mutual_align): Adjust.
13822 (misaligned8): Load dword at a time when it is safe.
13823
13824 2018-03-12 Zack Weinberg <zackw@panix.com>
13825
13826 [BZ #1190]
13827 [BZ #19476]
13828 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13829 if the _IO_EOF_SEEN bit is already set; update commentary.
13830 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13831 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13832
13833 * support/support_openpty.c, support/tty.h: New files.
13834 * support/Makefile (libsupport-routines): Add support_openpty.
13835
13836 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13837 New test cases.
13838 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13839 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13840
13841 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13842
13843 * po/pt_BR.po: Update translations.
13844
13845 2018-03-12 David Michael <fedora.dm0@gmail.com>
13846
13847 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13848 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13849 get a port to the startup server.
13850
13851 2018-03-11 Zack Weinberg <zackw@panix.com>
13852
13853 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13854 before nldbl-compat.h.
13855
13856 2018-03-10 Zack Weinberg <zackw@panix.com>
13857
13858 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13859 math.h or math_private.h.
13860
13861 * sysdeps/alpha/fpu/s_isnan.c
13862 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13863 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13864 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13865 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13866 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13867 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13868 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13869 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13870 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13873 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13874 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13875 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13876 Include math_private.h.
13877
13878 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13879 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13880 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13881 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13882 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13883 * sysdeps/powerpc/power7/fpu/s_logb.c:
13884 Include math.h and math_private.h.
13885
13886 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13887 uses of $at in .set noat / .set at.
13888
13889 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13890
13891 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13892 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13893 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13894 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13895 Likewise.
13896
13897 2018-03-09 Florian Weimer <fweimer@redhat.com>
13898
13899 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13900 in comment.
13901
13902 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13903
13904 [BZ #22919]
13905 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13906 Add nop before __startcontext, add explaining comments.
13907
13908 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13909
13910 [BZ #22926]
13911 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13912 empty for __SPE__.
13913 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13914 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13915 Do not build hardware transactional code for __SPE__.
13916 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13917 (__lll_trylock_elision): Likewise.
13918 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13919 (__lll_unlock_elision): Likewise.
13920
13921 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13922 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13923 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13924 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13925 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13926 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13927 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13928 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13929 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13930 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13931 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13932 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13933 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13934 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13935 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13936 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13937 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13938 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13939 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13940 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13941 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13942 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13943 (__ASSUME_CLONE_BACKWARDS): Define.
13944 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13945 __clone2 if __NR_clone2 is defined.
13946 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13947 (__ASSUME_CLONE_BACKWARDS): Likewise.
13948 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13949 (__ASSUME_CLONE_BACKWARDS): Likewise.
13950 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13951 (__ASSUME_CLONE2): Likewise.
13952 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13953 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13954 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13955 variants and the define architecture can use.
13956 (__ASSUME_CLONE_DEFAULT): Define as default.
13957 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13958 (__ASSUME_CLONE_BACKWARDS): Likewise.
13959 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13960 (__ASSUME_CLONE_BACKWARDS): Likewise.
13961 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13962 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13963
13964 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13965
13966 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13967
13968 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13969 time.
13970
13971 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13972 (do_test_limit): Likewise.
13973
13974 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13975 for every implementation.
13976 (do_test): Likewise.
13977
13978 * benchtests/bench-strncmp.c: Convert output to json.
13979
13980 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13981
13982 * io/futimens.c: Add missing start-of-file descriptive comment.
13983 * io/utime.c: Likewise.
13984 * misc/futimesat.c: Likewise.
13985 * misc/utimes.c: Likewise.
13986 * sysdeps/mach/hurd/futimesat.c: Likewise.
13987 * sysdeps/mach/hurd/utimes.c: Likewise.
13988 * sysdeps/posix/utime.c: Likewise.
13989 * sysdeps/posix/utimes.c: Likewise.
13990 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13991 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13992 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13993 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13994
13995 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13996
13997 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13998 hurd_futimes.
13999 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14000 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14001 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14002 (__futimens): Move implementation to...
14003 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14004 utime_tvalue_from_tspec): ... new helper functions.
14005 (hurd_futimens): New function.
14006 * sysdeps/mach/hurd/futimesat.c: New file.
14007 * sysdeps/mach/hurd/utimensat.c: New file.
14008
14009 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14010
14011 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14012 UTIME_OMIT): New macros.
14013 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14014 before reverting to converting time spec to time value and calling
14015 __file_utimes.
14016 * sysdeps/mach/hurd/utime-helper.c: New file.
14017 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14018 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14019 reverting to utime_tvalue_from_tval and __file_utimes.
14020 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14021 (__lutimes): Just call hurd_futimens after lookup.
14022 * sysdeps/mach/hurd/utimes.c: Likewise.
14023
14024 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14025
14026 * bits/sigaction.h: Add include guard.
14027 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14028 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14029 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14030 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14031 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14032 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14033 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14034 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14035 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14036
14037 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14038
14039 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14040 -Wmaybe-uninitialized for -Os.
14041 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14042 this disabling.
14043
14044 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14045
14046 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14047 __INO_T_MATCHES_INO64_T is defined.
14048 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14049 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14050 of definition.
14051 * dirent/alphasort64.c: Likewise.
14052 * dirent/scandir.c: Likewise.
14053 * dirent/scandir64-tail.c: Likewise.
14054 * dirent/scandir64.c: Likewise.
14055 * dirent/scandirat.c: Likewise.
14056 * dirent/scandirat64.c: Likewise.
14057 * dirent/versionsort.c: Likewise.
14058 * dirent/versionsort64.c: Likewise.
14059 * include/dirent.h: Likewise.
14060
14061 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14062 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14063 for socketpair endpoint.
14064 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14065 WRITE_BUFFER_SIZE as buffer size for sending socket.
14066 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14067 issue on system where send is implemented with sendto syscall.
14068 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14069 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14070 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14071 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14072
14073 [BZ #21269]
14074 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14075 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14076 sa_restorer for vDSO case.
14077 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14078
14079 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14080
14081 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14082 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14083 * hurd/hurd/ioctl.h: Include <mach/port.h>
14084 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14085 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14086 <mach/mach_types.h> and <mach/message.h>.
14087 (headers): Move mach/param.h to bits/mach/param.h.
14088 * sysdeps/mach/i386/mach/param.h: Move file to ...
14089 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14090 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14091 of <mach/param.h>.
14092 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14093 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14094 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14095 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14096 trivial, for C++ conformity.
14097 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14098 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14099 Process mig output through $(migheadersed).
14100 * hurd/Makefile (migheadersed): Define variable.
14101 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14102 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14103 headers.
14104 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14105 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14106 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14107 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14108 <bits/types/sigset_t.h>.
14109 [!defined __USE_GNU]: Do not #error out.
14110 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14111 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14112 Include <stddef.h> and <bits/types/sigset_t.h>
14113 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14114 instead of sighandler_t.
14115 * stdlib/errno.h (error_t): Move definition to...
14116 * bits/types/error_t.h: ... new header.
14117 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14118 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14119 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14120 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14121 * hurd/hurd.h: Include <bits/types/error_t.h>
14122 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14123 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14124 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14125 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14126 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14127 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
14128 * sysdeps/mach/hurd/futimens.c: New file.
14129
14130 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14131
14132 [BZ #22918]
14133 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14134 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14135 * nscd/gai.c (__nss_hosts_database): Readd definition.
14136 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14137 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14138 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14139
14140 2018-03-02 Joseph Myers <joseph@codesourcery.com>
14141
14142 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14143 (ifunc_one): Likewise.
14144
14145 2018-03-01 DJ Delorie <dj@delorie.com>
14146
14147 [BZ #22342]
14148 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14149 key value.
14150
14151 2018-03-01 Maciej W. Rozycki <macro@mips.com>
14152
14153 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14154 `match_pid' parameter.
14155 (td_ta_thr_iter): Update accordingly.
14156
14157 2018-03-01 Florian Weimer <fweimer@redhat.com>
14158
14159 * nptl/Makefile (install-lib-ldscripts): Remove.
14160 (install): Remove rule.
14161 ($(inst_libdir)/libpthread.so): Likewise.
14162
14163 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14164
14165 [BZ #22896]
14166 * localedata/locales/an_ES: update month and day names,
14167 improve d_fmt, improve postal_fmt, add country_post,
14168 add country_isbn
14169
14170 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14171
14172 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14173 Ukrainian instead of Bulgarian.
14174
14175 2018-03-01 Florian Weimer <fweimer@redhat.com>
14176
14177 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14178 reference.
14179
14180 2018-03-01 Florian Weimer <fweimer@redhat.com>
14181
14182 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14183 * nptl/Makefile (routines): Add pthread_atfork.
14184 (static-only-routines): Set to pthread_atfork.
14185 (libpthread-routines): Remove pthread_atfork.
14186 (libpthread-static-only-routines): Remove.
14187 (install): Update comment.
14188 (libpthread.so): Do not install libpthread_nonshared.a.
14189 (tests): Do not link with libpthread_nonshared.a.
14190 (generated): Remove libpthread_nonshared.a.
14191 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14192 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14193 with libpthread_nonshared.a.
14194
14195 2018-02-28 Joseph Myers <joseph@codesourcery.com>
14196
14197 [BZ #22902]
14198 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14199 (libc_feholdexcept_setroundf128): New macro.
14200 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14201
14202 [BZ #15105]
14203 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14204 libc_hidden_def.
14205 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14206 * include/inttypes.h: New file.
14207
14208 2018-02-27 Joseph Myers <joseph@codesourcery.com>
14209
14210 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14211 -Os in two more places.
14212
14213 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14214
14215 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14216 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14217 be sorted correctly at the moment because of a bug.
14218
14219 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14220
14221 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14222 treat ñ as a primary different character, sync the collation
14223 for Spanish with CLDR.
14224 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14225 * localedata/Makefile: Add new test files.
14226 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14227 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14228 collation order.
14229 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14230 * localedata/am_ET.UTF-8.in: New test file.
14231 * localedata/az_AZ.UTF-8.in: Likewise.
14232 * localedata/be_BY.UTF-8.in: Likewise.
14233 * localedata/ber_DZ.UTF-8.in: Likewise.
14234 * localedata/ber_MA.UTF-8.in: Likewise.
14235 * localedata/bg_BG.UTF-8.in: Likewise.
14236 * localedata/br_FR.UTF-8.in: Likewise.
14237 * localedata/cmn_TW.UTF-8.in: Likewise.
14238 * localedata/crh_UA.UTF-8.in: Likewise.
14239 * localedata/csb_PL.UTF-8.in: Likewise.
14240 * localedata/cv_RU.UTF-8.in: Likewise.
14241 * localedata/cy_GB.UTF-8.in: Likewise.
14242 * localedata/dz_BT.UTF-8.in: Likewise.
14243 * localedata/eo.UTF-8.in: Likewise.
14244 * localedata/es_ES.UTF-8.in: Likewise.
14245 * localedata/fa_IR.UTF-8.in: Likewise.
14246 * localedata/fi_FI.UTF-8.in: Likewise.
14247 * localedata/fil_PH.UTF-8.in: Likewise.
14248 * localedata/fur_IT.UTF-8.in: Likewise.
14249 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14250 * localedata/ha_NG.UTF-8.in: Likewise.
14251 * localedata/ig_NG.UTF-8.in: Likewise.
14252 * localedata/ik_CA.UTF-8.in: Likewise.
14253 * localedata/kk_KZ.UTF-8.in: Likewise.
14254 * localedata/ku_TR.UTF-8.in: Likewise.
14255 * localedata/ky_KG.UTF-8.in: Likewise.
14256 * localedata/ln_CD.UTF-8.in: Likewise.
14257 * localedata/mi_NZ.UTF-8.in: Likewise.
14258 * localedata/ml_IN.UTF-8.in: Likewise.
14259 * localedata/mn_MN.UTF-8.in: Likewise.
14260 * localedata/mr_IN.UTF-8.in: Likewise.
14261 * localedata/mt_MT.UTF-8.in: Likewise.
14262 * localedata/nb_NO.UTF-8.in: Likewise.
14263 * localedata/om_KE.UTF-8.in: Likewise.
14264 * localedata/os_RU.UTF-8.in: Likewise.
14265 * localedata/ps_AF.UTF-8.in: Likewise.
14266 * localedata/ro_RO.UTF-8.in: Likewise.
14267 * localedata/ru_RU.UTF-8.in: Likewise.
14268 * localedata/sc_IT.UTF-8.in: Likewise.
14269 * localedata/se_NO.UTF-8.in: Likewise.
14270 * localedata/sq_AL.UTF-8.in: Likewise.
14271 * localedata/sv_SE.UTF-8.in: Likewise.
14272 * localedata/szl_PL.UTF-8.in: Likewise.
14273 * localedata/tg_TJ.UTF-8.in: Likewise.
14274 * localedata/tk_TM.UTF-8.in: Likewise.
14275 * localedata/tt_RU.UTF-8.in: Likewise.
14276 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14277 * localedata/ug_CN.UTF-8.in: Likewise.
14278 * localedata/uz_UZ.UTF-8.in: Likewise.
14279 * localedata/vi_VN.UTF-8.in: Likewise.
14280 * localedata/yi_US.UTF-8.in: Likewise.
14281 * localedata/yo_NG.UTF-8.in: Likewise.
14282 * localedata/zh_CN.UTF-8.in: Likewise.
14283 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14284 file and fix bugs in the collation.
14285 * localedata/locales/az_AZ: Likewise.
14286 * localedata/locales/be_BY: Likewise.
14287 * localedata/locales/ber_DZ: Likewise.
14288 * localedata/locales/ber_MA: Likewise.
14289 * localedata/locales/bg_BG: Likewise.
14290 * localedata/locales/br_FR: Likewise.
14291 * localedata/locales/br_FR@euro: Likewise.
14292 * localedata/locales/ca_ES: Likewise.
14293 * localedata/locales/cns11643_stroke: Likewise.
14294 * localedata/locales/crh_UA: Likewise.
14295 * localedata/locales/cs_CZ: Likewise.
14296 * localedata/locales/csb_PL: Likewise.
14297 * localedata/locales/cv_RU: Likewise.
14298 * localedata/locales/cy_GB: Likewise.
14299 * localedata/locales/da_DK: Likewise.
14300 * localedata/locales/dz_BT: Likewise.
14301 * localedata/locales/en_CA: Likewise.
14302 * localedata/locales/eo: Likewise.
14303 * localedata/locales/es_CU: Likewise.
14304 * localedata/locales/es_EC: Likewise.
14305 * localedata/locales/es_ES: Likewise.
14306 * localedata/locales/es_US: Likewise.
14307 * localedata/locales/et_EE: Likewise.
14308 * localedata/locales/fa_IR: Likewise.
14309 * localedata/locales/fi_FI: Likewise.
14310 * localedata/locales/fil_PH: Likewise.
14311 * localedata/locales/fur_IT: Likewise.
14312 * localedata/locales/gez_ER@abegede: Likewise.
14313 * localedata/locales/ha_NG: Likewise.
14314 * localedata/locales/hr_HR: Likewise.
14315 * localedata/locales/hsb_DE: Likewise.
14316 * localedata/locales/hu_HU: Likewise.
14317 * localedata/locales/ig_NG: Likewise.
14318 * localedata/locales/ik_CA: Likewise.
14319 * localedata/locales/is_IS: Likewise.
14320 * localedata/locales/iso14651_t1_pinyin: Likewise.
14321 * localedata/locales/kk_KZ: Likewise.
14322 * localedata/locales/ku_TR: Likewise.
14323 * localedata/locales/ky_KG: Likewise.
14324 * localedata/locales/ln_CD: Likewise.
14325 * localedata/locales/lt_LT: Likewise.
14326 * localedata/locales/lv_LV: Likewise.
14327 * localedata/locales/mi_NZ: Likewise.
14328 * localedata/locales/ml_IN: Likewise.
14329 * localedata/locales/mn_MN: Likewise.
14330 * localedata/locales/mr_IN: Likewise.
14331 * localedata/locales/mt_MT: Likewise.
14332 * localedata/locales/nb_NO: Likewise.
14333 * localedata/locales/om_KE: Likewise.
14334 * localedata/locales/os_RU: Likewise.
14335 * localedata/locales/pl_PL: Likewise.
14336 * localedata/locales/ps_AF: Likewise.
14337 * localedata/locales/ro_RO: Likewise.
14338 * localedata/locales/ru_RU: Likewise.
14339 * localedata/locales/ru_UA: Likewise.
14340 * localedata/locales/sc_IT: Likewise.
14341 * localedata/locales/se_NO: Likewise.
14342 * localedata/locales/si_LK: Likewise.
14343 * localedata/locales/sq_AL: Likewise.
14344 * localedata/locales/sv_FI: Likewise.
14345 * localedata/locales/sv_FI@euro: Likewise.
14346 * localedata/locales/sv_SE: Likewise.
14347 * localedata/locales/szl_PL: Likewise.
14348 * localedata/locales/tg_TJ: Likewise.
14349 * localedata/locales/ti_ER: Likewise.
14350 * localedata/locales/tk_TM: Likewise.
14351 * localedata/locales/tl_PH: Likewise.
14352 * localedata/locales/tr_TR: Likewise.
14353 * localedata/locales/tt_RU: Likewise.
14354 * localedata/locales/tt_RU@iqtelif: Likewise.
14355 * localedata/locales/ug_CN: Likewise.
14356 * localedata/locales/uk_UA: Likewise.
14357 * localedata/locales/uz_UZ: Likewise.
14358 * localedata/locales/uz_UZ@cyrillic: Likewise.
14359 * localedata/locales/vi_VN: Likewise.
14360 * localedata/locales/yi_US: Likewise.
14361 * localedata/locales/yo_NG: Likewise.
14362
14363 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14364
14365 * gen-locales.mk: Make test files which contain @ modifiers in their
14366 name work.
14367 * localedata/gen-locale.sh: Likewise.
14368
14369 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14370
14371 * posix/tst-fnmatch.input: Fix results for range expressions
14372 for non C locales.
14373 * posix/tst-regexloc.c: Do not use a range expression for
14374 de_DE.ISO-8859-1 locale.
14375
14376 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14377
14378 * posix/bug-regex5.c: Fix test case because with the new
14379 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14380 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14381 file.
14382
14383 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14384
14385 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14386 downloaded from ISO, the collation order of @-. and space has changed.
14387 Therefore, this test file needed to be adapted.
14388 * localedata/fr_CA.UTF-8.in: Likewise.
14389 * localedata/fr_FR.UTF-8.in: Likewise.
14390 * localedata/uk_UA.UTF-8.in: Likewise.
14391
14392 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14393
14394 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14395 order of ȥ in the new iso14651_t1_common file.
14396 * localedata/pl_PL.UTF-8.in: Likewise.
14397
14398 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14399
14400 * localedata/locales/iso14651_t1_common: Add sections for various
14401 scripts to the iso14651_t1_common file.
14402
14403 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14404
14405 * localedata/locales/iso14651_t1_common: Use the code point of a
14406 character in the fourth collation level instead of IGNORE for all
14407 entries which have IGNORE on all 4 levels.
14408
14409 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14410
14411 * localedata/locales/iso14651_t1_common: Add some convenient collation
14412 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14413 rules similar to those in CLDR.
14414
14415 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14416
14417 * localedata/locales/iso14651_t1_common: The new version of this
14418 file downloaded from ISO contained several syntax errors which
14419 are fixed by this patch.
14420
14421 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14422
14423 * localedata/locales/iso14651_t1_common: replace all <U.....>
14424 with <U000.....> because glibc understands only 4 digit or 8 digit
14425
14426 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14427
14428 * localedata/locales/iso14651_t1_common: Necessary changes
14429 to make the file downloaded from ISO usable by glibc.
14430
14431 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14432
14433 [BZ #14095]
14434 * localedata/locales/iso14651_t1_common: Update file to
14435 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14436
14437 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14438
14439 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14440 of <nptl/pthreadP.h>
14441 (thread_attr_compare): Move function to...
14442 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14443 * sysdeps/nptl/timer_routines.h: ... new header.
14444 * sysdeps/mach/hurd/gai_misc.h: New file.
14445
14446 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14447
14448 * string/strcoll_l.c: Include <libc-diag.h>.
14449 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14450 declarations of seq1 and seq2.
14451
14452 [BZ #15105]
14453 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14454 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14455
14456 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14457
14458 [BZ #22433]
14459 [BZ #22807]
14460 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14461 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14462 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14463 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14464 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14465 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14466
14467 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14468
14469 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14470 macros used in __ptrace_request.
14471
14472 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14473
14474 [BZ #22792]
14475 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14476 to $(CC).
14477 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14478 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14479 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14480 <tcb-offsets.h>.
14481
14482 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14483
14484 [BZ #15105]
14485 * ctype/ctype.c (tolower): Use libc_hidden_def.
14486 (toupper): Likewise.
14487 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14488 [!_ISOMAC] (toupper): Likewise.
14489
14490 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14491
14492 * localedata/Makefile: Remove --quiet argument when
14493 installing locales
14494
14495 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14496
14497 [BZ #17438]
14498 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14499 in d_fmt.
14500 * localedata/locales/pt_PT (LC_TIME): likewise
14501
14502 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14503
14504 [BZ #22646]
14505 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14506 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14507 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14508
14509 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14510
14511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14512
14513 * nptl/Makefile (routines): Remove unregister-atfork.
14514 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14515 (fork_handler_alloc): Remove function.
14516 (fork_handlers, fork_handler_init): New variables.
14517 (__fork_lock): Rename to atfork_lock.
14518 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14519 to use a dynamic array to add/remove atfork handlers.
14520 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14521 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14522 Remove declaration.
14523 (fork_handler): Remove next, refcntr, and need_signal member.
14524 (__run_fork_handler_type): New enum.
14525 (__run_fork_handlers): New prototype.
14526 * nptl/register-atfork.c: Remove file.
14527 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14528
14529 * sysdeps/nptl/nptl-signals.h: Move to ...
14530 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14531 comments.
14532 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14533 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14534 unnecessary check for SIGTIMER.
14535 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14536 remove unnecessary removal of SIGTIMER.
14537 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14538 include-signals.h rename.
14539 * nptl/pthreadP.h: Likewise.
14540 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14541 __is_internal_signal instead of __nptl_is_internal_signal.
14542
14543 2018-02-22 Andrew Waterman <andrew@sifive.com>
14544
14545 [BZ # 22884]
14546 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14547 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14548 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14549 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14550
14551 2018-02-22 DJ Delorie <dj@delorie.com>
14552
14553 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14554
14555 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14556
14557 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14558 do_misaligned, not misaligned8.
14559
14560 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14561
14562 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14563 Add memcpy_thunderx2.
14564 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14565 Increment to 4.
14566 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14567 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14568 and IS_THUNDERX2PA checks.
14569 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14570 Use macro to set name appropriately.
14571 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14572 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14573 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14574 New macro.
14575 (IS_THUNDERX2): New macro.
14576
14577 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14578
14579 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14580
14581 2018-02-21 Zack Weinberg <zackw@panix.com>
14582
14583 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14584 Define here, unconditionally.
14585 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14586 * libio/libioP.h: Remove #if 0 blocks.
14587 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14588 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14589 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14590
14591 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14592 Assume weak_alias is always defined.
14593
14594 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14595 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14596 Remove #if 0 and #ifdef TODO blocks.
14597 Assume text_set_element is always defined.
14598
14599 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14600 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14601 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14602
14603 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14604 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14605 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14606 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14607 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14608 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14609 Reformat bit flags for _flags field to make occupancy clearer.
14610 Update commentary.
14611 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14612 Keep definitions consistent with those in libio/libio.h.
14613
14614 * libio/libio.h (_IO_file_flags): Remove macro.
14615 All uses changed to _flags.
14616
14617 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14618 (__HAVE_COLUMN, _IO_BE): Don't define.
14619 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14620 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14621 * libio/libioP.h (EOF): Don't define.
14622 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14623 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14624 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14625 testing _IO_UNIFIED_JUMPTABLES.
14626
14627 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14628 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14629 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14630 (_IO_size_t): Delete; all uses changed to size_t.
14631 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14632 (_IO_off_t): Delete; all uses changed to off_t.
14633 (_IO_off64_t): Delete; all uses changed to off64_t.
14634 (_IO_pid_t): Delete; all uses changed to pid_t.
14635 (_IO_uid_t): Delete; all uses changed to uid_t.
14636 (_IO_wint_t): Delete; all uses changed to wint_t.
14637 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14638 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14639 (_IO_cookie_io_functions_t): Delete; all uses changed to
14640 cookie_io_functions_t.
14641 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14642 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14643 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14644 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14645
14646 * libio/iofopncook.c: Remove unnecessary forward declarations.
14647 * libio/iolibio.h: Correct outdated commentary.
14648 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14649 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14650 Remove unnecessary casts.
14651 * stdio-common/getline.c: Use _IO_getdelim directly.
14652 Don't redefine ssize_t.
14653 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14654 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14655 Remove outdated comments.
14656 * stdio-common/vfscanf.c: Don't redefine va_list.
14657
14658 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14659 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14660 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14661 which are always true, and __cplusplus, which is always false.
14662
14663 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14664
14665 [BZ #15105]
14666 [BZ #19463]
14667 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14668 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14669 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14670 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14671 libc_hidden_proto.
14672 [!_ISOMAC] (putc_unlocked): Likewise.
14673 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14674 define inline if [__USE_EXTERN_INLINES].
14675 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14676 putc_unlocked.
14677
14678 [BZ #15105]
14679 [BZ #19463]
14680 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14681 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14682 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14683 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14684 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14685 getc_unlocked.
14686 * time/tzfile.c (__tzfile_read): Likewise.
14687
14688 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14689
14690 [BZ #22517]
14691 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14692
14693 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14694
14695 * io/fcntl.h: Fix a typo in a comment.
14696
14697 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14698
14699 [BZ #22862]
14700 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14701 define _DEFAULT_SOURCE.
14702 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14703
14704 2018-02-21 Florian Weimer <fweimer@redhat.com>
14705
14706 [BZ #20890]
14707 * elf/cache.c (save_cache): Call fsync on temporary file before
14708 renaming it.
14709 (save_aux_cache): Call fdatasync on temporary file before renaming
14710 it.
14711
14712 2018-02-21 Florian Weimer <fweimer@redhat.com>
14713
14714 [BZ #22787]
14715 * include/caller.h: Remove file.
14716 * elf/dl-caller.c: Likewise.
14717 * elf/Makefile (dl-routines): Remove dl-caller.
14718 (shared-only-routines): Do not add dl-caller.
14719 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14720 __check_caller.
14721 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14722 member.
14723 (dl_open_worker): Do not call __check_caller.
14724 (_dl_open): Do not set caller_dl_open member.
14725 * elf/rtld.c (_rtld_global_ro): Do not initialize
14726 _dl_check_caller member.
14727 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14728 _dl_check_caller member.
14729 (_dl_check_caller): Remove declaration.
14730 * sysdeps/unix/sysv/linux/dl-execstack.c
14731 (_dl_make_stack_executable): Do not call __check_caller.
14732
14733 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14734
14735 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14736 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14737
14738 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14739
14740 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14741 description.
14742
14743 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14744
14745 [BZ #16335]
14746 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14747 of 199606L, 200112L, and 200809L.
14748 (_XOPEN_SOURCE): Document special values of 600 and 700.
14749 (_ISOC11_SOURCE): Document macro.
14750 (_ATFILE_SOURCE): Likewise.
14751 (_FORTIFY_SOURCE): Likewise.
14752
14753 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14754
14755 [BZ #15105]
14756 [BZ #19463]
14757 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14758 and define as weak alias of __ferror_unlocked. Use
14759 libc_hidden_weak.
14760 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14761 libc_hidden_proto.
14762 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14763 function if [__USE_EXTERN_INLINES].
14764 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14765 ferror_unlocked.
14766
14767 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14768
14769 [BZ #6889]
14770 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14771
14772 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14773
14774 [BZ #22818]
14775 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14776 the GLIBC_2.1 version.
14777
14778 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14779
14780 [BZ #21508]
14781 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14782 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14783 intl/tst-gettext-de.po from po/de.po by removing the
14784 POT-Creation-Date line.
14785 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14786 ../po/de.po.
14787 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14788 ../po/de.po.
14789
14790 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14791
14792 * mach/Makefile (headers): Add mach/param.h.
14793 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14794 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14795 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14796 (__ptsname_r): Move implementation to...
14797 (__ptsname_internal): ... new function. Add filling the STP
14798 structure.
14799
14800 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14801
14802 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14803 idouble to 1 ULP.
14804
14805 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14806
14807 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14808 syntax.
14809
14810 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14811
14812 * nptl/Makefile (tst-mutex8-ENV): Delete.
14813 * nptl/tst-mutex8.c (check_type):
14814 Add runtime check if mutex will be elided.
14815
14816 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14817
14818 [BZ #20980]
14819 [BZ #21234]
14820 * manual/install.texi (Configuring and compiling): Describe
14821 passing CC and CFLAGS on configure command line, not as
14822 environment variables. Use @code markup on those variables.
14823 Specify what options go in CC and what go in CFLAGS. Note the
14824 requirement to compile with optimization.
14825 * INSTALL: Regenerated.
14826
14827 [BZ #18124]
14828 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14829 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14830 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14831 __sigprocmask instead of sigprocmask.
14832 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14833 Likewise.
14834 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14835 __sigsetjmp and sigprocmask.
14836
14837 [BZ #15105]
14838 * include/argz.h (argz_next): Use libc_hidden_proto.
14839 (__argz_next): Likewise.
14840 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14841 (argz_next): Use libc_hidden_weak.
14842
14843 [BZ #15105]
14844 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14845 libc_hidden_proto.
14846 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14847 libc_hidden_def.
14848
14849 [BZ #15105]
14850 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14851 libc_hidden_proto.
14852 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14853
14854 [BZ #15105]
14855 [BZ #19463]
14856 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14857 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14858 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14859 (__feof_unlocked): New declaration, and inline function if
14860 [__USE_EXTERN_INLINES].
14861 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14862 instead of feof_unlocked.
14863 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14864 * nss/nsswitch.c (nss_parse_file): Likewise.
14865 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14866 Likewise.
14867 * time/getdate.c (__getdate_r): Likewise.
14868 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14869 Define as macro to call __feof_unlocked.
14870
14871 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14872
14873 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14874
14875 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14876
14877 * math/Makefile: Remove mpexp.c and mplog.c
14878 * sysdeps/i386/fpu/mpexp.c: Delete file.
14879 * sysdeps/i386/fpu/mplog.c: Likewise.
14880 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14881 * sysdeps/ia64/fpu/mplog.c: Likewise.
14882 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14883 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14884 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14885 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14886 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14887 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14888 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14889 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14890 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14891 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14892 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14893 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14894 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14895 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14896 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14897 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14898
14899 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14900
14901 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14902
14903 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14904
14905 * sysdeps/sh/libm-test-ulps: Update.
14906
14907 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14908
14909 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14910 idouble to 1 ULP.
14911
14912 2018-02-12 Zack Weinberg <zackw@panix.com>
14913
14914 [BZ #19239]
14915 * posix/sys/types.h: Don't include sys/sysmacros.h.
14916 * misc/sys/sysmacros.h: Remove the conditional deprecation
14917 warnings for the macros defined by this header.
14918
14919 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14920
14921 * manual/probes.texi: Remove slowexp probes.
14922 * math/Makefile: Remove slowexp.
14923 * sysdeps/generic/math_private.h (__slowexp): Remove.
14924 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14925 document error bounds.
14926 * sysdeps/i386/fpu/slowexp.c: Remove.
14927 * sysdeps/ia64/fpu/slowexp.c: Remove.
14928 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14929 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14930 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14931 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14932 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14933 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14934 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14935 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14936 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14937 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14938 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14939
14940 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14941
14942 [BZ #13932]
14943 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14944 * benchtests/pow-inputs: Update comment for slow path cases.
14945 * manual/probes.texi (slowpow_p10): Delete removed probe.
14946 (slowpow_p10): Likewise.
14947 * math/Makefile: Remove halfulp.c and slowpow.c.
14948 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14949 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14950 (__halfulp): Remove.
14951 (__slowpow): Remove.
14952 * sysdeps/i386/fpu/halfulp.c: Delete file.
14953 * sysdeps/i386/fpu/slowpow.c: Likewise.
14954 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14955 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14956 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14957 improve comments and add error analysis.
14958 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14959 (power1): Remove function:
14960 (log1): Remove error argument, add error analysis.
14961 (my_log2): Remove function.
14962 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14963 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14964 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14965 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14966 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14967 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14968 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14969 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14970 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14971 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14972 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14973 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14974 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14975 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14976
14977 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14978
14979 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14980 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14981
14982 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14983
14984 [BZ #22433]
14985 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14986 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14987 and PTRACE_SETHBPREGS.
14988
14989 2018-02-10 Zack Weinberg <zackw@panix.com>
14990
14991 [BZ #22830]
14992 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14993 correctly.
14994 * malloc/tst-malloc-stats-cancellation.c: New test case.
14995 * malloc/Makefile: Add new test case.
14996
14997 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14998
14999 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15000
15001 2018-02-10 Joseph Myers <joseph@codesourcery.com>
15002
15003 * math/Makefile (libm-narrow-fns): Add add.
15004 (libm-test-funcs-narrow): Likewise.
15005 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15006 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15007 * math/gen-auto-libm-tests.c (test_functions): Add add.
15008 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15009 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15010 (NARROW_ADD_TRIVIAL): Likewise.
15011 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15012 macro.
15013 (__daddl): Likewise.
15014 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15015 dadd.
15016 (CFLAGS-nldbl-dadd.c): New variable.
15017 (CFLAGS-nldbl-fadd.c): Likewise.
15018 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15019 __nldbl_daddl.
15020 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15021 prototype.
15022 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15023 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15024 * math/auto-libm-test-in: Add tests of add.
15025 * math/auto-libm-test-out-narrow-add: New generated file.
15026 * math/libm-test-narrow-add.inc: New file.
15027 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15028 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15029 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15030 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15031 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15032 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15033 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15034 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15035 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15036 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15037 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15038 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15039 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15040 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15041 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15042 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15043 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15044 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15046 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15047 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15048 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15049 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15050 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15051 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15052 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15053 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15054 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15055 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15056 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15057 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15058 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15063 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15064 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15065 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15066 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15067 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15068 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15069 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15070 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15071 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15072 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15073
15074 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15075 (f128-pairs): New variable.
15076 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15077 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15078 to CFLAGS.
15079 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15080 Also make tests add $(f128-loader-link) to gnulib-tests.
15081
15082 2018-02-09 DJ Delorie <dj@redhat.com>
15083
15084 [BZ #22827]
15085 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15086 64-bit ELF type for 64-bit ELF objects.
15087
15088 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15089
15090 * math/libm-test-driver.c (snan_tests_arg): New variable.
15091 * math/libm-test-support.h (snan_tests_arg): New declaration.
15092 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15093
15094 * math/Makefile (test-type-pairs): New variable.
15095 (test-type-pairs-f64xf128-yes): Likewise.
15096 (tests): Add test-narrow-macros.
15097 (libm-test-funcs-narrow): New variable.
15098 (libm-test-c-narrow): Likewise.
15099 (generated): Add $(libm-test-c-narrow).
15100 (libm-tests-base-narrow): New variable.
15101 (libm-tests-narrow): Likewise.
15102 (libm-tests): Add $(libm-tests-narrow).
15103 (libm-tests-for-type): Handle $(libm-tests-narrow).
15104 (libm-test-c-narrow-obj): New variable.
15105 ($(libm-test-c-narrow-obj)): New rule.
15106 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15107 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15108 $(o-iterator) to set dependencies and CFLAGS.
15109 * math/gen-auto-libm-tests.c: Document use for narrowing
15110 functions.
15111 (output_for_one_input_case): Take argument NARROW.
15112 (generate_output): Likewise. Update call to
15113 output_for_one_input_case.
15114 (main): Take --narrow option. Update call to generate_output.
15115 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15116 (apply_lit): Update call to _apply_lit.
15117 (apply_arglit): New function.
15118 (parse_args): Handle "a" arguments.
15119 (parse_auto_input): Handle format names using ":".
15120 * math/README.libm-test: Document "a" parameter type.
15121 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15122 (ARG_TYPE_TRUE_MIN): Likewise.
15123 (ARG_TYPE_MAX): Likwise.
15124 (ARG_MIN_EXP): Likewise.
15125 (ARG_MAX_EXP): Likewise.
15126 (ARG_MANT_DIG): Likewise.
15127 (TEST_COND_arg_ibm128): Likewise.
15128 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15129 (TEST_COND_arg_fmt): New macro.
15130 (init_max_error): Update prototype.
15131 * math/libm-test-support.c (test_ibm128): New variable.
15132 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15133 instead of using [TEST_COND_ibm128] conditional.
15134 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15135 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15136 [TEST_NARROW] (TEST_MSG): New definition.
15137 (arg_plus_zero): New macro.
15138 (arg_minus_zero): Likewise.
15139 (arg_plus_infty): Likewise.
15140 (arg_minus_infty): Likewise.
15141 (arg_qnan_value_pl): Likewise.
15142 (arg_qnan_value): Likewise.
15143 (arg_snan_value_pl): Likewise.
15144 (arg_snan_value): Likewise.
15145 (arg_max_value): Likewise.
15146 (arg_min_value): Likewise.
15147 (arg_min_subnorm_value): Likewise.
15148 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15149 (RUN_TEST_LOOP_aa_f): New macro.
15150 (TEST_SUFF): New macro.
15151 (TEST_SUFF_STR): Likewise.
15152 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15153 (TEST_COND_any_ibm128): New macro.
15154 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15155 this_func. Update call to init_max_error.
15156 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15157 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15158 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15159 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15160 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15161 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15162 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15163 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15164 * math/test-math-vector.h (TEST_NARROW): Likewise.
15165 * math/test-arg-double.h: New file.
15166 * math/test-arg-float128.h: Likewise.
15167 * math/test-arg-float32x.h: Likewise.
15168 * math/test-arg-float64.h: Likewise.
15169 * math/test-arg-float64x.h: Likewise.
15170 * math/test-arg-ldouble.h: Likewise.
15171 * math/test-math-narrow.h: Likewise.
15172 * math/test-narrow-macros.c: Likewise.
15173 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15174 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15175 test-narrow-macros-ldbl-64.
15176 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15177
15178 * math/bits/mathcalls-narrow.h: New file.
15179 * include/bits/mathcalls-narrow.h: Likewise.
15180 * math/math-narrow.h: Likewise.
15181 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15182 (__MATHCALL_NARROW_ARGS_2): Likewise.
15183 (__MATHCALL_NARROW_ARGS_3): Likewise.
15184 (__MATHCALL_NARROW_NORMAL): Likewise.
15185 (__MATHCALL_NARROW_REDIR): Likewise.
15186 (__MATHCALL_NARROW): Likewise.
15187 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15188 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15189 defined.
15190 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15191 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15192 (libm-narrow-fns): New variable.
15193 (libm-narrow-types-basic): Likewise.
15194 (libm-narrow-types-ldouble-yes): Likewise.
15195 (libm-narrow-types-float128-yes): Likewise.
15196 (libm-narrow-types-float128-alias-yes): Likewise.
15197 (libm-narrow-types): Likewise.
15198 (libm-routines): Add narrowing functions.
15199 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15200 (libc_feholdexcept_setroundf128): New macro.
15201 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15202 * sysdeps/ieee754/float128/float128_private.h: Include
15203 <math/math-narrow.h>.
15204 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15205 Undefine and redefine.
15206 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15207 (libm_alias_float_ldouble): Undefine and redefine.
15208 (libm_alias_double_ldouble): Likewise.
15209
15210 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15211
15212 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15213
15214 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15215 FPCR/FPSR.
15216
15217 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
15218
15219 * manual/creature.texi: Convert references to gcc.info to gcc.
15220 * manual/stdio.texi: Likewise.
15221 * manual/string.texi: Likewise.
15222
15223 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15224
15225 [BZ #17979]
15226 * posix/bits/types.h (__int_least8_t): New typedef.
15227 (__uint_least8_t): Likewise.
15228 (__int_least16_t): Likewise.
15229 (__uint_least16_t): Likewise.
15230 (__int_least32_t): Likewise.
15231 (__uint_least32_t): Likewise.
15232 (__int_least64_t): Likewise.
15233 (__uint_least64_t): Likewise.
15234 * sysdeps/generic/stdint.h (int_least8_t): Define using
15235 __int_least8_t.
15236 (int_least16_t): Define using __int_least16_t.
15237 (int_least32_t): Define using __int_least32_t.
15238 (int_least64_t): Define using __int_least64_t.
15239 (uint_least8_t): Define using __uint_least8_t.
15240 (uint_least16_t): Define using __uint_least16_t.
15241 (uint_least32_t): Define using __uint_least32_t.
15242 (uint_least64_t): Define using __uint_least64_t.
15243 * wcsmbs/uchar.h: Include <bits/types.h>.
15244 (char16_t): Define using __uint_least16_t conditional only on
15245 [!__USE_ISOCXX11].
15246 (char32_t): Define using __uint_least32_t conditional only on
15247 [!__USE_ISOCXX11].
15248 * wcsmbs/test-char-types.c: New file.
15249 * wcsmbs/Makefile (tests): Add test-char-types.
15250
15251 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15252 version to 4.0.1.
15253
15254 2018-02-07 Zack Weinberg <zackw@panix.com>
15255
15256 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15257 Delete all contents except for definitions of _G_HAVE_MMAP and
15258 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15259 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15260 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15261 change as above.
15262
15263 * libio/libio.h: Don't include bits/_G_config.h here.
15264 Include stddef.h with __need_wchar_t defined. Include
15265 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15266 Define _IO_iconv_t here, directly.
15267 Don't define _IO_HAVE_ST_BLKSIZE.
15268 * libio/libioP.h: Include _G_config.h here. Move include of
15269 shlib-compat.h up with rest of includes. Simplify conditionals
15270 controlling definition of _IO_JUMPS_OFFSET.
15271
15272 * csu/init.c: Remove always-true #if around entire file.
15273 Don't include stdio.h. Set _IO_stdin_used to hardwired
15274 constant 0x20001, and update commentary.
15275 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15276 Replace all uses of _G_va_list with __gnuc_va_list.
15277 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15278 instead of #if _IO_HAVE_ST_BLKSIZE.
15279 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15280 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15281 not #ifdef.
15282
15283 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15284 multiple-include guard to match.
15285 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15286 into this file.
15287 Remove preprocessor conditionals that are always true and/or
15288 redundant to other preprocessor conditionals in the same nest.
15289 Include shlib-compat.h unconditionally.
15290 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15291 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15292 defined after including stdio.h.
15293 Use __BEGIN_DECLS/__END_DECLS.
15294
15295 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15296 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15297 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15298
15299 2018-02-07 Zack Weinberg <zackw@panix.com>
15300
15301 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15302 New single-type headers split from _G_config.h.
15303 * libio/bits/types/cookie_io_functions_t.h
15304 * libio/bits/types/struct_FILE.h
15305 New single-type headers split from libio.h.
15306
15307 * libio/Makefile: Install the above new headers. Don't install
15308 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15309 bits/libio-ldbl.h.
15310 * libio/_G_config.h, libio/libio.h: Delete file.
15311
15312 * libio/bits/libio.h: Remove improper-inclusion guard.
15313 Include stdio.h and don't repeat anything that it does.
15314 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15315 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15316 __io_read_fn as cookie_read_function_t,
15317 __io_write_fn as cookie_write_function_t,
15318 __io_seek_fn as cookie_seek_function_t,
15319 __io_close_fn as cookie_close_function_t,
15320 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15321 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15322 here, in the "compatibility defines" section. Remove an #if 0
15323 block. Use the "body" macros from bits/types/struct_FILE.h to
15324 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15325 and _IO_ferror_unlocked.
15326 Move prototypes of __uflow and __overflow...
15327
15328 * libio/stdio.h: ...here. Don't include bits/libio.h.
15329 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15330 directly from stdarg.h. Include bits/types/__fpos_t.h,
15331 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15332 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15333 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15334 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15335 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15336 __ssize_t, not _IO_ssize_t. Unconditionally define
15337 BUFSIZ as 8192 and EOF as (-1).
15338
15339 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15340 macros from bits/types/struct_FILE.h instead of _IO_* macros
15341 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15342 instead of _IO_ssize_t.
15343 * libio/bits/stdio2.h: Similarly.
15344
15345 * libio/iolibio.h: Add multiple-include guard.
15346 Include bits/libio.h after stdio.h.
15347 * libio/libioP.h: Add multiple-include guard.
15348 Include stdio.h and bits/libio.h before iolibio.h.
15349
15350 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
15351 * include/bits/types/cookie_io_functions_t.h
15352 * include/bits/types/struct_FILE.h: New wrappers.
15353
15354 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15355 Get definitions of _G_fpos_t and _G_fpos64_t from
15356 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15357 respectively. Remove improper-inclusion guards.
15358
15359 * conform/data/stdio.h-data: Update expectations of va_list.
15360 * scripts/check-installed-headers.sh: Remove special case for
15361 libio.h and _G_config.h.
15362
15363 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15364
15365 [BZ #15105]
15366 [BZ #19463]
15367 * include/sys/sysmacros.h [!_ISOMAC]
15368 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15369 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15370 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15371 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15372 libc_hidden_proto.
15373 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15374 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15375 Likewise.
15376 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15377 Undefine and redefine to add use __gnu_dev_ prefix.
15378 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15379 Likewise.
15380 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15381 and define as hidden inline function.
15382 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15383 Likewise.
15384 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15385 Likewise.
15386 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15387 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15388 (gnu_dev_minor): Likewise.
15389 (gnu_dev_makedev): Likewise.
15390 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15391 makedev.
15392 * posix/wordexp.c (exec_comm_child): Likewise.
15393 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15394 instead of minor and __gnu_dev_major instead of major.
15395 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15396 __gnu_dev_major instead of major.
15397 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15398 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15399 instead of gnu_dev_minor.
15400 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15401 (SLAVE_P): Likewise.
15402 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15403 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15404 instead of major.
15405
15406 [BZ #21313]
15407 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15408 in another place.
15409 * locale/weightwc.h (findidx): Likewise.
15410
15411 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15412
15413 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15414 (slowlog_inexact): Likewise
15415 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15416 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15417
15418 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15419
15420 [BZ #22797]
15421 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15422 missing second underscore to parameter name.
15423
15424 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15425
15426 [BZ #14508]
15427 [BZ #15512]
15428 [BZ #17082]
15429 [BZ #20530]
15430 * bits/byteswap.h: Update file comment. Do not include
15431 <bits/byteswap-16.h>.
15432 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15433 constant.
15434 (__bswap_16): Define as inline function.
15435 (__bswap_constant_32): Reformat definition.
15436 (__bswap_32): Always define as inline function, not macro, using
15437 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15438 otherwise __bswap_constant_32.
15439 (__bswap_constant_64): Reformat definition. Do not use
15440 __extension__ here.
15441 (__bswap_64): Always define as inline function, not macro. Use
15442 __extension__ on function definition. Use __builtin_bswap64 if
15443 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15444 * string/test-endian-file-scope.c: New file.
15445 * string/test-endian-sign-conversion.c: Likewise.
15446 * string/Makefile (headers): Remove bits/byteswap-16.h.
15447 (tests): Add test-endian-file-scope and
15448 test-endian-sign-conversion.
15449 (CFLAGS-test-endian-sign-conversion.c): New variable.
15450 * bits/byteswap-16.h: Remove file.
15451 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15452 * sysdeps/ia64/bits/byteswap.h: Likewise.
15453 * sysdeps/m68k/bits/byteswap.h: Likewise.
15454 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15455 * sysdeps/s390/bits/byteswap.h: Likewise.
15456 * sysdeps/tile/bits/byteswap.h: Likewise.
15457 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15458 * sysdeps/x86/bits/byteswap.h: Likewise.
15459
15460 [BZ #17721]
15461 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15462 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15463 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15464 199901L] (__restrict): Define to restrict.
15465
15466 [BZ #19667]
15467 * string/testcopy.c: Include <support/support.h>. Do not include
15468 <malloc.h>. Use <support/test-driver.c>.
15469 (main): Rename to do_test. Make static. Use xmalloc instead of
15470 malloc.
15471
15472 [BZ #13575]
15473 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15474 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15475 (SSIZE_MAX): Define to INT_MAX.
15476 * posix/test-ssize-max.c: New file.
15477 * posix/Makefile (tests): Add test-ssize-max.
15478
15479 [BZ #19668]
15480 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15481 <support/support.h>. Do not include <malloc.h>.
15482 (query_auxv): Use xmalloc instead of malloc.
15483
15484 [BZ #14553]
15485 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15486 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15487 instead of loff_t.
15488
15489 2018-02-06 Florian Weimer <fweimer@redhat.com>
15490
15491 [BZ #18023]
15492 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15493 Use scratch_buffer instead of extend_alloca.
15494
15495 2018-02-06 Zack Weinberg <zackw@panix.com>
15496
15497 * libio/stdio.h: Don't define getc or putc as macros.
15498 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15499 not _IO_getc and _IO_putc.
15500
15501 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15502 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15503
15504 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15505
15506 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15507 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15508
15509 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15510
15511 [BZ #14890]
15512 * elf/elf.h (NT_PRFPREG): New macro.
15513 (NT_S390_VXRS_LOW): Likewise.
15514 (NT_S390_VXRS_HIGH): Likewise.
15515 (NT_S390_GS_CB): Likewise.
15516 (NT_S390_GS_BC): Likewise.
15517 (NT_S390_RI_CB): Likewise.
15518
15519 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15520 (MAP_SYNC): New macro.
15521 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15522 Likewise.
15523 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15524 (MAP_SYNC): Likewise.
15525 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15526 (MAP_SYNC): Likewise.
15527 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15528 (MAP_SYNC): Likewise.
15529 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15530 (MAP_SYNC): Likewise.
15531 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15532 (MAP_SYNC): Likewise.
15533 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15534 (MAP_SYNC): Likewise.
15535 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15536 Likewise.
15537 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15538 Likewise.
15539
15540 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15541 (MAP_SHARED_VALIDATE): New macro.
15542 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15543 (MAP_SHARED_VALIDATE): Likewise.
15544
15545 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15546
15547 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15548 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15549 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15550
15551 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15552
15553 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15554 (DT_NUM): Updated to 35.
15555
15556 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15557
15558 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15559 __builtin_expect with __glibc_likely and __glibc_unlikely.
15560 (elf_machine_rela): Likewise.
15561 (elf_machine_lazy_rel): Likewise.
15562
15563 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15564
15565 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15566 __builtin_expect with __glibc_likely and __glibc_unlikely.
15567 (elf_machine_lazy_rel): Likewise.
15568
15569 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15570
15571 [BZ #22638]
15572 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15573 SHARED.
15574 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15575
15576 2018-02-05 Andreas Schwab <schwab@suse.de>
15577
15578 [BZ #22761]
15579 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15580 string.
15581
15582 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15583
15584 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15585 not check against PTHREAD_STACK_MIN.
15586
15587 2018-02-02 Sean McKean <smckean83@gmail.com>
15588
15589 [BZ #22735]
15590 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15591
15592 2018-02-02 Florian Weimer <fweimer@redhat.com>
15593
15594 [BZ #22753]
15595 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15596 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15597 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15598 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15599 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15600 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15601 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15602 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15603 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15604 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15605 * misc/tst-preadvwritev2.c (do_test): Call it.
15606 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15607
15608 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15609
15610 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15611
15612 * benchtests/bench-memcmp.c: Print json instead of plain text.
15613
15614 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15615 every test run.
15616
15617 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15618
15619 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15620 version to 4.15.
15621 (s390_sthyi): New syscall.
15622
15623 * sysdeps/generic/ldbl-classify-compat.h: New file.
15624 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15625 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15626 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15627 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15628 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15629 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15630 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15631 <ldbl-classify-compat.h>.
15632 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15633 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15634 <ldbl-classify-compat.h>.
15635 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15636 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15637 <ldbl-classify-compat.h>.
15638 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15639 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15640 <ldbl-classify-compat.h>.
15641 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15642 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15643 <ldbl-classify-compat.h>.
15644 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15645 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15646 <ldbl-classify-compat.h>.
15647 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15648 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15649 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15650 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15651 * sysdeps/microblaze/math_private.h: Likewise.
15652 * sysdeps/nios2/math_private.h: Likewise.
15653 * sysdeps/sh/math_private.h: Likewise.
15654
15655 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15656 * sysdeps/m68k/coldfire/math_private.h: ... here.
15657 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15658 * sysdeps/tile/math_private.h: Likewise.
15659 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15660 Remove macro.
15661 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15662 Likewise.
15663
15664 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15665 Remove macro.
15666 (libc_fetestexcept): Likewise.
15667 (libc_feupdateenv_test): Likewise.
15668 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15669 (libc_fetestexcept): Likewise.
15670 (libc_feupdateenv_test): Likewise.
15671 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15672 (libc_fetestexcept): Likewise.
15673 (libc_feupdateenv_test): Likewise.
15674 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15675 (libc_fetestexcept): Likewise.
15676 (libc_feupdateenv_test): Likewise.
15677
15678 * sysdeps/generic/math_private.h
15679 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15680 New inline function.
15681 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15682 Likewise.
15683
15684 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15685 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15686 * sysdeps/generic/math_private.h
15687 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15688 inline function.
15689 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15690 Likewise.
15691 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15692 Likewise.
15693 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15694 Likewise.
15695 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15696 Likewise.
15697 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15698 Likewise.
15699 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15700 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15701 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15702 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15703 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15704 (__fegetenv): Likewise.
15705 (fesetenv): Likewise.
15706 (__fesetenv): Likewise.
15707 (feupdateenv): Likewise.
15708 (__feupdateenv): Likewise.
15709 (fegetround): Likewise.
15710 (__fegetround): Likewise.
15711 (fesetround): Likewise.
15712 (__fesetround): Likewise.
15713
15714 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15715 (feraiseexcept): New macro.
15716 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15717 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15718 Remove macro.
15719 (__feraiseexcept): Likewise.
15720 (feclearexcept): Likewise.
15721 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15722 (__feraiseexcept): Likewise.
15723 (feclearexcept): Likewise.
15724 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15725 (__feraiseexcept): Likewise.
15726 (feclearexcept): Likewise.
15727 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15728 (__feraiseexcept): Likewise.
15729 (feclearexcept): Likewise.
15730 (fetestexcept): Likewise.
15731
15732 * sysdeps/m68k/coldfire/math-tests.h: New file.
15733
15734 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15735 * sysdeps/m68k/bits/fenv.h: ... here.
15736 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15737 not define.
15738 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15739 Likewise.
15740 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15741 Likewise.
15742 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15743 Likewise.
15744 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15745 Likewise.
15746 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15747 Define to 0.
15748 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15749 (__FE_UNDEFINED): New enum constant.
15750 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15751 Do not define.
15752 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15753 Likewise.
15754 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15755 Likewise.
15756 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15757 to match generic bits/fenv.h.
15758 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15759 Do not define.
15760
15761 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15762 packed on bits.
15763 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15764 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15765 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15766 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15767
15768 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15769 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15770 Joseph Myers <joseph@codesourcery.com>
15771
15772 [BZ #21314]
15773 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15774 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15775 computation using c.
15776 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15777 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15778 computation using c.
15779
15780 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15781
15782 * version.h (RELEASE): Set to "development".
15783 (VERSION): Set to "2.27.9000".
15784 * NEWS (2.28): New section.
15785
15786 * version.h (RELEASE): Set to "stable".
15787 (VERSION): Set to "2.27".
15788 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15789
15790 * NEWS: Add the list of bugs fixed in 2.27.
15791
15792 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15793
15794 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15795 against PTHREAD_STACK_MIN.
15796
15797 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15798
15799 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15800 New entries.
15801 (Rafal Luzynski, Andreas Schwab): Update.
15802
15803 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15804
15805 [BZ #10871]
15806 * NEWS: List the languages which actually use the alternative
15807 months feature in this release. Also explain that "alt_mon" and
15808 "ab_alt_mon" are optional.
15809
15810 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15811
15812 [BZ #22765]
15813 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15814
15815 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15816
15817 * manual/install.texi (Tools for Compilation): Update the newest
15818 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15819 * INSTALL: Regenerated.
15820
15821 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15822
15823 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15824 instead of __builtin_expect.
15825
15826 2018-01-30 Florian Weimer <fweimer@redhat.com>
15827
15828 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15829 data.
15830 * nss/tst-nss-getpwent.c (do_test): Likewise.
15831
15832 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15833
15834 [BZ #10871]
15835 * localedata/locales/hr_HR (mon): Rename to...
15836 (alt_mon): This.
15837 (mon): Import from CLDR (genitive case).
15838 (d_t_fmt): Update the comment.
15839
15840 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15841
15842 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15843 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15844 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15845
15846 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15847
15848 * mach/Versions: Fix version when __mach_host_self_ was added.
15849 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15850 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15851 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15852 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15853 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15854 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15855 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15856 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15857 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15858 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15859 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15860 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15861 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15862 || to respect codestyle.
15863 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15864 (do_test_bz20181): Rename accordingly.
15865 * malloc/malloc.c: Include <assert.h>.
15866 (assert): Do not define.
15867 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15868 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15869 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15870 * sysdeps/mach/hurd/hp-timing.h: New file.
15871 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15872
15873 2018-01-29 Darius Rad <darius@bluespec.com>
15874
15875 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15876
15877 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15878
15879 * sysdeps/init_array/crti.S (.section .init_array): Add
15880 PREINIT_FUNCTION when defined.
15881 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15882 * config.h.in: Regenerate.
15883 * manual/platform.texi: Add RISC-V documenation for
15884 __riscv_flush_icache.
15885 * sysdeps/riscv/__longjmp.S: New file.
15886 * sysdeps/riscv/backtrace.c: Likewise.
15887 * sysdeps/riscv/bits/endian.h: Likewise.
15888 * sysdeps/riscv/bits/setjmp.h: Likewise.
15889 * sysdeps/riscv/bits/wordsize.h: Likewise.
15890 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15891 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15892 * sysdeps/riscv/dl-trampoline.S: Likewise.
15893 * sysdeps/riscv/gccframe.h: Likewise.
15894 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15895 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15896 * sysdeps/riscv/machine-gmon.h: Likewise.
15897 * sysdeps/riscv/memusage.h: Likewise.
15898 * sysdeps/riscv/setjmp.S: Likewise.
15899 * sysdeps/riscv/sys/asm.h: Likewise.
15900 * sysdeps/riscv/tls-macros.h: Likewise.
15901 * sysdeps/riscv/dl-tls.h: New file.
15902 * sysdeps/riscv/libc-tls.c: Likewise.
15903 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15904 * sysdeps/riscv/nptl/tls.h: Likewise.
15905 * sysdeps/riscv/stackinfo.h: Likewise.
15906 * sysdeps/riscv/bits/fenv.h: New file.
15907 * sysdeps/riscv/e_sqrtl.c: Likewise.
15908 * sysdeps/riscv/fpu_control.h: Likewise.
15909 * sysdeps/riscv/math-tests.h: Likewise.
15910 * sysdeps/riscv/nofpu/Implies: Likewise.
15911 * sysdeps/riscv/sfp-machine.h: Likewise.
15912 * sysdeps/riscv/tininess.h: Likewise.
15913 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15914 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15915 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15916 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15917 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15918 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15919 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15920 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15921 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15922 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15923 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15924 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15925 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15926 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15927 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15928 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15929 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15930 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15931 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15932 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15933 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15934 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15935 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15936 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15937 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15938 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15939 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15940 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15941 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15942 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15943 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15944 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15945 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15946 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15947 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15948 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15949 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15950 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15951 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15952 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15953 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15954 * sysdeps/riscv/rvf/math_private.h: Likewise.
15955 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15956 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15957 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15958 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15959 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15960 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15961 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15962 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15963 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15964 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15965 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15966 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15967 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15968 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15969 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15970 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15971 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15972 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15973 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15974 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15975 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15976 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15977 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15978 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15979 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15980 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15981 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15982 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15983 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15984 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15985 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15986 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15987 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15988 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15989 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15990 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15991 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15992 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15993 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15994 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15995 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15996 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15997 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15998 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15999 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16000 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16001 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16002 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16003 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16004 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16005 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
16006 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16007 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16008 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
16009 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16010 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16011 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16012 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16013 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16014 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16015 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16016 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16017 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16018 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16019 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16020 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16021 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16022 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16023 * sysdeps/riscv/Implies: New file.
16024 * sysdeps/riscv/Makefile: Likewise.
16025 * sysdeps/riscv/configure: Likewise.
16026 * sysdeps/riscv/configure.ac: Likewise.
16027 * sysdeps/riscv/nptl/Makefile: Likewise.
16028 * sysdeps/riscv/preconfigure: Likewise.
16029 * sysdeps/riscv/rv64/Implies-after: Likewise.
16030 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16031 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16032 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16033 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16034 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16035 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16036 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16037 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16038 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16039 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16040 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16041 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16042 (Config): Likewise.
16043
16044 2018-01-29 Florian Weimer <fweimer@redhat.com>
16045
16046 [BZ #22701]
16047 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16048 libnsl_hidden_proto.
16049 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16050 libnsl_hidden_proto.
16051 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16052 * nis/Makefile (libnsl-routines): Add nss-default only for
16053 build-obsolete-nsl.
16054 * nis/nis_defaults.c (__nis_default_ttl): Add
16055 libnsl_hidden_nolink_def.
16056 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16057 declaration.
16058 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16059 * nis/ypclnt.c (yp_maplist): Likewise.
16060
16061 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16062
16063 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16064 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16065
16066 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16067
16068 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16069 clean -dxfq for git updates when replacing sources.
16070
16071 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16072 --disable-libcilkrts unconditionally, not just for the final GCC
16073 build for Hurd.
16074
16075 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16076 version to 4.15.
16077
16078 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16079
16080 [BZ #10871]
16081 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16082 case).
16083
16084 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16085
16086 [BZ #10871]
16087 * localedata/locales/be_BY (mon): Rename to...
16088 (alt_mon): This, then synchronize with CLDR (nominative case).
16089 (abmon): Rename to...
16090 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16091 (mon): Import from CLDR (genitive case).
16092 (abmon): Likewise.
16093 * localedata/locales/be_BY@latin (mon): Rename to...
16094 (alt_mon): This.
16095 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16096
16097 * localedata/locales/be_BY@latin (lang_name): Reworded to
16098 "biełaruskaja mova".
16099
16100 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16101
16102 [BZ #10871]
16103 * localedata/locales/el_CY (mon): Renamed to...
16104 (alt_mon): This.
16105 (mon): Import from CLDR (genitive case).
16106 * localedata/locales/el_GR: Likewise.
16107
16108 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16109
16110 [BZ #10871]
16111 * localedata/locales/ru_RU (mon): Rename to...
16112 (alt_mon): This.
16113 (abmon): Rename to...
16114 (ab_alt_mon): This.
16115 (mon): Import from CLDR (genitive case).
16116 (abmon): Copy from the old content except the 5th month which is
16117 now in the genitive case, even when abbreviated.
16118 * localedata/locales/ru_UA: Likewise.
16119 * time/tst-strptime.c (day_tests): Add an actual example of
16120 a difference between %b and %Ob in Russian.
16121
16122 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16123
16124 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
16125 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16126 a `c' variable.
16127 * resolv/res-close.c: Include <stdlib.h>.
16128 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16129 <sys/wait.h>, <time.h>, <sys/uio.h>.
16130 (NOT_CANCEL_H): Add inclusion guard.
16131 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
16132 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16133 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16134 return 0.
16135 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16136 vm_address_t * to ElfW(Addr) * for dl_main parameter.
16137 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16138 instead of void *.
16139 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16140 timer_ptr2id to cast struct timer_node * to void *.
16141 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16142 --disable-libcilkrts to gcc configure.
16143 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16144 and make them the default for now.
16145 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16146 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
16147 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16148 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16149 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16150 MACH_IPC_COMPAT.
16151 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16152 __task_terminate would ever return successfully.
16153 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16154 to global scope.
16155 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16156 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
16157 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16158 critical section to make code simpler and avoid warning.
16159 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16160 critical section to make code simpler and avoid warning.
16161 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16162 const char * instead of char *.
16163 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16164 __hurd_file_name_split, hurd_file_name_split,
16165 __hurd_directory_name_split, hurd_directory_name_split,
16166 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16167 hurd_file_name_path_lookup): Make lookup function parameter take a
16168 const char *name instead of char *name.
16169 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16170 __hurd_directory_name_split): Likewise.
16171 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16172 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16173 * sysdeps/mach/hurd/check_native.c: New file.
16174 * sysdeps/mach/hurd/check_pf.c: New file.
16175 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16176 (__freeifaddrs): Define macro to freeifaddrs.
16177 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16178 * sysdeps/mach/libmachuser.abilist: New file.
16179 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16180 (do_test_bz20181): Rename accordingly.
16181 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16182 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16183 <sys/mount.h>.
16184 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16185 version only if __USE_EXTERN_INLINES is defined.
16186 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16187 __hurd_sockfail): Likewise.
16188 (_hurd_fd_get): Always declare functions, and provide inline versions
16189 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16190 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16191 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16192 _hurd_port_set): Always declare functions, and provide inline versions
16193 only if __USE_EXTERN_INLINES and _LIBC are defined and
16194 IS_IN(libc).
16195 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16196 _hurd_critical_section_unlock): Likewise.
16197 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16198 * __hurd_threadvar_location): Likewise.
16199 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16200 _hurd_userlink_clear): Likewise.
16201 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16202 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16203 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16204 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16205 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16206 __spin_lock_locked): Likewise.
16207 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16208 __spin_lock_locked): Likewise.
16209 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16210 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16211 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16212 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16213 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
16214 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16215 _POSIX_NO_TRUNC): Define to 0.
16216 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16217 check size against PTHREAD_STACK_MIN.
16218 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16219 IS_IN(libpthread)]: Include <sigsetops.h>.
16220 * mach/Makefile (user-interfaces): Add mach/gnumach.
16221 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16222 * sysdeps/mach/configure (mach_interface_list): Regenerate.
16223 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16224 instead of invalid -1.
16225 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16226 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16227 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16228 <net/ppp_defs.h>.
16229
16230 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
16231
16232 * hurd/fcntl-internal.h: New file.
16233
16234 2018-01-27 James Clarke <jrtc27@jrtc27.com>
16235
16236 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16237
16238 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16239
16240 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16241
16242 [BZ #22701]
16243 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16244 Build only shared objects.
16245
16246 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16247
16248 * README: Update for hppa.
16249
16250 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16251
16252 * sysdeps/sparc/fpu/libm-test-ulps: Update
16253 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16254
16255 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16256
16257 Revert:
16258
16259 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16260
16261 [BZ #22563]
16262 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16263 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16264 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16265 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16266 to feature_1.
16267
16268 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16269
16270 [BZ #22563]
16271 * bits/types/__cancel_jmp_buf_tag.h: New file.
16272 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16273 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16274 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16275 * nptl/Makefile (headers): Add
16276 bits/types/__cancel_jmp_buf_tag.h.
16277 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16278 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16279 * sysdeps/nptl/pthread.h: Include
16280 <bits/types/__cancel_jmp_buf_tag.h>.
16281 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16282 __cancel_jmp_buf.
16283 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16284
16285 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16286
16287 [BZ #10871]
16288 * localedata/locales/uk_UA (mon): Renamed to...
16289 (alt_mon): This.
16290 (alt_digits): "0" removed and then renamed to...
16291 (mon): This.
16292 (date_fmt): Definition changed not to use the alternative
16293 digits hack.
16294
16295 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16296
16297 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16298 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16299 * elf/elf.h (EF_RISCV_RVC): New define.
16300 (EF_RISCV_FLOAT_ABI): Likewise.
16301 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16302 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16303 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16304 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16305 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16306 define.
16307 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16308
16309 2018-01-25 Andreas Schwab <schwab@suse.de>
16310
16311 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16312 single quotes.
16313 * sysdeps/gnu/configure: Regenerate.
16314 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16315 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16317 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16318 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16319 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16320 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16321 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16322
16323 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16324
16325 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16326 URL, and run autoconf, make it the default for now.
16327
16328 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16329
16330 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16331 soft-float ColdFire configuration.
16332
16333 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16334 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16335 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16336
16337 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16338 MicroBlaze file.
16339
16340 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16341 ....
16342 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16343 ... here.
16344 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16345 New file.
16346
16347 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16348 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16349 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16350 file.
16351
16352 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16353
16354 [BZ #22742]
16355 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16356 Rename to __reserved and add comment.
16357 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16358 Rename to __reserved.
16359
16360 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16361
16362 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16363 i686-gnu configurations.
16364 (Context.run_builds): Include mig, gnumach and hurd in components
16365 considered.
16366 (Context.checkout): Add mig, gnumach and hurd to components.
16367 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16368 hurd.
16369 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16370 (Config.build): Install gnumach headers, build mig and install
16371 hurd headers for 'gnu' OS.
16372 (Config.install_gnumach_headers): New function.
16373 (Config.install_hurd_headers): Likewise.
16374 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16375 when building for 'gnu' OS.
16376
16377 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16378
16379 * manual/tunables.texi (Hardware Capability Tunables): Fix
16380 spelling.
16381
16382 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16383
16384 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16385 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16386 (ALTMON_11, ALTMON_12): Improve documentation.
16387 * manual/time.texi (strftime): Likewise.
16388
16389 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16390
16391 [BZ #10871]
16392 * localedata/locales/pl_PL: Alternative month names added,
16393 primary month names are genitive now.
16394 * time/tst-strptime.c (day_tests): Actually use a genitive case
16395 of a month name in Polish language.
16396
16397 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16398
16399 [BZ #10871]
16400 * manual/locale.texi: Document ALTMON_1..12 constants for
16401 nl_langinfo. Specify when to use ALTMON instead of MON.
16402 * manual/time.texi (strftime, strptime): Document GNU extension
16403 permitting O modifier with %B and %b. Specify when to use
16404 %OB instead of %B.
16405
16406 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16407
16408 [BZ #10871]
16409 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16410 names, define them as the same as abbreviated month names explicitly.
16411 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16412 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16413 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16414 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16415 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16416 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16417 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16418 _NL_WABALTMON_12): New enum constants.
16419 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16420 wab_alt_mon, and ab_alt_mon_defined members.
16421 (time_output): Output ab_alt_mon and wab_alt_mon members.
16422 (time_read): Read them, initialize them as copies of abmon and wabmon
16423 respectively if they are missing, initialize ab_alt_mon_defined.
16424 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16425 * locale/programs/locfile-kw.h: Regenerate.
16426 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16427 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16428 and ru_RU.UTF-8.
16429 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16430 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16431 (__strftime_internal): Handle %Ob and %Oh formats.
16432 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16433 (__strptime_internal): Handle %Ob and %Oh formats.
16434 * time/tst-strptime.c (day_tests): Add more tests to parse different
16435 forms of month names including the new %Ob format specifier.
16436
16437 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16438
16439 [BZ #10871]
16440 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16441 define them as the same as primary full month names explicitly.
16442 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16443 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16444 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16445 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16446 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16447 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16448 _NL_WALTMON_12): New enum constants.
16449 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16450 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16451 macros.
16452 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16453 walt_mon, and alt_mon_defined members.
16454 (time_output): Output alt_mon and walt_mon members.
16455 (time_read): Read them, initialize them as copies of mon and wmon
16456 respectively if they are missing, initialize alt_mon_defined.
16457 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16458 * locale/programs/locfile-kw.h: Regenerate.
16459 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16460 * localedata/tst-langinfo.c (map): Add tests for the new constants
16461 ALTMON_1 .. ALTMON_12.
16462 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16463 and pl_PL.UTF-8.
16464 * time/strftime_l.c (f_altmonth): New macro.
16465 (__strftime_internal): Handle %OB format.
16466 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16467 (__strptime_internal): Handle %OB format.
16468 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16469 of month names including the new %OB format specifier.
16470
16471 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16472
16473 [BZ #22685]
16474 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16475 from ABORT_TRANSACTION.
16476 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16477 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16478 ABORT_TRANSACTION_IMPL): Likewise.
16479 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16480 Linux code, but remove the code that aborts transactions.
16481
16482 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16483
16484 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16485
16486 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16487
16488 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16489 in date: "2004-14-09" should be "2004-09-14".
16490 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16491 "2003-15-09" should be "2003-09-15".
16492
16493 2018-01-18 Arjun Shankar <arjun@redhat.com>
16494
16495 [BZ #22343]
16496 [BZ #22774]
16497 CVE-2018-6485
16498 CVE-2018-6551
16499 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16500 after padding.
16501 (_int_memalign): check for integer overflow before calling
16502 _int_malloc.
16503 * malloc/tst-malloc-too-large.c: New test.
16504 * malloc/Makefile: Add tst-malloc-too-large.
16505
16506 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16507
16508 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16509 in date: "2017-24-07" should be "2017-07-24".
16510 * localedata/locales/mai_IN: Likewise.
16511 * localedata/locales/mai_NP: Likewise.
16512
16513 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16514
16515 * po/ru.po: Update translations.
16516
16517 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16518
16519 [BZ #22719]
16520 * sysdeps/hppa/backtrace.c: New file.
16521
16522 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16523
16524 [BZ #22715]
16525 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16526 align La_x86_64_retval to VEC_SIZE.
16527
16528 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16529
16530 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16531 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16532
16533 2018-01-16 Florian Weimer <fweimer@redhat.com>
16534
16535 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16536 Move tst-thread-exit-clobber ...
16537 [$(CXX)] (tests-unsupported): ... to here.
16538
16539 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16540
16541 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16542 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16543 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16544 (_dl_aarch64_cap_flags): Update.
16545 (_DL_HWCAP_COUNT): Update.
16546
16547 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16548
16549 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16550 (_DL_HWCAP_LAST): Remove.
16551 (_DL_HWCAP_COUNT): Move to ...
16552 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16553 (_DL_HWCAP_COUNT): ... here.
16554
16555 2018-01-16 Florian Weimer <fweimer@redhat.com>
16556
16557 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16558 mode with GNU extensions.
16559
16560 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16561
16562 * elf/elf.h (NT_ARM_SVE): Define.
16563
16564 2018-01-15 Florian Weimer <fweimer@redhat.com>
16565
16566 [BZ #22636]
16567 * nptl/tst-minstack-throw.cc: New file.
16568 * nptl/Makefile (tests): Add tst-minstack-throw.
16569 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16570 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16571
16572 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16573
16574 * scripts/build-many-glibcs.py (Context.checkout): Default
16575 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16576 version to 1.1.0.
16577
16578 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16579
16580 [BZ #22707]
16581 * elf/elf.h (DF_1_STUB): Define.
16582 (DF_1_PIE): Define.
16583
16584 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16585
16586 [BZ #22697]
16587 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16588 Do not add 0.5 to integer or out-of-range arguments.
16589
16590 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16591
16592 * po/bg.po: Update translations.
16593 * po/cs.po: Likewise.
16594 * po/de.po: Likewise.
16595 * po/ko.po: Likewise.
16596 * po/pl.po: Likewise.
16597 * po/sv.po: Likewise.
16598 * po/uk.po: Likewise.
16599 * po/vi.po: Likewise.
16600
16601 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16602
16603 * aarch64/start.S (_start): Use __wrap_main.
16604 (__wrap_main): New local symbol.
16605
16606 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16607
16608 [BZ #22679]
16609 CVE-2018-1000001
16610 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16611 generic_getcwd if the path returned by getcwd syscall is not absolute.
16612 * io/tst-getcwd-abspath.c: New test.
16613 * io/Makefile (tests): Add tst-getcwd-abspath.
16614
16615 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16616
16617 * malloc/malloc.c (malloc_consolidate): Add size check.
16618
16619 2018-01-12 Florian Weimer <fweimer@redhat.com>
16620
16621 * support/write_message.c (write_message): Preserve errno.
16622 * support/check.c (print_failure): Likewise.
16623 * support/support_test_verify_impl.c (support_test_verify_impl):
16624 Likewise.
16625 * support/support_test_compare_failure.c
16626 (support_test_compare_failure): Likewise.
16627
16628 2018-01-12 Florian Weimer <fweimer@redhat.com>
16629
16630 [BZ #22701]
16631 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16632 Prevent installation of libnsl.so.
16633 (libnsl-inhibit-o): Do not build (or install) static libraries.
16634
16635 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16636
16637 [BZ #22657]
16638 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16639 before the day number which may produce a double space.
16640 (date_fmt): Likewise.
16641
16642 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16643
16644 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16645 instead of fegetenv.
16646
16647 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16648
16649 [BZ #22702]
16650 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16651 comment to say exceptions are discarded.
16652 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16653 __fegetenv.
16654 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16655 be enabled.
16656
16657 2018-01-11 Florian Weimer <fweimer@redhat.com>
16658
16659 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16660 and error message.
16661
16662 2018-01-11 Florian Weimer <fweimer@redhat.com>
16663
16664 [BZ #22636]
16665 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16666 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16667
16668 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16669
16670 [BZ #22693]
16671 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16672 negative arguments in test for NaN or infinity argument.
16673
16674 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16675
16676 * po/libc.pot: Regenerate.
16677
16678 2018-01-10 Florian Weimer <fweimer@redhat.com>
16679
16680 [BZ #22636]
16681 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16682 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16683
16684 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16685
16686 * hurd/hurd/fd.h: Include <fcntl.h>
16687 (__hurd_at_flags): New function.
16688 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16689 with call to __hurd_at_flags.
16690 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16691 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16692 __faccessat
16693 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16694 (__access_noerrno): Use __faccessat_common instead of access_common.
16695 (__access): Likewise.
16696 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16697 with a call to __faccessat.
16698 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16699 (__faccessat_common): ... this. Move implementation of __access into it when
16700 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16701 reauthenticate_cwdir_at helper to implement AT mechanism.
16702 (__faccessat_noerrno): New function, just calls __faccessat_common.
16703 (__faccessat): New function, just calls __faccessat_common.
16704 (faccessat): Define weak alias.
16705
16706 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16707
16708 [BZ #22691]
16709 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16710 (CFLAGS-s_fmaxmagl.c): New variable.
16711 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16712
16713 [BZ #22690]
16714 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16715 long int for arguments of possibly overflowing addition or
16716 subtraction.
16717 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16718
16719 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16720
16721 [BZ #22688]
16722 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16723 (CFLAGS-e_remainderl.c): New variable.
16724
16725 [BZ #22687]
16726 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16727 variable.
16728 (CFLAGS-s_cacoshl.c): Likewise.
16729 (CFLAGS-s_casinhl.c): Likewise.
16730 (CFLAGS-s_catanl.c): Likewise.
16731 (CFLAGS-s_catanhl.c): Likewise.
16732 (CFLAGS-s_cexpl.c): Likewise.
16733 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16734 (CFLAGS-s_csinhl.c): Likewise.
16735 (CFLAGS-s_clogl.c): Likewise.
16736 (CFLAGS-s_clog10l.c): Likewise.
16737 (CFLAGS-s_csinl.c): Likewise.
16738 (CFLAGS-s_csqrtl.c): Likewise.
16739
16740 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16741 2017-01-09 Svante Signell <svante.signell@gmail.com>
16742
16743 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16744 (_hurd_exec_paths): New function.
16745 * hurd/hurd.h (_hurd_exec): Deprecate function.
16746 (_hurd_exec_paths): Declare function.
16747 * hurd/Versions: Export _hurd_exec_paths.
16748 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16749 (__execve): Use __getcwd to build absolute path, and use
16750 _hurd_exec_paths instead of _hurd_exec.
16751 * sysdeps/mach/hurd/spawni.c: Likewise.
16752 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16753 _hurd_exec.
16754
16755 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16756
16757 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16758 test instead of failing in case of ENOENT returned by posix_openpt.
16759
16760 2018-01-08 Florian Weimer <fweimer@redhat.com>
16761
16762 resolv: Support binary labels in test framework.
16763 * support/resolv_test.c (struct to_be_freed): Remove.
16764 (struct compressed_name): New.
16765 (allocate_compressed_name, ascii_tolower)
16766 (compare_compressed_name): New functions.
16767 (struct resolv_response_builder): Update type of
16768 compression_offsets for use with tsearch. Rempve to_be_freed.
16769 (response_push_pointer_to_free): Remove function.
16770 (resolv_response_add_name): Rewrite using struct compressed_name
16771 and tsearch instead of hsearch_r.
16772 (response_builder_allocate): Remove initialization of
16773 compression_offsets.
16774 (response_builder_free): Update for removal of to_be_freed. Use
16775 tdestroy instead of hdestroy_r.
16776 * resolv/Makefile (tests): Add tst-resolv-binary.
16777 (tst-resolv-binary): Link with -lresolv -lpthread.
16778
16779 2018-01-08 Florian Weimer <fweimer@redhat.com>
16780
16781 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16782 time. Pass positive flag instead of negative flag to
16783 support_test_compare_failure.
16784 (support_test_compare_failure): Change negative parameter to
16785 positive.
16786 * support/support_test_compare_failure.c (report)
16787 (support_test_compare_failure): Likewise.
16788 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16789 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16790
16791 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16792
16793 [BZ #22637]
16794 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16795 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16796 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16797 stacksize.
16798 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16799
16800 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16801
16802 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16803 Add s_sincosf-sse2 and s_sincosf-fma.
16804 (CFLAGS-s_sincosf-fma.c): New.
16805 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16806 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16807 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16808 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16809 __sincosf is defined.
16810
16811 2018-01-08 Florian Weimer <fweimer@redhat.com>
16812
16813 * nptl/tst-thread-exit-clobber.cc: New file.
16814 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16815 C++11 mode.
16816 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16817 (tests): Add tst-thread-exit-clobber.
16818 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16819
16820 2018-01-08 Florian Weimer <fweimer@redhat.com>
16821
16822 * support/check.h (support_static_assert): Define.
16823 (TEST_COMPARE): Use it.
16824
16825 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16826
16827 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16828 [!__RLIM_T_MATCHES_RLIM64_T]
16829 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16830 __getrlimit64. Add libc_hidden_weak.
16831
16832 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16833
16834 * elf/elf.h (R_RISCV_NONE): New define.
16835 (R_RISCV_32): Likewise.
16836 (R_RISCV_64): Likewise.
16837 (R_RISCV_RELATIVE): Likewise.
16838 (R_RISCV_COPY): Likewise.
16839 (R_RISCV_JUMP_SLOT): Likewise.
16840 (R_RISCV_TLS_DTPMOD32): Likewise.
16841 (R_RISCV_TLS_DTPMOD64): Likewise.
16842 (R_RISCV_TLS_DTPREL32): Likewise.
16843 (R_RISCV_TLS_DTPREL64): Likewise.
16844 (R_RISCV_TLS_TPREL32): Likewise.
16845 (R_RISCV_TLS_TPREL64): Likewise.
16846 * Makerules (make-link-multidir): Make directories before linking into
16847 them.
16848 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16849 define.
16850 (VDSO_HASH_LINUX_4_15): Likewise.
16851 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16852 in subdirectories of lib.
16853 * nptl/Makefile (/librt.so): Always depend on
16854 "$(shared-thread-library)".
16855
16856 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16857
16858 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16859 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16860 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16861 (___tls_get_addr).
16862 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16863 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16864 "-O2 -march=i686".
16865 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16866 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16867 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16868 * sysdeps/gnu/glob-lstat-compat.c: New file.
16869 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16870 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16871
16872 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16873
16874 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16875 Reserve 16 chars to reloc_addr before calling _itoa_word.
16876
16877 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16878
16879 [BZ #22678]
16880 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16881 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16882
16883 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16884 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16885
16886 * resource/tst-getrlimit.c: Add copyright header.
16887
16888 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16889 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16890
16891 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16892 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16893 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16894 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16895 instead.
16896 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16897 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16898 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16899 RLIM64_INFINITY): Fix values to match the kernel ones.
16900 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16901 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16902 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16903 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16904 getrlimit64@@GLIBC_2_27.
16905 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16906 and setrlimit64.
16907 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16908 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16909 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16910 setrlimit, getrlimit64 and setrlimit64.
16911
16912 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16913
16914 [BZ #22648]
16915 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16916 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16917
16918 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16919
16920 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16921 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16922 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16923
16924 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16925
16926 [BZ #15479]
16927 [BZ #22666]
16928 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16929 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16930
16931 [BZ #15479]
16932 [BZ #22665]
16933 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16934 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16935 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16936 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16937
16938 2018-01-04 Florian Weimer <fweimer@redhat.com>
16939
16940 [BZ #22667]
16941 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16942 Align the stack before calling exit.
16943 * stdlib/tst-makecontext-align.c: New file.
16944 * stdlib/Makefile (tests): Add tst-makecontext-align.
16945
16946 2018-01-04 Florian Weimer <fweimer@redhat.com>
16947
16948 Add support for calling dlvsym from libc.so.
16949 * include/dlfcn.h (__libc_dlvsym): Declare.
16950 * elf/Makefile (tests-static-internal): Add
16951 tst-libc_dlvsym-static.
16952 (tests-internal): Add tst-libc_dlvsym.
16953 (modules-names): Add tst-libc_dlvsym-dso.
16954 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16955 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16956 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16957 object tst-libc_dlvsym-dso.so needs to be built before running
16958 these tests.
16959 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16960 * elf/Versions: Export __libc_dlvsym.
16961 * elf/dl-libc.c (struct do_dlvsym_args): New.
16962 (do_dlvsym, __libc_dlvsym): New functions.
16963 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16964 (_dl_open_hook2): New variable.
16965 (__libc_register_dl_open_hook): Set it.
16966 * elf/tst-libc_dlvsym-dso.c: New file.
16967 * elf/tst-libc_dlvsym-static.c: Likewise.
16968 * elf/tst-libc_dlvsym.c: Likewise.
16969 * elf/tst-libc_dlvsym.h: Likewise.
16970
16971 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16972
16973 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16974 include <sys/mount.h>.
16975
16976 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16977
16978 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16979 Add __NO_MATH_ERRNO__ check.
16980
16981 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16982
16983 * sysdeps/mips/mips32/libm-test-ulps: Update.
16984 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16985
16986 2018-01-02 Florian Weimer <fweimer@redhat.com>
16987
16988 * misc/tst-pselect.c: Add copyright header.
16989
16990 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16991
16992 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16993 comment.
16994 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16995 comment.
16996 (settrlimit): Rename into setrlimit.
16997 (__sttrlimit): Rename into __setrlimit.
16998
16999 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17000 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17001 never defined in that case.
17002
17003 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17004
17005 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17006
17007 * sysdeps/arm/libm-test-ulps: Update.
17008
17009 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17010 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17011
17012 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17013
17014 * NEWS: Add cosf and sincosf to list of optimized functions.
17015
17016 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17017
17018 [BZ #22660]
17019 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17020 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17021 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17022 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17023
17024 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17025
17026 [BZ #22433]
17027 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17028
17029 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17030 making a copy of it.
17031
17032 2018-01-01 Joseph Myers <joseph@codesourcery.com>
17033
17034 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17035 trailing whitespace removed.
17036 * scripts/config.guess: Update to version 2018-01-01.
17037 * scripts/config.sub: Update to version 2018-01-01.
17038 * scripts/move-if-change: Update from gnulib.
17039
17040 * NEWS: Update copyright dates.
17041 * catgets/gencat.c (print_version): Likewise.
17042 * csu/version.c (banner): Likewise.
17043 * debug/catchsegv.sh: Likewise.
17044 * debug/pcprofiledump.c (print_version): Likewise.
17045 * debug/xtrace.sh (do_version): Likewise.
17046 * elf/ldconfig.c (print_version): Likewise.
17047 * elf/ldd.bash.in: Likewise.
17048 * elf/pldd.c (print_version): Likewise.
17049 * elf/sotruss.sh: Likewise.
17050 * elf/sprof.c (print_version): Likewise.
17051 * iconv/iconv_prog.c (print_version): Likewise.
17052 * iconv/iconvconfig.c (print_version): Likewise.
17053 * locale/programs/locale.c (print_version): Likewise.
17054 * locale/programs/localedef.c (print_version): Likewise.
17055 * login/programs/pt_chown.c (print_version): Likewise.
17056 * malloc/memusage.sh (do_version): Likewise.
17057 * malloc/memusagestat.c (print_version): Likewise.
17058 * malloc/mtrace.pl: Likewise.
17059 * manual/libc.texinfo: Likewise.
17060 * nptl/version.c (banner): Likewise.
17061 * nscd/nscd.c (print_version): Likewise.
17062 * nss/getent.c (print_version): Likewise.
17063 * nss/makedb.c (print_version): Likewise.
17064 * posix/getconf.c (main): Likewise.
17065 * scripts/test-installation.pl: Likewise.
17066 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17067
17068 * All files with FSF copyright notices: Update copyright dates
17069 using scripts/update-copyrights.
17070 * locale/programs/charmap-kw.h: Regenerated.
17071 * locale/programs/locfile-kw.h: Likewise.
17072
17073 2017-12-31 Zack Weinberg <zackw@panix.com>
17074
17075 * libio/bits/libio-ldbl.h: Correct check for improper
17076 inclusion. Add own multiple include guard.
17077
17078 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17079 Dmitry V. Levin <ldv@altlinux.org>
17080
17081 [BZ #22625]
17082 CVE-2017-16997
17083 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17084 string token expansion. Check for NULL pointer or empty string possibly
17085 returned by expand_dynamic_string_token.
17086 (decompose_rpath): Check for empty path after dynamic string
17087 token expansion.
17088
17089 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17090
17091 [BZ #22433]
17092 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17093
17094 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17095 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17096 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17097 and PTRACE_SYSCALL.
17098 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17099 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17100 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17101 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17102 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17103 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17104
17105 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17106 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17107 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17108 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17110 bits/ptrace-shared.h.
17111 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17112 <bits/ptrace-shared.h>.
17113 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17114 __ptrace_peeksiginfo_flags, ptrace): Remove.
17115 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17116 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17117 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17118 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17119 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17120
17121 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17122
17123 [BZ #17804]
17124 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17125 end of the loop. Improve comments.
17126
17127 2017-12-29 Zack Weinberg <zackw@panix.com>
17128
17129 [BZ #22615]
17130 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17131 might be set on success.
17132
17133 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17134
17135 [BZ #22611]
17136 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17137 is unchanged on success.
17138
17139 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17140
17141 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17142 updated.
17143 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17144 expand_dynamic_string_token): Likewise.
17145 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17146 is_path argument.
17147
17148 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17149 contains ':'.
17150
17151 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17152 is set and name contains ':', and all code depending on these checks.
17153
17154 2017-12-24 Zack Weinberg <zackw@panix.com>
17155
17156 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17157 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17158 respectively.
17159 * libio/libio.h: Rename the original version of this file to
17160 libio/bits/libio.h. Error out if not included by stdio.h or the
17161 stub libio.h.
17162 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17163 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17164 if not included by bits/libio.h or the stub _G_config.h.
17165 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17166 sysdeps/unix/sysv/linux/bits. Error out if not included by
17167 bits/libio.h or the stub _G_config.h.
17168 * libio/stdio.h: Include bits/libio.h, not libio.h.
17169 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17170 well as libio.h and _G_config.h.
17171
17172 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17173 * libio/strfile.h, stdio-common/vfscanf.c
17174 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17175 Include stdio.h, not _G_config.h nor libio.h.
17176 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17177 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17178
17179 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17180
17181 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17182
17183 [BZ #22347]
17184 * stdlib/getrandom.c (getrandom): Fix comment.
17185 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17186
17187 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
17188
17189 [BZ #21161]
17190 * manual/arith.texi (strtoul): Fix a typo.
17191
17192 [BZ #22596]
17193 * manual/arith.texi (finite): Fix the description of the return
17194 value.
17195
17196 2017-12-22 Eric Blake <ebb9@byu.net>
17197
17198 Avoid gcc warnings on cygwin
17199 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17200 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17201 Avoid unused variable.
17202
17203 2017-12-22 Florian Weimer <fweimer@redhat.com>
17204
17205 * io/Makefile (routines): Add copy_file_range.
17206 (tests): Add tst-copy_file_range.
17207 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17208 * io/Versions (GLIBC_2.27): Export copy_file_range.
17209 * io/copy_file_range-compat.c: New file.
17210 * io/copy_file_range.c: Likewise.
17211 * io/tst-copy_file_range-compat.c: Likewise.
17212 * io/tst-copy_file_range.c: Likewise.
17213 * manual/llio.texi (Copying File Data): New section.
17214 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17215 * support/Makefile (libsupport-routines): Add support-xfstat,
17216 xftruncate, xlseek.
17217 * support/support-xfstat.c: New file.
17218 * support/xftruncate.c: Likewise.
17219 * support/xlseek.c: Likewise.
17220 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17221 * sysdeps/unix/sysv/linux/**.abilist: Update.
17222 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17223
17224 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17225
17226 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17227 disable-multi-arch variant to aarch64-linux-gnu.
17228
17229 2017-12-20 Joseph Myers <joseph@codesourcery.com>
17230
17231 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17232 trailing whitespace removed.
17233 * scripts/config.guess: Update to version 2017-12-17.
17234 * scripts/config.sub: Update to version 2017-11-23.
17235 * scripts/install-sh: Update to version 2017-09-23.17.
17236 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17237
17238 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17239
17240 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17241 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17242 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17243 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17244 * sysdeps/tile/crtn.S: Likewise.
17245 * sysdeps/tile/dl-start.S (_start): Likewise.
17246 * sysdeps/tile/dl-trampoline.S: Likewise.
17247 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17248 * sysdeps/tile/start.S (_start): Likewise.
17249 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17250 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17251 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17252 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17253 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17254 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17255 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17256
17257 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17258 comment.
17259 * sysdeps/tile/preconfigure: Remove tilegx folder.
17260 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17261 * sysdeps/tile/Implies: ... here.
17262 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17263 * sysdeps/tile/Makefile: ... here.
17264 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17265 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17266 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17267 * sysdeps/tile/bits/wordsize.h: ... here.
17268 * sysdeps/tile/tilegx/*: Move to ...
17269 * sysdeps/tile/*: ... here.
17270 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17271 * sysdeps/tile/tilegx32/Implies: ... here.
17272 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17273 * sysdeps/tile/tilegx64/Implies: ... here.
17274 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17275 to ...
17276 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17277 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17278 * sysdeps/unix/sysv/linux/tile/*: ... here.
17279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17280 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17282 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17283
17284 * README: Remove tilepro-*-linux-gnu from supported architecture.
17285 * scripts/build-many-glibcs.py: Likewise.
17286 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17287 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17288 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17289 elf_machine_matches_host, elf_machine_dynamic,
17290 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17291 howto, elf_machine_rela): Likewise.
17292 * sysdeps/tile/dl-start.S (_start): Likewise.
17293 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17294 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17295 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17296 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17297 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17298 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17299 Likewise.
17300 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17301 * sysdeps/tile/preconfigure: Likewise.
17302 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17303 POINTER_CHK_GUARD): Likewise.
17304 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17305 * sysdeps/tile/start.S (_start): Likewise.
17306 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17307 Likewise.
17308 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17309 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17310 CMOVNEZ): Remove.
17311 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17312 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17313 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17314 Likewise.
17315 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17316 * sysdeps/tile/tilepro/Implies: Remove file.
17317 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17318 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17319 * sysdeps/tile/tilepro/memchr.c: Likewise.
17320 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17321 * sysdeps/tile/tilepro/memset.c: Likewise.
17322 * sysdeps/tile/tilepro/memusage.h: Likewise.
17323 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17324 * sysdeps/tile/tilepro/strchr.c: Likewise.
17325 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17326 * sysdeps/tile/tilepro/strlen.c: Likewise.
17327 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17328 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17329 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17330 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17331 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17332 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17333 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17334 Likewise.
17335 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17336 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17337 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17338 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17339 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17340 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17341 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17342 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17343 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17344 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17345 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17346 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17347 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17348 tilepro mention in comment.
17349
17350 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17351 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17352 * nptl/pthread_join_common.c: New file: common function used on
17353 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17354 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17355 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17356 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17357 (cleanup): Move definition to pthread_join_common.c.
17358 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17359 Remove superflous checks.
17360 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17361 Likewise.
17362
17363 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17364
17365 * sysdeps/aarch64/libm-test-ulps: Update.
17366
17367 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17368
17369 * sysdeps/aarch64/memset.S (MEMSET): Define.
17370
17371 2017-12-20 Florian Weimer <fweimer@redhat.com>
17372
17373 [BZ #22635]
17374 nptl: Provide full implementation of pthread_self in libc.so.
17375 * nptl/Makefile (routines): Add pthread_self.
17376 (libpthread-routines): Replace pthread_self with
17377 compat-pthread_self.
17378 * nptl/forward.c (pthread_self): Remove.
17379 * nptl/nptl-init.c (pthread_functions): Do not initialize
17380 ptr_pthread_self.
17381 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17382 * nptl/compat-pthread_self.c: New file.
17383 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17384 Remove ptr_pthread_self.
17385
17386 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17387
17388 * posix/regcomp.c: Fix spelling in comments.
17389 * posix/regex.h: Likewise.
17390 * posix/regex_internal.c: Likewise.
17391 * posix/regexec.c: Likewise.
17392
17393 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17394
17395 [BZ #22377]
17396 * math/Makefile [C++] (tests): Add test for iseqsig.
17397 * math/math.h [C++] (iseqsig): New implementation, which does
17398 not rely on __MATH_TG/__builtin_types_compatible_p.
17399 * math/test-math-iseqsig.cc: New file.
17400 * sysdeps/powerpc/powerpc64le/Makefile
17401 (CFLAGS-test-math-iseqsig.cc): New variable.
17402
17403 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17404
17405 * elf/dl-load.c (is_trusted_path): Remove.
17406 (fillin_rpath): Remove check_trusted argument and its use,
17407 all callers changed.
17408
17409 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17410
17411 [BZ #22630]
17412 * Makeconfig (link-pie-before-libc): Replace -pie with
17413 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17414 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17415 (tst-dlopen-aout-no-pie): New.
17416 (LDFLAGS-tst-prelink): Removed.
17417 (tst-prelink-no-pie): New.
17418 (LDFLAGS-tst-main1): Removed.
17419 (tst-main1-no-pie): New.
17420 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17421 (tst-gmon-no-pie): New.
17422
17423 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17424
17425 * manual/install.texi: Document that --enable-static-pie
17426 implies PIE.
17427 * INSTALL: Regenerated.
17428
17429 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17430
17431 [BZ #21309]
17432 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17433 unsigned.
17434
17435 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17436
17437 Revert:
17438
17439 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17440
17441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17442
17443 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17444
17445 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17446 <errno.h>. Include "eexp.tbl".
17447 (half): New constant.
17448 (one): Likewise.
17449 (__ieee754_exp): Rewrite.
17450 (__slowexp): Remove prototype.
17451 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17452 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17453 * sysdeps/i386/fpu/slowexp.c: Likewise.
17454 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17455 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17456 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17457 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17458 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17459 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17460 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17461 comment.
17462 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17463 (CPPFLAGS-slowexp.c): Remove variable.
17464 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17465 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17466 (CFLAGS-slowexp-fma.c): Remove variable.
17467 (CFLAGS-slowexp-fma4.c): Likewise.
17468 (CFLAGS-slowexp-avx.c): Likewise.
17469 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17470 define as macro.
17471 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17472 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17473 * math/Makefile (type-double-routines): Remove slowexp.
17474 * manual/probes.texi (slowexp_p6): Remove.
17475 (slowexp_p32): Likewise.
17476
17477 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17478
17479 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17480 arithmetic.
17481
17482 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17483
17484 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17485
17486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17487
17488 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17489
17490 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17491 <errno.h>. Include "eexp.tbl".
17492 (half): New constant.
17493 (one): Likewise.
17494 (__ieee754_exp): Rewrite.
17495 (__slowexp): Remove prototype.
17496 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17497 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17498 * sysdeps/i386/fpu/slowexp.c: Likewise.
17499 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17500 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17501 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17502 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17503 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17504 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17505 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17506 comment.
17507 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17508 (CPPFLAGS-slowexp.c): Remove variable.
17509 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17510 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17511 (CFLAGS-slowexp-fma.c): Remove variable.
17512 (CFLAGS-slowexp-fma4.c): Likewise.
17513 (CFLAGS-slowexp-avx.c): Likewise.
17514 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17515 define as macro.
17516 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17517 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17518 * math/Makefile (type-double-routines): Remove slowexp.
17519 * manual/probes.texi (slowexp_p6): Remove.
17520 (slowexp_p32): Likewise.
17521
17522 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17523 James Clarke <jrtc27@jrtc27.com>
17524
17525 [BZ #22603]
17526 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17527 addition.
17528
17529 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17530
17531 [BZ #22605]
17532 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17533 code.
17534
17535 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17536
17537 [BZ #22563]
17538 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17539 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17540 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17541 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17542 to feature_1.
17543
17544 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17545
17546 [BZ #22563]
17547 * bits/types/__cancel_jmp_buf_tag.h: New file.
17548 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17549 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17550 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17551 * nptl/Makefile (headers): Add
17552 bits/types/__cancel_jmp_buf_tag.h.
17553 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17554 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17555 * sysdeps/nptl/pthread.h: Include
17556 <bits/types/__cancel_jmp_buf_tag.h>.
17557 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17558 __cancel_jmp_buf.
17559 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17560
17561 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17562
17563 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17564 --enable-static-pie variants to x86_64, x32 and i686.
17565
17566 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17567
17568 [BZ #22631]
17569 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17570 argument for attrubutes. All callers changed.
17571 (__inline_mathop1): Likewise. All callers changed.
17572 (__inline_mathop): Likewise. All callers changed.
17573 [__USE_MISC] (scalbn): Use __inline_forward instead of
17574 __inline_forward_c.
17575 [__USE_ISOC99] (scalbln): Likewise.
17576 [__USE_ISOC99] (nearbyint): Likewise.
17577 [__USE_ISOC99] (lrint): Likewise.
17578 [__USE_MISC] (scalbnf): Likewise.
17579 [__USE_ISOC99] (scalblnf): Likewise.
17580 [__USE_ISOC99] (nearbyintf): Likewise.
17581 [__USE_ISOC99] (lrintf): Likewise.
17582 [__USE_MISC] (scalbnl): Likewise.
17583 [__USE_ISOC99] (scalblnl): Likewise.
17584 [__USE_ISOC99] (nearbyintl): Likewise.
17585 [__USE_ISOC99] (lrintl): Likewise.
17586 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17587 __inline_mathop and __m81_defun changed.
17588
17589 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17590 CPU or FPU for ARM hard-float configurations.
17591
17592 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17593
17594 * nptl/tst-attr3.c: Include <libc-diag.h>.
17595 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17596
17597 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17598
17599 * string/tester.c (test_strncat): Also disable -Warray-bounds
17600 warnings for two tests.
17601
17602 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17603
17604 [BZ #22614]
17605 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17606 $(cc-pie-default) == yes.
17607 * config.make.in (cc-pie-default): New.
17608 * configure.ac (libc_cv_pie_default): Renamed to ...
17609 (libc_cv_cc_pie_default): This.
17610 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17611 * configure: Regenerated.
17612
17613 2017-12-18 Florian Weimer <fweimer@redhat.com>
17614
17615 [BZ #20204]
17616 ld.so: Harden dl-libc/libdl hooks.
17617 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17618 (rtld_active): New function.
17619 * dlfcn/dladdr.c (__dladdr): Call it.
17620 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17621 * dlfcn/dlclose.c (__dlcose): Likewise.
17622 * dlfcn/dlerror.c (__dlerror): Likewise.
17623 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17624 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17625 * dlfcn/dlopen.c (__dlopen): Likewise.
17626 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17627 * dlfcn/dlsym.c (__dlsym): Likewise.
17628 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17629 * libio/vtables.c (_IO_vtable_check): Likewise.
17630 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17631 (__libc_dlclose): Likewise.
17632 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17633 assignment.
17634
17635 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17636
17637 [BZ #22446]
17638 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17639 buffers for readlink input and output.
17640
17641 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17642
17643 [BZ #22624]
17644 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17645 inhibit_stack_protector.
17646
17647 [BZ #22624]
17648 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17649 inhibit_stack_protector.
17650
17651 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17652
17653 [BZ #22627]
17654 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17655 code and invocation.
17656
17657 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17658
17659 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17660
17661 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17662
17663 [BZ #22505]
17664 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17665
17666 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17667
17668 * sysdeps/s390/fpu/libm-test-ulps: Update.
17669
17670 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17671
17672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17673
17674 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17675
17676 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17677 constants to s_sincosf.h file.
17678 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17679 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17680 implementation.
17681 * sysdeps/ieee754/flt-32/s_sincosf.h:
17682 New file.
17683
17684 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17685
17686 [BZ #14681]
17687 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17688 before mtrace.
17689
17690 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17691
17692 [BZ #19574]
17693 * INSTALL: Regenerated.
17694 * Makeconfig (real-static-start-installed-name): New.
17695 (pic-default): Updated for --enable-static-pie.
17696 (pie-default): New for --enable-static-pie.
17697 (default-pie-ldflag): Likewise.
17698 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17699 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17700 Replace $(static-start-installed-name) with
17701 $(real-static-start-installed-name).
17702 (+prectorT): Updated for --enable-static-pie.
17703 (+postctorT): Likewise.
17704 (CFLAGS-.o): Add $(pie-default).
17705 (CFLAGS-.op): Likewise.
17706 * NEWS: Mention --enable-static-pie.
17707 * config.h.in (ENABLE_STATIC_PIE): New.
17708 * configure.ac (--enable-static-pie): New configure option.
17709 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17710 (have-static-pie): Likewise.
17711 Enable static PIE if linker supports --no-dynamic-linker.
17712 (ENABLE_STATIC_PIE): New AC_DEFINE.
17713 (enable-static-pie): New LIBC_CONFIG_VAR.
17714 * configure: Regenerated.
17715 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17716 gr$(start-installed-name) for --enable-static-pie.
17717 (extra-objs): Likewise.
17718 (install-lib): Likewise.
17719 (extra-objs): Add static-reloc.o and static-reloc.os
17720 ($(objpfx)$(start-installed-name)): Also depend on
17721 $(objpfx)static-reloc.o.
17722 ($(objpfx)r$(start-installed-name)): New.
17723 ($(objpfx)g$(start-installed-name)): Also depend on
17724 $(objpfx)static-reloc.os.
17725 ($(objpfx)gr$(start-installed-name)): New.
17726 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17727 in libc.a.
17728 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17729 initimage.
17730 * csu/static-reloc.c: New file.
17731 * elf/Makefile (routines): Add dl-reloc-static-pie.
17732 (elide-routines.os): Likewise.
17733 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17734 (tst-tls1-static-non-pie-no-pie): New.
17735 * elf/dl-reloc-static-pie.c: New file.
17736 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17737 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17738 STATIC_PIE_BOOTSTRAP.
17739 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17740 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17741 (tests-static): Likewise.
17742 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17743 (tst-gmon-static-no-pie): New.
17744 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17745 (CRT-tst-gmon-static-pie): Likewise.
17746 (tst-gmon-static-pie-ENV): Likewise.
17747 (tests-special): Likewise.
17748 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17749 (clean-tst-gmon-static-pie-data): Likewise.
17750 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17751 * gmon/tst-gmon-static-pie.c: New file.
17752 * manual/install.texi: Document --enable-static-pie.
17753 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17754 (_dl_get_dl_main_map): Likewise.
17755 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17756 * sysdeps/x86_64/configure.ac: Likewise.
17757 * sysdeps/i386/configure: Regenerated.
17758 * sysdeps/x86_64/configure: Likewise.
17759 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17760 (ASFLAGS-.op): Likewise.
17761
17762 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17763
17764 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17765 * posix/tst-mmap-offset.c (fname): Use /tmp.
17766 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17767
17768 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17769
17770 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17771
17772 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17773
17774 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17775 errno.
17776
17777 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17778
17779 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17780 --with-float=hard for arm-linux-gnueabihf configurations.
17781
17782 [BZ #14121]
17783 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17784 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17785 ($(mo-installed)): Use $(objpfx)%.mo.
17786 (realclean): Remove rule.
17787
17788 * po/Makefile (linguas): Remove rule and dependencies.
17789 (linguas.mo): Likewise.
17790 (.PHONY): Do not depend on linguas and linguas.mo.
17791 (podir): Remove variable.
17792 (pofiles): Likewise.
17793 [$(pofiles)] (%.po): Remove rule.
17794
17795 * sysdeps/sparc/sparc32/Makefile
17796 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17797 start-of-line whitespace in argument of echo.
17798 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17799 with whitespace. Generate __wrap_.udiv alias.
17800 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17801 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17802 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17803 * sysdeps/sparc/sparc32/urem.S: Likewise.
17804
17805 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17806
17807 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17808 for aligned inputs.
17809
17810 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17811
17812 * benchtests/bench-strcmp.c: Print output in JSON format.
17813
17814 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17815
17816 2017-12-14 Florian Weimer <fweimer@redhat.com>
17817
17818 [BZ #22607]
17819 CVE-2017-1000409
17820 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17821 the expanded path string.
17822
17823 2017-12-14 Florian Weimer <fweimer@redhat.com>
17824
17825 [BZ #22606]
17826 CVE-2017-1000408
17827 * elf/dl-load.c (system_dirs): Update comment.
17828 (nsystem_dirs_len): Use array_length.
17829 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17830
17831 2017-12-14 Florian Weimer <fweimer@redhat.com>
17832
17833 Simplify compiling most of support/ outside of glibc.
17834 * support/check_addrinfo.c: Include <string.h>.
17835 * support/check_dns_packet.c: Likewise.
17836 * support/check_hostent.c: Likewise.
17837 * support/support_can_chroot.c: Include <support/xunistd.h>.
17838 * support/support_format_addrinfo.c: Include <stdlib.h>
17839 * support/support_format_dns_packet.c: Include <stdbool.h>.
17840 * support/support_format_hostent.c: Include <stdlib.h>.
17841 * support/support_format_netent.c: Likewise.
17842 * support/support_write_string.c: Include <support/xunistd.h>.
17843 * support/xdlfcn.c: Include <stddef.h>.
17844
17845 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17846
17847 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17848
17849 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17850 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17851
17852 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17853 (sysdeps_routines): Add memset-niagara7.
17854 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17855 Likewise.
17856 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17857 file.
17858 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17859 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17860 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17861 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17862 Add niagara7 option.
17863 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17864 memset.
17865
17866 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17867 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17868 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17869 Likewise.
17870 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17871 New file.
17872 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17873 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17874 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17875 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17876 and __memmove_niagara7.
17877 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17878 Add niagara7 option.
17879 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17880 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17881 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17882 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17883 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17884
17885 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17886
17887 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17888 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17889 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17890 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17891
17892 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17893 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17894 _dl_sparc_cap_flags array.
17895 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17896
17897 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17898
17899 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17900 time whenever possible.
17901
17902 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17903
17904 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17905 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17906
17907 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17908
17909 * soft-fp/fmadf4.c: Move to ....
17910 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17911 * soft-fp/fmasf4.c: Move to ....
17912 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17913 * soft-fp/fmatf4.c: Move to ....
17914 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17915 * sysdeps/ieee754/soft-fp/Makefile: New file.
17916 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17917 * sysdeps/arm/preconfigure: Regenerated.
17918 * sysdeps/arm/nofpu/Implies: New file.
17919 * sysdeps/arm/s_fma.c: Remove file.
17920 * sysdeps/arm/s_fmaf.c: Likewise.
17921 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17922 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17923 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17924 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17925 * sysdeps/microblaze/s_fma.c: Remove file.
17926 * sysdeps/microblaze/s_fmaf.c: Likewise.
17927 * sysdeps/mips/mips32/nofpu/Implies: New file.
17928 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17929 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17930 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17931 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17932 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17933 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17934 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17935 implementation.
17936 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17937 * sysdeps/nios2/s_fma.c: Remove file.
17938 * sysdeps/nios2/s_fmaf.c: Likewise.
17939 * sysdeps/sh/nofpu/Implies: New file.
17940 * sysdeps/sh/s_fma.c: Remove file.
17941 * sysdeps/sh/s_fmaf.c: Likewise.
17942 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17943 * sysdeps/tile/s_fma.c: Remove file.
17944 * sysdeps/tile/s_fmaf.c: Likewise.
17945
17946 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17947
17948 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17949 Add s_cosf-sse2 and s_cosf-fma.
17950 (CFLAGS-s_cosf-fma.c): New.
17951 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17952 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17953 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17954
17955 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17956
17957 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17958
17959 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17960
17961 * libio/Makefile (tests): Add tst-bz22415.
17962 (tst-bz22415-ENV): New rule.
17963 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17964 (tests-special): Add tst-bz22415-mem.out.
17965 ($(objpfx)tst-bz22415-mem.out): New rule.
17966 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17967 in case of a successful seek operation.
17968 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17969 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17970 buffer is required.
17971 * libio/tst-bz22415.c: New test.
17972
17973 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17974
17975 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17976
17977 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17978 __IPC_64 to 0 to avoid IPC_64 being set.
17979
17980 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17981
17982 [BZ #22593]
17983 * math/bits/mathcalls.h (nextafter): Remove const.
17984 (nexttoward): Likewise.
17985
17986 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17987
17988 * configure.ac (--with-fp): Remove configure option.
17989 (with_fp_cond): New variable.
17990 (libc_cv_with_fp): New configure test. Use this variable instead
17991 of with_fp.
17992 * configure: Regenerated.
17993 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17994 * manual/install.texi (Configuring and compiling): Remove
17995 --without-fp.
17996 * INSTALL: Regenerated.
17997 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17998 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17999 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18000 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18001 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18002 use --without-fp to configure glibc.
18003
18004 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
18005
18006 * manual/locale.texi (nl_langinfo): Fix a typo.
18007
18008 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
18009
18010 [BZ #22588]
18011 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18012
18013 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18014
18015 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18016 (CFLAGS-argp-parse.c): Likewise.
18017 (CFLAGS-argp-fmtstream.c): Likewise.
18018 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18019 (CPPFLAGS-sha512-crypt.c): Likewise.
18020 (CPPFLAGS-md5-crypt.c): Likewise.
18021 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18022 (CFLAGS-stack_chk_fail_local.c): Likewise.
18023 (CFLAGS-backtrace.c): Likewise.
18024 (CFLAGS-sprintf_chk.c): Likewise.
18025 (CFLAGS-snprintf_chk.c): Likewise.
18026 (CFLAGS-vsprintf_chk.c): Likewise.
18027 (CFLAGS-vsnprintf_chk.c): Likewise.
18028 (CFLAGS-asprintf_chk.c): Likewise.
18029 (CFLAGS-vasprintf_chk.c): Likewise.
18030 (CFLAGS-obprintf_chk.c): Likewise.
18031 (CFLAGS-dprintf_chk.c): Likewise.
18032 (CFLAGS-vdprintf_chk.c): Likewise.
18033 (CFLAGS-printf_chk.c): Likewise.
18034 (CFLAGS-fprintf_chk.c): Likewise.
18035 (CFLAGS-vprintf_chk.c): Likewise.
18036 (CFLAGS-vfprintf_chk.c): Likewise.
18037 (CFLAGS-gets_chk.c): Likewise.
18038 (CFLAGS-fgets_chk.c): Likewise.
18039 (CFLAGS-fgets_u_chk.c): Likewise.
18040 (CFLAGS-fread_chk.c): Likewise.
18041 (CFLAGS-fread_u_chk.c): Likewise.
18042 (CFLAGS-swprintf_chk.c): Likewise.
18043 (CFLAGS-vswprintf_chk.c): Likewise.
18044 (CFLAGS-wprintf_chk.c): Likewise.
18045 (CFLAGS-fwprintf_chk.c): Likewise.
18046 (CFLAGS-vwprintf_chk.c): Likewise.
18047 (CFLAGS-vfwprintf_chk.c): Likewise.
18048 (CFLAGS-fgetws_chk.c): Likewise.
18049 (CFLAGS-fgetws_u_chk.c): Likewise.
18050 (CFLAGS-read_chk.c): Likewise.
18051 (CFLAGS-pread_chk.c): Likewise.
18052 (CFLAGS-pread64_chk.c): Likewise.
18053 (CFLAGS-recv_chk.c): Likewise.
18054 (CFLAGS-recvfrom_chk.c): Likewise.
18055 (CFLAGS-tst-longjmp_chk.c): Likewise.
18056 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18057 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18058 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18059 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18060 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18061 (CFLAGS-tst-chk1.c): Likewise.
18062 (CFLAGS-tst-chk2.c): Likewise.
18063 (CFLAGS-tst-chk3.c): Likewise.
18064 (CFLAGS-tst-chk4.cc): Likewise.
18065 (CFLAGS-tst-chk5.cc): Likewise.
18066 (CFLAGS-tst-chk6.cc): Likewise.
18067 (CFLAGS-tst-lfschk1.c): Likewise.
18068 (CFLAGS-tst-lfschk2.c): Likewise.
18069 (CFLAGS-tst-lfschk3.c): Likewise.
18070 (CFLAGS-tst-lfschk4.cc): Likewise.
18071 (CFLAGS-tst-lfschk5.cc): Likewise.
18072 (CFLAGS-tst-lfschk6.cc): Likewise.
18073 (CFLAGS-tst-ssp-1.c): Likewise.
18074 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18075 (CFLAGS-scandir64.c): Likewise.
18076 (CFLAGS-scandir-tail.c): Likewise.
18077 (CFLAGS-scandir64-tail.c): Likewise.
18078 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18079 (CFLAGS-dl-tunables.c): Likewise.
18080 (CFLAGS-dl-runtime.c): Likewise.
18081 (CFLAGS-dl-lookup.c): Likewise.
18082 (CFLAGS-dl-iterate-phdr.c): Likewise.
18083 (CFLAGS-vismain.c): Likewise.
18084 (CFLAGS-tst-linkall-static.c): Likewise.
18085 (CFLAGS-tst-linkall-static.c): Likewise.
18086 (CPPFLAGS-dl-load.c): Likewise.
18087 (CFLAGS-ldconfig.c): Likewise.
18088 (CFLAGS-dl-cache.c): Likewise.
18089 (CFLAGS-cache.c): Likewise.
18090 (CFLAGS-rtld.c): Likewise.
18091 (CFLAGS-multiload.c): Likewise.
18092 (CFLAGS-filtmod1.c): Likewise.
18093 (CFLAGS-tst-align.c): Likewise.
18094 (CFLAGS-tst-align2.c): Likewise.
18095 (CFLAGS-tst-alignmod.c): Likewise.
18096 (CFLAGS-tst-alignmod2.c): Likewise.
18097 (CPPFLAGS-tst-execstack.c): Likewise.
18098 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18099 (CFLAGS-tst-latepthreadmod.c): Likewise.
18100 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18101 (CFLAGS-getgrnam_r.c): Likewise.
18102 (CFLAGS-getgrent_r.c): Likewise.
18103 (CFLAGS-getgrent.c): Likewise.
18104 (CFLAGS-fgetgrent.c): Likewise.
18105 (CFLAGS-fgetgrent_r.c): Likewise.
18106 (CFLAGS-putgrent.c): Likewise.
18107 (CFLAGS-initgroups.c): Likewise.
18108 (CFLAGS-getgrgid.c): Likewise.
18109 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18110 (CFLAGS-getsgent.c): Likewise.
18111 (CFLAGS-fgetsgent.c): Likewise.
18112 (CFLAGS-fgetsgent_r.c): Likewise.
18113 (CFLAGS-putsgent.c): Likewise.
18114 (CFLAGS-getsgnam.c): Likewise.
18115 (CFLAGS-getsgnam_r.c): Likewise.
18116 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18117 (CFLAGS-iconv_charmap.c): Likewise.
18118 (CFLAGS-dummy-repertoire.c): Likewise.
18119 (CFLAGS-charmap.c): Likewise.
18120 (CFLAGS-linereader.c): Likewise.
18121 (CFLAGS-simple-hash.c): Likewise.
18122 (CFLAGS-gconv_conf.c): Likewise.
18123 (CFLAGS-iconvconfig.c): Likewise.
18124 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18125 (CFLAGS-gethstbyad.c): Likewise.
18126 (CFLAGS-gethstbynm_r.c): Likewise.
18127 (CFLAGS-gethstbynm.c): Likewise.
18128 (CFLAGS-gethstbynm2_r.c): Likewise.
18129 (CFLAGS-gethstbynm2.c): Likewise.
18130 (CFLAGS-gethstent_r.c): Likewise.
18131 (CFLAGS-gethstent.c): Likewise.
18132 (CFLAGS-rcmd.c): Likewise.
18133 (CFLAGS-getnetbynm_r.c): Likewise.
18134 (CFLAGS-getnetbynm.c): Likewise.
18135 (CFLAGS-getnetbyad_r.c): Likewise.
18136 (CFLAGS-getnetbyad.c): Likewise.
18137 (CFLAGS-getnetent_r.c): Likewise.
18138 (CFLAGS-getnetent.c): Likewise.
18139 (CFLAGS-getaliasent_r.c): Likewise.
18140 (CFLAGS-getaliasent.c): Likewise.
18141 (CFLAGS-getrpcent_r.c): Likewise.
18142 (CFLAGS-getrpcent.c): Likewise.
18143 (CFLAGS-getservent_r.c): Likewise.
18144 (CFLAGS-getservent.c): Likewise.
18145 (CFLAGS-getprtent_r.c): Likewise.
18146 (CFLAGS-getprtent.c): Likewise.
18147 (CFLAGS-either_ntoh.c): Likewise.
18148 (CFLAGS-either_hton.c): Likewise.
18149 (CFLAGS-getnetgrent.c): Likewise.
18150 (CFLAGS-getnetgrent_r.c): Likewise.
18151 (CFLAGS-tst-checks-posix.c): Likewise.
18152 (CFLAGS-tst-sockaddr.c): Likewise.
18153 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18154 (CFLAGS-tst-translit.c): Likewise.
18155 (CFLAGS-tst-gettext2.c): Likewise.
18156 (CFLAGS-tst-codeset.c): Likewise.
18157 (CFLAGS-tst-gettext3.c): Likewise.
18158 (CFLAGS-tst-gettext4.c): Likewise.
18159 (CFLAGS-tst-gettext5.c): Likewise.
18160 (CFLAGS-tst-gettext6.c): Likewise.
18161 * io/Makefile (CFLAGS-open.c): Likewise.
18162 (CFLAGS-open64.c): Likewise.
18163 (CFLAGS-creat.c): Likewise.
18164 (CFLAGS-creat64.c): Likewise.
18165 (CFLAGS-fcntl.c): Likewise.
18166 (CFLAGS-poll.c): Likewise.
18167 (CFLAGS-ppoll.c): Likewise.
18168 (CFLAGS-lockf.c): Likewise.
18169 (CFLAGS-statfs.c): Likewise.
18170 (CFLAGS-fstatfs.c): Likewise.
18171 (CFLAGS-statvfs.c): Likewise.
18172 (CFLAGS-fstatvfs.c): Likewise.
18173 (CFLAGS-fts.c): Likewise.
18174 (CFLAGS-fts64.c): Likewise.
18175 (CFLAGS-ftw.c): Likewise.
18176 (CFLAGS-ftw64.c): Likewise.
18177 (CFLAGS-lockf.c): Likewise.
18178 (CFLAGS-posix_fallocate.c): Likewise.
18179 (CFLAGS-posix_fallocate64.c): Likewise.
18180 (CFLAGS-fallocate.c): Likewise.
18181 (CFLAGS-fallocate64.c): Likewise.
18182 (CFLAGS-read.c): Likewise.
18183 (CFLAGS-write.c): Likewise.
18184 (CFLAGS-test-stat.c): Likewise.
18185 (CFLAGS-test-lfs.c): Likewise.
18186 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18187 (CFLAGS-fputc.c): Likewise.
18188 (CFLAGS-fputwc.c): Likewise.
18189 (CFLAGS-freopen64.c): Likewise.
18190 (CFLAGS-freopen.c): Likewise.
18191 (CFLAGS-fseek.c): Likewise.
18192 (CFLAGS-fseeko64.c): Likewise.
18193 (CFLAGS-fseeko.c): Likewise.
18194 (CFLAGS-ftello64.c): Likewise.
18195 (CFLAGS-ftello.c): Likewise.
18196 (CFLAGS-fwide.c): Likewise.
18197 (CFLAGS-genops.c): Likewise.
18198 (CFLAGS-getc.c): Likewise.
18199 (CFLAGS-getchar.c): Likewise.
18200 (CFLAGS-getwc.c): Likewise.
18201 (CFLAGS-getwchar.c): Likewise.
18202 (CFLAGS-iofclose.c): Likewise.
18203 (CFLAGS-iofflush.c): Likewise.
18204 (CFLAGS-iofgetpos64.c): Likewise.
18205 (CFLAGS-iofgetpos.c): Likewise.
18206 (CFLAGS-iofgets.c): Likewise.
18207 (CFLAGS-iofgetws.c): Likewise.
18208 (CFLAGS-iofputs.c): Likewise.
18209 (CFLAGS-iofputws.c): Likewise.
18210 (CFLAGS-iofread.c): Likewise.
18211 (CFLAGS-iofsetpos64.c): Likewise.
18212 (CFLAGS-iofsetpos.c): Likewise.
18213 (CFLAGS-ioftell.c): Likewise.
18214 (CFLAGS-iofwrite.c): Likewise.
18215 (CFLAGS-iogetdelim.c): Likewise.
18216 (CFLAGS-iogetline.c): Likewise.
18217 (CFLAGS-iogets.c): Likewise.
18218 (CFLAGS-iogetwline.c): Likewise.
18219 (CFLAGS-ioputs.c): Likewise.
18220 (CFLAGS-ioseekoff.c): Likewise.
18221 (CFLAGS-ioseekpos.c): Likewise.
18222 (CFLAGS-iosetbuffer.c): Likewise.
18223 (CFLAGS-iosetvbuf.c): Likewise.
18224 (CFLAGS-ioungetc.c): Likewise.
18225 (CFLAGS-ioungetwc.c): Likewise.
18226 (CFLAGS-oldfileops.c): Likewise.
18227 (CFLAGS-oldiofclose.c): Likewise.
18228 (CFLAGS-oldiofgetpos64.c): Likewise.
18229 (CFLAGS-oldiofgetpos.c): Likewise.
18230 (CFLAGS-oldiofsetpos64.c): Likewise.
18231 (CFLAGS-oldiofsetpos.c): Likewise.
18232 (CFLAGS-peekc.c): Likewise.
18233 (CFLAGS-putc.c): Likewise.
18234 (CFLAGS-putchar.c): Likewise.
18235 (CFLAGS-putwc.c): Likewise.
18236 (CFLAGS-putwchar.c): Likewise.
18237 (CFLAGS-rewind.c): Likewise.
18238 (CFLAGS-wfileops.c): Likewise.
18239 (CFLAGS-wgenops.c): Likewise.
18240 (CFLAGS-oldiofopen.c): Likewise.
18241 (CFLAGS-iofopen.c): Likewise.
18242 (CFLAGS-iofopen64.c): Likewise.
18243 (CFLAGS-oldtmpfile.c): Likewise.
18244 (CFLAGS-tst_putwc.c): Likewise.
18245 * locale/Makefile (CFLAGS-md5.c): Likewise.
18246 (CFLAGS-charmap.c): Likewise.
18247 (CFLAGS-locfile.c): Likewise.
18248 (CFLAGS-charmap-dir.c): Likewise.
18249 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18250 (CFLAGS-getpt.c): Likewise.
18251 (CFLAGS-pt_chown.c): Likewise.
18252 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18253 (CFLAGS-obstack.c): Likewise.
18254 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18255 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18256 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18257 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18258 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18259 (CFLAGS-test-tgmath.c): Likewise.
18260 (CFLAGS-test-tgmath2.c): Likewise.
18261 (CFLAGS-test-tgmath-ret.c): Likewise.
18262 (CFLAGS-test-powl.c): Likewise.
18263 (CFLAGS-test-snan.c): Likewise.
18264 (CFLAGS-test-signgam-finite.c): Likewise.
18265 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18266 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18267 (CFLAGS-test-signgam-uchar.c): Likewise.
18268 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18269 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18270 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18271 (CFLAGS-test-signgam-uint.c): Likewise.
18272 (CFLAGS-test-signgam-uint-init.c): Likewise.
18273 (CFLAGS-test-signgam-uint-static.c): Likewise.
18274 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18275 (CFLAGS-test-signgam-ullong.c): Likewise.
18276 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18277 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18278 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18279 (CFLAGS-test-math-cxx11.cc): Likewise.
18280 (CFLAGS-test-math-isinff.cc): Likewise.
18281 (CFLAGS-test-math-iszero.cc): Likewise.
18282 (CFLAGS-test-math-issignaling.cc): Likewise.
18283 (CFLAGS-test-math-iscanonical.cc): Likewise.
18284 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18285 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18286 (CFLAGS-test-flt-eval-method.c): Likewise.
18287 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18288 (CFLAGS-test-finite-macros.c): Likewise.
18289 * misc/Makefile (CFLAGS-select.c): Likewise.
18290 (CFLAGS-tsearch.c): Likewise.
18291 (CFLAGS-lsearch.c): Likewise.
18292 (CFLAGS-pselect.c): Likewise.
18293 (CFLAGS-readv.c): Likewise.
18294 (CFLAGS-writev.c): Likewise.
18295 (CFLAGS-preadv.c): Likewise.
18296 (CFLAGS-preadv64.c): Likewise.
18297 (CFLAGS-pwritev.c): Likewise.
18298 (CFLAGS-pwritev64.c): Likewise.
18299 (CFLAGS-preadv2.c): Likewise.
18300 (CFLAGS-preadv64v2.c): Likewise.
18301 (CFLAGS-pwritev2.c): Likewise.
18302 (CFLAGS-pwritev64v2.c): Likewise.
18303 (CFLAGS-usleep.c): Likewise.
18304 (CFLAGS-syslog.c): Likewise.
18305 (CFLAGS-error.c): Likewise.
18306 (CFLAGS-getpass.c): Likewise.
18307 (CFLAGS-mkstemp.c): Likewise.
18308 (CFLAGS-mkstemp64.c): Likewise.
18309 (CFLAGS-getsysstats.c): Likewise.
18310 (CFLAGS-getusershell.c): Likewise.
18311 (CFLAGS-err.c): Likewise.
18312 (CFLAGS-tst-tsearch.c): Likewise.
18313 (CFLAGS-msync.c): Likewise.
18314 (CFLAGS-fdatasync.c): Likewise.
18315 (CFLAGS-fsync.c): Likewise.
18316 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18317 (CFLAGS-unwind.c): Likewise.
18318 (CFLAGS-unwind-forcedunwind.c): Likewise.
18319 (CFLAGS-pthread_cancel.c): Likewise.
18320 (CFLAGS-pthread_setcancelstate.c): Likewise.
18321 (CFLAGS-pthread_setcanceltype.c): Likewise.
18322 (CFLAGS-cancellation.c): Likewise.
18323 (CFLAGS-libc-cancellation.c): Likewise.
18324 (CFLAGS-pthread_exit.c): Likewise.
18325 (CFLAGS-forward.c): Likewise.
18326 (CFLAGS-pthread_testcancel.c): Likewise.
18327 (CFLAGS-pthread_join.c): Likewise.
18328 (CFLAGS-pthread_timedjoin.c): Likewise.
18329 (CFLAGS-pthread_once.c): Likewise.
18330 (CFLAGS-pthread_cond_wait.c): Likewise.
18331 (CFLAGS-sem_wait.c): Likewise.
18332 (CFLAGS-sem_timedwait.c): Likewise.
18333 (CFLAGS-fcntl.c): Likewise.
18334 (CFLAGS-lockf.c): Likewise.
18335 (CFLAGS-pread.c): Likewise.
18336 (CFLAGS-pread64.c): Likewise.
18337 (CFLAGS-pwrite.c): Likewise.
18338 (CFLAGS-pwrite64.c): Likewise.
18339 (CFLAGS-wait.c): Likewise.
18340 (CFLAGS-waitpid.c): Likewise.
18341 (CFLAGS-sigwait.c): Likewise.
18342 (CFLAGS-msgrcv.c): Likewise.
18343 (CFLAGS-msgsnd.c): Likewise.
18344 (CFLAGS-tcdrain.c): Likewise.
18345 (CFLAGS-open.c): Likewise.
18346 (CFLAGS-open64.c): Likewise.
18347 (CFLAGS-pause.c): Likewise.
18348 (CFLAGS-recv.c): Likewise.
18349 (CFLAGS-send.c): Likewise.
18350 (CFLAGS-accept.c): Likewise.
18351 (CFLAGS-sendto.c): Likewise.
18352 (CFLAGS-connect.c): Likewise.
18353 (CFLAGS-recvfrom.c): Likewise.
18354 (CFLAGS-recvmsg.c): Likewise.
18355 (CFLAGS-sendmsg.c): Likewise.
18356 (CFLAGS-close.c): Likewise.
18357 (CFLAGS-read.c): Likewise.
18358 (CFLAGS-write.c): Likewise.
18359 (CFLAGS-nanosleep.c): Likewise.
18360 (CFLAGS-sigsuspend.c): Likewise.
18361 (CFLAGS-msync.c): Likewise.
18362 (CFLAGS-fdatasync.c): Likewise.
18363 (CFLAGS-fsync.c): Likewise.
18364 (CFLAGS-pt-system.c): Likewise.
18365 (CFLAGS-tst-cleanup2.c): Likewise.
18366 (CFLAGS-tst-cleanupx2.c): Likewise.
18367 (CFLAGS-flockfile.c): Likewise.
18368 (CFLAGS-ftrylockfile.c): Likewise.
18369 (CFLAGS-funlockfile.c): Likewise.
18370 (CFLAGS-tst-initializers1.c): Likewise.
18371 (CFLAGS-tst-initializers1-c89.c): Likewise.
18372 (CFLAGS-tst-initializers1-c99.c): Likewise.
18373 (CFLAGS-tst-initializers1-c11.c): Likewise.
18374 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18375 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18376 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18377 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18378 (CFLAGS-nscd_getgr_r.c): Likewise.
18379 (CFLAGS-nscd_gethst_r.c): Likewise.
18380 (CFLAGS-nscd_getai.c): Likewise.
18381 (CFLAGS-nscd_initgroups.c): Likewise.
18382 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18383 (CFLAGS-pause.c): Likewise.
18384 (CFLAGS-pread.c): Likewise.
18385 (CFLAGS-pread64.c): Likewise.
18386 (CFLAGS-pwrite.c): Likewise.
18387 (CFLAGS-pwrite64.c): Likewise.
18388 (CFLAGS-sleep.c): Likewise.
18389 (CFLAGS-wait.c): Likewise.
18390 (CFLAGS-waitid.c): Likewise.
18391 (CFLAGS-waitpid.c): Likewise.
18392 (CFLAGS-getopt.c): Likewise.
18393 (CFLAGS-wordexp.c): Likewise.
18394 (CFLAGS-sysconf.c): Likewise.
18395 (CFLAGS-pathconf.c): Likewise.
18396 (CFLAGS-fpathconf.c): Likewise.
18397 (CFLAGS-spawn.c): Likewise.
18398 (CFLAGS-spawnp.c): Likewise.
18399 (CFLAGS-spawni.c): Likewise.
18400 (CFLAGS-glob.c): Likewise.
18401 (CFLAGS-glob64.c): Likewise.
18402 (CFLAGS-getconf.c): Likewise.
18403 (CFLAGS-nanosleep.c): Likewise.
18404 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18405 (CFLAGS-getpwent.c): Likewise.
18406 (CFLAGS-getpw.c): Likewise.
18407 (CFLAGS-fgetpwent_r.c): Likewise.
18408 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18409 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18410 (CFLAGS-mq_timedreceive.c): Likewise.
18411 (CFLAGS-mq_timedsend.c): Likewise.
18412 (CFLAGS-clock_nanosleep.c): Likewise.
18413 (CFLAGS-librt-cancellation.c): Likewise.
18414 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18415 (CFLAGS-getspent.c): Likewise.
18416 (CFLAGS-fgetspent.c): Likewise.
18417 (CFLAGS-fgetspent_r.c): Likewise.
18418 (CFLAGS-putspent.c): Likewise.
18419 (CFLAGS-getspnam.c): Likewise.
18420 (CFLAGS-getspnam_r.c): Likewise.
18421 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18422 (CFLAGS-sigsuspend.c): Likewise.
18423 (CFLAGS-sigtimedwait.c): Likewise.
18424 (CFLAGS-sigwait.c): Likewise.
18425 (CFLAGS-sigwaitinfo.c): Likewise.
18426 (CFLAGS-sigreturn.c): Likewise.
18427 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18428 (CFLAGS-vfwprintf.c): Likewise.
18429 (CFLAGS-tmpfile.c): Likewise.
18430 (CFLAGS-tmpfile64.c): Likewise.
18431 (CFLAGS-tempname.c): Likewise.
18432 (CFLAGS-psignal.c): Likewise.
18433 (CFLAGS-vprintf.c): Likewise.
18434 (CFLAGS-cuserid.c): Likewise.
18435 (CFLAGS-errlist.c): Likewise.
18436 (CFLAGS-siglist.c): Likewise.
18437 (CFLAGS-scanf15.c): Likewise.
18438 (CFLAGS-scanf17.c): Likewise.
18439 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18440 (CFLAGS-msort.c): Likewise.
18441 (CFLAGS-qsort.c): Likewise.
18442 (CFLAGS-system.c): Likewise.
18443 (CFLAGS-fmtmsg.c): Likewise.
18444 (CFLAGS-strfmon.c): Likewise.
18445 (CFLAGS-strfmon_l.c): Likewise.
18446 (CFLAGS-strfromd.c): Likewise.
18447 (CFLAGS-strfromf.c): Likewise.
18448 (CFLAGS-strfroml.c): Likewise.
18449 (CFLAGS-tst-bsearch.c): Likewise.
18450 (CFLAGS-tst-qsort.c): Likewise.
18451 (CFLAGS-tst-makecontext2.c): Likewise.
18452 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18453 (CFLAGS-xnlm_prot.c): Likewise.
18454 (CFLAGS-xrstat.c): Likewise.
18455 (CFLAGS-xyppasswd.c): Likewise.
18456 (CFLAGS-xklm_prot.c): Likewise.
18457 (CFLAGS-xrex.c): Likewise.
18458 (CFLAGS-xsm_inter.c): Likewise.
18459 (CFLAGS-xmount.c): Likewise.
18460 (CFLAGS-xrusers.c): Likewise.
18461 (CFLAGS-xspray.c): Likewise.
18462 (CFLAGS-xnfs_prot.c): Likewise.
18463 (CFLAGS-xrquota.c): Likewise.
18464 (CFLAGS-xkey_prot.c): Likewise.
18465 (CFLAGS-auth_unix.c): Likewise.
18466 (CFLAGS-key_call.c): Likewise.
18467 (CFLAGS-pmap_rmt.c): Likewise.
18468 (CFLAGS-clnt_perr.c): Likewise.
18469 (CFLAGS-openchild.c): Likewise.
18470 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18471 (CFLAGS-msgsnd.c): Likewise.
18472 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18473 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18474 (CFLAGS-tzset.c): Likewise.
18475 (CFLAGS-getdate.c): Likewise.
18476 (CFLAGS-test_time.c): Likewise.
18477 (CPPFLAGS-tst-tzname.c): Likewise.
18478 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18479 (CFLAGS-zic.c): Likewise.
18480 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18481 (CFLAGS-wcswidth.c): Likewise.
18482 (CFLAGS-wcstol.c): Likewise.
18483 (CFLAGS-wcstoul.c): Likewise.
18484 (CFLAGS-wcstoll.c): Likewise.
18485 (CFLAGS-wcstoull.c): Likewise.
18486 (CFLAGS-wcstod.c): Likewise.
18487 (CFLAGS-wcstold.c): Likewise.
18488 (CFLAGS-wcstof128.c): Likewise.
18489 (CFLAGS-wcstof.c): Likewise.
18490 (CFLAGS-wcstol_l.c): Likewise.
18491 (CFLAGS-wcstoul_l.c): Likewise.
18492 (CFLAGS-wcstoll_l.c): Likewise.
18493 (CFLAGS-wcstoull_l.c): Likewise.
18494 (CFLAGS-wcstod_l.c): Likewise.
18495 (CFLAGS-wcstold_l.c): Likewise.
18496 (CFLAGS-wcstof128_l.c): Likewise.
18497 (CFLAGS-wcstof_l.c): Likewise.
18498 (CPPFLAGS-tst-wchar-h.c): Likewise.
18499 (CPPFLAGS-wcstold_l.c): Likewise.
18500
18501 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18502
18503 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18504
18505 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18506 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18507
18508 * manual/tunables.texi (Hardware Capability Tunables): Document
18509 glibc.tune.cached_memopt.
18510 * sysdeps/powerpc/cpu-features.c: New file.
18511 * sysdeps/powerpc/cpu-features.h: New file.
18512 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18513 _dl_powerpc_cpu_features.
18514 * sysdeps/powerpc/dl-tunables.list: New file.
18515 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18516 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18517 (INIT_ARCH): Initialize use_aligned_memopt.
18518 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18519 IS_IN(rtld))]: Restrict dl_platform_init availability and
18520 initialize CPU features used by tunables.
18521 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18522 Add memcpy-power8-cached.
18523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18524 __memcpy_power8_cached.
18525 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18526 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18527 New file.
18528
18529 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18530
18531 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18532 (CFLAGS-noinl-tester.c): Likewise.
18533 (CFLAGS-tst-strlen.c): Likewise.
18534 (CFLAGS-stratcliff.c): Likewise.
18535 (CFLAGS-test-ffs.c): Likewise.
18536 (CFLAGS-tst-inlcall.c): Likewise.
18537 (CFLAGS-tst-xbzero-opt.c): Likewise.
18538 (CFLAGS-memcpy.c): Likewise.
18539 (CFLAGS-wordcopy.c): Likewise.
18540
18541 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18542
18543 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18544 Store r15 on stack and add cfi rule.
18545 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18546 Likewise.
18547
18548 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18549
18550 [BZ #22577]
18551 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18552 call.
18553
18554 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18555
18556 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18557 Add s_sinf-sse2 and s_sinf-fma.
18558 (CFLAGS-s_sinf-fma.c): New.
18559 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18560 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18561 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18562
18563 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18564
18565 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18566
18567 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18568
18569 [BZ #22568]
18570 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18571 part of result to imaginary part of argument if it is zero and the
18572 real part of the argument is not finite.
18573 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18574 of result to real part of argument if it is zero and the imaginary
18575 part of the argument is not finite.
18576
18577 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18578
18579 [BZ #22524]
18580 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18581 and to the list of locales to be built for testing.
18582 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18583 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18584 and build the collation rules upon that.
18585
18586 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18587
18588 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18589 * manual/math.texi (Mathematics): Document support for _Float32.
18590 * math/Makefile (test-types): Add float32.
18591 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18592 * stdlib/Versions (GLIBC_2.27): Likewise.
18593 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18594 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18595 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18596 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18597 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18598 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18599 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18600 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18601 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18602 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18603 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18604 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18605 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18606 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18607 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18608 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18609 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18610 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18611 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18612 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18613 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18614 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18615 Likewise.
18616 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18617 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18618 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18619 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18620 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18622 Likewise.
18623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18624 Likewise.
18625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18626 Likewise.
18627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18628 Likewise.
18629
18630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18631 Likewise.
18632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18633 Likewise.
18634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18635 Likewise.
18636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18637 Likewise.
18638 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18639 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18640 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18641 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18642 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18643 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18644 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18645 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18646 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18647 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18649 Likewise.
18650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18651 Likewise.
18652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18653 Likewise.
18654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18655 Likewise.
18656 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18657 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18658 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18659 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18660 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18661 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18662 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18663 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18664
18665 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18666
18667 * stdlib/strtof.c: Include <bits/floatn.h>
18668 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18669 and later undefine as macro. Define as weak alias if
18670 [!USE_WIDE_CHAR].
18671 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18672 and later undefine as macro. Define as weak alias if
18673 [USE_WIDE_CHAR].
18674 * stdlib/strtof_l.c: Include <bits/floatn.h>
18675 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18676 and later undefine as macro. Define as weak alias if
18677 [!USE_WIDE_CHAR].
18678 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18679 and later undefine as macro. Define as weak alias if
18680 [USE_WIDE_CHAR].
18681
18682 * stdlib/strfromf.c: Include <bits/floatn.h>.
18683 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18684 and later undefine as macro and define as weak alias.
18685
18686 * math/test-float32.h: New file.
18687
18688 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18689 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18690 (libm_alias_float_other_r): Create f32 alias.
18691 (libm_alias_float_r): Use semicolon before call to
18692 libm_alias_float_other_r.
18693
18694 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18695 second argument to libm_alias_float_other.
18696 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18697 second argument to libm_alias_float_other.
18698 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18699 argument to libm_alias_float_other.
18700
18701 [BZ #22561]
18702 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18703 real part of result for argument 0 + i * NaN.
18704 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18705 results for tests of 0 + i * NaN.
18706
18707 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18708
18709 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18710
18711 2017-12-06 David S. Miller <davem@davemloft.net>
18712
18713 * sysdeps/sparc/fpu/libm-test-ulps: Update
18714 exp_{downward,towardzero,upward} ulps.
18715
18716 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18717
18718 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18719 variables static.
18720
18721 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18722 (Y0_2D): Likewise.
18723 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18724 (Y0_2D): Likewise.
18725 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18726 (Y0_2D): Likewise.
18727 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18728 (Y0_2D): Likewise.
18729
18730 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18731
18732 [BZ #22515]
18733 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18734 and to the list of locales to be built for testing.
18735 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18736 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18737 and build the collation rules upon that.
18738
18739 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18740
18741 * NEWS: Add sinf to list of optimized functions.
18742
18743 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18744
18745 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18746 (__HAVE_FLOAT32X): Likewise.
18747 * manual/math.texi (Mathematics): Document support for _Float64
18748 and _Float32x.
18749 * math/Makefile (test-types): Add float64 and float32x.
18750 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18751 functions.
18752 * stdlib/Versions (GLIBC_2.27): Likewise.
18753 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18754 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18755 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18756 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18757 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18758 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18759 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18760 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18761 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18762 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18763 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18764 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18765 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18766 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18767 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18768 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18769 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18770 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18771 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18772 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18773 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18774 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18775 Likewise.
18776 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18777 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18778 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18779 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18780 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18782 Likewise.
18783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18784 Likewise.
18785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18786 Likewise.
18787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18788 Likewise.
18789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18790 Likewise.
18791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18792 Likewise.
18793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18794 Likewise.
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18796 Likewise.
18797 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18798 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18799 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18800 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18801 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18802 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18803 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18804 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18805 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18806 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18808 Likewise.
18809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18810 Likewise.
18811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18812 Likewise.
18813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18814 Likewise.
18815 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18816 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18817 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18818 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18819 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18820 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18821 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18822 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18823
18824 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18825
18826 * bits/floatn-common.h: Include <bits/long-double.h>.
18827 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18828 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18829 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18830 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18831 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18832 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18833 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18834 (__builtin_huge_valf64): Use __builtin_huge_vall.
18835 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18836 (__builtin_inff64): Use __builtin_infl.
18837 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18838 (__builtin_nanf64): Use __builtin_nanl.
18839 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18840 (__builtin_nansf64): Use __builtin_nansl.
18841
18842 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18843 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18844 Carlos O'Donnell <carlos@redhat.com>
18845
18846 * elf/dl-tunables.list: Add elision parameters.
18847 * manual/tunables.texi: Add entries about elision tunable.
18848 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18849 Add callback functions to dynamically enable/disable elision.
18850 Add multiple callbacks functions to set elision parameters.
18851 Deleted __libc_enable_secure check.
18852 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18853 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18854 * configure: Regenerated.
18855 * configure.ac: Option enable_lock_elision was deleted.
18856 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18857 * config.make.in: Remove references to enable_lock_elision.
18858 * manual/install.texi: Elision configure option was removed.
18859 * INSTALL: Regenerated to remove enable_lock_elision.
18860 * nptl/Makefile:
18861 Disable elision so it can verify error case for destroying a mutex.
18862 * sysdeps/powerpc/nptl/elide.h:
18863 Cleanup ENABLE_LOCK_ELISION check.
18864 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18865 * sysdeps/s390/configure: Regenerated.
18866 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18867 * nptl/tst-mutex8.c:
18868 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18869 * sysdeps/powerpc/powerpc32/sysdep.h:
18870 Deleted all ENABLE_LOCK_ELISION checks.
18871 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18872 * sysdeps/powerpc/sysdep.h: Likewise.
18873 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18874 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18875 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18876 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18877 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18878 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18879 enable-lock-elision.
18880
18881 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18882
18883 * stdlib/strtod.c: Include <bits/floatn.h>.
18884 (BUILD_DOUBLE): New macro.
18885 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18886 (strtof64): Define and later undefine as macro. Define as weak
18887 alias if [!USE_WIDE_CHAR].
18888 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18889 (wcstof64): Define and later undefine as macro. Define as weak
18890 alias if [USE_WIDE_CHAR].
18891 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18892 (strtof32x): Define and later undefine as macro. Define as weak
18893 alias if [!USE_WIDE_CHAR].
18894 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18895 (wcstof32x): Define and later undefine as macro. Define as weak
18896 alias if [USE_WIDE_CHAR].
18897 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18898 (BUILD_DOUBLE): New macro.
18899 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18900 (strtof64_l): Define and later undefine as macro. Define as weak
18901 alias if [!USE_WIDE_CHAR].
18902 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18903 (wcstof64_l): Define and later undefine as macro. Define as weak
18904 alias if [USE_WIDE_CHAR].
18905 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18906 (strtof32x_l): Define and later undefine as macro. Define as weak
18907 alias if [!USE_WIDE_CHAR].
18908 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18909 (wcstof32x_l): Define and later undefine as macro. Define as weak
18910 alias if [USE_WIDE_CHAR].
18911
18912 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18913
18914 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18915 (reduced): Use ones as double instead of integer.
18916
18917 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18918
18919 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18920
18921 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18922
18923 * stdlib/strfromd.c: Include <bits/floatn.h>.
18924 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18925 and later undefine as macro and define as weak alias.
18926 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18927 Likewise.
18928
18929 * math/test-float32x.h: New file.
18930 * math/test-float64.h: Likewise.
18931
18932 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18933 (libm_alias_double_other_r_f64): New macro.
18934 (libm_alias_double_other_r_f32x): Likewise.
18935 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18936 libm_alias_double_other_r_f32x.
18937 (libm_alias_double_r): Use semicolon before call to
18938 libm_alias_double_other_r.
18939 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18940 <bits/floatn.h>.
18941 (libm_alias_double_other_r_f64): New macro.
18942 (libm_alias_double_other_r_f32x): Likewise.
18943 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18944 libm_alias_double_other_r_f32x.
18945
18946 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18947
18948 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18949 int.
18950 (SINF_FUNC): Likewise. Replace floor with simple casts.
18951
18952 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18953
18954 [BZ #22517]
18955 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18956 and to the list of locales to be built for testing.
18957 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18958 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18959 and build the collation rules upon that.
18960
18961 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18962
18963 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18964 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18965 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18966 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18967 instead of __insn__xxx.
18968 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18969 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18970 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18971 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18972 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18973 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18974
18975 2017-12-05 Florian Weimer <fweimer@redhat.com>
18976
18977 Linux: Implement interfaces for memory protection keys
18978 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18979 xsignal, xsysconf.
18980 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18981 * support/xunistd.h (xsysconf): Declare.
18982 * support/xraise.c: New file.
18983 * support/xsigaction.c: Likewise.
18984 * support/xsignal.c: Likewise.
18985 * support/xsysconf.c: Likewise.
18986 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18987 pkey_set, pkey_get, pkey_mprotect.
18988 [misc] (tests): Add tst-pkey.
18989 (tst-pkey): Link with -lpthread.
18990 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18991 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18992 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18993 (PKEY_DISABLE_WRITE): Define.
18994 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18995 Declare.
18996 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18997 (SEGV_PKUERR): Add.
18998 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18999 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19000 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19001 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19002 Add.
19003 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19004 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19005 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19006 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19007 * sysdeps/unix/sysv/linux/**.abilist: Update.
19008
19009 2017-12-05 Florian Weimer <fweimer@redhat.com>
19010
19011 * support/tst-test_compare.c (subprocess): Use long long instead
19012 of long argument for consistent type width across 32-bit and
19013 64-bit architectures.
19014 (do_test): Adjust expected output.
19015
19016 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19017
19018 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19019 (cosf): Define using libm_alias_float.
19020 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19021 (fabsf): Define using libm_alias_float.
19022 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19023 (fmaf): Define using libm_alias_float.
19024 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19025 (rintf): Define using libm_alias_float.
19026 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19027 (sinf): Define using libm_alias_float.
19028 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19029 <libm-alias-float.h>.
19030 (modff): Define using libm_alias_float.
19031 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19032 <libm-alias-float.h>.
19033 (logbf): Define using libm_alias_float.
19034 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19035 <libm-alias-float.h>.
19036 (ceilf): Define using libm_alias_float.
19037 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19038 <libm-alias-float.h>.
19039 (copysignf): Define using libm_alias_float.
19040 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19041 <libm-alias-float.h>.
19042 (floorf): Define using libm_alias_float.
19043 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19044 <libm-alias-float.h>.
19045 (llrintf): Define using libm_alias_float.
19046 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19047 <libm-alias-float.h>.
19048 (llroundf): Define using libm_alias_float.
19049 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19050 <libm-alias-float.h>.
19051 (lrintf): Define using libm_alias_float.
19052 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19053 <libm-alias-float.h>.
19054 (lroundf): Define using libm_alias_float.
19055 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19056 <libm-alias-float.h>.
19057 (nearbyintf): Define using libm_alias_float.
19058 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19059 <libm-alias-float.h>.
19060 (rintf): Define using libm_alias_float.
19061 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19062 <libm-alias-float.h>.
19063 (roundf): Define using libm_alias_float.
19064 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19065 <libm-alias-float.h>.
19066 (truncf): Define using libm_alias_float.
19067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19068 Include <libm-alias-float.h>.
19069 (ceilf): Define using libm_alias_float.
19070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19071 Include <libm-alias-float.h>.
19072 (copysignf): Define using libm_alias_float.
19073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19074 Include <libm-alias-float.h>.
19075 (floorf): Define using libm_alias_float.
19076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19077 Include <libm-alias-float.h>.
19078 (llrintf): Define using libm_alias_float.
19079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19080 Include <libm-alias-float.h>.
19081 (llroundf): Define using libm_alias_float.
19082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19083 Include <libm-alias-float.h>.
19084 (logbf): Define using libm_alias_float.
19085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19086 Include <libm-alias-float.h>.
19087 (lrintf): Define using libm_alias_float.
19088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19089 Include <libm-alias-float.h>.
19090 (lroundf): Define using libm_alias_float.
19091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19092 Include <libm-alias-float.h>.
19093 (modff): Define using libm_alias_float.
19094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19095 Include <libm-alias-float.h>.
19096 (roundf): Define using libm_alias_float.
19097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19098 Include <libm-alias-float.h>.
19099 (truncf): Define using libm_alias_float.
19100 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19101 <libm-alias-float.h>.
19102 (llrintf): Define using libm_alias_float.
19103 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19104 <libm-alias-float.h>.
19105 (llroundf): Define using libm_alias_float.
19106 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19107 <libm-alias-float.h>.
19108 (ceilf): Define using libm_alias_float.
19109 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19110 <libm-alias-float.h>.
19111 (floorf): Define using libm_alias_float.
19112 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19113 <libm-alias-float.h>.
19114 (llroundf): Define using libm_alias_float.
19115 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19116 <libm-alias-float.h>.
19117 (lroundf): Define using libm_alias_float.
19118 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19119 <libm-alias-float.h>.
19120 (roundf): Define using libm_alias_float.
19121 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19122 <libm-alias-float.h>.
19123 (truncf): Define using libm_alias_float.
19124 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19125 <libm-alias-float.h>.
19126 (copysignf): Define using libm_alias_float.
19127 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19128 <libm-alias-float.h>.
19129 (llrintf): Define using libm_alias_float.
19130 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19131 <libm-alias-float.h>.
19132 (llroundf): Define using libm_alias_float.
19133 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19134 <libm-alias-float.h>.
19135 (lrintf): Define using libm_alias_float.
19136 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19137 <libm-alias-float.h>.
19138 (lroundf): Define using libm_alias_float.
19139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19140 <libm-alias-float.h>.
19141 (ceilf): Define using libm_alias_float.
19142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19143 <libm-alias-float.h>.
19144 (copysignf): Define using libm_alias_float.
19145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19146 <libm-alias-float.h>.
19147 (cosf): Define using libm_alias_float.
19148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19149 <libm-alias-float.h>.
19150 (floorf): Define using libm_alias_float.
19151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19152 <libm-alias-float.h>.
19153 (llrintf): Define using libm_alias_float.
19154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19155 <libm-alias-float.h>.
19156 (llroundf): Define using libm_alias_float.
19157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19158 <libm-alias-float.h>.
19159 (logbf): Define using libm_alias_float.
19160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19161 <libm-alias-float.h>.
19162 (modff): Define using libm_alias_float.
19163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19164 <libm-alias-float.h>.
19165 (roundf): Define using libm_alias_float.
19166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19167 <libm-alias-float.h>.
19168 (sinf): Define using libm_alias_float.
19169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19170 <libm-alias-float.h>.
19171 (truncf): Define using libm_alias_float.
19172 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19173 <libm-alias-float.h>.
19174 (ceilf): Define using libm_alias_float.
19175 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19176 <libm-alias-float.h>.
19177 (copysignf): Define using libm_alias_float.
19178 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19179 <libm-alias-float.h>.
19180 (floorf): Define using libm_alias_float.
19181 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19182 <libm-alias-float.h>.
19183 (llrintf): Define using libm_alias_float.
19184 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19185 <libm-alias-float.h>.
19186 (llroundf): Define using libm_alias_float.
19187 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19188 <libm-alias-float.h>.
19189 (nearbyintf): Define using libm_alias_float.
19190 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19191 <libm-alias-float.h>.
19192 (rintf): Define using libm_alias_float.
19193 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19194 <libm-alias-float.h>.
19195 (roundf): Define using libm_alias_float.
19196 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19197 <libm-alias-float.h>.
19198 (truncf): Define using libm_alias_float.
19199 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19200 <libm-alias-float.h>.
19201 (ceilf): Define using libm_alias_float.
19202 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19203 <libm-alias-float.h>.
19204 (floorf): Define using libm_alias_float.
19205 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19206 <libm-alias-float.h>.
19207 (llroundf): Define using libm_alias_float.
19208 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19209 <libm-alias-float.h>.
19210 (roundf): Define using libm_alias_float.
19211 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19212 <libm-alias-float.h>.
19213 (truncf): Define using libm_alias_float.
19214 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19215 <libm-alias-float.h>.
19216 (copysignf): Define using libm_alias_float.
19217 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19218 <libm-alias-float.h>.
19219 (llrintf): Define using libm_alias_float.
19220 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19221 <libm-alias-float.h>.
19222 (llroundf): Define using libm_alias_float.
19223 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19224 <libm-alias-float.h>.
19225 (cosf): Define using libm_alias_float.
19226 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19227 <libm-alias-float.h>.
19228 (llrintf): Define using libm_alias_float.
19229 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19230 <libm-alias-float.h>.
19231 (llroundf): Define using libm_alias_float.
19232 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19233 <libm-alias-float.h>.
19234 (sinf): Define using libm_alias_float.
19235
19236 2017-12-04 Florian Weimer <fweimer@redhat.com>
19237
19238 * support/check.h (TEST_COMPARE): Define.
19239 (support_test_compare_failure): Declare.
19240 * support/Makefile (libsupport-routines): Add
19241 support_test_compare_failure.
19242 (tests): Add tst-test_compare.
19243 * support /support_test_compare_failure.c: New file.
19244 * support/tst-test_compare.c: Likewise.
19245
19246 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19247
19248 [BZ #22527]
19249 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19250 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19251 available, this rewrite of the collation rules does reproduce
19252 the test file in the same order.
19253
19254 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19255
19256 [BZ #10580]
19257 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19258 digraphs in the month and day names. Using single code points for
19259 digraphs is deprecated. While there are dedicated Unicode
19260 codepoints, for the digraphs, these are included for backwards
19261 compatibility and modern texts use a sequence of Basic Latin
19262 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19263 This makes the month and day names agree exactly with CLDR now,
19264 CLDR does not use the single code points for the digraphs either.
19265
19266 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19267
19268 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19269
19270 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19271
19272 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19273 of floor.
19274
19275 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19276
19277 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19278 Define only for libc.so.
19279
19280 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19281
19282 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19283 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19284 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19285 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19286 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19287
19288 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19289
19290 [BZ #5997]
19291 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19292
19293 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19294
19295 [BZ libc/19170]
19296 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19297 PREINIT_FUNCTION_WEAK is nonzero.
19298 (gmon_initializer): New function. Put procedure label for it in
19299 .init_array section.
19300 (_init): Don't call PREINIT_FUNCTION.
19301 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19302 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19303 value when map argument is null.
19304
19305 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19306 depi instruction from PIC pc-relative sequence.
19307 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19308 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19309 (elf_machine_load_address): Likewise.
19310 (elf_machine_runtime_setup): Likewise.
19311
19312 2017-12-02 Joseph Myers <joseph@codesourcery.com>
19313
19314 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19315 <libm-alias-double.h>.
19316 (logb): Define using libm_alias_double.
19317 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19318 <libm-alias-double.h>.
19319 (copysign): Define using libm_alias_double.
19320 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19321 <libm-alias-double.h>.
19322 (llrint): Define using libm_alias_double.
19323 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19324 <libm-alias-double.h>.
19325 (llround): Define using libm_alias_double.
19326 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19327 <libm-alias-double.h>.
19328 (lrint): Define using libm_alias_double.
19329 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19330 <libm-alias-double.h>.
19331 (lround): Define using libm_alias_double.
19332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19333 Include <libm-alias-double.h>.
19334 (copysign): Define using libm_alias_double.
19335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19336 Include <libm-alias-double.h>.
19337 (llrint): Define using libm_alias_double.
19338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19339 Include <libm-alias-double.h>.
19340 (llround): Define using libm_alias_double.
19341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19342 <libm-alias-double.h>.
19343 (logb): Define using libm_alias_double.
19344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19345 Include <libm-alias-double.h>.
19346 (lrint): Define using libm_alias_double.
19347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19348 Include <libm-alias-double.h>.
19349 (lround): Define using libm_alias_double.
19350 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19351 <libm-alias-double.h>.
19352 (llrint): Define using libm_alias_double.
19353 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19354 <libm-alias-double.h>.
19355 (llround): Define using libm_alias_double.
19356 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19357 <libm-alias-double.h>.
19358 (llround): Define using libm_alias_double.
19359 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19360 <libm-alias-double.h>.
19361 (lround): Define using libm_alias_double.
19362 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19363 <libm-alias-double.h>.
19364 (copysign): Define using libm_alias_double.
19365 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19366 <libm-alias-double.h>.
19367 (llrint): Define using libm_alias_double.
19368 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19369 <libm-alias-double.h>.
19370 (llround): Define using libm_alias_double.
19371 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19372 <libm-alias-double.h>.
19373 (lrint): Define using libm_alias_double.
19374 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19375 <libm-alias-double.h>.
19376 (lround): Define using libm_alias_double.
19377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19378 <libm-alias-double.h>.
19379 (copysign): Define using libm_alias_double.
19380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19381 <libm-alias-double.h>.
19382 (llrint): Define using libm_alias_double.
19383 (lrint): Likewise.
19384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19385 <libm-alias-double.h>.
19386 (llround): Define using libm_alias_double.
19387 (lround): Likewise.
19388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19389 <libm-alias-double.h>.
19390 (logb): Define using libm_alias_double.
19391 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19392 <libm-alias-double.h>.
19393 (copysign): Define using libm_alias_double.
19394 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19395 <libm-alias-double.h>.
19396 (llrint): Define using libm_alias_double.
19397 (lrint): Likewise.
19398 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19399 <libm-alias-double.h>.
19400 (llround): Define using libm_alias_double.
19401 (lround): Likewise.
19402 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19403 <libm-alias-double.h>.
19404 (llround): Define using libm_alias_double.
19405 (lround): Likewise.
19406 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19407 <libm-alias-double.h>.
19408 (copysign): Define using libm_alias_double.
19409 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19410 <libm-alias-double.h>.
19411 (llrint): Define using libm_alias_double.
19412 (lrint): Likewise.
19413 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19414 <libm-alias-double.h>.
19415 (llround): Define using libm_alias_double.
19416 (lround): Likewise.
19417 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19418 <libm-alias-double.h>.
19419 (llrint): Define using libm_alias_double.
19420 (lrint): Likewise.
19421 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19422 <libm-alias-double.h>.
19423 (llround): Define using libm_alias_double.
19424 (lround): Likewise.
19425
19426 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19427
19428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19429 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19430 compat symbol based on llround.
19431
19432 * sysdeps/powerpc/power7/fpu/s_logb.c
19433 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19434 symbol based on __logb, not on logb.
19435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19436 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19438 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19439
19440 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19441 (rint): Define using libm_alias_double.
19442 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19443 <libm-alias-double.h>.
19444 (modf): Define using libm_alias_double.
19445 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19446 <libm-alias-double.h>.
19447 (ceil): Define using libm_alias_double.
19448 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19449 <libm-alias-double.h>.
19450 (floor): Define using libm_alias_double.
19451 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19452 <libm-alias-double.h>.
19453 (nearbyint): Define using libm_alias_double.
19454 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19455 <libm-alias-double.h>.
19456 (rint): Define using libm_alias_double.
19457 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19458 <libm-alias-double.h>.
19459 (round): Define using libm_alias_double.
19460 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19461 <libm-alias-double.h>.
19462 (trunc): Define using libm_alias_double.
19463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19464 <libm-alias-double.h>.
19465 (ceil): Define using libm_alias_double.
19466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19467 Include <libm-alias-double.h>.
19468 (floor): Define using libm_alias_double.
19469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19470 <libm-alias-double.h>.
19471 (modf): Define using libm_alias_double.
19472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19473 Include <libm-alias-double.h>.
19474 (round): Define using libm_alias_double.
19475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19476 Include <libm-alias-double.h>.
19477 (trunc): Define using libm_alias_double.
19478 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19479 <libm-alias-double.h>.
19480 (ceil): Define using libm_alias_double.
19481 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19482 <libm-alias-double.h>.
19483 (floor): Define using libm_alias_double.
19484 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19485 <libm-alias-double.h>.
19486 (round): Define using libm_alias_double.
19487 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19488 <libm-alias-double.h>.
19489 (trunc): Define using libm_alias_double.
19490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19491 <libm-alias-double.h>.
19492 (ceil): Define using libm_alias_double.
19493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19494 <libm-alias-double.h>.
19495 (floor): Define using libm_alias_double.
19496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19497 <libm-alias-double.h>.
19498 (modf): Define using libm_alias_double.
19499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19500 <libm-alias-double.h>.
19501 (round): Define using libm_alias_double.
19502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19503 <libm-alias-double.h>.
19504 (trunc): Define using libm_alias_double.
19505 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19506 <libm-alias-double.h>.
19507 (ceil): Define using libm_alias_double.
19508 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19509 <libm-alias-double.h>.
19510 (floor): Define using libm_alias_double.
19511 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19512 <libm-alias-double.h>.
19513 (nearbyint): Define using libm_alias_double.
19514 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19515 <libm-alias-double.h>.
19516 (rint): Define using libm_alias_double.
19517 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19518 <libm-alias-double.h>.
19519 (round): Define using libm_alias_double.
19520 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19521 <libm-alias-double.h>.
19522 (trunc): Define using libm_alias_double.
19523 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19524 <libm-alias-double.h>.
19525 (ceil): Define using libm_alias_double.
19526 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19527 <libm-alias-double.h>.
19528 (floor): Define using libm_alias_double.
19529 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19530 <libm-alias-double.h>.
19531 (round): Define using libm_alias_double.
19532 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19533 <libm-alias-double.h>.
19534 (trunc): Define using libm_alias_double.
19535
19536 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19537 (fabs): Define using libm_alias_double.
19538 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19539 (fma): Define using libm_alias_double.
19540 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19541 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19542 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19543 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19544
19545 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19546
19547 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19548
19549 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19550 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19551 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19552
19553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19554 due redirect macro.
19555
19556 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19557
19558 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19559
19560 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19561
19562 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19563 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19564 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19565 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19566
19567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19568 (libm-sysdep_routines): Add s_nearbyintf-generic and
19569 s_nearbyint-generic.
19570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19571 New file.
19572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19574 Likewise.
19575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19576 Likewise.
19577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19578 file.
19579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19580 Likewise.
19581
19582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19583 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19585 file.
19586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19588 Likewise.
19589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19592
19593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19594 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19596 file.
19597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19599 Likewise.
19600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19603
19604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19605 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19607 file.
19608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19610 Likewise.
19611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19614
19615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19616 (sysdep_calls): New rule.
19617 (sysdep_routines): Use sysdep_calls as base.
19618 (libm-sysdep_routines): Add generic rule for symbols shared with
19619 libc. Add s_copysign-generic and s_copysign-generic objects.
19620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19621 New file.
19622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19624 Likewise.
19625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19628
19629 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19630
19631 [BZ #22519]
19632 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19633 the list of locales to be built for testing.
19634 * localedata/is_IS.UTF-8.in: New file.
19635 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19636 on iso14651_t1.
19637
19638 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19639
19640 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19641 <libm-alias-float.h>.
19642 (fabsf): Define using libm_alias_float.
19643
19644 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19645
19646 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19647
19648 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19649
19650 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19651 <libm-alias-float.h>.
19652 (fabsf): Define using libm_alias_float.
19653 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19654 <libm-alias-float.h>.
19655 (lrintf): Define using libm_alias_float.
19656 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19657 <libm-alias-float.h>.
19658 (rintf): Define using libm_alias_float.
19659
19660 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19661 <libm-alias-double.h>.
19662 (fabs): Define using libm_alias_double.
19663 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19664 <libm-alias-double.h>.
19665 (lrint): Define using libm_alias_double.
19666 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19667 <libm-alias-double.h>.
19668 (rint): Define using libm_alias_double.
19669
19670 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19671 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19672 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19673 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19674 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19675 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19676 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19677 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19678 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19679 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19680 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19681 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19682 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19683 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19684 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19685 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19686 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19687 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19688 s_atan_template.c.
19689 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19690 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19691 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19692 s_ceil_template.c.
19693 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19694 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19695 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19696 s_cos_template.c.
19697 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19698 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19699 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19700 s_expm1_template.c.
19701 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19702 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19703 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19704 s_fabs_template.c.
19705 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19706 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19707 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19708 s_floor_template.c.
19709 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19710 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19711 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19712 s_frexp_template.c.
19713 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19714 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19715 s_lrint_template.c.
19716 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19717 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19718 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19719 s_modf_template.c.
19720 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19721 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19722 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19723 s_nearbyint_template.c.
19724 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19725 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19726 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19727 s_remquo_template.c.
19728 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19729 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19730 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19731 s_rint_template.c.
19732 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19733 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19734 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19735 s_sin_template.c.
19736 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19737 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19738 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19739 s_sincos_template.c.
19740 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19741 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19742 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19743 s_tan_template.c.
19744 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19745 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19746 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19747 s_tanh_template.c.
19748 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19749 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19750 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19751 s_trunc_template.c.
19752 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19753 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19754 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19755 s_atan.c instead of including s_atan.c.
19756 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19757 s_atanf.c instead of including s_atanf.c.
19758 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19759 s_atanl.c instead of including s_atanl.c.
19760 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19761 instead of s_atan.c.
19762 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19763 instead of s_atanf.c.
19764 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19765 instead of s_atanl.c.
19766
19767 * scripts/update-copyrights: Do not handle intl/plural.c
19768 specially.
19769
19770 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19771
19772 [BZ #22432]
19773 * configure.ac (BISON): Require to be present.
19774 * configure: Regenerated.
19775 * intl/Makefile (generated): Add plural.c.
19776 [$(BISON) != no]: Make code unconditional.
19777 (plural.c): Change rule to $(objpfx)plural.c.
19778 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19779 * intl/plural.c: Remove.
19780 * manual/install.texi (Tools for Compilation): Document bison as
19781 required.
19782 * INSTALL: Regenerated.
19783
19784 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19785
19786 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19787 <libm-alias-double.h>.
19788 (llrint): Define using libm_alias_double.
19789 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19790 <libm-alias-float.h>.
19791 (llrintf): Define using libm_alias_float.
19792 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19793 <libm-alias-ldouble.h>.
19794 (llrintl): Define using libm_alias_ldouble.
19795
19796 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19797 declare_mgen_alias instead of weak_alias.
19798 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19799 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19800 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19801
19802 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19803
19804 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19805 Add add_n-generic.
19806 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19807 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19808 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19809
19810 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19811 Add submul_1-generic.
19812 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19813 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19814 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19815
19816 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19817 Add addmul_1-generic.
19818 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19819 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19820 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19821
19822 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19823 Add sub_n-generic.
19824 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19825 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19826 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19827
19828 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19829 Add mul_1-generic.
19830 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19831 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19832 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19833
19834 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19835
19836 According to CLDR, collation rules for Serbian and Bosnian
19837 should be the same as for Croatian.
19838
19839 [BZ #22534]
19840 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19841 and to the list of locales to be built for testing.
19842 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19843 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19844 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19845 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19846
19847 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19848
19849 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19850 to make test case pass.
19851 * localedata/hr_HR.UTF-8.in: Add more test strings.
19852
19853 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19854
19855 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19856
19857 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19858
19859 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19860 the list of locales to built for testing.
19861 * localedata/hr_HR.UTF-8.in: New file.
19862
19863 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19864
19865 [BZ #10580]
19866 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19867 iso14651_t1.
19868 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19869 CLDR (except use ligatures for the digraphs, CLDR does not use
19870 the ligatures), add first_workday, some fixes in the date and time
19871 formats.
19872 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19873 for Đ and đ.
19874 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19875 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19876 Add int_p_cs_precedes and int_n_cs_precedes.
19877 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19878 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19879 LC_MONETARY now).
19880 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19881 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19882 name_miss.
19883 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19884 and lang_lib. Change postal_fmt.
19885
19886 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19887
19888 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19889 <setjmp.h>.
19890 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19891 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19892 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19893 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19894 * sysdeps/generic/setjmpP.h: New file.
19895 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19896 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19897 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19898 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19899 Add jmp_buf-ssp.sym.
19900 (tests): Add tst-saved_mask-1.
19901
19902 2017-11-30 Arjun Shankar <arjun@redhat.com>
19903
19904 [BZ #22375]
19905 CVE-2017-17426
19906 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19907 instead of request2size.
19908
19909 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19910
19911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19912 (__lllrint): Remove alias.
19913 (lllrint): Likewise.
19914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19915 (__lllrintf): Likewise.
19916 (lllrintf): Likewise.
19917
19918 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19919 <libm-alias-float.h>.
19920 (copysignf): Define using libm_alias_float.
19921 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19922 <libm-alias-float.h>.
19923 (fabsf): Define using libm_alias_float.
19924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19925 Include <libm-alias-float.h>.
19926 (copysignf): Define using libm_alias_float.
19927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19928 <libm-alias-float.h>.
19929 (fabsf): Define using libm_alias_float.
19930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19931 <libm-alias-float.h>.
19932 (fdimf): Define using libm_alias_float.
19933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19934 <libm-alias-float.h>.
19935 (fmaf): Define using libm_alias_float.
19936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19937 <libm-alias-float.h>.
19938 (llrintf): Define using libm_alias_float.
19939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19940 Include <libm-alias-float.h>.
19941 (nearbyintf): Define using libm_alias_float.
19942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19943 <libm-alias-float.h>.
19944 (rintf): Define using libm_alias_float.
19945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19946 <libm-alias-float.h>.
19947 (llrintf): Define using libm_alias_float.
19948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19949 <libm-alias-float.h>.
19950 (lrintf): Define using libm_alias_float.
19951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19952 <libm-alias-float.h>.
19953 (nearbyintf): Define using libm_alias_float.
19954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19955 <libm-alias-float.h>.
19956 (rintf): Define using libm_alias_float.
19957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19958 <libm-alias-float.h>.
19959 (ceilf): Define using libm_alias_float.
19960 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19961 <libm-alias-float.h>.
19962 (floorf): Define using libm_alias_float.
19963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19964 <libm-alias-float.h>.
19965 (fmaf): Define using libm_alias_float.
19966 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19967 <libm-alias-float.h>.
19968 (lrintf): Define using libm_alias_float.
19969 (llrintf): Likewise.
19970 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19971 <libm-alias-float.h>.
19972 (nearbyintf): Define using libm_alias_float.
19973 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19974 <libm-alias-float.h>.
19975 (rintf): Define using libm_alias_float.
19976 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19977 <libm-alias-float.h>.
19978 (truncf): Define using libm_alias_float.
19979 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19980 <libm-alias-float.h>.
19981 (copysignf): Define using libm_alias_float.
19982 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19983 <libm-alias-float.h>.
19984 (fabsf): Define using libm_alias_float.
19985 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19986 <libm-alias-float.h>.
19987 (lrintf): Define using libm_alias_float.
19988 (llrintf): Likewise.
19989 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19990 <libm-alias-float.h>.
19991 (nearbyintf): Define using libm_alias_float.
19992 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19993 <libm-alias-float.h>.
19994 (rintf): Define using libm_alias_float.
19995
19996 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19997
19998 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19999 <libm-alias-double.h>.
20000 (copysign): Define using libm_alias_double.
20001 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20002 <libm-alias-double.h>.
20003 (fabs): Define using libm_alias_double.
20004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20005 Include <libm-alias-double.h>.
20006 (copysign): Define using libm_alias_double.
20007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20008 <libm-alias-double.h>.
20009 (fabs): Define using libm_alias_double.
20010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20011 <libm-alias-double.h>.
20012 (fdim): Define using libm_alias_double.
20013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20014 <libm-alias-double.h>.
20015 (fma): Define using libm_alias_double.
20016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20017 <libm-alias-double.h>.
20018 (llrint): Define using libm_alias_double.
20019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20020 Include <libm-alias-double.h>.
20021 (nearbyint): Define using libm_alias_double.
20022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20023 <libm-alias-double.h>.
20024 (rint): Define using libm_alias_double.
20025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20026 <libm-alias-double.h>.
20027 (fabs): Define using libm_alias_double.
20028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20029 <libm-alias-double.h>.
20030 (llrint): Define using libm_alias_double.
20031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20032 <libm-alias-double.h>.
20033 (nearbyint): Define using libm_alias_double.
20034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20035 <libm-alias-double.h>.
20036 (rint): Define using libm_alias_double.
20037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20038 <libm-alias-double.h>.
20039 (ceil): Define using libm_alias_double.
20040 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20041 <libm-alias-double.h>.
20042 (floor): Define using libm_alias_double.
20043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20044 <libm-alias-double.h>.
20045 (fma): Define using libm_alias_double.
20046 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20047 <libm-alias-double.h>.
20048 (lrint): Define using libm_alias_double.
20049 (llrint): Likewise.
20050 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20051 <libm-alias-double.h>.
20052 (nearbyint): Define using libm_alias_double.
20053 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20054 <libm-alias-double.h>.
20055 (rint): Define using libm_alias_double.
20056 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20057 <libm-alias-double.h>.
20058 (trunc): Define using libm_alias_double.
20059 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20060 <libm-alias-double.h>.
20061 (copysign): Define using libm_alias_double.
20062 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20063 <libm-alias-double.h>.
20064 (fabs): Define using libm_alias_double.
20065 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20066 <libm-alias-double.h>.
20067 (lrint): Define using libm_alias_double.
20068 (llrint): Likewise.
20069 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20070 <libm-alias-double.h>.
20071 (nearbyint): Define using libm_alias_double.
20072 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20073 <libm-alias-double.h>.
20074 (rint): Define using libm_alias_double.
20075
20076 [BZ #22229]
20077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20078 <math_ldbl_opt.h>.
20079 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20080
20081 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20082 SPARC --disable-multi-arch glibc variants.
20083
20084 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20085 <libm-alias-float.h>.
20086 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20087 if [SHARED].
20088 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20089 <libm-alias-float.h>.
20090 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20091 if [SHARED].
20092 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20093 <libm-alias-float.h>.
20094 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20095 if [SHARED].
20096 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20097 <libm-alias-float.h>.
20098 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20099 if [SHARED].
20100 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20101 <libm-alias-float.h>.
20102 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20103 if [SHARED].
20104 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20105 <libm-alias-float.h>.
20106 (ceilf): Define using libm_alias_float.
20107 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20108 <libm-alias-float.h>.
20109 (floorf): Define using libm_alias_float.
20110 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20111 <libm-alias-float.h>.
20112 (fmaf): Define using libm_alias_float.
20113 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20114 <libm-alias-float.h>.
20115 (nearbyintf): Define using libm_alias_float.
20116 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20117 <libm-alias-float.h>.
20118 (rintf): Define using libm_alias_float.
20119 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20120 <libm-alias-float.h>.
20121 (truncf): Define using libm_alias_float.
20122 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20123 (copysignf): Define using libm_alias_float.
20124 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20125 (cosf): Define using libm_alias_float.
20126 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20127 (fabsf): Define using libm_alias_float.
20128 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20129 (fmaxf): Define using libm_alias_float.
20130 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20131 (fminf): Define using libm_alias_float.
20132 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20133 (llrintf): Define using libm_alias_float.
20134 [!__ILP32__] (lrintf): Likewise.
20135 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20136 (sincosf): Define using libm_alias_float.
20137 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20138 (sinf): Define using libm_alias_float.
20139 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20140 (lrintf): Define using libm_alias_float.
20141
20142 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20143 <libm-alias-double.h>.
20144 (atan): Define using libm_alias_double.
20145 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20146 <libm-alias-double.h>.
20147 (ceil): Define using libm_alias_double.
20148 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20149 <libm-alias-double.h>.
20150 (floor): Define using libm_alias_double.
20151 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20152 <libm-alias-double.h>.
20153 (fma): Define using libm_alias_double.
20154 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20155 <libm-alias-double.h>.
20156 (nearbyint): Define using libm_alias_double.
20157 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20158 <libm-alias-double.h>.
20159 (rint): Define using libm_alias_double.
20160 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20161 <libm-alias-double.h>.
20162 (sin): Define using libm_alias_double.
20163 (cos): Likewise.
20164 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20165 <libm-alias-double.h>.
20166 (tan): Define using libm_alias_double.
20167 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20168 <libm-alias-double.h>.
20169 (trunc): Define using libm_alias_double.
20170 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20171 (copysign): Define using libm_alias_double.
20172 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20173 (fabs): Define using libm_alias_double.
20174 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20175 (fmax): Define using libm_alias_double.
20176 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20177 (fmin): Define using libm_alias_double.
20178 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20179 (llrint): Define using libm_alias_double.
20180 [!__ILP32__] (lrint): Likewise.
20181 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20182 (lrint): Define using libm_alias_double.
20183
20184 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20185
20186 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20187 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20188 objects.
20189 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20190 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20191 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20192 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20193 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20194 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20195
20196 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20197 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20198 objects.
20199 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20200 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20201 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20202 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20203 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20204 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20205
20206 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20207 (libm-sysdep_routines): Add s_nearbyint-generic and
20208 s_nearbyintf-generic objects.
20209 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20210 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20211 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20212 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20213 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20214 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20215
20216 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20217 Add s_finitef-generic and s_finite-generic objects.
20218 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20219 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20220 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20221 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20222 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20223 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20224
20225 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20226 Add s_isinff-generic and s_isinf-generic objects.
20227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20233
20234 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20235 Add s_isnanf-generic and s_isnan-generic objects.
20236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20242
20243 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20244 macro.
20245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20246 rule.
20247 (sysdep_routines): Use sysdep_calls as base.
20248 (libm-sysdep_routines): Add generic rule for symbols shared with
20249 libc. Add s_signbit-generic and s_signbitf-generic objects.
20250 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20251 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20252 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20253 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20254 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20255 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20256
20257 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20258
20259 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20260 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20261 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20262 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20263 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20264 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20265 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20266 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20267 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20268 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20269 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20270 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20271 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20272 libm_alias_float_r.
20273 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20274 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20275 (logf): Likewise.
20276 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20277 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20278 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20279 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20280 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20281 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20282 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20283 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20284 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20285 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20286 libm_alias_float.
20287 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20288 (cosf): Likewise.
20289 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20290 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20291 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20292 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20293 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20294 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20295 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20296 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20297 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20298 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20299 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20300 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20301 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20302 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20303 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20304 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20305 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20306 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20307 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20308 libm_alias_float.
20309 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20310 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20311 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20312 * sysdeps/ia64/fpu/w_lgammaf_main.c
20313 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20314 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20315
20316 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20317 Alexandre Oliva <aoliva@redhat.com>
20318
20319 [BZ #17750]
20320 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20321 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20322 accents sorting.
20323 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20324 sorting.
20325 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20326 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20327 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20328 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20329 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20330 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20331 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20332 instead of “ifdef DIACRIT_BACKWARD”.
20333
20334 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20335
20336 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20337 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20338 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20339 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20340 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20341 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20342 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20345 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20348 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20349 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20350 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20351 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20352 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20353 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20355 ($(have-as-vis3) == yes): Remove conditional.
20356 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20357 Likewise.
20358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20359 file.
20360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20361 file.
20362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20363 file.
20364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20365 file.
20366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20367 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20372 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20373 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20374
20375 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20376
20377 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20378 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20379 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20380 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20381 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20382 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20383 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20384 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20385 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20386 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20387 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20388 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20389 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20390 libm_alias_double_r.
20391 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20392 (log): Likewise.
20393 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20394 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20395 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20396 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20397 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20398 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20399 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20400 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20401 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20402 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20403 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20404 libm_alias_double.
20405 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20406 (cos): Likewise.
20407 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20408 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20409 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20410 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20411 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20412 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20413 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20414 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20415 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20416 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20417 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20418 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20419 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20420 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20421 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20422 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20423 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20424 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20425 libm_alias_double.
20426 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20427 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20428 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20429 * sysdeps/ia64/fpu/w_lgamma_main.c
20430 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20431 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20432
20433 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20434
20435 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20436 address of $global$ into %dp register earlier. Use pc-relative
20437 instruction sequence for PIC case.
20438
20439 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20440
20441 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20442 (asinhf): Define using libm_alias_float.
20443 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20444 (atanf): Define using libm_alias_float.
20445 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20446 (cbrtf): Define using libm_alias_float.
20447 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20448 (ceilf): Define using libm_alias_float.
20449 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20450 (copysignf): Define using libm_alias_float.
20451 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20452 (expm1f): Define using libm_alias_float.
20453 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20454 (fabsf): Define using libm_alias_float.
20455 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20456 (floorf): Define using libm_alias_float.
20457 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20458 (fmaxf): Define using libm_alias_float.
20459 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20460 (fminf): Define using libm_alias_float.
20461 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20462 (frexpf): Define using libm_alias_float.
20463 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20464 (llrintf): Define using libm_alias_float.
20465 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20466 (logbf): Define using libm_alias_float.
20467 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20468 (lrintf): Define using libm_alias_float.
20469 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20470 (nearbyintf): Define using libm_alias_float.
20471 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20472 (remquof): Define using libm_alias_float.
20473 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20474 (rintf): Define using libm_alias_float.
20475 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20476 (truncf): Define using libm_alias_float.
20477 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20478 <libm-alias-float.h>.
20479 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20480 if [SHARED].
20481 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20482 <libm-alias-float.h>.
20483 (expf): Define using libm_alias_float, or libm_alias_float_other
20484 if [SHARED].
20485 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20486 <libm-alias-float.h>.
20487 (log2f): Define using libm_alias_float, or libm_alias_float_other
20488 if [SHARED].
20489 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20490 <libm-alias-float.h>.
20491 (logf): Define using libm_alias_float, or libm_alias_float_other
20492 if [SHARED].
20493 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20494 <libm-alias-float.h>.
20495 (powf): Define using libm_alias_float, or libm_alias_float_other
20496 if [SHARED].
20497 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20498 <libm-alias-float.h>.
20499 (cosf): Define using libm_alias_float.
20500 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20501 <libm-alias-float.h>.
20502 (sincosf): Define using libm_alias_float.
20503 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20504 <libm-alias-float.h>.
20505 (sinf): Define using libm_alias_float.
20506 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20507 (fmaxf): Define using libm_alias_float.
20508 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20509 (fminf): Define using libm_alias_float.
20510 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20511 <libm-alias-float.h>.
20512 (fmaf): Define using libm_alias_float.
20513
20514 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20515 (asinh): Define using libm_alias_double.
20516 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20517 (atan): Define using libm_alias_double.
20518 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20519 (cbrt): Define using libm_alias_double.
20520 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20521 (ceil): Define using libm_alias_double.
20522 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20523 (copysign): Define using libm_alias_double.
20524 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20525 (expm1): Define using libm_alias_double.
20526 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20527 (fabs): Define using libm_alias_double.
20528 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20529 (fdim): Define using libm_alias_double.
20530 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20531 (floor): Define using libm_alias_double.
20532 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20533 (fmax): Define using libm_alias_double.
20534 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20535 (fmin): Define using libm_alias_double.
20536 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20537 (frexp): Define using libm_alias_double.
20538 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20539 (llrint): Define using libm_alias_double.
20540 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20541 (logb): Define using libm_alias_double.
20542 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20543 (lrint): Define using libm_alias_double.
20544 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20545 (nearbyint): Define using libm_alias_double.
20546 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20547 (remquo): Define using libm_alias_double.
20548 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20549 (rint): Define using libm_alias_double.
20550 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20551 (trunc): Define using libm_alias_double.
20552 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20553 (fmax): Define using libm_alias_double.
20554 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20555 (fmin): Define using libm_alias_double.
20556 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20557 (fma): Define using libm_alias_double.
20558
20559 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20560
20561 [BZ #22370]
20562 * elf/dl-hwcaps.c (ROUND): Removed.
20563 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20564 and ELF_NOTE_NEXT_OFFSET.
20565 * elf/dl-load.c (ROUND): Removed.
20566 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20567 * elf/readelflib.c (ROUND): Removed.
20568 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20569 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20570 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20571 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20572
20573 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20574
20575 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20576 [!__fmaf] (fmaf): Define using libm_alias_float.
20577
20578 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20579 [!__fma] (fma): Define using libm_alias_double.
20580 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20581
20582 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20583
20584 [BZ #22336]
20585 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20586 and implement the collation rules for cs from CLDR on top of that.
20587 * Makefile: Add cs_CZ.UTF-8 to test-input.
20588 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20589
20590 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20591
20592 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20593
20594 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20595 Icarus Sparry <icarus.w.sparry@intel.com>
20596
20597 * benchtests/Makefile:Add BENCHSET to allow subsets of
20598 benchmarks to be run.
20599 * benchtests/README: Add documentation for: Running subsets of
20600 benchmarks.
20601
20602 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20603
20604 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20605 range of tests names.
20606
20607 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20608 result from property and remove "max", min" and "mean" from
20609 required properties based on benchtests/bench-skeleton.c.
20610
20611 2017-11-28 Florian Weimer <fweimer@redhat.com>
20612
20613 [BZ #20826]
20614 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20615 due to Internet requirement.
20616 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20617 tst-getaddrinfo5.
20618 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20619
20620 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20621
20622 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20623 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20624 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20625 (sysdep_routines): Add memset-ultra1.
20626 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20627 file.
20628 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20629 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20630 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20631 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20632 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20633 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20634 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20635 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20636
20637 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20638 file.
20639 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20640 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20641 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20642 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20643 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20644 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20645 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20646 macro.
20647 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20648 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20649 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20650 (sysdep_routines): Add memcpy-ultra1.
20651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20652 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20653
20654 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20655
20656 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20657 (cfloat_versions): Take function argument without trailing 'f'.
20658 Call libm_alias_float_other.
20659 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20660 * sysdeps/alpha/fpu/cargf.c: Likewise.
20661 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20662 * sysdeps/alpha/fpu/conjf.c: Likewise.
20663 * sysdeps/alpha/fpu/crealf.c: Likewise.
20664 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20665 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20666 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20667 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20668 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20669 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20670 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20671 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20672 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20673 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20674 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20675 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20676 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20677 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20678 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20679 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20680 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20681 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20682 (clog10f): Use libm_alias_float_other.
20683 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20684 (ceilf): Define using libm_alias_float.
20685 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20686 (copysignf): Define using libm_alias_float.
20687 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20688 (fabsf): Define using libm_alias_float.
20689 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20690 (floorf): Define using libm_alias_float.
20691 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20692 (fmaxf): Define using libm_alias_float.
20693 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20694 (fminf): Define using libm_alias_float.
20695 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20696 (lrintf): Define using libm_alias_float.
20697 (llrintf): Likewise.
20698 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20699 (lroundf): Define using libm_alias_float.
20700 (llroundf): Likewise.
20701 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20702 (rintf): Define using libm_alias_float.
20703 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20704 (truncf): Define using libm_alias_float.
20705
20706 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20707 (ceilf): Define using libm_alias_float.
20708 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20709 (floorf): Define using libm_alias_float.
20710 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20711 (fmaf): Define using libm_alias_float.
20712 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20713 (fmaxf): Define using libm_alias_float.
20714 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20715 (fminf): Define using libm_alias_float.
20716 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20717 (llrintf): Define using libm_alias_float.
20718 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20719 (llroundf): Define using libm_alias_float.
20720 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20721 (lrintf): Define using libm_alias_float.
20722 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20723 (lroundf): Define using libm_alias_float.
20724 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20725 <libm-alias-float.h>.
20726 (nearbyintf): Define using libm_alias_float.
20727 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20728 (rintf): Define using libm_alias_float.
20729 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20730 (roundf): Define using libm_alias_float.
20731 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20732 (truncf): Define using libm_alias_float.
20733
20734 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20735 (ceil): Define using libm_alias_double.
20736 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20737 (copysign): Define using libm_alias_double.
20738 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20739 (fabs): Define using libm_alias_double.
20740 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20741 (floor): Define using libm_alias_double.
20742 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20743 (fmax): Define using libm_alias_double.
20744 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20745 (fmin): Define using libm_alias_double.
20746 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20747 (lrint): Define using libm_alias_double.
20748 (llrint): Likewise.
20749 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20750 (lround): Define using libm_alias_double.
20751 (llround): Likewise.
20752 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20753 (rint): Define using libm_alias_double.
20754 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20755 (trunc): Define using libm_alias_double.
20756
20757 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20758 (libm_alias_double_r): Add semicolon after weak_alias call.
20759
20760 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20761
20762 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20763 (ceil): Define using libm_alias_double.
20764 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20765 (floor): Define using libm_alias_double.
20766 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20767 (fma): Define using libm_alias_double.
20768 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20769 (fmax): Define using libm_alias_double.
20770 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20771 (fmin): Define using libm_alias_double.
20772 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20773 (llrint): Define using libm_alias_double.
20774 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20775 (llround): Define using libm_alias_double.
20776 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20777 (lrint): Define using libm_alias_double.
20778 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20779 (lround): Define using libm_alias_double.
20780 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20781 (nearbyint): Define using libm_alias_double.
20782 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20783 (rint): Define using libm_alias_double.
20784 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20785 (round): Define using libm_alias_double.
20786 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20787 (trunc): Define using libm_alias_double.
20788
20789 2017-11-27 Florian Weimer <fweimer@redhat.com>
20790
20791 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20792 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20793 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20794 (tests): Add tst-mlock2.
20795 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20796 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20797 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20798 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20799 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20800 for mlock. Document mlock2.
20801
20802 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20803
20804 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20805 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20806 Likewise.
20807 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20808 Likewise.
20809 * sysdeps/x86/Makeconfig: New file.
20810 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20811 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20812 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20813 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20814 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20815 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20816 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20817 Likewise.
20818 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20819 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20820 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20821 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20822 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20823 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20824 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20825 * manual/math.texi (Mathematics): Document support for _Float64x.
20826 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20827 * stdlib/Versions (GLIBC_2.27): Likewise.
20828 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20829 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20830 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20831 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20832 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20833 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20834 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20835 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20836 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20837 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20838 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20839 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20841 Likewise.
20842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20843 Likewise.
20844 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20845 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20846 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20847 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20848 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20849 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20850 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20851 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20852 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20853 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20854 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20855 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20856 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20857 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20858
20859 2017-11-27 Andreas Schwab <schwab@suse.de>
20860
20861 * elf/Makefile (dl-routines): Add dl-sort-maps.
20862 * elf/dl-sort-maps.c: New file.
20863 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20864 (_dl_sort_maps): Declare.
20865 * elf/dl-fini.c (_dl_sort_fini): Remove.
20866 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20867 * elf/dl-close.c (_dl_close_worker): Likewise.
20868 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20869 open-coding it.
20870 * elf/dl-open.c (dl_open_worker): Likewise.
20871
20872 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20873
20874 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20875 using libm_alias_float128.
20876 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20877 Likewise.
20878 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20879 Likewise.
20880 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20881 (setpayloadsigf128): Likewise.
20882 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20883 Likewise.
20884 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20885 Likewise.
20886
20887 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20888 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20889 -mfloat128 to CFLAGS.
20890 ($(foreach
20891 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20892 Likewise.
20893 (CFLAGS-libm-test-support-float64x.c): New variable.
20894 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20895 $(f128-loader-link) to gnulib-tests.
20896
20897 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20898 (libm_alias_float128_other_r): If
20899 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20900 alias.
20901 (libm_alias_float128_r): Add semicolon after weak_alias call.
20902 * sysdeps/generic/libm-alias-ldouble.h
20903 (libm_alias_ldouble_other_r_f128): New macro.
20904 (libm_alias_ldouble_other_r_f64x): Likewise.
20905 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20906 and libm_alias_ldouble_other_r_f64x.
20907 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20908 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20909 (libm_alias_ldouble_other_r_f128): New macro.
20910 (libm_alias_ldouble_other_r_f64x): Likewise.
20911 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20912 and libm_alias_ldouble_other_r_f64x.
20913
20914 * stdlib/strfroml.c: Always include <stdlib.h>.
20915 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20916 undefine as macro and define as weak alias.
20917 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20918 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20919 <stdlib.h>.
20920 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20921 Define and later undefine as macro and define as weak alias.
20922
20923 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20924 Define and later undefine as macro. Define as weak alias if
20925 [!USE_WIDE_CHAR].
20926 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20927 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20928 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20929 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20930 Define and later undefine as macro. Define as weak alias if
20931 [!USE_WIDE_CHAR].
20932 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20933 Define and later undefine as macro. Define as weak alias if
20934 [USE_WIDE_CHAR].
20935 * sysdeps/ieee754/float128/strtof128_l.c
20936 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20937 Define and later undefine as macro. Define as weak alias if
20938 [!USE_WIDE_CHAR].
20939 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20940 Define and later undefine as macro. Define as weak alias if
20941 [USE_WIDE_CHAR].
20942 * sysdeps/ieee754/ldbl-128/strtold_l.c
20943 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20944 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20945 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20946 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20947 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20948 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20949 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20950 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20951 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20952 * sysdeps/ieee754/ldbl-96/strtold_l.c
20953 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20954 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20955 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20956 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20957
20958 * math/test-float64x.h: New file.
20959 * math/Makefile (type-float64x-yes): New variable.
20960 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20961
20962 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20963 function-like macro.
20964 (min_of_type_): Likewise.
20965 (min_of_type_l): Likewise.
20966 (min_of_type_f128): Likewise.
20967 (min_of_type): Pass () as last argument of __MATH_TG.
20968
20969 * stdlib/tst-strtod-round-skeleton.c
20970 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20971 headers.
20972
20973 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20974 for combinations of long double with _Float64 and _Float64x.
20975
20976 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20977 (__DECL_SIMD_cosf32): Likewise.
20978 (__DECL_SIMD_cosf64): Likewise.
20979 (__DECL_SIMD_cosf32x): Likewise.
20980 (__DECL_SIMD_cosf64x): Likewise.
20981 (__DECL_SIMD_cosf128x): Likewise.
20982 (__DECL_SIMD_sinf16): Likewise.
20983 (__DECL_SIMD_sinf32): Likewise.
20984 (__DECL_SIMD_sinf64): Likewise.
20985 (__DECL_SIMD_sinf32x): Likewise.
20986 (__DECL_SIMD_sinf64x): Likewise.
20987 (__DECL_SIMD_sinf128x): Likewise.
20988 (__DECL_SIMD_sincosf16): Likewise.
20989 (__DECL_SIMD_sincosf32): Likewise.
20990 (__DECL_SIMD_sincosf64): Likewise.
20991 (__DECL_SIMD_sincosf32x): Likewise.
20992 (__DECL_SIMD_sincosf64x): Likewise.
20993 (__DECL_SIMD_sincosf128x): Likewise.
20994 (__DECL_SIMD_logf16): Likewise.
20995 (__DECL_SIMD_logf32): Likewise.
20996 (__DECL_SIMD_logf64): Likewise.
20997 (__DECL_SIMD_logf32x): Likewise.
20998 (__DECL_SIMD_logf64x): Likewise.
20999 (__DECL_SIMD_logf128x): Likewise.
21000 (__DECL_SIMD_expf16): Likewise.
21001 (__DECL_SIMD_expf32): Likewise.
21002 (__DECL_SIMD_expf64): Likewise.
21003 (__DECL_SIMD_expf32x): Likewise.
21004 (__DECL_SIMD_expf64x): Likewise.
21005 (__DECL_SIMD_expf128x): Likewise.
21006 (__DECL_SIMD_powf16): Likewise.
21007 (__DECL_SIMD_powf32): Likewise.
21008 (__DECL_SIMD_powf64): Likewise.
21009 (__DECL_SIMD_powf32x): Likewise.
21010 (__DECL_SIMD_powf64x): Likewise.
21011 (__DECL_SIMD_powf128x): Likewise.
21012
21013 * stdlib/Versions (libc): Move entries for wcstof128 and
21014 wcstof128_l to ....
21015 * wcsmbs/Versions (libc): ... here.
21016 Include <float128-abi.h>.
21017
21018 2017-11-24 Florian Weimer <fweimer@redhat.com>
21019
21020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21021 bits/mman-shared.h.
21022 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21023 <bits/mman-shared.h>.
21024 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21025 to ...
21026 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21027 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21028 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21029 <bits/mman-shared.h>.
21030
21031 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21032
21033 [BZ #22457]
21034 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21035 posix_memalign/free.
21036 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21037
21038 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21039
21040 [BZ #22469]
21041 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21042 and implement the collation rules for pl from CLDR on top of that.
21043 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21044 of locales to be built for testing.
21045 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21046
21047 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21048
21049 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21050 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21051 libm_alias_ldouble_other.
21052 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21053 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21054 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21055 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21056 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21057 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21058 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21059 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21060 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21061 libm_alias_ldouble_r.
21062 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21063 libm_alias_ldouble_other.
21064 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21065 (log10l): Likewise.
21066 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21067 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21068 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21069 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21070 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21071 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21072 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21073 (atan2l): Likewise.
21074 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21075 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21076 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21077 libm_alias_ldouble.
21078 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21079 (cosl): Likewise.
21080 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21081 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21082 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21083 (expl): Likewise.
21084 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21085 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21086 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21087 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21088 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21089 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21090 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21091 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21092 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21093 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21094 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21095 libm_alias_ldouble.
21096 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21097 libm_alias_ldouble_other.
21098 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21099 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21100 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21101 libm_alias_ldouble.
21102 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21103 libm_alias_ldouble_other.
21104 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21105 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21106 * sysdeps/ia64/fpu/w_lgammal_main.c
21107 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21108 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21109
21110 2017-11-23 Florian Weimer <fweimer@redhat.com>
21111
21112 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21113 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21114 alike. Remove freeres marker.
21115 * malloc/arena.c (arena_thread_freeres): Call
21116 tcache_thread_shutdown.
21117
21118 2017-11-23 Florian Weimer <fweimer@redhat.com>
21119
21120 [BZ #22459]
21121 Export nscd hash function as __nss_hash.
21122 * include/nss.h (__nss_hash): Declare.
21123 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21124 symbol.
21125 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21126 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21127 of __nscd_hash.
21128 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21129 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21130 * nss/Makefiles (routines): Add nss_hash.
21131 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21132 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21133 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21134 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21135
21136 2017-11-23 Florian Weimer <fweimer@redhat.com>
21137
21138 [BZ #22478]
21139 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21140 Return error code, not -1.
21141 * signal/tst-sigwait-eintr.c: New file.
21142 * signal/Makefile (tests): Add tst-sigwait-eintr.
21143
21144 2017-11-23 Florian Weimer <fweimer@redhat.com>
21145
21146 Linux: Add memfd_create system call wrapper
21147 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21148 tst-memfd_create.
21149 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21150 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21151 [__USE_GNU] (memfd_create): Declare.
21152 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21153 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21154 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21155 * sysdeps/unix/sysv/linux/**.abilist: Update.
21156 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21157
21158 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21159
21160 * localedata/gen-locale.sh: Fix typo in variable name.
21161
21162 * resolv/res_debug.c (p_secstodate): Condition definition on
21163 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21164 directly as __p_secstodate, and as a compat symbol. Do not use
21165 libresolv_hidden_def.
21166 * resolv/resolv.h (p_secstodate): Remove macro and function
21167 declaration.
21168 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21169 using p_secstodate.
21170 * include/resolv.h (__p_secstodate): Do not use
21171 libresolv_hidden_proto.
21172 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21173 (tests-internal): ... here.
21174 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21175 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21176 and declare and use __p_secstodate and use compat_symbol_reference
21177 in that case.
21178 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21179 implementation returning 77.
21180
21181 [BZ #22463]
21182 * resolv/res_debug.c: Include <libc-diag.h>.
21183 (p_secstodate): Assert time_t at least as wide as u_long. On
21184 overflow, use integer seconds since the epoch as output, or use
21185 "<overflow>" as output and set errno to EOVERFLOW if integer
21186 seconds since the epoch would be 14 or more characters.
21187 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21188 for sprintf call.
21189 * resolv/tst-p_secstodate.c: New file.
21190 * resolv/Makefile (tests): Add tst-p_secstodate.
21191 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21192
21193 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21194 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21195 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21196
21197 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21198
21199 * posix/regcomp.c (init_word_char): Add comments.
21200
21201 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21202
21203 [BZ #22447]
21204 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21205 strlen to compute length of ut_user and set trailing NUL byte of
21206 result explicitly.
21207
21208 2017-11-21 Mike FABIAN <mfabian@redhat.com>
21209
21210 [BZ #15537]
21211 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21212 using “copy "iso14651_t1"” and then implementing the
21213 collation rules for lv from CLDR on top of that.
21214 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21215 of locales to be built for testing.
21216 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21217 sorting.
21218
21219 2017-11-21 Joseph Myers <joseph@codesourcery.com>
21220
21221 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21222 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21223 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21224 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21225 [__USE_MISC] (MADV_HWPOISON): New macro.
21226 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21227
21228 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21229
21230 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21231 -Wmissing-braces on GCC 4.9.
21232
21233 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21234
21235 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21236 * sysdeps/s390/s390-32/start.S (_start): Likewise
21237 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21238 (thread_start): Likewise.
21239 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21240 (thread_start): Likewise.
21241 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21242 (__makecontext_ret): Likewise.
21243 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21244 (__makecontext_ret): Likewise.
21245
21246 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21247
21248 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21249 __wcschrnul): Remove attribute_hidden.
21250
21251 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21252
21253 regex: don't assume uint64_t or uint32_t
21254 This avoids -Werror=overflow errors for 32-bit systems in
21255 the 64-bit case. Problem reported by Joseph Myers in:
21256 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21257 Also, when this code is used in Gnulib it ports to platforms
21258 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21259 them, and on some 32-bit compilers there is no uint64_t.
21260 Problem reported by Gianluigi Tiesi in:
21261 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21262 * posix/regcomp.c (init_word_char): Don't assume that the types
21263 uint64_t and uint32_t exist. Adapted from Gnulib patch
21264 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21265 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21266
21267 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21268
21269 * sysdeps/aarch64/memset-reg.h: New file.
21270 * sysdeps/aarch64/memset.S: Use it.
21271 (__memset): Rename to MEMSET macro.
21272 [ZVA_MACRO]: Use zva_macro.
21273 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21274 Add memset_generic and memset_falkor.
21275 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21276 (__libc_ifunc_impl_list): Add memset ifuncs.
21277 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21278 local variable zva_size.
21279 * sysdeps/aarch64/multiarch/memset.c: New file.
21280 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21281 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21282 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21283 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21284 (DCZID_DZP_MASK): New macro.
21285 (DCZID_BS_MASK): Likewise.
21286 (init_cpu_features): Read and set zva_size.
21287 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21288 (struct cpu_features): New member zva_size.
21289
21290 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21291 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21292 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21293
21294 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21295 backwards. Fix timing computation.
21296 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21297 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21298 on memset by N at a time. Fix timing computation.
21299
21300 2017-11-20 Florian Weimer <fweimer@redhat.com>
21301
21302 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21303 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21304
21305 2017-11-19 Florian Weimer <fweimer@redhat.com>
21306
21307 manual: Document mprotect
21308 * manual/memory.texi (Memory Protection): New section.
21309 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21310 documentation of PROT_* flags and reference the Memory Protection
21311 section instead.
21312
21313 2017-11-19 Florian Weimer <fweimer@redhat.com>
21314
21315 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21316 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21317 (Scatter-Gather): ... to here. Remove misleading comment.
21318
21319 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
21320
21321 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21322 style.
21323
21324 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21325 when /proc/<pid>/setgroups does not exist.
21326
21327 2017-11-18 Florian Weimer <fweimer@redhat.com>
21328
21329 * sysdeps/unix/sysv/linux/tst-ttyname.c
21330 (become_root_in_mount_ns): Remove.
21331 (do_in_chroot_1): Call support_enter_mount_namespace.
21332 (do_in_chroot_2): Likewise.
21333 (do_test): Call support_become_root early.
21334
21335 2017-11-18 Florian Weimer <fweimer@redhat.com>
21336
21337 * support/namespace.h (support_enter_mount_namespace): Declare.
21338 * support/support_enter_mount_namespace.c: New file.
21339 * support/Makefile (libsupport-routines): Add
21340 support_enter_mount_namespace.
21341
21342 2017-11-18 Florian Weimer <fweimer@redhat.com>
21343
21344 * support/temp_file.c (support_create_temp_directory): Use
21345 test_dir and do not rely on the presence of the XXXXXX suffix.
21346 * support/temp_file.h (support_create_temp_directory): Update
21347 comment.
21348 * support/tst-xreadlink.c (do_test): Adjust.
21349 * support/support_chroot.c (support_chroot_create): Likewise.
21350
21351 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21352
21353 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21354 macro.
21355 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21356 htm-no-suspend.
21357
21358 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21359
21360 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21361 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21362 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21363 (ceill): Define using libm_alias_ldouble.
21364 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21365 <libm-alias-ldouble.h>.
21366 (copysignl): Define using libm_alias_ldouble.
21367 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21368 (fabsl): Define using libm_alias_ldouble.
21369 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21370 (floorl): Define using libm_alias_ldouble.
21371 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21372 (fmaxl): Define using libm_alias_ldouble.
21373 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21374 (fminl): Define using libm_alias_ldouble.
21375 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21376 (llrintl): Define using libm_alias_ldouble.
21377 (lrintl): Likewise.
21378 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21379 <libm-alias-ldouble.h>.
21380 (nearbyintl): Define using libm_alias_ldouble.
21381 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21382 (truncl): Define using libm_alias_ldouble.
21383 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21384 <libm-alias-ldouble.h>.
21385 (lrintl): Define using libm_alias_ldouble.
21386
21387 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21388 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21389 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21390 (asinhl): Define using libm_alias_ldouble.
21391 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21392 (atanl): Define using libm_alias_ldouble.
21393 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21394 (cbrtl): Define using libm_alias_ldouble.
21395 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21396 (ceill): Define using libm_alias_ldouble.
21397 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21398 (copysignl): Define using libm_alias_ldouble.
21399 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21400 (fabsl): Define using libm_alias_ldouble.
21401 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21402 (floorl): Define using libm_alias_ldouble.
21403 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21404 (fmaxl): Define using libm_alias_ldouble.
21405 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21406 (fminl): Define using libm_alias_ldouble.
21407 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21408 (frexpl): Define using libm_alias_ldouble.
21409 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21410 (llrintl): Define using libm_alias_ldouble.
21411 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21412 (logbl): Define using libm_alias_ldouble.
21413 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21414 (lrintl): Define using libm_alias_ldouble.
21415 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21416 (nearbyintl): Define using libm_alias_ldouble.
21417 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21418 (nextafterl): Define using libm_alias_ldouble.
21419 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21420 (remquol): Define using libm_alias_ldouble.
21421 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21422 (rintl): Define using libm_alias_ldouble.
21423 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21424 (truncl): Define using libm_alias_ldouble.
21425 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21426 (fmaxl): Define using libm_alias_ldouble.
21427 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21428 (fminl): Define using libm_alias_ldouble.
21429
21430 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21431 to C syntax instead of availability and properties of types.
21432 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21433 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21434 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21435 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21436 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21437 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21438
21439 2017-11-17 Florian Weimer <fweimer@redhat.com>
21440
21441 support_become_root: Enable file creation in namespaces.
21442 * support/support_become_root.c (setup_mapping): New function.
21443 (support_become_root): Call it.
21444
21445 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21446
21447 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21448 macro.
21449
21450 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21451
21452 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21453 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21454
21455 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21456
21457 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21458
21459 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21460 version to 4.14.
21461
21462 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21463
21464 * INSTALL: Fix botched up regeneration.
21465
21466 * NEWS: Update sourceare link to https.
21467 * configure.ac: Likewise.
21468 * crypt/md5test-giant.c: Likewise.
21469 * dlfcn/bug-atexit1.c: Likewise.
21470 * dlfcn/bug-atexit2.c: Likewise.
21471 * localedata/README: Likewise.
21472 * malloc/tst-mallocfork.c: Likewise.
21473 * manual/install.texi: Likewise.
21474 * nptl/tst-pthread-getattr.c: Likewise.
21475 * stdio-common/tst-fgets.c: Likewise.
21476 * stdio-common/tst-fwrite.c: Likewise.
21477 * sunrpc/Makefile: Likewise.
21478 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21479 * wcsmbs/tst-mbrtowc2.c: Likewise.
21480 * configure: Regenerate.
21481 * INSTALL: Regenerate.
21482
21483 2017-11-15 Martin Sebor <msebor@redhat.com>
21484
21485 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21486 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21487 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21488
21489 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21490
21491 [BZ #22145]
21492 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21493 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21494
21495 [BZ #22145]
21496 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21497 Defer is_pty check until end of the function.
21498 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21499
21500 [BZ #22145]
21501 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21502 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21503 (ttyname): Likewise.
21504 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21505 (__ttyname_r): Likewise.
21506
21507 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21508 int to bool.
21509
21510 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21511
21512 * manual/terminal.texi (Is It a Terminal):
21513 Mention ENODEV for ttyname and ttyname_r.
21514
21515 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21516
21517 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21518 constant and macro.
21519
21520 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21521 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21522 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21523 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21524 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21525 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21526
21527 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21528
21529 * signal/sigrelse.c (sigrelse): Optimize implementation.
21530
21531 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21532 (__sigpause): Rely on __sigsuspend to implement single thread
21533 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21534
21535 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21536
21537 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21538 kernel version to 4.14.
21539
21540 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21541
21542 [BZ #22442]
21543 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21544 Check if ifname is too long.
21545
21546 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21547
21548 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21549
21550 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21551
21552 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21553 was accidentally lost.
21554
21555 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21556
21557 * localedata/locales/az_IR: Add standard copyright header.
21558
21559 2017-11-15 Florian Weimer <fweimer@redhat.com>
21560
21561 [BZ #22439]
21562 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21563 not just the top one. Output a new "subheaps" statistic.
21564
21565 2017-11-15 Florian Weimer <fweimer@redhat.com>
21566
21567 [BZ #22408]
21568 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21569 under the per-arena lock.
21570 * malloc/Makefile (tests): Add tst-malloc_info.
21571 (tst-malloc_info): Link with libpthread.
21572 * malloc/tst-malloc_info.c: New file.
21573
21574 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21575
21576 [BZ #21660]
21577 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21578 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21579 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21580 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21581 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21582 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21583 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21584 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21585 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21586 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21587 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21588 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21589 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21590 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21591 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21592 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21593 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21594 (__floating_type): Likewise.
21595 (__real_integer_type): Likewise.
21596 (__complex_integer_type): Likewise.
21597 (__expr_is_real): Likewise.
21598 (__tgmath_real_type_sub): Likewise.
21599 (__tgmath_real_type): Likewise.
21600 (__tgmath_complex_type_sub): Likewise.
21601 (__tgmath_complex_type): Likewise.
21602 (__TGMATH_F128): Likewise.
21603 (__TGMATH_CF128): Likewise.
21604 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21605 new macros.
21606 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21607 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21608 Likewise.
21609 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21610 Likewise.
21611 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21612 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21613 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21614 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21615 Likewise.
21616 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21617 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21618 Likewise.
21619 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21620 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21621 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21622 Likewise.
21623 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21624 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21625 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21626 (cimag): Likewise.
21627 (creal): Likewise.
21628
21629 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21630
21631 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21632 for stpncpy calls for GCC 8.
21633 (test_strncat): Disable -Wstringop-truncation warning for strncat
21634 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21635 strncat call for GCC 7.
21636 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21637 calls for GCC 8.
21638 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21639 trailing NUL.
21640
21641 * string/bug-strncat1.c: Include <libc-diag.h>.
21642 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21643
21644 2017-11-13 Claude Paroz <claude@2xlibre.net>
21645
21646 [BZ #22387]
21647 * localedata/locales/aa_DJ: Improved readibility by replacing
21648 <Uxxxx> sequences in the ASCII printable range by their ASCII
21649 character equivalents.
21650 * localedata/locales/aa_ER: Likewise.
21651 * localedata/locales/aa_ER@saaho: Likewise.
21652 * localedata/locales/aa_ET: Likewise.
21653 * localedata/locales/af_ZA: Likewise.
21654 * localedata/locales/agr_PE: Likewise.
21655 * localedata/locales/ak_GH: Likewise.
21656 * localedata/locales/am_ET: Likewise.
21657 * localedata/locales/anp_IN: Likewise.
21658 * localedata/locales/ar_AE: Likewise.
21659 * localedata/locales/ar_BH: Likewise.
21660 * localedata/locales/ar_DZ: Likewise.
21661 * localedata/locales/ar_EG: Likewise.
21662 * localedata/locales/ar_IN: Likewise.
21663 * localedata/locales/ar_IQ: Likewise.
21664 * localedata/locales/ar_JO: Likewise.
21665 * localedata/locales/ar_KW: Likewise.
21666 * localedata/locales/ar_LB: Likewise.
21667 * localedata/locales/ar_LY: Likewise.
21668 * localedata/locales/ar_MA: Likewise.
21669 * localedata/locales/ar_OM: Likewise.
21670 * localedata/locales/ar_QA: Likewise.
21671 * localedata/locales/ar_SA: Likewise.
21672 * localedata/locales/ar_SD: Likewise.
21673 * localedata/locales/ar_SS: Likewise.
21674 * localedata/locales/ar_SY: Likewise.
21675 * localedata/locales/ar_TN: Likewise.
21676 * localedata/locales/ar_YE: Likewise.
21677 * localedata/locales/as_IN: Likewise.
21678 * localedata/locales/ast_ES: Likewise.
21679 * localedata/locales/ayc_PE: Likewise.
21680 * localedata/locales/az_AZ: Likewise.
21681 * localedata/locales/az_IR: Likewise.
21682 * localedata/locales/be_BY: Likewise.
21683 * localedata/locales/be_BY@latin: Likewise.
21684 * localedata/locales/bem_ZM: Likewise.
21685 * localedata/locales/ber_DZ: Likewise.
21686 * localedata/locales/ber_MA: Likewise.
21687 * localedata/locales/bg_BG: Likewise.
21688 * localedata/locales/bhb_IN: Likewise.
21689 * localedata/locales/bho_IN: Likewise.
21690 * localedata/locales/bi_VU: Likewise.
21691 * localedata/locales/bn_BD: Likewise.
21692 * localedata/locales/bn_IN: Likewise.
21693 * localedata/locales/bo_CN: Likewise.
21694 * localedata/locales/bo_IN: Likewise.
21695 * localedata/locales/br_FR: Likewise.
21696 * localedata/locales/brx_IN: Likewise.
21697 * localedata/locales/bs_BA: Likewise.
21698 * localedata/locales/byn_ER: Likewise.
21699 * localedata/locales/ca_AD: Likewise.
21700 * localedata/locales/ca_ES: Likewise.
21701 * localedata/locales/ca_FR: Likewise.
21702 * localedata/locales/ca_IT: Likewise.
21703 * localedata/locales/ce_RU: Likewise.
21704 * localedata/locales/chr_US: Likewise.
21705 * localedata/locales/cmn_TW: Likewise.
21706 * localedata/locales/crh_UA: Likewise.
21707 * localedata/locales/cs_CZ: Likewise.
21708 * localedata/locales/csb_PL: Likewise.
21709 * localedata/locales/cv_RU: Likewise.
21710 * localedata/locales/cy_GB: Likewise.
21711 * localedata/locales/da_DK: Likewise.
21712 * localedata/locales/de_AT: Likewise.
21713 * localedata/locales/de_BE: Likewise.
21714 * localedata/locales/de_CH: Likewise.
21715 * localedata/locales/de_DE: Likewise.
21716 * localedata/locales/de_IT: Likewise.
21717 * localedata/locales/de_LI: Likewise.
21718 * localedata/locales/de_LU: Likewise.
21719 * localedata/locales/doi_IN: Likewise.
21720 * localedata/locales/dv_MV: Likewise.
21721 * localedata/locales/dz_BT: Likewise.
21722 * localedata/locales/el_CY: Likewise.
21723 * localedata/locales/el_GR: Likewise.
21724 * localedata/locales/en_AG: Likewise.
21725 * localedata/locales/en_AU: Likewise.
21726 * localedata/locales/en_BW: Likewise.
21727 * localedata/locales/en_CA: Likewise.
21728 * localedata/locales/en_DK: Likewise.
21729 * localedata/locales/en_GB: Likewise.
21730 * localedata/locales/en_HK: Likewise.
21731 * localedata/locales/en_IE: Likewise.
21732 * localedata/locales/en_IL: Likewise.
21733 * localedata/locales/en_IN: Likewise.
21734 * localedata/locales/en_NG: Likewise.
21735 * localedata/locales/en_NZ: Likewise.
21736 * localedata/locales/en_PH: Likewise.
21737 * localedata/locales/en_SG: Likewise.
21738 * localedata/locales/en_US: Likewise.
21739 * localedata/locales/en_ZA: Likewise.
21740 * localedata/locales/en_ZM: Likewise.
21741 * localedata/locales/en_ZW: Likewise.
21742 * localedata/locales/eo: Likewise.
21743 * localedata/locales/es_AR: Likewise.
21744 * localedata/locales/es_BO: Likewise.
21745 * localedata/locales/es_CL: Likewise.
21746 * localedata/locales/es_CO: Likewise.
21747 * localedata/locales/es_CR: Likewise.
21748 * localedata/locales/es_CU: Likewise.
21749 * localedata/locales/es_DO: Likewise.
21750 * localedata/locales/es_EC: Likewise.
21751 * localedata/locales/es_ES: Likewise.
21752 * localedata/locales/es_GT: Likewise.
21753 * localedata/locales/es_HN: Likewise.
21754 * localedata/locales/es_MX: Likewise.
21755 * localedata/locales/es_NI: Likewise.
21756 * localedata/locales/es_PA: Likewise.
21757 * localedata/locales/es_PE: Likewise.
21758 * localedata/locales/es_PR: Likewise.
21759 * localedata/locales/es_PY: Likewise.
21760 * localedata/locales/es_SV: Likewise.
21761 * localedata/locales/es_US: Likewise.
21762 * localedata/locales/es_UY: Likewise.
21763 * localedata/locales/es_VE: Likewise.
21764 * localedata/locales/et_EE: Likewise.
21765 * localedata/locales/eu_ES: Likewise.
21766 * localedata/locales/eu_ES@euro: Likewise.
21767 * localedata/locales/fa_IR: Likewise.
21768 * localedata/locales/ff_SN: Likewise.
21769 * localedata/locales/fi_FI: Likewise.
21770 * localedata/locales/fil_PH: Likewise.
21771 * localedata/locales/fo_FO: Likewise.
21772 * localedata/locales/fr_BE: Likewise.
21773 * localedata/locales/fr_CA: Likewise.
21774 * localedata/locales/fr_CH: Likewise.
21775 * localedata/locales/fr_FR: Likewise.
21776 * localedata/locales/fr_LU: Likewise.
21777 * localedata/locales/fur_IT: Likewise.
21778 * localedata/locales/fy_DE: Likewise.
21779 * localedata/locales/fy_NL: Likewise.
21780 * localedata/locales/ga_IE: Likewise.
21781 * localedata/locales/gd_GB: Likewise.
21782 * localedata/locales/gez_ER: Likewise.
21783 * localedata/locales/gez_ET: Likewise.
21784 * localedata/locales/gl_ES: Likewise.
21785 * localedata/locales/gu_IN: Likewise.
21786 * localedata/locales/gv_GB: Likewise.
21787 * localedata/locales/ha_NG: Likewise.
21788 * localedata/locales/hak_TW: Likewise.
21789 * localedata/locales/he_IL: Likewise.
21790 * localedata/locales/hi_IN: Likewise.
21791 * localedata/locales/hif_FJ: Likewise.
21792 * localedata/locales/hne_IN: Likewise.
21793 * localedata/locales/hr_HR: Likewise.
21794 * localedata/locales/hsb_DE: Likewise.
21795 * localedata/locales/ht_HT: Likewise.
21796 * localedata/locales/hu_HU: Likewise.
21797 * localedata/locales/hy_AM: Likewise.
21798 * localedata/locales/i18n: Likewise.
21799 * localedata/locales/ia_FR: Likewise.
21800 * localedata/locales/id_ID: Likewise.
21801 * localedata/locales/ig_NG: Likewise.
21802 * localedata/locales/ik_CA: Likewise.
21803 * localedata/locales/is_IS: Likewise.
21804 * localedata/locales/it_CH: Likewise.
21805 * localedata/locales/it_IT: Likewise.
21806 * localedata/locales/iu_CA: Likewise.
21807 * localedata/locales/ja_JP: Likewise.
21808 * localedata/locales/ka_GE: Likewise.
21809 * localedata/locales/kk_KZ: Likewise.
21810 * localedata/locales/kl_GL: Likewise.
21811 * localedata/locales/kn_IN: Likewise.
21812 * localedata/locales/ko_KR: Likewise.
21813 * localedata/locales/kok_IN: Likewise.
21814 * localedata/locales/ks_IN: Likewise.
21815 * localedata/locales/ks_IN@devanagari: Likewise.
21816 * localedata/locales/ku_TR: Likewise.
21817 * localedata/locales/kw_GB: Likewise.
21818 * localedata/locales/ky_KG: Likewise.
21819 * localedata/locales/lb_LU: Likewise.
21820 * localedata/locales/lg_UG: Likewise.
21821 * localedata/locales/li_BE: Likewise.
21822 * localedata/locales/li_NL: Likewise.
21823 * localedata/locales/lij_IT: Likewise.
21824 * localedata/locales/ln_CD: Likewise.
21825 * localedata/locales/lo_LA: Likewise.
21826 * localedata/locales/lt_LT: Likewise.
21827 * localedata/locales/lv_LV: Likewise.
21828 * localedata/locales/lzh_TW: Likewise.
21829 * localedata/locales/mag_IN: Likewise.
21830 * localedata/locales/mai_IN: Likewise.
21831 * localedata/locales/mg_MG: Likewise.
21832 * localedata/locales/mhr_RU: Likewise.
21833 * localedata/locales/mi_NZ: Likewise.
21834 * localedata/locales/mk_MK: Likewise.
21835 * localedata/locales/ml_IN: Likewise.
21836 * localedata/locales/mn_MN: Likewise.
21837 * localedata/locales/mni_IN: Likewise.
21838 * localedata/locales/mr_IN: Likewise.
21839 * localedata/locales/ms_MY: Likewise.
21840 * localedata/locales/mt_MT: Likewise.
21841 * localedata/locales/my_MM: Likewise.
21842 * localedata/locales/nan_TW: Likewise.
21843 * localedata/locales/nan_TW@latin: Likewise.
21844 * localedata/locales/nb_NO: Likewise.
21845 * localedata/locales/nds_DE: Likewise.
21846 * localedata/locales/nds_NL: Likewise.
21847 * localedata/locales/ne_NP: Likewise.
21848 * localedata/locales/nhn_MX: Likewise.
21849 * localedata/locales/niu_NU: Likewise.
21850 * localedata/locales/niu_NZ: Likewise.
21851 * localedata/locales/nl_AW: Likewise.
21852 * localedata/locales/nl_BE: Likewise.
21853 * localedata/locales/nl_NL: Likewise.
21854 * localedata/locales/nn_NO: Likewise.
21855 * localedata/locales/nr_ZA: Likewise.
21856 * localedata/locales/nso_ZA: Likewise.
21857 * localedata/locales/oc_FR: Likewise.
21858 * localedata/locales/om_ET: Likewise.
21859 * localedata/locales/om_KE: Likewise.
21860 * localedata/locales/or_IN: Likewise.
21861 * localedata/locales/os_RU: Likewise.
21862 * localedata/locales/pa_IN: Likewise.
21863 * localedata/locales/pa_PK: Likewise.
21864 * localedata/locales/pap_AW: Likewise.
21865 * localedata/locales/pap_CW: Likewise.
21866 * localedata/locales/pl_PL: Likewise.
21867 * localedata/locales/ps_AF: Likewise.
21868 * localedata/locales/pt_BR: Likewise.
21869 * localedata/locales/pt_PT: Likewise.
21870 * localedata/locales/quz_PE: Likewise.
21871 * localedata/locales/raj_IN: Likewise.
21872 * localedata/locales/ro_RO: Likewise.
21873 * localedata/locales/ru_RU: Likewise.
21874 * localedata/locales/ru_UA: Likewise.
21875 * localedata/locales/rw_RW: Likewise.
21876 * localedata/locales/sa_IN: Likewise.
21877 * localedata/locales/sat_IN: Likewise.
21878 * localedata/locales/sc_IT: Likewise.
21879 * localedata/locales/sd_IN: Likewise.
21880 * localedata/locales/sd_IN@devanagari: Likewise.
21881 * localedata/locales/se_NO: Likewise.
21882 * localedata/locales/sgs_LT: Likewise.
21883 * localedata/locales/shs_CA: Likewise.
21884 * localedata/locales/si_LK: Likewise.
21885 * localedata/locales/sid_ET: Likewise.
21886 * localedata/locales/sk_SK: Likewise.
21887 * localedata/locales/sl_SI: Likewise.
21888 * localedata/locales/sm_WS: Likewise.
21889 * localedata/locales/so_DJ: Likewise.
21890 * localedata/locales/so_ET: Likewise.
21891 * localedata/locales/so_KE: Likewise.
21892 * localedata/locales/so_SO: Likewise.
21893 * localedata/locales/sq_AL: Likewise.
21894 * localedata/locales/sq_MK: Likewise.
21895 * localedata/locales/sr_ME: Likewise.
21896 * localedata/locales/sr_RS: Likewise.
21897 * localedata/locales/sr_RS@latin: Likewise.
21898 * localedata/locales/ss_ZA: Likewise.
21899 * localedata/locales/st_ZA: Likewise.
21900 * localedata/locales/sv_FI: Likewise.
21901 * localedata/locales/sv_SE: Likewise.
21902 * localedata/locales/sw_KE: Likewise.
21903 * localedata/locales/sw_TZ: Likewise.
21904 * localedata/locales/szl_PL: Likewise.
21905 * localedata/locales/ta_IN: Likewise.
21906 * localedata/locales/ta_LK: Likewise.
21907 * localedata/locales/tcy_IN: Likewise.
21908 * localedata/locales/te_IN: Likewise.
21909 * localedata/locales/tg_TJ: Likewise.
21910 * localedata/locales/th_TH: Likewise.
21911 * localedata/locales/the_NP: Likewise.
21912 * localedata/locales/ti_ER: Likewise.
21913 * localedata/locales/ti_ET: Likewise.
21914 * localedata/locales/tig_ER: Likewise.
21915 * localedata/locales/tk_TM: Likewise.
21916 * localedata/locales/tl_PH: Likewise.
21917 * localedata/locales/tn_ZA: Likewise.
21918 * localedata/locales/to_TO: Likewise.
21919 * localedata/locales/tpi_PG: Likewise.
21920 * localedata/locales/tr_CY: Likewise.
21921 * localedata/locales/tr_TR: Likewise.
21922 * localedata/locales/ts_ZA: Likewise.
21923 * localedata/locales/tt_RU: Likewise.
21924 * localedata/locales/tt_RU@iqtelif: Likewise.
21925 * localedata/locales/ug_CN: Likewise.
21926 * localedata/locales/uk_UA: Likewise.
21927 * localedata/locales/unm_US: Likewise.
21928 * localedata/locales/ur_IN: Likewise.
21929 * localedata/locales/ur_PK: Likewise.
21930 * localedata/locales/uz_UZ: Likewise.
21931 * localedata/locales/uz_UZ@cyrillic: Likewise.
21932 * localedata/locales/ve_ZA: Likewise.
21933 * localedata/locales/vi_VN: Likewise.
21934 * localedata/locales/wa_BE: Likewise.
21935 * localedata/locales/wae_CH: Likewise.
21936 * localedata/locales/wal_ET: Likewise.
21937 * localedata/locales/wo_SN: Likewise.
21938 * localedata/locales/xh_ZA: Likewise.
21939 * localedata/locales/yi_US: Likewise.
21940 * localedata/locales/yo_NG: Likewise.
21941 * localedata/locales/yue_HK: Likewise.
21942 * localedata/locales/yuw_PG: Likewise.
21943 * localedata/locales/zh_CN: Likewise.
21944 * localedata/locales/zh_HK: Likewise.
21945 * localedata/locales/zh_SG: Likewise.
21946 * localedata/locales/zh_TW: Likewise.
21947 * localedata/locales/zu_ZA: Likewise.
21948
21949 2017-11-13 Florian Weimer <fweimer@redhat.com>
21950
21951 * support/next_to_fault.h, support/next_to_fault.c: New files.
21952 * support/Makefile (libsupport-routines): Add next_to_fault.
21953 * resolv/tst-inet_pton.c (struct next_to_fault)
21954 (next_to_fault_allocate, next_to_fault_free): Remove.
21955 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21956
21957 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21958
21959 * elf/dl-support.c: Include <dl-procruntime.c>.
21960 * include/link.h: Include <link_map.h>.
21961 * sysdeps/generic/dl-procruntime.c: New file.
21962 * sysdeps/generic/link_map.h: Likewise.
21963 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21964 the writable ld.so namespace.
21965
21966 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21967
21968 timezone: pacify GCC -Wstringop-truncation
21969 Problem reported by Martin Sebor in:
21970 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21971 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21972
21973 2017-11-12 Florian Weimer <fweimer@redhat.com>
21974
21975 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21976 tst-xreadlink.
21977 (tests): Add tst-xreadlink.
21978 * support/support.h (xstrndup): Declare.
21979 * support/xunistd.h (xunlink, xreadlink): Declare.
21980 * support/temp_file.h (support_create_temp_directory): Declare.
21981 * support/temp_file.c (support_create_temp_directory): New function.
21982 * support/support_chroot.c (support_chroot_create): Use it.
21983 * support/xreadlink.c: New file.
21984 * support/xstrndup.c: Likewise.
21985 * support/xunlink.c: Likewise.
21986 * support/tst-xreadlink.c: Likewise.
21987
21988 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21989
21990 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21991
21992 2017-11-11 Florian Weimer <fweimer@redhat.com>
21993
21994 [BZ #22409]
21995 [BZ #22412]
21996 * resolv/res_comp.c (printable_string, binary_hnok)
21997 (binary_leading_dash): New functions.
21998 (res_hnok): Reimplement using these functions and ns_name_pton.
21999 (res_ownok): Likewise.
22000 (res_mailok): Reimplement using printable_string, ns_name_pton and
22001 binary_hnok.
22002 (res_dnok): Reimplement using printable_string and ns_name_pton.
22003 * resolv/tst-res_hnok.c (tests): Add additional tests.
22004 (LETTERDIGITS, PRINTABLE): Define.
22005 (do_test): Adjust one_char results.
22006
22007 2017-11-11 Florian Weimer <fweimer@redhat.com>
22008
22009 [BZ #22413]
22010 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22011 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22012
22013 2017-11-11 Florian Weimer <fweimer@redhat.com>
22014
22015 * resolv/tst-ns_name_pton.c: New file.
22016 * resolv/Makefile (tests): Add tst-ns_name_pton.
22017 (tst-ns_name_pton): Link against libresolv.
22018
22019 2017-11-11 Florian Weimer <fweimer@redhat.com>
22020
22021 * resolv/tst-res_hnok.c: New file.
22022 * resolv/Makefile (tests): Add tst-res_hnok.
22023 (tst-res_hnok): Link against libresolv.
22024
22025 2017-11-11 Florian Weimer <fweimer@redhat.com>
22026
22027 * resolv/tst-resolv-network.c: Use test framework instead explicit
22028 main function.
22029
22030 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22031
22032 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22033 <jmp_buf-macros.h>.
22034 [!_ISOMAC] (STR_HELPER): New.
22035 [!_ISOMAC] (STR): Likewise.
22036 [!_ISOMAC] (TEST_SIZE): Likewise.
22037 [!_ISOMAC] (TEST_ALIGN): Likewise.
22038 [!_ISOMAC] (TEST_OFFSET): Likewise.
22039 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22040 field offsets of jmp_buf as well as sigjmp_buf.
22041 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22042 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22043 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22044 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22045 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22046 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22047 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22048 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22049 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22050 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22051 Likewise.
22052 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22053 Likewise.
22054 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22056 Likewise.
22057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22058 Likewise.
22059 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22060 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22061 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22062 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22063 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22065 Likewise.
22066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22067 Likewise.
22068 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22069 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22070 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22071
22072 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22073
22074 * include/float.h
22075 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22076 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22077 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22078 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22079 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22080 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22081 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22082 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22083 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22084 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22085 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22086 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22087 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22088 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22089 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22090 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22091 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22092 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22093 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22094 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22095 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22096 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22097 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22098 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22099 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22100 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22101 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22102 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22103 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22104 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22105 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22106 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22107 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22108 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22109 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22110 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22111 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22112 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22113 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22114 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22115 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22116 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22117 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22118 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22119 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22120 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22121 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22122 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22123 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22124 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22125 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22126 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22127 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22128 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22129 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22130 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22131 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22132 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22133 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22134 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22135 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22136 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22137 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22138 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22139 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22140 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22141 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22142 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22143 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22144 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22145 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22146 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22147 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22148 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22149 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22150 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22151 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22152 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22153 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22154 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22155 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22156 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22157 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22158 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22159 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22160 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22161 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22162 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22163
22164 * stdlib/tst-strtod.h (F16): New macro.
22165 (F32): Likewise.
22166 (F64): Likewise.
22167 (F32X): Likewise.
22168 (F64X): Likewise.
22169 (F128X): Likewise.
22170 (IF_FLOAT16): Likewise.
22171 (IF_FLOAT32): Likewise.
22172 (IF_FLOAT64): Likewise.
22173 (IF_FLOAT32X): Likewise.
22174 (IF_FLOAT64X): Likewise.
22175 (IF_FLOAT128X): Likewise.
22176 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22177 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22178 (STRTOD_TEST_FOREACH): Likewise.
22179 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22180 (CHOOSE_f64): Likewise.
22181 (CHOOSE_f32x): Likewise.
22182 (CHOOSE_f64x): Likewise.
22183
22184 2017-11-07 Andreas Schwab <schwab@suse.de>
22185
22186 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22187
22188 2017-11-07 Mike FABIAN <mfabian@redhat.com>
22189
22190 [BZ #22403]
22191 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22192 to be escaped.
22193 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22194 to be escaped.
22195
22196 2017-11-07 Claude Paroz <claude@2xlibre.net>
22197
22198 [BZ #22403]
22199 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22200 to be escaped.
22201 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22202 to be escaped.
22203 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22204 to be escaped.
22205
22206 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22207
22208 [BZ #22298]
22209 * nptl/allocatestack.c (allocate_stack): Check if
22210 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22211 __PTHREAD_MUTEX_HAVE_PREV is defined.
22212 * nptl/descr.h (pthread): Likewise.
22213 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22214 Likewise.
22215 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22216 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22217 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22218 * sysdeps/nptl/bits/thread-shared-types.h
22219 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22220 defines.
22221 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22222 of __WORDSIZE for internal layout.
22223 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22224 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22225 instead of __WORDSIZE whether to use an union for __spins and __list
22226 fields.
22227 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22228 case.
22229 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22230 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22231 defines.
22232 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22233 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22234 Likewise.
22235 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22236 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22237 Likewise.
22238 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22239 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22240 Likewise.
22241 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22242 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22243 Likewise.
22244 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22245 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22246 Likewise.
22247 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22248 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22249 Likewise.
22250 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22251 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22252 Likewise.
22253 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22254 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22255 Likewise.
22256 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22257 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22258 Likewise.
22259 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22260 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22261 Likewise.
22262 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22263 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22264 Likewise.
22265 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22266 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22267 Likewise.
22268 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22269 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22270 Likewise.
22271 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22272 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22273 Likewise.
22274
22275 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22276 New macros.
22277 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22278 checks for expected input type size.
22279 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22280 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22281 Likewise.
22282 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22283 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22284 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22285 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22286 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22287 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22288 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22289 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22290 superflous runtime assert check.
22291 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22292 Likewise.
22293 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22294 Likewise.
22295 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22296 Likewise.
22297 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22298 Likewise.
22299 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22300 Likewise.
22301 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22302 Likewise.
22303 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22304 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22305 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22306 Likewise.
22307 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22308 Likewise.
22309 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22310 Likewise.
22311 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22312 Likewise.
22313 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22314 Likewise.
22315 * nptl/pthread_attr_setinheritsched.c
22316 (__pthread_attr_setinheritsched): Likewise.
22317 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22318 Likewise.
22319 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22320 Likewise.
22321 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22322 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22323 __old_pthread_attr_setstack): Likewise.
22324 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22325 Likewise.
22326 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22327 Likewise.
22328 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22329 Likewise.
22330 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22331 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22332 Likewise.
22333 * nptl/tst-typesizes.c: Remove file.
22334
22335 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22336 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22337 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22338 checks for internal pthread_mutex_t offsets.
22339 * sysdeps/aarch64/nptl/pthread-offsets.h
22340 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22341 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22342 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22343 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22344 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22345 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22346 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22347 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22348 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22349 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22350 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22351 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22352 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22353 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22354 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22355 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22356 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22357 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22358
22359 2017-11-07 Florian Weimer <fweimer@redhat.com>
22360
22361 * bits/mman-linux.h: Move ...
22362 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22363 comment.
22364 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22365 outdated comment.
22366
22367 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22368
22369 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22370 Redefine STRNLEN as __strnlen_power8.
22371
22372 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22373
22374 * signal/sighold.c (sighold): Optimize implementation.
22375
22376 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22377 __NR_rt_sigqueueinfo.
22378
22379 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22380 __sigtimedwait.
22381 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22382 assume __NR_rt_sigtimedwait.
22383 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22384 and add LIBC_CANCEL_HANDLED for cancellation marking.
22385 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22386
22387 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22388 (sysdeps_routines): Add memchr_noneon.
22389 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22390 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22391 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22392 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22393 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22394 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22395 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22396
22397 * sysdeps/arm/arm-ifunc.h: New file.
22398 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22399 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22400 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22401 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22402 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22403 (__memcpy_neon): Avoid create hidden alias.
22404 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22405 (__memcpy_vfp): Likewise.
22406 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22407 (sysdep_routines): Add memcpy_arm.
22408 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22409
22410 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22411
22412 [BZ #22362]
22413 * Makerules (make-link-multidir): New.
22414 * config.make.in (multidir): New.
22415 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22416 * configure: Regenerated.
22417 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22418 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22419 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22420 New target.
22421
22422 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22423
22424 [BZ #22402]
22425 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22426 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22427
22428 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22429
22430 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22431 to be escaped.
22432
22433 2017-11-04 Florian Weimer <fweimer@redhat.com>
22434
22435 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22436
22437 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22438
22439 * math/math.h [__HAVE_DISTINCT_FLOAT16
22440 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22441 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22442 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22443 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22444 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22445 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22446 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22447 (__MATH_TG_F32): New macro.
22448 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22449 (__MATH_TG_F64X): Likewise.
22450 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22451 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22452
22453 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22454
22455 * po/de.po: Update translations.
22456 * po/ru.po: Likewise.
22457
22458 2017-11-03 Florian Weimer <fweimer@redhat.com>
22459
22460 * manual/filesys.texi (Hard Links): Document linkat.
22461
22462 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22463
22464 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22465 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22466 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22467 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22468 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22469 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22470 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22471 the same as _Float128.
22472 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22473 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22474 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22475
22476 * stdlib/stdlib.h
22477 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22478 Declare.
22479 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22480 Likewise.
22481 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22482 Likewise.
22483 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22484 (strtof32x): Likewise.
22485 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22486 (strtof64x): Likewise.
22487 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22488 (strtof128x): Likewise.
22489 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22490 (strfromf16): Likewise.
22491 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22492 (strfromf32): Likewise.
22493 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22494 (strfromf64): Likewise.
22495 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22496 (strfromf32x): Likewise.
22497 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22498 (strfromf64x): Likewise.
22499 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22500 (strfromf128x): Likewise.
22501 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22502 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22503 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22504 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22505 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22506 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22507
22508 2017-11-03 Richard Henderson <rth@twiddle.net>
22509
22510 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22511
22512 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22513
22514 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22515
22516 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22517
22518 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22519 DT_TLSDESC_GOT initialization.
22520 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22521 (_dl_tlsdesc_resolve_hold): Likewise.
22522 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22523 (_dl_tlsdesc_resolve_hold): Likewise.
22524 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22525 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22526
22527 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22528
22529 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22530
22531 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22532
22533 [BZ #18572]
22534 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22535 non-lazily for R_ARM_TLS_DESC.
22536
22537 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22538
22539 [BZ #17078]
22540 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22541 R_ARM_TLS_DESC case.
22542 (elf_machine_lazy_rel): Remove the prelink check.
22543
22544 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22545
22546 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22547 DT_TLSDESC_GOT initialization.
22548 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22549 (_dl_tlsdesc_resolve_rela): Likewise.
22550 (_dl_tlsdesc_resolve_hold): Likewise.
22551 (_dl_tlsdesc_undefweak): Remove ldar.
22552 (_dl_tlsdesc_dynamic): Likewise.
22553 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22554 (_dl_tlsdesc_resolve_rela): Likewise.
22555 (_dl_tlsdesc_resolve_hold): Likewise.
22556 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22557 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22558 (_dl_tlsdesc_resolve_rela): Likewise.
22559 (_dl_tlsdesc_resolve_hold): Likewise.
22560
22561 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22562
22563 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22564 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22565
22566 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22567
22568 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22569 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22570
22571 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22572
22573 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22574 Declare.
22575 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22576 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22577 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22578 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22579 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22580 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22581 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22582 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22583 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22584 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22585 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22586
22587 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22588
22589 [BZ #22382]
22590 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22591 * localedata/locales/tpi_PG: Add standard header.
22592
22593 2017-11-02 Florian Weimer <fweimer@redhat.com>
22594
22595 test-errno-linux: quotactl can fail with EPERM in containers.
22596 * sysdeps/unix/sysv/linux/test-errno-linux.c
22597 (LIST, LIST_FORWARD): New macros.
22598 (check_error_in_list): New function.
22599 (test_wrp_rv): Accept list of permitted error codes.
22600 (test_wrp_rv2): Remove.
22601 (test_wrp): Call test_wrp_rv with list of error codes.
22602 (test_wrp2): Accept list of error codes.
22603 (do_test): Adjust. Allow EPERM for quotactl.
22604
22605 2017-11-02 Florian Weimer <fweimer@redhat.com>
22606
22607 * stdio-common/bug16.c (do_test): Use array_length.
22608 * stdio-common/errlist.c (_sys_nerr): Likewise.
22609 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22610 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22611 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22612 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22613 (do_test): Use array_length.
22614 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22615 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22616 * stdio-common/tst-printf-round.c (do_test): Likewise.
22617 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22618 (CHECK): Use array_length.
22619 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22620 * stdio-common/tstscanf.c (main): Likewise.
22621 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22622
22623 2017-11-02 Florian Weimer <fweimer@redhat.com>
22624
22625 Add array_length and array_end macros.
22626 * include/array_length.h: New file.
22627
22628 2017-11-02 Florian Weimer <fweimer@redhat.com>
22629
22630 [BZ #22332]
22631 * posix/tst-glob-tilde.c (do_noescape): New variable.
22632 (one_test): Process it.
22633 (do_test): Set do_noescape. Add unescaping test case.
22634
22635 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22636
22637 * math/complex.h
22638 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22639 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22640 with appropriate macros defined and undefined.
22641 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22642 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22643 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22644 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22645 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22646 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22647 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22648 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22649 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22650 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22651
22652 * math/complex.h
22653 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22654 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22655 that for long double. Do not condition define and undefine of
22656 _Mdouble_complex_ on [__CFLOAT128].
22657
22658 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22659
22660 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22661 of <sysdeps/generic/sysdep.h>.
22662 (ALIGNARG): Removed.
22663 (ASM_SIZE_DIRECTIVE): Likewise.
22664 (ENTRY): Likewise.
22665 (END): Likewise.
22666 (ENTRY_CHK): Likewise.
22667 (END_CHK): Likewise.
22668 (syscall_error): Likewise.
22669 (mcount): Likewise.
22670 (PSEUDO_END): Likewise.
22671 (L): Likewise.
22672 (atom_text_section): Likewise.
22673 * sysdeps/x86/sysdep.h: New file.
22674 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22675 of <sysdeps/generic/sysdep.h>.
22676 (ALIGNARG): Removed.
22677 (ASM_SIZE_DIRECTIVE): Likewise.
22678 (ENTRY): Likewise.
22679 (END): Likewise.
22680 (ENTRY_CHK): Likewise.
22681 (END_CHK): Likewise.
22682 (syscall_error): Likewise.
22683 (mcount): Likewise.
22684 (PSEUDO_END): Likewise.
22685 (L): Likewise.
22686 (atom_text_section): Likewise.
22687
22688 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22689
22690 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22691 category of LC_CTYPE set to "i18n:2012".
22692 * localedata/locales/i18n_ctype: Regenerate.
22693
22694 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22695
22696 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22697 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22698 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22699 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22700
22701 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22702 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22703 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22704 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22705
22706 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22707
22708 * math/complex.h
22709 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22710 New macro.
22711 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22712 Likewise.
22713 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22714 Likewise.
22715 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22716 (CMPLXF32X): Likewise.
22717 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22718 (CMPLXF64X): Likewise.
22719 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22720 (CMPLXF128X): Likewise.
22721
22722 * math/math.h
22723 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22724 (__MATH_EVAL_FMT2): Define to add 0.0f.
22725
22726 2017-10-31 Alan Modra <amodra@gmail.com>
22727
22728 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22729 include sysdep.h.
22730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22744 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22745 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22746 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22747 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22748 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22749 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22750 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22751 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22752 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22753 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22754 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22755 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22756 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22757 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22758 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22759 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22760 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22761 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22762 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22763 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22764 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22765 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22766 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22767 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22768 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22769 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22770 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22771 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22772 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22773 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22774 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22775 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22776 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22777 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22778 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22779 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22780 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22781 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22782 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22783 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22784 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22785 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22786 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22787 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22788 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22789 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22790 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22791 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22792 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22793 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22794 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22795 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22796 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22797 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22798 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22799
22800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22801 include sysdep.h and math_ldbl_opt.h.
22802
22803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22804 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22829
22830 2017-10-31 Alan Modra <amodra@gmail.com>
22831
22832 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22833 string/strncase_l.c, not string/strncase.c.
22834 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22835 (libc_hidden_def): Redefine.
22836
22837 2017-10-31 Alan Modra <amodra@gmail.com>
22838
22839 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22840 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22841 (__strcasecmp): Don't define.
22842
22843 2017-10-31 Alan Modra <amodra@gmail.com>
22844
22845 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22846 IS_IN (libc).
22847 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22848 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22849 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22850
22851 2017-10-31 Alan Modra <amodra@gmail.com>
22852
22853 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22854 USE_AS_STPNCPY.
22855
22856 2017-10-31 Alan Modra <amodra@gmail.com>
22857
22858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22859 Redefine only when SHARED.
22860
22861 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22862
22863 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22864 Include <bits/math-finite.h> with appropriate macros defined and
22865 undefined.
22866 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22867 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22868 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22869 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22870 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22871
22872 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22873 [!_Mlong_double_] (_Mlong_double_): Likewise.
22874 [!_Mfloat16_] (_Mfloat16_): Likewise.
22875 [!_Mfloat32_] (_Mfloat32_): Likewise.
22876 [!_Mfloat64_] (_Mfloat64_): Likewise.
22877 [!_Mfloat128_] (_Mfloat128_): Likewise.
22878 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22879 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22880 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22881 (_Mdouble_): Define without indirection through those macros.
22882 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22883 [!_Mfloat128_] (_Mfloat128_): Likewise.
22884 [_Mlong_double_] (_Mlong_double_): Likewise.
22885 (_Mdouble_): Define without indirection through those macros.
22886 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22887 not add -D_Mlong_double_=double.
22888 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22889 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22890
22891 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22892
22893 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22894
22895 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22896
22897 * sysdeps/x86/libc-start.c: Reformat.
22898
22899 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22900
22901 [BZ #22353]
22902 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22903 (1): Renamed to ...
22904 (L(Src0)): This.
22905 (L(Src1)): New.
22906 (L(Src2)): Likewise.
22907 (L(1)): Renamed to ...
22908 (L(Src3)): This.
22909
22910 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22911
22912 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22913 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22914 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22915 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22916 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22917 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22918 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22919 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22920 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22921 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22922 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22923 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22924 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22925 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22926 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22927 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22928 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22929 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22930 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22931 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22932 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22933 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22934 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22935 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22936 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22937 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22938 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22939 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22940 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22941 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22942 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22943 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22944 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22945 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22946 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22947 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22948 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22949 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22950 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22951 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22952 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22953 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22954 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22955 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22956 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22957 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22958 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22959 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22960 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22961 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22962 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22963 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22964 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22965 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22966 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22967 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22968 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22969 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22970 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22971 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22972 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22973 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22974 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22975 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22976 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22977 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22978
22979 2017-10-30 Florian Weimer <fweimer@redhat.com>
22980
22981 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22982 always defined.
22983 * io/tst-mkdirat.c (do_test): Likewise.
22984 * io/tst-mkfifoat.c (do_test): Likewise.
22985 * io/tst-mknodat.c (do_test): Likewise.
22986 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22987 * locale/programs/locale.c (select_dirs): Likewise.
22988 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22989 * posix/bug-glob2.c (my_readdir): Likewise.
22990 * posix/tst-dir.c (main): Likewise.
22991 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22992 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22993
22994 2017-10-30 Florian Weimer <fweimer@redhat.com>
22995
22996 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22997 just __USE_GNU.
22998
22999 2017-10-30 Florian Weimer <fweimer@redhat.com>
23000
23001 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23002 Convert to support/test-driver.c.
23003 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23004 New macro parameters.
23005 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23006 * posix/tst-gnuglob.c: New file.
23007 * posix/tst-gnuglob64.c: Likewise.
23008 * posix/Makefile (tests): Add tst-gnuglob64.
23009
23010 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
23011
23012 [BZ #19485]
23013 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23014 and use a better translation for March in “mon”.
23015 * localedata/locales/csb_PL: Use more ASCII to improve the
23016 readability of the source.
23017
23018 2017-10-30 Mike FABIAN <mfabian@redhat.com>
23019
23020 [BZ #13953]
23021 * localedata/locales/km_KH: Use ASCII as much
23022 as possible for better readability of the source and
23023 remove useless comments.
23024 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23025 was commented out and apparently wrong anyway because it was
23026 using Lao characters. If Buddhist era should be used
23027 for km_KH, a native speaker should write the correct formaat
23028 for Khmer.
23029 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23030 (According to CLDR, the first weekday for Cambodia is Sunday).
23031 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23032 (These were using Lao characters which must be wrong. If we get
23033 the correct data from a native speaker, we could add it back, until
23034 then it is better not to have name_mr and name_mrs at all than
23035 having it wrong).
23036
23037 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23038
23039 * locale/loadlocale.c: Correct size of
23040 _nl_value_type_LC_<category> arrays.
23041
23042 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23043
23044 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23045 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23046 with appropriate macros defined and undefined.
23047 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23048 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23049 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23050 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23051 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23052
23053 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23054
23055 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23056 "-O2 -march=i586".
23057
23058 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23059
23060 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23061 with lowercase letters to make it agree with CLDR.
23062
23063 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23064
23065 [BZ #15260]
23066 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23067 first letters of yesstr and nostr in yesexpr and noexpr,
23068 not for the full words.
23069 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23070 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23071 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23072 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23073 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23074 first letters of yesstr and nostr in yesexpr and noexpr,
23075 until now only English was matched in yesexpr and noexpr.
23076 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23077 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23078 fil but not for tl. As tl and fil are very similar, using fil
23079 is probably better than using English.
23080
23081 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23082
23083 [BZ #21706]
23084 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23085 in yesstr and nostr.
23086
23087 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23088
23089 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23090 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23091 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23092 Likewise.
23093 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23094 Likewise.
23095 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23096 Likewise.
23097 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23098 Likewise.
23099 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23100 (SNANF128X): Likewise.
23101
23102 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23103 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23104 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23105 (HUGE_VAL_F32): Likewise.
23106 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23107 (HUGE_VAL_F64): Likewise.
23108 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23109 (HUGE_VAL_F32X): Likewise.
23110 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23111 (HUGE_VAL_F64X): Likewise.
23112 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23113 (HUGE_VAL_F128X): Likewise.
23114
23115 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23116
23117 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23118 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23119 for the br_FR locale.
23120
23121 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23122
23123 [BZ #21706]
23124 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23125
23126 2017-10-25 Carlos O'Donell <carlos@redhat.com>
23127
23128 * locale/programs/record-status.h: Define globals, and function
23129 prototypes. Move function bodies...
23130 * locale/programs/record-status.c: ... to here. New file.
23131 * iconv/Makefile (iconv_prog-modules): Add record-status.
23132 * locale/Makefile (lib-modules): Likewise.
23133 * iconv/iconv_prog.c: Remove verbose.
23134 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23135 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23136 record a warning about ASCII compatibility.
23137 * locale/programs/ld-monetary.c (monetary_finish): If
23138 warn_int_curr_symbol is true then record a warning about the symbol
23139 not being in our ISO 4217 list.
23140 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23141 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23142 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23143 (OPT_NO_WARN): Define.
23144 (OPT_WARN): Define.
23145 (options): Add entry for --no-warnings, and --warnings.
23146 (set_warnings): New function to enable/disable warnings.
23147 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23148 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23149 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23150 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23151 Pass flags to generate_locale.
23152 (generate_locale): Accept new flag argument and pass it to localedef
23153 invocation.
23154 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23155 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23156
23157 * localedata/Makefile (test-input-data): Use full file name.
23158 * localedata/da_DK.in: Rename to...
23159 * localedata/da_DK.ISO-8859-1.in: ...this.
23160 * localedata/de_DE.in: Rename to...
23161 * localedata/de_DE.ISO-8859-1.in: ...this.
23162 * localedata/en_US.in: Rename to...
23163 * localedata/en_US.ISO-8859-1.in: ...this.
23164 * localedata/fr_FR.in: Rename to...
23165 * localedata/fr_FR.UTF-8.in: ... this.
23166 * localedata/hr_HR.in: Rename to...
23167 * localedata/hr_HR.ISO-8859-2.in: ...this.
23168 * localedata/hu_HU.in: Rename to...
23169 * localedata/hu_HU.UTF-8.in: ...this.
23170 * localedata/si_LK.in: Rename to...
23171 * localedata/si_LK.UTF-8.in: ...this.
23172 * localedata/sv_SE.in: Rename to...
23173 * localedata/sv_SE.ISO-8859-1.in: ...this.
23174 * localedata/tr_TR.in: Rename to...
23175 * localedata/tr_TR.UTF-8.in: ...this.
23176 * localedata/uk_UA.in: Rename to...
23177 * localedata/uk_UA.UTF-8.in: ...this.
23178 * localedata/sort-test.sh: Test file is locale name with the
23179 suffix.
23180
23181 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23182 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23183 file.
23184 * localedata/locales/i18n_ctype: Regenerate.
23185 * localedata/locales/tr_TR: Likewise.
23186 * localedata/locales/translit_circle: Likewise.
23187 * localedata/locales/translit_cjk_compat: Likewise.
23188 * localedata/locales/translit_combining: Likewise.
23189 * localedata/locales/translit_compat: Likewise.
23190 * localedata/locales/translit_font: Likewise.
23191 * localedata/locales/translit_fraction: Likewise.
23192
23193 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23194
23195 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23196 lxvd2x/stxvd2x with lvx/stvx.
23197 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23198
23199 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23200
23201 * include/alloc_buffer.h: Replace "if if " with "if " in
23202 comments.
23203 * sysdeps/mips/memcpy.S: Likkewise.
23204 * sysdeps/mips/memset.S: Likewise.
23205 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23206 Likewise.
23207 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23208 Likewise.
23209 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23210 Likewise.
23211
23212 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23213
23214 [BZ #15261]
23215 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23216 yesexpr and noexpr.
23217 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23218 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23219 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23220 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23221 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23222 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23223 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23224
23225 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23226
23227 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23228 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23229 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23230 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23231 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23232 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23233 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23234 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23235 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23236 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23237 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23238 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23239
23240 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23241
23242 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23243 as possible for better readability of the source.
23244 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23245 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23246 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23247 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23248 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23249 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23250 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23251 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23252 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23253 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23254 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23255 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23256 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23257 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23258 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23259 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23260 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23261 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23262 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23263 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23264 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23265 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23266 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23267 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23268 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23269 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23270 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23271 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23272 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23273 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23274 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23275 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23276 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23277 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23278 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23279 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23280 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23281 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23282 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23283 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23284 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23285 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23286 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23287 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23288 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23289 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23290 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23291 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23292 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23293 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23294 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23295 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23296 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23297 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23298 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23299 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23300 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23301 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23302 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23303 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23304 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23305 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23306 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23307 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23308 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23309 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23310 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23311 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23312 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23313 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23314 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23315 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23316 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23317 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23318 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23319 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23320 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23321 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23322 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23323 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23324 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23325 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23326 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23327 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23328 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23329 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23330 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23331 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23332 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23333 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23334 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23335 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23336 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23337 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23338 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23339 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23340 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23341 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23342 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23343 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23344 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23345 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23346 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23347 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23348 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23349 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23350 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23351 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23352 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23353 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23354 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23355 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23356 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23357 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23358 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23359 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23360 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23361 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23362 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23363 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23364 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23365 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23366 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23367 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23368 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23369 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23370 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23371 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23372 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23373 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23374 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23375 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23376 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23377 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23378 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23379 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23380 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23381 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23382 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23383 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23384 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23385 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23386 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23387 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23388 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23389 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23390 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23391 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23392 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23393 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23394 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23395 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23396 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23397 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23398 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23399 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23400 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23401 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23402 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23403 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23404 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23405 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23406 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23407 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23408 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23409 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23410 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23411 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23412 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23413 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23414 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23415 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23416 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23417 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23418
23419 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23420
23421 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23422 (Use first letters of yesstr and nostr correctly instead of using
23423 full words).
23424
23425 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23426
23427 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23428 (Use first letters of yesstr and nostr correctly).
23429
23430 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23431
23432 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23433 also check for the first characters of yesstr and nostr.
23434 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23435 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23436
23437 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23438
23439 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23440 also check for Chinese characters.
23441
23442 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23443
23444 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23445 match also for the contents of yesstr and nostr. As the first letter
23446 of yesstr and nostr is equal, checking only for the first letter
23447 is not enough.
23448
23449 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23450
23451 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23452 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23453
23454 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23455
23456 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23457 of main contributor.
23458
23459 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23460
23461 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23462 instead of using English.
23463
23464 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23465
23466 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23467 by including the first letters of nostr and yesexpr in the regexp.
23468 Also make it more readable by using ASCII where possible.
23469
23470 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23471
23472 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23473 the first letter of nostr in the regexp. It agrees with CLDR now.
23474 Also make it more readable by using ASCII where possible.
23475
23476 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23477
23478 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23479 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23480 these strings contain a U+17D6 (which somewhat looks like a colon)
23481 instead of a real colon to separate the full words for “yes”
23482 and “no” from the single letter responses.
23483
23484 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23485
23486 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23487 it agree with CLDR (include the first letter of yesstr).
23488 Also make it more readable by using ASCII where possible.
23489
23490 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23491
23492 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23493 and improve yesexpr and noexpr. The yesstr and nostr apparently
23494 came from CLDR. And CLDR has a bug there: these strings contain
23495 a U+0903 (which looks like a colon) instead of a real colon
23496 to separate the full words for “yes” and “no” from the single
23497 letter responses.
23498
23499 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23500
23501 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23502 letters of the full yesstr and nostr in yesexpr and noexpr.
23503
23504 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23505
23506 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23507 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23508 * localedata/locales/an_ES: Make source more readable by using ASCII
23509 where possible.
23510
23511 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23512
23513 [BZ #20952]
23514 * localedata/locales/yuw_PG: New file.
23515 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23516 * locale/iso-639.def: Add Yau (Uruwa).
23517
23518 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23519
23520 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23521
23522 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23523
23524 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23525 (__libc_realloc): Likewise.
23526 (_mid_memalign): Likewise.
23527 (__libc_calloc): Likewise.
23528
23529 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23530
23531 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23532 by adding the generic +1 and -0 as in all other locales.
23533 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23534 day names and make it more readable by using ASCII where possible.
23535
23536 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23537
23538 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23539 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23540
23541 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23542
23543 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23544 WNOHANG in waitpid call.
23545
23546 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23547
23548 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23549 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23550
23551 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23552 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23553 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23554 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23555 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23556 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23557 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23558 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23559 variables.
23560
23561 2017-10-23 Michael Collison <michael.collison@arm.com>
23562
23563 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23564 with __builtin_sqrt.
23565 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23566 with __builtin_sqrtf.
23567 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23568 with __builtin_ceil.
23569 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23570 with __builtin_ceilf.
23571 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23572 with __builtin_floor.
23573 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23574 with __builtin_floorf.
23575 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23576 with __builtin_fma.
23577 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23578 with __builtin_fmaf.
23579 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23580 with __builtin_fmax.
23581 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23582 with __builtin_fmaxf.
23583 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23584 with __builtin_fmin.
23585 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23586 with __builtin_fminf.
23587 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23588 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23589 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23590 with builtin_rint and conversion to int.
23591 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23592 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23593 with builtin_llround.
23594 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23595 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23596 with builtin_rint and conversion to long int.
23597 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23598 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23599 with builtin_lround.
23600 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23601 with builtin_lroundf.
23602 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23603 statements with __builtin_nearbyint.
23604 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23605 statements with __builtin_nearbyintf.
23606 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23607 with __builtin_rint.
23608 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23609 with __builtin_rintf.
23610 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23611 with __builtin_round.
23612 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23613 with __builtin_roundf.
23614 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23615 with __builtin_trunc.
23616 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23617 with __builtin_truncf.
23618 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23619 and s_l[l]round[f].c too.
23620
23621 2017-10-23 Alan Modra <amodra@gmail.com>
23622
23623 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23624 Adjust stack after restoring regs. Add missing LR cfi_restore.
23625
23626 2017-10-23 Alan Modra <amodra@gmail.com>
23627
23628 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23629 Move LR save and frame setup/teardown and LR restore to
23630 immediately around memset call. Provide cfi.
23631
23632 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23633
23634 * sysdeps/i386/fpu/e_powf.S: Removed.
23635 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23636 * sysdeps/i386/fpu/w_powf.c: Likewise.
23637 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23638 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23639 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23640 Add e_powf-sse2.
23641 (CFLAGS-e_powf-sse2.c): New.
23642 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23643 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23644
23645 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23646
23647 * sysdeps/i386/fpu/e_log2f.S: Removed.
23648 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23649 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23650 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23651 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23652 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23653 Add e_log2f-sse2.
23654 (CFLAGS-e_log2f-sse2.c): New.
23655 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23656 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23657
23658 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23659
23660 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23661 Add e_powf-fma.
23662 (CFLAGS-e_powf-fma.c): New.
23663 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23664 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23665
23666 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23667
23668 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23669 Add e_log2f-fma.
23670 (CFLAGS-e_log2f-fma.c): New.
23671 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23672 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23673
23674 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23675
23676 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23677 Add e_logf-fma.
23678 (CFLAGS-e_logf-fma.c): New.
23679 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23680 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23681
23682 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23683
23684 * sysdeps/i386/fpu/e_logf.S: Removed.
23685 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23686 * sysdeps/i386/fpu/w_logf.c: Likewise.
23687 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23688 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23689 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23690 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23691 Add e_logf-sse2.
23692 (CFLAGS-e_logf-sse2.c): New.
23693 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23694 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23695
23696 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23697
23698 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23699 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23700 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23701 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23702 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23703 Add e_exp2f-sse2.
23704 (CFLAGS-e_exp2f-sse2.c): New.
23705 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23706 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23707
23708 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23709
23710 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23711 Add e_exp2f-fma.
23712 (CFLAGS-e_exp2f-fma.c): New.
23713 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23714 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23715
23716 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23717
23718 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23719 * sysdeps/i386/fpu/e_expf.S: Likewise.
23720 * sysdeps/i386/fpu/math_errf.c: Likewise.
23721 * sysdeps/i386/fpu/w_expf.c: Likewise.
23722 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23723 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23724 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23725 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23726 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23727 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23728 Remove e_expf-ia32.
23729 (CFLAGS-e_expf-sse2.c): New.
23730 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23731 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23732
23733 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23734
23735 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23736 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23737 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23738 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23739 e_expf.c.
23740 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23741 New.
23742 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23743 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23744 Renamed to ...
23745 (__redirect_expf): This.
23746 (SYMBOL_NAME): Changed to expf.
23747 (__ieee754_expf): Renamed to ...
23748 (__expf): This.
23749 (__GI___expf): This.
23750 (__ieee754_expf): Add strong_alias.
23751 (__expf_finite): Likewise.
23752 (__expf): New.
23753 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23754
23755 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23756
23757 [BZ #22332]
23758 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23759 unescaping.
23760
23761 2017-10-21 Florian Weimer <fweimer@redhat.com>
23762
23763 * posix/Makefile (tests): Add tst-glob-tilde.
23764 (tests-special): Add tst-glob-tilde-mem.out
23765 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23766 (tst-glob-tilde-mem.out): Add mtrace check.
23767 * posix/tst-glob-tilde.c: New file.
23768
23769 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23770
23771 * bits/floatn-common.h: New file.
23772 * math/Makefile (headers): Add bits/floatn-common.h.
23773 * bits/floatn.h: Include <bits/floatn-common.h>.
23774 * sysdeps/ia64/bits/floatn.h: Likewise.
23775 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23776 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23777 * sysdeps/powerpc/bits/floatn.h: Likewise.
23778 * sysdeps/x86/bits/floatn.h: Likewise.
23779
23780 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23781
23782 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23783 indicates whether compiler emits an warning for alias for
23784 functions with incompatible types.
23785
23786 [BZ #22273]
23787 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23788 the auxiliary process is terminated by a signal before calling _exit
23789 or execve.
23790
23791 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23792
23793 [BZ #21265]
23794 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23795 New.
23796 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23797 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23798 and bit_arch_XSAVEC_Usable if needed.
23799 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23800 and bit_arch_Use_dl_runtime_resolve_opt.
23801 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23802 Removed.
23803 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23804 (bit_arch_Prefer_No_AVX512): Updated.
23805 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23806 (bit_arch_XSAVEC_Usable): New.
23807 (STATE_SAVE_OFFSET): Likewise.
23808 (STATE_SAVE_MASK): Likewise.
23809 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23810 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23811 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23812 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23813 (index_arch_XSAVEC_Usable): New.
23814 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23815 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23816 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23817 is enabled.
23818 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23819 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23820 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23821 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23822 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23823 _dl_runtime_resolve_xsavec.
23824 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23825 Removed.
23826 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23827 instead of VEC_SIZE.
23828 (REGISTER_SAVE_BND0): Removed.
23829 (REGISTER_SAVE_BND1): Likewise.
23830 (REGISTER_SAVE_BND3): Likewise.
23831 (REGISTER_SAVE_RAX): Always defined to 0.
23832 (VMOV): Removed.
23833 (_dl_runtime_resolve_avx): Likewise.
23834 (_dl_runtime_resolve_avx_slow): Likewise.
23835 (_dl_runtime_resolve_avx_opt): Likewise.
23836 (_dl_runtime_resolve_avx512): Likewise.
23837 (_dl_runtime_resolve_avx512_opt): Likewise.
23838 (_dl_runtime_resolve_sse): Likewise.
23839 (_dl_runtime_resolve_sse_vex): Likewise.
23840 (USE_FXSAVE): New.
23841 (_dl_runtime_resolve_fxsave): Likewise.
23842 (USE_XSAVE): Likewise.
23843 (_dl_runtime_resolve_xsave): Likewise.
23844 (USE_XSAVEC): Likewise.
23845 (_dl_runtime_resolve_xsavec): Likewise.
23846 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23847 Removed.
23848 (_dl_runtime_resolve_avx512_opt): Likewise.
23849 (_dl_runtime_resolve_avx): Likewise.
23850 (_dl_runtime_resolve_avx_opt): Likewise.
23851 (_dl_runtime_resolve_sse): Likewise.
23852 (_dl_runtime_resolve_sse_vex): Likewise.
23853 (_dl_runtime_resolve_fxsave): New.
23854 (_dl_runtime_resolve_xsave): Likewise.
23855 (_dl_runtime_resolve_xsavec): Likewise.
23856
23857 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23858
23859 [BZ #22320]
23860 CVE-2017-15670
23861 * posix/glob.c (__glob): Fix one-byte overflow.
23862
23863 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23864
23865 * malloc/malloc.c (sysdep-cancel.h): Add include.
23866
23867 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23868
23869 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23870
23871 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23872
23873 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23874 (tests): Remove $(objpfx)ga_test depdendency.
23875 * resolv/ga_test.c: Remove file.
23876
23877 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23878
23879 [BZ #18812]
23880 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23881 * localedata/locales/kab_DZ: New file.
23882
23883 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23884
23885 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23886 _dl_relocate_static_pie instead of _dl_start to compute load
23887 address in static PIE.
23888
23889 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23890
23891 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23892
23893 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23894
23895 [BZ #13605]
23896 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23897 * localedata/locales/shn_MM: New file.
23898
23899 2017-10-20 Florian Weimer <fweimer@redhat.com>
23900
23901 [BZ #22321]
23902 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23903 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23904 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23905 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23906 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23907 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23908
23909 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23910
23911 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23912
23913 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23914
23915 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23916
23917 [BZ #22322]
23918 * sysdeps/mips/bits/long-double.h: Move to ....
23919 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23920
23921 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23922
23923 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23924
23925 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23926 H.J. Lu <hongjiu.lu@intel.com>
23927
23928 [BZ #22299]
23929 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23930 GLRO(dl_platform) to NULL.
23931 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23932 (modules-names): Add tst-platformmod-1 and
23933 x86_64/tst-platformmod-2.
23934 (CFLAGS-tst-platform-1.c): New.
23935 (CFLAGS-tst-platformmod-1.c): Likewise.
23936 (CFLAGS-tst-platformmod-2.c): Likewise.
23937 (LDFLAGS-tst-platformmod-2.so): Likewise.
23938 ($(objpfx)tst-platform-1): Likewise.
23939 ($(objpfx)tst-platform-1.out): Likewise.
23940 (tst-platform-1-ENV): Likewise.
23941 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23942 * sysdeps/x86_64/tst-platform-1.c: New file.
23943 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23944 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23945
23946 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23947
23948 [BZ #13994]
23949 * locale/iso-639.def: Add Karbi.
23950 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23951 * localedata/locales/mjw_IN: New file.
23952
23953 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23954
23955 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23956 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23957 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23958 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23959 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23960 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23961 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23962 <bits/floatn.h>.
23963 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23964 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23965 * manual/math.texi (Mathematics): Document additional architecture
23966 support for _Float128.
23967 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23968 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23969 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23970 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23971 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23972 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23973 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23974 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23975 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23976 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23977 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23978 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23979 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23980 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23981 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23982
23983 2017-10-18 Renlin Li <renlin.li@arm.com>
23984
23985 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23986 _DYNAMIC symbol to calculate load address.
23987
23988 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23989
23990 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23991 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23992 summary bits.
23993 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23994 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23995
23996 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23997
23998 [BZ #16777]
23999 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24000 and improve readability by using more ASCII.
24001 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24002 and improve readability by using more ASCII.
24003
24004 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24005
24006 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24007 not all targets support atomics on bool.
24008
24009 2017-10-17 Joseph Myers <joseph@codesourcery.com>
24010
24011 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24012 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24013 __f128.
24014 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24015 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24016 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24017 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24018 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24019 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24020
24021 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24022
24023 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24024 defines.
24025
24026 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24027
24028 [BZ #22159]
24029 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24030 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24031 (do_check_remalloced_chunk): Fix build bug.
24032 (do_check_malloc_state): Add assert that checks arena->top.
24033 (malloc_consolidate): Remove initialization.
24034 (int_mallinfo): Remove call to malloc_consolidate.
24035 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24036
24037 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24038
24039 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24040 (have_fastchunks): Remove.
24041 (clear_fastchunks): Remove.
24042 (set_fastchunks): Remove.
24043 (malloc_state): Add have_fastchunks.
24044 (malloc_init_state): Use have_fastchunks.
24045 (do_check_malloc_state): Remove incorrect invariant checks.
24046 (_int_malloc): Use have_fastchunks.
24047 (_int_free): Likewise.
24048 (malloc_consolidate): Likewise.
24049
24050 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24051
24052 * malloc/malloc.c (tcache_put): Inline.
24053 (tcache_get): Inline.
24054
24055 2017-10-17 Jordi Mallach <jordi@gnu.org>
24056
24057 Aurelien Jarno <aurelien@aurel32.net>
24058 [BZ #2522]
24059 * localedata/locales/ca_ES@valencia: New file.
24060 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24061
24062 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24063
24064 [BZ #22296]
24065 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24066 < 6.x
24067
24068 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24069
24070 * scripts/build-many-glibcs.py (Context.add_all_configs):
24071 Add arm-linux-gnueabihf multiarch extra_glibcs.
24072
24073 * sysdeps/generic/ifunc-init.h: New file.
24074 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24075
24076 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24077
24078 [BZ #22019]
24079 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24080 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24081 * stdlib/tst-strfmon_l.c: adapt test case.
24082
24083 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24084
24085 * sysdeps/generic/float128-abi.h: New file.
24086 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24087 non-__prefixed symbols to ....
24088 * math/Versions: ... here. Include <float128-abi.h>.
24089 * stdlib/Versions ... and here. Include <float128-abi.h>
24090
24091 2017-10-16 Florian Weimer <fweimer@redhat.com>
24092
24093 * version.h (VERSION): Switch to ".9000" as the development
24094 version suffix.
24095
24096 2017-10-16 Florian Weimer <fweimer@redhat.com>
24097
24098 [BZ #22050]
24099 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24100 compat_symbol_reference to access non-default version.
24101
24102 2017-10-16 Florian Weimer <fweimer@redhat.com>
24103
24104 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24105
24106 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24107
24108 * include/shlib-compat.h (compat_symbol_reference): Update
24109 comment.
24110
24111 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24112
24113 * math/Makefile (test-types): Add
24114 $(type-float128-$(float128-alias-fcts)).
24115 * math/test-float128.h (TYPE_STR): Define conditional on
24116 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24117 (ULP_IDX): Likewise.
24118 (ULP_I_IDX): Likewise.
24119
24120 * stdlib/strtold.c: Include <bits/floatn.h>
24121 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24122 and later undefine as macro. Define as weak alias if
24123 [!USE_WIDE_CHAR].
24124 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24125 and later undefine as macro. Define as weak alias if
24126 [USE_WIDE_CHAR].
24127 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24128 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24129 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24130 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24131 Define and later undefine as macro. Define as weak alias if
24132 [USE_WIDE_CHAR].
24133 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24134 <bits/floatn.h>.
24135 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24136 Define and later undefine as macro. Define as weak alias if
24137 [!USE_WIDE_CHAR].
24138 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24139 Define and later undefine as macro. Define as weak alias if
24140 [USE_WIDE_CHAR].
24141
24142 2017-10-15 Carlos O'Donell <carlos@redhat.com>
24143
24144 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24145 record_verbose messages.
24146
24147 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24148
24149 [BZ #22052]
24150 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24151 to silence -O3 -Wall warning with GCC 7.
24152
24153 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24154
24155 * Makeconfig (+link-static-before-libc): Use the first of
24156 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24157 * gmon/Makefile (tests): Add tst-gmon-static.
24158 (tests-static): Likewise.
24159 (CFLAGS-tst-gmon-static.c): New.
24160 (CRT-tst-gmon-static): Likewise.
24161 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24162 (tst-gmon-static-ENV): Likewise.
24163 (tests-special): Likewise.
24164 ($(objpfx)tst-gmon-static.out): Likewise.
24165 (clean-tst-gmon-static-data): Likewise.
24166 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24167 * gmon/tst-gmon-static-gprof.sh: New file.
24168 * gmon/tst-gmon-static.c: Likewise.
24169
24170 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24171
24172 [BZ #22295]
24173 * locale/programs/linereader.c (get_string): Don't warn on
24174 non-symbolic character.
24175
24176 [BZ #22294]
24177 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24178 int_curr_symbol.
24179
24180 [BZ #22292]
24181 * locale/programs/record-status.h: New file
24182 * locale/programs/locale.c: Add comment.
24183 * locale/programs/charmap-dir.c: Don't include error.h.
24184 (charmap_opendir): Use record_error.
24185 * locale/programs/charmap.c: Don't include error.h.
24186 (charmap_read): Use record_error, and record_warning.
24187 (parse_charmap): Likewise.
24188 * locale/programs/ld-address.c: Don't include error.h.
24189 (address_finish): Use record_error, and record_warning.
24190 * locale/programs/ld-collate.c: Don't include error.h.
24191 (collate_finish): Use record_error, and record_error_at_line.
24192 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24193 (ctype_class_new): Likewise.
24194 (ctype_map_new): Likewise.
24195 (set_one_default): Likewise.
24196 (set_class_defaults): Likewise.
24197 (translit_flatten): Likewise.
24198 (allocate_arrays): Use record_error, and record_verbose.
24199 * locale/programs/ld-identification.c: Don't include error.h.
24200 (indentation_finish): Use record_error and record_warning.
24201 * locale/programs/ld-measurement.c: Don't include error.h.
24202 (measurement_finish): Use record_error.
24203 * locale/programs/ld-messages.c
24204 (message_finish): Likewise.
24205 * locale/programs/ld-monetary.c
24206 (monetary_finish): Likewise.
24207 * locale/programs/ld-name.c (name_finish): Use record_error
24208 and record_warning.
24209 * locale/programs/ld-numeric.c
24210 (numeric_finish): Use record_error.
24211 * locale/programs/ld-paper.c: Don't include error.h.
24212 (paper_finish): Use record_error.
24213 * locale/programs/ld-telephone.c: Don't include error.h.
24214 (telephone_finish): Use record_error.
24215 * locale/programs/ld-time.c (time_finish): Likewise.
24216 * locale/programs/linereader.h (lr_error): Make inline func.
24217 * locale/programs/localedef.c: Define recorded_warning_count,
24218 and recorded_error_count.
24219 (main): Use record_error. Use recorded_error_count and
24220 recorded_warning_count to issue correct error returns.
24221 (add_to_readlist): Use record_error.
24222 (find_locale): Likewise.
24223 (load_locale): Likewise.
24224 * locale/programs/localedef.h: Remove be_quiet
24225 and WITH_CUR_LOCALE.
24226 * locale/programs/locarchive.c (compare_from_file): Use
24227 record_error.
24228 * locale/programs/locfile.c (write_locale_data): Use
24229 record_error.
24230 * locale/programs/repertoire.c: Dont include error.h.
24231 (repertoire_complain): Use record_error.
24232 * localedata/tst-fmon.sh: Expect failures from localedef.
24233 * localedata/tst-locale.sh: Likewise.
24234 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24235
24236 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24237 (REPORTS): Likewise.
24238 (check): Likewise.
24239 (i18n): Rename to...
24240 (i18n_ctype): ...this.
24241 (i18n-report): Rename to...
24242 (i18n_ctype-report): ...this.
24243 * localedata/locales/i18n_ctype: Regenerate.
24244 * localedata/locales/i18n: copy i18n_ctype.
24245
24246 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24247
24248 * stdlib/strfroml.c: Include <bits/floatn.h>.
24249 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24250 Define before include of <stdlib.h> and undefine afterwards, then
24251 define as weak alias.
24252
24253 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24254 Undefine and restore default definition. Use
24255 libm_alias_ldouble_other.
24256
24257 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24258
24259 [BZ #22153]
24260 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24261 in coredumps.
24262
24263 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24264
24265 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24266 Assign sym_map to be map for local symbols, as TLS relocations
24267 use sym_map to determine whether the symbol is defined and to
24268 extract the TLS information.
24269 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24270 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24271
24272 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24273
24274 [BZ #22189]
24275 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24276 (math_force_eval): Add powerpc version.
24277
24278 [BZ #22142]
24279 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24280 -DBL_MAX.
24281 (do_test): Likewise.
24282 * stdio-common/tst-printf.sh: Likewise.
24283 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24284 ifdef clause in order to set the carry bit right. Replace r0 by
24285 0 without changing the behavior.
24286
24287 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24288
24289 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24290 <libm-alias-ldouble.h>.
24291 (fabsl): Define using libm_alias_ldouble.
24292 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24293 <libm-alias-ldouble.h>.
24294 (fabsl): Define using libm_alias_ldouble.
24295
24296 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24297 Remove conditional code.
24298
24299 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24300 Rename to __clog10_internal_l.
24301 (__clog10_internal_l): Define aliases using
24302 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24303 with __clog10.
24304
24305 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24306
24307 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24308 * benchtests/sincosf-inputs: New file.
24309 * benchtests/cosf-inputs: New file.
24310 * benchtests/sinf-inputs: New file.
24311
24312 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24313
24314 * posix/tst-spawn.c (do_test): Wait for both children.
24315
24316 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24317
24318 [BZ #22284]
24319 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24320 tests-pie): Add tst-gmon-pie.
24321 (CFLAGS-tst-gmon-pie.c): New.
24322 (CRT-tst-gmon-pie): Likewise.
24323 (tst-gmon-pie-ENV): Likewise.
24324 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24325 ($(objpfx)tst-gmon-pie.out): Likewise.
24326 (clean-tst-gmon-pie-data): Likewise.
24327 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24328 * gmon/gmon.c [PIC]: Include <link.h>.
24329 [PIC] (callback): New function.
24330 (write_hist): Add an argument for load address. Subtract load
24331 address from PCs.
24332 (write_call_graph): Likewise.
24333 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24334 it to write_hist and write_call_graph.
24335 * gmon/tst-gmon-pie.c: New file.
24336
24337 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24338
24339 * math/Makefile (test-types-basic): New variable.
24340 (test-types): Likewise.
24341 (libm-test-support): Use $(test-types) instead of $(types).
24342 (libm-tests-base-normal): Likewise.
24343 (libm-tests-base-finite): Likewise.
24344 (libm-tests-base-inline): Likewise.
24345 (generated): Likewise.
24346 ($(objpfx)libm-test-support-$(t).c): Likewise.
24347 (libm-tests-for-type iterator): Likewise.
24348 (libm-test-support iterator): Likewise.
24349 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24350 (ulp_idx): Use ULP_IDX.
24351 * math/test-ldouble.h: Include <float.h>.
24352 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24353 (ULP_IDX): New macro.
24354 (ULP_I_IDX): Likewise.
24355 * math/test-double.h (ULP_IDX): Likewise.
24356 (ULP_I_IDX): Likewise.
24357 * math/test-float.h (ULP_IDX): Likewise.
24358 (ULP_I_IDX): Likewise.
24359 * math/test-float128.h (ULP_IDX): Likewise.
24360 (ULP_I_IDX): Likewise.
24361
24362 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24363
24364 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24365 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24366 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24367 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24368 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24369 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24370 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24371 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24372 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24373 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24374 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24375 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24376 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24377 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24378 (SINGLE_THREAD_BY_GLOBAL): Define.
24379 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24380 Likewise.
24381 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24382 Likewise.
24383 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24384 Likewise.
24385 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24386 Likewise.
24387 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24388 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24390 Likewise.
24391
24392 2017-10-11 Andreas Schwab <schwab@suse.de>
24393
24394 * nis/Makefile (aux): Remove.
24395 * nscd/Makefile (aux): Add nscd_hash.
24396 (nscd-modules): Likewise.
24397 ($(objpfx)nscd): Don't depend on libnsl.
24398 * nscd/nscd_hash.c: New file.
24399 * nscd/nscd_hash.h: Likewise.
24400 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24401 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24402 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24403 instead of <nis/rpcsvc/nis.h>.
24404 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24405
24406 2017-10-11 Florian Weimer <fweimer@redhat.com>
24407
24408 [BZ #22078]
24409 Avoid large NSS buffers with many addresses, aliases.
24410 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24411 using dynarrays and struct alloc_buffer.
24412 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24413 (tst-nss-files-hosts-multi): Link with -ldl.
24414 * nss/tst-nss-files-hosts-multi.c: New file.
24415
24416 2017-10-11 Florian Weimer <fweimer@redhat.com>
24417
24418 [BZ #18023]
24419 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24420 scratch_buffer. Eliminate gotos.
24421
24422 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24423
24424 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24425 libm_alias_ldouble_other.
24426 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24427 undefine and redefine.
24428 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24429 (exp10l): Do not define here.
24430 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24431 (weak_alias): Undefine and redefine.
24432 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24433 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24434 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24435 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24436
24437 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24438 [!__fma] (fma): Define using libm_alias_double.
24439 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24440 [!__fmaf] (fmaf): Define using libm_alias_float.
24441 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24442 (fmal): Define using libm_alias_ldouble.
24443
24444 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24445
24446 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24447 New macro.
24448 (libm_alias_double_other): Likewise.
24449 (libm_alias_double_r): Use libm_alias_double_other_r.
24450 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24451 New macro.
24452 (libm_alias_float_other): Likewise.
24453 (libm_alias_float_r): Use libm_alias_float_other_r.
24454 * sysdeps/generic/libm-alias-float128.h
24455 (libm_alias_float128_other_r): New macro.
24456 (libm_alias_float128_other): Likewise.
24457 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24458 * sysdeps/generic/libm-alias-ldouble.h
24459 (libm_alias_ldouble_other_r): New macro.
24460 (libm_alias_ldouble_other): Likewise.
24461 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24462 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24463 (libm_alias_double_other_r): New macro.
24464 (libm_alias_double_other): Likewise.
24465 (libm_alias_double_r): Use libm_alias_double_other_r.
24466 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24467 (libm_alias_ldouble_other_r): New macro.
24468 (libm_alias_ldouble_other): Likewise.
24469 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24470 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24471 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24472 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24473 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24474 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24475 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24476 * math/w_exp2f.c: Use libm_alias_float_other.
24477 * math/w_expf.c: Likewise.
24478 * math/w_log2f.c: Likewise.
24479 * math/w_logf.c: Likewise.
24480 * math/w_powf.c: Likewise.
24481 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24482 [!__exp2f]: Use libm_alias_float_other.
24483 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24484 [!__expf]: Use libm_alias_float_other.
24485 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24486 [!__log2f]: Use libm_alias_float_other.
24487 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24488 [!__logf]: Use libm_alias_float_other.
24489 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24490 [!__powf]: Use libm_alias_float_other.
24491
24492 2017-10-10 Florian Weimer <fweimer@redhat.com>
24493
24494 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24495 function.
24496 (_nss_files_gethostbyname3_r): Call it.
24497
24498 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24499
24500 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24501 error. Remove default definition of declare_mgen_alias.
24502 [!declare_mgen_alias_r]: Likewise.
24503 * sysdeps/generic/math-type-macros-double.h
24504 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24505 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24506 (declare_mgen_alias_r): Likewise.
24507 * sysdeps/generic/math-type-macros-float128.h
24508 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24509 * sysdeps/generic/math-type-macros-ldouble.h
24510 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24511 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24512 macro.
24513 (declare_mgen_alias_r_s): Likewise.
24514 (declare_mgen_alias_r): Likewise.
24515 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24516 (lgamma_r): Define using libm_alias_double_r.
24517 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24518 (lgammaf_r): Define using libm_alias_float_r.
24519 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24520 (lgammal_r): Define using libm_alias_ldouble_r.
24521 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24522 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24523
24524 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24525
24526 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24527 extern declaration.
24528
24529 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24530
24531 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24532
24533 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24534
24535 [BZ #21326]
24536 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24537 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24538 * math/Makefile (test-math-cxx11): New test.
24539 * math/test-math-cxx11.cc: New file.
24540
24541 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24542
24543 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24544
24545 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24546 call to allocate the slave pty file descriptor.
24547
24548 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24549
24550 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24551 [!__fma] (fma): Define using libm_alias_double.
24552 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24553 [!__fma] (fma): Define using libm_alias_double.
24554
24555 * sysdeps/ieee754/float128/float128_private.h: Include
24556 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24557 (libm_alias_ldouble_r): Undefine and redefine.
24558 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24559 <libm-alias-ldouble.h>.
24560 (asinhl): Define using libm_alias_ldouble.
24561 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24562 <libm-alias-ldouble.h>.
24563 (atanl): Define using libm_alias_ldouble.
24564 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24565 <libm-alias-ldouble.h>.
24566 (cbrtl): Define using libm_alias_ldouble.
24567 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24568 <libm-alias-ldouble.h>.
24569 (ceill): Define using libm_alias_ldouble.
24570 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24571 <libm-alias-ldouble.h>.
24572 (copysignl): Define using libm_alias_ldouble.
24573 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24574 <libm-alias-ldouble.h>.
24575 (cosl): Define using libm_alias_ldouble.
24576 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24577 <libm-alias-ldouble.h>.
24578 (erfl): Define using libm_alias_ldouble.
24579 (erfcl): Likewise.
24580 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24581 <libm-alias-ldouble.h>.
24582 (expm1l): Define using libm_alias_ldouble.
24583 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24584 <libm-alias-ldouble.h>.
24585 (fabsl): Define using libm_alias_ldouble.
24586 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24587 <libm-alias-ldouble.h>.
24588 (floorl): Define using libm_alias_ldouble.
24589 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24590 <libm-alias-ldouble.h>.
24591 (fmal): Define using libm_alias_ldouble.
24592 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24593 <libm-alias-ldouble.h>.
24594 (frexpl): Define using libm_alias_ldouble.
24595 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24596 libm_alias_ldouble.
24597 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24598 <libm-alias-ldouble.h>.
24599 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24600 libm_alias_ldouble.
24601 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24602 <libm-alias-ldouble.h>.
24603 (getpayloadl): Define using libm_alias_ldouble.
24604 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24605 <libm-alias-ldouble.h>.
24606 (llrintl): Define using libm_alias_ldouble.
24607 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24608 <libm-alias-ldouble.h>.
24609 (llroundl): Define using libm_alias_ldouble.
24610 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24611 <libm-alias-ldouble.h>.
24612 (logbl): Define using libm_alias_ldouble.
24613 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24614 <libm-alias-ldouble.h>.
24615 (lrintl): Define using libm_alias_ldouble.
24616 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24617 <libm-alias-ldouble.h>.
24618 (lroundl): Define using libm_alias_ldouble.
24619 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24620 <libm-alias-ldouble.h>.
24621 (modfl): Define using libm_alias_ldouble.
24622 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24623 <libm-alias-ldouble.h>.
24624 (nearbyintl): Define using libm_alias_ldouble.
24625 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24626 <libm-alias-ldouble.h>.
24627 (nextafterl): Define using libm_alias_ldouble.
24628 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24629 <libm-alias-ldouble.h>.
24630 (nextupl): Define using libm_alias_ldouble.
24631 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24632 <libm-alias-ldouble.h>.
24633 (remquol): Define using libm_alias_ldouble.
24634 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24635 <libm-alias-ldouble.h>.
24636 (rintl): Define using libm_alias_ldouble.
24637 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24638 <libm-alias-ldouble.h>.
24639 (roundevenl): Define using libm_alias_ldouble.
24640 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24641 <libm-alias-ldouble.h>.
24642 (roundl): Define using libm_alias_ldouble.
24643 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24644 using libm_alias_ldouble.
24645 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24646 <libm-alias-ldouble.h>.
24647 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24648 Define using libm_alias_ldouble.
24649 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24650 <libm-alias-ldouble.h>.
24651 (sincosl): Define using libm_alias_ldouble.
24652 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24653 <libm-alias-ldouble.h>.
24654 (sinl): Define using libm_alias_ldouble.
24655 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24656 <libm-alias-ldouble.h>.
24657 (tanhl): Define using libm_alias_ldouble.
24658 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24659 <libm-alias-ldouble.h>.
24660 (tanl): Define using libm_alias_ldouble.
24661 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24662 <libm-alias-ldouble.h>.
24663 (totalorderl): Define using libm_alias_ldouble.
24664 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24665 <libm-alias-ldouble.h>.
24666 (totalordermagl): Define using libm_alias_ldouble.
24667 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24668 <libm-alias-ldouble.h>.
24669 (truncl): Define using libm_alias_ldouble.
24670 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24671 libm_alias_ldouble.
24672 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24673 libm_alias_ldouble.
24674 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
24675 <libm-alias-ldouble.h>.
24676 (weak_alias): Do not undefine and redefine.
24677 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24678 (copysignl): Define with long_double_symbol only if [IS_IN
24679 (libc)].
24680 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24681 <libm-alias-ldouble.h>.
24682 (weak_alias): Do not undefine and redefine.
24683 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24684 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24685 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
24686 <libm-alias-ldouble.h>.
24687 (weak_alias): Do not undefine and redefine.
24688 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24689 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24690 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24691 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24692 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24693 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24694 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24695 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24696 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24697 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24698 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24699 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24700 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24701 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24702 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24703 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24704 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24705 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24706 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24707 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24708 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24709 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24710 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24711 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24712 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24713 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24714
24715 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24716
24717 [BZ #22111]
24718 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24719 (tcache_thread_freeres): Set tcache_shutting_down before
24720 freeing the tcache.
24721 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24722 * malloc/tst-malloc-tcache-leak.c: New file.
24723
24724 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24725
24726 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24727 back to powerpc32 file.
24728 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24729 (memrchr): Add __memrchr_power8 to ifunc list.
24730 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24731 extra bytes for unaligned inputs.
24732
24733 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24734
24735 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24736 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24737 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24738 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24739 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24740
24741 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24742
24743 * sysdeps/arm/libm-test-ulps: Update.
24744
24745 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24746 <libm-alias-ldouble.h>.
24747 (asinhl): Define using libm_alias_ldouble.
24748 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24749 <libm-alias-ldouble.h>.
24750 (cbrtl): Define using libm_alias_ldouble.
24751 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24752 <libm-alias-ldouble.h>.
24753 (copysignl): Define using libm_alias_ldouble.
24754 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24755 <libm-alias-ldouble.h>.
24756 (cosl): Define using libm_alias_ldouble.
24757 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24758 <libm-alias-ldouble.h>.
24759 (erfl): Define using libm_alias_ldouble.
24760 (erfcl): Likewise.
24761 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24762 <libm-alias-ldouble.h>.
24763 (fmal): Define using libm_alias_ldouble.
24764 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24765 <libm-alias-ldouble.h>.
24766 (frexpl): Define using libm_alias_ldouble.
24767 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24768 libm_alias_ldouble.
24769 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24770 <libm-alias-ldouble.h>.
24771 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24772 libm_alias_ldouble.
24773 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24774 <libm-alias-ldouble.h>.
24775 (getpayloadl): Define using libm_alias_ldouble.
24776 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24777 <libm-alias-ldouble.h>.
24778 (llrintl): Define using libm_alias_ldouble.
24779 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24780 <libm-alias-ldouble.h>.
24781 (llroundl): Define using libm_alias_ldouble.
24782 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24783 <libm-alias-ldouble.h>.
24784 (lrintl): Define using libm_alias_ldouble.
24785 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24786 <libm-alias-ldouble.h>.
24787 (lroundl): Define using libm_alias_ldouble.
24788 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24789 <libm-alias-ldouble.h>.
24790 (modfl): Define using libm_alias_ldouble.
24791 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24792 <libm-alias-ldouble.h>.
24793 (nextupl): Define using libm_alias_ldouble.
24794 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24795 <libm-alias-ldouble.h>.
24796 (remquol): Define using libm_alias_ldouble.
24797 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24798 <libm-alias-ldouble.h>.
24799 (roundevenl): Define using libm_alias_ldouble.
24800 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24801 <libm-alias-ldouble.h>.
24802 (roundl): Define using libm_alias_ldouble.
24803 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24804 using libm_alias_ldouble.
24805 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24806 <libm-alias-ldouble.h>.
24807 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24808 <libm-alias-ldouble.h>.
24809 (setpayloadsigl): Define using libm_alias_ldouble.
24810 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24811 <libm-alias-ldouble.h>.
24812 (sincosl): Define using libm_alias_ldouble.
24813 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24814 <libm-alias-ldouble.h>.
24815 (sinl): Define using libm_alias_ldouble.
24816 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24817 <libm-alias-ldouble.h>.
24818 (tanhl): Define using libm_alias_ldouble.
24819 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24820 <libm-alias-ldouble.h>.
24821 (tanl): Define using libm_alias_ldouble.
24822 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24823 <libm-alias-ldouble.h>.
24824 (totalorderl): Define using libm_alias_ldouble.
24825 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24826 <libm-alias-ldouble.h>.
24827 (totalordermagl): Define using libm_alias_ldouble.
24828 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24829 libm_alias_ldouble.
24830 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24831 libm_alias_ldouble.
24832
24833 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24834
24835 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24836 memmove_falkor.
24837 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24838 (__libc_ifunc_impl_list): Likewise.
24839 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24840 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24841
24842 * benchtests/bench-memmove-walk.c: New file.
24843 * benchtests/Makefile (string-benchset): Add it.
24844
24845 * benchtests/bench-memset-walk.c: New file.
24846 * benchtests/Makefile (string-benchset): Add it.
24847
24848 * benchtests/bench-memcpy-walk.c: New file.
24849 * benchtests/Makefile (string-benchset): Add it.
24850
24851 2017-10-05 Florian Weimer <fweimer@redhat.com>
24852
24853 nscd: Eliminate compilation time dependency in the build output.
24854 * nscd/nscd_stat.c (STATDATA_VERSION)
24855 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24856 (STATDATA_VERSION_FULL): New macro definitions.
24857 (compilation): Remove.
24858 (struct statdata): Adjust version member.
24859 (send_stats): Set version from STATDATA_VERSION_FULL.
24860 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24861
24862 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24863
24864 * configure.ac (--enable-add-ons): Remove option.
24865 (machine): Do not mention add-ons in comment.
24866 (LIBC_PRECONFIGURE): Likewise.
24867 (add_ons): Remove variable and sanity checks and logic to locate
24868 add-ons.
24869 (add_ons_automatic): Remove variable.
24870 (configured_add_ons): Likewise.
24871 (add_ons_sfx): Likewise.
24872 (add_ons_pfx): Likewise.
24873 (add_on_subdirs): Likewise.
24874 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24875 consideration of add-ons in Implies handling.
24876 (sysdeps_add_ons): Likewise.
24877 * configure: Regenerated.
24878 * libidn/configure.ac: Remove.
24879 * libidn/configure: Likewise.
24880 * sysdeps/unix/inet/configure.ac: New file.
24881 * sysdeps/unix/inet/configure: New generated file.
24882 * sysdeps/unix/inet/Subdirs: Add libidn.
24883 * Makeconfig (sysdeps-srcdirs): Remove variable.
24884 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24885 ($(common-objpfx)config.status): Do not depend on add-on files.
24886 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24887 comment.
24888 (all-subdirs): Do not include $(add-on-subdirs).
24889 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24890 * config.make.in (add-ons): Remove variable.
24891 (add-on-subdirs): Likewise.
24892 (sysdeps-add-ons): Likewise.
24893 * manual/Makefile (add-chapters): Remove.
24894 ($(objpfx)texis): Do not depend on $(add-chapters).
24895 (nonexamples): Do not handle $(add-chapters).
24896 (examples): Do not handle $(add-ons).
24897 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24898 libc-texinfo.sh.
24899 * manual/install.texi (Installation): Do not mention add-ons.
24900 (--enable-add-ons): Do not document configure option.
24901 * INSTALL: Regenerated.
24902 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24903 * manual/maint.texi (Hierarchy Conventions): Do not mention
24904 add-ons.
24905 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24906 --enable-add-ons.
24907 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24908 add-ons.
24909 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24910 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24911
24912 2017-10-05 Andreas Schwab <schwab@suse.de>
24913
24914 [BZ #15142]
24915 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24916 (_IO_flush_all_lockp): Always lock list_all_lock.
24917 (_IO_flush_all_linebuffered): Likewise.
24918 (_IO_unbuffer_all): Likewise.
24919
24920 2017-10-05 Florian Weimer <fweimer@redhat.com>
24921
24922 [BZ #15436]
24923 Do not flush stdio streams on abort.
24924 * stdlib/abort.c (fflush): Remove macro definition.
24925 (abort): Remove stages related to stdio flushing.
24926
24927 2017-10-05 Florian Weimer <fweimer@redhat.com>
24928
24929 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24930
24931 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24932
24933 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24934
24935 2017-10-05 Florian Weimer <fweimer@redhat.com>
24936
24937 * support/support_format_hostent.c (support_format_hostent): Add
24938 more error information for NETDB_INTERNAL.
24939
24940 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24941
24942 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24943 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24944 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24945 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24946 AC_DEFINE if multi-arch is enabled.
24947 * sysdeps/i386/configure: Regenerated.
24948
24949 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24950
24951 * Makeconfig (+link-static-before-libc): Use
24952 $(DEFAULT-LDFLAGS-$(@F)).
24953 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24954 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24955 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24956
24957 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24958
24959 * elf/Makefile (tests): Add tst-main1.
24960 (modules-names): Add tst-main1mod.
24961 ($(objpfx)tst-main1): New.
24962 (CRT-tst-main1): Likewise.
24963 (LDFLAGS-tst-main1): Likewise.
24964 (LDLIBS-tst-main1): Likewise.
24965 (tst-main1mod.so-no-z-defs): Likewise.
24966 * elf/tst-main1.c: New file.
24967 * elf/tst-main1mod.c: Likewise.
24968
24969 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24970
24971 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24972
24973 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24974
24975 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24976 (fma): Define using libm_alias_double.
24977 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24978 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24979 <math_ldbl_opt.h>.
24980 (fmal): Do not define as compat symbol here.
24981 * sysdeps/alpha/fpu/s_fma.c: New file.
24982
24983 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24984
24985 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24986
24987 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24988
24989 [BZ #22229]
24990 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24991 <math_ldbl_opt.h>
24992 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24993 and libc.
24994 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24995 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24996 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24997 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24999 Include <math_ldbl_opt.h>
25000 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25001 and libc.
25002 (compat_symbol): Undefine and redefine.
25003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25004 <math_ldbl_opt.h>
25005 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25006 (compat_symbol): Undefine and redefine.
25007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25008 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25009 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25010 GLIBC_2_1 for libm.
25011 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25012 GLIBC_2.0 copysignl symbol.
25013 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25014 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25015
25016 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25017
25018 2017-10-04 Florian Weimer <fweimer@redhat.com>
25019
25020 * scripts/check-local-headers.sh: Ignore nspr4 header file
25021 directory in addition to nspr.
25022
25023 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
25024
25025 [BZ #17956]
25026 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25027 * configure: Regenerate.
25028 * crypt/Makefile (nss-cpp-flags): New variable.
25029 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25030 (CPPFLAGS-md5-crypt.c): Use it.
25031 * scripts/check-local-headers.sh: Ignore nspr header file
25032 directory.
25033
25034 2017-10-04 Andreas Schwab <schwab@suse.de>
25035
25036 * nis/Makefile (services): Remove compat.
25037 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25038 ($(objpfx)libnss_compat.so): Remove rule.
25039 * nis/Versions (libnss_compat): Remove.
25040 * nss/Makefile (services): Add compat.
25041 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25042 * nss/Versions (libnss_compat): Define.
25043 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25044 Don't include <rpc/types.h>. Replace bool_t by bool.
25045 * nss/nss_compat/compat-initgroups.c: Likewise.
25046 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25047 instead of <rpcsrv/ypclnt.h>.
25048 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25049 yp_get_default_domain.
25050 * nss/nss_compat/compat-pwd.c: Likewise.
25051 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25052 yp_get_default_domain.
25053 * nss/nss_compat/nisdomain.c: New file.
25054 * nss/nss_compat/nisdomain.h: Likewise.
25055
25056 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25057
25058 [BZ #22244]
25059 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25060 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25061
25062 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25063
25064 [BZ #22243]
25065 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25066 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25067
25068 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25069
25070 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25071 "movl main@GOTOFF(%ebx), %eax".
25072
25073 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25074
25075 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25076 allow undefined _DYNAMIC in PIE libc.a.
25077 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25078 Likewse.
25079
25080 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25081
25082 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25083 check _DYNAMIC.
25084
25085 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25086
25087 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25088 check _DYNAMIC.
25089
25090 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25091
25092 * math/test-math-iscanonical.cc (error): Replace bool with int.
25093
25094 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25095
25096 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25097 (modf): Define using libm_alias_double, only if [!__modf].
25098 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25099 <libm-alias-double.h>.
25100 (modf): Define using libm_alias_double, only if [!__modf].
25101 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25102 compat symbol here.
25103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25104 (weak_alias): Do not undefine and redefine.
25105 (strong_alias): Likewise.
25106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25107 (weak_alias): Likewise.
25108 (strong_alias): Likewise.
25109
25110 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25111 (logb): Define using libm_alias_double, only if [!__logb].
25112 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25113 <libm-alias-double.h>.
25114 (logb): Define using libm_alias_double, only if [!__logb].
25115 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25117 (weak_alias): Do not undefine and redefine.
25118 (strong_alias): Likewise.
25119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25120 (weak_alias): Likewise.
25121 (strong_alias): Likewise.
25122
25123 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25124
25125 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25126 Check SHARED instead PIC.
25127
25128 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25129
25130 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25131 [!__fmaf] (fmaf): Define using libm_alias_float.
25132
25133 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25134 (frexp): Define using libm_alias_double.
25135 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25136 <libm-alias-double.h>.
25137 (frexp): Define using libm_alias_double.
25138 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25139 compat symbol here.
25140
25141 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25142
25143 [BZ #22235]
25144 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25145 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25146 (CFLAGS-test-math-iscanonical.cc): New variable.
25147 * math/test-math-iscanonical.cc: New file.
25148 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25149 Provide a C++ implementation based on function overloading,
25150 rather than using __MATH_TG, which uses C-only builtins.
25151 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25152 Likewise.
25153 * sysdeps/powerpc/powerpc64le/Makefile
25154 (CFLAGS-test-math-iscanonical.cc): New variable.
25155
25156 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25157
25158 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25159 (ceil): Define using libm_alias_double.
25160 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25161 (floor): Define using libm_alias_double.
25162 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25163 <libm-alias-double.h>.
25164 (llround): Define using libm_alias_double.
25165 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25166 <libm-alias-double.h>.
25167 (lround): Define using libm_alias_double.
25168 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25169 <libm-alias-double.h>.
25170 (nearbyint): Define using libm_alias_double.
25171 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25172 <libm-alias-double.h>.
25173 (remquo): Define using libm_alias_double.
25174 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25175 (rint): Define using libm_alias_double.
25176 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25177 (round): Define using libm_alias_double.
25178 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25179 (trunc): Define using libm_alias_double.
25180 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25181 <libm-alias-double.h>.
25182 (ceil): Define using libm_alias_double.
25183 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25184 <libm-alias-double.h>.
25185 (floor): Define using libm_alias_double.
25186 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25187 <libm-alias-double.h>.
25188 (llround): Define using libm_alias_double.
25189 [_LP64] (lround): Likewise.
25190 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25191 <libm-alias-double.h>.
25192 [!_LP64] (lround): Define using libm_alias_double.
25193 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25194 <libm-alias-double.h>.
25195 (nearbyint): Define using libm_alias_double.
25196 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25197 <libm-alias-double.h>.
25198 (remquo): Define using libm_alias_double.
25199 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25200 <libm-alias-double.h>.
25201 (rint): Define using libm_alias_double.
25202 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25203 <libm-alias-double.h>.
25204 (round): Define using libm_alias_double.
25205 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25206 <libm-alias-double.h>.
25207 (trunc): Define using libm_alias_double.
25208 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25209 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25210 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25211 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25212 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25213 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25214 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25215 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25216 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25217
25218 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25219
25220 * math/w_remainder.c: New file.
25221 * math/w_remainderf.c: New file.
25222 * math/w_remainderl.c: New file.
25223
25224 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25225
25226 * elf/rtld.c (BOOTSTRAP_MAP): New.
25227 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25228 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25229 Likewise.
25230 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25231 Likewise.
25232 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25233 Likewise.
25234
25235 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25236
25237 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25238 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25239 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25240 rtld_hidden_data_ver): Define to empty.
25241 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25242 __assert_perror_fail): Likewise.
25243 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25244 (__rewinddir): Likewise.
25245 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25246 (__profile_frequency): Likewise.
25247 * include/setjmp.h (__sigsetjmp): Likewise.
25248 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25249 __libc_sigaction): Likewise.
25250 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25251 not set hidden attribute.
25252 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25253 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25254 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25255 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25256 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25257 __fxstatat64): Likewise.
25258 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25259 (__uname): Likewise.
25260 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25261 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25262 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25263 (NO_RTLD_HIDDEN): Set.
25264 * sysdeps/mach/hurd/configure: Refresh.
25265 * config.h.in: Refresh.
25266
25267 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25268
25269 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25270 (atan): Define using libm_alias_double.
25271 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25272 (tan): Define using libm_alias_double.
25273 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25274 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25275
25276 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25277 define as weak alias of __atan. Do not define any aliases if
25278 [__atan].
25279 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25280 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25281 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25282 as weak alias of __tan. Do not define any aliases if [__tan].
25283 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25284 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25285 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25286 __atan.
25287 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25288 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25289 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25290 and define as weak alias of __atan.
25291 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25292 __atan.
25293 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25294 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25295 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25296 define as weak alias of __tan.
25297
25298 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25299
25300 * math/w_lgamma.c: New file.
25301 * math/w_lgammaf.c: New file.
25302 * math/w_lgammal.c: New file.
25303
25304 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25305
25306 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25307 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25308 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25309 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25310 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25311 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25312 * sysdeps/i386/fpu/w_log2f.c: New file.
25313 * sysdeps/i386/fpu/w_logf.c: New file.
25314 * sysdeps/i386/fpu/w_powf.c: New file.
25315 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25316 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25317 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25318
25319 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25320 H.J. Lu <hongjiu.lu@intel.com>
25321
25322 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25323 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25324 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25325 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25326 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25327 the new expf code.
25328 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25329 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25330 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25331 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25332 * sysdeps/i386/fpu/w_exp2f.c: New file.
25333 * sysdeps/i386/fpu/w_expf.c: New file.
25334 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25335 * sysdeps/x86_64/fpu/w_expf.c: New file.
25336
25337 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25338
25339 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25340 (log2f): Likewise.
25341 (powf): Likewise.
25342 * math/w_log2f.c: New file.
25343 * math/w_logf.c: New file.
25344 * math/w_powf.c: New file.
25345 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25346 * math/w_logf_compat.c (__logf_compat): Likewise.
25347 * math/w_powf_compat.c (__powf_compat): Likewise.
25348 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25349 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25350 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25351 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25352 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25353 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25354 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25355 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25356 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25357 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25358 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25359 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25360 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25361 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25362 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25364 Likewise.
25365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25366 Likewise.
25367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25368 Likewise.
25369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25370 Likewise.
25371 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25372 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25373 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25374 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25375 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25377 Likewise.
25378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25379 Likewise.
25380 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25381 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25382 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25383
25384 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25385
25386 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25387 (sysdep_routines): Add memrchr_power8.
25388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25389 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25390 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25391 New file.
25392 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25393 (memrchr): Add __memrchr_power8 to ifunc list.
25394 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25395
25396 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25397
25398 [BZ #18822]
25399 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25400 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25401 libc_hidden_def.
25402 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25403 (__posix_fallocate64_l64): Likewise.
25404
25405 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25406
25407 [BZ #18822]
25408 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25409 (__sched_setaffinity_new): Add libc_hidden_proto and
25410 libc_hidden_def.
25411
25412 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25413
25414 [BZ #18822]
25415 * include/glob.h (__glob64): Add libc_hidden_proto.
25416 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25417 libc_hidden_def.
25418
25419 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25420
25421 [BZ #18822]
25422 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25423 attribute_hidden.
25424
25425 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25426
25427 [BZ #18822]
25428 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25429
25430 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25431
25432 [BZ #18822]
25433 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25434 libc_hidden_def.
25435
25436 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25437
25438 [BZ #18822]
25439 * csu/version.c (__libc_print_version): Add attribute_hidden.
25440
25441 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25442
25443 [BZ #18822]
25444 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25445
25446 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25447
25448 [BZ #18822]
25449 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25450
25451 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25452
25453 [BZ #18822]
25454 * nscd/nscd_helper.c (__nis_hash): New prototype.
25455
25456 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25457
25458 [BZ #18822]
25459 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25460 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25461 libc_hidden_def.
25462 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25463 * termios/tcgetattr.c (__tcgetattr): Likewise.
25464
25465 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25466
25467 [BZ #18822]
25468 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25469 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25470 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25471 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25472 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25473
25474 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25475
25476 [BZ #18822]
25477 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25478
25479 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25480
25481 [BZ #18822]
25482 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25483 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25484
25485 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25486
25487 [BZ #18822]
25488 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25489
25490 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25491
25492 [BZ #18822]
25493 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25494 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25495
25496 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25497
25498 [BZ #18822]
25499 * include/ifreq.h: New file.
25500 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25501 (__ifreq): Likewise.
25502 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25503 (__ifreq): Likewise.
25504
25505 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25506
25507 [BZ #18822]
25508 * include/idna.h: New file.
25509 * inet/getnameinfo.c: Include <idna.h> instead of
25510 <libidn/idna.h>.
25511 (__idna_to_unicode_lzlz): Removed.
25512 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25513 <libidn/idna.h>.
25514 (__idna_to_ascii_lz): Removed.
25515 (__idna_to_unicode_lzlz): Likewise.
25516
25517 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25518
25519 [BZ #18822]
25520 * include/plural-exp.h: New file.
25521 * intl/plural-exp.c: Include <plural-exp.h> instead of
25522 "plural-exp.h".
25523
25524 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25525
25526 [BZ #18822]
25527 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25528 "getsourcefilter.h".
25529 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25530 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25531 "getsourcefilter.h".
25532 (__get_sol): Removed.
25533
25534 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25535
25536 [BZ #18822]
25537 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25538 to ...
25539 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25540
25541 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25542
25543 [BZ #18822]
25544 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25545 attribute_hidden.
25546
25547 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25548
25549 [BZ #18822]
25550 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25551
25552 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25553
25554 [BZ #18822]
25555 * include/search.h (__tdestroy): Add libc_hidden_proto.
25556 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25557
25558 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25559
25560 [BZ #18822]
25561 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25562
25563 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25564
25565 [BZ #18822]
25566 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25567 attribute_hidden.
25568
25569 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25570
25571 [BZ #18822]
25572 * include/signal.h (__kill): Add libc_hidden_proto.
25573 (__sigblock): Likewise.
25574 (__sigprocmask): Likewise.
25575 (__sigaltstack): Likewise.
25576 * signal/kill.c (__kill): Add libc_hidden_def.
25577 * signal/sigblock.c (__sigblock): Likewise.
25578 * signal/sigprocmask.c (__sigprocmask): Likewise.
25579 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25580 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25581 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25582 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25583 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25584 Likewise.
25585 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25586 Likewise.
25587 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25588 (__sigprocmask): Likewise.
25589 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25590 Likewise.
25591 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25592 (__sigprocmask): Likewise.
25593 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25594 Likewise.
25595
25596 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25597
25598 [BZ #18822]
25599 * include/string.h (__strsep): Add libc_hidden_proto.
25600 * string/strsep.c (__strsep): Add libc_hidden_def.
25601
25602 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25603
25604 [BZ #18822]
25605 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25606 attribute_hidden.
25607 (__spawni): Likewise.
25608
25609 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25610
25611 [BZ #18822]
25612 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25613 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25614 libc_hidden_def.
25615
25616 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25617
25618 [BZ #18822]
25619 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25620
25621 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25622
25623 [BZ #18822]
25624 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25625 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25626 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25627 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25628 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25629 Likewise.
25630 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25631 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25632
25633 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25634
25635 [BZ #18822]
25636 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25637 (__dcigettext): Likewise.
25638
25639 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25640
25641 [BZ #18822]
25642 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25643 libc_hidden_proto.
25644 (__get_nprocs): Likewise.
25645 (__get_phys_pages): Likewise.
25646 (__get_avphys_pages): Likewise.
25647 (__get_child_max): Add attribute_hidden.
25648 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25649 (__get_nprocs): Likewise.
25650 (__get_phys_pages): Likewise.
25651 (__get_avphys_pages): Likewise.
25652 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25653 libc_hidden_def.
25654 (__get_nprocs): Likewise.
25655 (__get_phys_pages): Likewise.
25656 (__get_avphys_pages): Likewise.
25657 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25658 libc_hidden_def.
25659 (__get_nprocs_conf): Likewise.
25660 (__get_phys_pages): Likewise.
25661 (__get_avphys_pages): Likewise.
25662
25663 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25664
25665 [BZ #18822]
25666 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25667 attribute_hidden.
25668 (__netlink_close): Likewise.
25669 (__netlink_free_handle): Likewise.
25670 (__netlink_request): Likewise.
25671
25672 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25673
25674 [BZ #18822]
25675 * include/rpc/rpc.h (__rpc_thread_variables): Add
25676 attribute_hidden.
25677 (__rpc_thread_svc_cleanup): Likewise.
25678 (__rpc_thread_clnt_cleanup): Likewise.
25679 (__rpc_thread_key_cleanup): Likewise.
25680
25681 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25682
25683 [BZ #18822]
25684 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25685 (__writev): Likewise.
25686 * misc/readv.c (__readv): Add libc_hidden_def.
25687 * misc/writev.c (__writev): Likewise.
25688 * sysdeps/posix/readv.c (__readv): Likewise.
25689 * sysdeps/posix/writev.c (__writev): Likewise.
25690 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25691 (__readv): Likewise.
25692 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25693 (__writev): Likewise.
25694
25695 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25696
25697 [BZ #18822]
25698 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25699 (__regcomp): Add libc_hidden_proto.
25700 (__regexec): Likewise.
25701 (__regfree): Likewise.
25702 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25703 (__regfree): Likewise.
25704 * posix/regexec.c (__regexec): Likewise.
25705
25706 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25707
25708 [BZ #18822]
25709 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25710 (__getutent): Likewise.
25711 (__getutid): Likewise.
25712 (__getutline): Likewise.
25713 (__pututline): Likewise.
25714 (__getutent_r): Likewise.
25715 (__getutid_r): Likewise.
25716 (__getutline_r): Likewise.
25717 (__utmpname): Add attribute_hidden.
25718 (__setutent): Likewise.
25719 (__endutent): Likewise.
25720 * login/getutent.c (__getutent): Add libc_hidden_def.
25721 * login/getutent_r.c (__getutent_r): Likewise.
25722 (__pututline): Likewise.
25723 * login/getutid.c (__getutid): Likewise.
25724 * login/getutid_r.c (__getutid_r): Likewise.
25725 * login/getutline.c (__getutline): Likewise.
25726 * login/getutline_r.c (__getutline_r): Likewise.
25727 * login/updwtmp.c (__updwtmp): Likewise.
25728
25729 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25730
25731 [BZ #18822]
25732 * include/dirent.h (__opendir): Always add attribute_hidden.
25733 (__fdopendir): Likewise.
25734 (__closedir): Likewise.
25735 (__readdir): Likewise.
25736 (__readdir64): Add libc_hidden_proto.
25737 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25738 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25739 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25740 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25741 New alias.
25742
25743 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25744
25745 [BZ #18822]
25746 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25747 * include/netdb.h (__gethostbyaddr_r): Likewise.
25748 (__gethostbyname_r): Likewise.
25749 (__gethostbyname2_r): Likewise.
25750 (__getnetbyaddr_r): Likewise.
25751 (__getnetbyname_r): Likewise.
25752 (__getservbyname_r): Likewise.
25753 (__getservbyport_r): Likewise.
25754 (__getprotobyname_r): Likewise.
25755 (__getprotobynumber_r): Likewise.
25756 (__getnetgrent_r): Likewise.
25757 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25758 (__getrpcbynumber_r): Likewise.
25759 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25760
25761 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25762
25763 [BZ #18822]
25764 * include/stdio.h (__fcloseall): Add attribute_hidden.
25765 (__getline): Likewise.
25766 (__path_search): Likewise.
25767 (__gen_tempname): Likewise.
25768 (__libc_message): Likewise.
25769 (__flockfile): Likewise.
25770 (__funlockfile): Likewise.
25771 (__fxprintf): Likewise.
25772 (__fxprintf_nocancel): Likewise.
25773
25774 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25775
25776 [BZ #18822]
25777 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25778 (__sgetsgent_r): Likewise.
25779
25780 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25781
25782 [BZ #18822]
25783 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25784 (__statfs64): Likewise.
25785 (__fstatfs64): Likewise.
25786 * include/sys/statvfs.h (__statvfs64): Likewise.
25787 (__fstatvfs64): Likewise.
25788 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25789 (__statfs_filesize_max): Likewise.
25790 (__statfs_symlinks): Likewise.
25791 (__statfs_chown_restricted): Likewise.
25792
25793 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25794
25795 [BZ #18822]
25796 * include/time.h (__tzstring): Add attribute_hidden.
25797 (__tzfile_read): Likewise.
25798 (__tzfile_compute): Likewise.
25799 (__tzfile_default): Likewise.
25800 (__tzset_parse_tz): Likewise.
25801 (__offtime): Likewise.
25802 (__asctime_r): Likewise.
25803 (__tzset): Likewise.
25804 (__tz_convert): Likewise.
25805 (__getdate_r): Likewise.
25806 (__getclktck): Likewise.
25807
25808 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25809
25810 [BZ #18822]
25811 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25812 (__nscd_unmap): Likewise.
25813 (__nscd_cache_search): Likewise.
25814 (__nscd_get_nl_timestamp): Likewise.
25815 (__nscd_getpwnam_r): Likewise.
25816 (__nscd_getpwuid_r): Likewise.
25817 (__nscd_getgrnam_r): Likewise.
25818 (__nscd_getgrgid_r): Likewise.
25819 (__nscd_gethostbyname_r): Likewise.
25820 (__nscd_gethostbyname2_r): Likewise.
25821 (__nscd_gethostbyaddr_r): Likewise.
25822 (__nscd_getai): Likewise.
25823 (__nscd_getgrouplist): Likewise.
25824 (__nscd_getservbyname_r): Likewise.
25825 (__nscd_getservbyport_r): Likewise.
25826 (__nscd_innetgr): Likewise.
25827 (__nscd_setnetgrent): Likewise.
25828
25829 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25830
25831 [BZ #18822]
25832 * include/gmp.h: Declare internal functions only if _ISOMAC is
25833 undefined.
25834 (__mpn_extract_double): Add attribute_hidden.
25835 (__mpn_extract_long_double): Likewise.
25836 (__mpn_extract_float128): Likewise.
25837 (__mpn_construct_float): Likewise.
25838 (__mpn_construct_double): Likewise.
25839 (__mpn_construct_long_double): Likewise.
25840 (__mpn_construct_float128): Likewise.
25841 (mpn_add_1): Likewise.
25842 (mpn_addmul_1): Likewise.
25843 (mpn_add_n): Likewise.
25844 (mpn_cmp): Likewise.
25845 (mpn_divrem): Likewise.
25846 (mpn_lshift): Likewise.
25847 (mpn_mul): Likewise.
25848 (mpn_mul_1): Likewise.
25849 (mpn_rshift): Likewise.
25850 (mpn_sub_1): Likewise.
25851 (mpn_submul_1): Likewise.
25852 (mpn_sub_n): Likewise.
25853
25854 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25855
25856 [BZ #18822]
25857 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25858 (__wcscat): Likewise.
25859 (__btowc): Likewise.
25860 (__wcrtomb): Likewise.
25861 (__mbsrtowcs): Likewise.
25862 (__wcsrtombs): Likewise.
25863 (__mbsnrtowcs): Likewise.
25864 (__wcsnrtombs): Likewise.
25865 (__wcsncpy): Likewise.
25866 (__wcpncpy): Likewise.
25867 (__wmemcpy): Likewise.
25868 (__wmempcpy): Likewise.
25869 (__wmemmove): Likewise.
25870 (__wcschrnul): Likewise.
25871 (__vfwscanf): Likewise.
25872 (__vswprintf): Likewise.
25873 (__fwprintf): Likewise.
25874 (__vfwprintf): Likewise.
25875
25876 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25877
25878 [BZ #18822]
25879 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25880 (__getgrgid_r): Likewise.
25881 (__getgrnam_r): Likewise.
25882 * include/pwd.h (__getpwuid_r): Likewise.
25883 (__getpwnam_r): Likewise.
25884 (__fgetpwent_r): Likewise.
25885 * include/shadow.h (__getspnam_r): Likewise.
25886 (__sgetspent_r): Likewise.
25887 (__fgetspent_r): Likewise.
25888
25889 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25890
25891 [BZ #18822]
25892 * include/unistd.h (__access): Add attribute_hidden.
25893 (__lseek64): Likewise.
25894 (__libc_pread64): Likewise.
25895 (__pipe2): Likewise.
25896 (__sleep): Likewise.
25897 (__chdir): Likewise.
25898 (__fchdir): Likewise.
25899 (__getcwd): Likewise.
25900 (__rmdir): Likewise.
25901 (__execvpe): Likewise.
25902 (__execve): Likewise.
25903 (__setsid): Likewise.
25904 (__getuid): Likewise.
25905 (__geteuid): Likewise.
25906 (__getgid): Likewise.
25907 (__getegid): Likewise.
25908 (__getgroups): Likewise.
25909 (__group_member): Likewise.
25910 (__ttyname_r): Likewise.
25911 (__isatty): Likewise.
25912 (__readlink): Likewise.
25913 (__unlink): Likewise.
25914 (__gethostname): Likewise.
25915 (__profil): Likewise.
25916 (__getdtablesize): Likewise.
25917 (__brk): Likewise.
25918 (__ftruncate): Likewise.
25919 (__ftruncate64): Likewise.
25920
25921 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25922
25923 [BZ #18822]
25924 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25925 * argp/argp-fs-xinl.c: Likewise.
25926 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25927 * argp/argp-parse.c: Include <argp.h>.
25928 * argp/argp-xinl.c: Likewise.
25929 * include/argp-fmtstream.h: New file.
25930 * include/argp.h (__argp_error): Add attribute_hidden.
25931 (__argp_failure): Likewise.
25932 (__argp_input): Likewise.
25933 (__argp_state_help): Likewise.
25934
25935 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25936
25937 [BZ #18822]
25938 * include/wchar.h (____wcstof_l_internal): New prototype.
25939 (____wcstod_l_internal): Likewise.
25940 (____wcstold_l_internal): Likewise.
25941 (____wcstol_l_internal): Likewise.
25942 (____wcstoul_l_internal): Likewise.
25943 (____wcstoll_l_internal): Likewise.
25944 (____wcstoull_l_internal): Likewise.
25945 (____wcstof128_l_internal): Likewise.
25946 * sysdeps/ieee754/float128/wcstof128.c
25947 (____wcstof128_l_internal): Removed.
25948 * sysdeps/ieee754/float128/wcstof128_l.c
25949 (____wcstof128_l_internal): Likewise.
25950 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25951 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25952 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25953 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25954 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25955 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25956 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25957 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25958 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25959 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25960
25961 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25962
25963 [BZ #18822]
25964 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25965 instead of <sys/statvfs.h>.
25966 (__internal_statvfs): Removed.
25967 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25968 instead of <sys/statvfs.h>.
25969 (__internal_statvfs64): Removed.
25970 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25971 "internal_statvfs.h" instead of <sys/statvfs.h>.
25972 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25973 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25974 instead of <sys/statvfs.h>.
25975 (__internal_statvfs): Removed.
25976 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25977 instead of <sys/statvfs.h>.
25978 (__internal_statvfs64): Removed.
25979
25980 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25981
25982 [BZ #18822]
25983 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25984 (__gconv_close): Likewise.
25985 (__gconv): Likewise.
25986 (__gconv_find_transform): Likewise.
25987 (__gconv_lookup_cache): Likewise.
25988 (__gconv_compare_alias_cache): Likewise.
25989 (__gconv_load_cache): Likewise.
25990 (__gconv_get_path): Likewise.
25991 (__gconv_close_transform): Likewise.
25992 (__gconv_release_cache): Likewise.
25993 (__gconv_find_shlib): Likewise.
25994 (__gconv_release_shlib): Likewise.
25995 (__gconv_get_builtin_trans): Likewise.
25996 (__gconv_compare_alias): Likewise.
25997 * include/dlfcn.h (_dlerror_run): Likewise.
25998 * include/stdio.h (__fortify_fail_abort): Likewise.
25999 * include/time.h (__tz_compute): Likewise.
26000 (__strptime_internal): Likewise.
26001 * intl/gettextP.h (_nl_find_domain): Likewise.
26002 (_nl_load_domain): Likewise.
26003 (_nl_find_msg): Likewise.
26004 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26005 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26006 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26007 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26008 (__gai_find_request): Likewise.
26009 (__gai_remove_request): Likewise.
26010 (__gai_notify): Likewise.
26011 (__gai_notify_only): Likewise.
26012 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26013 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26014 (_dl_non_dynamic_init): Likewise.
26015 (_dl_aux_init): Likewise.
26016 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26017 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26018 Likewise.
26019 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26020 (__wcsmbs_clone_conv): Likewise.
26021 (__wcsmbs_named_conv): Likewise.
26022
26023 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26024
26025 [BZ #18822]
26026 * include/stdlib.h (__random): Add attribute_hidden.
26027 (__random_r): Likewise.
26028 (__srandom_r): Likewise.
26029 (__initstate_r): Likewise.
26030 (__setstate_r): Likewise.
26031 (__erand48_r): Likewise.
26032 (__nrand48_r): Likewise.
26033 (__jrand48_r): Likewise.
26034 (__srand48_r): Likewise.
26035 (__seed48_r): Likewise.
26036 (__lcong48_r): Likewise.
26037 (__drand48_iterate): Likewise.
26038 (__setenv): Likewise.
26039 (__unsetenv): Likewise.
26040 (__clearenv): Likewise.
26041 (__ptsname_r): Likewise.
26042 (__posix_openpt): Likewise.
26043 (__add_to_environ): Likewise.
26044 (__realpath): Add libc_hidden_proto.
26045 (__ecvt_r): Likewise.
26046 (__fcvt_r): Likewise.
26047 (__qecvt_r): Likewise.
26048 (__qfcvt_r): Likewise.
26049 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26050 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26051
26052 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26053
26054 [BZ #18822]
26055 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26056 * include/time.h (__mktime_internal): Likewise.
26057 * libio/iolibio.h (__fopen_internal): Likewise.
26058
26059 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26060
26061 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26062 pointer in frame.
26063 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26064 Correct offset used to restore PIC register.
26065
26066 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26067
26068 [BZ libc/22165]
26069 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26070 code to load address of __getcontext_ret when generating PIC code.
26071
26072 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26073
26074 * elf/Makefile (tests-static-internal): Add
26075 tst-tls1-static-non-pie.
26076 (LDFLAGS-tst-tls1-static-non-pie): New.
26077 * elf/tst-tls1-static-non-pie.c: New file.
26078
26079 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26080
26081 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26082 (asinh): Define using libm_alias_double.
26083 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26084 (cbrt): Define using libm_alias_double.
26085 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26086 <libm-alias-double.h>.
26087 (copysign): Define using libm_alias_double.
26088 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26089 (erf): Define using libm_alias_double.
26090 (erfc): Likewise.
26091 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26092 (expm1): Define using libm_alias_double.
26093 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26094 (fabs): Define using libm_alias_double.
26095 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26096 libm_alias_double.
26097 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26098 <libm-alias-double.h>.
26099 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26100 libm_alias_double.
26101 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26102 <libm-alias-double.h>.
26103 (getpayload): Define using libm_alias_double.
26104 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26105 <libm-alias-double.h>.
26106 (llrint): Define using libm_alias_double.
26107 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26108 (lrint): Define using libm_alias_double.
26109 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26110 <libm-alias-double.h>.
26111 (nextup): Define using libm_alias_double.
26112 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26113 <libm-alias-double.h>.
26114 (roundeven): Define using libm_alias_double.
26115 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26116 libm_alias_double.
26117 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26118 <libm-alias-double.h>.
26119 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26120 using libm_alias_double.
26121 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26122 (cos): Define using libm_alias_double.
26123 (sin): Likewise.
26124 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26125 <libm-alias-double.h>.
26126 (sincos): Define using libm_alias_double.
26127 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26128 (tanh): Define using libm_alias_double.
26129 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26130 <libm-alias-double.h>.
26131 (totalorder): Define using libm_alias_double.
26132 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26133 <libm-alias-double.h>.
26134 (totalordermag): Define using libm_alias_double.
26135 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26136 libm_alias_double.
26137 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26138 libm_alias_double.
26139 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26140 <libm-alias-double.h>.
26141 (getpayload): Define using libm_alias_double.
26142 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26143 <libm-alias-double.h>.
26144 (roundeven): Define using libm_alias_double.
26145 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26146 <libm-alias-double.h>.
26147 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26148 <libm-alias-double.h>.
26149 (totalorder): Define using libm_alias_double.
26150 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26151 <libm-alias-double.h>.
26152 (totalordermag): Define using libm_alias_double.
26153 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26154 libc compat symbol here.
26155 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26156 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26157 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26158 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26159 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26160 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26161 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26162 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26163 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26164 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26165
26166 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26167
26168 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26169 _dl_relocate_static_pie instead of _dl_start to compute load
26170 address in static PIE. Return 0 if _DYNAMIC is undefined for
26171 static executable.
26172
26173 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26174
26175 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26176 _DYNAMIC is undefined for static executable.
26177
26178 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26179
26180 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26181
26182 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26183
26184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26185
26186 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26187
26188 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26189 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26190 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26191 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26192 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26193 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26194 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26195 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26196 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26197 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26198 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26199 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26200 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26201 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26202 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26203 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26204 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26205
26206 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26207
26208 * math/bits/cmathcalls.h (cimag): Remove inline.
26209 (creal): Remove inline.
26210 (conj): Remove inline.
26211
26212 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26213
26214 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26215 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26216 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26217 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26218 (issignalingf_inline): Likewise.
26219 (POWF_LOG2_TABLE_BITS): Likewise.
26220 (POWF_LOG2_POLY_ORDER): Likewise.
26221 (POWF_SCALE_BITS): Likewise.
26222 (POWF_SCALE): Likewise.
26223 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26224 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26225 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26226
26227 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26228
26229 * math/Makefile (type-float-routines): Add e_log2f_data.
26230 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26231 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26232 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26233 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26234 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26235 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26236 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26237
26238 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26239
26240 * math/Makefile (type-float-routines): Add e_logf_data.
26241 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26242 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26243 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26244 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26245 * sysdeps/i386/fpu/e_logf_data.c: New file.
26246 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26247 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26248
26249 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26250
26251 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26252 undefined _DYNAMIC in PIE libc.a.
26253 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26254 Likewse.
26255
26256 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26257
26258 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26259 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26260 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26261 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26262 (__signbit): Remove.
26263 (__signbitl): Remove.
26264 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26265 (__signbit): Remove.
26266 (__signbitl): Remove.
26267 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26268 (__signbit): Remove.
26269 (__signbitl): Remove.
26270 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26271 (__signbit): Remove.
26272 (__signbitl): Remove.
26273 * sysdeps/tile/bits/mathinline.h: Delete file.
26274 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26275 (__signbit): Remove.
26276 (__signbitl): Remove.
26277
26278 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26279
26280 * math/math.h: Improve handling of C99 isgreater macros.
26281 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26282 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26283 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26284 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26285 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26286
26287 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26288
26289 * sysdeps/aarch64/libm-test-ulps: Update.
26290
26291 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26292
26293 [BZ #22225]
26294 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26295 math_opt_barrier on argument when doing arithmetic on it.
26296 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26297 Likewise. Use math_force_eval not math_opt_barrier after
26298 arithmetic.
26299 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26300 math_opt_barrier on argument when doing arithmetic on it.
26301 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26302 Likewise.
26303
26304 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26305
26306 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26307 libc_hidden_def.
26308 (__freeifaddrs): Likewise.
26309
26310 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26311
26312 * include/dirent.h (__dirfd): New declaration.
26313 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26314 alias.
26315 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26316 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26317 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
26318 * include/unistd.h (__revoke): New declaration.
26319 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26320 alias.
26321 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26322 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26323 revoke.
26324 * include/dirent.h (__seekdir): New declaration.
26325 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26326 redefine as weak alias.
26327 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26328 of seekdir.
26329 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26330 and use libc_hidden_def on them.
26331 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26332 them.
26333 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26334 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26335 instead of getifaddrs and freeifaddrs.
26336
26337 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26338
26339 [BZ #18822]
26340 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26341 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26342 (__dso_handle): Remove declaration.
26343 * dlfcn/tstatexit.c (__dso_handle): Removed.
26344 (main): Don't check __dso_handle.
26345 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26346 (main): Don't check __dso_handle.
26347 * include/dso_handle.h: New file.
26348 * malloc/mtrace.c: Include <dso_handle.h>.
26349 (mtrace): Pass __dso_handle directly.
26350 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26351 (__dso_handle): Remove declaration.
26352 (__pthread_atfork): Pass __dso_handle directly.
26353 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26354 (__dso_handle): Removed.
26355 * posix/wordexp-test.c: Include <dso_handle.h>.
26356 (__dso_handle): Remove declaration.
26357 (__app_register_atfork): Pass __dso_handle directly.
26358 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26359 (__dso_handle): Remove declaration.
26360 (at_quick_exit): Pass __dso_handle directly.
26361 * stdlib/atexit.c: Include <dso_handle.h>.
26362 (__dso_handle): Remove declaration.
26363 (atexit): Pass __dso_handle directly.
26364 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26365 (__dso_handle): Removed.
26366
26367 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26368
26369 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26370 using VDSO.
26371
26372 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26373
26374 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26375 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26376 values to correct default value for given type.
26377
26378 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26379
26380 [BZ #22101]
26381 * elf/Makefile (tests): Add tst-debug1.
26382 ($(objpfx)tst-debug1): New.
26383 ($(objpfx)tst-debug1.out): Likewise.
26384 ($(objpfx)tst-debug1mod1.so): Likewise.
26385 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26386 with p_filesz == 0.
26387 * elf/tst-debug1.c: New file.
26388
26389 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26390
26391 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26392 Define using __ifunc.
26393
26394 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26395
26396 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26397 exp2f() values.
26398
26399 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26400
26401 [BZ #22156]
26402 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26403
26404 2017-09-26 Florian Weimer <fweimer@redhat.com>
26405
26406 * resolv/Makefile (tests-internal): Fix typo in comment.
26407
26408 2017-09-26 Florian Weimer <fweimer@redhat.com>
26409
26410 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26411
26412 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26413
26414 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26415 Use an union instead of a max_align_t array for __space,
26416 so that __space is the same size on all platforms.
26417 * malloc/scratch_buffer_grow_preserve.c
26418 (__libc_scratch_buffer_grow_preserve): Likewise.
26419
26420 [BZ #22183]
26421 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26422 version to 2.
26423 * posix/Makefile (routines): Add glob-lstat-compat and
26424 glob64-lstat-compat.
26425 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26426 * posix/glob-lstat-compat.c: New file.
26427 * posix/glob64-lstat-compat.c: Likewise.
26428 * posix/tst-glob_lstat_compat.c: Likewise.
26429 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26430 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26431 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26432 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26433 Likewise.
26434 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26435 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26436 * posix/glob.c (glob_lstat): New function.
26437 (glob): Rename to __glob and add versioned symbol to 2.27.
26438 (glob_in_dir): Use glob_lstat.
26439 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26440 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26441 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26442 2.27.
26443 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26444 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26445 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26446 gl_lstat on glob call.
26447 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26448 and glob64 symbols.
26449 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26450 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26451 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26452 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26453 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26454 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26455 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26456 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26457 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26458 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26459 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26460 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26462 Likewise.
26463 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26465 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26466 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26467 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26468 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26469 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26472 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26473 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26474 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26475
26476 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26477
26478 * configure.ac (AS): Require binutils 2.25 or later.
26479 * configure: Regenerated.
26480
26481 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26482
26483 [BZ #22207]
26484 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26485 VM size.
26486
26487 2017-09-25 DJ Delorie <dj@redhat.com>
26488
26489 [BZ #22161]
26490 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26491 resetting timeout.
26492
26493 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26494
26495 * sysdeps/ieee754/dbl-64/sincos32.h
26496 [SINCCOS32_H]: Remove define.
26497 [SINCOS32_H]: Define.
26498
26499 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26500
26501 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26502 (exp2f): Likewise.
26503 * math/w_exp2f.c: New file.
26504 * math/w_expf.c: New file.
26505 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26506 * math/w_expf_compat.c (__expf_compat): Likewise.
26507 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26508 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26509 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26510 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26511 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26512 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26513 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26514 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26515 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26516 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26517 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26518 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26519 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26520 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26522 Likewise.
26523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26524 Likewise.
26525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26526 Likewise.
26527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26528 Likewise.
26529 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26530 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26531 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26532 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26533 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26535 Likewise.
26536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26537 Likewise.
26538 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26539 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26540 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26541
26542 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26543
26544 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26545 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26546 (roundtoint, converttoint): Likewise.
26547 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26548 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26549 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26550 * sysdeps/ieee754/flt-32/math_config.h: New file.
26551 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26552 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26553 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26554 * sysdeps/i386/fpu/math_errf.c: New file.
26555 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26556 * sysdeps/ia64/fpu/math_errf.c: New file.
26557 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26558 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26559
26560 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26561
26562 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26563 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26564 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26565 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26566 to make sure that these symbols are defined.
26567 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26568 of <limits.h>
26569 (__need_NULL): Do not define.
26570 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26571 alignment.
26572 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26573 CMGROUP_MAX, cmsgcred): Do not define.
26574 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26575 NULL.
26576 * bits/socket.h: Likewise.
26577 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26578 __gettimeofday instead of gettimeofday.
26579 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26580 instead of settimeofday.
26581
26582 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26583
26584 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26585 (asinhf): Define using libm_alias_float.
26586 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26587 (atanf): Define using libm_alias_float.
26588 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26589 (cbrtf): Define using libm_alias_float.
26590 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26591 (ceilf): Define using libm_alias_float.
26592 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26593 <libm-alias-float.h>.
26594 (copysignf): Define using libm_alias_float.
26595 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26596 (cosf): Define using libm_alias_float.
26597 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26598 (erff): Define using libm_alias_float.
26599 (erfcf): Likewise.
26600 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26601 (expm1f): Define using libm_alias_float.
26602 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26603 (fabsf): Define using libm_alias_float.
26604 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26605 (floorf): Define using libm_alias_float.
26606 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26607 (frexpf): Define using libm_alias_float.
26608 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26609 libm_alias_float.
26610 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26611 <libm-alias-float.h>.
26612 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26613 libm_alias_float.
26614 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26615 <libm-alias-float.h>.
26616 (getpayloadf): Define using libm_alias_float.
26617 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26618 <libm-alias-float.h>.
26619 (llrintf): Define using libm_alias_float.
26620 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26621 <libm-alias-float.h>.
26622 (llroundf): Define using libm_alias_float.
26623 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26624 (logbf): Define using libm_alias_float.
26625 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26626 (lrintf): Define using libm_alias_float.
26627 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26628 (lroundf): Define using libm_alias_float.
26629 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26630 (modff): Define using libm_alias_float.
26631 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26632 <libm-alias-float.h>.
26633 (nearbyintf): Define using libm_alias_float.
26634 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26635 <libm-alias-float.h>.
26636 (nextafterf): Define using libm_alias_float.
26637 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26638 <libm-alias-float.h>.
26639 (nextupf): Define using libm_alias_float.
26640 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26641 <libm-alias-float.h>.
26642 (remquof): Define using libm_alias_float.
26643 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26644 (rintf): Define using libm_alias_float.
26645 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26646 <libm-alias-float.h>.
26647 (roundevenf): Define using libm_alias_float.
26648 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26649 (roundf): Define using libm_alias_float.
26650 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26651 using libm_alias_float.
26652 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26653 <libm-alias-float.h>.
26654 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26655 Define using libm_alias_float.
26656 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26657 <libm-alias-float.h>.
26658 (sincosf): Define using libm_alias_float.
26659 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26660 (sinf): Define using libm_alias_float.
26661 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26662 (tanf): Define using libm_alias_float.
26663 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26664 (tanhf): Define using libm_alias_float.
26665 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26666 <libm-alias-float.h>.
26667 (totalorderf): Define using libm_alias_float.
26668 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26669 <libm-alias-float.h>.
26670 (totalordermagf): Define using libm_alias_float.
26671 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26672 (truncf): Define using libm_alias_float.
26673 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26674 libm_alias_float.
26675 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26676 libm_alias_float.
26677
26678 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26679
26680 [BZ #22146]
26681 math/math.h: Let fpclassify use the builtin in C++ mode, even
26682 when optimazing for size.
26683
26684 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26685
26686 * csu/Makefile (generated): Do not add version-info.h.
26687 (before-compile): Likewise.
26688 (all-Banner-files): Remove variable.
26689 ($(objpfx)version-info.h): Remove rule.
26690 * csu/version.c (banner): Do not include "version-info.h".
26691 * libidn/Banner: Remove.
26692 * manual/contrib.texi (Simon Josefsson): New entry.
26693
26694 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26695
26696 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26697 Remove conditionals on LDBL_MANT_DIG.
26698 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26699 (__ieee754_lgammal_r): Likewise.
26700
26701 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26702
26703 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26704 _Float128 and L().
26705 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26706 _Float128 and L(). Replace _Float128 with long double and L(x)
26707 with xL, throughout the file.
26708 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26709 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26710 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26711 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26712
26713 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26714
26715 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26716 sysdeps/ieee754/ldbl-128ibm.
26717 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26718 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26719 of including it. Keep _Float128 and L() intact. These will be
26720 reviewed by a separate patch.
26721 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26722 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26723 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26724 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26725
26726 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26727
26728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26729 (__finitef128): Define to __redirect___finitef128.
26730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26731 (__isinff128): Define to __redirect___isinff128.
26732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26733 (__isnanf128): Define to __redirect___isnanf128.
26734
26735 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26736
26737 * sysdeps/powerpc/powerpc64le/Makefile
26738 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26739 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26740
26741 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26742 Carlos O'Donell <carlos@redhat.com>
26743
26744 [BZ #22180]
26745 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26746 * stdlib/test-dlclose-exit-race.c: New file.
26747 * stdlib/test-dlclose-exit-race-helper.c: New file.
26748 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26749
26750 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26751
26752 * crypt/Banner: Remove file.
26753 * nptl/Banner: Likewise.
26754 * resolv/Banner: Likewise.
26755 * soft-fp/Banner: Likewise.
26756 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26757 ($(objpfx)version.d): Remove dependency on banner.h.
26758 ($(objpfx)version.os): Likewise.
26759 * nptl/version.c (banner): Do not include banner.h.
26760 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26761 Jelinek and BIND code.
26762
26763 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26764 Carlos O'Donell <carlos@redhat.com>
26765
26766 * support/xdlfcn.h: New file.
26767 * support/xdlfcn.c: New file.
26768 * support/Makefile (libsupport-routines): Add xdlfcn.
26769 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26770
26771 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26772
26773 [BZ #20142]
26774 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26775 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26776 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26777 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26778 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26779 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26780 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26781 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26782
26783 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26784 Ricky Zhou <rickyz@google.com>
26785 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26786
26787 [BZ #14333]
26788 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26789 Remove atomics.
26790 (__new_exitfn): Fail registration when we finished at_exit processing.
26791 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26792 * stdlib/on_exit.c (__on_exit): Likewise.
26793 * stdlib/exit.c (__exit_funcs_done): New variable.
26794 (__run_exit_handlers): Use __exit_funcs_lock.
26795 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26796 declarations.
26797 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26798 (test-cxa_atexit-race, test-on_exit-race): New tests.
26799 * stdlib/test-atexit-race-common.c: New file.
26800 * stdlib/test-atexit-race.c: New file.
26801 * stdlib/test-at_quick_exit-race.c: New file.
26802 * stdlib/test-cxa_atexit-race.c: New file.
26803 * stdlib/test-on_exit-race.c: New file.
26804
26805 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26806
26807 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26808 * benchtests/exp2f-inputs: Copy of expf-inputs.
26809 * benchtests/log2f-inputs: Copy of logf-inputs.
26810
26811 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26812
26813 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26814 Explicitly take address of first element of array arguments in
26815 call to INLINE_SYSCALL.
26816
26817 2017-09-19 Andreas Schwab <schwab@suse.de>
26818
26819 [BZ #22134]
26820 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26821 execveat first.
26822 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26823 unimplemented.
26824 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26825 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26826 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26827 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26828 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26829 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26830 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26831 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26832 * posix/Makefile (tests): Add tst-fexecve.
26833 * posix/tst-fexecve.c: New file.
26834
26835 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26836
26837 * benchtests/Makefile: Add logf benchmark.
26838 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26839
26840 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26841
26842 * benchtests/Makefile: Add expf benchmark.
26843 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26844
26845 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26846
26847 * csu/Makefile: Add -funwind-tables to libc-start.c.
26848 * debug/Makefile: Add -funwind-tables to backtrace.c.
26849 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26850 * sysdeps/arm/Makefile: Likewise.
26851 * sysdeps/i386/Makefile: Likewise.
26852 * sysdeps/m68k/Makefile: Likewise.
26853 * sysdeps/mips/Makefile: Likewise.
26854 * sysdeps/nios2/Makefile: Likewise.
26855 * sysdeps/sh/Makefile: Likewise.
26856 * sysdeps/sparc/Makefile: Likewise.
26857
26858 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26859
26860 * benchtests/Makefile (bench-math): Add trunc and truncf.
26861 (CFLAGS-bench-trunc.c): New variable.
26862 (CFLAGS-bench-truncf.c): Likewise.
26863 * benchtests/trunc-inputs: New file.
26864 * benchtests/truncf-inputs: Likewise.
26865
26866 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26867
26868 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26869
26870 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26871
26872 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26873 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26874 redefine.
26875 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26876 (exp10l): Define as weak alias.
26877 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26878 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26879 and redefine.
26880 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26881 (remainderl): Define as weak alias.
26882
26883 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26884 (fmal): Define using libm_alias_ldouble.
26885 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26886 (acoshl): Define using libm_alias_ldouble.
26887 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26888 (acosl): Define using libm_alias_ldouble.
26889 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26890 (asinl): Define using libm_alias_ldouble.
26891 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26892 (atan2l): Define using libm_alias_ldouble.
26893 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26894 (atanhl): Define using libm_alias_ldouble.
26895 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26896 (coshl): Define using libm_alias_ldouble.
26897 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26898 (exp10l): Define using libm_alias_ldouble.
26899 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26900 (exp2l): Define using libm_alias_ldouble.
26901 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26902 (expl): Define using libm_alias_ldouble.
26903 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26904 (fmodl): Define using libm_alias_ldouble.
26905 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26906 (hypotl): Define using libm_alias_ldouble.
26907 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26908 (j0l): Define using libm_alias_ldouble.
26909 (y0l): Likewise.
26910 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26911 (j1l): Define using libm_alias_ldouble.
26912 (y1l): Likewise.
26913 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26914 (jnl): Define using libm_alias_ldouble.
26915 (ynl): Likewise.
26916 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26917 (log10l): Define using libm_alias_ldouble.
26918 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26919 (log2l): Define using libm_alias_ldouble.
26920 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26921 (logl): Define using libm_alias_ldouble.
26922 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26923 (powl): Define using libm_alias_ldouble.
26924 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26925 (remainderl): Define using libm_alias_ldouble.
26926 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26927 (sinhl): Define using libm_alias_ldouble.
26928 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26929 (sqrtl): Define using libm_alias_ldouble.
26930 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26931 (tgammal): Define using libm_alias_ldouble.
26932 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26933 (exp10l): Do not use long_double_symbol here.
26934 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26935 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26936 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26937 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26938 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26939 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26940 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26941 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26942 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26943 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26944 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26945 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26946 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26947 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26948 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26949 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26950 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26951 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26952 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26953 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26954 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26955 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26956
26957 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26958
26959 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26960 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26961
26962 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26963
26964 * io/read.c (read): Add libc_hidden_weak.
26965 * sysdeps/mach/hurd/read.c (read): Likewise.
26966 * io/write.c (write): Likewise.
26967 * sysdeps/mach/hurd/write.c (write): Likewise.
26968 * io/pread64.c (__pread64): Likewise.
26969 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26970 * posix/pread64.c (__pread64): Add libc_hidden_def.
26971
26972 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26973
26974 * benchtests/scripts/compare_strings.py: New option -g.
26975 (draw_graph): Print a message that a graph is being generated.
26976 (process_results): Generate graph only if -g is passed.
26977 (main): Process option -g.
26978
26979 * benchtests/scripts/compare_strings.py (process_results):
26980 Better spacing for output.
26981
26982 * benchtests/scripts/compare_strings.py: Use argparse.
26983 * benchtests/README: Document existence of compare_strings.py.
26984
26985 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26986
26987 * math/s_fma.c: Include <libm-alias-double.h>.
26988 (fma): Define using libm_alias_double.
26989 * math/s_nextafter.c: Include <libm-alias-double.h>.
26990 (nextafter): Define using libm_alias_double.
26991 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26992 (acos): Define using libm_alias_double.
26993 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26994 (aocsh): Define using libm_alias_double.
26995 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26996 (asin): Define using libm_alias_double.
26997 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26998 (atan2): Define using libm_alias_double.
26999 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27000 (atanh): Define using libm_alias_double.
27001 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27002 (cosh): Define using libm_alias_double.
27003 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27004 (exp10): Define using libm_alias_double.
27005 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27006 (exp2): Define using libm_alias_double.
27007 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27008 (exp): Define using libm_alias_double.
27009 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27010 (fmod): Define using libm_alias_double.
27011 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27012 (hypot): Define using libm_alias_double.
27013 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27014 (j0): Define using libm_alias_double.
27015 (y0): Likewise.
27016 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27017 (j1): Define using libm_alias_double.
27018 (y1): Likewise.
27019 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27020 (jn): Define using libm_alias_double.
27021 (yn): Likewise.
27022 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27023 (log10): Define using libm_alias_double.
27024 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27025 (log2): Define using libm_alias_double.
27026 * math/w_log_compat.c: Include <libm-alias-double.h>.
27027 (log): Define using libm_alias_double.
27028 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27029 (pow): Define using libm_alias_double.
27030 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27031 (remainder): Define using libm_alias_double.
27032 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27033 (sinh): Define using libm_alias_double.
27034 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27035 (sqrt): Define using libm_alias_double.
27036 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27037 (tgamma): Define using libm_alias_double.
27038 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27039 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27040 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27041 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27042 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27043 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27044 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27045 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27046 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27047 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27048 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27049 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27050 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27051 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27052 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27053 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27054 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27055 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27056 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27057 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27058 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27059 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27060 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27061 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27062 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27063
27064 * math/e_acoshl.c: Remove.
27065 * math/e_acosl.c: Likewise.
27066 * math/e_asinl.c: Likewise.
27067 * math/e_atan2l.c: Likewise.
27068 * math/e_atanhl.c: Likewise.
27069 * math/e_coshl.c: Likewise.
27070 * math/e_expl.c: Likewise.
27071 * math/e_fmodl.c: Likewise.
27072 * math/e_gammal_r.c: Likewise.
27073 * math/e_hypotl.c: Likewise.
27074 * math/e_j0l.c: Likewise.
27075 * math/e_j1l.c: Likewise.
27076 * math/e_jnl.c: Likewise.
27077 * math/e_lgammal_r.c: Likewise.
27078 * math/e_log10l.c: Likewise.
27079 * math/e_log2l.c: Likewise.
27080 * math/e_logl.c: Likewise.
27081 * math/e_powl.c: Likewise.
27082 * math/e_rem_pio2l.c: Likewise.
27083 * math/e_sinhl.c: Likewise.
27084 * math/e_sqrtf128.c: Likewise.
27085 * math/e_sqrtl.c: Likewise.
27086 * math/k_cosl.c: Likewise.
27087 * math/k_sinl.c: Likewise.
27088 * math/k_tanl.c: Likewise.
27089 * math/s_asinhl.c: Likewise.
27090 * math/s_atanl.c: Likewise.
27091 * math/s_cbrtl.c: Likewise.
27092 * math/s_erfl.c: Likewise.
27093 * math/s_expm1l.c: Likewise.
27094 * math/s_log1pl.c: Likewise.
27095 * math/s_tanhl.c: Likewise.
27096
27097 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27098
27099 [BZ #21745]
27100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27101 [$(subdir) = math] (sysdep_calls): New variable. Has the
27102 previous contents of sysdep_routines, but re-sorted..
27103 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27104 sysdep_calls.
27105 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27106 defined in sysdep_calls and replace by the respective m_* names.
27107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27108 (compat_symbol): Undefine to avoid duplicated compat symbols in
27109 libc.
27110
27111 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27112
27113 * math/s_fmaf.c: Include <libm-alias-float.h>.
27114 (fmaf): Define using libm_alias_float.
27115 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27116 (acosf): Define using libm_alias_float.
27117 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27118 (acoshf): Define using libm_alias_float.
27119 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27120 (asinf): Define using libm_alias_float.
27121 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27122 (atan2f): Define using libm_alias_float.
27123 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27124 (atanhf): Define using libm_alias_float.
27125 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27126 (coshf): Define using libm_alias_float.
27127 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27128 (exp10f): Define using libm_alias_float.
27129 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27130 (fmodf): Define using libm_alias_float.
27131 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27132 (hypotf): Define using libm_alias_float.
27133 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27134 (j0f): Define using libm_alias_float.
27135 (y0f): Likewise.
27136 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27137 (j1f): Define using libm_alias_float.
27138 (y1f): Likewise.
27139 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27140 (jnf): Define using libm_alias_float.
27141 (ynf): Likewise.
27142 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27143 (log10f): Define using libm_alias_float.
27144 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27145 (log2f): Define using libm_alias_float.
27146 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27147 (logf): Define using libm_alias_float.
27148 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27149 (powf): Define using libm_alias_float.
27150 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27151 (remainderf): Define using libm_alias_float.
27152 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27153 (sinhf): Define using libm_alias_float.
27154 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27155 (sqrtf): Define using libm_alias_float.
27156 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27157 (tgammaf): Define using libm_alias_float.
27158
27159 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27160
27161 * include/math.h (roundeven): Change hidden_proto call to
27162 __roundeven.
27163 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27164 alias.
27165 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27166 (y0): Rename to __y0 and define as weak alias.
27167 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27168 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27169 alias.
27170 (y0f): Rename to __y0f and define as weak alias.
27171 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27172 alias.
27173 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27174 (y1): Rename to __y1 and define as weak alias.
27175 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27176 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27177 alias.
27178 (y1f): Rename to __y1f and define as weak alias.
27179 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27180 alias.
27181 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27182 (yn): Rename to __yn and define as weak alias.
27183 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27184 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27185 alias.
27186 (ynf): Rename to __ynf and define as weak alias.
27187 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27188 (fromfp): Define as weak alias.
27189 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27190 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27191 (fromfpx): Define as weak alias.
27192 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27193 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27194 __getpayload and define as weak alias.
27195 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27196 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27197 __roundeven and define as weak alias.
27198 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27199 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27200 __setpayload.
27201 (setpayload): Define as weak alias.
27202 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27203 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27204 __setpayloadsig.
27205 (setpayloadsig): Define as weak alias.
27206 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27207 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27208 __totalorder and define as weak alias.
27209 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27210 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27211 to __totalordermag and define as weak alias.
27212 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27213 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27214 (ufromfp): Define as weak alias.
27215 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27216 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27217 __ufromfpx.
27218 (ufromfpx): Define as weak alias.
27219 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27220 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27221 Rename to __getpayload and define as weak alias.
27222 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27223 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27224 Rename to __roundeven and define as weak alias.
27225 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27226 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27227 Rename to __totalorder and define as weak alias.
27228 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27229 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27230 (totalordermag): Rename to __totalordermag and define as weak
27231 alias.
27232 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27233 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27234 macro.
27235 (__roundevenl): Likewise.
27236 (__totalorderl): Likewise.
27237 (__totalordermagl): Likewise
27238 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27239 __fromfpf128.
27240 (fromfpf128): Define as weak alias.
27241 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27242 __fromfpxf128.
27243 (fromfpxf128): Define as weak alias.
27244 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27245 __setpayloadf128.
27246 (setpayloadf128): Define as weak alias.
27247 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27248 __setpayloadsigf128.
27249 (setpayloadsigf128): Define as weak alias.
27250 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27251 __ufromfpf128.
27252 (ufromfpf128): Define as weak alias.
27253 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27254 __ufromfpxf128.
27255 (ufromfpxf128): Define as weak alias.
27256 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27257 (fromfpf): Define as weak alias.
27258 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27259 __fromfpxf.
27260 (fromfpxf): Define as weak alias.
27261 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27262 __getpayloadf and define as weak alias.
27263 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27264 __roundevenf and define as weak alias.
27265 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27266 __setpayloadf.
27267 (setpayloadf): Define as weak alias.
27268 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27269 __setpayloadsigf.
27270 (setpayloadsigf): Define as weak alias.
27271 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27272 __totalorderf and define as weak alias.
27273 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27274 Rename to __totalordermagf and define as weak alias.
27275 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27276 __ufromfpf.
27277 (ufromfpf): Define as weak alias.
27278 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27279 __ufromfpxf.
27280 (ufromfpxf): Define as weak alias.
27281 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27282 __fromfpl.
27283 (fromfpl): Define as weak alias.
27284 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27285 __fromfpxl.
27286 (fromfpxl): Define as weak alias.
27287 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27288 to __getpayloadl and define as weak alias.
27289 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27290 __roundevenl and define as weak alias.
27291 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27292 __setpayloadl.
27293 (setpayloadl): Define as weak alias.
27294 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27295 __setpayloadsigl.
27296 (setpayloadsigl): Define as weak alias.
27297 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27298 to __totalorderl and define as weak alias.
27299 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27300 Rename to __totalordermagl and define as weak alias.
27301 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27302 __ufromfpl.
27303 (ufromfpl): Define as weak alias.
27304 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27305 __ufromfpxl.
27306 (ufromfpxl): Define as weak alias.
27307 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27308 __fromfpl.
27309 (fromfpl): Define as weak alias.
27310 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27311 __fromfpxl.
27312 (fromfpxl): Define as weak alias.
27313 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27314 Rename to __getpayloadl and define as weak alias.
27315 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27316 to __roundevenl and define as weak alias. Call __roundeven
27317 instead of roundeven.
27318 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27319 __setpayloadl.
27320 (setpayloadl): Define as weak alias.
27321 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27322 __setpayloadsigl.
27323 (setpayloadsigl): Define as weak alias.
27324 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27325 Rename to __totalorderl and define as weak alias.
27326 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27327 Rename to __totalordermagl and define as weak alias.
27328 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27329 __ufromfpl.
27330 (ufromfpl): Define as weak alias.
27331 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27332 __ufromfpxl.
27333 (ufromfpxl): Define as weak alias.
27334 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27335 __fromfpl.
27336 (fromfpl): Define as weak alias.
27337 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27338 __fromfpxl.
27339 (fromfpxl): Define as weak alias.
27340 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27341 __getpayloadl and define as weak alias.
27342 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27343 __roundevenl and define as weak alias.
27344 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27345 __setpayloadl.
27346 (setpayloadl): Define as weak alias.
27347 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27348 __setpayloadsigl.
27349 (setpayloadsigl): Define as weak alias.
27350 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27351 __totalorderl and define as weak alias.
27352 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27353 Rename to __totalordermagl and define as weak alias.
27354 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27355 __ufromfpl.
27356 (ufromfpl): Define as weak alias.
27357 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27358 __ufromfpxl.
27359 (ufromfpxl): Define as weak alias.
27360
27361 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27362
27363 * benchtests/bench-string.h (realloc_bufs): New function.
27364 (test_init): Call it.
27365 * benchtests/bench-memset-large.c (do_test): Likewise.
27366 * benchtests/bench-memset.c (do_test): Likewise.
27367
27368 * benchtests/bench-memset-large.c: Print output in JSON
27369 format.
27370 * benchtests/bench-memset.c: Likewise.
27371
27372 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27373
27374 [BZ #21084]
27375 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27376 * iconvdata/Makefile: Add IBM858.
27377 * iconvdata/gconv-modules: Likewise.
27378 * iconvdata/tst-tables.sh: Likewise.
27379 * iconvdata/ibm858.c: New file.
27380 * localedata/charmaps/IBM858: Likewise.
27381
27382 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27383
27384 [BZ #22023]
27385 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27386 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27387
27388 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27389
27390 [BZ #22112]
27391 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27392 and add tel_int_fmt.
27393
27394 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27395
27396 * sysdeps/generic/libm-alias-float128.h: New file.
27397 * sysdeps/generic/math-type-macros-float128.h: Include
27398 <libm-alias-float128.h>.
27399 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27400
27401 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27402
27403 * sysdeps/generic/libm-alias-ldouble.h: New file.
27404 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27405 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27406 * sysdeps/generic/math-type-macros-ldouble.h: Include
27407 <libm-alias-ldouble.h>.
27408 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27409 libm_alias_ldouble.
27410
27411 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27412
27413 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27414 * math/w_exp_compat.c: ... here.
27415 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27416 * math/w_expf_compat.c: ... here.
27417 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27418 * math/w_expl_compat.c: ... here.
27419 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27420 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27421 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27422 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27423
27424 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27425
27426 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27427 redefine.
27428 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27429 macro.
27430 (ldexpl): Only define as compat symbol for libc, not libm.
27431 (scalbnl): Define as compat symbol for libc here.
27432 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27433 define for [IS_IN (libc)].
27434 (__ldexpl_2): Remove alias.
27435 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27436 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27437 name in long_double_symbol call.
27438 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27439 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27440 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27441 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27442 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27443 Remove macro.
27444 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27445 Define as compat symbol.
27446
27447 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27448
27449 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27450 * sysdeps/unix/sysv/linux/alpha/Makefile
27451 [$(subdir) = csu] (sysdep_routines): Remove rule.
27452
27453 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27454
27455 * sysdeps/generic/libm-alias-double.h: New file.
27456 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27457 * sysdeps/generic/math-type-macros-double.h: Include
27458 <libm-alias-double.h>.
27459 [declare_mgen_alias] (declare_mgen_alias): Define to use
27460 libm_alias_double.
27461 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27462 (M_LIBM_NEED_COMPAT): Remove macro.
27463 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27464 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27465 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27466 code.
27467 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27468 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27469 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27470 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27471 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27472 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27473 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27474 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27475 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27476 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27477 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27478 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27479 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27480 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27481 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27482 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27483 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27484 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27485 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27486 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27487 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27488 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27489 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27490 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27491 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27492 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27493 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27494 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27495 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27496 macro.
27497 (declare_mgen_alias): New macro.
27498 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27499 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27501 (M_LIBM_NEED_COMPAT): Remove macro.
27502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27503 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27504 <first-versions.h>.
27505 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27506 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27507
27508 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27509
27510 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27511 (declare_mgen_alias_2): Remove.
27512 * sysdeps/generic/math-type-macros-double.h
27513 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27514 Likewise.
27515 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27516 alias.
27517 (ldexp): Define with declare_mgen_alias.
27518 (scalbn): Likewise.
27519
27520 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27521
27522 * grp/initgroups.c: Include config.h.
27523 (DEFAULT_CONFIG): New macro.
27524 (internal_getgrouplist): Use DEFAULT_CONFIG.
27525 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27526 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27527 (DEFAULT_DEFCONFIG): New macro.
27528 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27529 * nss/grp-lookup.c: Include config.h
27530 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27531 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27532 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27533 * manual/nss.texi: Update default values section.
27534
27535 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27536
27537 [BZ #21967]
27538 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27539 New.
27540 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27541 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27542 Handle MathVec_Prefer_No_AVX512.
27543 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27544 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27545 is set.
27546
27547 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27548
27549 * posix/sched_primax.c (__sched_get_priority_max): Add
27550 libc_hidden_def.
27551 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27552 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27553 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27554 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27555 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27556 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27557 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27558 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27559 Add aliases.
27560
27561 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27562
27563 * sysdeps/generic/libm-alias-float.h: New file.
27564 * sysdeps/generic/math-type-macros-float.h: Include
27565 <libm-alias-float.h>.
27566 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27567
27568 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27569
27570 [BZ #22093]
27571 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27572 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27573 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27574 (HWCAP_IMPORTANT): Likewise.
27575 (HWCAP_X86_64): New enum.
27576 (HWCAP_X86_AVX512_1): Updated.
27577 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27578 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27579 (modules-names): Add x86_64/tst-x86_64mod-1.
27580 (LDFLAGS-tst-x86_64mod-1.so): New.
27581 ($(objpfx)tst-x86_64-1): Likewise.
27582 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27583 (tst-x86_64-1-clean): Likewise.
27584 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27585 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27586
27587 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27588
27589 * po/sv.po: Update translations.
27590 * po/fr.po: Likewise.
27591
27592 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27593
27594 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27595 seconds.
27596 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27597 seconds.
27598 * elf/rtld-Rules: Fix $(error) use.
27599
27600 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27601
27602 [BZ #14925]
27603 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27604 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27605 * localedata/locales/bn_BD: “Bengali” was still used in some
27606 comments. Change it to “Bangla”.
27607
27608 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27609
27610 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27611
27612 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27613
27614 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27615 thunderx2t99p1 to list of cpu names.
27616 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27617 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27618
27619 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27620
27621 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27622 Use strcmp instead of tunable_is_name.
27623
27624 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27625
27626 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27627 (F_GET_RW_HINT): New macro.
27628 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27629 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27630 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27631 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27632 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27633 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27634 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27635 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27636 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27637
27638 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27639 (F_ADD_SEALS): New macro.
27640 [__USE_GNU] (F_GET_SEALS): Likewise.
27641 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27642 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27643 [__USE_GNU] (F_SEAL_GROW): Likewise.
27644 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27645
27646 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27647
27648 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27649 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27650 * posix/glob_internal.h (__glob_pattern_type):
27651 * posix/glob.c (glob):
27652 * posix/glob_pattern_p.c (__glob_pattern_p):
27653 Use them.
27654
27655 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27656 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27657 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27658 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27659 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27661 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27662 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27663 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27664 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27665 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27666 * sysdeps/wordsize-64/glob.c: Likewise.
27667 * sysdeps/wordsize-64/glob64.c: Likewise.
27668 * sysdeps/wordsize-64/globfree.c: Likewise.
27669 * sysdeps/wordsize-64/globfree64.c: Likewise.
27670 * sysdeps/unix/sysv/linux/glob.c: New file.
27671 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27672 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27673 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27674 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27675 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27676 adds !GLOB_NO_OLD_VERSION as an extra condition.
27677 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27678 using relative path instead of absolute one.
27679 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27680 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27681 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27682 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27683 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27684 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27685
27686 [BZ #1062]
27687 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27688 (glob): Use the same scratch buffer for both getlogin_r and
27689 getpwnam_r. Don’t require preallocation of the login name. This
27690 simplifies storage allocation, and corrects the handling of
27691 long login names.
27692
27693 [BZ #1062]
27694 * posix/glob.c (glob): Port recent patches to platforms
27695 lacking getpwnam_r.
27696 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27697 returns an error number rather than setting errno.
27698
27699 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27700 instead of GCC extension.
27701 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27702 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27703 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27704
27705 [BZ #866]
27706 [BZ #1062]
27707 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27708 * posix/bug-glob1.c: Remove file.
27709 * posix/tst-glob_symlinks.c: New file.
27710 * posix/glob.c (__lstat64): New macro.
27711 (is_dir): New function.
27712 (glob, glob_in_dir): Match symlinks even if they are dangling.
27713 (link_stat, link_exists_p): Remove. All uses removed.
27714
27715 [BZ #1062]
27716 [BZ #19971]
27717 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27718 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27719 All uses removed.
27720
27721 [BZ #1062]
27722 CVE-2017-15671
27723 * posix/Makefile (routines): Add globfree, globfree64, and
27724 glob_pattern_p.
27725 * posix/flexmember.h: New file.
27726 * posix/glob_internal.h: Likewise.
27727 * posix/glob_pattern_p.c: Likewise.
27728 * posix/globfree.c: Likewise.
27729 * posix/globfree64.c: Likewise.
27730 * sysdeps/gnu/globfree64.c: Likewise.
27731 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27732 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27733 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27734 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27735 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27736 * sysdeps/wordsize-64/globfree.c: Likewise.
27737 * sysdeps/wordsize-64/globfree64.c: Likewise.
27738 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27739 [NDEBUG): Remove comments.
27740 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27741 (dirent_type): New type. Use uint_fast8_t not
27742 uint8_t, as C99 does not require uint8_t.
27743 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27744 (struct readdir_result): Use dirent_type. Do not define skip_entry
27745 unless it is needed; this saves a byte on platforms lacking d_ino.
27746 (readdir_result_type, readdir_result_skip_entry):
27747 New functions, replacing ...
27748 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27749 these functions, which were removed. This makes the callers
27750 easier to read. All callers changed.
27751 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27752 (size_add_wrapv, glob_use_alloca): New static functions.
27753 (glob, glob_in_dir): Check for size_t overflow in several places,
27754 and fix some size_t checks that were not quite right.
27755 Remove old code using SHELL since Bash no longer
27756 uses this.
27757 (glob, prefix_array): Separate MS code better.
27758 (glob_in_dir): Remove old Amiga and VMS code.
27759 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27760 separate files.
27761 (glob_in_dir): Do not rely on undefined behavior in accessing
27762 struct members beyond their bounds. Use a flexible array member
27763 instead
27764 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27765 0/1. Caller changed.
27766 (glob): Fix memory leaks.
27767 * posix/glob64 (globfree64): Move to separate file.
27768 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27769 (globfree64): Remove hidden alias.
27770 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27771 oldglob.
27772 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27773 separate file.
27774 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27775 define.
27776 Move compat code to separate file.
27777 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27778 separate file.
27779
27780 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27781
27782 * resolv/tst-resolv-qtypes.c (domain): Changed to
27783 "const char domain[] =".
27784
27785 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27786
27787 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27788 version to 3.1.6.
27789
27790 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27791 (TCP_MD5SIG_EXT): Likewise.
27792 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27793 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27794 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27795
27796 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27797
27798 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27799
27800 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27801
27802 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27803
27804 [BZ #22100]
27805 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27806
27807 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27808
27809 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27810 before assuming that the file is empty. Avoid testing buffer content
27811 when nread == 0.
27812
27813 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27814
27815 [BZ #18858]
27816 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27817 Remove define.
27818 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27819 Likewise.
27820 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27821 Likewise.
27822 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27823 Likewise.
27824 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27825 Likewise.
27826 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27827 Likewise.
27828 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27829 Likewise.
27830
27831 2017-09-06 Florian Weimer <fweimer@redhat.com>
27832
27833 * malloc/dynarray_emplace_enlarge.c
27834 (__libc_dynarray_emplace_enlarge): Add missing else.
27835
27836 2017-09-06 Florian Weimer <fweimer@redhat.com>
27837
27838 [BZ #22096]
27839 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27840 case of failure to obtain the global conf object.
27841
27842 2017-09-06 Florian Weimer <fweimer@redhat.com>
27843
27844 [BZ #22095]
27845 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27846 dynarray allocation failure.
27847
27848 2017-09-06 Florian Weimer <fweimer@redhat.com>
27849
27850 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27851 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27852 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27853 New functions.
27854 (response): Call them. Add 'p', '6' flag processing.
27855 (test_reverse): New function.
27856 (test_get2_any): Call it.
27857 (test_no_inet6): Add 'p' test.
27858 (test_inet6): Likewise.
27859
27860 2017-09-06 Florian Weimer <fweimer@redhat.com>
27861
27862 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27863 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27864 the QNAME.
27865 (test_gai): Adjust query names. Add additional tests.
27866 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27867 test_get2. Adjust query names. Add additional tests.
27868 (test_no_inet6): New function, extracted from threadfunc.
27869 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27870 Add additional tests.
27871
27872 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27873
27874 [BZ #22070]
27875 * localedata/unicode-gen/utf8_gen.py: Set the width for
27876 characters with Prepended_Concatenation_Mark property to 1
27877 * localedata/charmaps/UTF-8: Updated using the improved script.
27878
27879 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27880
27881 [BZ #21750]
27882 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27883 use the range notation for all ranges of neighbouring characters
27884 with the same width.
27885
27886 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27887
27888 * sysdeps/generic/math-type-macros-double.h: Include
27889 <math-svid-compat.h>.
27890 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27891 * sysdeps/generic/math-type-macros-float.h: Include
27892 <math-svid-compat.h>.
27893 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27894 * sysdeps/generic/math-type-macros-ldouble.h: Include
27895 <math-svid-compat.h>.
27896 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27897 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27898 condition.
27899 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27900 * math/w_acosf_compat.c: Likewise.
27901 * math/w_acosh_compat.c: Likewise.
27902 * math/w_acoshf_compat.c: Likewise.
27903 * math/w_acoshl_compat.c: Likewise.
27904 * math/w_acosl_compat.c: Likewise.
27905 * math/w_asin_compat.c: Likewise.
27906 * math/w_asinf_compat.c: Likewise.
27907 * math/w_asinl_compat.c: Likewise.
27908 * math/w_atan2_compat.c: Likewise.
27909 * math/w_atan2f_compat.c: Likewise.
27910 * math/w_atan2l_compat.c: Likewise.
27911 * math/w_atanh_compat.c: Likewise.
27912 * math/w_atanhf_compat.c: Likewise.
27913 * math/w_atanhl_compat.c: Likewise.
27914 * math/w_cosh_compat.c: Likewise.
27915 * math/w_coshf_compat.c: Likewise.
27916 * math/w_coshl_compat.c: Likewise.
27917 * math/w_exp10_compat.c: Likewise.
27918 * math/w_exp10f_compat.c: Likewise.
27919 * math/w_exp10l_compat.c: Likewise.
27920 * math/w_exp2_compat.c: Likewise.
27921 * math/w_exp2f_compat.c: Likewise.
27922 * math/w_exp2l_compat.c: Likewise.
27923 * math/w_fmod_compat.c: Likewise.
27924 * math/w_fmodf_compat.c: Likewise.
27925 * math/w_fmodl_compat.c: Likewise.
27926 * math/w_hypot_compat.c: Likewise.
27927 * math/w_hypotf_compat.c: Likewise.
27928 * math/w_hypotl_compat.c: Likewise.
27929 * math/w_j0_compat.c: Likewise.
27930 * math/w_j0f_compat.c: Likewise.
27931 * math/w_j0l_compat.c: Likewise.
27932 * math/w_j1_compat.c: Likewise.
27933 * math/w_j1f_compat.c: Likewise.
27934 * math/w_j1l_compat.c: Likewise.
27935 * math/w_jn_compat.c: Likewise.
27936 * math/w_jnf_compat.c: Likewise.
27937 * math/w_jnl_compat.c: Likewise.
27938 * math/w_lgamma_r_compat.c: Likewise.
27939 * math/w_lgammaf_r_compat.c: Likewise.
27940 * math/w_lgammal_r_compat.c: Likewise.
27941 * math/w_log10_compat.c: Likewise.
27942 * math/w_log10f_compat.c: Likewise.
27943 * math/w_log10l_compat.c: Likewise.
27944 * math/w_log2_compat.c: Likewise.
27945 * math/w_log2f_compat.c: Likewise.
27946 * math/w_log2l_compat.c: Likewise.
27947 * math/w_log_compat.c: Likewise.
27948 * math/w_logf_compat.c: Likewise.
27949 * math/w_logl_compat.c: Likewise.
27950 * math/w_pow_compat.c: Likewise.
27951 * math/w_powf_compat.c: Likewise.
27952 * math/w_powl_compat.c: Likewise.
27953 * math/w_remainder_compat.c: Likewise.
27954 * math/w_remainderf_compat.c: Likewise.
27955 * math/w_remainderl_compat.c: Likewise.
27956 * math/w_sinh_compat.c: Likewise.
27957 * math/w_sinhf_compat.c: Likewise.
27958 * math/w_sinhl_compat.c: Likewise.
27959 * math/w_sqrt_compat.c: Likewise.
27960 * math/w_sqrtf_compat.c: Likewise.
27961 * math/w_sqrtl_compat.c: Likewise.
27962 * math/w_tgamma_compat.c: Likewise.
27963 * math/w_tgammaf_compat.c: Likewise.
27964 * math/w_tgammal_compat.c: Likewise.
27965 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27966 [LIBM_SVID_COMPAT].
27967 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27968 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27969 [LIBM_SVID_COMPAT].
27970 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27971 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27972 [LIBM_SVID_COMPAT].
27973 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27974 * sysdeps/i386/fpu/w_sqrt.c: New file.
27975 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27976 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27977 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27978 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27979 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27980 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27981 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27982 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27983 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27984 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27985 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27986 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27987 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27988 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27989 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27990 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27991 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27992 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27993 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27994 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27995 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27996 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27997 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27998 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27999 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28000 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28001 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28002 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28003 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28004 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28005 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28006 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28007 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28008 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28009 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28010 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28011 * sysdeps/ia64/fpu/w_log.c: Likewise.
28012 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28013 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28014 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28015 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28016 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28017 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28018 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28019 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28020 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28021 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28022 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28023 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28024 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28025 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28026 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28027 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28028 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28029 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28030 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28031 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28032 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28033 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28034 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28035 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28036 [LIBM_SVID_COMPAT].
28037 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28038 * sysdeps/ieee754/k_standard.c: Likewise.
28039 * sysdeps/ieee754/k_standardf.c: Likewise.
28040 * sysdeps/ieee754/k_standardl.c: Likewise.
28041 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28042 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28043 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28044 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28045 long_double_symbol call on [LIBM_SVID_COMPAT].
28046 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28047 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28048 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28049 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28050 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28051 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28052 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28053 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28054 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28055 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28056 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28057 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28058 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28059 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28060 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28061 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28062 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28063 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28064 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28065 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28066 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28067 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28068
28069 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28070
28071 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28072 * malloc/tst-mallocstate.c: Convert from test-skeleton
28073 to test-driver. Ifdef code using TEST_COMPAT macro.
28074 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28075 * math/test-matherr.c: Likewise.
28076
28077 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28078
28079 [BZ #22086]
28080 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28081 comparing word with byte-swapped constant.
28082
28083 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28084
28085 [BZ #20498]
28086 * locale/iso-639.def: add Miskito.
28087 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28088 * localedata/locales/miq_NI: New file.
28089
28090 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28091
28092 [BZ #18822]
28093 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28094 (__mkdir): Likewise.
28095 * io/chmod.c (__chmod): Add libc_hidden_def.
28096 * io/mkdir.c (__mkdir): Likewise.
28097 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28098 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28099 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28100 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28101
28102 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28103
28104 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28105 version to 4.13.
28106
28107 [BZ #22082]
28108 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28109 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28110
28111 2017-09-04 Florian Weimer <fweimer@redhat.com>
28112
28113 * math/math.h: Issue warning if log is defined.
28114
28115 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28116
28117 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28118 kernel version to 4.13.
28119
28120 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28121
28122 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28123 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28124 parameter.
28125 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28126 just <bits/types.h>.
28127 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
28128 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
28129 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
28130 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
28131 * misc/preadv2.c: Include <errno.h>.
28132 * misc/preadv64v2.c: Include <errno.h>.
28133 * misc/pwritev2.c: Include <errno.h>.
28134 * misc/pwritev64v2.c: Include <errno.h>.
28135 * sysdeps/posix/preadv2.c: Include <errno.h>.
28136 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28137 Fix <unistd.h> inclusion.
28138 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28139 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
28140 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28141 __strtoul_internal): New functions.
28142 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28143 * sysdeps/posix/system.c: Include <sigsetops.h>.
28144 * sysdeps/mach/hurd/i386/Makefile
28145 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28146 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28147 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
28148 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28149 __feraiseexcept_renamed to feraiseexcept instead of
28150 __GI_feraiseexcept.
28151 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
28152 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
28153 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28154 RWF_NOWAIT): Define to 0 if undefined already.
28155 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28156 boils down to 0.
28157 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28158 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
28159
28160 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28161
28162 * manual/math.texi (pow10): Do not document.
28163 (pow10f): Likewise.
28164 (pow10l): Likewise.
28165 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28166 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28167 * math/libm-test-exp10.inc (pow10_test): Remove.
28168 (do_test): Do not call pow10.
28169 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28170 [NO_LONG_DOUBLE] (pow10l): Likewise.
28171 * math/w_exp10f_compat.c (pow10f): Likewise.
28172 * math/w_exp10l_compat.c (pow10l): Likewise.
28173 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28174 (pow10): Make into compat symbol.
28175 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28176 (pow10f): Make into compat symbol.
28177 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28178 (pow10l): Make into compat symbol.
28179 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28180 pow10.
28181 (CFLAGS-nldbl-pow10.c): Remove variable..
28182 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28183 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28184 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28185 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28186 Undefine and redefine.
28187 (pow10l): Make into compat symbol.
28188 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28189 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28190 * sysdeps/arm/libm-test-ulps: Likewise.
28191 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28192 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28193 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28194 * sysdeps/microblaze/libm-test-ulps: Likewise.
28195 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28196 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28197 * sysdeps/nios2/libm-test-ulps: Likewise.
28198 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28199 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28200 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28201 * sysdeps/sh/libm-test-ulps: Likewise.
28202 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28203 * sysdeps/tile/libm-test-ulps: Likewise.
28204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28205
28206 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28207
28208 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28209
28210 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28211
28212 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28213 "../ChangeLog.old/ChangeLog.8".
28214 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28215 "../ChangeLog.old/ChangeLog.14".
28216
28217 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28218
28219 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28220 Threads Library.
28221
28222 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28223
28224 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28225
28226 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28227
28228 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28229 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28230
28231 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28232
28233 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28234 32 atexit handlers.
28235
28236 2017-09-01 Zack Weinberg <zackw@panix.com>
28237
28238 * math/math.h (HUGE_VAL): Improve commentary.
28239
28240 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28241 Andreas Schwab <schwab@suse.de>
28242
28243 [BZ #21530]
28244 * include/stdio.h (__gen_tempfd): New function.
28245 * stdio-common/Makefile (routines): Add gentempfd.
28246 * stdio-common/gentempfd.c: New file.
28247 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28248 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28249 unnamed file first.
28250
28251 2017-09-01 Florian Weimer <fweimer@redhat.com>
28252
28253 [BZ #21915]
28254 [BZ #21922]
28255 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28256 result to determine success or failure, not the errno value.
28257 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28258 (tst-nss-files-hosts-erange): Link with -ldl.
28259 * nss/tst-nss-files-hosts-erange.c: New file.
28260 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28261 (do_test): Add NO_DATA tests.
28262 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28263 (do_test): Call it.
28264
28265 2017-09-01 Florian Weimer <fweimer@redhat.com>
28266
28267 [BZ #21922]
28268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28269 coming from gethostbyname2_r.
28270
28271 2017-09-01 Florian Weimer <fweimer@redhat.com>
28272
28273 * support/namespace.h (struct support_chroot_configuration): Add
28274 hosts, host_conf.
28275 (struct support_chroot): Add path_hosts, path_host_conf.
28276 * support/support_chroot.c (write_file): New function.
28277 (support_chroot_create): Call it to process /etc/resolv.conf,
28278 /etc/hosts, /etc/host.conf.
28279 (support_chroot_free): Update.
28280
28281 2017-09-01 Florian Weimer <fweimer@redhat.com>
28282
28283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28284 status indicates it is set.
28285
28286 2017-09-01 Florian Weimer <fweimer@redhat.com>
28287
28288 [BZ #20532]
28289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28290 function lookup failures more reliable.
28291
28292 2017-09-01 Florian Weimer <fweimer@redhat.com>
28293
28294 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28295 (getcanonname): Likewise.
28296 (gaih_inet): Likewise.
28297
28298 2017-09-01 Florian Weimer <fweimer@redhat.com>
28299
28300 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28301 (getcanonname): Likewise.
28302 (gaih_inet): Likewise.
28303
28304 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28305 Richard Henderson <rth@twiddle.net>
28306
28307 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28308 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28309 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28310 (IREG_SIZE, OREG_SIZE): New macros.
28311 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28312 (IREG_SIZE, OREG_SIZE): New macros.
28313 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28314 (IREG_SIZE): New macro.
28315 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28316 (IREG_SIZE): New macro.
28317 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28318 New includes.
28319 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28320 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28321 (__CONCATX): Handle exceptions correctly on large values that may
28322 set FE_INVALID.
28323 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28324 Initialize if not already set.
28325 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28326
28327 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28328
28329 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28330 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28331 Likewise.
28332 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28333 Likewise.
28334 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28335 Likewise.
28336 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28337 Likewise.
28338 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28339 Likewise.
28340 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28341 Likewise.
28342 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28343 Likewise.
28344 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28345 (NO_CANCELLATION): Likewise.
28346 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28347 Likewise.
28348 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28349 Likewise.
28350 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28351 Likewise.
28352 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28353 (NO_CANCELLATION): Likewise.
28354 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28355 (NO_CANCELLATION): Likewise.
28356 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28357 Likewise
28358 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28359 Likewise.
28360 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28361 Likewise.
28362 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28363 Likewise.
28364 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28365 hidden prototype.
28366 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28367 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28368
28369 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28370
28371 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28372 in resolver call.
28373
28374 2017-08-31 Florian Weimer <fweimer@redhat.com>
28375
28376 * include/libc-symbols.h (internal_function): Remove.
28377
28378 2017-08-31 Florian Weimer <fweimer@redhat.com>
28379
28380 * stdlib/fmtmsg.c (internal_addseverity): Remove
28381 internal_function.
28382
28383 2017-08-31 Florian Weimer <fweimer@redhat.com>
28384
28385 * stdio-common/printf_fp.c (group_number): Remove
28386 internal_function.
28387 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28388
28389 2017-08-31 Florian Weimer <fweimer@redhat.com>
28390
28391 * posix/fnmatch.c (internal_function): Remove definition.
28392 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28393 * posix/regcomp.c (peek_token, init_word_char)
28394 (duplicate_node_closure, fetch_token, peek_token)
28395 (peek_token_bracket, build_range_exp, build_collating_symbol):
28396 Likewise.
28397 * posix/regex_internal.c (re_string_construct_common)
28398 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28399 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28400 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28401 (re_string_translate_buffer, re_string_reconstruct)
28402 (re_string_peek_byte_case, re_string_fetch_byte_case)
28403 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28404 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28405 (re_node_set_add_intersect, re_node_set_init_union)
28406 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28407 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28408 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28409 (re_acquire_state_context): Likewise.
28410 * posix/regex_internal.h (internal_function): Remove definition.
28411 (re_string_realloc_buffers, build_wcs_buffer)
28412 (build_wcs_upper_buffer, build_upper_buffer)
28413 (re_string_translate_buffer, re_string_context_at)
28414 (re_string_char_size_at, re_string_wchar_at)
28415 (re_string_elem_size_at): Likewise.
28416 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28417 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28418 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28419 (re_search_internal, re_search_2_stub, re_search_stub)
28420 (re_copy_regs, prune_impossible_nodes, check_matching)
28421 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28422 (free_fail_stack_return, sift_states_iter_mb)
28423 (sift_states_backward, build_sifted_states)
28424 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28425 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28426 (check_subexp_limits, sift_states_bkref, merge_state_array)
28427 (find_recover_state, transit_state, merge_state_with_log)
28428 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28429 (transit_state_mb, transit_state_bkref, get_subexp)
28430 (get_subexp_sub, find_subexp_node, check_arrival)
28431 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28432 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28433 (check_node_accept_bytes, find_collation_sequence_value)
28434 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28435 (acquire_init_state_context, check_halt_node_context)
28436 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28437 (sub_epsilon_src_nodes): Likewise.
28438 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28439 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28440 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28441 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28442 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28443 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28444 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28445 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28446 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28447 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28448 (PREADV): Likewise.
28449 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28450 (PREADV): Likewise.
28451 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28452 (PWRITEV): Likewise.
28453 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28454 (PWRITEV): Likewise.
28455 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28456 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28457
28458 2017-08-31 Florian Weimer <fweimer@redhat.com>
28459
28460 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28461 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28462 Remove internal_function.
28463 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28464 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28465 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28466 (__deallocate_stack, __libc_pthread_init)
28467 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28468 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28469 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28470 Likewise.
28471 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28472 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28473 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28474 Likewise.
28475 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28476 (__pthread_mutex_unlock_usercnt): Likewise.
28477
28478 2017-08-31 Florian Weimer <fweimer@redhat.com>
28479
28480 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28481 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28482 (fts_safe_changedir): Remove internal_function.
28483 * io/ftw.c (internal_function): Remove definition.
28484 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28485
28486 2017-08-31 Florian Weimer <fweimer@redhat.com>
28487
28488 * inet/deadline.c (__deadline_current_time)
28489 (__deadline_from_timeval, __deadline_to_ms): Remove
28490 internal_function.
28491 * inet/getnameinfo.c (nrl_domainname): Likewise.
28492 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28493 * inet/inet6_option.c (add_pad): Likewise.
28494 * inet/net-internal.h (__deadline_current_time)
28495 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28496 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28497 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28498 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28499
28500 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28501
28502 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28503 include <bits/nan.h>.
28504 * math/Makefile (headers): Remove bits/nan.h.
28505 * bits/nan.h: Remove.
28506 * sysdeps/ieee754/bits/nan.h: Likewise.
28507 * sysdeps/mips/bits/nan.h: Likewise.
28508
28509 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28510 not include <bits/inf.h>.
28511 * math/Makefile (headers): Remove bits/inf.h.
28512 * bits/inf.h: Remove.
28513 * sysdeps/ieee754/bits/inf.h: Likewise.
28514
28515 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28516 bits/huge_vall.h or bits/huge_val_flt128.h.
28517 (HUGE_VAL): Define directly here.
28518 [__USE_ISOC99] (HUGE_VALF): Likewise.
28519 [__USE_ISOC99] (HUGE_VALL): Likewise.
28520 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28521 (HUGE_VAL_F128): Likewise.
28522 * math/Makefile (headers): Remove bits/huge_val.h,
28523 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28524 * bits/huge_val.h: Remove.
28525 * bits/huge_val_flt128.h: Likewise.
28526 * bits/huge_valf.h: Likewise.
28527 * bits/huge_vall.h: Likewise.
28528 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28529 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28530 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28531 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28532 * sysdeps/sh/bits/huge_val.h: Likewise.
28533 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28534 * sysdeps/x86/bits/huge_vall.h: Likewise.
28535
28536 2017-08-31 Florian Weimer <fweimer@redhat.com>
28537
28538 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28539 internal_function.
28540 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28541 Likewise.
28542 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28543 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28544 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28545 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28546 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28547 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28548 * elf/dl-libc.c (dlerror_run): Likewise.
28549 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28550 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28551 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28552 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28553 Likewise.
28554 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28555 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28556 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28557 * elf/dl-profile.c (_dl_start_profile): Likewise.
28558 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28559 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28560 Likewise.
28561 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28562 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28563 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28564 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28565 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28566 (_dl_allocate_tls_storage): Likewise.
28567 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28568 (_dl_check_all_versions): Likewise.
28569 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28570 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28571 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28572 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28573 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28574 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28575 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28576 internal_function from __dl_start.
28577 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28578 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28579 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28580 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28581 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28582 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28583 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28584 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28585 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28586 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28587 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28588 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28589 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28590 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28591 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28592 Likewise.
28593 (struct rtld_global_ro): Remove internal_function from the
28594 _dl_lookup_symbol_x member.
28595 (_dl_symbol_value): Remove. No longer defined anywhere.
28596 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28597 internal_function.
28598 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28599 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28600 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28601 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28602 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28603 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28604 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28605 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28606 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28607 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28608 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28609 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28610
28611 2017-08-31 Florian Weimer <fweimer@redhat.com>
28612
28613 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28614 Remove internal_function.
28615 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28616 Likewise.
28617 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28618 Likewise.
28619
28620 2017-08-31 Florian Weimer <fweimer@redhat.com>
28621
28622 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28623 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28624 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28625
28626 2017-08-31 Florian Weimer <fweimer@redhat.com>
28627
28628 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28629 (__gai_enqueue_request): Remove internal_function.
28630 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28631 (__gai_remove_request, __gai_notify, __gai_notify_only)
28632 (__gai_sigqueue): Likewise.
28633 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28634 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28635 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28636 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28637 Likewise.
28638
28639 2017-08-31 Florian Weimer <fweimer@redhat.com>
28640
28641 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28642 * include/dirent.h (__opendirat, __getdents, __getdents64)
28643 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28644 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28645 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28646 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28647 Likewise.
28648 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28649
28650 2017-08-31 Florian Weimer <fweimer@redhat.com>
28651
28652 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28653 internal_function.
28654 (GETCWD_RETURN_TYPE): Likewise.
28655
28656 2017-08-31 Florian Weimer <fweimer@redhat.com>
28657
28658 * include/time.h (__tz_compute, __strptime_internal): Remove
28659 internal_function.
28660 * time/strptime_l.c (__strptime_internal): Likewise.
28661 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28662
28663 2017-08-31 Florian Weimer <fweimer@redhat.com>
28664
28665 * iconv/gconv.c (__gconv): Remove internal_function.
28666 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28667 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28668 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28669 (__gconv_release_cache): Likewise.
28670 * iconv/gconv_close.c (__gconv_close): Likewise.
28671 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28672 (read_conf_file, __gconv_get_path): Likewise.
28673 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28674 (__gconv_release_step, gen_steps, increment_counter)
28675 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28676 (__gconv_close_transform, free_modules_db): Likewise.
28677 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28678 Likewise.
28679 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28680 (__gconv_find_transform, __gconv_lookup_cache)
28681 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28682 (__gconv_close_transform, __gconv_release_cache)
28683 (__gconv_loaded_object, __gconv_release_shlib)
28684 (__gconv_compare_alias): Likewise.
28685 * iconv/gconv_open.c (__gconv_open): Likewise.
28686 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28687 * iconv/iconvconfig.c (add_module): Likewise.
28688 * intl/dcigettext.c (plural_lookup, guess_category_value)
28689 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28690 * intl/eval-plural.h (plural_eval): Likewise.
28691 * intl/finddomain.c (_nl_find_domain): Likewise.
28692 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28693 (_nl_load_domain, _nl_find_msg): Likewise.
28694 (internal_function): Remove definition.
28695 * intl/loadinfo.h (internal_function): Likewise.
28696 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28697 internal_function.
28698 * intl/localealias.c (internal_function): Remove definition.
28699 (read_alias_file): Remove internal_function.
28700 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28701 * intl/plural-exp.h (internal_function): Remove definition.
28702 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28703 internal_function.
28704 * intl/plural.c: Regenerate.
28705 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28706 * locale/coll-lookup.c (__collidx_table_lookup)
28707 (__collseq_table_lookup): Likewise.
28708 * locale/coll-lookup.h (__collidx_table_lookup)
28709 (__collseq_table_lookup): Likewise.
28710 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28711 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28712 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28713 (_nl_unload_locale): Likewise.
28714 * locale/localeinfo.h (struct __locale_data): Remove
28715 internal_function from cleanup member.
28716 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28717 (_nl_remove_locale, _nl_load_locale_from_archive)
28718 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28719 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28720 (_nl_cleanup_time): Remove internal_function.
28721 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28722 (_nl_parse_alt_digit): Likewise.
28723 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28724 (_nl_select_era_entry): Likewise.
28725 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28726 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28727 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28728 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28729 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28730
28731 2017-08-31 Florian Weimer <fweimer@redhat.com>
28732
28733 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28734 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28735 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28736 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28737 Likewise.
28738 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28739 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28740 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28741 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28742 Likewise.
28743 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28744
28745 2017-08-31 Florian Weimer <fweimer@redhat.com>
28746
28747 * misc/getttyent.c (skip, value): Remove internal_function.
28748 * misc/syslog.c (openlog_internal): Likewise.
28749 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28750
28751 2017-08-31 Florian Weimer <fweimer@redhat.com>
28752
28753 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28754 (__nss_rewrite_field): Remove internal_function.
28755 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28756 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28757 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28758 * nss/nsswitch.c (nss_parse_file, nss_getline)
28759 (nss_parse_service_list, nss_new_service): Likewise.
28760 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28761 * nss/valid_field.c (__nss_valid_field): Likewise.
28762 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28763
28764 2017-08-31 Florian Weimer <fweimer@redhat.com>
28765
28766 * malloc/arena.c (__malloc_fork_lock_parent)
28767 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28768 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28769 internal_function from defintions.
28770 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28771 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28772 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28773 internal_function from declarations.
28774 * malloc/malloc.c (internal_function): Do not define.
28775 (mem2mem_check): Remove internal_function from declaration.
28776 (munmap_chunk, mremap_chunk): Remove internal_function.
28777 * malloc/mtrace.c (tr_where): Likewise.
28778
28779 2017-08-31 Florian Weimer <fweimer@redhat.com>
28780
28781 * include/rpc/pmap_clnt.h (__get_socket): Remove
28782 internal_function.
28783 * sunrpc/auth_des.c (synchronize): Likewise.
28784 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28785 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28786 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28787 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28788 (key_call): Likewise.
28789 * sunrpc/pm_getport.c (__get_socket): Likewise.
28790 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28791 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28792 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28793 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28794 (invalidate): Likewise.
28795 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28796 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28797 (set_input_fragment, get_input_bytes): Likewise.
28798
28799 2017-08-31 Florian Weimer <fweimer@redhat.com>
28800
28801 * malloc/malloc.c (_int_free): Remove locked variable and related
28802 asserts.
28803
28804 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28805
28806 [BZ #22051]
28807 * Makerules (build-module-helper-objlist): Filter out
28808 $(elf-objpfx)sofini.os.
28809 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28810 needed.
28811
28812 2017-08-31 Florian Weimer <fweimer@redhat.com>
28813
28814 * libio/fcloseall.c: Assume weak_alias is defined.
28815 * libio/feof.c: Likewise.
28816 * libio/fileno.c: Likewise.
28817 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28818 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28819 definitions.
28820 (_IO_file_open): Call __open directly.
28821 (_IO_new_file_sync): Assume ESPIPE is defined.
28822 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28823 (_IO_new_file_write): Call __write directly.
28824 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28825 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28826 * libio/genops.c: Assume _LIBC is defined.
28827 (save_for_backup): Remove internal_function.
28828 * libio/getc.c: Assume weak_alias is defined.
28829 * libio/getwc.c: Likewise.
28830 * libio/iofclose.c: Assume _LIBC is defined.
28831 * libio/iofdopen.c: Likewise.
28832 (_IO_fcntl): Remove macro definition.
28833 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28834 Call __fcntl directly.
28835 * libio/iofflush.c: Assume weak_alias is defined.
28836 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28837 defined.
28838 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28839 * libio/iofgets.c: Likewise.
28840 * libio/iofopen.c: Assume _LIBC is defined.
28841 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28842 * libio/iofputs.c: Assume weak_alias is defined.
28843 * libio/iofread.c: Likewise.
28844 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28845 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28846 * libio/ioftell.c: Assume weak_alias is defined.
28847 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28848 * libio/iofwide.c: Assume _LIBC is defined.
28849 (_IO_fwide): Drop SHARED conditional because it is implied by
28850 SHLIB_COMPAT.
28851 * libio/iofwrite.c: Assume weak_alias is defined.
28852 * libio/iogetdelim.c: Likewise.
28853 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28854 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28855 (_IO_getwline): Call __wmemcpy directly.
28856 * libio/iopopen.c: Assume _LIBC is defined.
28857 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28858 (_IO_close): Remove macro definitions.
28859 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28860 _exit directly.
28861 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28862 directly.
28863 * libio/ioputs.c: Assume weak_alias is defined.
28864 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28865 * libio/iosetbuffer.c: Assume weak_alias is defined.
28866 * libio/iosetvbuf.c: Likewise.
28867 * libio/ioungetc.c: Likewise.
28868 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28869 libc_hidden_def, libc_hidden_weak, NULL are defined.
28870 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28871 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28872 defined.
28873 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28874 definitions.
28875 (_IO_old_file_init_internal): Drop SHARED conditional because it
28876 is implied by SHLIB_COMPAT.
28877 (_IO_old_file_fopen): Call __open directly.
28878 (_IO_old_file_sync): Assume ESPIPE is defined.
28879 (_IO_old_file_write): Call __write directly.
28880 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28881 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28882 Call __fcntl directly.
28883 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28884 (_IO_old_fgetpos): Assume EIO is defined.
28885 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28886 (_IO_old_fgetpos64): Assume EIO is defined.
28887 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28888 (_IO_old_fsetpos): Assume EIO is defined.
28889 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28890 (_IO_old_fsetpos64): Assume EIO is defined.
28891 * libio/oldiopopen.c: Assume _LIBC is defined.
28892 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28893 (_IO_close): Remove macro definitions.
28894 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28895 directly.
28896 (_IO_old_proc_close): Call __close, __waitpid directly.
28897 * libio/put.c: Assume weak_alias is defined.
28898 * libio/stdfiles.c: Assume _LIBC is defined.
28899 * libio/stdio.c: Likewise.
28900 * libio/wfileops.c: Likewise.
28901 (_IO_wfile_sync): Assume ESPIPE is defined.
28902 * libio/wgenops.c: Assume _LIBC is defined.
28903 (save_for_wbackup): Remove internal_function.
28904
28905 2017-08-31 Florian Weimer <fweimer@redhat.com>
28906
28907 * malloc/malloc.c (top_check): Change return type to void. Remove
28908 internal_function.
28909 * malloc/hooks.c (top_check): Likewise.
28910 (malloc_check, realloc_check, memalign_check): Adjust.
28911
28912 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28913
28914 [BZ #21457]
28915 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28916 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28917 sigcontext and namespace requirements.
28918 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28919 * sysdeps/m68k/sys/ucontext.h: Likewise.
28920 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28921 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28922 <bits/sigcontext.h>.
28923 (__ctx): Define earlier.
28924 (mcontext_t): Define structure contents rather than using struct
28925 sigcontext.
28926 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28927 __glibc_reserved1 instead of __reserved.
28928 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28929 <bits/sigcontext.h>.
28930 (__ctx): Define earlier.
28931 (mcontext_t): Define structure contents rather than using struct
28932 sigcontext.
28933 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28934 mcontext_t instead of struct sigcontext.
28935 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28936 <bits/sigcontext.h>.
28937 (__ctx): Define earlier.
28938 (mcontext_t): Define structure contents rather than using struct
28939 sigcontext.
28940 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28941 <bits/sigcontext.h>.
28942 (__ctx): Define earlier.
28943 (mcontext_t): Define structure contents rather than using struct
28944 sigcontext.
28945 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28946 mcontext_t instead of struct sigcontext.
28947 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28948 mcontext_t instead of struct sigcontext.
28949 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28950 <bits/sigcontext.h>.
28951 (__ctx): New macro.
28952 (struct __ia64_fpreg_mcontext): New type.
28953 (mcontext_t): Define structure contents rather than using struct
28954 sigcontext.
28955 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28956 (uc_sigmask): Define using __ctx.
28957 (uc_stack): Likewise.
28958 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28959 <bits/sigcontext.h>.
28960 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28961 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28962 <bits/sigcontext.h>.
28963 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28964 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28965 <bits/sigcontext.h>.
28966 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28967 <bits/sigcontext.h>.
28968 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28969 <bits/sigcontext.h>.
28970 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28971 <bits/sigcontext.h>.
28972 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28973 <bits/sigcontext.h>.
28974 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28975 <bits/sigcontext.h>.
28976 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28977 <bits/sigcontext.h>.
28978 (__ctx): Define earlier.
28979 (mcontext_t): Define structure contents rather than using struct
28980 sigcontext.
28981 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28982 <bits/sigcontext.h>. Include <bits/types.h>.
28983 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28984 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28985 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28986 (test-xfail-UNIX98/signal.h/conform): Likewise.
28987 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28988 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28989 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28990 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28991 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28992 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28993 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28994 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28995 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28996
28997 2017-08-30 Florian Weimer <fweimer@redhat.com>
28998
28999 * malloc/dynarray_emplace_enlarge.c
29000 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29001 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29002 * malloc/tst-dynarray.c (test_long_overflow): New function.
29003 (do_test): Call it.
29004
29005 2017-08-30 Florian Weimer <fweimer@redhat.com>
29006
29007 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29008 (set_arena_corrupt): Remove definitions.
29009 (mtrim): Do not check for corrupt arena.
29010 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29011 Likewise.
29012
29013 2017-08-30 Florian Weimer <fweimer@redhat.com>
29014
29015 [BZ #21754]
29016 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29017 check_action.
29018 (ptmalloc_init): Do not set or use check_action.
29019 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29020 call to malloc_printerr. Remove return statement.
29021 (free_check): Likewise. Remove arena unlock.
29022 (top_check): Update comment. Adjust call to malloc_printerr.
29023 Remove heap repair code.
29024 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29025 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29026 (sysmalloc): Adjust call to malloc_printerr.
29027 (munmap_chunk, __libc_realloc): Likewise. Remove return
29028 statement.
29029 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29030 Remove errout label and corresponding gotos.
29031 (_int_free): Likewise. Remove arena unlock.
29032 (do_set_mallopt_check): Do not set check_action.
29033 (malloc_printerr): Adjust parameter list. Do not mark arena as
29034 corrupt.
29035 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29036 comment.
29037 * manual/probes.texi (Memory Allocation Probes): Remove
29038 memory_mallopt_check_action.
29039
29040 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29041
29042 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29043 Use pointer to uint64_t instead of long int for sp.
29044
29045 2017-08-30 Florian Weimer <fweimer@redhat.com>
29046
29047 [BZ #21754]
29048 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29049 without printing a backtrace. Do not leak any information in the
29050 error message.
29051 * manual/memory.texi (Heap Consistency Checking): Update.
29052 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29053
29054 2017-08-30 Florian Weimer <fweimer@redhat.com>
29055
29056 Do not scale NPTL tests with available number of CPUs.
29057 * nptl/tst-cond16.c (count): Set to constant value of 8.
29058 * nptl/tst-cond18.c (count): Likewise.
29059
29060 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29061
29062 [BZ #22035]
29063 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29064 Define to take a second argument that is a macro that
29065 concatentates a suffix, not the suffix itself.
29066 (__CONCAT_d): New macro.
29067 (__CONCAT_f): Likewise.
29068 (__CONCAT_l): Likewise.
29069
29070 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29071
29072 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29073 by child.
29074
29075 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29076 Aurelien Jarno <aurelien@aurel32.net>
29077 Maciej W. Rozycki <macro@imgtec.com>
29078
29079 [BZ #21956]
29080 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29081 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29082 `mips16-syscall6' and `mips16-syscall7'.
29083 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29084 (CFLAGS-mips16-syscall7.c): Remove.
29085 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29086 Remove `__mips16_syscall5', `__mips16_syscall6' and
29087 `__mips16_syscall7'.
29088 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29089 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29090 `__mips_syscall_return'.
29091 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29092 (__mips16_syscall1): Likewise.
29093 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29094 (__mips16_syscall2): Likewise.
29095 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29096 (__mips16_syscall3): Likewise.
29097 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29098 (__mips16_syscall4): Likewise.
29099 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29100 Remove.
29101 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29102 Remove.
29103 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29104 Remove.
29105 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29106 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29107 `__mips16_syscall5'. Remove prototype.
29108 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29109 `__mips16_syscall6'. Remove prototype.
29110 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29111 `__mips16_syscall7'. Remove prototype.
29112 (__nomips16, __mips16_syscall_return): Move to...
29113 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29114 (__nomips16, __mips_syscall_return): ... here.
29115 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29116 `__mips16_syscall_return' to `__mips_syscall_return'.
29117 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29118 `internal_syscall##nr'.
29119 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29120 `internal_syscall##nr'.
29121 (FORCE_FRAME_POINTER): Remove.
29122 (__mips_syscall5): New prototype.
29123 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29124 (__mips_syscall6): New prototype.
29125 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29126 (__mips_syscall7): New prototype.
29127 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29128 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29129 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29130 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29131 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29132 (sysdep_routines): Add libc-do-syscall.
29133 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29134 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29135
29136 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29137
29138 [BZ #21672]
29139 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29140 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29141 (advise_stack_range): New function.
29142 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29143 stack non required to advise_stack_range at allocatestack.c
29144
29145 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29146
29147 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29148
29149 2017-08-29 Florian Weimer <fweimer@redhat.com>
29150
29151 [BZ #22026]
29152 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29153 __end_fct. Mangle __end_fct after setting it to NULL.
29154 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29155 (modules-names, modules-names-tests): Add
29156 tst-gconv-init-failure-mod.
29157 (gconv-modules): New target.
29158 (tst-gconv-init-failure-mod.so): Link against libsupport.
29159 (tst-gconv-init-failure): Depend on gconv-modules,
29160 tst-gconv-init-failure-mod.so.
29161 * iconv/tst-gconv-init-failure-mod.c: New file.
29162 * iconv/tst-gconv-init-failure.c: Likewise.
29163 * iconv/test-gconv-modules: Likewise.
29164
29165 2017-08-29 Florian Weimer <fweimer@redhat.com>
29166
29167 [BZ #22025]
29168 * iconv/gconv_db.c (free_derivation): Remove redundant
29169 parentheses.
29170 (gen_steps): Unconditionally mangle __btowc_fct after
29171 initialization.
29172 (increment_counter): Likewise. Do not call init_fct for internal
29173 modules.
29174
29175 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29176
29177 [BZ #22028]
29178 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29179 (_MSUF_): Remove macro.
29180 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29181 Likewise.
29182 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29183 (__REDIRFROM_X): New macro.
29184 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29185 Likewise.
29186 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29187 (__REDIRTO_X): Likewise.
29188 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29189 arguments.
29190 (__MATH_REDIRCALL_2): Likewise.
29191 (__MATH_REDIRCALL_INTERNAL): Likewise.
29192 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29193 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29194 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29195 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29196 * math/test-finite-macros.c: New file.
29197 * math/Makefile (tests): Add test-finite-macros.
29198 (CFLAGS-test-finite-macros.c): New variable.
29199
29200 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
29201 Jeff Law <law@redhat.com>
29202
29203 [BZ #22025]
29204 Mangle NULL pointers in iconv/gconv.
29205 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29206 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29207 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29208 is non-NULL before demangling the end_fct. Check for NULL
29209 end_fct after demangling.
29210 (__gconv_release_step): Demangle the end_fct before checking
29211 it for NULL. Remove assert on __shlibc_handle != NULL.
29212 (gen_steps): Don't check btowc_fct for NULL before mangling.
29213 Demangle init_fct before checking for NULL.
29214 (increment_counter): Likewise.
29215 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29216 end_fct for NULL before mangling.
29217 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29218 for NULL.
29219
29220 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
29221
29222 [BZ #21971]
29223 * locale/iso-639.def: add Morisyen.
29224
29225 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29226
29227 [BZ #21930]
29228 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29229 (iszero): New C++ implementation that does not use
29230 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29231 signaling nans are enabled, since __builtin_types_compatible_p
29232 is a C-only feature.
29233 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29234 defined, include ieee754_float128.h for access to the union and
29235 member ieee854_float128.ieee.
29236 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29237 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29238 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29239 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29240 options of test-math-zero on powerpc64le.
29241
29242 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29243
29244 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29245 Change double to float.
29246
29247 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29248
29249 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29250 unconditional.
29251 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29252 conditional code; define contents only for [LIBM_SVID_COMPAT].
29253
29254 2017-08-28 Florian Weimer <fweimer@redhat.com>
29255
29256 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29257 (abi-lp64_be-options): Remove.
29258 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29259 (abi-hard-options): Likewise.
29260 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29261 (abi-o32_hard-options, abi-o32_soft_2008-options)
29262 (abi-o32_hard_2008-options, abi-n32_soft-options)
29263 (abi-n32_hard-options, abi-n32_soft_2008-options)
29264 (abi-n32_hard_2008-options, abi-n64_soft-options)
29265 (abi-n64_hard-options, abi-n64_soft_2008-options)
29266 (abi-n64_hard_2008-options): Likewise.
29267 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29268 (abi-64-v1-options, abi-64-v2-options): Likewise.
29269 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29270 (abi-64-options): Likewise.
29271 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29272 (abi-64-options): Likewise.
29273 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29274 (abi-64-options): Likewise.
29275 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29276 (abi-64-options, abi-x32-options): Likewise.
29277
29278 2017-08-28 Florian Weimer <fweimer@redhat.com>
29279
29280 Store supported list of SYS_* system calls in the source tree.
29281 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29282 (bits/syscall.h): Generate from list file.
29283 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29284 [$(subdir) = misc] (tests): Add tst-syscall-list.
29285 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29286 [$(subdir) = misc] (tst-syscall-list-macros.list)
29287 [$(subdir) = misc] (tst-syscall-list-nr.list)
29288 (tst-syscall-list-sys.list): Helper targets for new
29289 tst-syscall-list test.
29290 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29291 tst-syscall-list.sh.
29292 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29293 target. Do not include bits/syscall.d.
29294 [$(subdir) = misc] (generated): Do not update.
29295 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29296 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29297 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29298 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29299
29300 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29301
29302 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29303 (tst-cxa_atexit, tst-on_exit): Likewise.
29304 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29305 tst-cxa_atexit, and tst-on_exit.
29306 * stdlib/tst-atexit-common.c: New file.
29307 * stdlib/tst-atexit.c: New file.
29308 * stdlib/tst-at_quick_exit.c: New file.
29309 * stdlib/tst-cxa_atexit.c: New file.
29310 * stdlib/tst-on_exit.c: New file.
29311
29312 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29313
29314 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
29315 * mach/stack_chk_fail_local.c: New file.
29316 * hurd/stack_chk_fail_local.c: New file.
29317 * mach/Machrules ($(interface-library)-routines): Add
29318 stack_chk_fail_local.
29319 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29320 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29321 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29322 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29323 * hurd/Makefile (CFLAGS-hurdstartup.o,
29324 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29325
29326 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29327
29328 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29329 (index_cpu_*, index_arch_*): Removed.
29330
29331 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29332
29333 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29334 Use uint64_t instead of unsigned long.
29335
29336 2017-08-25 Joseph Myers <joseph@codesourcery.com>
29337
29338 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29339 [__HAVE_DISTINCT_FLOAT128].
29340
29341 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29342 of <bits/math-finite.h>.
29343 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29344 inclusion of <bits/math-finite.h>.
29345 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29346 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29347 __NO_LONG_DOUBLE_MATH].
29348 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29349 (__MATH_REDIRCALL_2): Likewise.
29350 (__MATH_REDIRCALL_INTERNAL): Likewise.
29351 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29352 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29353 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29354
29355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29356 Remove file.
29357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29358 Likewise.
29359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29360 Likewise.
29361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29362 Likewise.
29363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29364 Likewise.
29365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29366 Likewise.
29367 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29368 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29369 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29370 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29372 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29373 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29374 w_sqrtf_compat-ppc32.
29375
29376 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29377
29378 * math/math.h [defined __cplusplus] (issignaling): In the long
29379 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29380 is not defined. Call __issignaling, otherwise.
29381
29382 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29383
29384 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29385 syscall definitions and replace __builtin_expect with __glibc_likely.
29386 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29387 syscall.
29388 (SYSCALL_CANCELLABLE): Removedefinition
29389 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29390 definition.
29391 (PSEUDO_END): Likewise.
29392 [IS_IN (libpthread)] (CENABLE): Likewise.
29393 [IS_IN (libpthread)] (CDISABLE): Likewise.
29394 [IS_IN (libc)] (CENABLE): Likewise.
29395 [IS_IN (libc)] (CENABLE): Likewise.
29396 [IS_IN (librt)] (CDISABLE): Likewise.
29397 [IS_IN (librt)] (CDISABLE): Likewise.
29398 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29399 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29400 definition.
29401 (PSEUDO_END): Likewise.
29402 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29403 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29404 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29405 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29406 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29407 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29408 (CENABLE): Likewise.
29409 (CDISABLE): Likewise.
29410 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29411 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29412 defintion.
29413 (PSEUDO_END): Likewise.
29414 [IS_IN (libpthread)] (CENABLE): Likewise.
29415 [IS_IN (libpthread)] (CDISABLE): Likewise.
29416 [IS_IN (libc)] (CENABLE): Likewise.
29417 [IS_IN (libc)] (CENABLE): Likewise.
29418 [IS_IN (librt)] (CDISABLE): Likewise.
29419 [IS_IN (librt)] (CDISABLE): Likewise.
29420 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29421 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29422 definition.
29423 (PSEUDO_END): Likewise.
29424 [IS_IN (libpthread)] (CENABLE): Likewise.
29425 [IS_IN (libpthread)] (CDISABLE): Likewise.
29426 [IS_IN (libc)] (CENABLE): Likewise.
29427 [IS_IN (libc)] (CENABLE): Likewise.
29428 [IS_IN (librt)] (CDISABLE): Likewise.
29429 [IS_IN (librt)] (CDISABLE): Likewise.
29430 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29431 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29432 definition.
29433 (PSEUDO_END): Likewise.
29434 [IS_IN (libpthread)] (CENABLE): Likewise.
29435 [IS_IN (libpthread)] (CDISABLE): Likewise.
29436 [IS_IN (libc)] (CENABLE): Likewise.
29437 [IS_IN (libc)] (CENABLE): Likewise.
29438 [IS_IN (librt)] (CDISABLE): Likewise.
29439 [IS_IN (librt)] (CDISABLE): Likewise.
29440 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29441 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29442 definition.
29443 (PSEUDO_END): Likewise.
29444 [IS_IN (libpthread)] (CENABLE): Likewise.
29445 [IS_IN (libpthread)] (CDISABLE): Likewise.
29446 [IS_IN (libc)] (CENABLE): Likewise.
29447 [IS_IN (libc)] (CENABLE): Likewise.
29448 [IS_IN (librt)] (CDISABLE): Likewise.
29449 [IS_IN (librt)] (CDISABLE): Likewise.
29450 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29451 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29452 definition.
29453 (PSEUDO_END): Likewise.
29454 [IS_IN (libpthread)] (CENABLE): Likewise.
29455 [IS_IN (libpthread)] (CDISABLE): Likewise.
29456 [IS_IN (libc)] (CENABLE): Likewise.
29457 [IS_IN (libc)] (CENABLE): Likewise.
29458 [IS_IN (librt)] (CDISABLE): Likewise.
29459 [IS_IN (librt)] (CDISABLE): Likewise.
29460 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29461 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
29462 definition.
29463 (PSEUDO_END): Likewise.
29464 [IS_IN (libpthread)] (CENABLE): Likewise.
29465 [IS_IN (libpthread)] (CDISABLE): Likewise.
29466 [IS_IN (libc)] (CENABLE): Likewise.
29467 [IS_IN (libc)] (CENABLE): Likewise.
29468 [IS_IN (librt)] (CDISABLE): Likewise.
29469 [IS_IN (librt)] (CDISABLE): Likewise.
29470 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29471 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
29472 Remove definition.
29473 (PSEUDO_END): Likewise.
29474 [IS_IN (libpthread)] (CENABLE): Likewise.
29475 [IS_IN (libpthread)] (CDISABLE): Likewise.
29476 [IS_IN (libc)] (CENABLE): Likewise.
29477 [IS_IN (libc)] (CENABLE): Likewise.
29478 [IS_IN (librt)] (CDISABLE): Likewise.
29479 [IS_IN (librt)] (CDISABLE): Likewise.
29480 (SINGLE_THREAD_P): Likewise.
29481 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
29482 definition.
29483 (PSEUDO_END): Likewise.
29484 [IS_IN (libpthread)] (CENABLE): Likewise.
29485 [IS_IN (libpthread)] (CDISABLE): Likewise.
29486 [IS_IN (libc)] (CENABLE): Likewise.
29487 [IS_IN (libc)] (CENABLE): Likewise.
29488 [IS_IN (librt)] (CDISABLE): Likewise.
29489 [IS_IN (librt)] (CDISABLE): Likewise.
29490 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29491 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
29492 definition.
29493 (PSEUDO_END): Likewise.
29494 [IS_IN (libpthread)] (CENABLE): Likewise.
29495 [IS_IN (libpthread)] (CDISABLE): Likewise.
29496 [IS_IN (libc)] (CENABLE): Likewise.
29497 [IS_IN (libc)] (CENABLE): Likewise.
29498 [IS_IN (librt)] (CDISABLE): Likewise.
29499 [IS_IN (librt)] (CDISABLE): Likewise.
29500 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29501 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29502 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29503 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29504 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
29505 definition.
29506 (PSEUDO_END): Likewise.
29507 [IS_IN (libpthread)] (CENABLE): Likewise.
29508 [IS_IN (libpthread)] (CDISABLE): Likewise.
29509 [IS_IN (libc)] (CENABLE): Likewise.
29510 [IS_IN (libc)] (CENABLE): Likewise.
29511 [IS_IN (librt)] (CDISABLE): Likewise.
29512 [IS_IN (librt)] (CDISABLE): Likewise.
29513 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29514 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29515 definition.
29516 (PSEUDO_END): Likewise.
29517 [IS_IN (libpthread)] (CENABLE): Likewise.
29518 [IS_IN (libpthread)] (CDISABLE): Likewise.
29519 [IS_IN (libc)] (CENABLE): Likewise.
29520 [IS_IN (libc)] (CENABLE): Likewise.
29521 [IS_IN (librt)] (CDISABLE): Likewise.
29522 [IS_IN (librt)] (CDISABLE): Likewise.
29523 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29524 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29525 definition.
29526 (PSEUDO_END): Likewise.
29527 [IS_IN (libpthread)] (CENABLE): Likewise.
29528 [IS_IN (libpthread)] (CDISABLE): Likewise.
29529 [IS_IN (libc)] (CENABLE): Likewise.
29530 [IS_IN (libc)] (CENABLE): Likewise.
29531 [IS_IN (librt)] (CDISABLE): Likewise.
29532 [IS_IN (librt)] (CDISABLE): Likewise.
29533 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29534 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29535 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29536 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29537 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
29538 definition.
29539 (PSEUDO_END): Likewise.
29540 [IS_IN (libpthread)] (CENABLE): Likewise.
29541 [IS_IN (libpthread)] (CDISABLE): Likewise.
29542 [IS_IN (libc)] (CENABLE): Likewise.
29543 [IS_IN (libc)] (CENABLE): Likewise.
29544 [IS_IN (librt)] (CDISABLE): Likewise.
29545 [IS_IN (librt)] (CDISABLE): Likewise.
29546 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29547 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29548 definition.
29549 (PSEUDO_END): Likewise.
29550 [IS_IN (libpthread)] (CENABLE): Likewise.
29551 [IS_IN (libpthread)] (CDISABLE): Likewise.
29552 [IS_IN (libc)] (CENABLE): Likewise.
29553 [IS_IN (libc)] (CENABLE): Likewise.
29554 [IS_IN (librt)] (CDISABLE): Likewise.
29555 [IS_IN (librt)] (CDISABLE): Likewise.
29556 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29557
29558 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29559
29560 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29561
29562 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29563
29564 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29565
29566 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29567
29568 [BZ #21982]
29569 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29570 middle and outer with size_t instead of int. Repleace %d and
29571 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29572 "MAX (outer, nchars - 64)" to support unsigned outer and
29573 nchars. Also exit loop when outer == 0.
29574
29575 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29576
29577 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29578 * include/signal.h (__sigsuspend_nocancel): Likewise.
29579 * include/time.h (__nanosleep_nocancel): Likewise.
29580 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29581 * login/utmp_file.c: Include non cancellable syscall header.
29582 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29583 prototype.
29584
29585 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29586
29587 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29588 .byte sequences with AVX512F instructions.
29589 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29590 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29591 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29592 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29593 Likewise.
29594 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29595 Likewise.
29596
29597 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29598 Steve Ellcey <sellcey@cavium.com>
29599
29600 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29601 Use PTR_REG macro in cmp instruction.
29602
29603 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29604
29605 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29606 Change the return type of the ifunc resolver to match the return
29607 type of the target function.
29608
29609 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29610
29611 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29612 (preadv64): Likewise.
29613 (pwrite64(: Likewise.
29614 (pwritev64): Likewise.
29615
29616 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29617 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29618 (LOAD_ARGS_0): Likewise.
29619 (LOAD_ARGS_1): Likewise.
29620 (LOAD_ARGS_2): Likewise.
29621 (LOAD_ARGS_3): Likewise.
29622 (LOAD_ARGS_4): Likewise.
29623 (LOAD_ARGS_5): Likewise.
29624 (LOAD_ARGS_6): Likewise.
29625 (LOAD_REGS_0): Likewise.
29626 (LOAD_REGS_1): Likewise.
29627 (LOAD_REGS_2): Likewise.
29628 (LOAD_REGS_3): Likewise.
29629 (LOAD_REGS_4): Likewise.
29630 (LOAD_REGS_5): Likewise.
29631 (LOAD_REGS_6): Likewise.
29632 (ASM_ARGS_0): Likewise.
29633 (ASM_ARGS_1): Likewise.
29634 (ASM_ARGS_2): Likewise.
29635 (ASM_ARGS_3): Likewise.
29636 (ASM_ARGS_4): Likewise.
29637 (ASM_ARGS_5): Likewise.
29638 (ASM_ARGS_6): Likewise.
29639 (LOAD_ARGS_TYPES_1): Likewise.
29640 (LOAD_ARGS_TYPES_2): Likewise.
29641 (LOAD_ARGS_TYPES_3): Likewise.
29642 (LOAD_ARGS_TYPES_4): Likewise.
29643 (LOAD_ARGS_TYPES_5): Likewise.
29644 (LOAD_ARGS_TYPES_6): Likewise.
29645 (LOAD_REGS_TYPES_1): Likewise.
29646 (LOAD_REGS_TYPES_2): Likewise.
29647 (LOAD_REGS_TYPES_3): Likewise.
29648 (LOAD_REGS_TYPES_4): Likewise.
29649 (LOAD_REGS_TYPES_5): Likewise.
29650 (LOAD_REGS_TYPES_6): Likewise.
29651 (TYPEFY): New define.
29652 (ARGIFY): Likewise.
29653 (internal_syscall0): Likewise.
29654 (internal_syscall1): Likewise.
29655 (internal_syscall2): Likewise.
29656 (internal_syscall3): Likewise.
29657 (internal_syscall4): Likewise.
29658 (internal_syscall5): Likewise.
29659 (internal_syscall6): Likewise.
29660 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29661 (INTERNAL_SYSCALL_NCS): Remove define.
29662 (internal_syscall1): Add define.
29663
29664 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29665
29666 * math/w_remainder_compat.c: Remove duplicate inclusion of
29667 math-svid-compat.h.
29668 * math/w_remainderf_compat.c: Likewise.
29669 * math/w_remainderl_compat.c: Likewise.
29670
29671 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29672
29673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29674
29675 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29676
29677 [BZ #21684]
29678 * math/tgmath.h (__floating_type): Simplify definitions.
29679 (__real_integer_type): New macro.
29680 (__complex_integer_type): Likewise.
29681 (__expr_is_real): Likewise.
29682 (__tgmath_real_type_sub): Update comment to describe handling of
29683 complex types.
29684 (__tgmath_complex_type_sub): New macro.
29685 (__tgmath_complex_type): Likewise.
29686 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29687 (__TGMATH_CF128): Use __expr_is_real.
29688 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29689 __expr_is_real.
29690 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29691 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29692 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29693 integer types.
29694
29695 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29696
29697 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29698 macro.
29699 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29700 alias.
29701 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29702 Likewise.
29703
29704 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29705 nanosleep_not_cancel with __nanosleep_nocancel.
29706 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29707 (__nanosleep_nocancel): New macro.
29708 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29709 function.
29710 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29711 macro.
29712 (__nanosleep_nocancel): New prototype.
29713
29714 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29715 pause_not_cancel with __pause_nocancel.
29716 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29717 (__pause_nocancel): New macro.
29718 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29719 macro.
29720 (__pause_nocancel): New prototype.
29721 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29722
29723 2017-08-22 Martin Sebor <msebor@redhat.com>
29724
29725 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29726 to return a pointer to the same type as the target function.
29727
29728 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29729
29730 [BZ #18822]
29731 [BZ #21986]
29732 * include/printf.h (__printf_fphex): Add attribute_hidden.
29733 (__guess_grouping): New prototype.
29734 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29735 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29736 libc_hidden_proto and libc_hidden_def.
29737 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29738 (__vstrfmon_l): Remove the third argument passed to
29739 __guess_grouping.
29740
29741 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29742
29743 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29744 definition for issignaling that does not rely on __MATH_TG,
29745 since __MATH_TG uses __builtin_types_compatible_p, which is only
29746 available in C mode.
29747 (CFLAGS-test-math-issignaling.cc): New variable.
29748 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29749 * math/test-math-issignaling.cc: New test for C++ implementation
29750 of type-generic issignaling.
29751 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29752 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29753 options of test-math-issignaling on powerpc64le.
29754
29755 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29756
29757 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29758 building libc.a.
29759 (hidden_proto): Likewise.
29760 (hidden_tls_proto): Likewise.
29761 (__hidden_proto): Likewise.
29762
29763 2017-08-22 Florian Weimer <fweimer@redhat.com>
29764
29765 math: Statically link tests of internal functionality.
29766 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29767 atest-exp2.
29768 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29769 (gmp-objs): Remove assignment.
29770 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29771
29772 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29773
29774 [BZ #21987]
29775 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29776 and copy to ...
29777 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29778 ... here.
29779 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29780 ... and here.
29781
29782 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29783 variable definitions above inclusion of ../Rules.
29784
29785 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29786
29787 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29788 case calling __builtin_unreachable.
29789
29790 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29791
29792 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29793 __waitpid_nocancel.
29794 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29795 (__waitpid_nocancel): New macro.
29796 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29797 macro.
29798 (__waitpid_nocancel): Replace macro with a function.
29799 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29800 function.
29801
29802 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29803 __fcntl_nocancel.
29804 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29805 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29806
29807 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29808 __writev_nocancel_nostatus.
29809 (write_call_graph): Likewise.
29810 (write_bb_counts): Likewise.
29811 * resolv/herror.c (herror): Likewise.
29812 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29813 macro.
29814 (__writev_nocancel_nostatus): New macro.
29815 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29816 Remove macro.
29817 (__writev_nocancel_nostatus): New function.
29818
29819 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29820
29821 Revert:
29822 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29823
29824 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29825 building libc.a.
29826 (hidden_proto): Likewise.
29827 (hidden_tls_proto): Likewise.
29828 (__hidden_proto): Likewise.
29829
29830 [BZ #21973]
29831 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29832 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29834 Likewise.
29835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29836 Likewise.
29837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29838 Likewise.
29839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29840 Likewise.
29841 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29842 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29843 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29844 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29845 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29846 GLIBC_2.0 sqrtl symbol.
29847
29848 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29849 [__USE_MISC] (_LIB_VERSION): Likewise.
29850 [__USE_MISC] (struct exception): Likewise.
29851 [__USE_MISC] (matherr): Likewise.
29852 [__USE_MISC] (DOMAIN): Likewise.
29853 [__USE_MISC] (SING): Likewise.
29854 [__USE_MISC] (OVERFLOW): Likewise.
29855 [__USE_MISC] (UNDERFLOW): Likewise.
29856 [__USE_MISC] (TLOSS): Likewise.
29857 [__USE_MISC] (PLOSS): Likewise.
29858 [__USE_MISC] (HUGE): Likewise.
29859 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29860 * math/math-svid-compat.h: New file.
29861 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29862 and matherrl.
29863 * include/math.h [!_ISOMAC] (__matherr): Remove.
29864 * manual/arith.texi (FP Exceptions): Do not document matherr.
29865 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29866 (tests-internal): New variable.
29867 (install-lib): Do not add libieee.a.
29868 (non-lib.a): Likewise.
29869 (extra-objs): Do not add libieee.a and ieee-math.o.
29870 (CPPFLAGS-s_lib_version.c): Remove variable.
29871 ($(objpfx)libieee.a): Remove rule.
29872 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29873 * math/ieee-math.c: Remove.
29874 * math/libm-test-support.c (matherr): Remove.
29875 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29876 and license notices. Include <math-svid-compat.h> and
29877 <shlib-compat.h>.
29878 (matherr): Undefine as macro. Use compat_symbol_reference.
29879 (_LIB_VERSION): Likewise.
29880 * math/test-matherr-2.c: New file.
29881 * math/test-matherr-3.c: Likewise.
29882 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29883 declaration.
29884 (__kernel_standard_f): Likewise.
29885 (__kernel_standard_l): Likewise.
29886 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29887 <math_private.h>. Include <math-svid-compat.h>.
29888 (_LIB_VERSION): Undefine as macro.
29889 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29890 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29891 [LIBM_SVID_COMPAT], use compat_symbol.
29892 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29893 <math_private.h>. Include <math-svid-compat.h>.
29894 (matherr): Undefine as macro.
29895 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29896 compat_symbol.
29897 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29898 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29899 compat_symbol_reference.
29900 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29901 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29902 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29903 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29904 (MATHERR_D): Remove declaration.
29905 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29906 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29907 [LIBM_BUILD] (pmatherrf): Likewise.
29908 [LIBM_BUILD] (pmatherr): Likewise.
29909 [LIBM_BUILD] (pmatherrl): Likewise.
29910 (DOMAIN): Likewise.
29911 (SING): Likewise.
29912 (OVERFLOW): Likewise.
29913 (UNDERFLOW): Likewise.
29914 (TLOSS): Likewise.
29915 (PLOSS): Likewise.
29916 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29917 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29918 compat_symbol.
29919 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29920 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29921 compat_symbol.
29922 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29923 * math/w_acos_compat.c: Likewise.
29924 * math/w_acosf_compat.c: Likewise.
29925 * math/w_acosh_compat.c: Likewise.
29926 * math/w_acoshf_compat.c: Likewise.
29927 * math/w_acoshl_compat.c: Likewise.
29928 * math/w_acosl_compat.c: Likewise.
29929 * math/w_asin_compat.c: Likewise.
29930 * math/w_asinf_compat.c: Likewise.
29931 * math/w_asinl_compat.c: Likewise.
29932 * math/w_atan2_compat.c: Likewise.
29933 * math/w_atan2f_compat.c: Likewise.
29934 * math/w_atan2l_compat.c: Likewise.
29935 * math/w_atanh_compat.c: Likewise.
29936 * math/w_atanhf_compat.c: Likewise.
29937 * math/w_atanhl_compat.c: Likewise.
29938 * math/w_cosh_compat.c: Likewise.
29939 * math/w_coshf_compat.c: Likewise.
29940 * math/w_coshl_compat.c: Likewise.
29941 * math/w_exp10_compat.c: Likewise.
29942 * math/w_exp10f_compat.c: Likewise.
29943 * math/w_exp10l_compat.c: Likewise.
29944 * math/w_exp2_compat.c: Likewise.
29945 * math/w_exp2f_compat.c: Likewise.
29946 * math/w_exp2l_compat.c: Likewise.
29947 * math/w_fmod_compat.c: Likewise.
29948 * math/w_fmodf_compat.c: Likewise.
29949 * math/w_fmodl_compat.c: Likewise.
29950 * math/w_hypot_compat.c: Likewise.
29951 * math/w_hypotf_compat.c: Likewise.
29952 * math/w_hypotl_compat.c: Likewise.
29953 * math/w_j0_compat.c: Likewise.
29954 * math/w_j0f_compat.c: Likewise.
29955 * math/w_j0l_compat.c: Likewise.
29956 * math/w_j1_compat.c: Likewise.
29957 * math/w_j1f_compat.c: Likewise.
29958 * math/w_j1l_compat.c: Likewise.
29959 * math/w_jn_compat.c: Likewise.
29960 * math/w_jnf_compat.c: Likewise.
29961 * math/w_jnl_compat.c: Likewise.
29962 * math/w_lgamma_main.c: Likewise.
29963 * math/w_lgamma_r_compat.c: Likewise.
29964 * math/w_lgammaf_main.c: Likewise.
29965 * math/w_lgammaf_r_compat.c: Likewise.
29966 * math/w_lgammal_main.c: Likewise.
29967 * math/w_lgammal_r_compat.c: Likewise.
29968 * math/w_log10_compat.c: Likewise.
29969 * math/w_log10f_compat.c: Likewise.
29970 * math/w_log10l_compat.c: Likewise.
29971 * math/w_log2_compat.c: Likewise.
29972 * math/w_log2f_compat.c: Likewise.
29973 * math/w_log2l_compat.c: Likewise.
29974 * math/w_log_compat.c: Likewise.
29975 * math/w_logf_compat.c: Likewise.
29976 * math/w_logl_compat.c: Likewise.
29977 * math/w_pow_compat.c: Likewise.
29978 * math/w_powf_compat.c: Likewise.
29979 * math/w_powl_compat.c: Likewise.
29980 * math/w_remainder_compat.c: Likewise.
29981 * math/w_remainderf_compat.c: Likewise.
29982 * math/w_remainderl_compat.c: Likewise.
29983 * math/w_scalb_compat.c: Likewise.
29984 * math/w_scalbf_compat.c: Likewise.
29985 * math/w_scalbl_compat.c: Likewise.
29986 * math/w_sinh_compat.c: Likewise.
29987 * math/w_sinhf_compat.c: Likewise.
29988 * math/w_sinhl_compat.c: Likewise.
29989 * math/w_sqrt_compat.c: Likewise.
29990 * math/w_sqrtf_compat.c: Likewise.
29991 * math/w_sqrtl_compat.c: Likewise.
29992 * math/w_tgamma_compat.c: Likewise.
29993 * math/w_tgammaf_compat.c: Likewise.
29994 * math/w_tgammal_compat.c: Likewise.
29995 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29996 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29997 * sysdeps/ieee754/k_standard.c: Likewise.
29998 * sysdeps/ieee754/k_standardf.c: Likewise.
29999 * sysdeps/ieee754/k_standardl.c: Likewise.
30000 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30001 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30002 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30003 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30004 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30005 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30006 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30007 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30008 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30010 Likewise.
30011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30012 Likewise.
30013 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30014 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30015 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30016 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30017
30018 2017-08-21 Florian Weimer <fweimer@redhat.com>
30019
30020 [BZ #21864]
30021 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30022 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30023 Move before inclusion of ../Rules.
30024
30025 2017-08-21 Florian Weimer <fweimer@redhat.com>
30026
30027 [BZ #21972]
30028 * assert/assert.h (assert): Use static_cast (bool) for C++.
30029 Use the ternary operator in the warning branch for GNU C.
30030 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30031 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30032 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30033 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30034 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30035
30036 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30037
30038 [BZ #18822]
30039 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30040 (__syscall_clock_gettime): Add attribute_hidden.
30041 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30042 (__start_context): Likewise.
30043
30044 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30045
30046 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30047 building libc.a.
30048 (hidden_proto): Likewise.
30049 (hidden_tls_proto): Likewise.
30050 (__hidden_proto): Likewise.
30051
30052 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30053
30054 * include/libc-symbols.h (attribute_hidden): Enable hidden
30055 visibility in libc.a compiled with PIE.
30056
30057 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30058
30059 [BZ #18822]
30060 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30061 Add attribute_hidden.
30062
30063 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30064
30065 [BZ #21864]
30066 * Makerules (all-nonlib): Add $(others-extras).
30067 * catgets/Makefile (others-extras): New.
30068 * elf/Makefile (others-extras): Likewise.
30069 * nss/Makefile (others-extras): Likewise.
30070
30071 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30072
30073 [BZ #18822]
30074 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30075 * elf/dl-open.c: Include <libc-internal.h>.
30076 (__libc_multiple_libcs): Removed.
30077 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30078 <hp-timing.h>.
30079 * include/libc-internal.h (__libc_multiple_libcs): New.
30080 * misc/sbrk.c: Include <libc-internal.h>.
30081 (__libc_multiple_libcs): Removed.
30082
30083 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30084
30085 [BZ #18822]
30086 * grp/initgroups.c (__nss_group_database): Removed.
30087 (__nss_initgroups_database): Likewise.
30088 * nscd/gai.c (__nss_hosts_database): Likewise.
30089 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30090 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30091 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30092 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30093 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30094 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30095 attribute_hidden.
30096 * nss/nsswitch.c (__nss_database_custom): Define only if
30097 USE_NSCD is defined.
30098 (__nss_configure_lookup): Use __nss_database_custom only if
30099 USE_NSCD is defined.
30100 * nss/nsswitch.h (__nss_database_custom): Declare only if
30101 USE_NSCD is defined. Add attribute_hidden.
30102 (__nss_setent): Add attribute_hidden.
30103 (__nss_endent): Likewise.
30104 (__nss_getent_r): Likewise.
30105 (__nss_getent): Likewise.
30106 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30107
30108 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30109
30110 [BZ #18822]
30111 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30112 libc_hidden_proto and libc_hidden_def.
30113
30114 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30115
30116 [BZ #18822]
30117 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30118 Add libc_hidden_proto.
30119 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30120 Add libc_hidden_def.
30121
30122 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30123
30124 [BZ #21974]
30125 * gmon/Makefile (routines): Remove bb_init_func and
30126 bb_exit_func.
30127 (elide-routines.os): Removed.
30128 * gmon/bb_exit_func.c: Likewise.
30129 * gmon/bb_init_func.c: Likewise.
30130 * include/sys/gmon.h (__bb): Likewise.
30131 (__bb_init_func): Likewise.
30132 (__bb_exit_func): Likewise.
30133 * sysdeps/alpha/bb_init_func.S: Likewise.
30134
30135 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30136
30137 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30138 * include/setjmp.h (____longjmp_chk): Here. Add
30139 attribute_hidden.
30140
30141 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30142
30143 [BZ #18822]
30144 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30145 attribute_hidden.
30146 (__strspn_sse2): Likewise.
30147
30148 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30149
30150 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30151 (close_not_cancel_no_status): Likewise.
30152 (__close_nocancel): New macro.
30153 (__close_nocancel_nostatus): Likewise.
30154 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30155 macro.
30156 (close_not_cancel): Likewise.
30157 (close_not_cancel_no_status): Likewise.
30158 (__close_nocancel): New prototype.
30159 (__close_nocancel_nostatus): New function.
30160 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30161 * catgets/open_catalog.c (__open_catalog): Replace
30162 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30163 * gmon/gmon.c (write_gmon): Likewise.
30164 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30165 * intl/loadmsgcat.c (close): Likewise.
30166 * io/ftw.c (open_dir_stream): Likewise.
30167 (ftw_startup): Likewise.
30168 * libio/fileops.c (_IO_file_open): Likewise.
30169 (_IO_file_close_mmap): Likewise.
30170 (_IO_file_close): Likewise.
30171 * libio/iopopen.c (_IO_dup2): Likewise.
30172 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30173 * locale/loadlocale.c (_nl_load_locale): Likewise.
30174 * login/utmp_file.c (pututline_file): Likewise.
30175 (endutent_file): Likewise.
30176 * misc/daemon.c (daemon): Likewise.
30177 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30178 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30179 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30180 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30181 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30182 * nscd/nscd_helper.c (open_socket): Likewise.
30183 (__nscd_open_socket): Likewise.
30184 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30185 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30186 (__nscd_innetgr): Likewise.
30187 * nss/nss_db/db-open.c (internal_setent): Likewise.
30188 * resolv/res-close.c (__res_iclose): Likewise.
30189 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30190 * sysdeps/posix/closedir.c (__closedir): Likewise.
30191 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30192 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30193 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30194 (opendir_tail): Likewise.
30195 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30196 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30197 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30198 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30199 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30200 (gethostid): Likewise.
30201 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30202 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30203 Likewise.
30204 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30205 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30206 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30207 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30208 Likewise.
30209 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30210 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30211 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30212 Likewise.
30213 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30214 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30215 Likewise.
30216 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30217 Likewise.
30218 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30219 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30220 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30221 __close_nocancel.
30222
30223 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30224 (openat_not_cancel_3): Likewise.
30225 (openat64_not_cancel_3): Likewise).
30226 (openat_not_cancel_3): Likewise).
30227 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30228 macro.
30229 (openat_not_cancel_3): Likewise.
30230 (openat64_not_cancel): Likewise.
30231 (openat64_not_cancel_3): Likewise.
30232 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30233 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30234 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30235 __open{64}_nocancel.
30236 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30237 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30238 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30239
30240 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30241
30242 [BZ #18822]
30243 * include/argz.h (__argz_create_sep): New function prototype.
30244 (__argz_append): Likewise.
30245 (__argz_add): Likewise.
30246 (__argz_add_sep): Likewise.
30247 (__argz_delete): Likewise.
30248 (__argz_insert): Likewise.
30249 (__argz_replace): Likewise.
30250 * string/argz.h (__argz_create_sep): Removed.
30251 (__argz_append): Likewise.
30252 (__argz_add): Likewise.
30253 (__argz_add_sep): Likewise.
30254 (__argz_delete): Likewise.
30255 (__argz_insert): Likewise.
30256 (__argz_replace): Likewise.
30257
30258 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30259
30260 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30261 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30262 (GNU_PROPERTY_STACK_SIZE): Likewie.
30263 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30264 (GNU_PROPERTY_LOPROC): Likewise.
30265 (GNU_PROPERTY_HIPROC): Likewise.
30266 (GNU_PROPERTY_LOUSER): Likewise.
30267 (GNU_PROPERTY_HIUSER): Likewise.
30268 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30269 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30270 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30271 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30272 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30273 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30274 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30275 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30276 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30277 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30278 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30279 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30280 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30281 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30282 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30283 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30284 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30285 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30286 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30287 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30288 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30289 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30290 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30291
30292 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30293
30294 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30295 in C++ mode.
30296
30297 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30298
30299 [BZ #21930]
30300 * math/math.h (isinf): Check if in C or C++ mode before using
30301 __builtin_types_compatible_p, since this is a C mode feature.
30302
30303 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30304
30305 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30306 (__write_nocancel): New macro.
30307 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30308 Rewrite as a function prototype.
30309 (write_not_cancel): Remove macro.
30310 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30311 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30312 (write_gmon): Likewise.
30313 * libio/fileops.c (_IO_new_file_write): Likewise.
30314 * login/utmp_file.c (pututline_file): Likewise.
30315 (updwtmp_file): Likewise.
30316 * stdio-common/psiginfo.c (psiginfo): Likewise.
30317 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30318 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30319 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30320 Likewise.
30321 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30322 Likewise.
30323
30324 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30325 (__read_nocancel): New macro.
30326 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30327 __read_nocancel.
30328 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30329 macro.
30330 (__read_nocancel): New prototype.
30331 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30332 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30333 with __read_nocancel.
30334 * intl/loadmsgcat.c (read): Likewise.
30335 * libio/fileops.c (_IO_file_read): Likewise.
30336 * locale/loadlocale.c (_nl_load_locale): Likewise.
30337 * login/utmp_file.c (getutent_r_file): Likewise.
30338 (internal_getut_r): Likewise.
30339 (getutline_r_file): Likewise.
30340 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30341 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30342 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30343 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30344 Likewise.
30345 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30346 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30347 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30348 Likewise.
30349 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30350 Likewise.
30351 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30352 Likewise.
30353 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30354 Likewise.
30355 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30356
30357 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30358
30359 [BZ #21966]
30360 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30361 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30362 usable.
30363
30364 2017-08-17 DJ Delorie <dj@redhat.com>
30365
30366 * bug17079.c: Update to new test harness.
30367 * test-digits-dots.c: Likewise.
30368 * test-netdb.c: Likewise.
30369 * tst-field.c: Likewise.
30370 * tst-nss-getpwent.c: Likewise.
30371 * tst-nss-static.c: Likewise.
30372 * tst-nss-test1.c: Likewise.
30373 * tst-nss-test2.c: Likewise.
30374 * tst-nss-test3.c: Likewise.
30375 * tst-nss-test4.c: Likewise.
30376 * tst-nss-test5.c: Likewise.
30377
30378 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30379
30380 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30381 (open_not_cancel_2): Likewise.
30382 (open_nocancel): New macro.
30383 (open64_nocancel): Likewise.
30384 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30385 (open_not_cancel_2): Likewise.
30386 (__open_nocancel): New prototype.
30387 (__open64_nocancel): Likewise.
30388 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30389 __open_nocancel.
30390 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30391 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30392 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30393 with __open_nocancel.
30394 * csu/check_fds.c (check_one_fd): Likewise.
30395 * gmon/gmon.c (write_gmon): Likewise.
30396 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30397 * intl/loadmsgcat.c (open): Likewise.
30398 * libio/fileops.c (_IO_file_open): Likewise.
30399 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30400 * locale/loadlocale.c (_nl_load_locale): Likewise.
30401 * login/utmp_file.c (setutent_file): Likewise.
30402 * misc/daemon.c (daemon): Likewise.
30403 * nss/nss_db/db-open.c (internal_setent): Likewise.
30404 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30405 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30406 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30407 (__opendir): Likewise.
30408 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30409 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30410 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30411 (gethostid): Likewise.
30412 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30413 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30414 Likewise.
30415 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30416 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30417 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30418 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30419 Likewise.
30420 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30421 Likewise.
30422 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30423 Likewise.
30424 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30425 Likewise.
30426 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30427 Likewise.
30428 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30429 Likewise.
30430 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30431 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30432
30433 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30434
30435 * benchtests/bench-skeleton.c (main): Add support for
30436 latency benchmarking.
30437 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30438
30439 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30440
30441 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30442 the startup object.
30443
30444 2017-08-17 Florian Weimer <fweimer@redhat.com>
30445
30446 * include/sys/socket.h (__opensock): Remove internal_function.
30447 * socket/opensock.c (__opensock): Likewise.
30448 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30449
30450 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30451
30452 [BZ #21944]
30453 * signal/bits/types/__sigval_t.h: New file.
30454 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30455 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30456 and define sigval_t using __sigval_t.
30457 * include/bits/types/__sigval_t.h: New file.
30458 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30459 instead of <bits/types/__sigval_t.h>.
30460 (struct sigevent): Use __sigval_t instead of sigval_t.
30461 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30462 instead of <bits/types/__sigval_t.h>.
30463 (siginfo_t): Use __sigval_t instead of sigval_t.
30464 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30465 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30466 (struct sigevent): Use __sigval_t instead of sigval_t.
30467 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30468 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30469 (siginfo_t): Use __sigval_t instead of sigval_t.
30470 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30471
30472 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30473
30474 * NEWS: Remove "[Add new features here]" for 2.27.
30475
30476 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30477
30478 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30479 libc.so.
30480
30481 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30482
30483 * NEWS: Mention x86-64 FMA optimization.
30484
30485 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30486
30487 [BZ #21912]
30488 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30489 Add e_expf-fma.
30490 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30491 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30492 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30493
30494 2017-08-16 Andreas Schwab <schwab@suse.de>
30495
30496 [BZ #16750]
30497 CVE-2009-5064
30498 * elf/ldd.bash.in: Never run file directly.
30499
30500 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30501
30502 [BZ #21955]
30503 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30504 (L(SP_INF_0)): Likewise.
30505
30506 2017-08-15 Florian Weimer <fweimer@redhat.com>
30507
30508 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30509 run-built-tests.
30510
30511 2017-08-15 Florian Weimer <fweimer@redhat.com>
30512
30513 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30514 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30515 BROKEN_THREAD_SIGNALS code.
30516 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30517 request_list): Remove caller_pid member used for
30518 BROKEN_THREAD_SIGNALS.
30519 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30520 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30521 Remove BROKEN_THREAD_SIGNALS support.
30522 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30523 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30524
30525 2017-08-15 Florian Weimer <fweimer@redhat.com>
30526
30527 * gmon/Makefile (tests): Add tst-gmon.
30528 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30529 Set.
30530 (tests-special): Add tst-gmon-prof.out.
30531 (tst-gmon.out): Depend on clean-tst-gmon-data.
30532 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30533 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30534 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30535 startup object.
30536 * aclocal.m4 (GPROF): Set and substitute.
30537 * config.amke.in (GPROF): Set.
30538 * configure: Regenerate.
30539
30540 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30541
30542 * elf/elf.h A (NT_PPC_TAR): New macro.
30543 (NT_PPC_PPR): Likewise.
30544 (NT_PPC_DSCR): Likewise.
30545 (NT_PPC_EBB): Likewise.
30546 (NT_PPC_PMU): Likewise.
30547 (NT_PPC_TM_CGPR): Likewise.
30548 (NT_PPC_TM_CFPR): Likewise.
30549 (NT_PPC_TM_CVMX): Likewise.
30550 (NT_PPC_TM_CVSX): Likewise.
30551 (NT_PPC_TM_SPR): Likewise.
30552 (NT_PPC_TM_CTAR): Likewise.
30553 (NT_PPC_TM_CPPR): Likewise.
30554 (NT_PPC_TM_CDSCR): Likewise.
30555
30556 2017-08-15 Florian Weimer <fweimer@redhat.com>
30557
30558 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30559 regparm (2) instead of internal_function.
30560 (_MCOUNT_DECL): Adjust.
30561
30562 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30563
30564 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30565 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30566
30567 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30568
30569 * conform/data/sys/wait.h-data (si_value): Do not expect for
30570 XPG42.
30571
30572 2017-08-14 Florian Weimer <fweimer@redhat.com>
30573
30574 [BZ #21962]
30575 NSS: Create stubs for accidentally exported lookup functions.
30576 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30577 Remove declaration.
30578 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30579 (ether_hostton): Call __nss_ethers_lookup2 instead.
30580 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30581 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30582 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30583 (setup): Call __nss_netgroup_lookup2 instead.
30584 * nss/Makefile (routines): Add compat-lookup.
30585 * nss/Versions (GLIBC_2.27): Add symbol version.
30586 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30587 (DB_COMPAT_FCT): Remove.
30588 * nss/compat-lookup.c: New file.
30589 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30590 from databases.def.
30591 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30592 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30593 (netname2user): Call __nss_publickey_lookup2 instead.
30594 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30595 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30596 instead.
30597
30598 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30599 Sergei Trofimovich <slyfox@inbox.ru>
30600
30601 [BZ #21908]
30602 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30603 Rename to MMAP2_PAGE_UNIT.
30604 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30605 __OFF_T_MATCHES_OFF64_T is not defined.
30606 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30607 uint64_t.
30608 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30609 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30610
30611 2017-08-14 Florian Weimer <fweimer@redhat.com>
30612
30613 i386: Do not set internal_function.
30614 * config.h.in (USE_REGPARMS, internal_function): Remove.
30615 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30616 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30617
30618 2017-08-14 Florian Weimer <fweimer@redhat.com>
30619
30620 * elf/dl-init.c (_dl_init): Remove internal_function.
30621 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30622 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30623
30624 2017-08-14 Florian Weimer <fweimer@redhat.com>
30625
30626 * elf/rtld.c (_dl_start): Remove internal_function.
30627 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30628 _dl_start.
30629
30630 2017-08-14 Florian Weimer <fweimer@redhat.com>
30631
30632 * elf/dl-fini.c (_dl_fini): Remove internal_function
30633 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30634
30635 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30636
30637 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30638 (bit_cpu_SHSTK): Likewise.
30639 (index_cpu_IBT): Likewise.
30640 (index_cpu_SHSTK): Likewise.
30641 (reg_IBT): Likewise.
30642 (reg_SHSTK): Likewise.
30643 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30644 Handle index_cpu_IBT and index_cpu_SHSTK.
30645
30646 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30647
30648 [BZ #19982]
30649 * po/fr.po: Fix spelling mistake.
30650
30651 2017-08-13 Florian Weimer <fweimer@redhat.com>
30652
30653 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30654 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30655 (_dl_catch_error, _dl_receive_error): Likewise.
30656 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30657 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30658 (_dl_deallocate_tls): Likewise.
30659 * include/dlfcn.h (_dl_addr): Likewise.
30660 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30661 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30662 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30663 Likewise.
30664
30665 2017-08-13 Florian Weimer <fweimer@redhat.com>
30666
30667 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30668 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30669 internal_function.
30670 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30671
30672 2017-08-13 Florian Weimer <fweimer@redhat.com>
30673
30674 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30675 internal_function.
30676 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30677 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30678 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30679 internal_function from _dl_make_stack_executable_hook member.
30680 (_dl_make_stack_executable): Remove internal_function.
30681 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30682 Likewise.
30683 * sysdeps/unix/sysv/linux/dl-execstack.c
30684 (_dl_make_stack_executable): Likewise.
30685
30686 2017-08-13 Florian Weimer <fweimer@redhat.com>
30687
30688 * sysdeps/unix/sysv/linux/netlinkaccess.h
30689 (__netlink_assert_response): Remove internal_function.
30690 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30691 (__netlink_assert_response): Likewise.
30692
30693 2017-08-13 Florian Weimer <fweimer@redhat.com>
30694
30695 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30696 internal_function.
30697 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30698
30699 2017-08-13 Florian Weimer <fweimer@redhat.com>
30700
30701 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30702 internal_function.
30703 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30704 * inet/netgroup.h (__internal_setnetgrent)
30705 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30706 * inet/getnetgrent_r.c (__internal_setnetgrent)
30707 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30708 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30709 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30710 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30711 * nss/nsswitch.h (db_lookup_function): Likewise.
30712
30713 2017-08-13 Florian Weimer <fweimer@redhat.com>
30714
30715 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30716 Remove internal_function.
30717 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30718 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30719 message argument on the stack.
30720 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30721 Likeweise.
30722
30723 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30724
30725 Adapt test case data to the changes in the thousands
30726 separators.
30727
30728 [BZ #20756]
30729 * localedata/tst-langinfo.sh: Adapt test case data.
30730 * stdlib/tst-strfmon_l.c: Likewise.
30731 * stdlib/tst-strtod4.c: Likewise.
30732 * stdlib/tst-strtod5i.c: Likewise.
30733
30734 2017-08-11 Florian Weimer <fweimer@redhat.com>
30735
30736 [BZ #21242]
30737 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30738 Suppress pedantic warning resulting from statement expression.
30739 (__ASSERT_FUNCTION): Add missing __extension__.
30740
30741 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30742
30743 * benchtests/bench-memmove-large.c: Print output in JSON
30744 format.
30745 * benchtests/bench-memmove.c: Likewise.
30746
30747 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30748 * benchtests/bench-memchr.c (do_one_test): Likewise.
30749 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30750 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30751 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30752 * benchtests/bench-memmove.c (do_one_test): Likewise.
30753 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30754 * benchtests/bench-memset.c (do_one_test): Likewise.
30755 * benchtests/bench-string.h (test_init): Remove memsets.
30756
30757 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30758
30759 * manual/lang.texi
30760 (Computing the Width of an Integer Data Type): Rename section to
30761 "Width of an Integer Type". Remove inaccurate statement regarding
30762 lack of C language facilities for determining width of integer
30763 types, and reorder content to improve flow and context of
30764 discussion.
30765
30766 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30767
30768 * lang.texi (va_copy): Change standard from ISO to C99.
30769 (__va_copy): Add standard and header annotation.
30770 Update description for clarity of origins and current use.
30771
30772 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30773
30774 [BZ #21941]
30775 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30776 xssqrtqp requires operands to be in Vector Registers
30777 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30778 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30779 (__ieee754_sqrtf128): Likewise.
30780
30781 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30782
30783 * sysdeps/aarch64/memcmp.S (memcmp):
30784 Rewrite of optimized memcmp.
30785
30786 2017-08-10 Florian Weimer <fweimer@redhat.com>
30787
30788 Introduce ld.so exceptions.
30789 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30790 (_dl_exception_create, _dl_exception_create_format)
30791 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30792 (_dl_catch_exception): Declare.
30793 (_dl_catch_error): Update comment.
30794 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30795 errstring, malloced members with exception member.
30796 (_dl_out_of_memory): Remove.
30797 (fatal_error): New function, extracted from _dl_signal_error.
30798 (_dl_signal_exception, _dl_signal_cexception): New functions.
30799 (_dl_signal_error): Call _dl_exception_create to allocate an
30800 exception object.
30801 (_dl_catch_exception): New function, based on _dl_catch_error.
30802 (_dl_catch_error): Implement using _dl_catch_exception.
30803 * elf/dl-exception.c: New file.
30804 * elf/Makefile (dl-routines): Add dl-exception.
30805 (elide-routines.os): Likewise.
30806 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30807 _dl_exception_create_format, _dl_exception_free.
30808 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30809 _dl_signal_exception.
30810 * elf/dl-lookup.c (make_string): Remove.
30811 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30812 _dl_signal_cexception, _dl_exception_free.
30813 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30814 _dl_signal_exception.
30815 * elf/dl-sym.c (do_sym): Likewise.
30816 * elf/dl-version.c (make_string): Remove.
30817 (match_symbol): Use _dl_exception_create_format,
30818 _dl_signal_cexception, _dl_exception_free.
30819 (_dl_check_map_versions): Likewise.
30820 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30821 _dl_catch_exception.
30822 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30823 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30824 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30825 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30826 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30827 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30828 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30829 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30830 Likewise.
30831 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30833 (ld.so): Likewise.
30834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30835 (ld.so): Likewise.
30836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30837 Likewise.
30838 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30839 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30840 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30841 Likewise.
30842 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30843 Likewise.
30844 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30845
30846 2017-08-10 Florian Weimer <fweimer@redhat.com>
30847
30848 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30849 attribute_hidden, internal_function.
30850 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30851 internal_function.
30852
30853 2017-08-10 Florian Weimer <fweimer@redhat.com>
30854
30855 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30856 function which calls __builtin_unreachable.
30857
30858 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30859
30860 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30861 Indian monetary formatting
30862 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30863 test cases.
30864
30865 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30866
30867 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30868 Fix typo in comment.
30869
30870 [BZ #21928]
30871 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30872 PTRACE_SEIZE_DEVEL): Remove.
30873 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30874 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30875 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30876 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30877 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30878
30879 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30880
30881 * posix/bits/types.h (__qaddr_t): Remove.
30882
30883 [BZ #21457]
30884 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30885 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30886 __glibc_reserved1.
30887 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30888 (ucontext_t): Use __ctx with uc_flags.
30889 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30890 (__ctxt): Likewise.
30891 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30892 __glibc_reserved1.
30893 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30894 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30895 __glibc_reserved1.
30896 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30897 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30898 __glibc_reserved1.
30899 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30900 macro.
30901 (ucontext_t): Use __ctx with uc_flags.
30902 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30903 (ucontext_t): Use __ctx with uc_flags.
30904 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30905 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30906 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30907 (ucontext_t): Use __ctx with uc_flags.
30908 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30909 undefine further down.
30910 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30911 __glibc_reserved1.
30912 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30913 undefine further down.
30914 (ucontext_t): Use __ctx with uc_flags.
30915 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30916 undefine further down.
30917 (ucontext_t): Use __ctx with uc_flags.
30918 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30919 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30920 Rename uc_pad to __glibc_reserved1.
30921 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30922 undefine further down.
30923 (ucontext_t): Use __ctx with uc_flags.
30924 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30925 further down.
30926 (ucontext_t): Use __ctx with uc_flags.
30927 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30928 __ctx with uc_flags.
30929 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30930 (ucontext_t): Use __ctx with uc_flags.
30931 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30932 __ctx with uc_flags.
30933
30934 2017-08-09 Florian Weimer <fweimer@redhat.com>
30935
30936 [BZ #21932]
30937 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30938 before early return.
30939
30940 2017-08-09 Andreas Schwab <schwab@suse.de>
30941
30942 [BZ #21041]
30943 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30944 renamed alias.
30945
30946 [BZ #21041]
30947 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30948 tst-compat-forwarder.
30949 (modules-names): Add tst-compat-forwarder-mod.
30950 ($(objpfx)tst-compat-forwarder): Depend on
30951 $(objpfx)tst-compat-forwarder-mod.so.
30952 * nptl/tst-compat-forwarder.c: New file.
30953 * nptl/tst-compat-forwarder-mod.c: New file.
30954
30955 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30956
30957 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30958 comments.
30959
30960 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30961 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30962 memcpy_falkor.
30963 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30964 Bump.
30965 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30966 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30967 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30968 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30969 Add falkor.
30970 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30971 New macro.
30972
30973 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30974
30975 [BZ #759]
30976 * manual/setjmp.texi (getcontex): Document uc_stack value
30977 compatibility differences.
30978
30979 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30980
30981 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30982 (old_malloc_hook): Likewise.
30983 (old_memalign_hook): Likewise.
30984 (old_realloc_hook): Likewise.
30985 (struct hdr): Likewise.
30986 (flood): Likewise.
30987 (freehook): Likewise.
30988 (mallochook): Likewise.
30989 (memalignhook): Likewise.
30990 (reallochook): Likewise.
30991 (mprobe): Likewise.
30992 * malloc/mtrace.c (mallwatch): Likewise.
30993 (tr_old_free_hook): Likewise.
30994 (tr_old_malloc_hook): Likewise.
30995 (tr_old_realloc_hook): Likewise.
30996 (tr_old_memalign_hook): Likewise.
30997 (tr_where): Likewise.
30998 (lock_and_info): Likewise.
30999 (tr_freehook): Likewise.
31000 (tr_mallochook): Likewise.
31001 (tr_reallochook): Likewise.
31002 (tr_memalignhook): Likewise.
31003 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31004 * misc/mmap.c (__mmap): Likewise.
31005 * misc/mmap64.c (__mmap64): Likewise.
31006 * misc/mprotect.c (__mprotect): Likewise.
31007 * misc/msync.c (msync): Likewise.
31008 * misc/munmap.c (__munmap): Likewise.
31009 * posix/posix_madvise.c (posix_madvise): Likewise.
31010 * socket/send.c (__send): Likewise.
31011 * socket/sendto.c (__sendto): Likewise.
31012 * socket/setsockopt.c (__setsockopt): Likewise.
31013 * string/memcmp.c (__ptr_t): Remove macro.
31014 (MEMCMP): Use void * instead of ptr_t.
31015 * string/memrchr.c (__ptr_t): Remove macro.
31016 (__memrchr): Use void * instead of ptr_t.
31017 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31018 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31019 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31020 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31021 * sysdeps/mach/msync.c (msync): Likewise.
31022 * sysdeps/mach/munmap.c (__munmap): Likewise.
31023 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31024 Likewise.
31025 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31026 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31027 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31028 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31029 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31030 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31031 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31032 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31033 Likewise.
31034 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31035 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31036 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31037 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31038 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31039 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31040 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31041 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31042 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31043 Likewise.
31044 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31045 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31046 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31047 (MEMCMP): Use void * instead of ptr_t.
31048 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31049 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31050
31051 2017-08-08 Florian Weimer <fweimer@redhat.com>
31052
31053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31054 return statement.
31055
31056 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31057
31058 [BZ #21913]
31059 * csu/libc-tls.c: Include <startup.h> first.
31060 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31061 * elf/dl-tunables.c: Include <startup.h> first.
31062 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31063 * sysdeps/generic/startup.h: New file.
31064 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31065 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31066 (I386_USE_SYSENTER): New. Defined to 0.
31067
31068 2017-08-08 Andreas Schwab <schwab@suse.de>
31069
31070 [BZ #21041]
31071 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31072 * nptl/pt-system.c (system): Likewise.
31073
31074 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31075
31076 [BZ #21780]
31077 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31078 EOPNOTSUPP.
31079 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31080 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31081 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31082 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31083 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31084 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31085 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31086
31087 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31088
31089 [BZ #21899]
31090 * bits/sigaction.h (struct sigaction): Define sa_handler and
31091 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31092 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31093 [__USE_XOPEN_EXTENDED].
31094 (SA_RESTART): Likewise.
31095 (SA_NODEFER): Likewise.
31096 (SA_RESETHAND): Likewise.
31097 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31098 (struct sigaction): Define sa_handler and sa_sigaction using union
31099 also for [__USE_XOPEN_EXTENDED].
31100 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31101 [__USE_XOPEN_EXTENDED].
31102 (SA_RESTART): Likewise.
31103 (SA_NODEFER): Likewise.
31104 (SA_RESETHAND): Likewise.
31105 * sysdeps/unix/sysv/linux/bits/sigaction.h
31106 (struct sigaction): Define sa_handler and sa_sigaction using union
31107 also for [__USE_XOPEN_EXTENDED].
31108 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31109 [__USE_XOPEN_EXTENDED].
31110 (SA_RESTART): Likewise.
31111 (SA_NODEFER): Likewise.
31112 (SA_RESETHAND): Likewise.
31113 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31114 (struct sigaction): Define sa_handler and sa_sigaction using union
31115 also for [__USE_XOPEN_EXTENDED].
31116 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31117 [__USE_XOPEN_EXTENDED].
31118 (SA_RESTART): Likewise.
31119 (SA_NODEFER): Likewise.
31120 (SA_RESETHAND): Likewise.
31121 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31122 (struct sigaction): Define sa_handler and sa_sigaction using union
31123 also for [__USE_XOPEN_EXTENDED].
31124 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31125 [__USE_XOPEN_EXTENDED].
31126 (SA_RESTART): Likewise.
31127 (SA_NODEFER): Likewise.
31128 (SA_RESETHAND): Likewise.
31129 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31130 (struct sigaction): Define sa_handler and sa_sigaction using union
31131 also for [__USE_XOPEN_EXTENDED].
31132 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31133 [__USE_XOPEN_EXTENDED].
31134 (SA_RESTART): Likewise.
31135 (SA_NODEFER): Likewise.
31136 (SA_RESETHAND): Likewise.
31137 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31138 (struct sigaction): Define sa_handler and sa_sigaction using union
31139 also for [__USE_XOPEN_EXTENDED].
31140 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31141 [__USE_XOPEN_EXTENDED].
31142 (SA_RESTART): Likewise.
31143 (SA_NODEFER): Likewise.
31144 (SA_RESETHAND): Likewise.
31145 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31146 (struct sigaction): Define sa_handler and sa_sigaction using union
31147 also for [__USE_XOPEN_EXTENDED].
31148 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31149 [__USE_XOPEN_EXTENDED].
31150 (SA_RESTART): Likewise.
31151 (SA_NODEFER): Likewise. Define directly rather than as alias.
31152 (SA_RESETHAND): Likewise.
31153 (SA_INTERRUPT): Define only for [__USE_MISC].
31154 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31155 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31156 [__USE_MISC].
31157 (SA_STACK): Define only for [__USE_MISC].
31158 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31159 (struct sigaction): Define sa_handler and sa_sigaction using union
31160 also for [__USE_XOPEN_EXTENDED].
31161 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31162 [__USE_XOPEN_EXTENDED].
31163 (SA_RESTART): Likewise.
31164 (SA_NODEFER): Likewise.
31165 (SA_RESETHAND): Likewise.
31166 (SA_NOPTRACE): Define only for [__USE_MISC].
31167
31168 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31169 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31170 (struct catalog_info): Likewise.
31171 * inet/htontest.c (lo): Likewise.
31172 (foo): Likewise.
31173 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31174 * inet/inet_net.c (inet_network): Likewise.
31175 * inet/inet_netof.c (inet_netof): Likewise.
31176 * inet/rcmd.c (__ivaliduser): Likewise.
31177 (iruserok): Likewise.
31178 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31179 * locale/programs/locale-spec.c (locale_special): Likewise.
31180 * nis/nis_findserv.c (struct findserv_req): Likewise.
31181 (__nis_findfastest_with_timeout): Likewise.
31182 * nss/test-netdb.c (test_network): Likewise.
31183 * resolv/inet_neta.c (inet_neta): Likewise.
31184 * resolv/ns_date.c (ns_datetosecs): Likewise.
31185 (SECS_PER_DAY): Likewise.
31186 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31187 Likewise.
31188 * resolv/res_comp.c (__putlong): Likewise.
31189 (__putshort): Likewise.
31190 (_getlong): Likewise.
31191 (_getshort): Likewise.
31192 * resolv/res_debug.c (p_time): Likewise.
31193 (precsize_ntoa): Likewise.
31194 (precsize_aton): Likewise.
31195 (latlon2ul): Likewise.
31196 (loc_aton): Likewise.
31197 (loc_ntoa): Likewise.
31198 * resolv/res_hconf.c (struct netaddr): Likewise.
31199 (_res_hconf_reorder_addrs): Likewise.
31200 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31201 (clnttcp_control): Likewise.
31202 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31203 (clntudp_control): Likewise.
31204 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31205 (clntunix_control): Likewise.
31206 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31207 * sunrpc/rpc/auth.h (union des_block): Likewise.
31208 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31209 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31210 (xdrrec_create): Likewise.
31211 (xdrrec_endofrecord): Likewise.
31212 (flush_out): Likewise.
31213 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31214 (xdrstdio_putlong): Likewise.
31215 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31216 Likewise.
31217
31218 * misc/sys/cdefs.h (__long_double_t): Remove.
31219 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31220 instead of __long_double_t,
31221 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31222
31223 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31224
31225 * benchtests/scripts/compare_strings.py: Avoid display error when
31226 running on a text terminal.
31227
31228 * benchtests/scripts/compare_strings.py (main): Add an
31229 optional -base option.
31230 (process_results): New argument base_func.
31231
31232 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31233 hardcoding memcpy.
31234 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31235 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31236
31237 2017-08-07 Andreas Schwab <schwab@suse.de>
31238
31239 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31240 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31241 * intl/Makefile ($(objpfx)tst-gettext.out)
31242 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31243 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31244 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31245 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31246 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31247 * posix/Makefile ($(objpfx)globtest.out)
31248 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31249 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31250 ($(objpfx)tst-printf.out): Likewise.
31251 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31252 ($(objpfx)tst-setcontext3.out): Likewise.
31253
31254 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31255
31256 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31257 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31258 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31259 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31260 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31261 and mptan-fma.
31262 (CFLAGS-doasin-fma.c): New.
31263 (CFLAGS-dosincos-fma.c): Likewise.
31264 (CFLAGS-e_asin-fma.c): Likewise.
31265 (CFLAGS-e_atan2-fma.c): Likewise.
31266 (CFLAGS-e_exp-fma.c): Likewise.
31267 (CFLAGS-e_log-fma.c): Likewise.
31268 (CFLAGS-e_pow-fma.c): Likewise.
31269 (CFLAGS-halfulp-fma.c): Likewise.
31270 (CFLAGS-mpa-fma.c): Likewise.
31271 (CFLAGS-mpatan-fma.c): Likewise.
31272 (CFLAGS-mpatan2-fma.c): Likewise.
31273 (CFLAGS-mpexp-fma.c): Likewise.
31274 (CFLAGS-mplog-fma.c): Likewise.
31275 (CFLAGS-mpsqrt-fma.c): Likewise.
31276 (CFLAGS-mptan-fma.c): Likewise.
31277 (CFLAGS-s_atan-fma.c): Likewise.
31278 (CFLAGS-sincos32-fma.c): Likewise.
31279 (CFLAGS-slowexp-fma.c): Likewise.
31280 (CFLAGS-slowpow-fma.c): Likewise.
31281 (CFLAGS-s_sin-fma.c): Likewise.
31282 (CFLAGS-s_tan-fma.c): Likewise.
31283 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31284 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31285 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31286 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31287 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31288 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31289 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31290 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31291 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31292 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31293 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31294 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31295 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31296 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31297 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31298 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31299 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31300 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31301 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31302 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31303 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31304 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31305 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31306 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31307 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31308 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31309 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31310 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31311 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31312 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31313 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31314
31315 2017-08-04 Joseph Myers <joseph@codesourcery.com>
31316
31317 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31318 (min_of_type_f): New macro.
31319 (min_of_type_): Likewise.
31320 (min_of_type_l): Likewise.
31321 (min_of_type_f128): Likewise.
31322 (min_of_type): Define using __MATH_TG and taking an expression
31323 argument.
31324 (math_check_force_underflow): Pass expression instead of type to
31325 min_of_type.
31326 (math_check_force_underflow_nonneg): Likewise.
31327
31328 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31329
31330 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31331 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31332 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31333
31334 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31335
31336 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31337 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31338 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31339 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31340 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31341 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31342 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31343 memmove_chk-nonshared and memset_chk-nonshared
31344 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31345 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31346 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31347 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31348 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31349 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31350 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31351 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31352 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31353 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31354 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31355 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31356 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31357 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31358 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31359 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31360 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31361 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31362 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31363 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31364 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31365 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31366 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31367 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31368 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31369 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31370 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31371 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31372 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31373 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31374 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31375 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31376 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31377 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31378 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31379 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31380 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31381 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31382 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31383 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31384 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31385 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31386 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31387 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31388 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31389 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31390 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31391 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31392 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31393 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31394 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31395 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31396 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31397 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31398 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31399 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31400 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31401 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31402 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31403 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31404 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31405 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31406 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31407 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31408 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31409 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31410 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31411 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31412 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31413 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31414 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31415 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31416 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31417 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31418 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31419 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31420 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31421 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31422 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31423 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31424 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31425 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31426 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31427 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31428 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31429 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31430 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31431 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31432 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31433 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31434 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31435 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31436 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31437 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31438 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31439 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31440 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31441 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31442 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31443 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31444 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31445 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31446 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31447 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31448 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31449 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31450 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31451 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31452
31453 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31454
31455 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31456 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31457 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31458 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31459 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31460 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31461 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31462 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31463 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31464 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31465 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31466 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31467 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31468 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31469 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31470 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31471 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31472 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31473 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31474 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31475 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31476 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31477 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31478 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31479 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31480 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31481 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31482 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31483 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31484 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31485 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31486 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31487 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31488 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31489 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31490 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31491 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31492 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31493 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31494 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31495 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31496 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31497 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31498 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31499 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31500 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31501 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31502 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31503 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31504 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31505 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31506 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31507 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31508 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31509 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31510 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31511 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31512 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31513 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31514 ...
31515 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31516 Don't include <sysdep.h> nor <init-arch.h>.
31517 (_ZGVbN2v_cos): Removed.
31518 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31519 ...
31520 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31521 Don't include <sysdep.h> nor <init-arch.h>.
31522 (_ZGVdN4v_cos): Removed.
31523 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31524 ...
31525 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31526 Don't include <sysdep.h> nor <init-arch.h>.
31527 (_ZGVeN8v_cos): Removed.
31528 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31529 ...
31530 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31531 Don't include <sysdep.h> nor <init-arch.h>.
31532 (_ZGVbN2v_exp): Removed.
31533 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31534 ...
31535 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31536 Don't include <sysdep.h> nor <init-arch.h>.
31537 (_ZGVdN4v_exp): Removed.
31538 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31539 ...
31540 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31541 Don't include <sysdep.h> nor <init-arch.h>.
31542 (_ZGVeN8v_exp): Removed.
31543 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31544 ...
31545 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31546 Don't include <sysdep.h> nor <init-arch.h>.
31547 (_ZGVbN2v_log): Removed.
31548 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31549 ...
31550 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31551 Don't include <sysdep.h> nor <init-arch.h>.
31552 (_ZGVdN4v_log): Removed.
31553 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31554 ...
31555 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31556 Don't include <sysdep.h> nor <init-arch.h>.
31557 (_ZGVeN8v_log): Removed.
31558 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31559 ...
31560 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31561 Don't include <sysdep.h> nor <init-arch.h>.
31562 (_ZGVbN2vv_pow): Removed.
31563 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31564 ...
31565 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31566 Don't include <sysdep.h> nor <init-arch.h>.
31567 (_ZGVdN4vv_pow): Removed.
31568 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31569 ...
31570 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31571 Don't include <sysdep.h> nor <init-arch.h>.
31572 (_ZGVeN8vv_pow): Removed.
31573 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31574 ...
31575 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31576 Don't include <sysdep.h> nor <init-arch.h>.
31577 (_ZGVbN2v_sin): Removed.
31578 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31579 ...
31580 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31581 Don't include <sysdep.h> nor <init-arch.h>.
31582 (_ZGVbN4v_sin): Removed.
31583 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31584 ...
31585 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31586 Don't include <sysdep.h> nor <init-arch.h>.
31587 (_ZGVbN8v_sin): Removed.
31588 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31589 ...
31590 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31591 Don't include <sysdep.h> nor <init-arch.h>.
31592 (_ZGVbN2vvv_sincos): Removed.
31593 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31594 ...
31595 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31596 Don't include <sysdep.h> nor <init-arch.h>.
31597 (_ZGVdN4vvv_sincos): Removed.
31598 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31599 ...
31600 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31601 Don't include <sysdep.h> nor <init-arch.h>.
31602 (_ZGVeN8vvv_sincos): Removed.
31603 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31604 ...
31605 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31606 Don't include <sysdep.h> nor <init-arch.h>.
31607 (_ZGVeN16v_cosf): Removed.
31608 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31609 ...
31610 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31611 Don't include <sysdep.h> nor <init-arch.h>.
31612 (_ZGVbN4v_cosf): Removed.
31613 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31614 ...
31615 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31616 Don't include <sysdep.h> nor <init-arch.h>.
31617 (_ZGVdN8v_cosf): Removed.
31618 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31619 ...
31620 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31621 Don't include <sysdep.h> nor <init-arch.h>.
31622 (_ZGVeN16v_expf): Removed.
31623 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31624 ...
31625 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31626 Don't include <sysdep.h> nor <init-arch.h>.
31627 (_ZGVbN4v_expf): Removed.
31628 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31629 ...
31630 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31631 Don't include <sysdep.h> nor <init-arch.h>.
31632 (_ZGVdN8v_expf): Removed.
31633 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31634 ...
31635 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31636 Don't include <sysdep.h> nor <init-arch.h>.
31637 (_ZGVeN16v_logf): Removed.
31638 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31639 ...
31640 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31641 Don't include <sysdep.h> nor <init-arch.h>.
31642 (_ZGVbN4v_logf): Removed.
31643 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31644 ...
31645 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31646 Don't include <sysdep.h> nor <init-arch.h>.
31647 (_ZGVdN8v_logf): Removed.
31648 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31649 ...
31650 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31651 Don't include <sysdep.h> nor <init-arch.h>.
31652 (_ZGVeN16vv_powf): Removed.
31653 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31654 ...
31655 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31656 Don't include <sysdep.h> nor <init-arch.h>.
31657 (_ZGVbN4vv_powf): Removed.
31658 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31659 ...
31660 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31661 Don't include <sysdep.h> nor <init-arch.h>.
31662 (_ZGVdN8vv_powf): Removed.
31663 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31664 ...
31665 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31666 Don't include <sysdep.h> nor <init-arch.h>.
31667 (_ZGVeN16vvv_sincosf): Removed.
31668 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31669 ...
31670 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31671 Don't include <sysdep.h> nor <init-arch.h>.
31672 (_ZGVbN4vvv_sincosf): Removed.
31673 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31674 ...
31675 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31676 Don't include <sysdep.h> nor <init-arch.h>.
31677 (_ZGVdN8vvv_sincosf): Removed.
31678 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31679 ...
31680 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31681 Don't include <sysdep.h> nor <init-arch.h>.
31682 (_ZGVeN16v_sinf): Removed.
31683 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31684 ...
31685 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31686 Don't include <sysdep.h> nor <init-arch.h>.
31687 (_ZGVbN4v_sinf): Removed.
31688 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31689 ...
31690 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31691 Don't include <sysdep.h> nor <init-arch.h>.
31692 (_ZGVdN8v_sinf): Removed.
31693
31694 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31695
31696 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31697 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31698 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31699 s_rint-sse4_1 and s_rintf-sse4_1.
31700 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31701 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31702 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31703 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31704 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31705 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31706 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31707 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31708 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31709 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31710 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31711 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31712 (__ceil): Removed.
31713 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31714 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31715 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31716 (__ceilf): Removed.
31717 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31718 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31719 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31720 (__floor): Removed.
31721 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31722 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31723 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31724 (__floorf): Removed.
31725 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31726 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31727 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31728 (__nearbyint): Removed.
31729 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31730 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31731 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31732 (__nearbyintf): Removed.
31733 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31734 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31735 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31736 (__rint): Removed.
31737 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31738 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31739 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31740 (__rintf): Removed.
31741
31742 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31743
31744 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31745 SHARED. Avoid dynamic relocation against main in static PIE.
31746
31747 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31748
31749 [BZ #21815]
31750 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31751 (LDFLAGS-tst-prelink): Likewise.
31752
31753 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31754
31755 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31756 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31757 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31758 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31759 (INTERNAL_SYSCALL_NCS): Likewise.
31760 (LOADARGS_1): Likewise.
31761 (LOADARGS_5): Likewise.
31762 (RESTOREARGS_1): Likewise.
31763 (RESTOREARGS_5): Likewise.
31764
31765 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31766
31767 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31768 (MEMPCPY_SYMBOL): Likewise.
31769 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31770 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31771 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31772 in libc.a.
31773 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31774 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31775 Likewise.
31776 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31777 (__hidden_ver1): Don't use in libc.a.
31778 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31779 (__mempcpy): Don't create a weak alias in libc.a.
31780 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31781 libc.a.
31782 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31783 (__hidden_ver1): Don't use in libc.a.
31784
31785 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31786
31787 * config.make.in (have-insert): New.
31788 * configure.ac (libc_cv_insert): New. Set to yes if linker
31789 supports INSERT in linker script.
31790 (AC_SUBST(libc_cv_insert): New.
31791 * configure: Regenerated.
31792 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31793 if $(have-insert) == yes.
31794
31795 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31796
31797 * elf/Makefile (tests): Add vismain only if
31798 $(have-protected-data) == yes.
31799 (tests-pie): Likewise.
31800
31801 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31802
31803 [BZ #21871]
31804 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31805 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31806
31807 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31808
31809 [BZ #21790]
31810 * sysdeps/i386/i586/memset.S
31811 (__memset_zero_constant_len_parameter): Removed.
31812 * sysdeps/i386/i686/memset.S
31813 (__memset_zero_constant_len_parameter): Likewise.
31814 * sysdeps/i386/i686/multiarch/memset_chk.S
31815 (__memset_zero_constant_len_parameter): Likewise.
31816 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31817 Likewise.
31818
31819 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31820
31821 * stdlib/getentropy.c (getentropy): Change return type to int.
31822
31823 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31824
31825 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31826
31827 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31828
31829 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31830 u_intN_t.
31831 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31832 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31833 Likewise.
31834 (ieee_float_shape_type): Likewise.
31835 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31836 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31837 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31838 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31839 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31840 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31841 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31842 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31843 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31844 Likewise.
31845 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31846 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31847 (__ieee754_yn): Likewise.
31848 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31849 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31850 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31851 Likewise.
31852 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31853 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31854 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31855 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31856 (__erfc): Likewise.
31857 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31858 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31859 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31860 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31861 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31862 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31863 Likewise.
31864 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31865 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31866 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31867 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31868 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31869 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31870 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31871 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31872 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31873 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31874 (__issignaling): Likewise.
31875 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31876 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31877 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31878 Likewise.
31879 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31880 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31881 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31882 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31883 Likewise.
31884 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31885 Likewise.
31886 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31887 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31888 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31889 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31890 (__erfcf): Likewise.
31891 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31892 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31893 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31894 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31895 Likewise.
31896 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31897 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31898 Likewise.
31899 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31900 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31901 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31902 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31903 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31904 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31905 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31906 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31907 Likewise.
31908 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31909 Likewise.
31910 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31911 Likewise.
31912 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31913 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31914 Likewise.
31915 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31916 Likewise.
31917 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31918 (__ieee754_ynl): Likewise.
31919 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31920 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31921 Likewise.
31922 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31923 Likewise.
31924 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31925 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31926 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31927 Likewise.
31928 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31929 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31930 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31931 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31932 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31933 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31934 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31935 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31936 Likewise.
31937 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31938 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31939 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31940 Likewise.
31941 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31942 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31943 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31944 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31945 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31946 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31947 Likewise.
31948 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31949 Likewise.
31950 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31951 Likewise.
31952 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31953 Likewise.
31954 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31955 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31956 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31957 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31958 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31959 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31960 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31961 Likewise.
31962 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31963 Likewise.
31964 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31965 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31966 Likewise.
31967 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31968 (__ieee754_remainderl): Likewise.
31969 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31970 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31971 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31972 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31973 Likewise.
31974 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31975 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31976 Likewise.
31977 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31978 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31979 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31980 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31981 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31982 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31983 Likewise.
31984 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31985 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31986 (__ieee754_y0l): Likewise.
31987 (pzero): Likewise.
31988 (qzero): Likewise.
31989 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31990 (__ieee754_y1l): Likewise.
31991 (pone): Likewise.
31992 (qone): Likewise.
31993 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31994 (__ieee754_ynl): Likewise.
31995 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31996 (__ieee754_lgammal_r): Likewise.
31997 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31998 Likewise.
31999 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32000 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32001 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32002 (__erfcl): Likewise.
32003 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32004 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32005 Likewise.
32006 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32007 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32008 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32009 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32010 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32011 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32012 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32013 Likewise.
32014 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32015 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32016 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32017 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32018 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32019 Likewise.
32020 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32021 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32022 Likewise.
32023 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32024 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32025 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32026 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32027 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32028
32029 2017-08-03 Florian Weimer <fweimer@redhat.com>
32030
32031 [BZ #21885]
32032 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32033 on memory allocation failure.
32034
32035 2017-08-03 Alan Modra <amodra@gmail.com>
32036
32037 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32038 tst-tlsopt-powerpc.c with function name change and no test harness.
32039 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32040 Call tls_get_addr_opt_test.
32041 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32042 (modules-names): Add mod-tlsopt-powerpc.
32043 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32044 (tst-tlsopt-powerpc): Depend on .so.
32045 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32046 define. Expand use in TLS_GD and TLS_LD.
32047
32048 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32049
32050 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32051 function.
32052 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32053
32054 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32055
32056 [BZ #21686]
32057 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32058 comparing size with that of double.
32059 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32060 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32061 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32062 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32063 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32064 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32065 unsigned __int128 types.
32066
32067 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32068
32069 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32070 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32071 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32072 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32073 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32074
32075 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32076
32077 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32078
32079 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32080
32081 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32082 of SHARED.
32083 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32084 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32085 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32086 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32087 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32088 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32089 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32090
32091 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32092
32093 [BZ #21685]
32094 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32095 bit-field expressions passed to sizeof or typeof.
32096 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32097 (__TGMATH_F128): Likewise.
32098 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32099 (__TGMATH_CF128): Likewise.
32100 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32101 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32102 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32103 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32104 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32105 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32106 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32107 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32108 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32109 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32110 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32111 (__TGMATH_UNARY_IMAG): Likewise.
32112 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32113 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32114 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32115 type.
32116 (define_vars_for_type): Handle bit_field type specially.
32117 (Tests.__init__): Declare structure with bit-field element.
32118
32119 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32120
32121 [BZ #21791]
32122 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32123 (MEMCPY_CHK): Define only if SHARED is defined.
32124 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32125 Likewise.
32126 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32127 Likewise.
32128
32129 See ChangeLog.18 for earlier changes.