]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
ChangeLog: Correct date of last commit
[thirdparty/glibc.git] / ChangeLog
1 2019-02-08 Florian Weimer <fweimer@redhat.com>
2
3 [BZ #6399]
4 Linux: Add gettid system call wrapper.
5 * posix/Makefile (headers): Add bits/unistd_ext.h.
6 * posix/bits/unistd_ext.h: New file.
7 * posix/unistd.h: Include it.
8 * manual/process.texi (Process Identification): Document gettid.
9 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
10 tst-gettid, tst-gettid-kill.
11 (tst-gettid): Link with $(shared-thread-library).
12 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
13 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
14 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
15 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
16 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
17 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
18 Add gettid.
19 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
20 Likewise.
21 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
22 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
23 Likewise.
24 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
25 Likewise.
26 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
27 Likewise.
28 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
29 Likewise.
30 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
31 Likewise.
32 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
33 Likewise.
34 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
35 Likewise.
36 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
37 (GLIBC_2.30): Likewise.
38 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
39 (GLIBC_2.30): Likewise.
40 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
41 (GLIBC_2.30): Likewise.
42 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
43 (GLIBC_2.30): Likewise.
44 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
45 Likewise.
46 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
47 (GLIBC_2.30): Likewise.
48 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
49 (GLIBC_2.30): Likewise.
50 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
51 (GLIBC_2.30): Likewise.
52 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
53 (GLIBC_2.30): Likewise.
54 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
55 Likewise.
56 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
57 Likewise.
58 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
59 Likewise.
60 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
61 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
62 Likewise.
63 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
64 Likewise.
65 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
66 Likewise.
67 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
68 Likewise.
69 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
70
71 2019-02-07 Florian Weimer <fweimer@redhat.com>
72
73 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
74 compatibility symbols.
75
76 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
77
78 [BZ #24180]
79 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
80 Add compiler barriers and comments.
81
82 2019-02-07 Florian Weimer <fweimer@redhat.com>
83
84 * include/array_length.h (array_length): Do not use a statement
85 expression and _Static_assert, so that array_length can be used at
86 file scope and as a constant expression.
87
88 2019-02-07 Florian Weimer <fweimer@redhat.com>
89
90 * support/xdlfcn.h (xdlmopen): Declare.
91 * support/xdlmopen.c: New file.
92 * support/Makefile (libsupport-routines): Add xdlmopen.
93
94 2019-02-06 Joseph Myers <joseph@codesourcery.com>
95
96 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
97 before return type, without separate inline.
98 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
99 * elf/dl-tunables.h (tunable_is_name): Likewise.
100 * malloc/malloc.c (do_set_trim_threshold): Likewise.
101 (do_set_top_pad): Likewise.
102 (do_set_mmap_threshold): Likewise.
103 (do_set_mmaps_max): Likewise.
104 (do_set_mallopt_check): Likewise.
105 (do_set_perturb_byte): Likewise.
106 (do_set_arena_test): Likewise.
107 (do_set_arena_max): Likewise.
108 (do_set_tcache_max): Likewise.
109 (do_set_tcache_count): Likewise.
110 (do_set_tcache_unsorted_limit): Likewise.
111 * nis/nis_subr.c (count_dots): Likewise.
112 * nptl/allocatestack.c (advise_stack_range): Likewise.
113 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
114 (do_sin): Likewise.
115 (reduce_sincos): Likewise.
116 (do_sincos): Likewise.
117 * sysdeps/unix/sysv/linux/x86/elision-conf.c
118 (do_set_elision_enable): Likewise.
119 (TUNABLE_CALLBACK_FNDECL): Likewise.
120
121 2019-02-06 Florian Weimer <fweimer@redhat.com>
122
123 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
124 (xdlsym): Use dlerror to detect a NULL symbol.
125
126 2019-02-06 Florian Weimer <fweimer@redhat.com>
127
128 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
129 <stap-probe.h>.
130 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
131
132 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
133
134 * libio/tst-bz24153.c (wide): Use wide char format specifier.
135
136 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
137
138 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
139 __wmemcmp and weak alias to wmemcmp.
140
141 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
142
143 [BZ #23403]
144 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
145 TLS_TCB_AT_TP tls variant.
146 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
147 Add alignment checks.
148 * support/Makefile (libsupport-routines): Add xposix_memalign and
149 xpthread_setstack.
150 * support/support.h: Add xposix_memalign.
151 * support/xthread.h: Add xpthread_attr_setstack.
152 * support/xposix_memalign.c: New File.
153 * support/xpthread_attr_setstack.c: Likewise.
154
155 2019-02-05 Florian Weimer <fweimer@redhat.com>
156
157 [BZ #24164]
158 arm: Use "nr" constraint for Systemtap probes, to avoid the
159 compiler using memory operands for constants, due to the "o"
160 alternative in the default "nor" constraint.
161 * include/stap-probe.h [USE_STAP_PROBE]: Include
162 <stap-probe-machine.h>
163 * sysdeps/generic/stap-probe-machine.h: New file.
164 * sysdeps/arm/stap-probe-machine.h: Likewise.
165
166 2019-02-04 Joseph Myers <joseph@codesourcery.com>
167
168 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
169 with 0, not tcache->entries[tc_idx].
170
171 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
172 once.
173
174 2019-02-04 Andreas Schwab <schwab@suse.de>
175
176 [BZ #16976]
177 [BZ #17396]
178 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
179 looking up collating elements match against (wide) character
180 sequence instead of name. Correct alignment adjustment.
181 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
182 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
183 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
184 (LOCALES): Add cs_CZ.ISO-8859-2.
185 * posix/tst-fnmatch4.c: New file.
186 * posix/tst-fnmatch5.c: New file.
187 * include/wchar.h (__wmemcmp): Declare.
188 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
189 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
190 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
191 * sysdeps/s390/wmemcmp.c: Likewise.
192
193 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
194
195 [BZ #24155]
196 CVE-2019-7309
197 * NEWS: Updated for CVE-2019-7309.
198 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
199 upper 32 bits of RDX register for x32. Use unsigned Jcc
200 instructions, instead of signed.
201 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
202 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
203
204 2019-02-04 Florian Weimer <fweimer@redhat.com>
205
206 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
207 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
208 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
209 Likewise.
210 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
211 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
212 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
213 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
214 Likewise.
215 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
216 Likewise.
217 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
218 Likewise.
219 (posix_spawn_file_actions_addopen): Likewise.
220 (posix_spawn_file_actions_addclose): Likewise.
221 (posix_spawn_file_actions_adddup2): Likewise.
222 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
223 qualifiers.
224 (posix_spawn_file_actions_addfchdir_np): Likewise.
225
226 2019-02-04 David Newall <glibc@davidnewall.com>
227
228 elf: Implement --preload option for the dynamic linker.
229 * elf/rtld.c (preloadarg): New variable.
230 (handle_preload_list): Pass through “where” argument to
231 do_preload.
232 (dl_main): Handle "--preload" and add second call to
233 handle_preload_list.
234 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
235 (tst-rtld-preload-OBJS): Set variable.
236 (tst-rtld-preload.out): New target.
237 * elf/tst-rtld-preload.sh: New file.
238
239 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
240
241 * Makefile (testrun.sh): Exit in case of incorrect argument.
242
243 2019-02-04 Florian Weimer <fweimer@redhat.com>
244
245 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
246 alignment gaps.
247
248 2019-02-03 Florian Weimer <fweimer@redhat.com>
249
250 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
251 implicit overflow checks.
252
253 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
254
255 * stdlib/isomac.c: Include <unistd.h>.
256
257 2019-02-03 Florian Weimer <fweimer@redhat.com>
258
259 * include/time.h (__tzfile_default): Use int, not long int, for
260 the GMT offsets.
261 * time/tzfile.c (struct ttinfo): Change type of the offset member
262 to int.
263 (__tzfile_read): Remove useless cast.
264 (__tzfile_default): Adjust prototype.
265 * time/tzset.c (tz_rule): Change type of the offset member to int.
266 (parse_offset): Change the type of the sign variable to int.
267
268 2019-02-03 Florian Weimer <fweimer@redhat.com>
269
270 [BZ #24153]
271 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
272 * libio/getchar.c (getchar): Likewise.
273 * libio/getchar_u.c (getchar_unlocked): Likewise.
274 * libio/getwchar.c (getwchar): Likewise.
275 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
276 * libio/iogets.c (_IO_gets): Likewise.
277 * libio/vscanf.c (_IO_vscanf): Likewise.
278 * libio/vwscanf.c (__vwscanf): Likewise.
279 * libio/tst-bz24153.c: New file.
280 * libio/Makefile (tests): Add it.
281
282 2019-02-02 Florian Weimer <fweimer@redhat.com>
283
284 [BZ #14829]
285 * manual/resource.texi (Basic Scheduling Functions): Add
286 portability note. Change process to task throughout the section.
287 Remove incorrect comment about sched_yield as it affects
288 tasks/threads, not entire processes.
289 * sysdeps/unix/sysv/linux/bits/posix_opt.h
290 (_POSIX_PRIORITY_SCHEDULING): Update comment.
291
292 2019-02-01 Joseph Myers <joseph@codesourcery.com>
293
294 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
295 * configure: Regenerated.
296 * manual/install.texi (Tools for Compilation): Update minimum GCC
297 version.
298 * INSTALL: Regenerated.
299
300 2019-02-01 Florian Weimer <fweimer@redhat.com>
301
302 * support/support_test_compare_string.c
303 (support_test_compare_string): Use "string" in error message.
304 * support/tst-test_compare_string.c (do_test): Adjust.
305
306 2019-02-01 Florian Weimer <fweimer@redhat.com>
307
308 * support/support_format_address_family.c
309 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
310
311 2019-02-01 Florian Weimer <fweimer@redhat.com>
312
313 * manual/socket.texi (Internet Address Formats): Clarify the byte
314 order of struct sockaddr_in, struct sockaddr_in6. Document
315 sin6_flowinfo and sin6_scope_id.
316
317 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
318
319 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
320 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
321 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
322 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
323 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
324 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
325
326 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
327
328 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
329 [!MEMCHR](MEMCHR): Set to __memchr.
330 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
331 Add memchr_generic and memchr_nosimd.
332 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
333 (__libc_ifunc_impl_list): Add memchr ifuncs.
334 * sysdeps/aarch64/multiarch/memchr.c: New file.
335 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
336 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
337
338 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
339
340 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
341 Add memset_emag.
342 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
343 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
344 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
345 Add IS_EMAG check for ifunc dispatch.
346 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
347 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
348
349 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
350
351 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
352 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
353 Add emag.
354 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
355 New macro.
356
357 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
358
359 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
360
361 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
362
363 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
364 syscall-template file.
365
366 2019-01-31 Carlos O'Donell <carlos@redhat.com>
367 Torvald Riegel <triegel@redhat.com>
368 Rik Prohaska <prohaska7@gmail.com>
369
370 [BZ# 23844]
371 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
372 tst-rwlock-trywrlock-stall.
373 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
374 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
375 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
376 Set __wrphase_fute to 1 only if we started the write phase.
377 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
378 * nptl/tst-rwlock-trywrlock-stall.c: New file.
379 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
380 * support/xpthread_rwlock_destroy.c: New file.
381 * support/xthread.h: Declare xpthread_rwlock_destroy.
382
383 2019-02-01 Joseph Myers <joseph@codesourcery.com>
384
385 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
386 version to 4.0.2.
387
388 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
389
390 [BZ #24051]
391 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
392 * libio/fileops.c (_IO_new_file_underflow): Likewise
393 * libio/wfileops.c (_IO_wfile_underflow): Likewise
394 * libio/putchar.c (putchar): Likewise.
395 * libio/putchar_u.c (putchar_unlocked): Likewise.
396 * libio/putwchar.c (putchar): Likewise.
397 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
398 * libio/tst-bz24051.c: New test.
399 * libio/Makefile (tests): Add tst-bz24051
400
401 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
402
403 regex: fix read overrun [BZ #24114]
404 Problem found by AddressSanitizer, reported by Hongxu Chen in:
405 https://debbugs.gnu.org/34140
406 * posix/regexec.c (proceed_next_node):
407 Do not read past end of input buffer.
408
409 2019-01-31 Florian Weimer <fweimer@redhat.com>
410
411 [BZ #24059]
412 * nss/nss_files/files-alias.c (get_next_alias): Handle
413 continuation line without newline at the end.
414 * nss/tst-nss-files-alias-truncated.c: New file.
415 * nss/Makefile [$(build-shared)] (tests): Add
416 tst-nss-files-alias-truncated.
417 (tst-nss-files-alias-truncated): Link with libnss_files.so.
418 * support/namespace.h (struct support_chroot_configuration): Add
419 aliases member.
420 (struct support_chroot): Add path_aliases member.
421 * support/support_chroot.c (support_chroot_create): Handle
422 aliases.
423 (support_chroot_free): Free path_aliases.
424
425 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
426
427 * version.h (RELEASE): Set to "development".
428 (VERSION): Set to "2.29.9000".
429 * NEWS: Add section for 2.30.
430
431 * version.h (RELEASE): Set to "stable".
432 (VERSION): Set to "2.29".
433 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
434
435 * NEWS: Add the list of bugs fixed in 2.29.
436 * manual/contrib.texi: Update contributors list with some more
437 names.
438 * manual/install.texi: Update latest versions of packages
439 tested.
440 * INSTALL: Regenerated.
441
442 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
443
444 * po/be.po: Update translations.
445 * po/bg.po: Likewise.
446 * po/ca.po: Likewise.
447 * po/cs.po: Likewise.
448 * po/da.po: Likewise.
449 * po/de.po: Likewise.
450 * po/el.po: Likewise.
451 * po/eo.po: Likewise.
452 * po/es.po: Likewise.
453 * po/fi.po: Likewise.
454 * po/fr.po: Likewise.
455 * po/gl.po: Likewise.
456 * po/hr.po: Likewise.
457 * po/hu.po: Likewise.
458 * po/ia.po: Likewise.
459 * po/id.po: Likewise.
460 * po/it.po: Likewise.
461 * po/ja.po: Likewise.
462 * po/ko.po: Likewise.
463 * po/lt.po: Likewise.
464 * po/nb.po: Likewise.
465 * po/nl.po: Likewise.
466 * po/pl.po: Likewise.
467 * po/pt_BR.po: Likewise.
468 * po/ru.po: Likewise.
469 * po/rw.po: Likewise.
470 * po/sk.po: Likewise.
471 * po/sl.po: Likewise.
472 * po/sv.po: Likewise.
473 * po/tr.po: Likewise.
474 * po/uk.po: Likewise.
475 * po/vi.po: Likewise.
476 * po/zh_CN.po: Likewise.
477 * po/zh_TW.po: Likewise.
478
479 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
480
481 [BZ #24130]
482 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
483 of $f3 register on $y_is_neg path.
484
485 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
486
487 [BZ #24110]
488 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
489 sigaltstack.ss_flags.
490
491 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
492
493 [BZ #23758]
494 * manual/time.texi (strftime): Document "%Ey".
495 * time/strftime_l.c (__strftime_internal): Set the default width
496 padding with zero of "%Ey" to 2.
497
498 [BZ #24096]
499 * manual/time.texi (strftime): Document "%EC" and "%EY".
500 * time/Makefile (tests): Add tst-strftime2.
501 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
502 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
503 override padding for "%Ey".
504 If an optional flag ('_' or '-') is specified to "%EY", interpret the
505 "%Ey" in the subformat as if decorated with that flag.
506 * time/tst-strftime2.c: New file.
507
508 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
509
510 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
511 are not defined.
512
513 [BZ #24122]
514 * elf/Makefile (tests): Add tst-audit13.
515 (modules-names): Add tst-audit13mod1.
516 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
517 rule.
518 * elf/rtld.c (dl_main): Handle invalid audit module version.
519 * elf/tst-audit13.c: New file.
520 * elf/tst-audit13mod1.c: Likewise.
521
522 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
523
524 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
525 returned by __hurd_at_flags.
526 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
527 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
528 directly instead of __hurd_file_name_lookup.
529
530 2019-01-21 Joseph Myers <joseph@codesourcery.com>
531
532 * scripts/build-many-glibcs.py (Context.checkout): Default
533 binutils version to 2.32 branch.
534
535 2019-01-21 Florian Weimer <fweimer@redhat.com>
536
537 [BZ #20018]
538 CVE-2016-10739
539 resolv: Reject trailing characters in host names
540 * include/arpa/inet.h (__inet_aton_exact): Declare.
541 (inet_aton): Remove hidden prototype. No longer used internally.
542 * nscd/gai.c (__inet_aton): Do not define.
543 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
544 * nss/digits_dots.c (__inet_aton): Likewise.
545 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
546 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
547 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
548 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
549 (tst-resolv-trailing): Likewise.
550 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
551 libc.
552 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
553 Make static. Add endp parameter.
554 (__inet_aton_exact): New function.
555 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
556 (__inet_addr): Call inet_aton_end.
557 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
558 not just IPv6. Call __inet_aton_exact.
559 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
560 (tests): Make const. Add additional test cases with trailing
561 characters.
562 (do_test): Use array_length.
563 * resolv/tst-inet_aton_exact.c: New file.
564 * resolv/tst-resolv-trailing.c: Likewise.
565 * resolv/tst-resolv-nondecimal.c: Likewise.
566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
567
568 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
569
570 [BZ# 24097]
571 CVE-2019-6488
572 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
573 Clear the upper 32 bits of RSI register.
574 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
575 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
576 and tst-size_t-wcsnlen.
577 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
578 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
579
580 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
581
582 [BZ# 24097]
583 CVE-2019-6488
584 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
585 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
586 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
587 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
588 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
589
590 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
591
592 [BZ# 24097]
593 CVE-2019-6488
594 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
595 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
596 * sysdeps/x86_64/strcmp.S: Likewise.
597 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
598 tst-size_t-strncmp and tst-size_t-wcsncmp.
599 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
600 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
601 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
602
603 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
604
605 [BZ# 24097]
606 CVE-2019-6488
607 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
608 RDX_LP for length. Clear the upper 32 bits of RDX register.
609 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
610 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
611 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
612 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
613
614 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
615
616 [BZ# 24097]
617 CVE-2019-6488
618 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
619 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
620 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
621 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
622
623 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
624
625 [BZ# 24097]
626 CVE-2019-6488
627 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
628 length. Clear the upper 32 bits of RDX register.
629 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
630 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
631 Likewise.
632 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
633 Likewise.
634 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
635 tst-size_t-wmemchr.
636 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
637
638 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
639
640 [BZ# 24097]
641 CVE-2019-6488
642 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
643 length. Clear the upper 32 bits of RDX register.
644 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
645 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
646 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
647 tst-size_t-wmemcmp.
648 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
649 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
650
651 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
652
653 [BZ# 24097]
654 CVE-2019-6488
655 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
656 upper 32 bits of RDX register.
657 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
658 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
659 tst-size_t-wmemchr.
660 * sysdeps/x86_64/x32/test-size_t.h: New file.
661 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
662 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
663
664 2019-01-18 Florian Weimer <fweimer@redhat.com>
665
666 [BZ #24112]
667 resolv: Do not send queries for non-host-names in nss_dns.
668 * resolv/nss_dns/dns-host.c (check_name): New function.
669 (_nss_dns_gethostbyname2_r): Use it.
670 (_nss_dns_gethostbyname_r): Likewise.
671 (_nss_dns_gethostbyname4_r): Likewise.
672
673 2019-01-21 Florian Weimer <fweimer@redhat.com>
674
675 * resolv/inet_addr.c: Reformat to GNU style.
676 (__inet_addr, __inet_aton): Update comment.
677
678 2019-01-18 Florian Weimer <fweimer@redhat.com>
679
680 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
681 ("malloc: Use current (C11-style) atomics for fastbin access").
682 This commit introduces a substantial performance regression on
683 POWER and Aarch64.
684 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
685 (REMOVE_FB): Define.
686 (_int_malloc): Use it and reindent.
687 (_int_free): Use CAS loop with
688 catomic_compare_and_exchange_val_rel.
689 (malloc_consolidate): Use atomic_exchange_acq.
690
691
692 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
693
694 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
695 -Wl,-z,now.
696 (LDFLAGS-tst-minsigstksz-2): Likewise.
697 (LDFLAGS-tst-minsigstksz-3): Likewise.
698 (LDFLAGS-tst-minsigstksz-3a): Likewise.
699 (LDFLAGS-tst-minsigstksz-4): Likewise.
700
701 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
702
703 * manual/time.texi (strftime): Fix the wording to "alternative" rather
704 than "alternate".
705
706 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
707
708 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
709
710 2019-01-16 Zack Weinberg <zackw@panix.com>
711
712 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
713 (xget_sigstack_location): New test support functions.
714 * support/xsigstack.c: New file, implementing them.
715 * support/tst-xsigstack.c: New test for them.
716 * support/Makefile: Update.
717
718 * signal/tst-minsigstksz-1.c
719 * signal/tst-minsigstksz-2.c
720 * signal/tst-minsigstksz-3.c
721 * signal/tst-minsigstksz-3a.c
722 * signal/tst-minsigstksz-4.c: New tests.
723 * signal/Makefile: Run them.
724
725 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
726
727 * po/libc.pot: Regenerate.
728
729 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
730
731 * math/libm-test-fma.inc (fma_test_data): Set
732 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
733
734 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
735
736 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
737 (do_test): Changed __vector __int128_t to __vector unsigned int.
738
739 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
740
741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
742 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
743 stpcpy-avx2 and stpncpy-avx2.
744 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
745 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
746 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
747 and __stpncpy_avx2.
748 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
749 ifunc-strcpy.h}: rename header for a more generic name.
750 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
751 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
752 AVX unaligned load is fast and vzeroupper is preferred.
753 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
754 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
755 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
756 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
757 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
758 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
759
760 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
761
762 * argp/argp-help.c: Fix typo in comment.
763 * misc/sys/cdefs.h: Likewise.
764 * posix/regexec.c (sift_states_iter_mb): Likewise.
765 * socket/sockatmark.c: Likewise.
766 * socket/sys/socket.h: Likewise.
767 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
768 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
769 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
770 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
771 * sysdeps/unix/sockatmark.c: Likewise.
772 * time/strptime_l.c: Likewise.
773
774 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
775
776 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
777 missing space after the cast of "_NL_CURRENT".
778
779 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
780
781 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
782 ifdef to fix read of VSCR.
783 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
784 tst-ucontext-ppc64-vscr.c to test list.
785 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
786
787 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
788
789 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
790 fall-through.
791
792 2019-01-09 Jim Wilson <jimw@sifive.com>
793
794 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
795
796 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
797
798 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
799 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
800 __memcpy_falkor for ares.
801 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
802 Add new define.
803 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
804 Add ares cpu.
805
806 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
807
808 [BZ #24066]
809 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
810 4_FP_W_TYPEs are used for IEEE quad precision.
811 * soft-fp/extendhftf2.c: Likewise.
812 * soft-fp/extendsftf2.c: Likewise.
813 * soft-fp/extendxftf2.c: Likewise.
814 * soft-fp/trunctfdf2.c: Likewise.
815 * soft-fp/trunctfhf2.c: Likewise.
816 * soft-fp/trunctfsf2.c: Likewise.
817 * soft-fp/trunctfxf2.c: Likewise.
818 * sysdeps/alpha/ots_cvttx.c: Likewise.
819 * sysdeps/alpha/ots_cvtxt.c: Likewise.
820 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
821 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
822 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
823 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
824 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
825 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
826 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
827 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
828 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
829 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
830 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
831 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
832 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
833 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
834 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
835 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
836
837 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
838
839 [BZ #24024]
840 * Makeconfig: Build libm with -fno-math-errno but build the remaining
841 code with -fmath-errno.
842 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
843 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
844 * string/test-strerror-errno.c: New file.
845
846 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
847
848 [BZ #24046]
849 * localedata/locales/en_US (date_fmt): Add, set to
850 "%a %d %b %Y %r %Z".
851
852 2019-01-07 Florian Weimer <fweimer@redhat.com>
853
854 [BZ #24063]
855 * manual/arith.texi (Math Error Reporting): Use @code{errno}
856 instead of @var{errno}.
857 (Parsing of Integers): Likewise.
858 (Parsing of Floats): Likewise.
859 * manual/filesys.texi (Working with Directory Trees): Likewise.
860 (Temporary Files): Likewise.
861 * manual/job.texi (Terminal Access Functions): Likewise.
862 * manual/llio.texi (Synchronizing I/O): Likewise.
863 * manual/math.texi (SVID Random): Likewise.
864 * manual/message.texi (The catgets Functions): Likewise.
865 (Translation with gettext): Likewise.
866 (Locating gettext catalog): Likewise.
867 (Charset conversion in gettext): Likewise.
868 * manual/nss.texi (NSS Module Function Internals): Likewise.
869 * manual/search.texi (Hash Search Function): Likewise.
870 * manual/setjmp.texi (System V contexts): Likewise.
871 * manual/time.texi (Sleeping): Likewise.
872 * manual/users.texi (Lookup User): Likewise.
873 (Lookup Group): Likewise.
874
875 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
876
877 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
878 fix typo.
879
880 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
881
882 [BZ #19444]
883 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
884 __builtin_unreachable for default case in switch.
885 (__ieee754_yn): Likewise.
886 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
887 (__ieee754_ynl): Likewise.
888 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
889 (__ieee754_ynl): Likewise.
890 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
891 (__ieee754_ynl): Likewise.
892
893 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
894
895 * manual/maint.texi: Use @{ and @}.
896
897 2019-01-04 Florian Weimer <fweimer@redhat.com>
898
899 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
900 function.
901 (do_in_chroot_1): Call it.
902 (run_chroot_tests):
903 Improve error reporting in case it is not possible to create a
904 collision for the PTY name required by the test.
905
906 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
907
908 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
909 lll_wait_tid with timeout.
910 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
911 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
912 futex_reltimed_wait_cancelable for cancelabla mode.
913 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
914 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
915 macros.
916 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
917 * sysdeps/posix/waitid.c (__sigwait): Likewise.
918 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
919 SYSCALL_CANCEL_NCS): New macro.
920 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
921 (lll_timedwait_tid): Remove macro.
922 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
923 Likewise.
924 (lll_timedwait_tid): Likewise.
925 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
926 Likewise.
927 (lll_timedwait_tid): Likewise.
928 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
929 Likewise.
930 (lll_timedwait_tid): Likewise.
931 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
932 Use INTERNAL_SYSCALL_CANCEL.
933 * sysdeps/unix/sysv/linux/futex-internal.h
934 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
935 instead of __pthread_{enable,disable}_asynccancel.
936 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
937 (lll_futex_wait_cancel): New macro.
938
939 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
940 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
941
942 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
943 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
944
945 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
946 in backtrace analysis.
947 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
948 side-effects.
949 (tf_send): Likewise.
950
951 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
952 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
953 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
954 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
955 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
956 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
957 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
958 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
959 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
960 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
961 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
962 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
963 Likewise.
964 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
965 tst-cancel-wrappers.sh.
966 (generated): Remove tst-cancel-wrappers.out.
967 (tst-cancel-wrappers.out): Remove rule.
968 * nptl/tst-cancel-wrappers.sh: Remove file.
969
970 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
971
972 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
973 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
974 Update.
975
976 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
977
978 [BZ #23640]
979 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
980 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
981 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
982 close-on-exec reset for adddup2 file action.
983 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
984
985 2019-01-03 Zack Weinberg <zackw@panix.com>
986
987 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
988 parameter. Only use deprecated scanf when __USE_GNU is defined
989 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
990 than 201103L, whichever is relevant for the language being compiled.
991
992 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
993 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
994 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
995 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
996 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
997
998 * libio/iovsscanf.c
999 * libio/fwscanf.c
1000 * libio/iovswscanf.c
1001 * libio/swscanf.c
1002 * libio/vscanf.c
1003 * libio/vwscanf.c
1004 * libio/wscanf.c
1005 * stdio-common/fscanf.c
1006 * stdio-common/scanf.c
1007 * stdio-common/vfscanf.c
1008 * stdio-common/vfwscanf.c
1009 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1010 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1011 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1012 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1013 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1014 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1015 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1016 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1017 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1018 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1019 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1020 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1021 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1022 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1023 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1024
1025 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1026 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1027 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1028 not sscanf.
1029 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1030 with a preprocessor macro.
1031
1032 * stdio-common/bug21.c, stdio-common/scanf14.c:
1033 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1034 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1035 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1036 to xscanf, xfscanf, xsscanf.
1037
1038 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1039 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1040 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1041 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1042 xfscanf, xsscanf.
1043 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1044 override feature selection macros or provide definitions of u_char etc.
1045 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1046 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1047 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1048 with -std=gnu89.
1049
1050 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1051
1052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1053 bits/termios-misc.h.
1054 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1055 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1056 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1057 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1058 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1059 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1060
1061 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1062 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1063 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1064 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1065 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1066 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1067 termios-misc.h.
1068 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1069 (sysdep_headers): Add termios-misc.h.
1070
1071 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1072 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1073 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1074
1075 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1076 termios-tcflow.h.
1077 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1078 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1079 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1080 TCSAFLUSH): Move to termios-tcflow.h.
1081 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1082 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1083 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1084 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1085
1086 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1087 termios-c_lflag.h.
1088 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1089 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1090 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1091 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1092 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1093 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1094 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1095 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1096 Likewise.
1097 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1098 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1099 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1100 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1101
1102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1103 termios-c_cflag.h.
1104 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1105 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1106 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1107 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1108 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1109 termios-c_cflag.h.
1110 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1111 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1112 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1113 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1114
1115 [BZ #23783]
1116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1117 termios-baud.h.
1118 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1119 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1120 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1121 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1122 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1123 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1124 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1125 __MAX_BAUD): Move to termios-baud.h.
1126 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1127 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1128 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1129 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1130 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1131
1132 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1133 termios-c_oflag.h.
1134 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1135 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1136 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1137 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1138 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1139 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1140 termios-c_oflag.h.
1141 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1142 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1143 FFR1): Likewise.
1144 [USE_MISC] (XTABS): Likewise.
1145 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1146 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1147 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1148 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1149
1150 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1151 termios-c_iflag.h.
1152 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1153 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1154 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1155 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1156 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1157 IUTF8): Move to termios-c_iflag.h.
1158 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1159 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1160 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1161 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1162
1163 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1164 termios-cc.h.
1165 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1166 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1167 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1168 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1169 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1170 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1171 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1172 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1173 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1174 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1175 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1176 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1177
1178 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1179 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1180 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1181 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1182 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1183 termios-struct.h.
1184 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1185 termios-struct.h.
1186 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1187 Likewise.
1188 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1189 Likewise.
1190 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1191 Likewise.
1192 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1193 Likewise.
1194 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1195 _HAVE_C_OSPEED): Define.
1196 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1197 _HAVE_C_OSPEED): Likewise.
1198 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1199 _HAVE_C_OSPEED): Likewise.
1200 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1201 (cfsetospeed): Check for define value instead of existence.
1202 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1203 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1204 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1205 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1206 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1207
1208 [BZ #17783]
1209 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1210 Define.
1211 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1212 (TIOCSER_TEMT): Likewise.
1213 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1214 (TEOCSER_TEMT): Likewise.
1215
1216 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
1217
1218 [BZ #24011]
1219 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1220
1221 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1222
1223 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1224
1225 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1226
1227 * sysdeps/htl/pt-barrierattr-setpshared.c
1228 (pthread_barrierattr_setpshared): Add stub warning.
1229 * sysdeps/htl/pt-condattr-setpshared.c
1230 (pthread_condattr_setpshared): Likewise.
1231 * sysdeps/htl/pt-mutexattr-setpshared.c
1232 (pthread_mutexattr_setpshared): Likewise.
1233 * sysdeps/htl/pt-rwlockattr-setpshared.c
1234 (pthread_rwlockattr_setpshared): Likewise.
1235 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1236 (pthread_mutexattr_setpshared): Likewise.
1237
1238 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1239
1240 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1241 constants to match with Linux 4.20.
1242
1243 * sysdeps/mips/mips32/libm-test-ulps: Update.
1244 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1245
1246 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1247
1248 [BZ #24034]
1249 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1250 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1251 than __typeof (...) for the a_ptr variable.
1252
1253 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1254
1255 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1256 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1257 * libio/Makefile (tests): Add tst-sprintf-ub and
1258 tst-sprintf-chk-ub.
1259 (CFLAGS-tst-sprintf-ub.c): New variable.
1260 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1261 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1262 destination buffer and check for overflows in fortified mode.
1263 * libio/libioP.h (PRINTF_CHK): New macro.
1264 * libio/tst-sprintf-chk-ub.c: New file.
1265 * libio/tst-sprintf-ub.c: Likewise.
1266
1267 2019-01-02 Florian Weimer <fweimer@redhat.com>
1268
1269 [BZ #24018]
1270 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1271 failure.
1272
1273 2019-01-02 Florian Weimer <fweimer@redhat.com>
1274
1275 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1276
1277 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1278
1279 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1280 macro.
1281
1282 * sysdeps/unix/sysv/linux/netpacket/packet.h
1283 (PACKET_IGNORE_OUTGOING): New macro.
1284
1285 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1286 macro.
1287
1288 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1289 version to 4.20.
1290 (riscv_flush_icache): New syscall.
1291
1292 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1293 trailing whitespace removed.
1294 * scripts/config.guess: Update to version 2019-01-01.
1295 * scripts/config.sub: Update to version 2019-01-01.
1296 * scripts/move-if-change: Update from gnulib.
1297
1298 * NEWS: Update copyright dates.
1299 * catgets/gencat.c (print_version): Likewise.
1300 * csu/version.c (banner): Likewise.
1301 * debug/catchsegv.sh: Likewise.
1302 * debug/pcprofiledump.c (print_version): Likewise.
1303 * debug/xtrace.sh (do_version): Likewise.
1304 * elf/ldconfig.c (print_version): Likewise.
1305 * elf/ldd.bash.in: Likewise.
1306 * elf/pldd.c (print_version): Likewise.
1307 * elf/sotruss.sh: Likewise.
1308 * elf/sprof.c (print_version): Likewise.
1309 * iconv/iconv_prog.c (print_version): Likewise.
1310 * iconv/iconvconfig.c (print_version): Likewise.
1311 * locale/programs/locale.c (print_version): Likewise.
1312 * locale/programs/localedef.c (print_version): Likewise.
1313 * login/programs/pt_chown.c (print_version): Likewise.
1314 * malloc/memusage.sh (do_version): Likewise.
1315 * malloc/memusagestat.c (print_version): Likewise.
1316 * malloc/mtrace.pl: Likewise.
1317 * manual/libc.texinfo: Likewise.
1318 * nptl/version.c (banner): Likewise.
1319 * nscd/nscd.c (print_version): Likewise.
1320 * nss/getent.c (print_version): Likewise.
1321 * nss/makedb.c (print_version): Likewise.
1322 * posix/getconf.c (main): Likewise.
1323 * scripts/test-installation.pl: Likewise.
1324 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1325
1326 * All files with FSF copyright notices: Update copyright dates
1327 using scripts/update-copyrights.
1328 * locale/programs/charmap-kw.h: Regenerated.
1329 * locale/programs/locfile-kw.h: Likewise.
1330
1331 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1332
1333 * timezone/zdump.c: Update from tzcode 2018i.
1334 * timezone/zic.c: Likewise.
1335
1336 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1337
1338 regex: improve Gnulib port to AIX
1339 From the glibc point of view, this removes duplicate macro
1340 definitions and is obviously safe.
1341 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1342 * posix/regex_internal.h:
1343 (__attribute__, __attribute_warn_unused_result__):
1344 Remove; already defined elsewhere.
1345
1346 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1347
1348 [BZ #24027]
1349 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1350 copying operation. (ncopies had the wrong type, resulting in an
1351 integer wraparound and too few elements being copied.)
1352
1353 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1354
1355 [BZ #24022]
1356 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1357 <asm/syscalls.h> exists with __has_include__ before including it.
1358
1359 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1360
1361 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1362 version to 4.20.
1363
1364 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1365
1366 * hurd/lookup-retry: Include <unistd.h>.
1367 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1368 Release it on return. Handle "pid" magical lookup retry.
1369
1370 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1371
1372 [BZ #10496]
1373 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1374 (t_fmt_ampm): Likewise.
1375 * localedata/locales/aa_ER (t_fmt): Likewise.
1376 (t_fmt_ampm): Likewise.
1377 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1378 (t_fmt_ampm): Likewise.
1379 * localedata/locales/aa_ET (t_fmt): Likewise.
1380 (t_fmt_ampm): Likewise.
1381 * localedata/locales/am_ET (t_fmt): Likewise.
1382 (t_fmt_ampm): Likewise.
1383 * localedata/locales/byn_ER (t_fmt): Likewise.
1384 (t_fmt_ampm): Likewise.
1385 * localedata/locales/om_ET (t_fmt): Likewise.
1386 (t_fmt_ampm): Likewise.
1387 * localedata/locales/sid_ET (t_fmt): Likewise.
1388 (t_fmt_ampm): Likewise.
1389 * localedata/locales/so_DJ (t_fmt): Likewise.
1390 (t_fmt_ampm): Likewise.
1391 * localedata/locales/so_ET (t_fmt): Likewise.
1392 (t_fmt_ampm): Likewise.
1393 * localedata/locales/so_SO (t_fmt): Likewise.
1394 (t_fmt_ampm): Likewise.
1395 * localedata/locales/ti_ER (t_fmt): Likewise.
1396 (t_fmt_ampm): Likewise.
1397 * localedata/locales/ti_ET (t_fmt): Likewise.
1398 (t_fmt_ampm): Likewise.
1399 * localedata/locales/tig_ER (t_fmt): Likewise.
1400 (t_fmt_ampm): Likewise.
1401 * localedata/locales/wal_ET (t_fmt): Likewise.
1402 (t_fmt_ampm): Likewise.
1403
1404 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1405 * localedata/locales/ar_IN (t_fmt): Likewise.
1406 * localedata/locales/bhb_IN (t_fmt): Likewise.
1407 * localedata/locales/bho_IN (t_fmt): Likewise.
1408 * localedata/locales/bi_VU (t_fmt): Likewise.
1409 * localedata/locales/bn_BD (t_fmt): Likewise.
1410 * localedata/locales/bn_IN (t_fmt): Likewise.
1411 * localedata/locales/brx_IN (t_fmt): Likewise.
1412 * localedata/locales/doi_IN (t_fmt): Likewise.
1413 * localedata/locales/en_HK (t_fmt): Likewise.
1414 (t_fmt_ampm): Likewise.
1415 * localedata/locales/en_IN (t_fmt): Likewise.
1416 * localedata/locales/en_PH (t_fmt): Likewise.
1417 * localedata/locales/gu_IN (t_fmt): Likewise.
1418 * localedata/locales/hi_IN (t_fmt): Likewise.
1419 * localedata/locales/hif_FJ (t_fmt): Likewise.
1420 * localedata/locales/hne_IN (t_fmt): Likewise.
1421 * localedata/locales/kn_IN (t_fmt): Likewise.
1422 * localedata/locales/kok_IN (t_fmt): Likewise.
1423 * localedata/locales/ks_IN (t_fmt): Likewise.
1424 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1425 * localedata/locales/mag_IN (t_fmt): Likewise.
1426 * localedata/locales/mai_IN (t_fmt): Likewise.
1427 * localedata/locales/mjw_IN (t_fmt): Likewise.
1428 * localedata/locales/ml_IN (t_fmt): Likewise.
1429 * localedata/locales/mni_IN (t_fmt): Likewise.
1430 * localedata/locales/mr_IN (t_fmt): Likewise.
1431 * localedata/locales/ms_MY (t_fmt): Likewise.
1432 * localedata/locales/pa_IN (t_fmt): Likewise.
1433 * localedata/locales/raj_IN (t_fmt): Likewise.
1434 * localedata/locales/sa_IN (t_fmt): Likewise.
1435 * localedata/locales/sat_IN (t_fmt): Likewise.
1436 * localedata/locales/sd_IN (t_fmt): Likewise.
1437 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1438 * localedata/locales/tcy_IN (t_fmt): Likewise.
1439 * localedata/locales/the_NP (t_fmt): Likewise.
1440 * localedata/locales/to_TO (t_fmt): Likewise.
1441 * localedata/locales/ur_IN (t_fmt): Likewise.
1442
1443 * localedata/locales/hif_FJ (d_t_fmt): Set to
1444 "%A %d %b %Y %I:%M:%S %p".
1445 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1446
1447 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1448 * localedata/locales/ar_BH (t_fmt): Likewise.
1449 * localedata/locales/ar_DZ (t_fmt): Likewise.
1450 * localedata/locales/ar_EG (t_fmt): Likewise.
1451 * localedata/locales/ar_IQ (t_fmt): Likewise.
1452 * localedata/locales/ar_JO (t_fmt): Likewise.
1453 * localedata/locales/ar_KW (t_fmt): Likewise.
1454 * localedata/locales/ar_LB (t_fmt): Likewise.
1455 * localedata/locales/ar_LY (t_fmt): Likewise.
1456 * localedata/locales/ar_OM (t_fmt): Likewise.
1457 * localedata/locales/ar_QA (t_fmt): Likewise.
1458 * localedata/locales/ar_SD (t_fmt): Likewise.
1459 * localedata/locales/ar_SS (t_fmt): Likewise.
1460 * localedata/locales/ar_SY (t_fmt): Likewise.
1461 * localedata/locales/ar_TN (t_fmt): Likewise.
1462 * localedata/locales/ar_YE (t_fmt): Likewise.
1463
1464 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1465 (t_fmt_ampm): Likewise.
1466 * localedata/locales/gez_ET (t_fmt): Likewise.
1467 (t_fmt_ampm): Likewise.
1468
1469 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1470 (t_fmt_ampm): Likewise.
1471 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1472
1473 * localedata/locales/zh_HK (t_fmt):
1474 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1475
1476 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1477 because this locale does not use the 12-hour clock.
1478 (t_fmt): Set to "%Z %H:%M:%S".
1479 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1480
1481 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
1482 because this locale does not use the 12-hour clock.
1483 (t_fmt): Set to "%H:%M:%S %Z".
1484 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
1485
1486 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1487 because this locale does not use the 12-hour clock.
1488 (t_fmt): Set to "%T".
1489 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1490 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1491
1492 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
1493 because this locale does not use the 12-hour clock.
1494 (t_fmt): Set to "%H:%M:%S %Z".
1495 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
1496
1497 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1498 because this locale does not use the 12-hour clock.
1499 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1500 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1501
1502 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1503
1504 [BZ #10496]
1505 [BZ #23724]
1506 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1507 (t_fmt_ampm): Likewise.
1508 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1509 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1510 (d_fmt): Set to "%-d.%-m.%y".
1511
1512 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1513
1514 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1515 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1516 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1517 Likewise.
1518 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1519 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1520 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1521 function.
1522 * support/blob_repeat.c (check_mul_overflow_size_t,
1523 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1524
1525 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1526
1527 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1528
1529 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1530
1531 regex: simplify Gnulib port
1532 This simplifies the code, by removing stuff intended for porting
1533 to Gnulib but no longer needed there.
1534 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1535 uses of libc_hidden_def, weak_alias.
1536 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1537 _Restrict_ except for public-facing headers.
1538 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1539 Remove; already defined elsewhere.
1540 * posix/regex.c, posix/regex_internal.h:
1541 Use __GNUC_PREREQ instead of rolling our own.
1542 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1543
1544 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1545
1546 * benchtests/bench-strlen.c (generic_strlen): New function.
1547 (memchr_strlen): New function.
1548
1549 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1550
1551 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1552 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1553 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1554
1555 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1556
1557 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1558
1559 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1560
1561 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1562 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1563 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1564 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1565 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1566 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1567 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1568
1569 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1570
1571 [BZ #24023]
1572 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1573 PLT reference in libc.so.
1574 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1575 _Q_lltoq and _Q_qtod PLT references in libc.so.
1576
1577 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1578
1579 * benchtests/bench-memchr.c: Cleanup defines.
1580 * benchtests/bench-memcmp.c: Likewise.
1581 * benchtests/bench-memset.c: Likewise.
1582 * benchtests/bench-memset-large.c: Likewise.
1583 * benchtests/bench-memset-walk.c: Likewise.
1584 * benchtests/bench-stpcpy.c: Likewise.
1585 * benchtests/bench-stpncpy.c: Likewise.
1586 * benchtests/bench-strcat.c: Likewise.
1587 * benchtests/bench-strchr.c: Likewise.
1588 * benchtests/bench-strcmp.c: Likewise.
1589 * benchtests/bench-strcpy.c: Likewise.
1590 * benchtests/bench-strcspn.c: Likewise.
1591 * benchtests/bench-string.h: Likewise.
1592 * benchtests/bench-strlen.c: Likewise.
1593 * benchtests/bench-strncat.c: Likewise.
1594 * benchtests/bench-strncmp.c: Likewise.
1595 * benchtests/bench-strncpy.c: Likewise.
1596 * benchtests/bench-strnlen.c: Likewise.
1597 * benchtests/bench-strpbrk.c: Likewise.
1598 * benchtests/bench-strrchr.c: Likewise.
1599 * benchtests/bench-strspn.c: Likewise.
1600
1601 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1602
1603 * stdlib/longlong.h: Update from GCC.
1604
1605 [BZ #23993]
1606 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1607 * configure: Regenerated.
1608 * manual/install.texi (Tools for Compilation): Update minimum GCC
1609 version.
1610 * INSTALL: Regenerated.
1611
1612 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1613
1614 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1615
1616 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1617
1618 * malloc/malloc.c (mremap_chunk): Additional checks.
1619
1620 2018-12-21 Mao Han <han_mao@c-sky.com>
1621
1622 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1623 * scripts/build-many-glibcs.py: Add C-SKY targets.
1624 * sysdeps/csky/Implies: New file.
1625 * sysdeps/csky/Makefile: Likewise.
1626 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1627 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1628 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1629 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1630 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1631 * sysdeps/csky/abiv2/memmove.S: Likewise.
1632 * sysdeps/csky/abiv2/memset.S: Likewise.
1633 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1634 * sysdeps/csky/abiv2/start.S: Likewise.
1635 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1636 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1637 * sysdeps/csky/abiv2/strlen.S: Likewise.
1638 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1639 * sysdeps/csky/abort-instr.h: Likewise.
1640 * sysdeps/csky/atomic-machine.h: Likewise.
1641 * sysdeps/csky/bits/endian.h: Likewise.
1642 * sysdeps/csky/bits/fenv.h: Likewise.
1643 * sysdeps/csky/bits/link.h: Likewise.
1644 * sysdeps/csky/bits/setjmp.h: Likewise.
1645 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1646 * sysdeps/csky/bsd-setjmp.S: Likewise.
1647 * sysdeps/csky/configure: Likewise.
1648 * sysdeps/csky/configure.ac: Likewise.
1649 * sysdeps/csky/dl-machine.h: Likewise.
1650 * sysdeps/csky/dl-procinfo.c: Likewise.
1651 * sysdeps/csky/dl-procinfo.h: Likewise.
1652 * sysdeps/csky/dl-sysdep.h: Likewise.
1653 * sysdeps/csky/dl-tls.h: Likewise.
1654 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1655 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1656 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1657 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1658 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1659 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1660 * sysdeps/csky/fpu/fegetround.c: Likewise.
1661 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1662 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1663 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1664 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1665 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1666 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1667 * sysdeps/csky/fpu/fesetround.c: Likewise.
1668 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1669 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1670 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1671 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1672 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1673 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1674 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1675 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1676 * sysdeps/csky/fpu_control.h: Likewise.
1677 * sysdeps/csky/gccframe.h: Likewise.
1678 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1679 * sysdeps/csky/ldsodefs.h: Likewise.
1680 * sysdeps/csky/libc-tls.c: Likewise.
1681 * sysdeps/csky/linkmap.h: Likewise.
1682 * sysdeps/csky/machine-gmon.h: Likewise.
1683 * sysdeps/csky/memusage.h: Likewise.
1684 * sysdeps/csky/nofpu/Implies: Likewise.
1685 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1686 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1687 * sysdeps/csky/nptl/Makefile: Likewise.
1688 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1689 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1690 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1691 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1692 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1693 * sysdeps/csky/nptl/tls.h: Likewise.
1694 * sysdeps/csky/preconfigure: Likewise.
1695 * sysdeps/csky/sfp-machine.h: Likewise.
1696 * sysdeps/csky/sotruss-lib.c: Likewise.
1697 * sysdeps/csky/stackinfo.h: Likewise.
1698 * sysdeps/csky/sysdep.h: Likewise.
1699 * sysdeps/csky/tininess.h: Likewise.
1700 * sysdeps/csky/tst-audit.h: Likewise.
1701 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1702 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1703 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1704 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1705 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1706 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1707 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1708 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1709 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1710 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1711 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1712 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1713 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1714 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1715 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1716 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1717 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1718 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1719 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1720 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1721 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1722 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1723 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1724 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1725 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1726 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1727 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1728 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1729 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1730 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1731 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1732 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1733 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1734 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1735 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1736 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1737 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1738 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1739 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1740 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1741 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1742 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1743 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1744 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1745
1746 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1747
1748 * include/time.h (__difftime64): Add.
1749 * time/difftime.c (subtract): convert to 64-bit time.
1750 * time/difftime.c (__difftime64): Add.
1751 * time/difftime.c (__difftime): Wrap around __difftime64.
1752
1753 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1754
1755 * manual/examples/add.c: Remove redundant "if not".
1756 * manual/examples/argp-ex1.c: Likewise.
1757 * manual/examples/argp-ex2.c: Likewise.
1758 * manual/examples/argp-ex3.c: Likewise.
1759 * manual/examples/argp-ex4.c: Likewise.
1760 * manual/examples/atexit.c: Likewise.
1761 * manual/examples/db.c: Likewise.
1762 * manual/examples/dir.c: Likewise.
1763 * manual/examples/dir2.c: Likewise.
1764 * manual/examples/execinfo.c: Likewise.
1765 * manual/examples/filecli.c: Likewise.
1766 * manual/examples/filesrv.c: Likewise.
1767 * manual/examples/fmtmsgexpl.c: Likewise.
1768 * manual/examples/genpass.c: Likewise.
1769 * manual/examples/inetcli.c: Likewise.
1770 * manual/examples/inetsrv.c: Likewise.
1771 * manual/examples/isockad.c: Likewise.
1772 * manual/examples/longopt.c: Likewise.
1773 * manual/examples/memopen.c: Likewise.
1774 * manual/examples/memstrm.c: Likewise.
1775 * manual/examples/mkdirent.c: Likewise.
1776 * manual/examples/mkfsock.c: Likewise.
1777 * manual/examples/mkisock.c: Likewise.
1778 * manual/examples/mygetpass.c: Likewise.
1779 * manual/examples/pipe.c: Likewise.
1780 * manual/examples/popen.c: Likewise.
1781 * manual/examples/rprintf.c: Likewise.
1782 * manual/examples/search.c: Likewise.
1783 * manual/examples/select.c: Likewise.
1784 * manual/examples/setjmp.c: Likewise.
1785 * manual/examples/sigh1.c: Likewise.
1786 * manual/examples/sigusr.c: Likewise.
1787 * manual/examples/stpcpy.c: Likewise.
1788 * manual/examples/strdupa.c: Likewise.
1789 * manual/examples/strftim.c: Likewise.
1790 * manual/examples/subopt.c: Likewise.
1791 * manual/examples/swapcontext.c: Likewise.
1792 * manual/examples/termios.c: Likewise.
1793 * manual/examples/testopt.c: Likewise.
1794 * manual/examples/testpass.c: Likewise.
1795 * manual/examples/timeval_subtract.c: Likewise.
1796
1797 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1798
1799 * sysdeps/x86/fpu/math_private.h: New file.
1800 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1801
1802 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1803 definition.
1804 (cosh): Likewise.
1805 (tanh): Likewise.
1806
1807 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1808
1809 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1810 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1811 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1812 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1813 fields.
1814 (_dl_show_auxv): Give a special treatment to
1815 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1816 and AT_L3_CACHEGEOMETRY.
1817 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1818 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1819 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1820 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1821
1822 2018-12-19 Andreas Schwab <schwab@suse.de>
1823
1824 * nscd/connections.c (check_use): Don't abort on invalid len.
1825
1826 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1827
1828 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1829 values in the 64bit value cases.
1830
1831 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1832
1833 * include/time.h
1834 (__ctime64_r): Add.
1835 * time/ctime_r.c
1836 (__ctime64_r): Add.
1837 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1838
1839 * include/time.h
1840 (__ctime64): Add.
1841 * time/gmtime.c
1842 (__ctime64): Add.
1843 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1844
1845 * include/time.h
1846 (__gmtime64_r): Add.
1847 * time/gmtime.c
1848 (__gmtime64_r): Add.
1849 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1850
1851 * include/time.h
1852 (__gmtime64): Add.
1853 * time/gmtime.c
1854 (__gmtime64): Add.
1855 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1856
1857 * include/time.h
1858 (__localtime64_r): Add.
1859 * time/localtime.c
1860 (__localtime64_r): Add.
1861 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1862
1863 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1864
1865 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1866 kernel_sigction definition.
1867
1868 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1869
1870 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1871
1872 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1873 __syscall_rt_sigaction.
1874 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1875 (kernel_sigaction): Use Linux generic defintion.
1876 (STUB): Define.
1877 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1878 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1879 (__syscall_rt_sigaction): Remove implementation.
1880 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1881 hidden.
1882 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1883 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1884 INTERNAL_SYSCALL): Remove definitions.
1885 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1886 action and signal set size.
1887 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1888 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1889
1890 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1891 James Clarke <jrtc27@jrtc27.com>
1892
1893 [BZ #23967]
1894 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1895 Define if SA_RESTORER is defined.
1896 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1897 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1898 already defined.
1899 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1900 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1901 definitions.
1902 (HAS_SA_RESTORER): Define.
1903 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1904 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1905 (HAS_SA_RESTORER): Define.
1906 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1907 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1908 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1909 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1910 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1911
1912 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1913
1914 * sysdeps/unix/sysv/linux/kernel-features.h
1915 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1916 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1917 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1918 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1919 (__ASSUME_ST_INO_64_BIT): Likewise.
1920 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1921 <kernel-features.h>.
1922 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1923 Remove conditional code.
1924 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1925 <kernel-features.h>.
1926 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1927 Remove conditional code.
1928 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1929 <kernel-features.h>.
1930 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1931 Remove conditional code.
1932 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
1933 <kernel-features.h>.
1934 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
1935 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
1936
1937 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1938
1939 * sysdeps/s390/multiarch/ifunc-resolve.h
1940 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
1941 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
1942 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
1943 Delete macro definition.
1944 (s390_libc_ifunc_init): Rename to
1945 s390_libc_ifunc_expr_stfle_init.
1946 * sysdeps/s390/bzero: Use
1947 s390_libc_ifunc_expr_stfle_init instead of
1948 s390_libc_ifunc_init.
1949 * sysdeps/s390/memcmp.c: Likewise.
1950 * sysdeps/s390/memcpy.c: Likewise.
1951 * sysdeps/s390/mempcpy.c: Likewise.
1952 * sysdeps/s390/memset.c: Likewise.
1953
1954 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1955
1956 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
1957 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
1958
1959 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1960
1961 * sysdeps/s390/multiarch/Makefile
1962 (sysdep_routines): Remove wmemcmp variants.
1963 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
1964 * sysdeps/s390/multiarch/ifunc-impl-list.c
1965 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
1966 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
1967 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
1968 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
1969 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
1970 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
1971 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
1972 * sysdeps/s390/ifunc-wmemcmp.h: New file.
1973
1974 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1975
1976 * sysdeps/s390/multiarch/Makefile
1977 (sysdep_routines): Remove wmemset variants.
1978 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
1979 * sysdeps/s390/multiarch/ifunc-impl-list.c
1980 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
1981 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
1982 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
1983 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
1984 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
1985 * sysdeps/s390/multiarch/wmemset.c: Move to ...
1986 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
1987 * sysdeps/s390/ifunc-wmemset.h: New file.
1988
1989 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1990
1991 * sysdeps/s390/multiarch/Makefile
1992 (sysdep_routines): Remove wmemchr variants.
1993 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
1994 * sysdeps/s390/multiarch/ifunc-impl-list.c
1995 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
1996 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
1997 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
1998 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
1999 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2000 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2001 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2002 * sysdeps/s390/ifunc-wmemchr.h: New file.
2003
2004 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2005
2006 * sysdeps/s390/multiarch/Makefile
2007 (sysdep_routines): Remove wcscspn variants.
2008 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2009 * sysdeps/s390/multiarch/ifunc-impl-list.c
2010 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2011 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2012 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2013 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2014 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2015 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2016 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2017 * sysdeps/s390/ifunc-wcscspn.h: New file.
2018
2019 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2020
2021 * sysdeps/s390/multiarch/Makefile
2022 (sysdep_routines): Remove wcspbrk variants.
2023 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2024 * sysdeps/s390/multiarch/ifunc-impl-list.c
2025 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2026 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2027 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2028 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2029 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2030 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2031 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2032 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2033
2034 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2035
2036 * sysdeps/s390/multiarch/Makefile
2037 (sysdep_routines): Remove wcsspn variants.
2038 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2039 * sysdeps/s390/multiarch/ifunc-impl-list.c
2040 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2041 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2042 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2043 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2044 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2045 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2046 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2047 * sysdeps/s390/ifunc-wcsspn.h: New file.
2048
2049 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2050
2051 * sysdeps/s390/multiarch/Makefile
2052 (sysdep_routines): Remove wcsrchr variants.
2053 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2054 * sysdeps/s390/multiarch/ifunc-impl-list.c
2055 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2056 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2057 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2058 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2059 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2060 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2061 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2062 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2063
2064 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2065
2066 * sysdeps/s390/multiarch/Makefile
2067 (sysdep_routines): Remove wcschrnul variants.
2068 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2069 * sysdeps/s390/multiarch/ifunc-impl-list.c
2070 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2071 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2072 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2073 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2074 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2075 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2076 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2077 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2078
2079 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2080
2081 * sysdeps/s390/multiarch/Makefile
2082 (sysdep_routines): Remove wcschr variants.
2083 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2084 * sysdeps/s390/multiarch/ifunc-impl-list.c
2085 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2086 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2087 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2088 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2089 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2090 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2091 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2092 * sysdeps/s390/ifunc-wcschr.h: New file.
2093
2094 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2095
2096 * sysdeps/s390/multiarch/Makefile
2097 (sysdep_routines): Remove wcsncmp variants.
2098 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2099 * sysdeps/s390/multiarch/ifunc-impl-list.c
2100 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2101 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2102 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2103 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2104 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2105 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2106 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2107 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2108
2109 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2110
2111 * sysdeps/s390/multiarch/Makefile
2112 (sysdep_routines): Remove wcscmp variants.
2113 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2114 * sysdeps/s390/multiarch/ifunc-impl-list.c
2115 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2116 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2117 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2118 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2119 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2120 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2121 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2122 * sysdeps/s390/ifunc-wcscmp.h: New file.
2123
2124 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2125
2126 * sysdeps/s390/multiarch/Makefile
2127 (sysdep_routines): Remove wcsncat variants.
2128 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2129 * sysdeps/s390/multiarch/ifunc-impl-list.c
2130 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2131 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2132 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2133 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2134 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2135 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2136 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2137 * sysdeps/s390/ifunc-wcsncat.h: New file.
2138
2139 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2140
2141 * sysdeps/s390/multiarch/Makefile
2142 (sysdep_routines): Remove wcscat variants.
2143 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2144 * sysdeps/s390/multiarch/ifunc-impl-list.c
2145 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2146 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2147 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2148 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2149 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2150 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2151 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2152 * sysdeps/s390/ifunc-wcscat.h: New file.
2153
2154 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2155
2156 * sysdeps/s390/multiarch/Makefile
2157 (sysdep_routines): Remove wcpncpy variants.
2158 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2159 * sysdeps/s390/multiarch/ifunc-impl-list.c
2160 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2161 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2162 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2163 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2164 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2165 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2166 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2167 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2168
2169 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2170
2171 * sysdeps/s390/multiarch/Makefile
2172 (sysdep_routines): Remove wcsncpy variants.
2173 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2174 * sysdeps/s390/multiarch/ifunc-impl-list.c
2175 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2176 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2177 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2178 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2179 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2180 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2181 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2182 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2183
2184 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2185
2186 * sysdeps/s390/multiarch/Makefile
2187 (sysdep_routines): Remove wcpcpy variants.
2188 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2189 * sysdeps/s390/multiarch/ifunc-impl-list.c
2190 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2191 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2192 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2193 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2194 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2195 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2196 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2197 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2198
2199 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2200
2201 * sysdeps/s390/multiarch/Makefile
2202 (sysdep_routines): Remove wcscpy variants.
2203 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2204 * sysdeps/s390/multiarch/ifunc-impl-list.c
2205 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2206 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2207 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2208 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2209 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2210 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2211 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2212 * sysdeps/s390/ifunc-wcscpy.h: New file.
2213
2214 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2215
2216 * sysdeps/s390/multiarch/Makefile
2217 (sysdep_routines): Remove wcsnlen variants.
2218 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2219 * sysdeps/s390/multiarch/ifunc-impl-list.c
2220 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2221 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2222 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2223 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2224 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2225 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2226 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2227 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2228
2229 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2230
2231 * sysdeps/s390/multiarch/Makefile
2232 (sysdep_routines): Remove wcslen variants.
2233 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2234 * sysdeps/s390/multiarch/ifunc-impl-list.c
2235 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2236 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2237 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2238 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2239 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2240 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2241 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2242 * sysdeps/s390/ifunc-wcslen.h: New file.
2243
2244 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2245
2246 * sysdeps/s390/multiarch/Makefile
2247 (sysdep_routines): Remove memrchr variants.
2248 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2249 * sysdeps/s390/multiarch/ifunc-impl-list.c
2250 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2251 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2252 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2253 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2254 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2255 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2256 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2257 * sysdeps/s390/ifunc-memrchr.h: New file.
2258
2259 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2260
2261 * sysdeps/s390/multiarch/Makefile
2262 (sysdep_routines): Remove memccpy variants.
2263 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2264 * sysdeps/s390/multiarch/ifunc-impl-list.c
2265 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2266 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2267 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2268 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2269 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2270 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2271 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2272 * sysdeps/s390/ifunc-memccpy.h: New file.
2273
2274 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2275
2276 * sysdeps/s390/multiarch/Makefile
2277 (sysdep_routines): Remove rawmemchr variants.
2278 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2279 * sysdeps/s390/multiarch/ifunc-impl-list.c
2280 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2281 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2282 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2283 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2284 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2285 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2286 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2287 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2288
2289 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2290
2291 * sysdeps/s390/multiarch/Makefile
2292 (sysdep_routines): Remove memchr variants.
2293 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2294 * sysdeps/s390/multiarch/ifunc-impl-list.c
2295 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2296 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2297 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2298 * sysdeps/s390/multiarch/memchr.c: Move to ...
2299 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2300 * sysdeps/s390/ifunc-memchr.h: New file.
2301 * sysdeps/s390/s390-64/memchr.S: Move to ...
2302 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2303 for 31/64bit and ifunc handling.
2304 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2305 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2306 * sysdeps/s390/s390-32/memchr.S: Likewise.
2307
2308 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2309
2310 * sysdeps/s390/multiarch/Makefile
2311 (sysdep_routines): Remove strcspn variants.
2312 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2313 * sysdeps/s390/multiarch/ifunc-impl-list.c
2314 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2315 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2316 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2317 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2318 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2319 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2320 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2321 * sysdeps/s390/ifunc-strcspn.h: New file.
2322
2323 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2324
2325 * sysdeps/s390/multiarch/Makefile
2326 (sysdep_routines): Remove strpbrk variants.
2327 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2328 * sysdeps/s390/multiarch/ifunc-impl-list.c
2329 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2330 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2331 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2332 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2333 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2334 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2335 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2336 * sysdeps/s390/ifunc-strpbrk.h: New file.
2337
2338 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2339
2340 * sysdeps/s390/multiarch/Makefile
2341 (sysdep_routines): Remove strspn variants.
2342 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2343 * sysdeps/s390/multiarch/ifunc-impl-list.c
2344 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2345 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2346 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2347 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2348 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2349 * sysdeps/s390/multiarch/strspn.c: Move to ...
2350 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2351 * sysdeps/s390/ifunc-strspn.h: New file.
2352
2353 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2354
2355 * sysdeps/s390/multiarch/Makefile
2356 (sysdep_routines): Remove strrchr variants.
2357 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2358 * sysdeps/s390/multiarch/ifunc-impl-list.c
2359 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2360 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2361 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2362 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2363 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2364 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2365 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2366 * sysdeps/s390/ifunc-strrchr.h: New file.
2367
2368 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2369
2370 * sysdeps/s390/multiarch/Makefile
2371 (sysdep_routines): Remove strchrnul variants.
2372 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2373 * sysdeps/s390/multiarch/ifunc-impl-list.c
2374 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2375 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2376 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2377 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2378 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2379 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2380 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2381 * sysdeps/s390/ifunc-strchrnul.h: New file.
2382
2383 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2384
2385 * sysdeps/s390/multiarch/Makefile
2386 (sysdep_routines): Remove strchr variants.
2387 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2388 * sysdeps/s390/multiarch/ifunc-impl-list.c
2389 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2390 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2391 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2392 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2393 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2394 * sysdeps/s390/multiarch/strchr.c: Move to ...
2395 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2396 * sysdeps/s390/ifunc-strchr.h: New file.
2397
2398 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2399
2400 * sysdeps/s390/multiarch/Makefile
2401 (sysdep_routines): Remove strncmp variants.
2402 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2403 * sysdeps/s390/multiarch/ifunc-impl-list.c
2404 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2405 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2406 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2407 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2408 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2409 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2410 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2411 * sysdeps/s390/ifunc-strncmp.h: New file.
2412
2413 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2414
2415 * sysdeps/s390/multiarch/Makefile
2416 (sysdep_routines): Remove strcmp variants.
2417 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2418 * sysdeps/s390/multiarch/ifunc-impl-list.c
2419 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2420 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2421 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2422 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2423 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2424 * sysdeps/s390/ifunc-strcmp.h: New file.
2425 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2426 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2427 for 31/64bit and ifunc handling.
2428 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2429 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2430 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2431
2432 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2433
2434 * sysdeps/s390/multiarch/Makefile
2435 (sysdep_routines): Remove strncat variants.
2436 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2437 * sysdeps/s390/multiarch/ifunc-impl-list.c
2438 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2439 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2440 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2441 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2442 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2443 * sysdeps/s390/multiarch/strncat.c: Move to ...
2444 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2445 * sysdeps/s390/ifunc-strncat.h: New file.
2446
2447 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2448
2449 * sysdeps/s390/multiarch/Makefile
2450 (sysdep_routines): Remove strcat variants.
2451 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2452 * sysdeps/s390/multiarch/ifunc-impl-list.c
2453 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2454 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2455 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2456 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2457 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2458 * sysdeps/s390/multiarch/strcat.c: Move to ...
2459 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2460 * sysdeps/s390/ifunc-strcat.h: New file.
2461
2462 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2463
2464 * sysdeps/s390/multiarch/Makefile
2465 (sysdep_routines): Remove stpncpy variants.
2466 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2467 * sysdeps/s390/multiarch/ifunc-impl-list.c
2468 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2469 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2470 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2471 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2472 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2473 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2474 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2475 * sysdeps/s390/ifunc-stpncpy.h: New file.
2476
2477 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2478
2479 * sysdeps/s390/multiarch/Makefile
2480 (sysdep_routines): Remove strncpy variants.
2481 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2482 * sysdeps/s390/multiarch/ifunc-impl-list.c
2483 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2484 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2485 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2486 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2487 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2488 * sysdeps/s390/ifunc-strncpy.h: New file.
2489 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2490 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2491 and adjust ifunc handling.
2492 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2493 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2494 and adjust ifunc handling.
2495 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2496 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2497
2498 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2499
2500 * sysdeps/s390/multiarch/Makefile
2501 (sysdep_routines): Remove stpcpy variants.
2502 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2503 * sysdeps/s390/multiarch/ifunc-impl-list.c
2504 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2505 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2506 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2507 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2508 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2509 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2510 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2511 * sysdeps/s390/ifunc-stpcpy.h: New file.
2512
2513 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2514
2515 * sysdeps/s390/multiarch/Makefile
2516 (sysdep_routines): Remove strcpy variants.
2517 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2518 * sysdeps/s390/multiarch/ifunc-impl-list.c
2519 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2520 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2521 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2522 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2523 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2524 * sysdeps/s390/ifunc-strcpy.h: New file.
2525 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2526 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2527 for 31/64bit and ifunc handling.
2528 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2529 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2530 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2531
2532 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2533
2534 * sysdeps/s390/multiarch/Makefile
2535 (sysdep_routines): Remove strnlen variants.
2536 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2537 * sysdeps/s390/multiarch/ifunc-impl-list.c
2538 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2539 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2540 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2541 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2542 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2543 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2544 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2545 * sysdeps/s390/ifunc-strnlen.h: New file.
2546
2547 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2548
2549 * sysdeps/s390/multiarch/Makefile
2550 (sysdep_routines): Remove strlen variants.
2551 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2552 * sysdeps/s390/multiarch/ifunc-impl-list.c
2553 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2554 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2555 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2556 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2557 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2558 * sysdeps/s390/multiarch/strlen.c: Move to ...
2559 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2560 * sysdeps/s390/ifunc-strlen.h: New file.
2561
2562 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2563
2564 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2565 * sysdeps/s390/multiarch/ifunc-impl-list.c
2566 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2567 * sysdeps/s390/ifunc-memmem.h: New file.
2568 * sysdeps/s390/memmem.c: Likewise.
2569 * sysdeps/s390/memmem-c.c: Likewise.
2570 * sysdeps/s390/memmem-vx.c: Likewise.
2571
2572 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2573
2574 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2575 * sysdeps/s390/multiarch/ifunc-impl-list.c
2576 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2577 * sysdeps/s390/ifunc-strstr.h: New file.
2578 * sysdeps/s390/strstr.c: Likewise.
2579 * sysdeps/s390/strstr-c.c: Likewise.
2580 * sysdeps/s390/strstr-vx.c: Likewise.
2581
2582 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2583
2584 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2585 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2586 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2587 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2588 New defines.
2589 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2590 * sysdeps/s390/memmove-c.c: New file.
2591 * sysdeps/s390/memmove.c: Likewise.
2592 * sysdeps/s390/multiarch/ifunc-impl-list.c
2593 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2594
2595 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2596
2597 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2598 * sysdeps/s390/configure.ac: Add check for z13 support.
2599 * sysdeps/s390/configure: Regenerated.
2600
2601 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2602
2603 * sysdeps/s390/memcopy.h: New file.
2604
2605 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2606
2607 * sysdeps/s390/s390-32/bcopy.S: Remove.
2608 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2609
2610 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2611
2612 * sysdeps/s390/ifunc-memcpy.h: New File.
2613 * sysdeps/s390/memcpy.S: Move to ...
2614 * sysdeps/s390/memcpy-z900.S ... here.
2615 Move implementations from memcpy-s390x.s to here.
2616 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2617 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2618 Remove memcpy/mempcpy variants.
2619 * sysdeps/s390/Makefile (sysdep_routines):
2620 Add memcpy/mempcpy variants.
2621 * sysdeps/s390/multiarch/ifunc-impl-list.c
2622 (__libc_ifunc_impl_list): Adjust ifunc variants for
2623 memcpy and mempcpy.
2624 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2625 to ...
2626 * sysdeps/s390/memcpy.c: ... here.
2627 Adjust ifunc variants for memcpy.
2628 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2629 * sysdeps/s390/mempcpy.c: ... here.
2630 Adjust ifunc variants for mempcpy.
2631 * sysdeps/s390/mempcpy.S: Delete file.
2632
2633 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2634
2635 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2636 * sysdeps/s390/memcpy.S: ... here.
2637 Adjust to be usable for 31/64bit.
2638 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2639 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2640 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2641 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2642 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2643 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2644 Adjust to be usable for 31/64bit.
2645 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2646 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2647 * sysdeps/s390/multiarch/memcpy.c: ... here.
2648 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2649
2650 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2651
2652 * sysdeps/s390/ifunc-memcmp.h: New File.
2653 * sysdeps/s390/memcmp.S: Move to ...
2654 * sysdeps/s390/memcmp-z900.S ... here.
2655 Move implementations from memcmp-s390x.s to here.
2656 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2657 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2658 Remove memcmp variants.
2659 * sysdeps/s390/Makefile (sysdep_routines):
2660 Add memcmp variants.
2661 * sysdeps/s390/multiarch/ifunc-impl-list.c
2662 (__libc_ifunc_impl_list): Adjust ifunc variants for
2663 memcmp.
2664 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2665 to ...
2666 * sysdeps/s390/memcmp.c: ... here.
2667 Adjust ifunc variants for memcmp.
2668
2669 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2670
2671 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2672 * sysdeps/s390/memcmp.S: ... here.
2673 Adjust to be usable for 31/64bit.
2674 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2675 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2676 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2677 Remove memcmp.
2678 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2679 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2680 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2681 Adjust to be usable for 31/64bit.
2682 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2683 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2684 * sysdeps/s390/multiarch/memcmp.c: ... here.
2685 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2686
2687 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2688
2689 * sysdeps/s390/s390-32/bzero.S: Delete file.
2690 * sysdeps/s390/s390-64/bzero.S: Likewise.
2691 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2692 * sysdeps/s390/bzero.c: New file.
2693 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2694 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2695 * sysdeps/s390/multiarch/ifunc-impl-list.c
2696 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2697
2698 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2699
2700 * sysdeps/s390/ifunc-memset.h: New File.
2701 * sysdeps/s390/memset.S: Move to ...
2702 * sysdeps/s390/memset-z900.S ... here.
2703 Move implementations from memset-s390x.s to here.
2704 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2705 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2706 Remove memset variants.
2707 * sysdeps/s390/Makefile (sysdep_routines):
2708 Add memset variants.
2709 * sysdeps/s390/multiarch/ifunc-impl-list.c
2710 (__libc_ifunc_impl_list): Adjust ifunc variants for
2711 memset.
2712 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2713 to ...
2714 * sysdeps/s390/memset.c: ... here.
2715 Adjust ifunc variants for memset.
2716
2717 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2718
2719 * sysdeps/s390/s390-64/memset.S: Move to ...
2720 * sysdeps/s390/memset.S: ... here.
2721 Adjust to be usable for 31/64bit.
2722 * sysdeps/s390/s390-32/memset.S: Delete File.
2723 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2724 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2725 Remove memset.
2726 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2727 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2728 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2729 Adjust to be usable for 31/64bit.
2730 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2731 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2732 * sysdeps/s390/multiarch/memset.c: ... here.
2733 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2734
2735 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2736
2737 * sysdeps/s390/multiarch/ifunc-resolve.h
2738 (s390_libc_ifunc_init, s390_libc_ifunc,
2739 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2740
2741 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2742
2743 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2744 * sysdeps/s390/configure.ac: Add check for z10 support.
2745 * sysdeps/s390/configure: Regenerated.
2746
2747 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2748
2749 * sysdeps/i386/atomic-machine.h: Merged with ...
2750 * sysdeps/x86_64/atomic-machine.h: To ...
2751 * sysdeps/x86/atomic-machine.h: This. New file.
2752
2753 2018-12-18 Florian Weimer <fweimer@redhat.com>
2754
2755 Rewrite locale/gen-translit.pl in Python.
2756 * locale/Makefile (generated): Add C-translit.h.
2757 (before-compile): Add $(objpfx)C-translit.h.
2758 (C-translit.h): Move to $(objpfx). Create target directory.
2759 Build using Python script.
2760 * locale/gen-translit.py: New file.
2761 * locale/gen-translit.pl: Remove file.
2762 * locale/C-translit.h.in: Change comment character to '#' for
2763 easier parsing without a C preprocessor.
2764 * locale/C-translit.h: Remove generated file.
2765 * manual/install.texi (Tools for Compilation): Do not mention
2766 C-translit.h.
2767 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2768 Remove locale/C-translit.h.
2769 * scripts/update-copyrights: Likewise.
2770 * INSTALL: Regenerate.
2771
2772 2018-12-18 Florian Weimer <fweimer@redhat.com>
2773
2774 [BZ #23995]
2775 * localedata/locales/bi_VU: Remove executable bit from file.
2776
2777 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2778
2779 * include/time.h
2780 (__localtime64): Add.
2781 * manual/maint.texi: Document Y2038 symbol handling.
2782 * time/localtime.c
2783 (__localtime64): Add.
2784 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2785
2786 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2787
2788 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2789 Do not clobber r12.
2790
2791 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2792 to allow extra macros from first or second sources.
2793 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2794 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2795 (tests-special): Add $(objpfx)tst-mman-consts.out.
2796 ($(objpfx)tst-mman-consts.out): New makefile target.
2797
2798 2018-12-17 Mao Han <han_mao@c-sky.com>
2799
2800 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2801 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2802 without stat64 system call support.
2803 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2804 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2805 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2806 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2807 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2808 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2809 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2810 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2811 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2812 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2813 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2814
2815 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2816
2817 regex: fix storage-exhaustion error
2818 [BZ #18040]
2819 * posix/regexec.c (get_subexp):
2820 Do not continue if storage is exhausted.
2821
2822 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2823
2824 regex: fix heap-use-after-free error
2825 [BZ #18040]
2826 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2827 https://debbugs.gnu.org/32592
2828 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2829 call extend_buffers which reallocates the re_string_t internal buffer.
2830 Local variable 'buf' was not updated in such case, resulting in
2831 use-after-free.
2832 * posix/regexec.c (get_subexp): Update 'buf' after call to
2833 get_subexp_sub.
2834
2835 2018-12-15 Florian Weimer <fweimer@redhat.com>
2836
2837 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2838 (minimum_stride_size): Use it.
2839 (support_blob_repeat_allocate): Likewise.
2840
2841 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2842
2843 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2844 definition.
2845 (acosh): Likewise.
2846 (atanh): Likewise.
2847
2848 2018-12-14 Florian Weimer <fweimer@redhat.com>
2849
2850 * manual/process.texi (Process Creation Concepts): Remove
2851 documentation of process (ID) lifetime. List more process
2852 creation functions. Reference Process Identification section.
2853 (Process Identification): Add information about process ID
2854 lifetime. Describe Linux thread/task IDs.
2855 * manual/signal.texi (Signaling Another Process): Mention that the
2856 signal is always sent to the process.
2857
2858 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2859
2860 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2861 and tst-ldbl-efgcvt.
2862 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2863 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2864 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2865 (fcvt_tests, output_error, output_r_error, do_test): Use the
2866 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2867 select the type of floating-point variables and arguments; to
2868 produce extra tests for double and conversion specifiers for
2869 printf; and to set the names of called functions.
2870 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2871 in tst-efgcvt-template.c.
2872 * misc/tst-ldbl-efgcvt.c: Likewise.
2873
2874 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2875
2876 * nss/Makefile (tst-nss-test3.out): New rule.
2877
2878 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2879
2880 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2881 clobber sp.
2882
2883 2018-12-13 fanjinke <fanjinke@hygon.cn>
2884
2885 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2886 "HygonGenuine".
2887
2888 2018-12-13 Andreas Schwab <schwab@suse.de>
2889
2890 [BZ #23861]
2891 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2892 (__pthread_rwlock_rdlock_full): Update expected value for
2893 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2894 * nptl/tst-rwlock-pwn.c: New file.
2895 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2896
2897 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2898
2899 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2900 definition.
2901
2902 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2903
2904 * benchtests/scripts/compare_bench.py (do_compare): write to
2905 stderr in casestat is not present.
2906 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2907 stderr in case timings field is not present. Also string showing
2908 the output filename goes into the stderr.
2909
2910 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2911
2912 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2913 and ZeroDivisorError exceptions.
2914 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2915 argument to loop through user provided statistics.
2916 * benchtests/scripts/compare_bench.py (main): Include the --stats
2917 argument.
2918
2919 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2920
2921 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2922 instead of return.
2923
2924 2018-12-12 Florian Weimer <fweimer@redhat.com>
2925
2926 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2927 clause to copyright header.
2928
2929 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2930
2931 [BZ #23614]
2932 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
2933 registers saved in the stack frame.
2934 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
2935 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
2936
2937 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2938
2939 * include/bits/monetary-ldbl.h: New file.
2940 * include/bits/printf-ldbl.h: Likewise.
2941 * include/bits/stdio-ldbl.h: Likewise.
2942 * include/bits/stdlib-ldbl.h: Likewise.
2943 * include/bits/syslog-ldbl.h: Likewise.
2944 * include/bits/wchar-ldbl.h: Likewise.
2945
2946 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2947
2948 * libio/libio.h: Remove redirection for _IO_vfprintf.
2949
2950 2018-12-11 Andreas Schwab <schwab@suse.de>
2951
2952 * Makerules: Remove all references to abilist-pattern.
2953 (update-all-abi): Simplify find expression.
2954
2955 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2956
2957 [BZ #23961]
2958 * math/auto-libm-test-in: Add new test case.
2959 * math/auto-libm-test-out-pow: Regenerated.
2960 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
2961
2962 2018-12-10 DJ Delorie <dj@redhat.com>
2963
2964 [BZ #23948]
2965 * support/test-container.c: Move postclean step to before we
2966 change namespaces.
2967
2968 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2969
2970 * scripts/gen-as-const.py (main): Handle --python option.
2971 * scripts/gen-py-const.awk: Remove.
2972 * Makerules (py-const-script): Use gen-as-const.py.
2973 ($(py-const)): Likewise.
2974 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
2975 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
2976 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
2977 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
2978 ~PTHREAD_MUTEX_NO_ELISION_NP.
2979 * manual/README.pretty-printers: Update reference to
2980 gen-py-const.awk.
2981
2982 * scripts/glibcextract.py: New file.
2983 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
2984 or tempfile. Import glibcexctract.
2985 (compute_c_consts): Remove. Moved to glibcextract.py.
2986 (gen_test): Update reference to compute_c_consts.
2987 (main): Likewise.
2988 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
2989 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
2990 * sysdeps/unix/sysv/linux/Makefile
2991 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
2992 Redirect stderr as well as stdout.
2993
2994 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
2995
2996 [BZ #19767]
2997 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
2998 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
2999 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3000 ALWAYS_USE_VSYSCALL.
3001 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3002 ALWAYS_USE_VSYSCALL.
3003 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3004 ALWAYS_USE_VSYSCALL.
3005
3006 2018-12-10 Florian Weimer <fweimer@redhat.com>
3007
3008 [BZ #23972]
3009 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3010 offset instead of count for clarity. Fix typo in comment.
3011 (__old_getdents64): Keep track of previous offset. Use it to call
3012 handle_overflow.
3013 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3014 that d_off is never zero.
3015
3016 2018-12-10 Andreas Schwab <schwab@suse.de>
3017
3018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3019 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3021 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3022 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3023
3024 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3025
3026 * timezone/private.h: Update from tzcode 2018g.
3027 * timezone/tzfile.h: Likewise.
3028 * timezone/tzselect.ksh: Likewise.
3029 * timezone/zdump.c: Likewise.
3030 * timezone/zic.c: Likewise.
3031
3032 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3033
3034 [BZ #23490]
3035 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3036 (do_test): Adjust buffer size and fix format.
3037
3038 2018-12-07 DJ Delorie <dj@redhat.com>
3039
3040 [BZ #23907]
3041 * malloc/tst-tcfree3.c: New.
3042 * malloc/Makefile: Add it.
3043
3044 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3045
3046 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3047
3048 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3049
3050 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3051 used as a mask for the mode argument of __vfscanf_internal and
3052 __vfwscanf_internal.
3053 * stdio-common/vfscanf-internal.c
3054 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3055 (__strtof128_internal): Define to __wcstof128_internal.
3056 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3057 __strtof128_internal or __wcstof128_internal when the format of
3058 long double is the same as _Float128.
3059
3060 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3061
3062 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3063 * posix/confstr.c (confstr): Rename to __confstr.
3064 (__confstr): Add hidden def.
3065 (confstr): Add weak alias for __confstr.
3066 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3067 confstr.
3068
3069 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3070
3071 * NEWS: Mention getcpu.
3072 * include/sched.h (__getcpu): New libc_hidden_proto.
3073 * manual/resource.texi: Document getcpu.
3074 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3075 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3076 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3077 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3078 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3079 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3080 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3081 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3082 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3083 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3084 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3085 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3086 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3087 Likewise.
3088 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3089 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3090 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3092 Likewise.
3093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3094 Likewise.
3095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3096 Likewise.
3097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3098 Likewise.
3099 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3100 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3101 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3102 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3103 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3104 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3105 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3106 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3107 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3108 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3109 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3110 Also check getcpu.
3111
3112 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3113
3114 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3115 functions.
3116 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3117
3118 2018-12-07 Florian Weimer <fweimer@redhat.com>
3119
3120 [BZ #17405]
3121 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3122 * posix/Versions (GLIBC_2.29): Export
3123 posix_spawn_file_actions_addfchdir_np.
3124 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3125 * posix/spawn_faction_destroy.c
3126 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3127 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3128 and the field action.fchdir_action.
3129 * posix/tst-spawn-chdir.c (add_chdir): New function.
3130 (do_test): Add do_fchdir loop. Call add_chdir.
3131 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3132 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3133 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3134 posix_spawn_file_actions_addfchdir_np.
3135 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3136 Likewise.
3137 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3138 Likewise.
3139 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3140 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3141 Likewise.
3142 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3143 Likewise.
3144 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3145 Likewise.
3146 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3147 Likewise.
3148 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3149 Likewise.
3150 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3151 Likewise.
3152 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3153 (GLIBC_2.29): Likewise.
3154 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3155 (GLIBC_2.29): Likewise.
3156 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3157 (GLIBC_2.29): Likewise.
3158 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3159 (GLIBC_2.29): Likewise.
3160 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3161 Likewise.
3162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3163 (GLIBC_2.29): Likewise.
3164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3165 (GLIBC_2.29): Likewise.
3166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3167 (GLIBC_2.29): Likewise.
3168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3169 (GLIBC_2.29): Likewise.
3170 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3171 Likewise.
3172 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3173 Likewise.
3174 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3175 Likewise.
3176 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3177 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3178 Likewise.
3179 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3180 Likewise.
3181 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3182 Likewise.
3183 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3184 Likewise.
3185
3186 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3187
3188 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3189 trailing whitespace removed.
3190 * scripts/config.guess: Update to version 2018-11-28.
3191 * scripts/config.sub: Update to version 2018-11-28.
3192 * scripts/install-sh: Update to version 2018-03-11.20.
3193 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3194 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3195
3196 2018-12-07 Florian Weimer <fweimer@redhat.com>
3197
3198 [BZ #23927]
3199 CVE-2018-19591
3200 * inet/tst-if_index-long.c: New file.
3201 * inet/Makefile (tests): Add tst-if_index-long.
3202
3203 2018-12-07 Florian Weimer <fweimer@redhat.com>
3204
3205 * support/check.h (support_record_failure_is_failed): Declare.
3206 * support/descriptors.h: New file.
3207 * support/support_descriptors.c: Likewise.
3208 * support/tst-support_descriptors.c: Likewise.
3209 * support/support_record_failure.c
3210 (support_record_failure_is_failed): New function.
3211 * support/Makefile (libsupport-routines): Add support_descriptors.
3212 (tests): Add tst-support_descriptors.
3213
3214 2018-12-05 Zack Weinberg <zackw@panix.com>
3215 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3216
3217 * stdio-common/vfprintf-internal.c
3218 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3219 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3220 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3221 and __no_long_double.
3222 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3223 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3224 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3225 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3226 and __nldbl_*syslog* functions.
3227 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3228 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3229 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3230 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3231 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3232 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3233 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3234 (__nldbl_vwprintf, __nldbl_wprintf):
3235 Directly call the appropriate __v*printf_internal routine, passing
3236 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3237 variable names.
3238 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3239 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3240 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3241 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3242 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3243 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3244 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3245 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3246 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3247 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3248 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3249 (__nldbl_syslog, __nldbl_vsyslog):
3250 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3251 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3252 appropriate.
3253 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3254 appropriate.
3255
3256 2018-12-05 Zack Weinberg <zackw@panix.com>
3257 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3258
3259 [BZ #11319]
3260 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3261 Moved here from debug/vsprintf_chk.c.
3262 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3263 and completion logic for the strfile to match exactly what
3264 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3265 _IO_str_init_static_internal instead of maxlen-1.
3266 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3267 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3268 __vsprintf_internal.
3269
3270 * debug/vsprintf_chk.c (__vsprintf_chk)
3271 * debug/sprintf_chk.c (__sprintf_chk):
3272 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3273 'flags' argument is positive, and slen as maxlen. No need to lock
3274 the FILE and/or construct a temporary FILE. Minimize and normalize
3275 header inclusions and variable names. Do not libc_hidden_def anything.
3276
3277 * debug/asprintf_chk.c (__asprintf_chk)
3278 * debug/dprintf_chk.c (__dprintf_chk)
3279 * debug/fprintf_chk.c (__fprintf_chk)
3280 * debug/fwprintf_chk.c (__fwprintf_chk)
3281 * debug/printf_chk.c (__printf_chk)
3282 * debug/snprintf_chk.c (__snprintf_chk)
3283 * debug/swprintf_chk.c (__swprintf_chk)
3284 * debug/vasprintf_chk.c (__vasprintf_chk)
3285 * debug/vdprintf_chk.c (__vdprintf_chk)
3286 * debug/vfprintf_chk.c (__vfprintf_chk)
3287 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3288 * debug/vprintf_chk.c (__vprintf_chk)
3289 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3290 * debug/vswprintf_chk.c (__vswprintf_chk)
3291 * debug/vwprintf_chk.c (__vwprintf_chk)
3292 * debug/wprintf_chk.c (__wprintf_chk):
3293 Directly call the corresponding vxxprintf_internal function, passing
3294 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3295 the FILE and/or construct a temporary FILE. Minimize and normalize
3296 header inclusions and variable names. Do not libc_hidden_def anything.
3297
3298 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3299 __obstack_vprintf_internal.
3300 (__obstack_vprintf_chk): Convert into a wrapper that calls
3301 __obstack_vprintf_internal (these two functions already had the
3302 same code) and move to new file...
3303 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3304 file.
3305 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3306 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3307 * debug/Makefile (routines): Add vobprintf_chk.
3308
3309 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3310 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3311 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3312 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3313 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3314 (__nldbl___obstack_vfprintf_chk):
3315 Directly call the corresponding vxxprintf_internal function,
3316 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3317 duplicate comparison of slen with 0 or maxlen from the corresponding
3318 non-__nldbl function.
3319
3320 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3321 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3322 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3323 Remove libc_hidden_proto.
3324
3325 * stdio-common/vfprintf-internal.c
3326 (__vfprintf_internal, __vfwprintf_internal):
3327 Do not check _IO_FLAGS2_FORTIFY.
3328 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3329 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3330 a comment explaining why it has the maxlen argument.
3331 (_IO_acquire_lock_clear_flags2_fct): Remove.
3332 (_IO_acquire_lock_clear_flags2): Remove.
3333 (_IO_release_lock): Remove conditional statement which will
3334 now never execute.
3335 (_IO_acquire_lock): Remove variable which is now unused.
3336 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3337 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3338
3339 * stdio-common/Makefile (tests): Add tst-bz11319 and
3340 tst-bz11319-fortify2.
3341 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3342 * stdio-common/tst-bz11319-fortify2.c: New file.
3343 * stdio-common/tst-bz11319.c: Likewise.
3344
3345 2018-12-05 Zack Weinberg <zackw@panix.com>
3346 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3347
3348 * misc/syslog.c: Include libioP.h, not iolibio.h.
3349 (__vsyslog_internal): New function with the former body of
3350 __vsyslog_chk; takes mode_flags argument same as
3351 __v*printf_internal. Call __vfprintf_internal directly.
3352
3353 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3354 Remove libc_hidden_def.
3355 (__syslog, __syslog_chk): Use __vsyslog_internal.
3356 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3357
3358 * include/sys/syslog.h: Add multiple inclusion guard.
3359 Add prototype for __vsyslog_internal.
3360 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3361
3362 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3363 Use __vsyslog_internal.
3364
3365 2018-12-05 Zack Weinberg <zackw@panix.com>
3366 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3367
3368 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3369 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3370 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3371 New functions.
3372 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3373 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3374
3375 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3376 Include wctype.h here if COMPILE_WPRINTF is defined.
3377 Define __vfprintf_internal or __vfwprintf_internal, depending
3378 on COMPILE_WPRINTF.
3379 Temporarily, on entry to this function, update mode_flags
3380 according to the environmental settings corresponding to
3381 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3382 Throughout, check mode_flags instead of __ldbl_is_dbl and
3383 _IO_FLAGS2_FORTIFY on the destination FILE.
3384 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3385 Include vfprintf-internal.c. Don't include wctype.h.
3386 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3387 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3388 and vfprintf.
3389 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3390 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3391 and vfwprintf.
3392 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3393
3394 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3395 and add mode_flags argument; use __vfprintf_internal.
3396 (__vdprintf): New function. Alias vdprintf to this.
3397 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3398 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3399 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3400 (__obstack_printf): Use __obstack_printf_internal.
3401 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3402 public aliases __vsnprintf and vsnprintf.
3403 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3404 called internally.
3405 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3406 public aliases _IO_vsprintf and vsprintf.
3407 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3408 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3409 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3410 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3411 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3412
3413 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3414 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3415 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3416 * stdio-common/printf.c: Use __vfprintf_internal.
3417
3418 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3419 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3420 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3421
3422 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3423 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3424 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3425 __vfwprintf_internal.
3426
3427 * libio/libio.h: Remove libc_hidden_proto and declaration for
3428 _IO_vfprintf.
3429 Remove declaration of _IO_vfwprintf.
3430 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3431 _IO_vsprintf.
3432 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3433 _IO_obstack_printf.
3434 * include/stdio.h: Add prototype for __vasprintf.
3435 (__vsnprintf): Remove declaration, because there are no more
3436 internal calls.
3437 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3438 declaration, because there are no more internal calls.
3439
3440 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3441 __vsnprintf_internal, instead of _IO_vsnprintf.
3442 * argp/argp-help.c (__argp_error, __argp_failure): Use
3443 __vasprintf_internal, instead of _IO_vasprintf.
3444 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3445 redefine, because there are no more internal calls.
3446
3447 2018-12-05 Zack Weinberg <zackw@panix.com>
3448 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3449
3450 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3451 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3452 Include libio/strfile.h instead of libioP.h.
3453 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3454 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3455 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3456 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3457 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3458 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3459 necessary. Do not set __no_long_double. Normalize variable names.
3460 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3461 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3462 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3463 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3464 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3465 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3466 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3467 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3468 Do not set __no_long_double. Normalize variable names.
3469
3470 2018-12-05 Zack Weinberg <zackw@panix.com>
3471 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3472
3473 * stdio-common/isoc99_scanf.c
3474 * stdio-common/isoc99_fscanf.c
3475 * stdio-common/isoc99_sscanf.c
3476 * stdio-common/isoc99_vscanf.c
3477 * stdio-common/isoc99_vfscanf.c
3478 * stdio-common/isoc99_vsscanf.c
3479 * wcsmbs/isoc99_wscanf.c
3480 * wcsmbs/isoc99_fwscanf.c
3481 * wcsmbs/isoc99_swscanf.c
3482 * wcsmbs/isoc99_vwscanf.c
3483 * wcsmbs/isoc99_vfwscanf.c
3484 * wcsmbs/isoc99_vswscanf.c:
3485 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3486 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3487 No need to lock and unlock the FILE passed to that function.
3488
3489 * stdio-common/vfscanf-internal.c
3490 (__vfscanf_internal, __vfwscanf_internal):
3491 Don't look at _IO_FLAGS2_SCANF_STD.
3492 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3493 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3494 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3495
3496 2018-12-05 Zack Weinberg <zackw@panix.com>
3497 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3498
3499 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3500 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3501 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3502 * libio/strfile.h: Add multiple inclusion guard.
3503 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3504
3505 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3506 consistency with the other version of this file.
3507 (ldbl_compat_symbol): New macro.
3508 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3509 New macro.
3510
3511 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3512 Define __vfscanf_internal or __vfwscanf_internal, depending on
3513 COMPILE_WSCANF; don't define any other public symbols.
3514 Remove errval and code to set errp.
3515 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3516 as the mode_flags argument.
3517 (encode_error, conv_error, input_error): Don't set errval.
3518 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3519 Include vfscanf-internal.c.
3520 * stdio-common/vfscanf.c: New file defining the public entry
3521 point vfscanf, which calls __vfscanf_internal.
3522 * stdio-common/vfwscanf.c: New file defining the public entry
3523 point vfwscanf, which calls __vfwscanf_internal.
3524
3525 * stdio-common/iovfscanf.c: New file.
3526 * stdio-common/iovfwscanf.c: Likewise.
3527
3528 * stdio-common/Makefile (routines): Add vfscanf-internal,
3529 vfwscanf-internal, iovfscanf, iovfwscanf.
3530 * stdio-common/Versions: Mention GLIBC_2.29, so that
3531 it can be used in SHLIB_COMPAT expressions.
3532 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3533 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3534 Call __vfscanf_internal, instead of _IO_vfscanf.
3535 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3536 _IO_vfscanf.
3537 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3538 _IO_vfwscanf.
3539
3540 * libio/iovsscanf.c: Clean up includes, when possible. Use
3541 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3542 __vfscanf_internal or __vfwscanf_internal directly.
3543 * libio/iovswscanf.c: Likewise.
3544 * libio/swscanf.c: Likewise.
3545 * libio/vscanf.c: Likewise.
3546 * libio/vwscanf.c: Likewise.
3547 * libio/wscanf.c: Likewise.
3548 * stdio-common/isoc99_fscanf.c: Likewise.
3549 * stdio-common/isoc99_scanf.c: Likewise.
3550 * stdio-common/isoc99_sscanf.c: Likewise.
3551 * stdio-common/isoc99_vfscanf.c: Likewise.
3552 * stdio-common/isoc99_vscanf.c: Likewise.
3553 * stdio-common/isoc99_vsscanf.c: Likewise.
3554 * stdio-common/scanf.c: Likewise.
3555 * stdio-common/sscanf.c: Likewise.
3556 * wcsmbs/isoc99_fwscanf.c: Likewise.
3557 * wcsmbs/isoc99_swscanf.c: Likewise.
3558 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3559 * wcsmbs/isoc99_vswscanf.c: Likewise.
3560 * wcsmbs/isoc99_vwscanf.c: Likewise.
3561 * wcsmbs/isoc99_wscanf.c: Likewise.
3562
3563 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3564
3565 * include/time.h
3566 (__tz_compute): Replace time_t with __time64_t.
3567 (__tz_convert): Replace time_t* with __time64_t.
3568 (__offtime): Replace time_t* with __time64_t.
3569 * time/gmtime.c
3570 (__gmtime_r): Adjust call to __tz_convert.
3571 (gmtime): Likewise.
3572 * time/localtime.c
3573 (__localtime_r): Likewise.
3574 (localtime): Likewise.
3575 * time/offtime.c: Replace time_t with __time64_t.
3576 * time/tzset.c: Likewise.
3577
3578 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3579
3580 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3581 dynamic linker unless [$(run-built-tests) = yes].
3582
3583 2018-12-03 DJ Delorie <dj@delorie.com>
3584
3585 * support/test-container.c (check_for_unshare_hints): New.
3586 (main): Call it if unshare fails. Add support for "su" scriptlet
3587 command.
3588
3589 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3590
3591 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3592 'START' to indicate that start text should be output.
3593 (gen_test): Likewise.
3594 (main): Generate 'START' for first symbol or '--' line, or at end
3595 of input if not previously generated.
3596
3597 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3598
3599 [BZ #19767]
3600 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3601 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3602 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3603 ALWAYS_USE_VSYSCALL.
3604
3605 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3606
3607 [BZ #23913]
3608 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3609 new_argv by one.
3610
3611 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3612
3613 [BZ #23923]
3614 * locale/programs/localedef.c: Declare boolean hard_links default true.
3615 (options): Add --no-hard-links option.
3616 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3617 * locale/programs/localedef.h: Declare prototype for hard_links.
3618 * locale/programs/locfile.c (write_locale_data): Don't use hard
3619 links if hard_links is false.
3620
3621 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3622
3623 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3624 cpu_features_basic.
3625 (__cache_sysconf): Likewise.
3626 (init_cacheinfo): Likewise.
3627 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3628 populate COMMON_CPUID_INDEX_80000007 and
3629 COMMON_CPUID_INDEX_80000008.
3630 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3631 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3632 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3633 (init_cpu_features): Use _Static_assert on
3634 index_arch_Fast_Unaligned_Load.
3635 __get_cpuid_registers and __get_arch_feature. Updated for
3636 cpu_features_basic. Set stepping in cpu_features.
3637 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3638 (FEATURE_INDEX_2): New.
3639 (FEATURE_INDEX_MAX): Changed to enum.
3640 (COMMON_CPUID_INDEX_D_ECX_1): New.
3641 (COMMON_CPUID_INDEX_80000007): Likewise.
3642 (COMMON_CPUID_INDEX_80000008): Likewise.
3643 (cpuid_registers): Likewise.
3644 (cpu_features_basic): Likewise.
3645 (CPU_FEATURE_USABLE): Likewise.
3646 (bit_arch_XXX_Usable): Likewise.
3647 (cpu_features): Use cpuid_registers and cpu_features_basic.
3648 (bit_arch_XXX): Reweritten.
3649 (bit_cpu_XXX): Likewise.
3650 (index_cpu_XXX): Likewise.
3651 (reg_XXX): Likewise.
3652 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3653 <support/check.h>.
3654 (CHECK_CPU_FEATURE): New.
3655 (CHECK_CPU_FEATURE_USABLE): Likewise.
3656 (cpu_kinds): Likewise.
3657 (do_test): Print vendor, family, model and stepping. Check
3658 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3659 (TEST_FUNCTION): Removed.
3660 Include <support/test-driver.c> instead of
3661 "../../test-skeleton.c".
3662 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3663 Check POPCNT instead of POPCOUNT.
3664 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3665
3666 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3667
3668 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3669 there is no element in `consts'.
3670
3671 2018-12-01 Florian Weimer <fweimer@redhat.com>
3672
3673 * support/support_capture_subprocess.c
3674 (support_capture_subprocess): Check that pipe descriptors have
3675 expected values. Close original pipe descriptors in subprocess.
3676
3677 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3678
3679 [BZ #23032]
3680 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3681 attr with __pthread_default_barrierattr.
3682 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3683 attr with __pthread_default_condattr.
3684 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3685 attr with __pthread_default_mutexattr.
3686 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3687 attr with __pthread_default_rwlockattr.
3688
3689 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3690
3691 * manual/tunables.texi (POSIX Thread Tunables): New node.
3692 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3693 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3694 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3695 __pthread_tunables_init.
3696 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3697 (max_adaptive_count): Define.
3698 * nptl/pthread_mutex_conf.c: New file.
3699 * nptl/pthread_mutex_conf.h: New file.
3700 * sysdeps/generic/adaptive_spin_count.h: New file.
3701 * sysdeps/nptl/dl-tunables.list: New file.
3702 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3703 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3704 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3705 Likewise.
3706
3707 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3708
3709 [BZ #20544]
3710 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3711 * stdlib/on_exit.c (__on_exit): Likewise.
3712 * stdlib/Makefile (tests): Add tst-bz20544.
3713 * stdlib/tst-bz20544.c: New test.
3714
3715 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3716
3717 [BZ #19767]
3718 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3719 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3720 New.
3721
3722 2018-11-30 Florian Weimer <fweimer@redhat.com>
3723
3724 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3725 Extend error logging.
3726 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3727 symbol.
3728
3729 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3730
3731 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3732 __sigismember instead of sigismember.
3733 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3734 cancel_handler): New definitions.
3735 (do_system): Use posix_spawn instead of fork and execl and remove
3736 reentracy code.
3737 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3738 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3739 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3740 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3741 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3742 * sysdeps/unix/sysv/linux/system.c: Likewise.
3743
3744 [BZ #22834]
3745 [BZ #17490]
3746 * NEWS: Add new semantic for atfork with popen and system.
3747 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3748 fork and execl.
3749
3750 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3751
3752 [BZ #23690]
3753 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3754 modification order when accessing reloc_result->addr.
3755 * include/link.h (reloc_result): Add field init.
3756 * nptl/Makefile (tests): Add tst-audit-threads.
3757 (modules-names): Add tst-audit-threads-mod1 and
3758 tst-audit-threads-mod2.
3759 Add rules to build tst-audit-threads.
3760 * nptl/tst-audit-threads-mod1.c: New file.
3761 * nptl/tst-audit-threads-mod2.c: Likewise.
3762 * nptl/tst-audit-threads.c: Likewise.
3763 * nptl/tst-audit-threads.h: Likewise.
3764
3765 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3766
3767 * scripts/gen-as-const.py: New file.
3768 * scripts/gen-as-const.awk: Remove.
3769 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3770 gen-as-const.py.
3771 ($(objpfx)test-as-const-%.c): Likewise.
3772
3773 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3774
3775 * elf/dl-exception.c: Include <_itoa.h>.
3776
3777 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3778
3779 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3780 returned by __f_setlk.
3781
3782 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3783 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3784
3785 * elf/Makefile (tests-internal): Add tst-create_format1.
3786 * elf/dl-exception.c (_dl_exception_create_format): Support
3787 %x, %lx and %zx.
3788 * elf/tst-create_format1.c: New file.
3789
3790 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3791
3792 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3793 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3794 gnulib.)
3795 * argp/argp-help.c (__argp_failure): Likewise.
3796
3797 2018-11-29 Mao Han <han_mao@c-sky.com>
3798
3799 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3800 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3801 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3802 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3803 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3804 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3805 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3806 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3807 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3808 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3809 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3810 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3811 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3812 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3813 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3814 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3815 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3816 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3817 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3818 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3819 (R_CKCORE_TLS_TPOFF32): New defines.
3820
3821 2018-11-29 Florian Weimer <fweimer@redhat.com>
3822
3823 * posix/Makefile (before-compile): Remove testcases.h and
3824 ptestcases.h.
3825 (generated): Add testcases.h and ptestcases.h.
3826 (testcases.h, ptestcases.h): Move to $(objpfx).
3827 (runtests.o): Add dependency on testcases.h.
3828 (runptests.o): Add dependency on ptestcases.h.
3829 * posix/testcases.h, posix/ptestcases.h: Remove files.
3830 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3831 not touch posix/testcases.h and posix/ptestcases.h.
3832
3833 2018-11-28 Florian Weimer <fweimer@redhat.com>
3834
3835 support: Add signal support to support_capture_subprocess_check.
3836 * support/capture_subprocess.h (support_capture_subprocess_check):
3837 Adjust comment and rename parameter.
3838 * support/support_capture_subprocess_check.c
3839 (print_actual_status): New function.
3840 (support_capture_subprocess_check): Support negative
3841 status_or_signal. Call print_actual_status.
3842 * support/tst-support_capture_subprocess.c (do_test): Call
3843 support_capture_subprocess_check.
3844 * libio/tst-vtables-common.c (termination_status)
3845 (init_termination_status): Remove.
3846 (check_for_termination): Adjust support_capture_subprocess_check
3847 call.
3848 (do_test): Remove call to init_termination_status.
3849
3850 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3851
3852 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3853 source directory instead of a copy.
3854 (CommandList.create_copy_dir): Remove.
3855
3856 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3857
3858 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3859
3860 2018-11-28 Florian Weimer <fweimer@redhat.com>
3861
3862 * support/support.h (support_quote_string): Do not use str
3863 parameter name.
3864
3865 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3866
3867 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3868 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3869
3870 2018-11-27 Florian Weimer <fweimer@redhat.com>
3871
3872 * support/support.h (support_quote_string): Declare.
3873 * support/support_quote_string.c: New file.
3874 * support/tst-support_quote_string.c: Likewise.
3875 * support/Makefile (libsupport-routines): Add
3876 support_quote_string.
3877 (tests): Add tst-support_quote_string.
3878
3879 2018-11-27 Florian Weimer <fweimer@redhat.com>
3880
3881 [BZ #23927]
3882 CVE-2018-19591
3883 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3884 descriptor leak in case of ENODEV error.
3885
3886 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3887
3888 [BZ #19767]
3889 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3890 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3891 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3892
3893 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3894
3895 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3896 Error for unknown lines.
3897
3898 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3899
3900 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3901 Touch additional files.
3902
3903 2018-11-26 Florian Weimer <fweimer@redhat.com>
3904
3905 [BZ #23907]
3906 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3907 double-frees.
3908
3909 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3910
3911 [BZ #19767]
3912 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3913 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3914 SHARED. Include sysdep.h.
3915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3916 ALWAYS_USE_VSYSCALL.
3917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3918 ALWAYS_USE_VSYSCALL.
3919
3920 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3921
3922 [BZ #19767]
3923 * nptl/Makefile (tests-static): Add tst-cond11-static.
3924 (tests): Likewise.
3925 * nptl/tst-cond11-static.c: New File.
3926 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3927 tst-affinity-static.
3928 (tests): Likewise.
3929 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3930 instead of SHARED.
3931 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
3932 (USE_VSYSCALL): Likewise.
3933 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
3934 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
3935 instead of SHARED.
3936 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
3937 SHARED.
3938 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
3939 New.
3940
3941 2018-11-23 Joseph Myers <joseph@codesourcery.com>
3942
3943 [BZ #23915]
3944 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3945 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3946 Undefine.
3947
3948 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
3949
3950 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
3951 (tst-cet-legacy-1a-ARGS): New.
3952 ($(objpfx)tst-cet-legacy-1a): New target.
3953 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
3954
3955 2018-11-22 Joseph Myers <joseph@codesourcery.com>
3956
3957 * conform/conformtest.py (CompileSubTest.__init__): Set
3958 self.run_early to False.
3959 (ExecuteSubTest.__init__): Likewise.
3960 (HeaderTests.run): Try running all non-optional, non-XFAILed
3961 compilation tests in a single execution of the compiler.
3962
3963 * conform/conformtest.py (CompileSubTest): New class.
3964 (ExecuteSubTest): Likewise.
3965 (ElementTest.run): Rename to gen_subtests. Append tests to
3966 self.subtests instead of running them.
3967 (ConstantTest.run): Likewise.
3968 (SymbolTest.run): Likewise.
3969 (TypeTest.run): Likewise.
3970 (TagTest.run): Likewise.
3971 (FunctionTest.run): Likewise.
3972 (VariableTest.run): Likewise.
3973 (MacroFunctionTest.run): Likewise.
3974 (MacroStrTest.run): Likewise.
3975 (HeaderTests.handle_test_line): Generate subtests for tests.
3976 (HeaderTests.run): Run subtests for tests.
3977
3978 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3979
3980 * math/Versions (GLIBC_2.29): Add pow.
3981 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
3982 symbol.
3983 * math/w_pow.c: New file.
3984 * sysdeps/i386/fpu/w_pow.c: New file.
3985 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
3986 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
3987 and add necessary aliases.
3988 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
3989 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
3990 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3991 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3992 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3993 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3994 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3995 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3996 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3997 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3998 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3999 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4000 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4001 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4002 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4007 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4008 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4009 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4010 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4011 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4012 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4013 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4014 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4015 __pow.
4016 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4017 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4018 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4019
4020 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4021
4022 * math/Versions (GLIBC_2.29): Add log2.
4023 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4024 symbol.
4025 * math/w_log2.c: New file.
4026 * sysdeps/i386/fpu/w_log2.c: New file.
4027 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4028 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4029 and add necessary aliases.
4030 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4031 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4032 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4033 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4034 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4035 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4036 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4037 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4038 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4039 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4040 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4041 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4042 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4043 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4044 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4049 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4050 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4051 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4052 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4053 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4054 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4055 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4056
4057 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4058
4059 * math/Versions (GLIBC_2.29): Add log.
4060 * math/w_log_compat.c (__log_compat): Change to versioned compat
4061 symbol.
4062 * math/w_log.c: New file.
4063 * sysdeps/i386/fpu/w_log.c: New file.
4064 * sysdeps/ia64/fpu/e_log.S: Update.
4065 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4066 and add necessary aliases.
4067 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4068 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4069 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4070 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4071 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4072 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4073 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4074 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4075 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4076 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4077 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4078 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4079 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4080 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4081 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4086 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4087 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4088 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4089 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4090 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4091 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4092 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4093 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4094 __log.
4095 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4096 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4097 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4098 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4099
4100 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4101
4102 * math/Versions (GLIBC_2.29): Add exp and exp2.
4103 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4104 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4105 * math/w_exp_compat.c (__exp_compat): Likewise.
4106 * math/w_exp.c: New file.
4107 * math/w_exp2.c: New file.
4108 * sysdeps/i386/fpu/w_exp.c: New file.
4109 * sysdeps/i386/fpu/w_exp2.c: New file.
4110 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4111 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4112 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4113 and add necessary aliases.
4114 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4115 and add necessary aliases.
4116 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4117 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4118 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4119 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4120 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4121 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4122 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4123 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4124 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4125 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4126 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4127 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4128 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4129 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4130 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4131 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4132 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4137 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4138 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4139 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4140 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4141 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4142 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4143 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4144 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4145 (__ieee754_exp): Rename to __exp.
4146 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4147 (__ieee754_exp): Rename to __exp.
4148 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4149 (__ieee754_exp): Rename to __exp.
4150 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4151 __exp.
4152 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4153
4154 2018-11-20 DJ Delorie <dj@redhat.com>
4155
4156 * malloc/malloc.c (tcache_entry): Add key field.
4157 (tcache_put): Set it.
4158 (tcache_get): Likewise.
4159 (_int_free): Check for double free in tcache.
4160 * malloc/tst-tcfree1.c: New.
4161 * malloc/tst-tcfree2.c: New.
4162 * malloc/Makefile: Run the new tests.
4163 * manual/probes.texi: Document memory_tcache_double_free probe.
4164
4165 * dlfcn/dlerror.c (check_free): Prevent double frees.
4166
4167 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4168
4169 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4170
4171 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4172
4173 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4174 in tests. Use names for format arguments.
4175 (ConstantTest.run): Likewise.
4176 (SymbolTest.run): Likewise.
4177 (TypeTest.run): Likewise.
4178 (TagTest.run): Likewise.
4179 (FunctionTest.run): Likewise.
4180 (VariableTest.run): Likewise.
4181 (MacroFunctionTest.run): Likewise.
4182 (MacroStrTest.run): Likewise.
4183 (HeaderTests.__init__): Set self.num_tests.
4184 (HeaderTests.handle_test_line): Set test.num. Increment
4185 self.num_tests.
4186
4187 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4188
4189 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4190 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4191 SEEK_SET.
4192
4193 2018-11-19 Mao Han <han_mao@c-sky.com>
4194
4195 * scripts/config.guess: Update to version 2018-08-29.
4196 * scripts/config.sub: Update to version 2018-08-29.
4197
4198 2018-11-19 Florian Weimer <fweimer@redhat.com>
4199
4200 support: Print timestamps in timeout handler.
4201 * support/support_test_main.c (print_timestamp): New function.
4202 (signal_handler): Use it to print the termination time and the
4203 time of the last write to standard output.
4204
4205 2018-11-16 Zack Weinberg <zackw@panix.com>
4206 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4207
4208 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4209 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4210 argument.
4211 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4212 and add flags argument. Check flags instead of __ldbl_is_dbl when
4213 deciding whether to set is_long_double.
4214 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4215 passing zero for flags argument.
4216 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4217
4218 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4219 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4220 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4221 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4222 variable names. Remove libc_hidden_def/libc_hidden_proto from
4223 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4224 longer called from within the library.
4225 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4226 for __nldbl___vstrfmon_l, declare it explicitly.
4227
4228 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4229
4230 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4231
4232 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4233 macros
4234 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4235 F_SETLK64, F_SETLKW64, respectively.
4236 * sysdeps/mach/hurd/f_setlk.c: New file.
4237 * sysdeps/mach/hurd/f_setlk.h: New file.
4238 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4239 f_setlk.
4240 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4241 (__libc_fcntl): Move non-flock operations to...
4242 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4243 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4244
4245 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4246
4247 mktime: DEBUG_MKTIME cleanup
4248 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4249 And it’s no longer needed now that glibc and Gnulib both have
4250 their own testing mechanisms for mktime.
4251 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4252
4253 mktime: fix non-EOVERFLOW errno handling
4254 [BZ#23789]
4255 mktime was not properly reporting failures when the underlying
4256 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4257 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4258 The problem could happen on non-glibc platforms, with Gnulib.
4259 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4260 (tm_diff): ... this simpler function, which does not change errno.
4261 All callers changed to deal with errno themselves.
4262 (ranged_convert, __mktime_internal): Return failure immediately if
4263 the underlying function reports any failure other than EOVERFLOW.
4264 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4265 gap code fails.
4266
4267 mktime: fix bug with Y2038 DST transition
4268 [BZ#23789]
4269 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4270 mishandle a DST transition that jumps over the Y2038 boundary.
4271 No such DST transitions are known so this is only a theoretical
4272 bug, but we might as well do things right.
4273
4274 mktime: make more room for overflow
4275 [BZ#23789]
4276 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4277 This is so that we can add tm_diff results to a previous guess,
4278 which will be useful in a later patch.
4279
4280 mktime: simplify offset guess
4281 [BZ#23789]
4282 * time/mktime.c (__mktime_internal): Omit excess precision.
4283
4284 mktime: new test for mktime failure
4285 [BZ#23789]
4286 Based on a test suggested by Albert Aribaud in:
4287 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4288 * time/Makefile (tests): Add bug-mktime4.
4289 * time/bug-mktime4.c: New file.
4290
4291 mktime: fix EOVERFLOW bug
4292 [BZ#23789]
4293 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4294 Include libc-config.h, not config.h, for __set_errno.
4295 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4296
4297 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4298
4299 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4300 __attribute_copy__ to copy attributes from name. Drop static qualifier
4301 to avoid warnings about leaf attribute not having effect on static
4302 functions.
4303
4304 2018-11-13 Florian Weimer <fweimer@redhat.com>
4305
4306 * malloc/malloc.c (fastbin_push_entry): New function.
4307 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4308 (REMOVE_FB): Remove macro.
4309 (_int_malloc): Use fastbin_pop_entry and reindent.
4310 (_int_free): Use fastbin_push_entry.
4311 (malloc_consolidate): Use atomic_exchange_acquire.
4312
4313 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4314
4315 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4316 alias attribute, not with strong_alias.
4317
4318 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4319 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4320 with additional parameter thread.
4321 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4322 in terms of __hidden_ver2.
4323 (hidden_tls_def): New macro.
4324 (libc_hidden_tls_def): Likewise.
4325 (rtld_hidden_tls_def): Likewise.
4326 (libm_hidden_tls_def): Likewise.
4327 (libmvec_hidden_tls_def): Likewise.
4328 (libresolv_hidden_tls_def): Likewise.
4329 (librt_hidden_tls_def): Likewise.
4330 (libdl_hidden_tls_def): Likewise.
4331 (libnss_files_hidden_tls_def): Likewise.
4332 (libnsl_hidden_tls_def): Likewise.
4333 (libnss_nisplus_hidden_tls_def): Likewise.
4334 (libutil_hidden_tls_def): Likewise.
4335 (libutil_hidden_tls_def): Likweise.
4336 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4337 libc_hidden_tls_def.
4338 (__sim_disabled_exceptions_thread): Likewise.
4339 (__sim_round_mode_thread): Likewise.
4340
4341 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4342 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4343 copy attributes from name.
4344
4345 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4346
4347 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4348 Use __attribute_copy__ to copy attributes from name.
4349
4350 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4351 with __hidden_ver1 call.
4352 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4353 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4354 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4355 (__cosf): Do not declare here.
4356 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4357 (__sincosf): Do not declare here.
4358 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4359 (__sinf): Do not declare here.
4360
4361 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4362 (__BIG_ENDIAN): Likewise.
4363 (__BYTE_ORDER): Likewise.
4364 (strong_alias): Likewise.
4365 (_strong_alias): Likewise.
4366
4367 2018-11-12 Florian Weimer <fweimer@redhat.com>
4368
4369 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4370 function. Move after the definition of in_smallbin_range. Do not
4371 use __builtin_expect for paths that lead to a noreturn function.
4372 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4373 because it is unclear whether this is in fact an unlikely
4374 condition.
4375 (_int_malloc, _int_free): Adjust.
4376 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4377 variables.
4378 * malloc/arena.c (heap_trim): Likewise.
4379
4380 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4381
4382 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4383 it, free it if needed.
4384 (reauthenticate): Test and use ccwdir.
4385 (child_init_port): In non-resetids case, test and use ccwdir.
4386 (child_chdir): New nested function to set ccwdir.
4387 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4388 * hurd/hurd/port.h (_hurd_port_move): New function.
4389 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4390 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4391 * hurd/Versions (_hurd_port_move): Export function.
4392 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4393 symbol.
4394 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4395 of dtablesize for allocating dtable_cloexec.
4396
4397 2018-11-09 Martin Sebor <msebor@redhat.com>
4398
4399 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4400 it's already defined.
4401 (_strong_alias): Use __attribute_copy__.
4402 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4403 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4404 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4405 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4406 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4407 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4408 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4409 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4410 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4411 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4412 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4413 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4414 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4415 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4416 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4417 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4418 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4419 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4420 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4421
4422 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4423
4424 * misc/tst-efgcvt.c: Include support/check.h and
4425 support/test-driver.c. Do not include test-skeleton.c.
4426 (error_count): Remove.
4427 (output_error): Replace increments to error_count with calls to
4428 support_record_failure.
4429 (output_r_error): Likewise.
4430 (special): Likewise.
4431 (do_test): Unconditionally return zero.
4432 (TEST_FUNCTION): Remove.
4433
4434 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4435
4436 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4437 not $(@D)/scratch.
4438 ($(linknamespace-header-tests)): Likewise.
4439
4440 * conform/conformtest.py: New file.
4441 * conform/conformtest.pl: Remove.
4442 * conform/GlibcConform.pm: Likewise.
4443 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4444 (KEYWORDS_C99): Likewise.
4445 (KEYWORDS): Likewise.
4446 * conform/Makefile ($(conformtest-header-tests)): Use
4447 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4448 option. Use --header instead of --headers.
4449 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4450 function entries.
4451 * conform/data/spawn.h-data: Likewise.
4452 * conform/data/fcntl.h-data (openat): Add space after function
4453 name.
4454 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4455 (wcscasecmp_l): Likewise.
4456 * conform/data/termios.h-data (c_cc): Add space after element
4457 name.
4458
4459 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4460
4461 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4462 instead of manually comparing and reporting mismatching strings.
4463 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4464 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4465
4466 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4467
4468 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4469 __ASSUME_SOCKETCALL.
4470 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4471 (__ASSUME_SOCKETCALL): Remove.
4472 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4473 (__ASSUME_SOCKETCALL): Likewise.
4474 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4475 (__ASSUME_SOCKETCALL): Likewise.
4476 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4477 (__ASSUME_SOCKETCALL): Likewise.
4478 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4479 (__ASSUME_SOCKETCALL): Likewise.
4480 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4481 (__ASSUME_SOCKETCALL): Likewise.
4482 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4483 (__ASSUME_SOCKETCALL): Likewise.
4484
4485 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4486
4487 [BZ #23509]
4488 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4489 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4490 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4491 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4492 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4493 lc_unknown.
4494
4495 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4496
4497 [BZ #17630]
4498 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4499
4500 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4501
4502 [BZ #23867]
4503 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4504 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4505 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4506 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4507
4508 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4509
4510 * support/support_test_compare_string.c
4511 (support_test_compare_string): Fix printf format.
4512
4513 2018-11-07 Florian Weimer <fweimer@redhat.com>
4514
4515 Implement TEST_COMPARE_STRING.
4516 * support/check.h (TEST_COMPARE_STRING): Define.
4517 (support_test_compare_string): Declare.
4518 * support/Makefile (libsupport-routines): Add
4519 support_test_compare_string.
4520 (tests): Add tst-test_compare_string.
4521 * support/support_test_compare_string.c: New file.
4522 * support/tst-test_compare_string.c: Likewise.
4523
4524 2018-11-07 Andreas Schwab <schwab@suse.de>
4525
4526 [BZ #23864]
4527 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4528 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4529 Undef.
4530
4531 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4532
4533 [BZ #23862]
4534 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4535 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4536 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4537 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4538 Likewise.
4539
4540 2018-11-06 Florian Weimer <fweimer@redhat.com>
4541
4542 [BZ #17405]
4543 * posix/Makefile (routines): Add spawn_faction_addchdir.
4544 (tests): Add tst-spawn-chdir.
4545 * posix/Versions (GLIBC_2.29): Add
4546 posix_spawn_file_actions_addchdir_np.
4547 * posix/spawn_faction_addchdir.c: New file.
4548 * posix/spawn_faction_destroy.c
4549 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4550 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4551 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4552 chdir_action.
4553 * posix/tst-spawn-chdir.c: New file.
4554 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4555 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4556 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4557 posix_spawn_file_actions_addchdir_np.
4558 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4559 Likewise.
4560 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4561 Likewise.
4562 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4563 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4564 Likewise.
4565 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4566 Likewise.
4567 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4568 Likewise.
4569 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4570 Likewise.
4571 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4572 Likewise.
4573 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4574 Likewise.
4575 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4576 (GLIBC_2.29): Likewise.
4577 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4578 (GLIBC_2.29): Likewise.
4579 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4580 (GLIBC_2.29): Likewise.
4581 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4582 (GLIBC_2.29): Likewise.
4583 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4584 Likewise.
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4586 (GLIBC_2.29): Likewise.
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4588 (GLIBC_2.29): Likewise.
4589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4590 (GLIBC_2.29): Likewise.
4591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4592 (GLIBC_2.29): Likewise.
4593 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4594 Likewise.
4595 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4596 Likewise.
4597 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4598 Likewise.
4599 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4600 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4601 Likewise.
4602 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4603 Likewise.
4604 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4605 Likewise.
4606 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4607 Likewise.
4608
4609 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4610
4611 * misc/Makefile (tests): Add tst-ldbl-error.
4612 * misc/tst-ldbl-error.c: New file.
4613
4614 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4615
4616 * misc/Makefile (tests): Add tst-ldbl-warn.
4617 * misc/tst-ldbl-warn.c: New file.
4618
4619 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4620
4621 * argp/Makefile (tests): Add tst-ldbl-argp.
4622 * argp/tst-ldbl-argp.c: New file.
4623
4624 2018-11-05 Arjun Shankar <arjun@redhat.com>
4625
4626 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4627 __gconv_path_elem and call __gconv_get_path unconditionally.
4628
4629 2018-11-05 Andreas Schwab <schwab@suse.de>
4630
4631 [BZ #22927]
4632 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4633 creating the first helper thread failed.
4634
4635 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4636
4637 * sysdeps/mach/hurd/msync.c: New file.
4638
4639 2018-11-02 Florian Weimer <fweimer@redhat.com>
4640
4641 * support/shell-container.c (copy_func): Call
4642 support_copy_file_range instead of copy_file_range to support
4643 cross-device copies.
4644
4645 2018-11-02 Florian Weimer <fweimer@redhat.com>
4646
4647 * support/test-container.c: Include <libc-pointer-arith.h> for
4648 ALIGN_UP.
4649
4650 2018-11-01 Zong Li <zong@andestech.com>
4651
4652 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4653 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4654 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4655 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4656
4657 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4658 variable to avoid overlap arguments.
4659
4660 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4661
4662 * posix/bug-regex22.c (main): Use puts with distinct error
4663 messages for unexpected success of re_compile_pattern, not printf
4664 with NULL argument to %s.
4665
4666 * stdio-common/bug22.c: Include <libc-diag.h>.
4667 (do_test): Disable -Wformat-overflow= warnings around fprintf
4668 calls outputting more than INT_MAX characters.
4669 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4670 around printf call with NULL %s argument.
4671
4672 [BZ #23848]
4673 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4674 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4675 Undefine.
4676 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4677 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4678 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4679 (__ASSUME_SENDTO_SYSCALL): Likewise.
4680 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4681 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4682 [!__arch64__].
4683 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4684 (__ASSUME_CONNECT_SYSCALL): Likewise.
4685 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4686 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4687 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4688 Define.
4689 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4690 Likewise.
4691 [__LINUX_KERNEL_VERSION >= 0x040400]
4692 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4693 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4694 Remove.
4695 (listen): Likewise.
4696 (setsockopt): Likewise.
4697
4698 2018-11-01 Fredrik Noring <noring@nocrew.org>
4699
4700 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4701 with the ISA override.
4702
4703 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4704
4705 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4706 #endif.
4707
4708 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4709
4710 * manual/errno.texi (EIEIO): Document how translators should
4711 translate the error message.
4712 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4713 printing trailing whitespaces refused by git.
4714 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4715 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4716 * hurd/Makefile (user-interfaces): Add pci.
4717
4718 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4719
4720 * conform/linknamespace.py: New file.
4721 * conform/linknamespace.pl: Remove file.
4722 * conform/Makefile ($(linknamespace-header-tests)): Use
4723 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4724 option.
4725
4726 2018-10-30 Florian Weimer <fweimer@redhat.com>
4727
4728 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4729 memory leaks.
4730
4731 2018-10-30 Florian Weimer <fweimer@redhat.com>
4732
4733 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4734
4735 2018-10-30 Florian Weimer <fweimer@redhat.com>
4736
4737 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4738 support_blob_repeat.
4739
4740 2018-10-30 Florian Weimer <fweimer@redhat.com>
4741
4742 Avoid spurious test failures in stdlib/test-bz22786.
4743 * support/Makefile (libsupport-routines): Add blob_repeat.
4744 (tests): Add tst-support_blob_repeat.
4745 * support/blob_repeat.h: New file.
4746 * support/blob_repeat.c: Likewise.
4747 * support/tst-support_blob_repeat.c: Likewise.
4748 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4749 support_blob_repeat_allocate.
4750
4751 2018-10-30 Andreas Schwab <schwab@suse.de>
4752
4753 [BZ #23125]
4754 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4755 Don't use tail call.
4756 * elf/tst-unwind-main.c: New file.
4757 * elf/Makefile (tests): Add tst-unwind-main.
4758 (CFLAGS-tst-unwind-main.c): Define.
4759
4760 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4761
4762 [BZ #23791]
4763 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4764 n_cs_precedes to 0.
4765 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4766
4767 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4768
4769 * conform/glibcconform.py: Do not import shutil.
4770 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4771 of mkdtemp.
4772
4773 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4774 critic_missing for versions before 3.4.
4775 * configure: Regenerated.
4776 * manual/install.texi (Tools for Compilation): Document
4777 requirement for Python to build glibc.
4778 * INSTALL: Regenerated.
4779 * Rules [PYTHON]: Make code unconditional.
4780 * benchtests/Makefile [PYTHON]: Likewise.
4781 * conform/Makefile [PYTHON]: Likewise.
4782 * manual/Makefile [PYTHON]: Likewise.
4783 * math/Makefile [PYTHON]: Likewise.
4784
4785 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4786
4787 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4788 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4789 answer to interrupt_operation, return EIEIO instead of EINTR.
4790 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4791 _hurd_intr_rpc_msg_about_to global point to start of controlled
4792 assembly snippet. Make it check canceled flag.
4793 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4794 the _hurd_intr_rpc_msg_about_to point.
4795 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4796 issue, remove cancel flag check.
4797
4798 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4799
4800 * scripts/build-many-glibcs.py: Remove compatibility for missing
4801 os.cpu_count and re.fullmatch.
4802
4803 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4804
4805 [BZ #23822]
4806 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4807 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4808 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4809
4810 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4811
4812 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4813 macro.
4814
4815 2018-10-25 Florian Weimer <fweimer@redhat.com>
4816
4817 [BZ #23562]
4818 [BZ #23821]
4819 XFAIL siginfo_t si_band conform test on sparc64.
4820 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4821 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4822 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4823 (conformtest-xfail-conds): Add sparc64-linux.
4824 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4825 sparc64.
4826 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4827
4828 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4829
4830 * elf/elf.h (NT_MIPS_DSP): New macro.
4831 (NT_MIPS_FP_MODE): Likewise.
4832
4833 2018-10-25 Zong Li <zong@andestech.com>
4834
4835 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4836 name by adding the file extension (.so).
4837
4838 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4839
4840 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4841 (test-xfail-ISO11/threads.h/linknamespace,
4842 test-xfail-ISO11/threads.h/conform): Add.
4843
4844 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4845
4846 * math/gen-libm-test.py: Import os.
4847 (ALL_FLOATS_MANUAL): New constant.
4848 (ALL_FLOATS_SUFFIX): Likewise.
4849 (Ulps.all_functions): New function.
4850 (real_all_ulps): Likewise.
4851 (generate_err_table_sub): Likewise.
4852 (generate_err_table): Likewise.
4853 (main): Handle -s and -m options.
4854 * manual/libm-err-tab.pl: Remove.
4855 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4856 instead of libm-err-tab.pl.
4857 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4858 != no].
4859 * manual/install.texi (Tools for Compilation): Document
4860 requirement for Python to build manual.
4861 * INSTALL: Regenerated.
4862
4863 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4864
4865 * bits/time64.h: New file.
4866 * include/time.h: Replace internal_time_t with __time64_t.
4867 * posix/bits/types (__time64_t): Add.
4868 * stdlib/Makefile: Add bits/time64.h to includes.
4869 * time/tzfile.c: Replace internal_time_t with __time64_t.
4870
4871 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4872
4873 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4874 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4875 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4876 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4877 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4878 prototype.
4879 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4880 * posix/spawn_faction_addclose.c
4881 (__posix_spawn_file_actions_addclose): Add hidden definition.
4882 * posix/spawn_faction_adddup2.c
4883 (__posix_spawn_file_actions_adddup2): Likewise.
4884 * posix/spawn_faction_destroy.c
4885 (__posix_spawn_file_actions_destroy): Likewise.
4886 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4887 Likewise.
4888 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4889 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4890 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4891 Likewise.
4892 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4893 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4894 Likewise.
4895
4896 2018-10-24 Andreas Schwab <schwab@suse.de>
4897
4898 [BZ #18093]
4899 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4900 format cache.
4901 * elf/cache.c (print_cache): Likewise.
4902
4903 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4904
4905 * bits/timesize.h: New file.
4906 * stdlib/Makefile (headers): Add bits/timesize.h.
4907 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4908 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4909 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4910 (__SEM_PAD_AFTER_TIME): Likewise.
4911 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4912 (__SHM_PAD_AFTER_TIME): Likewise.
4913 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4914 (__MSQ_PAD_BEFORE_TIME): Likewise.
4915 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4916 (__SEM_PAD_BEFORE_TIME): Likewise.
4917 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4918 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4919 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4920 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4921 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4922 (__MSQ_PAD_BEFORE_TIME): Likewise.
4923 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4924 (__SEM_PAD_BEFORE_TIME): Likewise.
4925 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4926 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4927 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4928 (__MSQ_PAD_BEFORE_TIME): Likewise.
4929 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4930 (__SEM_PAD_BEFORE_TIME): Likewise.
4931 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
4932 (__SHM_PAD_BEFORE_TIME): Likewise.
4933 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
4934 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4935 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
4936
4937 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
4938
4939 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
4940 USE_RDTSCP is defined.
4941 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
4942 USE_RDTSCP is defined.
4943
4944 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4945
4946 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
4947 defined.
4948
4949 [BZ #23709]
4950 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
4951 independently of other flags.
4952
4953 2018-10-23 Florian Weimer <fweimer@redhat.com>
4954
4955 * time/tst-mktime2.c (N_STRINGS): Remove.
4956 (set_timezone): New function.
4957 (spring_forward_gap): Call it. Use FAIL_EXIT1.
4958 (mktime_test1): Report localtime failure and check errno value.
4959 Use TEST_COMPARE.
4960 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
4961 (do_test): Remove alarm call. Use set_timezone and array_length.
4962
4963 2018-10-23 Andreas Schwab <schwab@suse.de>
4964
4965 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
4966 (__start_context): Use END instead of PSEUDO_END.
4967
4968 2018-10-22 Joseph Myers <joseph@codesourcery.com>
4969
4970 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4971 version to 4.19.
4972
4973 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4974 version to 4.19.
4975
4976 [BZ #23793]
4977 * wcsmbs/c32rtomb.c: New file.
4978 * wcsmbs/mbrtoc32.c: Likewise.
4979 * wcsmbs/tst-c32-state.c: Likewise.
4980 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
4981 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
4982 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
4983 (tests): Add tst-c32-state.
4984 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
4985 $(gen-locales).
4986
4987 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
4988
4989 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
4990 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
4991
4992 2018-10-19 Joseph Myers <joseph@codesourcery.com>
4993
4994 [BZ #23794]
4995 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
4996 pair and return 0 in that case, and use saved character to
4997 interpret following character.
4998 * wcsmbs/tst-c16-surrogate.c: New file.
4999 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5000 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5001 Depend on $(gen-locales)
5002
5003 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5004
5005 [BZ #23562]
5006 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5007 (struct siginfo_t): Use correct type for si_band.
5008
5009 2018-10-19 Florian Weimer <fweimer@redhat.com>
5010
5011 [BZ #23689]
5012 * resource/bits/types/struct_rusage.h (struct rusage): Update
5013 comment on struct. Remove extraneous field comment.
5014
5015 2018-10-18 David S. Miller <davem@davemloft.net>
5016
5017 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5018 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5019 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5020 sysdep_routines in subdir elf.
5021 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5022 version for __vdso_clock_gettime.
5023 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5024 Define.
5025 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5026 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5027
5028 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5029
5030 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5031
5032 * sysdeps/i386/init-arch.h: Removed.
5033 * sysdeps/i386/i586/init-arch.h: Likewise.
5034 * sysdeps/i386/i686/init-arch.h: Likewise.
5035 * sysdeps/i386/i686/hp-timing.h: Likewise.
5036 * sysdeps/x86_64/hp-timing.h: Likewise.
5037 * sysdeps/i386/isa.h: New file.
5038 * sysdeps/i386/i586/isa.h: Likewise.
5039 * sysdeps/i386/i686/isa.h: Likewise.
5040 * sysdeps/x86_64/isa.h: Likewise.
5041 * sysdeps/x86/hp-timing.h: New file.
5042 * sysdeps/x86/init-arch.h: Include <isa.h>.
5043
5044 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5045
5046 * math/libm-test-pow.inc (pow_test_data): Do not allow
5047 divide-by-zero exception for pow(+/- 0, -Inf).
5048
5049 2018-10-17 Zack Weinberg <zackw@panix.com>
5050
5051 * manual/job.texi (Job Control is Optional): Remove node, as
5052 job control has not been optional in quite some time.
5053 (Job Control): Mention briefly that systems older than
5054 POSIX.1-2001 might not support job control.
5055 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5056 defined on systems conforming to POSIX.1-2001.
5057
5058 2018-10-17 Arjun Shankar <arjun@redhat.com>
5059
5060 [BZ #22062]
5061 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5062 indentation.
5063 * (__gconv_read_conf): Mark function static.
5064 * (once): New static variable.
5065 * (__gconv_load_conf): New function.
5066 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5067 * iconv/gconv_db.c (once): Remove static variable.
5068 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5069 __gconv_read_conf.
5070 * (__gconv_find_transform): Likewise.
5071 * iconv/tst-iconv-mt.c: New test.
5072 * iconv/Makefile: Add tst-iconv_mt.
5073
5074 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5075
5076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5077 bits/shm-pad.h.
5078 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5079 (shmatt_t): Define as __syscall_ulong_t.
5080 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5081 and [__SHM_PAD_AFTER_TIME].
5082 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5083 Define shm_segsz and associated padding based on
5084 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5085 Use __syscall_ulong_t instead of unsigned long int.
5086 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5087 unsigned long int.
5088 [__USE_MISC] (struct shm_info): Likewise.
5089 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5090 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5091 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5092 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5093 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5094 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5095 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5096 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5097 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5098 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5099 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5100
5101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5102 bits/shmlba.h.
5103 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5104 (SHMLBA): Remove macro.
5105 (__getpagesize): Remove function declaration.
5106 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5107 <bits/shmlba.h>.
5108 (SHMLBA): Remove macro.
5109 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5110 <bits/shmlba.h>.
5111 (SHMLBA): Remove macro.
5112 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5113 <bits/shmlba.h>.
5114 (SHMLBA): Remove macro.
5115 (__getpagesize): Remove function declaration.
5116 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5117 <bits/shmlba.h>.
5118 (SHMLBA): Remove macro.
5119 (__getshmlba): Remove function declaration.
5120 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5121 (SHMLBA): Remove macro.
5122 (__getpagesize): Remove function declaration.
5123 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5124 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5125 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5126 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5127 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5128 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5129 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5130 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5131 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5132 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5133
5134 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
5135
5136 [BZ #23275]
5137 * nptl/tst-mutex10.c: New File.
5138 * nptl/Makefile (tests): Add tst-mutex10.
5139 (tst-mutex10-ENV): New variable.
5140 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5141 Ensure that elision path is used if elision is available.
5142 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5143 Likewise.
5144 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5145 Likewise.
5146 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5147 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5148 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5149 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5150 Likewise.
5151 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5152 (__pthread_mutex_cond_lock_adjust): Likewise.
5153 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5154 Likewise.
5155 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5156 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5157 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5158 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5159 Add comments.
5160 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5161 Use atomic_load_relaxed and atomic_store_relaxed.
5162 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5163 Use atomic_store_relaxed.
5164
5165 2018-10-17 Andreas Schwab <schwab@suse.de>
5166
5167 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5168 * crypt/badsalttest.c (TIMEOUT): Likewise.
5169 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5170 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5171 * io/test-lfs.c (TIMEOUT): Likewise.
5172 * libio/tst-atime.c (TIMEOUT): Likewise.
5173 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5174 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5175 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5176 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5177 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5178 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5179 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5180 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5181 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5182 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5183 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5184 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5185 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5186 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5187 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5188 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5189 * nptl/tst-once2.c (TIMEOUT): Likewise.
5190 * nptl/tst-once3.c (TIMEOUT): Likewise.
5191 * nptl/tst-once4.c (TIMEOUT): Likewise.
5192 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5193 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5194 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5195 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5196 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5197 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5198 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5199 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5200 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5201 * posix/tst-chmod.c (TIMEOUT): Likewise.
5202 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5203 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5204 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5205 * posix/tst-regex2.c (TIMEOUT): Likewise.
5206 * posix/tst-waitid.c (TIMEOUT): Likewise.
5207 * rt/tst-aio.c (TIMEOUT): Likewise.
5208 * rt/tst-aio10.c (TIMEOUT): Likewise.
5209 * rt/tst-aio4.c (TIMEOUT): Likewise.
5210 * rt/tst-aio5.c (TIMEOUT): Likewise.
5211 * rt/tst-aio6.c (TIMEOUT): Likewise.
5212 * rt/tst-aio64.c (TIMEOUT): Likewise.
5213 * rt/tst-aio7.c (TIMEOUT): Likewise.
5214 * rt/tst-aio9.c (TIMEOUT): Likewise.
5215 * rt/tst-clock.c (TIMEOUT): Likewise.
5216 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5217 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5218 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5219 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5220 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5221 * rt/tst-timer4.c (TIMEOUT): Likewise.
5222 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5223 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5224 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5225 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5226 * time/tst-ftime.c (TIMEOUT): Likewise.
5227 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5228
5229 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5230
5231 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5232 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5233 for thunderX2.
5234
5235 2018-10-15 Joseph Myers <joseph@codesourcery.com>
5236
5237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5238 bits/sem-pad.h.
5239 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5240 instead of <bits/wordsize.h>.
5241 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5242 and [__SEM_PAD_AFTER_TIME].
5243 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5244 __syscall_ulong_t instead of unsigned long int.
5245 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5246 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5247 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5248 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5249 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5250 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5251 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5252 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5253 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5254 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5255 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5256
5257 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5258
5259 regex: simplify by using intprops.h
5260 [BZ#23744]
5261 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5262 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5263 intprops.h defines them.
5264
5265 regex: __builtin_expect → __glibc_unlikely
5266 [BZ#23744]
5267 This refactoring was prompted by a problem when the regex code is
5268 used as part of Gnulib and when the builder’s compiler does not grok
5269 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5270 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5271 Although this refactoring does not fix the problem directly,
5272 we might as well have Gawk use the now-preferred glibc style for when
5273 __builtin_expect is unavailable.
5274 * posix/regex_internal.h (BE): Remove.
5275 All uses replaced by __glibc_unlikely or __glibc_likely.
5276
5277 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5278
5279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5280 bits/msq-pad.h.
5281 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5282 instead of <bits/wordsize.h>.
5283 (msgqnum_t): Define as __syscall_ulong_t.
5284 (msglen_t): Likewise.
5285 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5286 and [__MSQ_PAD_AFTER_TIME].
5287 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5288 __syscall_ulong_t instead of unsigned long int.
5289 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5290 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5291 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5292 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5293 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5294 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5295 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5296 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5297 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5298 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5299 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5300
5301 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5302
5303 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5304 (struct shmid_ds): Condition padding after time fields on
5305 [__WORDSIZE == 32].
5306 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5307 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5308 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5309
5310 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5311 (struct semid_ds): Condition padding after time fields on
5312 [__WORDSIZE == 32].
5313 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5314 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5315 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5316 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5317
5318 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5319 (struct msqid_ds): Condition padding after time fields on
5320 [__WORDSIZE == 32].
5321 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5322 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5323 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5324 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5325
5326 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5327
5328 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5329
5330 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5331
5332 * libio/tst-readline.c (TIMEOUT): Define.
5333
5334 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5335
5336 mktime fix for Gnulib + coreutils
5337 [BZ#23745]
5338 This fix affects only Gnulib. Problem discovered when
5339 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5340 * time/mktime.c:
5341 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5342 Do not define since it is not used. Defining an unused static
5343 function prompts a warning from GCC when Coreutils is configured
5344 with --enable-gcc-warnings.
5345
5346 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5347
5348 * benchtests/scripts/compare_bench.py (main): set float type on
5349 threshold argument.
5350
5351 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5352
5353 [BZ #23740]
5354 * localedata/locales/kl_GL (mon): Update, the relative case.
5355 (alt_mon): Add, fill with month names in the nominative case.
5356 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5357 (d_fmt): Set to "%b %d %Y".
5358
5359 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5360
5361 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5362 <bits/mman-linux.h>.
5363 (PROT_READ): Don't define here.
5364 (PROT_WRITE): Likewise.
5365 (PROT_EXEC): Likewise.
5366 (PROT_NONE): Likewise.
5367 (PROT_GROWSDOWN): Likewise.
5368 (PROT_GROWSUP): Likewise.
5369 (MAP_SHARED): Likewise.
5370 (MAP_PRIVATE): Likewise.
5371 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5372 [__USE_MISC] (MAP_FILE): Likewise.
5373 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5374 [__USE_MISC] (MAP_ANON): Likewise.
5375 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5376 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5377 (MCL_CURRENT): Likewise.
5378 (MCL_FUTURE): Likewise.
5379 (MCL_ONFAULT): Likewise.
5380 [__USE_MISC] (MADV_NORMAL): Likewise.
5381 [__USE_MISC] (MADV_RANDOM): Likewise.
5382 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5383 [__USE_MISC] (MADV_WILLNEED): Likewise.
5384 [__USE_MISC] (MADV_DONTNEED): Likewise.
5385 [__USE_MISC] (MADV_FREE): Likewise.
5386 [__USE_MISC] (MADV_REMOVE): Likewise.
5387 [__USE_MISC] (MADV_DONTFORK): Likewise.
5388 [__USE_MISC] (MADV_DOFORK): Likewise.
5389 [__USE_MISC] (MADV_HWPOISON): Likewise.
5390 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5391 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5392 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5393 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5394 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5395 (__MAP_ANONYMOUS): New macro.
5396 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5397 <bits/mman-linux.h> inclusion.
5398 (MAP_FIXED): Likewise.
5399 (MS_SYNC): Likewise.
5400 (MS_ASYNC): Likewise.
5401 (MS_INVALIDATE): Likewise.
5402 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5403 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5404 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5405 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5406 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5407 [__USE_MISC] (MADV_DODUMP): Likewise.
5408 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5409 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5410
5411 [BZ #23735]
5412 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5413 Define.
5414 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5415 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5416 Add test-nldbl-redirect.
5417 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5418 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5419 $(objpfx)libnldbl_nonshared.a.
5420
5421 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5422
5423 * support/support.h (support_objdir_elf_ldso): New variable.
5424 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5425 * support/Makefile (CFLAGS-support_paths.c): Add definition
5426 for OBJDIR_ELF_LDSO_PATH.
5427 * support/test-container.c (main): Search for the ld.so
5428 which is also used by the testsuite.
5429
5430 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5431
5432 [BZ #20209]
5433 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5434 should be "sap" rather than "sab".
5435 (day): Fix spelling of Sunday, should be "sapaat" rather than
5436 "sabaat".
5437
5438 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5439
5440 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5441
5442 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5443
5444 [BZ #19444]
5445 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5446 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5447 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5448
5449 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5450
5451 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5452
5453 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5454
5455 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5456 Add -mrtm.
5457 (CFLAGS-elision-unlock.c): Likewise.
5458 (CFLAGS-elision-timed.c): Likewise.
5459 (CFLAGS-elision-trylock.c): Likewise.
5460 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5461
5462 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5463
5464 [BZ #21037]
5465 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5466 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5467 new fd_to_filename interface.
5468 * libio/freopen64.c (freopen64): Likewise.
5469 * libio/tst-memstream.h: New file.
5470 * libio/tst-memstream4.c: Likewise.
5471 * libio/tst-wmemstream4.c: Likewise.
5472 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5473 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5474 and remove internal dynamic allocation.
5475
5476 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5477
5478 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5479 (MREMAP_MAYMOVE): Do not define here.
5480 [__USE_GNU] (MREMAP_FIXED): Likewise.
5481 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5482 (MREMAP_MAYMOVE): Define here instead.
5483 [__USE_GNU] (MREMAP_FIXED): Likewise.
5484 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5485 (MREMAP_MAYMOVE): Remove.
5486 [__USE_GNU] (MREMAP_FIXED): Likewise.
5487
5488 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5489
5490 * math/fromfp.h: Do not include <math_private.h>.
5491 * math/s_cacosh_template.c: Likewise.
5492 * math/s_casin_template.c: Likewise.
5493 * math/s_casinh_template.c: Likewise.
5494 * math/s_ccos_template.c: Likewise.
5495 * math/s_cproj_template.c: Likewise.
5496 * math/s_fdim_template.c: Likewise.
5497 * math/s_fmaxmag_template.c: Likewise.
5498 * math/s_fminmag_template.c: Likewise.
5499 * math/s_iseqsig_template.c: Likewise.
5500 * math/s_ldexp_template.c: Likewise.
5501 * math/s_nextdown_template.c: Likewise.
5502 * math/w_log1p_template.c: Likewise.
5503 * math/w_scalbln_template.c: Likewise.
5504 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5505 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5506 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5507 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5508 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5509 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5510 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5511 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5512 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5513 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5514 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5515 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5516 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5517 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5518 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5519 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5520 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5521 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5522 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5523 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5525 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5526 * sysdeps/ieee754/k_standardf.c: Likewise.
5527 * sysdeps/ieee754/k_standardl.c: Likewise.
5528 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5529 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5530 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5531 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5532 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5533 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5534 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5535 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5536 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5537 * sysdeps/ieee754/s_signgam.c: Likewise.
5538 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5539 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5540 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5541 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5542 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5543 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5544 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5545 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5546 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5547 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5548 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5549 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5550 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5551 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5552 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5553 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5554 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5555 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5556 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5557 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5558 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5559 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5560 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5561 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5562 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5563 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5564 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5565 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5566 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5567 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5568 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5569 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5570 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5571 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5572 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5573 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5574 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5575 <math_private.h>.
5576 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5577
5578 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5579
5580 [BZ #23716]
5581 * sysdeps/i386/dl-cet.c: Removed.
5582 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5583 prototype.
5584 (_dl_runtime_profile_shstk): Likewise.
5585 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5586 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5587
5588 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5589
5590 [BZ #23579]
5591 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5592 do_test_with_invalid_iov): New tests.
5593 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5594 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5595 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5596 errno is ENOSYS.
5597 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5598 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5599 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5600
5601 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5602
5603 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5604 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5605 (MATH_REDIRECT_BINARY_ARGS): New macro.
5606 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5607 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5608 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5609 header inclusion.
5610 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5611 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5612 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5613 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5614 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5615 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5616 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5618 Likewise.
5619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5620 Likewise.
5621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5623 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5624 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5626 Likewise.
5627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5628 Likewise.
5629 * sysdeps/generic/math_private_calls.h
5630 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5631 Do not declare and define as an inline function.
5632 * math/divtc3.c (__divtc3): Use copysign functions instead of
5633 __copysign variants.
5634 * math/multc3.c (__multc3): Likewise.
5635 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5636 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5637 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5638 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5639 Likewise.
5640 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5641 (__ieee754_yn): Likewise.
5642 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5643 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5644 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5645 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5646 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5647 (__sin): Likewise.
5648 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5649 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5650 Likewise.
5651 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5652 Likewise.
5653 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5654 Likewise.
5655 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5656 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5657 Likewise.
5658 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5659 (__ieee754_ynf): Likewise.
5660 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5661 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5662 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5663 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5664 Likewise.
5665 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5666 (__ieee754_ynl): Likewise.
5667 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5668 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5669 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5670 Likewise.
5671 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5672 (__ieee754_ynl): Likewise.
5673 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5674 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5675 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5676 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5677 Likewise.
5678 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5679 (__ieee754_ynl)
5680 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5681 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5682 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5683 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5684 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5685
5686 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5687 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5688 using MATH_REDIRECT.
5689 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5690 header inclusion.
5691 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5692 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5693 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5694 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5695 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5696 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5697 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5702 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5703 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5704 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5705 (round): Redirect to __round.
5706 (__roundl): Call round instead of __round.
5707 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5708 Remove macro.
5709 [_ARCH_PWR5X] (__roundf): Likewise.
5710 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5711 functions instead of __round variants.
5712 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5713 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5714 Likewise.
5715 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5716 Likewise.
5717 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5718 Likewise.
5719 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5720 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5721 __lroundl.
5722 (__ieee754_expl): Call roundl instead of __roundl.
5723
5724 2018-09-27 Andreas Schwab <schwab@suse.de>
5725
5726 [BZ #23717]
5727 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5728 (do_test): Make st1 static.
5729
5730 2018-09-26 Andreas Schwab <schwab@suse.de>
5731
5732 [BZ #23707]
5733 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5734 * elf/Makefile (tests): Add tst-unwind-ctor.
5735 (modules-names): Add tst-unwind-ctor-lib.
5736 ($(objpfx)tst-unwind-ctor): Depend on
5737 $(objpfx)tst-unwind-ctor-lib.so.
5738
5739 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5740
5741 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5742 file. Most contents moved from ....
5743 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5744 and include <bits/mman-map-flags-generic.h>.
5745 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5746 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5747 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5748 <bits/mman-map-flags-generic.h>.
5749 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5750 macros defined in <bits/mman-map-flags-generic.h>.
5751 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5752 <bits/mman-map-flags-generic.h>.
5753 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5754 defined in <bits/mman-map-flags-generic.h>.
5755
5756 2018-09-26 Andreas Schwab <schwab@suse.de>
5757
5758 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5759 output.
5760
5761 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5762 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5763 Fangrui Song <maskray@google.com>
5764
5765 [BZ #20480]
5766 * config.make.in (have-textrel_ifunc): New define.
5767 * configure.ac: Add check if linker supports textrel relocation with
5768 ifunc.
5769 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5770 tst-ifunc-textrel.
5771 (CFLAGS-tst-ifunc-textrel.c): New rule.
5772 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5773 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5774 * elf/tst-ifunc-textrel.c: New file.
5775
5776 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5777
5778 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5779 <bits/procfs-prregset.h>.
5780 (prgregset_t): Define using __prgregset_t.
5781 (prfpregset_t): Define using __prfpregset_t.
5782 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5783 (sysdep_headers): Add bits/procfs-prregset.h.
5784 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5785 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5786 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5787 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5788
5789 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5790 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5791 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5792 pr_uid and pr_gid.
5793 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5794 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5795 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5796 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5797 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5798 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5799 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5800 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5801 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5802 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5803 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5804 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5805 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5806 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5807 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5808 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5809 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5810 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5811 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5812 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5813 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5814 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5815 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5816 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5817
5818 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5819 AArch64 version. Include <bits/procfs.h>.
5820 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5821 (sysdep_headers): Add bits/procfs.h.
5822 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5823 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5824 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5825 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5826 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5827 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5828 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5829 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5830 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5831 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5832 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5833 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5834 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5835 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5836 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5837 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5838 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5839
5840 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5841
5842 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5843 Use libsupport.
5844
5845 2018-09-25 Arjun Shankar <arjun@redhat.com>
5846
5847 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5848 (__gconv_max_path_elem_len): Likewise.
5849 (__gconv_nmodules): Likewise.
5850 (__gconv_get_path): Likewise.
5851 (path_elem): Move to ...
5852 * iconv/gconv_conf.c: ... here.
5853 (__gconv_get_path): Mark function static.
5854 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5855 * iconv/gconv_open.c: ... here.
5856
5857 2018-09-24 Andreas Schwab <schwab@suse.de>
5858
5859 * scripts/haveversions.awk: New file.
5860 * Makerules ($(common-objpfx)Versions.def)
5861 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5862 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5863 Move rules ...
5864 * Makeconfig ($(common-objpfx)Versions.def)
5865 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5866 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5867 ... here.
5868 ($(common-objpfx)Versions.mk): New rule. Include it.
5869 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5870 Emit error if build-obsolete-nsl = yes.
5871 * manual/install.texi (Configuring and compiling): Describe
5872 --enable-obsolete-nsl as unavaiable after version 2.28.
5873 * INSTALL: Regenerate.
5874
5875 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5876
5877 * NEWS: Add note about new TLE support on powerpc64le.
5878 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5879 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5880 __ununsed1.
5881 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5882 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5883 * sysdeps/powerpc/powerpc32/sysdep.h,
5884 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5885 ABORT_TRANSACTION): Remove macros.
5886 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5887 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5888 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5890 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5891 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5892 usage.
5893 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5894
5895 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5896
5897 [BZ #10425]
5898 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5899 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5900 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5901 which is the same as in it_IT.
5902 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5903 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5904
5905 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5906
5907 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5908 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5909 using MATH_REDIRECT.
5910 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5911 header inclusion.
5912 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5913 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5914 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5915 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5916 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5917 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5922 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5923 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5924 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5925 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5926 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5927 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5928 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5929 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5930 (ceil): Redirect to __ceil.
5931 (floor): Redirect to __floor.
5932 (trunc): Redirect to __trunc.
5933 (__truncl): Call trunc instead of __trunc.
5934 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
5935 Remove macro.
5936 [_ARCH_PWR5X] (__truncf): Likewise.
5937 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
5938 trunc functions instead of __trunc variants.
5939 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5940 Likewise.
5941 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5942 Likewise.
5943 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5944 Likewise.
5945 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5946 Likewise.
5947
5948 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
5949 [__i586__ || __pentium__].
5950 [__i486__]: Handle explicitly.
5951 (HAS_CPUID): Define to 1 if above macros are undefined.
5952 (HAS_I586): Likewise.
5953 (HAS_I686): Likewise.
5954
5955 2018-09-20 Florian Weimer <fweimer@redhat.com>
5956
5957 * misc/tst-gethostid.c: New file.
5958 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
5959 (tst-gethostid): Link with -ldl.
5960
5961 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
5962
5963 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
5964 value from gethostbyname_r.
5965
5966 2018-09-19 Carlos O'Donell <carlos@redhat.com>
5967
5968 * stdlib/tst-setcontext9.c (f1): Rename to...
5969 (f1a): ... this.
5970 (f1b): New function implementing lower half of f1 in alternate stack.
5971
5972 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
5973
5974 Fix mktime localtime offset confusion
5975 [BZ #23603]
5976 * include/time.h (__mktime_internal): The localtime offset is now
5977 of type long int instead of time_t. This is the longstanding type
5978 in glibc, and it is more than enough to represent difference
5979 between localtime and gmtime even if it is 32 bits and time_t is
5980 64. Changing it now will let us avoid an unnecessary change when
5981 time_t is widened to 64 bits on 32-bit platforms.
5982 * time/mktime-internal.h (mktime_offset_t): Now long int.
5983
5984 Merge mktime, timegm from upstream Gnulib
5985 [BZ #23603][BZ #16346]
5986 This fixes some obscure problems with integer overflow.
5987 Although it looks scary, it is almost all a byte-for-byte copy
5988 from Gnulib, and the Gnulib code has been tested reasonably well.
5989 * include/intprops.h: New file, copied from Gnulib.
5990 * include/verify.h, time/mktime-internal.h:
5991 New tiny files, simplified from Gnulib.
5992 * time/mktime.c: Copy from Gnulib. This has the following changes:
5993 Do not include config.h if DEBUG_MKTIME is nonzero.
5994 Include stdbool.h, intprops.h, verify.h.
5995 Include string.h only if needed.
5996 Include stdlib.h on MS-Windows.
5997 Include mktime-internal.h.
5998 (DEBUG_MKTIME): Default to 0, and simplify later uses.
5999 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6000 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6001 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6002 simplify later conditionals; default the others to zero. Use
6003 these conditionals to express only the code needed on the current
6004 platform. In uses of these conditionals, explicitly spell out how
6005 _LIBC affects things, so it’s easier to review from a glibc
6006 viewpoint.
6007 (WRAPV): Remove; no longer needed now that we have
6008 systematic overflow checking.
6009 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6010 compartmentalize tzset issues. Move system-dependent tzsettish
6011 code here from mktime.
6012 (verify): Remove; now done by verify.h. All uses changed.
6013 (long_int): Use a more-conservative definition, to avoid
6014 integer overflow.
6015 (SHR): Remove, replacing with ...
6016 (shr): New function, which means we needn’t worry about side
6017 effects in args, and conversion analysis is simpler.
6018 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6019 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6020 (time_t_avg, time_t_add_ok): Remove.
6021 (mktime_min, mktime_max): New constants.
6022 (leapyear, isdst_differ): Use bool for booleans.
6023 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6024 Use long_int, not time_t, for mktime differences.
6025 (long_int_avg): New function, replacing time_t_avg.
6026 INT_ADD_WRAPV replaces time_t_add_ok.
6027 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6028 All uses changed.
6029 (convert_time): New function.
6030 (ranged_convert): Use it.
6031 (__mktime_internal): Last arg now points to mktime_offset_t, not
6032 time_t. All uses changed. This is a no-op on glibc, where
6033 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6034 offset guess. Directly check for integer overflow instead of
6035 using a heuristic that works only 99.9...% of the time.
6036 Access *OFFSET only once, to avoid an unlikely race if the
6037 compiler delays a load and if this cascades into a signed integer
6038 overflow.
6039 (mktime): Move tzsettish code to my_tzset, and move
6040 localtime_offset to within mktime so that it doesn’t
6041 need a separate ifdef.
6042 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6043 instead of localtime.
6044 * time/timegm.c: Copy from Gnulib. This has the following changes:
6045 Include mktime-internal.h.
6046 [!_LIBC]: Include config.h and time.h. Do not include
6047 timegm.h or time_r.h. Make __mktime_internal a macro,
6048 and include mktime-internal.h to get its declaration.
6049 (timegm): Temporary is now mktime_offset_t, not time_t.
6050 This affects only Gnulib.
6051
6052 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6053
6054 [BZ #23637]
6055 * string/test-strstr.c (pr23637): New function.
6056 (test_main): Add tests with longer needles.
6057 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6058 * string/strstr.c (AVAILABLE): Likewise.
6059
6060 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6061
6062 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6063
6064 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6065
6066 * NEWS: Mention pow improvements.
6067 * math/Makefile (type-double-routines): Add e_pow_log_data.
6068 * sysdeps/generic/math_private.h (__exp1): Remove.
6069 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6070 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6071 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6072 contraction.
6073 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6074 (exp_inline): Remove.
6075 (__ieee754_exp): Only single double input is handled.
6076 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6077 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6078 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6079 (__pow_log_data): Define.
6080 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6081 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6082 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6083 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6084 contraction.
6085 (CFLAGS-e_pow-fma4.c): Likewise.
6086
6087 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6088
6089 Simplify tzfile fstat failure code
6090 [BZ #21716]
6091 * time/tzfile.c (__tzfile_read): Simplify slightly.
6092
6093 Fix tzfile low-memory assertion failure
6094 [BZ #21716]
6095 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6096 when registering time zone abbreviations.
6097
6098 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6099
6100 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6101 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6102 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6103 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6104 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6105 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6106 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6107 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6108 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6109
6110 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6111 __ceil.
6112 (__ceill): Call ceil instead of __ceil.
6113 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6114 __floor.
6115 (__floorl): Call floor instead of __floor.
6116
6117 2018-09-17 Joseph Myers <joseph@codesourcery.com>
6118
6119 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6120 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6121 using MATH_REDIRECT.
6122 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6123 header inclusion.
6124 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6125 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6126 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6127 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6128 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6131 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6136 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6137 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6139 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6140 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6141 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6142 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6143 Remove macro.
6144 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6145 functions instead of __ceil variants.
6146 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6147 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6148 Likewise.
6149 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6150 Likewise.
6151 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6152 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6153 Likewise.
6154 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6155 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6156
6157 [BZ #21286]
6158 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6159 constant.
6160 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6161 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6162 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6163 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6164 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6165 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6166 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6167 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6168 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6169 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6170 (ILL_BADIADDR): Remove constant.
6171 (TRAP_BRANCH): Likewise.
6172 (TRAP_HWBKPT): Likewise.
6173
6174 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6175
6176 [BZ #23656]
6177 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6178 Remove [_MIPS_SIM = _ABIN32] conditional case.
6179 (struct elf_prpsinfo): Likewise.
6180
6181 [BZ #23649]
6182 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6183 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6184 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6185 Likewise.
6186 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6187 elf_prpsinfo): Likewise.
6188 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6189 elf_prpsinfo): Likewise.
6190 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6191 Likewise.
6192
6193 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6194 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6195 using MATH_REDIRECT.
6196 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6197 header inclusion.
6198 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6199 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6200 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6201 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6202 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6203 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6204 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6205 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6206 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6207 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6208 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6209 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6210 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6211 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6212 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6213 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6214 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6215 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6216 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6219 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6220 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6221 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6222 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6223 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6224 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6225 __rint variants.
6226 * math/e_scalbf.c (invalid_fn): Likewise.
6227 * math/e_scalbl.c (invalid_fn): Likewise.
6228 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6229 Likewise.
6230 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6231 Likewise.
6232 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6233 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6234 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6235 Likewise.
6236 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6237 Likewise.
6238 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6239 Likewise.
6240 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6241 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6242
6243 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6244 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6245 New macro.
6246 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6247 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6248 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6249 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6250 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6251 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6252 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6253 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6254 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6255 && !NO_MATH_REDIRECT] (floor): Likewise.
6256 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6257 header inclusion.
6258 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6259 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6260 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6261 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6262 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6265 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6270 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6271 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6272 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6273 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6274 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6275 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6276 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6277 Remove macro.
6278 [_ARCH_PWR5X] (__floorf): Likewise.
6279 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6280 inline function.
6281 [__SSE4_1__] (__floorf): Likewise.
6282 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6283 instead of __floor variants.
6284 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6285 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6286 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6287 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6288 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6289 * math/w_tgamma_compat.c (__tgamma): Likewise.
6290 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6291 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6292 * math/w_tgammal_compat.c (__tgammal): Likewise.
6293 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6294 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6295 Likewise.
6296 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6297 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6298 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6299 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6300 Likewise.
6301 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6302 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6303 Likewise.
6304 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6305 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6306 Likewise.
6307 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6308 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6309 Likewise.
6310 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6311 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6312 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6313 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6314 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6315 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6316
6317 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6318
6319 * elf/Makefile (modules-names-tests): New variable.
6320
6321 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6322
6323 * NEWS: Mention log2 improvements.
6324 * math/Makefile (type-double-routines): Add e_log2_data.
6325 * sysdeps/i386/fpu/e_log2_data.c: New file.
6326 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6327 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6328 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6329 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6330 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6331 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6332
6333 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6334
6335 * NEWS: Mention log improvement.
6336 * math/Makefile (type-double-routines): Add e_log_data.
6337 * sysdeps/i386/fpu/e_log_data.c: New file.
6338 * sysdeps/ia64/fpu/e_log_data.c: New file.
6339 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6340 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6341 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6342 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6343 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6344 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6345
6346 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6347 Xuepeng Guo <xuepeng.guo@intel.com>
6348
6349 [BZ #23606]
6350 * sysdeps/i386/start.S: Include <sysdep.h>
6351 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6352 enabled. Add cfi_undefined (eip).
6353
6354 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6355
6356 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6357 (MOVQ): Likewise.
6358 (EXTRACT_WORDS64): Likewise.
6359 (INSERT_WORDS64): Likewise.
6360 (GET_FLOAT_WORD): Likewise.
6361 (SET_FLOAT_WORD): Likewise.
6362
6363 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6364 argument.
6365 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6366 build, but not for second build if --full-gcc. Use
6367 --enable-languages=all for second build if --full-gcc.
6368 (get_parser): Add --full-gcc option.
6369 (main): Update call to Context.
6370
6371 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6372
6373 [BZ #10797]
6374 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6375 Single Quotation Mark).
6376 (thousands_sep): Likewise.
6377 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6378 * localedata/locales/it_IT (thousands_sep): Use ".".
6379 (grouping): Use "3;3".
6380
6381 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6382
6383 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6384 x86_64 and i686 configs using --enable-obsolete-rpc
6385 --enable-obsolete-nsl.
6386
6387 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6388
6389 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6390
6391 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6392
6393 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6394 Increment size of new_argv by one.
6395
6396 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6397
6398 [BZ #17426]
6399 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6400 * localedata/locales/ar_IN (d_fmt): Likewise.
6401 * localedata/locales/bhb_IN (d_fmt): Likewise.
6402 * localedata/locales/bho_IN (d_fmt): Likewise.
6403 * localedata/locales/bn_BD (d_fmt): Likewise.
6404 * localedata/locales/bn_IN (d_fmt): Likewise.
6405 * localedata/locales/doi_IN (d_fmt): Likewise.
6406 * localedata/locales/gu_IN (d_fmt): Likewise.
6407 * localedata/locales/hi_IN (d_fmt): Likewise.
6408 * localedata/locales/hne_IN (d_fmt): Likewise.
6409 * localedata/locales/kn_IN (d_fmt): Likewise.
6410 * localedata/locales/mag_IN (d_fmt): Likewise.
6411 * localedata/locales/mai_IN (d_fmt): Likewise.
6412 * localedata/locales/mjw_IN (d_fmt): Likewise.
6413 * localedata/locales/ml_IN (d_fmt): Likewise.
6414 * localedata/locales/mni_IN (d_fmt): Likewise.
6415 * localedata/locales/mr_IN (d_fmt): Likewise.
6416 * localedata/locales/pa_IN (d_fmt): Likewise.
6417 * localedata/locales/raj_IN (d_fmt): Likewise.
6418 * localedata/locales/sat_IN (d_fmt): Likewise.
6419 * localedata/locales/sd_IN (d_fmt): Likewise.
6420 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6421 * localedata/locales/ta_IN (d_fmt): Likewise.
6422 * localedata/locales/ta_LK (d_fmt): Likewise.
6423 * localedata/locales/tcy_IN (d_fmt): Likewise.
6424 * localedata/locales/ur_IN (d_fmt): Likewise.
6425
6426 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6427 * localedata/locales/ks_IN (d_fmt): Likewise.
6428 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6429
6430 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6431 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6432 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6433 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6434
6435 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6436
6437 * NEWS: Mention exp and exp2 improvements.
6438 * math/Makefile (libm-support): Remove t_exp.
6439 (type-double-routines): Add math_err and e_exp_data.
6440 * sysdeps/aarch64/libm-test-ulps: Update.
6441 * sysdeps/arm/libm-test-ulps: Update.
6442 * sysdeps/i386/fpu/e_exp_data.c: New file.
6443 * sysdeps/i386/fpu/math_err.c: New file.
6444 * sysdeps/i386/fpu/t_exp.c: Remove.
6445 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6446 * sysdeps/ia64/fpu/math_err.c: New file.
6447 * sysdeps/ia64/fpu/t_exp.c: Remove.
6448 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6449 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6450 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6451 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6452 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6453 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6454 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6455 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6456 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6457 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6458 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6459 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6460 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6461 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6464
6465 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6466
6467 * sysdeps/alpha/fpu/math_private.h: Remove.
6468
6469 * sysdeps/generic/math_private.h
6470 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6471 Move this inline function ....
6472 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6473 * include/math.h [!_ISOMAC]: To here....
6474
6475 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6476
6477 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6478 code ....
6479 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6480 * include/fenv.h [!_ISOMAC]: ... to here.
6481 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6482 (feraiseexcept): Likewise.
6483 * math/fromfp.h: Do not include <fenv_private.h>.
6484 * math/s_cexp_template.c: Likewise.
6485 * math/s_csin_template.c: Likewise.
6486 * math/s_csinh_template.c: Likewise.
6487 * math/s_ctan_template.c: Likewise.
6488 * math/s_ctanh_template.c: Likewise.
6489 * math/s_iseqsig_template.c: Likewise.
6490 * math/w_acos_compat.c: Likewise.
6491 * math/w_acosf_compat.c: Likewise.
6492 * math/w_acosl_compat.c: Likewise.
6493 * math/w_asin_compat.c: Likewise.
6494 * math/w_asinf_compat.c: Likewise.
6495 * math/w_asinl_compat.c: Likewise.
6496 * math/w_j0_compat.c: Likewise.
6497 * math/w_j0f_compat.c: Likewise.
6498 * math/w_j0l_compat.c: Likewise.
6499 * math/w_j1_compat.c: Likewise.
6500 * math/w_j1f_compat.c: Likewise.
6501 * math/w_j1l_compat.c: Likewise.
6502 * math/w_jn_compat.c: Likewise.
6503 * math/w_jnf_compat.c: Likewise.
6504 * math/w_log10_compat.c: Likewise.
6505 * math/w_log10f_compat.c: Likewise.
6506 * math/w_log10l_compat.c: Likewise.
6507 * math/w_log2_compat.c: Likewise.
6508 * math/w_log2f_compat.c: Likewise.
6509 * math/w_log2l_compat.c: Likewise.
6510 * math/w_log_compat.c: Likewise.
6511 * math/w_logf_compat.c: Likewise.
6512 * math/w_logl_compat.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6514 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6515 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6516 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6517 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6518 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6519 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6520 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6521 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6522 * sysdeps/ieee754/k_standardl.c: Likewise.
6523 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6524 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6525 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6528 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6529 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6530 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6531 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6532 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6533 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6534 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6535 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6536 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6537 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6538 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6539 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6540 * math/w_ilogb_template.c: Include <fenv.h> instead of
6541 <fenv_private.h>.
6542 * math/w_llogb_template.c: Likewise.
6543 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6544 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6545
6546 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6547
6548 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6549 * math/fromfp.h: Include <fenv_private.h>.
6550 * math/math-narrow.h: Likewise.
6551 * math/s_cexp_template.c: Likewise.
6552 * math/s_csin_template.c: Likewise.
6553 * math/s_csinh_template.c: Likewise.
6554 * math/s_ctan_template.c: Likewise.
6555 * math/s_ctanh_template.c: Likewise.
6556 * math/s_iseqsig_template.c: Likewise.
6557 * math/w_acos_compat.c: Likewise.
6558 * math/w_acosf_compat.c: Likewise.
6559 * math/w_acosl_compat.c: Likewise.
6560 * math/w_asin_compat.c: Likewise.
6561 * math/w_asinf_compat.c: Likewise.
6562 * math/w_asinl_compat.c: Likewise.
6563 * math/w_ilogb_template.c: Likewise.
6564 * math/w_j0_compat.c: Likewise.
6565 * math/w_j0f_compat.c: Likewise.
6566 * math/w_j0l_compat.c: Likewise.
6567 * math/w_j1_compat.c: Likewise.
6568 * math/w_j1f_compat.c: Likewise.
6569 * math/w_j1l_compat.c: Likewise.
6570 * math/w_jn_compat.c: Likewise.
6571 * math/w_jnf_compat.c: Likewise.
6572 * math/w_llogb_template.c: Likewise.
6573 * math/w_log10_compat.c: Likewise.
6574 * math/w_log10f_compat.c: Likewise.
6575 * math/w_log10l_compat.c: Likewise.
6576 * math/w_log2_compat.c: Likewise.
6577 * math/w_log2f_compat.c: Likewise.
6578 * math/w_log2l_compat.c: Likewise.
6579 * math/w_log_compat.c: Likewise.
6580 * math/w_logf_compat.c: Likewise.
6581 * math/w_logl_compat.c: Likewise.
6582 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6583 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6584 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6585 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6586 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6587 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6588 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6589 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6590 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6591 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6592 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6593 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6594 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6595 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6596 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6597 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6598 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6599 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6600 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6601 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6602 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6603 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6604 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6605 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6606 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6607 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6608 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6609 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6610 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6611 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6612 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6613 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6614 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6615 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6616 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6617 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6618 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6619 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6620 * sysdeps/ieee754/k_standardl.c: Likewise.
6621 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6622 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6623 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6624 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6625 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6626 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6628 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6633 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6634 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6637 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6639 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6640 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6646 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6647 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6648 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6649 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6650 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6651 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6652 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6657 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6658 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6659 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6660 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6661 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6662 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6663 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6664 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6665 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6666 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6667 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6668 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6669 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6670 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6671 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6672 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6673 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6674 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6675 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6676 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6677 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6678 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6679 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6680 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6681 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6682 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6683 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6684 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6685 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6686 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6687 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6688 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6689 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6690 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6691 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6692
6693 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6694
6695 [BZ #20271]
6696 * include/stdio.h (__libc_fatal): Mention newline in comment.
6697 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6698 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6699 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6700 * nss/nsswitch.c (__nss_next2): Likewise.
6701 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6702 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6703 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6704 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6705 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6706 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6707 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6708 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6709 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6710 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6711 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6712 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6713 (__netlink_assert_response): Likewise.
6714
6715 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6716
6717 * conform/glibcconform.py: New file.
6718 * conform/list-header-symbols.py: Likewise.
6719 * conform/list-header-symbols.pl: Remove.
6720 * conform/Makefile (tests-special): Only add linknamespace tests
6721 if [PYTHON].
6722 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6723
6724 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6725
6726 [BZ #23597]
6727 * support/Makefile (libsupport-routines): Add
6728 support_copy_file_range and xcopy_file_range.
6729 * support/support.h: Include <sys/types.h>.
6730 (support_copy_file_range): New prototype.
6731 * support/support_copy_file_range.c: New file. Copied and
6732 modified from io/copy_file_range-compat.c.
6733 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6734 instead of copy_file_range.
6735 * support/xcopy_file_range.c: New file.
6736 * support/xunistd.h (xcopy_file_range): New prototype.
6737
6738 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6739
6740 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6741 xpthread_create and xpthread_join.
6742
6743 2018-08-30 Florian Weimer <fweimer@redhat.com>
6744
6745 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6746
6747 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6748
6749 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6750 if malloc fails.
6751
6752 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6753
6754 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6755 and minus_oflow as non-finite.
6756
6757 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6758
6759 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6760 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6761 moved to fenv_private.h except for ...
6762 (TOINT_INTRINSICS): Kept in math_private.h.
6763 (roundtoint): Likewise.
6764 (converttoint): Likewise.
6765 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6766 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6767 * sysdeps/arm/math_private.h: Remove.
6768 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6769 ....
6770 * sysdeps/generic/math_private.h: ... this file. Include
6771 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6772 Include <fenv_private.h>. Remove functions and macros moved to
6773 fenv_private.h.
6774 * sysdeps/i386/fpu/math_private.h: Remove.
6775 * sysdeps/mips/math_private.h: Move to ....
6776 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6777 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6778 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6779 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6780 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6781 * sysdeps/powerpc/fpu/math_private.h: Do not include
6782 <fenv_private.h>.
6783 * sysdeps/riscv/rvf/math_private.h: Move to ....
6784 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6785 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6786 <fenv_private.h>.
6787 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6788 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6789 * sysdeps/sparc/fpu/math_private.h: Remove.
6790 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6791 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6792 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6793 <fenv_private.h>.
6794 * sysdeps/x86_64/fpu/math_private.h: Do not include
6795 <sysdeps/i386/fpu/fenv_private.h>.
6796
6797 2018-08-28 Florian Weimer <fweimer@redhat.com>
6798
6799 [BZ #23578]
6800 * posix/tst-regcomp-truncated.c: New file.
6801 * posix/Makefile (tests): Add it.
6802 (tst-regcomp-truncated.out): Depend on generated locales.
6803
6804 2018-08-28 Florian Weimer <fweimer@redhat.com>
6805
6806 * support/test-container.c (main): Treat unshare failure with
6807 EPERM as an unsupported test.
6808
6809 2018-08-28 Florian Weimer <fweimer@redhat.com>
6810
6811 [BZ #23520]
6812 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6813 * nscd/netgroupcache.c
6814 (addgetnetgrentX): Add tofreep parameter. Do not free
6815 heap-allocated buffer.
6816 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6817 (addgetnetgrentX_ignore): New function.
6818 (addgetnetgrent): Call it.
6819 (readdgetnetgrent): Likewise.
6820
6821 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6822
6823 * string/memmem.c: Use memcmp for first match.
6824
6825 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6826
6827 [BZ #17426]
6828 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6829
6830 2018-08-27 DJ Delorie <dj@redhat.com>
6831
6832 * support/Makefile (others): Don't list programs explicitly as a
6833 dependency of "others".
6834
6835 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6836
6837 * sysdeps/generic/math-tests-trap-force.h: New file.
6838 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6839 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6840 * sysdeps/powerpc/math-tests.h: Remove file.
6841 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6842
6843 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6844 Torvald Riegel <triegel@redhat.com>
6845
6846 [BZ #23538]
6847 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6848 Update r to include the set wake-request flag if waiters are
6849 remaining after spinning.
6850
6851 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6852
6853 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6854
6855 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6856
6857 [BZ #23578]
6858 regex: fix uninitialized memory access
6859 I introduced this bug into gnulib in commit
6860 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6861 eventually it was merged into glibc. The bug was found by
6862 project-repo <bugs@feusi.co> and reported here:
6863 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6864 Diagnosis and draft fix reported by Assaf Gordon here:
6865 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6866 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6867 * posix/regex_internal.c (build_wcs_upper_buffer):
6868 Fix bug when mbrtowc returns 0.
6869
6870 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6871
6872 * po/be.po: Update translation.
6873
6874 2018-08-24 DJ Delorie <dj@delorie.com>
6875
6876 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6877 $(libunwind).
6878
6879 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6880
6881 [BZ #23400]
6882 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6883 create temporary files in source tree.
6884
6885 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6886
6887 * sysdeps/generic/math-tests-trap.h: New file.
6888 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6889 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6890 * sysdeps/aarch64/math-tests.h: Remove file.
6891 * sysdeps/arm/math-tests.h: Likewise.
6892 * sysdeps/riscv/math-tests.h: Likewise.
6893 * sysdeps/aarch64/math-tests-trap.h: New file.
6894 * sysdeps/arm/math-tests-trap.h: Likewise.
6895 * sysdeps/riscv/math-tests-trap.h: Likewise.
6896
6897 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6898
6899 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6900 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6901 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6902 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6903 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6904 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6905 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6906 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6907 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6908 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6909 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6910 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6911 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6912 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6913 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6914 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6915 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6916 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6917
6918 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6919
6920 * sysdeps/generic/math-tests-exceptions.h: New file.
6921 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6922 (EXCEPTION_TESTS_float): Do not define here.
6923 (EXCEPTION_TESTS_double): Likewise.
6924 (EXCEPTION_TESTS_long_double): Likewise.
6925 (EXCEPTION_TESTS_float128): Likewise.
6926 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6927 Likewise.
6928 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6929 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6930 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
6931 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
6932 * sysdeps/mips/math-tests.h: Likewise.
6933 * sysdeps/nios2/math-tests.h: Likewise.
6934 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6935 (EXCEPTION_TESTS_float): Do not define here.
6936 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
6937 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
6938 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
6939
6940 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6941
6942 * NEWS: Move optimized sinf entry to 2.29.
6943
6944 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6945
6946 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
6947
6948 2018-08-22 DJ Delorie <dj@redhat.com>
6949
6950 * Makefile (testroot.pristine): New rules to initialize the
6951 test-in-container "testroot".
6952 * Makerules (all-testsuite): Add tests-container.
6953 * Rules (tests-expected): Add tests-container.
6954 (binaries-all-tests): Likewise.
6955 (tests-container): New, run these tests in the testroot container.
6956 * support/Makefile (others): Add *-container, support_paths.c,
6957 xmkdirp, and links-dso-program.
6958 * support/links-dso-program-c.c: New.
6959 * support/links-dso-program.cc: New.
6960 * support/test-container.c: New.
6961 * support/shell-container.c: New.
6962 * support/echo-container.c: New.
6963 * support/true-container.c: New.
6964 * support/xmkdirp.c: New.
6965 * support/xsymlink.c: New.
6966 * support/support_paths.c: New.
6967 * support/support.h: Add support paths prototypes.
6968 * support/xunistd.h: Add xmkdirp () and xsymlink ().
6969
6970 * nss/tst-nss-test3.c: Convert to test-in-container.
6971 * nss/tst-nss-test3.root/: New.
6972
6973 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
6974
6975 regex: port Gnulib code to z/OS POSIX environment
6976 Problem reported by Arnold Robbins in:
6977 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
6978 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
6979 Undef.
6980
6981 2018-08-22 Joseph Myers <joseph@codesourcery.com>
6982
6983 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
6984 (ROUNDING_TESTS_double): Remove.
6985 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
6986 (ROUNDING_TESTS_double): Remove.
6987 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
6988 (ROUNDING_TESTS_double): Remove.
6989 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
6990 (ROUNDING_TESTS_float): Remove.
6991 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
6992 (ROUNDING_TESTS_float): Remove.
6993 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
6994 (ROUNDING_TESTS_float): Remove.
6995 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
6996 !TEST_MATHVEC here.
6997 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6998 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6999
7000 * sysdeps/generic/math-tests-rounding.h: New file.
7001 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7002 (ROUNDING_TESTS_float): Do not define here.
7003 (ROUNDING_TESTS_double): Likewise.
7004 (ROUNDING_TESTS_long_double): Likewise.
7005 (ROUNDING_TESTS_float128): Likewise.
7006 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7007 (ROUNDING_TESTS_double): Undefine before defining.
7008 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7009 (ROUNDING_TESTS_double): Undefine before defining.
7010 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7011 (ROUNDING_TESTS_double): Undefine before defining.
7012 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7013 (ROUNDING_TESTS_float): Undefine before defining.
7014 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7015 (ROUNDING_TESTS_float): Undefine before defining.
7016 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7017 (ROUNDING_TESTS_float): Undefine before defining.
7018 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7019 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7020 not define here.
7021 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7022 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7023 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7024 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7025 (ROUNDING_TESTS_float): Do not define here.
7026 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7027 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7028 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7029 (ROUNDING_TESTS_float): Likewise.
7030 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7031 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7032 * sysdeps/mips/math-tests.h [__mips_soft_float]
7033 (ROUNDING_TESTS_float): Likewise.
7034 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7035 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7036 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7037 (ROUNDING_TESTS_double): Likewise.
7038 (ROUNDING_TESTS_long_double): Likewise.
7039
7040 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
7041
7042 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7043 (PF_XDP): New macro.
7044 (AF_XDP): New macro.
7045 (SOL_XDP): New macro.
7046
7047 2018-08-21 Joseph Myers <joseph@codesourcery.com>
7048
7049 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7050 (TCP_INQ): Likewise.
7051 (TCP_CM_INQ): Likewise.
7052 (TCP_REPAIR_ON): Likewise.
7053 (TCP_REPAIR_OFF): Likewise.
7054 (TCP_REPAIR_OFF_NO_WP): Likewise.
7055 (struct tcp_zerocopy_receive): New type.
7056
7057 2018-08-21 Florian Weimer <fweimer@redhat.com>
7058
7059 * support/support.h (support_descriptor_supports_holes): Declare.
7060 * support/Makefile (libsupport-routines): Add
7061 support_descriptor_supports_holes.
7062 * support/support_descriptor_supports_holes.c: New file.
7063 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7064 and stop testing if holes are not supported.
7065 * io/test-lfs.c (do_prepare): Likewise.
7066 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7067 Likewise.
7068 * timezone/tst-tzset.c (create_tz_file): Likewise.
7069 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7070 variable.
7071 (do_prepare): Set it.
7072 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7073
7074 2018-08-21 Florian Weimer <fweimer@redhat.com>
7075
7076 [BZ #17248]
7077 * Makeconfig (+cflags): Do not sort (and deduplicate).
7078
7079 2018-08-21 Florian Weimer <fweimer@redhat.com>
7080
7081 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7082 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7083
7084 2018-08-20 Florian Weimer <fweimer@redhat.com>
7085
7086 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7087 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7088
7089 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7090
7091 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7092 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7093 and ssi_arch members.
7094
7095 * elf/elf.c (NT_VMCOREDD): New macro.
7096 (AT_MINSIGSTKSZ): Likewise.
7097
7098 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7099
7100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7101 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7102 s_cosf-ppc64 and s_cosf-power8.
7103 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7104 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7105 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7106 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7113 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7114 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7115
7116 2018-08-17 Florian Weimer <fweimer@redhat.com>
7117
7118 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7119
7120 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7121
7122 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7123
7124 2018-08-16 Florian Weimer <fweimer@redhat.com>
7125
7126 * configure.ac: Add --with-nonshared-cflags option.
7127 * config.make.in (extra-nonshared-cflags): Set variable.
7128 * Makeconfig (CFLAGS-.oS): Use it.
7129 * manual/install.texi (Configuring and compiling): Document
7130 --with-nonshared-cflags.
7131 * configure: Regenerate.
7132 * INSTALL: Likewise.
7133
7134 2018-08-16 Florian Weimer <fweimer@redhat.com>
7135
7136 * Makeconfig (ASFLAGS): Always append required assembler flags.
7137
7138 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
7139
7140 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7141 (malloc_consolidate): Likewise.
7142
7143 2018-08-16 Pochang Chen <johnchen902@gmail.com>
7144
7145 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7146
7147 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7148
7149 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7150 every strlen call.
7151
7152 * benchtests/bench-strlen.c: Print performance numbers in json.
7153
7154 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7155
7156 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7157 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7158 only for little endian.
7159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7160 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7161 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7162 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7163 Add check for little endian.
7164 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7165 (__strcmp_power9): Add check for little endian.
7166 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7167 Add check for little endian.
7168 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7169 (__strncmp_power9): Add check for little endian.
7170 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7171 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7172 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7173 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7174 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7175
7176 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7177
7178 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7179 [!STRLEN](STRLEN): Set to __strlen.
7180 * sysdeps/aarch64/multiarch/strlen.c: New file.
7181 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7182 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7183 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7184 (__libc_ifunc_impl_list): Add strlen.
7185 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7186 strlen_generic and strlen_asimd.
7187
7188 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7189
7190 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7191 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7192 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7193
7194 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7195
7196 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7197
7198 2018-08-14 Florian Weimer <fweimer@redhat.com>
7199
7200 [BZ #23519]
7201 * include/stdio.h (__vfxprintf): Declare.
7202 * stdio-common/fxprintf.c (__vfxprintf): New function.
7203 (__fxprintf): Call it.
7204 * misc/err.c (convert_and_print): Remove function.
7205 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7206 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7207 * misc/Makefile (tests): Add tst-warn-wide.
7208 * misc/tst-warn-wide.c: New file.
7209
7210 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7211 Szabolcs Nagy <szabolcs.nagy@arm.com>
7212
7213 * NEWS: Mention sinf, cosf, sincosf.
7214 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7215 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7216 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7217 constants rather than including generic sincosf.h.
7218 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7219 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7220 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7221 (reduced_cos): Remove.
7222 (sinf_poly): New function.
7223 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7224
7225 2018-08-14 Florian Weimer <fweimer@redhat.com>
7226
7227 [BZ #23521]
7228 [BZ #23522]
7229 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7230 processing, bail out if no room, and close the stream before
7231 returning ERANGE.
7232 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7233 (tst-nss-files-alias-leak): Link with libdl.
7234 (tst-nss-files-alias-leak.out): Depend on nss_files.
7235
7236 * nss/tst-nss-files-alias-leak.c: New file.
7237
7238 2018-08-14 Florian Weimer <fweimer@redhat.com>
7239
7240 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7241 server_user, stat_user.
7242
7243 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7244
7245 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7246 version to 4.18.
7247 (io_pgetevents): New syscall.
7248 (rseq): Likewise.
7249
7250 * manual/install.texi (Configuring and compiling): Do not list
7251 tools used for testing pretty printers here.
7252 (Tools for Compilation): List Python, PExpect and GDB here.
7253 Update descriptions of uses of Perl and Python.
7254 * INSTALL: Regenerate.
7255
7256 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7257 version to 4.18.
7258
7259 2018-08-13 Florian Weimer <fweimer@redhat.com>
7260
7261 * misc/error.c (error): Add missing va_end call.
7262 (error_at_line): Likewise.
7263
7264 2018-08-13 Florian Weimer <fweimer@redhat.com>
7265
7266 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7267
7268 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7269
7270 * benchtests/scripts/benchout.schema.json (properties): Add
7271 new properties.
7272
7273 * benchtests/bench-skeleton.c (main): Add duration and
7274 iterations attributes.
7275
7276 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7277
7278 regex: Gnulib unibyte RRI uses bytes not chars
7279 Adjust the non-glibc code to agree with what Gawk needs for
7280 rational range interpretation (RRI) for regular expression ranges.
7281 In unibyte locales, Gawk wants ranges to use the underlying byte
7282 rather than the character code point. This change does not affect
7283 glibc proper.
7284 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7285 In unibyte locales, use the byte value rather than
7286 running it through btowc.
7287
7288 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7289
7290 * sysdeps/generic/math-tests-snan.h: New file.
7291 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7292 (SNAN_TESTS_float): Do not define here.
7293 (SNAN_TESTS_double): Likewise.
7294 (SNAN_TESTS_long_double): Likewise.
7295 (SNAN_TESTS_float128): Likewise.
7296 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7297 * sysdeps/i386/fpu/math-tests.h: Remove file.
7298 * sysdeps/ia64/math-tests-snan.h: New file.
7299 * sysdeps/ia64/math-tests.h: Remove file.
7300 * sysdeps/x86/math-tests.h: Likewise.
7301 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7302
7303 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7304 Szabolcs Nagy <szabolcs.nagy@arm.com>
7305
7306 * math/Makefile: Add s_sincosf_data.c.
7307 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7308 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7309 (sincosf_poly): Likewise.
7310 (reduce_small): Likewise.
7311 (reduce_large): Likewise.
7312 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7313 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7314 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7315 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7316
7317 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7318 Szabolcs Nagy <szabolcs.nagy@arm.com>
7319
7320 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7321 (converttoint): Use lround.
7322 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7323 document the semantics when TOINT_INTRINSICS is set.
7324 (converttoint): Likewise.
7325 (TOINT_RINT): Remove.
7326 (TOINT_SHIFT): Remove.
7327 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7328 path.
7329
7330 2018-08-10 Florian Weimer <fweimer@redhat.com>
7331
7332 [BZ #23497]
7333 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7334 function.
7335 (__old_getdents64): Use getdents64. Convert entries without
7336 moving them.
7337 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7338 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7339 tst-readdir64-compat.
7340
7341 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7342
7343 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7344 Fix unwind.
7345
7346 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7347
7348 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7349 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7350 code to s390x-mcount.h and #include it.
7351 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7352 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7353 (__fentry__): Add.
7354
7355 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7356
7357 * stdlib/Versions: Remove __fentry__.
7358 * sysdeps/i386/Versions: Add __fentry__.
7359 * sysdeps/x86_64/Versions: Add __fentry__.
7360
7361 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7362
7363 * sysdeps/s390/Makefile: Register the new tests.
7364 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7365 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7366 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7367 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7368 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7369 * sysdeps/s390/tst-dl-runtime.c: New file.
7370
7371 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7372
7373 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7374 Do not clobber R0.
7375
7376 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7377
7378 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7379 Do not clobber R0.
7380
7381 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7382
7383 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7384 Do not clobber R0.
7385
7386 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7387
7388 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7389 Do not clobber R0.
7390
7391 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7392
7393 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7394 Use symbolic offsets for stack variables.
7395
7396 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7397
7398 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7399 Use symbolic offsets for stack variables.
7400
7401 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7402
7403 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7404 Use symbolic offsets for stack variables.
7405
7406 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7407
7408 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7409 Use symbolic offsets for stack variables.
7410
7411 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7412
7413 * math/gen-libm-test.py: New file.
7414 * math/gen-libm-test.pl: Remove.
7415 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7416 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7417 gen-libm-test.pl.
7418 ($(libm-test-c-noauto-obj)): Likewise.
7419 ($(libm-test-c-auto-obj)): Likewise.
7420 ($(libm-test-c-narrow-obj)): Likewise.
7421 (regen-ulps): Likewise.
7422 * math/README.libm-test: Update references to gen-libm-test.pl.
7423 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7424 referencing gen-libm-test.pl.
7425 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7426 * math/libm-test-support.c: Likewise.
7427 * math/libm-test-support.h: Likewise.
7428 * sysdeps/generic/libm-test-ulps: Likewise.
7429
7430 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7431
7432 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7433 Fix value.
7434
7435 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7436
7437 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7438 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7439
7440 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7441
7442 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7443 symbols.
7444 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7445 __pthread_setspecific): Add hidden proto.
7446 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7447 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7448
7449 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7450
7451 * benchtests/bench-string.h (buf1_size, buf2_size): New
7452 variables.
7453 (init_sizes): New function.
7454 (test_init): Use it.
7455 (alloc_buf, exit_error): New functions.
7456 (alloc_bufs): Use ALLOC_BUF.
7457 (realloc_bufs): Remove.
7458 * benchtests/bench-memcmp.c (do_test): Adjust.
7459 * benchtests/bench-memset-large.c (do_test): Likewise.
7460 * benchtests/bench-memset-walk.c (do_test): Likewise.
7461 * benchtests/bench-memset.c (do_test): Likewise.
7462 * benchtests/bench-strncmp.c (do_test): Likewise.
7463
7464 2018-08-06 Andreas Schwab <schwab@suse.de>
7465
7466 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7467 of CONST_THREAD_AREA.
7468
7469 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7470
7471 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7472 (STATE_SAVE_MASK): Likewise.
7473 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7474 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7475 (STATE_SAVE_MASK): Likewise.
7476 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7477 instead of <cpu-features.h>.
7478
7479 2018-08-03 DJ Delorie <dj@redhat.com>
7480
7481 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7482 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7483
7484 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7485
7486 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7487
7488 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7489 after TEST_* calls.
7490 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7491 * math/libm-test-logb.inc (logb_test_data): Likewise.
7492
7493 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7494
7495 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7496 * string/strstr.c (AVAILABLE): Likewise.
7497
7498 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7499
7500 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7501 <init-arch.h>.
7502 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7503 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7504 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7505
7506 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7507
7508 * po/be.po: Update translation.
7509
7510 * po/be.po: Update translation.
7511
7512 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7513
7514 * sysdeps/x86/cpu-features-offsets.sym
7515 (rtld_global_ro_offsetof): Removed.
7516 (CPU_FEATURES_SIZE): Likewise.
7517 (CPUID_OFFSET): Likewise.
7518 (CPUID_SIZE): Likewise.
7519 (CPUID_EAX_OFFSET): Likewise.
7520 (CPUID_EBX_OFFSET): Likewise.
7521 (CPUID_ECX_OFFSET): Likewise.
7522 (CPUID_EDX_OFFSET): Likewise.
7523 (FAMILY_OFFSET): Likewise.
7524 (MODEL_OFFSET): Likewise.
7525 (FEATURE_OFFSET): Likewise.
7526 (FEATURE_SIZ): Likewise.
7527 (COMMON_CPUID_INDEX_1): Likewise.
7528 (COMMON_CPUID_INDEX_7): Likewise.
7529 (FEATURE_INDEX_1): Likewise.
7530 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7531
7532 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7533
7534 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7535 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7536 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7537 (install-locales): Depend on install-locale-archive.
7538 (install-locale-archive): Define.
7539 (install-locale-files): Define.
7540 (build-one-locale): Define macro.
7541 * manual/install.texi (Running make install): Document.
7542 * manual/INSTALL: Regenerate.
7543
7544 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7545
7546 * benchtests/scripts/compare_strings.py: Import traceback.
7547 (parse_file): Pretty-print error.
7548
7549 * NEWS: Mention the change.
7550 * elf/dl-tunables.list: Rename tune namespace to cpu.
7551 * sysdeps/powerpc/dl-tunables.list: Likewise.
7552 * sysdeps/x86/dl-tunables.list: Likewise.
7553 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7554 cpu.name.
7555 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7556 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7557 * manual/README.tunables: Likewise.
7558 * manual/tunables.texi: Likewise.
7559 * sysdeps/powerpc/cpu-features.c: Likewise.
7560 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7561 (init_cpu_features): Likewise.
7562 * sysdeps/x86/cpu-features.c: Likewise.
7563 * sysdeps/x86/cpu-features.h: Likewise.
7564 * sysdeps/x86/cpu-tunables.c: Likewise.
7565 * sysdeps/x86_64/Makefile: Likewise.
7566 * sysdeps/x86/dl-cet.c: Likewise.
7567
7568 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7569
7570 [BZ #23479]
7571 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7572 [__mips_hard_float].
7573 (FE_UNDERFLOW): Likewise.
7574 (FE_OVERFLOW): Likewise.
7575 (FE_DIVBYZERO): Likewise.
7576 (FE_INVALID): Likewise.
7577 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7578 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7579 (FE_UPWARD): Likewise.
7580 (FE_DOWNWARD): Likewise.
7581 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7582 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7583 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7584 [__mips_hard_float].
7585 (FP_ROUNDMODE): Likewise.
7586 (FP_RND_NEAREST): Likewise.
7587 (FP_RND_ZERO): Likewise.
7588 (FP_RND_PINF): Likewise.
7589 (FP_RND_MINF): Likewise.
7590 (FP_EX_INVALID): Likewise.
7591 (FP_EX_OVERFLOW): Likewise.
7592 (FP_EX_UNDERFLOW): Likewise.
7593 (FP_EX_DIVZERO): Likewise.
7594 (FP_EX_INEXACT): Likewise.
7595 (FP_INIT_ROUNDMODE): Likewise.
7596 * sysdeps/mips/nofpu/fesetenv.c: New file.
7597 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7598
7599 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7600
7601 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7602 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7603 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7604 conditional on [FE_UPWARD].
7605
7606 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7607
7608 regex: fix memory leak in Gnulib
7609 Problem and fix reported by Assaf Gordon in:
7610 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7611 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7612 range_ends members too, as they are defined in 'struct
7613 re_charset_t' even if not _LIBC. This affects only Gnulib.
7614
7615 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7616
7617 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7618 ...
7619 (get_common_indices): This.
7620 (init_cpu_features): Updated.
7621
7622 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7623
7624 * sysdeps/generic/math-tests-snan-payload.h: New file.
7625 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7626 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7627 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7628 * sysdeps/generic/math-tests.h: Include
7629 <math-tests-snan-payload.h>.
7630 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7631 * sysdeps/hppa/math-tests.h: Remove file.
7632 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7633 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7634 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7635 Likewise.
7636
7637 * sysdeps/generic/math-tests-snan-cast.h: New file.
7638 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7639 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7640 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7641 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7642
7643 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7644
7645 * version.h (RELEASE): Set to "development".
7646 (VERSION): Set to "2.28.9000".
7647 * NEWS (2.29): New section.
7648
7649 * version.h (RELEASE): Set to "stable".
7650 (VERSION): Set to "2.28".
7651 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7652 * NEWS: Add the list of bugs fixed in 2.28.
7653
7654 * po/ca.po: Update to latest version.
7655 * po/cs.po: Likewise
7656 * po/da.po: Likewise
7657 * po/el.po: Likewise
7658 * po/eo.po: Likewise
7659 * po/es.po: Likewise
7660 * po/fi.po: Likewise
7661 * po/fr.po: Likewise
7662 * po/gl.po: Likewise
7663 * po/hu.po: Likewise
7664 * po/ia.po: Likewise
7665 * po/id.po: Likewise
7666 * po/it.po: Likewise
7667 * po/ja.po: Likewise
7668 * po/ko.po: Likewise
7669 * po/lt.po: Likewise
7670 * po/nb.po: Likewise
7671 * po/nl.po: Likewise
7672 * po/pt_BR.po: Likewise
7673 * po/ru.po: Likewise
7674 * po/rw.po: Likewise
7675 * po/sk.po: Likewise
7676 * po/sl.po: Likewise
7677 * po/tr.po: Likewise
7678 * po/zh_CN.po: Likewise
7679 * po/zh_TW.po: Likewise
7680
7681 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7682
7683 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7684 initialization...
7685 (init): ... before initializing libpthread.
7686
7687 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7688 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7689 (__mach_setup_tls): ... new function.
7690 (mach_setup_tls): New alias.
7691 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7692 __mach_setup_thread.
7693 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7694 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7695 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7696 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7697
7698 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7699
7700 * manual/install.texi: Update versions.
7701 * INSTALL: Regenerate.
7702
7703 * manual/contrib.texi (Contributors): Update contributions.
7704
7705 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7706
7707 * po/be.po: Update translations.
7708
7709 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7710
7711 * sysdeps/sh/libm-test-ulps: Update.
7712
7713 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7714
7715 * po/bg.po: Update translations.
7716 * po/de.po: Likewise.
7717 * po/hr.po: Likewise.
7718 * po/pt_BR.po: Likewise.
7719 * po/sv.po: Likewise.
7720 * po/vi.po: Likewise.
7721
7722 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7723
7724 [BZ #23467]
7725 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7726 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7727 (CFLAGS-tst-cet-property-1.o): New.
7728 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7729 ($(objpfx)tst-cet-property-2): Likewise.
7730 ($(objpfx)tst-cet-property-2.out): Likewise.
7731 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7732 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7733 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7734 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7735 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7736
7737 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7738
7739 [BZ #23458]
7740 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7741
7742 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7743
7744 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7745 __sbrk): Do not set attribute_hidden.
7746 * sysdeps/mach/hurd/not-errno.h: New file.
7747 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7748 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7749
7750 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7751
7752 * po/uk.po: Update translations.
7753 * po/cs.po: Likewise.
7754 * po/pl.po: Likewise.
7755
7756 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7757
7758 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7759 parse beyond the note end.
7760
7761 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7762
7763 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7764 kernel does not support OFD locks.
7765 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7766
7767 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7768
7769 * sysdeps/mach/hurd/Versions (libc): Make __access and
7770 __access_noerrno external so they can override the ld symbols.
7771 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7772 __writev, __open64, __access_noerrno extern so they can be overrided.
7773 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7774 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7775
7776 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7777
7778 * po/libc.pot: Regenerate.
7779
7780 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7781
7782 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7783
7784 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7785
7786 [BZ #23459]
7787 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7788 function.
7789 (init_cpu_features): Call get_extended_indices for both Intel
7790 and AMD CPUs.
7791 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7792 Remove "for AMD" comment.
7793
7794 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7795
7796 [BZ # 23456]
7797 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7798 COMMON_CPUID_INDEX_80000001.
7799
7800 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7801
7802 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7803 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7804
7805 2018-07-26 Florian Weimer <fweimer@redhat.com>
7806
7807 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7808 aliases for symbols not in the implementation namespace.
7809
7810 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7811
7812 [BZ #23393]
7813 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7814 lowercase in LATIN script.
7815 * localedata/Makefile (test-input): Add en_US.UTF-8.
7816 * localedata/en_US.UTF-8.in: New file.
7817 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7818 and restore old tests.
7819 * posix/tst-regexloc.c (do_test): Add back range expression test.
7820
7821 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7822
7823 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7824
7825 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7826
7827 * nptl/threads.h: Move to ...
7828 * sysdeps/nptl/threads.h: ... here.
7829 * sysdeps/hurd/stdc-predef.h: New file.
7830
7831 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7832
7833 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7834 tst-cet-setcontext-1 if CET is enabled.
7835 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7836 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7837
7838 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7839
7840 * include/threads.h: Move to ...
7841 * sysdeps/nptl/threads.h: ... here.
7842 * sysdeps/htl/threads.h: New file.
7843 * conform/Makefile (linknamespace-libs-ISO11): Use
7844 static-thread-library instead of linking libpthread.
7845 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7846
7847 2018-07-25 Florian Weimer <fweimer@redhat.com>
7848
7849 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7850 nanoseconds into seconds.
7851 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7852 (do_test): Likewise.
7853 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7854 (do_test): Likewise. Avoid nanosecond overflow and spurious
7855 timeouts due to system load.
7856 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7857 (child_wait): Increment it.
7858 (do_test): Wait as long as necessary until all expected threads
7859 have arrived.
7860
7861 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7862 H.J. Lu <hongjiu.lu@intel.com>
7863
7864 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7865 __ssp.
7866 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7867 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7868 (__push___start_context): New.
7869 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7870 <asm/prctl.h>.
7871 (__getcontext): Record the current shadow stack base. Save the
7872 caller's shadow stack pointer and base.
7873 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7874 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7875 (__push___start_context): New prototype.
7876 (__makecontext): Call __push___start_context to allocate a new
7877 shadow stack, push __start_context onto the new stack as well
7878 as the new shadow stack.
7879 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7880 <asm/prctl.h>.
7881 (__setcontext): Restore the target shadow stack.
7882 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7883 <asm/prctl.h>.
7884 (__swapcontext): Record the current shadow stack base. Save
7885 the caller's shadow stack pointer and base. Restore the target
7886 shadow stack.
7887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7888 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7889 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7890
7891 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7892
7893 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7894 tst-setcontext8 and tst-setcontext9.
7895 * stdlib/tst-setcontext6.c: New file.
7896 * stdlib/tst-setcontext7.c: Likewise.
7897 * stdlib/tst-setcontext8.c: Likewise.
7898 * stdlib/tst-setcontext9.c: Likewise.
7899
7900 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7901
7902 * stdlib/Makefile ((tests): Add tst-setcontext5.
7903 * stdlib/tst-setcontext5.c: New file.
7904
7905 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7906
7907 * stdlib/Makefile (tests): Add tst-setcontext4.
7908 * stdlib/tst-setcontext4.c: New file.
7909
7910 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7911
7912 * stdlib/Makefile (tests): Add tst-swapcontext1.
7913 * stdlib/tst-swapcontext1.c: New test.
7914
7915 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7916
7917 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7918 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7919 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7920 and tst-cet-legacy-4c.
7921 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7922 and tst-cet-legacy-mod-4.
7923 (CFLAGS-tst-cet-legacy-2.c): New.
7924 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7925 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7926 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7927 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7928 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7929 ($(objpfx)tst-cet-legacy-1): Likewise.
7930 ($(objpfx)tst-cet-legacy-2): Likewise.
7931 ($(objpfx)tst-cet-legacy-2.out): Likewise.
7932 ($(objpfx)tst-cet-legacy-2a): Likewise.
7933 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
7934 ($(objpfx)tst-cet-legacy-4): Likewise.
7935 ($(objpfx)tst-cet-legacy-4.out): Likewise.
7936 ($(objpfx)tst-cet-legacy-4a): Likewise.
7937 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
7938 (tst-cet-legacy-4a-ENV): Likewise.
7939 ($(objpfx)tst-cet-legacy-4b): Likewise.
7940 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
7941 (tst-cet-legacy-4b-ENV): Likewise.
7942 ($(objpfx)tst-cet-legacy-4c): Likewise.
7943 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
7944 (tst-cet-legacy-4c-ENV): Likewise.
7945 * sysdeps/x86/tst-cet-legacy-1.c: New file.
7946 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
7947 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
7948 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
7949 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
7950 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
7951 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
7952 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
7953 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
7954 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
7955 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
7956
7957 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7958
7959 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7960 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7961 with ssp_base.
7962 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7963 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7964 with ssp_base.
7965
7966 2018-07-25 Andreas Schwab <schwab@suse.de>
7967
7968 [BZ #23442]
7969 * locale/weightwc.h (findidx): Handle the case where usrc is a
7970 prefix of cp but one character too short.
7971
7972 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7973
7974 * NEWS: Add ISO C threads addition.
7975
7976 2018-07-24 Florian Weimer <fweimer@redhat.com>
7977
7978 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7979 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
7980 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
7981 4.13.
7982
7983 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7984
7985 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
7986 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
7987 <sys/prctl.h> and <asm/prctl.h>.
7988 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
7989 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
7990 and <asm/prctl.h>.
7991 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
7992 ARCH_CET_LEGACY_BITMAP.
7993 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
7994 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
7995 * sysdeps/x86/libc-start.c: Include <startup.h>.
7996
7997 2018-07-24 Florian Weimer <fweimer@redhat.com>
7998
7999 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8000 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8001
8002 2018-07-24 Rical Jasan <rj@2c3t.io>
8003 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8004 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8005
8006 [BZ #14092]
8007 * manual/debug.texi: Update adjacent chapter name.
8008 * manual/probes.texi: Likewise.
8009 * manual/threads.texi (ISO C Threads): New section.
8010 (POSIX Threads): Convert to a section.
8011
8012 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8013 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8014
8015 [BZ# 14092]
8016 * nptl/Makefile (tests): Add new test files.
8017 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8018 * nptl/tst-cnd-basic.c: Likewise.
8019 * nptl/tst-cnd-broadcast.c: Likewise.
8020 * nptl/tst-cnd-timedwait.c: Likewise.
8021 * nptl/tst-mtx-basic.c: Likewise.
8022 * nptl/tst-mtx-recursive.c: Likewise.
8023 * nptl/tst-mtx-timedlock.c: Likewise.
8024 * nptl/tst-mtx-trylock.c: Likewise.
8025 * nptl/tst-thrd-basic.c: Likewise.
8026 * nptl/tst-thrd-detach.c: Likewise.
8027 * nptl/tst-thrd-sleep.c: Likewise.
8028 * nptl/tst-tss-basic.c: Likewise.
8029
8030 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8031
8032 [BZ #14092]
8033 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8034 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8035 symbols.
8036 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8037 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8038 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8039 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8040 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8041 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8042 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8043 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8044 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8045 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8046 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8047 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8049 Likewise.
8050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8051 Likewise.
8052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8053 Likewise.
8054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8055 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8056 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8057 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8058 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8059 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8060 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8061 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8062 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8063 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8064 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8065 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8066 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8067 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8068 Likewise.
8069 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8070 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8071 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8072 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8073 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8074 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8075 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8076 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8077 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8078 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8079 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8080 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8081 ikewise.
8082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8084 Likewise.
8085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8086 Likewise.
8087 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8088 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8089 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8090 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8091 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8092 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8093 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8094 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8095
8096 [BZ #14092]
8097 * conform/data/threads.h-data (thread_local): New macro.
8098 (TSS_DTOR_ITERATIONS): Likewise.
8099 (tss_t): New type.
8100 (tss_dtor_t): Likewise.
8101 (tss_create): New function.
8102 (tss_get): Likewise.
8103 (tss_set): Likewise.
8104 (tss_delete): Likewise.
8105 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8106 tss_get, and tss_set objects.
8107 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8108 * nptl/tss_create.c: New file.
8109 * nptl/tss_delete.c: Likewise.
8110 * nptl/tss_get.c: Likewise.
8111 * nptl/tss_set.c: Likewise.
8112 * sysdeps/nptl/threads.h (thread_local): New define.
8113 (TSS_DTOR_ITERATIONS): Likewise.
8114 (tss_t): New typedef.
8115 (tss_dtor_t): Likewise.
8116 (tss_create): New prototype.
8117 (tss_get): Likewise.
8118 (tss_set): Likewise.
8119 (tss_delete): Likewise.
8120
8121 [BZ #14092]
8122 * conform/data/threads.h-data (cnd_t): New type.
8123 (cnd_init): New function.
8124 (cnd_signal): Likewise.
8125 (cnd_broadcast): Likewise.
8126 (cnd_wait): Likewise.
8127 (cnd_timedwait): Likewise.
8128 (cnd_destroy): Likewise.
8129 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8130 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8131 object.
8132 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8133 * nptl/cnd_broadcast.c: New file.
8134 * nptl/cnd_destroy.c: Likewise.
8135 * nptl/cnd_init.c: Likewise.
8136 * nptl/cnd_signal.c: Likewise.
8137 * nptl/cnd_timedwait.c: Likewise.
8138 * nptl/cnd_wait.c: Likewise.
8139 * sysdeps/nptl/threads.h (cnd_t): New type.
8140 (cnd_init): New prototype.
8141 (cnd_signa): Likewise.
8142 (cnd_broadcast): Likewise.
8143 (cnd_wait): Likewise.
8144 (cnd_timedwait): Likewise.
8145 (cnd_destroy): Likewise.
8146
8147 [BZ #14092]
8148 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8149 (once_flag): New type.
8150 (call_once): New function.
8151 * nptl/Makefile (libpthread-routines): Add call_once object.
8152 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8153 * nptl/call_once.c: New file.
8154 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8155 (once_flag): New type.
8156 (call_once): New prototype.
8157
8158 [BZ #14092]
8159 * conform/data/threads.h-data (mtx_plain): New constant.
8160 (mtx_recursive): Likewise.
8161 (mtx_timed): Likewise.
8162 (mtx_t): New type.
8163 (mtx_init): New function.
8164 (mtx_lock): Likewise.
8165 (mtx_timedlock): Likewise.
8166 (mtx_trylock): Likewise.
8167 (mtx_unlock): Likewise.
8168 (mtx_destroy): Likewise.
8169 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8170 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8171 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8172 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8173 * nptl/mtx_destroy.c: New file.
8174 * nptl/mtx_init.c: Likewise.
8175 * nptl/mtx_lock.c: Likewise.
8176 * nptl/mtx_timedlock.c: Likewise.
8177 * nptl/mtx_trylock.c: Likewise.
8178 * nptl/mtx_unlock.c: Likewise.
8179 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8180 (mtx_recursive): Likewise.
8181 (mtx_timed): Likewise.
8182 (mtx_t): New type.
8183 (mtx_init): New prototype.
8184 (mtx_lock): Likewise.
8185 (mtx_timedlock): Likewise.
8186 (mtx_trylock): Likewise.
8187 (mtx_unlock): Likewise.
8188 (mtx_destroy): Likewise.
8189
8190 [BZ #14092]
8191 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8192 (linknamespace-libs-ISO11): Add libpthread.a.
8193 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8194 functions.
8195 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8196 * nptl/Makefile (headers): Add threads.h.
8197 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8198 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8199 thrd_yield.
8200 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8201 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8202 thrd_join, thrd_sleep, and thrd_yield symbols.
8203 * nptl/descr.h (struct pthread): Add c11 field.
8204 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8205 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8206 routine with expected function prototype.
8207 (__pthread_create_2_1): Add C11 threads check based on attribute
8208 value.
8209 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8210 * nptl/thrd_create.c: New file.
8211 * nptl/thrd_current.c: Likewise.
8212 * nptl/thrd_detach.c: Likewise.
8213 * nptl/thrd_equal.c: Likewise.
8214 * nptl/thrd_exit.c: Likewise.
8215 * nptl/thrd_join.c: Likewise.
8216 * nptl/thrd_priv.h: Likewise.
8217 * nptl/thrd_sleep.c: Likewise.
8218 * nptl/thrd_yield.c: Likewise.
8219 * include/threads.h: Likewise.
8220
8221 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8222
8223 * bits/indirect-return.h: New file.
8224 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8225 * sysdeps/x86/bits/indirect-return.h: Likewise.
8226 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8227 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8228 (swapcontext): Add __INDIRECT_RETURN.
8229 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8230 (prepare_test_buffer): Use it.
8231
8232 2018-07-24 Andreas Schwab <schwab@suse.de>
8233
8234 [BZ #23448]
8235 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8236 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8237
8238 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8239
8240 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8241 Redefine if shadow stack is enabled.
8242 (SYSCALL_ERROR_LABEL): Likewise.
8243 (__vfork): Pop shadow stack and jump back to to caller directly
8244 when shadow stack is in use.
8245 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8246 Redefine if shadow stack is enabled.
8247 (SYSCALL_ERROR_LABEL): Likewise.
8248 (__vfork): Pop shadow stack and jump back to to caller directly
8249 when shadow stack is in use.
8250
8251 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8252
8253 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8254 enabled.
8255 (foo): Likewise.
8256 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8257 (foo): Likewise.
8258
8259 2018-07-20 Joseph Myers <joseph@codesourcery.com>
8260
8261 * scripts/build-many-glibcs.py (Context.checkout): Default
8262 binutils version to 2.31 branch.
8263
8264 2018-07-20 Zong Li <zong@andestech.com>
8265
8266 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8267 URL of gcc's tarball.
8268
8269 2018-07-20 Florian Weimer <fweimer@redhat.com>
8270
8271 [BZ #23396]
8272 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8273 not compare an extra byte after the end of the weights.
8274
8275 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8276
8277 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8278 to 1.
8279 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8280 hidden prototypes.
8281 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8282 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8283 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8284 list of libraries whose stack executability is expected.
8285 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8286 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8287 variable.
8288 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8289 libc.so libpthread.so.
8290
8291 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8292
8293 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8294 SOCK_NONBLOCK.
8295 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8296 and SOCK_NONBLOCK.
8297 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8298 implement __pipe2.
8299 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8300
8301 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8302
8303 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8304 library to improve command line parsing.
8305 (__main__): make schema file as optional parameter (--schema),
8306 defaulting to benchtests/scripts/benchout.schema.json.
8307 (main): move out of the parsing stuff to __main_  and leave it
8308 only as caller of main comparison functions.
8309
8310 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8311
8312 * NEWS: Add a note for Intel CET status.
8313 * manual/install.texi: Likewise.
8314 * INSTALL: Regenerated.
8315
8316 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8317
8318 [BZ #23140]
8319 * localedata/locales/oc_FR (mon): Rename to...
8320 (alt_mon): This, then update October (typo fix).
8321 (mon): New content (genitive case, month names preceded by
8322 "de" or "d’").
8323
8324 [BZ #23422]
8325 * localedata/locales/oc_FR (abday): Update all items.
8326 (day): Update Wednesday and Saturday (typo fixes).
8327 (abmon): Update all items, except May.
8328 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8329 (LC_IDENTIFICATION): Bump the revision number and date.
8330 Keep the "category" entries in alphabetic order.
8331 (LC_ADDRESS): Remove no longer needed comment.
8332 (LC_COLLATE): Use “copy "ca_ES"”.
8333 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8334 "name_mrs".
8335
8336 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8337
8338 * grp/tst_fgetgrent.c: Include <unistd.h>.
8339 (main): Use mkstemp instead of tmpnam.
8340 * io/test-utime.c (main): Likewise.
8341 * posix/annexc.c (macrofile): Change to modifiable array.
8342 (main): Remove macrofile here.
8343 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8344 macrofile here.
8345 (check_header): Do not remove macrofile here.
8346 * posix/bug-getopt1.c: Include <stdlib.h>.
8347 (do_test): Use mkstemp instead of tmpnam.
8348 * posix/bug-getopt2.c: Include <stdlib.h>.
8349 (do_test): Use mkstemp instead of tmpnam.
8350 * posix/bug-getopt3.c: Include <stdlib.h>.
8351 (do_test): Use mkstemp instead of tmpnam.
8352 * posix/bug-getopt4.c: Include <stdlib.h>.
8353 (do_test): Use mkstemp instead of tmpnam.
8354 * posix/bug-getopt5.c: Include <stdlib.h>.
8355 (do_test): Use mkstemp instead of tmpnam.
8356 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8357 (main): Use mkstemp instead of tmpnam.
8358 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8359 (main): Use mkstemp instead of tmpnam.
8360 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8361 (main): use mkstemp instead of tmpnam.
8362 * stdlib/isomac.c (macrofile): Change to modifiable array.
8363 (main): Remove macrofile here.
8364 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8365 macrofile here.
8366 (check_header): Do not remove macrofile here.
8367
8368 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8369
8370 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8371 glibc.tune.x86_shstk.
8372
8373 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8374
8375 * NEWS: Mention --enable-cet.
8376 * manual/install.texi: Document --enable-cet.
8377 * INSTALL: Regenerated.
8378
8379 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8380
8381 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8382 Add _CET_NOTRACK before indirect jump to jump table.
8383
8384 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8385
8386 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
8387 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8388 to jump table.
8389
8390 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8391
8392 * sysdeps/i386/i686/multiarch/strcat-sse2.S
8393 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8394 to jump table.
8395
8396 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8397
8398 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
8399 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8400 to jump table.
8401
8402 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8403
8404 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8405 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8406 to jump table.
8407
8408 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8409
8410 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8411 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8412 to jump table.
8413 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8414
8415 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8416
8417 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8418 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8419 to jump table.
8420
8421 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8422
8423 * sysdeps/i386/i686/multiarch/memset-sse2.S
8424 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8425 to jump table.
8426
8427 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8428
8429 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8430 indirect jump to jump table.
8431
8432 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8433
8434 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8435 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8436 to jump table.
8437 (MEMCPY): Likewise.
8438
8439 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8440
8441 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8442 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8443 to jump table.
8444 (MEMCPY): Likewise.
8445
8446 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8447
8448 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8449 _CET_NOTRACK before indirect jump to jump table.
8450
8451 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8452
8453 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8454 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8455 to jump table.
8456
8457 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8458
8459 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8460 indirect jump to jump table.
8461
8462 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8463
8464 [BZ #22241]
8465 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8466 (LOCALES): Likewise.
8467 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8468 * localedata/locales/sah_RU: New file.
8469 * localedata/sah_RU.UTF-8.in: New file.
8470
8471 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8472
8473 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8474 "sysdep.h".
8475 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8476 _CET_ENDBR to indirect jump targets and adjust jump destination
8477 for _CET_ENDBR.
8478 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8479 "sysdep.h".
8480 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8481 _CET_ENDBR to indirect jump targets and adjust jump destination
8482 for _CET_ENDBR.
8483 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8484 "sysdep.h".
8485 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8486 _CET_ENDBR to indirect jump targets and adjust jump destination
8487 for _CET_ENDBR.
8488
8489 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8490
8491 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8492 _CET_ENDBR.
8493
8494 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8495
8496 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8497 _CET_ENDBR.
8498 (_dl_tlsdesc_undefweak): Likewise.
8499 (_dl_tlsdesc_dynamic): Likewise.
8500 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8501 (_dl_tlsdesc_resolve_rel): Likewise.
8502 (_dl_tlsdesc_resolve_rela): Likewise.
8503 (_dl_tlsdesc_resolve_hold): Likewise.
8504 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8505 (_dl_tlsdesc_undefweak): Likewise.
8506 (_dl_tlsdesc_dynamic): Likewise.
8507 (_dl_tlsdesc_resolve_rela): Likewise.
8508 (_dl_tlsdesc_resolve_hold): Likewise.
8509
8510 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8511
8512 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8513 (_fini): Likewise.
8514 * sysdeps/x86_64/crti.S (_init): Likewise.
8515 (_fini): Likewise.
8516
8517 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8518
8519 [BZ #23140]
8520 * localedata/locales/os_RU (mon): Rename to...
8521 (alt_mon): This.
8522 (mon): Import from CLDR (genitive case).
8523
8524 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8525
8526 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8527 cet-tunables.h> when CET is enabled.
8528
8529 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8530
8531 [BZ #21598]
8532 * configure.ac: Add --enable-cet.
8533 * configure: Regenerated.
8534 * elf/Makefille (all-built-dso): Add a comment.
8535 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8536 Include <dl-prop.h>.
8537 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8538 segment.
8539 * elf/dl-open.c: Include <dl-prop.h>.
8540 (dl_open_worker): Call _dl_open_check.
8541 * elf/rtld.c: Include <dl-prop.h>.
8542 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8543 _rtld_main_check.
8544 * sysdeps/generic/dl-prop.h: New file.
8545 * sysdeps/i386/dl-cet.c: Likewise.
8546 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8547 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8548 * sysdeps/x86/cet-tunables.h: Likewise.
8549 * sysdeps/x86/check-cet.awk: Likewise.
8550 * sysdeps/x86/configure: Likewise.
8551 * sysdeps/x86/configure.ac: Likewise.
8552 * sysdeps/x86/dl-cet.c: Likewise.
8553 * sysdeps/x86/dl-procruntime.c: Likewise.
8554 * sysdeps/x86/dl-prop.h: Likewise.
8555 * sysdeps/x86/libc-start.h: Likewise.
8556 * sysdeps/x86/link_map.h: Likewise.
8557 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8558 _CET_ENDBR.
8559 (_dl_runtime_profile): Likewise.
8560 (_dl_runtime_resolve_shstk): New.
8561 (_dl_runtime_profile_shstk): Likewise.
8562 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8563 if CET is enabled.
8564 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8565 (CFLAGS-.os): Likewise.
8566 (CFLAGS-.op): Likewise.
8567 (CFLAGS-.oS): Likewise.
8568 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8569 is enabled.
8570 (tests-special): Add $(objpfx)check-cet.out.
8571 (cet-built-dso): New.
8572 (+$(cet-built-dso:=.note)): Likewise.
8573 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8574 ($(objpfx)check-cet.out): New.
8575 (generated): Add check-cet.out.
8576 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8577 <cet-tunables.h>.
8578 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8579 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8580 (init_cpu_features): Call get_cet_status to check CET status
8581 and update dl_x86_feature_1 with CET status. Call
8582 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8583 (set_x86_shstk). Disable and lock CET in libc.a.
8584 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8585 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8586 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8587 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8588 (_CET_ENDBR): Define if not defined.
8589 (ENTRY): Add _CET_ENDBR.
8590 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8591 x86_shstk.
8592 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8593 _CET_ENDBR.
8594 (_dl_runtime_profile): Likewise.
8595
8596 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8597
8598 [BZ #21895]
8599 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8600 restore r2 on longjmp.
8601 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8602 test list.
8603 Added rules to build test tst-setjmp-bug21895-static.
8604 Added module setjmp-bug21895 and rules to build a shared object from it.
8605 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8606 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8607
8608 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8609
8610 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8611 * benchtests/bench-strstr.c: Likewise.
8612 * string/memmem.c (FASTSEARCH): Define.
8613 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8614 Add support for FASTSEARCH.
8615 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8616 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8617 (FASTSEARCH): Define.
8618 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8619 * string/test-strstr.c: Likewise.
8620
8621 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8622
8623 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8624 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8625
8626 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8627 H.J. Lu <hongjiu.lu@intel.com>
8628
8629 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8630 (__longjmp): Restore shadow stack pointer if shadow stack is
8631 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8632 isn't defined for __longjmp_cancel.
8633 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8634 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8635 and SHADOW_STACK_POINTER_OFFSET is defined.
8636 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8637 (setjmp): Save shadow stack pointer if shadow stack is enabled
8638 and SHADOW_STACK_POINTER_OFFSET is defined.
8639 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8640 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8641 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8642 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8643 <jmp_buf-ssp.h>.
8644 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8645 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8646 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8647 Remove jmp_buf-ssp.sym.
8648 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8649 <jmp_buf-ssp.h>.
8650 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8651 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8652 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8653 jmp_buf-ssp.sym.
8654 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8655 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8656 (__longjmp): Restore shadow stack pointer if shadow stack is
8657 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8658 isn't defined for __longjmp_cancel.
8659 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8660 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8661 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8662
8663 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8664
8665 [BZ #22563]
8666 * nptl/pthread_create.c: Include <tls-setup.h>.
8667 (__pthread_create_2_1): Call tls_setup_tcbhead.
8668 * sysdeps/generic/tls-setup.h: New file.
8669 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8670 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8671 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8672 Likewise.
8673 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8674 to feature_1.
8675 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8676 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8677 (X86_FEATURE_1_SHSTK): Likewise.
8678 (CET_ENABLED): Likewise.
8679 (IBT_ENABLED): Likewise.
8680 (SHSTK_ENABLED): Likewise.
8681
8682 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8683
8684 [BZ #23208]
8685 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8686 (LOCALES): Likewise.
8687 * localedata/dsb_DE.UTF-8.in: New file.
8688 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8689
8690 2018-07-12 Florian Weimer <fweimer@redhat.com>
8691
8692 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8693 __mprotect, not mprotect.
8694
8695 2018-07-11 Florian Weimer <fweimer@redhat.com>
8696
8697 * io/Makefile (headers): Add bits/statx.h.
8698
8699 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8700
8701 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8702 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8703 and headers.
8704 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8705 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8706 for utf8_gen.py
8707
8708 2018-07-10 Florian Weimer <fweimer@redhat.com>
8709
8710 * io/Makefile (routines): Add statx.
8711 (tests-internal): Add tst-statx.
8712 * io/Versions (GLIBC_2.28): Export statx.
8713 * io/bits/statx.h: New file.
8714 * io/sys/stat.h [__USE_GNU]: Include it.
8715 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8716 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8717 Define.
8718 * io/statx.c: New file.
8719 * io/statx_generic.: Likewise.
8720 * io/tst-statx.: Likewise.
8721 * include/bits/statx.h: Likewise.
8722 * sysdeps/unix/sysv/linux/kernel-features.h
8723 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8724 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8725 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8726 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8727 Undefine.
8728 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8729 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8730 * sysdeps/unix/sysv/linux/statx.c: New file.
8731 * manual/filesys.texi: Note that statx is undocumented.
8732 * sysdeps/**/libc*.abilist: Update.
8733
8734 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8735
8736 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8737 a kernel issue which lead to test failure in some cases.
8738
8739 2018-07-10 Florian Weimer <fweimer@redhat.com>
8740
8741 [BZ #23036]
8742 * posix/regexec.c (check_node_accept_bytes): When comparing
8743 weights, do not compare an extra byte after the end of the
8744 weights.
8745
8746 2018-07-10 Florian Weimer <fweimer@redhat.com>
8747
8748 * libio/readline.c: Fix copyright year.
8749 * libio/tst-readline.c Likewise.
8750 * nss/tst-nss-files-hosts-getent.c: Likewise.
8751
8752 2018-07-06 Florian Weimer <fweimer@redhat.com>
8753
8754 [BZ #18991]
8755 * nss/nss_files/files-XXX.c (internal_getent): Use
8756 __libc_readline_unlocked. Seek back to the start of the line if
8757 parsing failes with ERANGE.
8758 (get_contents_ret, get_contents): Remove.
8759 * nss/tst-nss-files-hosts-getent.c: New file.
8760 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8761 (tst-nss-files-hosts-getent): Link with -ldl.
8762
8763 2018-07-06 Florian Weimer <fweimer@redhat.com>
8764
8765 * include/stdio.h (__libc_readline_unlocked): Declare.
8766 (__ftello64, __fseeko64): Declare aliases.
8767 * libio/readline.c: New file.
8768 * libio/tst-readline.c: Likewise.
8769 (routines): Add readline.
8770 (tests-internal): Add tst-readlime.
8771 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8772 __libc_readline_unlocked.
8773 * libio/fseeko.c (__fseeko): Rename from fseeko.
8774 (fseeko): Add alias.
8775 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8776 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8777 (fseeko64): Add alias.
8778 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8779 * libio/ftello64.c (__ftello64): Rename from ftello64.
8780 (ftello64): Add alias.
8781
8782 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8783
8784 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8785 HWCAP_ATOMICS.
8786
8787 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8788
8789 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8790 Use dl_hwcap without masking.
8791 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8792 Remove HWCAP_CPUID.
8793
8794 2018-07-06 Florian Weimer <fweimer@redhat.com>
8795
8796 * conform/conformtest.pl (checknamespace): Escape literal braces
8797 in regular expressions.
8798
8799 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8800
8801 * sysdeps/x86/cpu-features.c (get_common_indeces):
8802 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8803 * sysdeps/x86/cpu-features.c (init_cpu_features):
8804 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8805
8806 2018-07-05 Florian Weimer <fweimer@redhat.com>
8807
8808 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8809 protector.
8810 (CFLAGS-elf-init.oS): Likewise.
8811
8812 2018-07-05 Florian Weimer <fweimer@redhat.com>
8813 Carlos O'Donell <carlos@redhat.com>
8814
8815 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8816 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8817 with stack protector enabled because there is no risk of infinite
8818 recursion.
8819
8820 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8821
8822 [BZ #19818]
8823 [BZ #23307]
8824 * libc-abis (ABSOLUTE): New ABI.
8825 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8826 * NEWS: Mention the new ABI.
8827
8828 2018-07-05 Florian Weimer <fweimer@redhat.com>
8829
8830 [BZ # 17662]
8831 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8832 (RENAME_WHITEOUT): Define.
8833 [__USE_GNU] (renameat2): Declare.
8834 * stdio-common/Makefile (routines): Add renameat2.
8835 (tests): Add tst-renameat2.
8836 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8837 * stdio-common/renameat2.c: New file.
8838 * stdio-common/tst-renameat2.c: Likewise.
8839 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8840 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8841 undocumented.
8842 * sysdeps/unix/sysv/linux/kernel-features.h
8843 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8844 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8845 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8846 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8847 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8848 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8849 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8850 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8851 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8852 * include/stdio.h (__renameat): Add alias for renameat.
8853 * stdio-common/renameat.c (__renameat): Rename from renameat.
8854 Add hidden definition and alias.
8855 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8856 * sysdeps/mach/hurd/renameat.c: Likewise.
8857 * sysdeps/**/libc*.abilist: Add renameat2.
8858
8859 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8860
8861 * posix/bug-regex33.c: Fix build after regex sync.
8862
8863 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8864
8865 [BZ #23164]
8866 * localedata/tst-langinfo-setlocale.c: New file.
8867 * localedata/tst-langinfo-setlocale-static.c: New file.
8868 * localedata/tst-langinfo-newlocale.c: New file.
8869 * localedata/tst-langinfo-newlocale-static.c: New file.
8870 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8871 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8872 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8873 (tests-static): Remove tst-langinfo-static. Add
8874 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8875 (tests-special): Remove $(objpfx)tst-langinfo.out,
8876 $(objpfx)tst-langinfo-static.out. Add
8877 $(objpfx)tst-langinfo-setlocale.out,
8878 $(objpfx)tst-langinfo-newlocale.out,
8879 $(objpfx)tst-langinfo-setlocale-static.out,
8880 $(objpfx)tst-langinfo-newlocale-static.out.
8881 ($(objpfx)tst-langinfo.out): Remove.
8882 ($(objpfx)tst-langinfo-static.out): Remove.
8883 ($(objpfx)tst-langinfo-newlocale.out): New target.
8884 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8885 (test-xfail-tst-langinfo-newlocale-static): Add.
8886 ($(objpfx)tst-langinfo-setlocale.out): New target.
8887 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8888 * localedata/tst-langinfo.c: Call test_locale.
8889 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8890 data.
8891
8892 2018-07-04 Florian Weimer <fweimer@redhat.com>
8893
8894 testrun.sh: Implement --tool=strace, --tool=valgrind
8895 * Makefile (testrun-script): Define variable.
8896 (testrun.sh): Use variable.
8897 * manual/install.texi (Tools for Compilation): make 4.0 or later
8898 is required.
8899 * configure.ac: Check for make 4.0 or later.
8900 * INSTALL: Regenerate.
8901 * configure: Likewise.
8902
8903 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8904
8905 [BZ #23233]
8906 [BZ #21163]
8907 [BZ #18986]
8908 [BZ #13762]
8909 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8910 * posix/PCRE.tests: Remove invalid test.
8911 * posix/bug-regex28.c: Fix expected values for used syntax.
8912 * posix/bug-regex37.c: New file.
8913 * posix/bug-regex38.c: Likewise.
8914 * posix/regcomp.c: Sync with gnulib.
8915 * posix/regex.c: Likewise.
8916 * posix/regex.h: Likewise.
8917 * posix/regex_internal.c: Likewise.
8918 * posix/regex_internal.h: Likewise.
8919 * posix/regexec.c: Likewise.
8920
8921 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8922
8923 [BZ #23308]
8924 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8925 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8926 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8927 * localedata/unicode-gen/PropList.txt: likewise.
8928 * localedata/unicode-gen/UnicodeData.txt: likewise.
8929 * localedata/charmaps/UTF-8: Regenerate.
8930 * localedata/locales/i18n_ctype: likewise.
8931 * localedata/locales/tr_TR: likewise.
8932 * localedata/locales/translit_circle: likewise.
8933 * localedata/locales/translit_cjk_compat: likewise.
8934 * localedata/locales/translit_combining: likewise.
8935 * localedata/locales/translit_compat: likewise.
8936 * localedata/locales/translit_font: likewise.
8937 * localedata/locales/translit_fraction: likewise.
8938
8939 2018-07-03 Florian Weimer <fweimer@redhat.com>
8940
8941 [BZ #23363]
8942 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
8943 * stdio-common/tst-printf.sh: Adjust expected output.
8944 * LICENSES: Update.
8945
8946 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8947
8948 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
8949 symbol.
8950
8951 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8952
8953 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
8954 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
8955 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
8956 * stdio-common/tst-printfsz-islongdouble.c: New file.
8957 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
8958 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
8959 [subdir == stdio-common] (routines): Add ieee128-printf_size.
8960 [subdir == stdio-common] (tests-internal): Add
8961 test-printf-size-ieee128, and test-printf-size-ibm128.
8962 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
8963 (CFLAGS-test-printf-size-ibm128.c): New variables.
8964 [subdir == stdio-common] (tests-special): Add
8965 $(objpfx)test-printf-size-ieee128.out and
8966 $(objpfx)test-printf-size-ibm128.out.
8967 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
8968 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
8969 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
8970 __printf_sizeieee128.
8971 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
8972 New file.
8973 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
8974 Likewise.
8975 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
8976 Likewise.
8977
8978 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8979
8980 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
8981 (exp2f_inline): Likewise.
8982 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
8983 (__math_uflowf): Likewise.
8984 (__math_may_uflowf): Likewise.
8985 (__math_divzerof): Likewise.
8986 (__math_invalidf): Likewise.
8987 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
8988 (__math_oflowf): Likewise.
8989 (__math_uflowf): Likewise.
8990 (__math_may_uflowf): Likewise.
8991 (__math_divzerof): Likewise.
8992 (__math_invalidf): Likewise.
8993
8994 2018-06-29 DJ Delorie <dj@redhat.com>
8995 Carlos O'Donell <carlos@redhat.com>
8996
8997 [BZ #23329]
8998 * include/libc-symbols.h: Comment the freeres framework.
8999 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9000 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9001 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9002 * dlfcn/dlerror.c: Include libc-symbols.h
9003 (__dlerror_main_freeres): New function.
9004 * dlfcn/dlfreeres.c: New file.
9005 * dlfcn/sdlfreeres.c: New file.
9006 * include/dlfcn.h: Declare __dlerror_main_freeres.
9007 * malloc/set-freeres.c: Declare __libdl_freeres, and
9008 __libpthread_freeres.
9009 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9010 the releavant libraries are loaded.
9011 * malloc/thread-freeres.c: Add comments.
9012 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9013 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9014 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9015 (__free_stacks): Rename to...
9016 (free_stacks): ...this. Mark static.
9017 (queue_stack): Call free_stacks.
9018 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9019 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9020 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9021 ptr_freeres element from struct.
9022 (pthread_functions): Remove .ptr_freeres from struct initializer.
9023 [SHARED] (nptl_freeres): Remove.
9024 * nptl/nptlfreeres.c: New file.
9025 * nptl/pthreadP.h
9026 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9027 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9028 attribute_hidden.
9029 (__free_stacks): Rename to...
9030 (__nptl_stacks_freeres): ...this.
9031 (__shm_directory_freeres): Declare.
9032 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9033 (__nptl_unwind_freeres): ...this.
9034 * resolv/res-close.c: Add comment.
9035 * resolv/resolv_conf.c: Include libc-symbols.h.
9036 * string/strerror_l.c: Include libc-symbols.h.
9037 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9038 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9039 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9040 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9041
9042 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9043
9044 * stdlib/tst-strfmon_l.c: Add tests for long double.
9045
9046 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
9047
9048 [BZ #23208]
9049 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9050 * localedata/locales/dsb_DE: New file.
9051
9052 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9053
9054 [BZ #23140]
9055 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9056 genitive case).
9057 (alt_mon): New entry, import from CLDR (nominative case).
9058
9059 2018-06-29 Sylvain Lesage <severo@rednegra.net>
9060
9061 [BZ #22996]
9062 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9063
9064 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9065
9066 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9067 Use vector registers.
9068
9069 * sysdeps/aarch64/multiarch/memmove_falkor.S
9070 (__memcpy_falkor): Use vector registers.
9071
9072 2018-06-29 Martin Sebor <msebor@redhat.com>
9073
9074 * manual/stdio.texi (Customizing Printf): Mention interaction
9075 with GCC built-ins.
9076
9077 2018-06-29 Maciej W. Rozycki <macro@mips.com>
9078
9079 [BZ #23307]
9080 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9081 `st_value' is 0 if `st_shndx' is SHN_ABS.
9082 * elf/tst-absolute-zero.c: New file.
9083 * elf/tst-absolute-zero-lib.c: New file.
9084 * elf/tst-absolute-zero-lib.lds: New file.
9085 * elf/Makefile (tests): Add `tst-absolute-zero'.
9086 (modules-names): Add `tst-absolute-zero-lib'.
9087 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9088 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9089 ($(objpfx)tst-absolute-zero: New dependency.
9090
9091 2018-06-29 Zack Weinberg <zackw@panix.com>
9092
9093 * configure.ac: New command-line option --disable-crypt.
9094 Force --disable-nss-crypt when --disable-crypt is given, with a
9095 warning if it was explicitly enabled.
9096 * configure: Regenerate.
9097 * config.make.in: New boolean substitution variable $(build-crypt).
9098 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9099 when $(build-crypt).
9100 * manual/install.texi: Document --disable-crypt.
9101 * INSTALL: Regenerate.
9102
9103 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9104 which is never set.
9105 * conform/Makefile: Only include libcrypt.a in
9106 linknamespace-libs-xsi and linknamespace-libs-XPG4
9107 when $(build-crypt).
9108 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9109 USE_CRYPT to 1 when $(build-crypt).
9110 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9111 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9112 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9113
9114 2018-06-29 Zack Weinberg <zackw@panix.com>
9115
9116 * crypt/crypt.h, posix/unistd.h: Update comments and
9117 prototypes for crypt and crypt_r.
9118
9119 * manual/crypt.texi (Cryptographic Functions): New initial
9120 exposition.
9121 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9122 (Unpredictable Bytes): Improve initial exposition. Clarify error
9123 behavior of getentropy and getrandom.
9124 * manual/examples/genpass.c: Generate a salt using getentropy
9125 instead of the current time. Use hash $5$ (SHA-2-256).
9126 * manual/examples/testpass.c: Demonstrate validation against
9127 hashes generated with three different one-way functions.
9128
9129 * manual/intro.texi: crypt.texi does not need an overview
9130 anymore.
9131
9132 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9133 * manual/terminal.texi: Consistently refer to "passphrases"
9134 * instead of "passwords", and to the "user database" instead
9135 * of the "password database".
9136 * manual/users.texi: Similarly. Add notes about how actual
9137 passphrase hashes are now stored in the shadow database.
9138 Remove 20-year-old junk todo note.
9139
9140 2018-06-29 Zack Weinberg <zackw@panix.com>
9141
9142 * manual/crypt.texi: Use a normal top-level @node declaration.
9143 Move most of the introductory text to the 'crypt' section.
9144 Move the example programs below the @deftypefun for 'crypt_r'.
9145 Move the 'getpass' section...
9146 * manual/terminal.texi: ...here.
9147
9148 2018-06-29 Zack Weinberg <zackw@panix.com>
9149 Florian Weimer <fweimer@redhat.com>
9150
9151 * posix/unistd.h: Do not declare encrypt.
9152 (_XOPEN_CRYPT): Remove macro definition.
9153 (crypt): Declare only for _USE_MISC.
9154 * stdlib/stdlib.h: Do not declare setkey.
9155 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9156 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9157
9158 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9159 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9160 into compat symbols. Don't define initial_perm if it's not
9161 going to be used.
9162 * crypt/cert.c: Link explicitly with the expected versions for
9163 setkey and encrypt. If they are not available at all, mark
9164 the test as unsupported.
9165
9166 * sunrpc/des_crypt.c: Unconditionally block linkage with
9167 cbc_crypt and ecb_crypt for new binaries.
9168 * sunrpc/des_soft.c: Unconditionally block linkage with
9169 des_setparity for new binaries.
9170
9171 * manual/crypt.texi: Remove the entire "DES Encryption"
9172 section. Also remove the paragraph talking about FIPS 140-2
9173 from the introduction.
9174 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9175 of libgcrypt for "real" encryption, not DES.
9176 * manual/conf.texi (Constants for Sysconf): Mention that
9177 _XOPEN_CRYPT is no longer impelemented.
9178
9179 * conform/data/unistd.h-data: Remove crypt function declaration.
9180
9181 2018-06-29 Florian Weimer <fweimer@redhat.com>
9182
9183 [BZ #23351]
9184 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9185 (disallow_malloc_check): Remove variable.
9186 (__malloc_check_init): Adjust.
9187 (malloc_set_state): Update comment.
9188 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9189 declarations.
9190
9191 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9192
9193 [BZ #23140]
9194 * localedata/locales/ast_ES (mon): Rename to...
9195 (alt_mon): This.
9196 (mon): Import from CLDR (genitive case).
9197
9198 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9199 Jakub Sitnicki <jkbs@redhat.com>
9200
9201 [BZ #21812]
9202 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9203 on NLM_F_DUMP_INTR.
9204
9205 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9206
9207 * manual/llio.texi: Remove spurious space.
9208
9209 2018-06-28 Florian Weimer <fweimer@redhat.com>
9210
9211 [BZ #23349]
9212 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9213 _STRUCT_TIMESPEC.
9214
9215 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9216
9217 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9218 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9219 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9220 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9221 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9222 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9223 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9224
9225 2018-06-27 Maciej W. Rozycki <macro@mips.com>
9226
9227 [BZ #23266]
9228 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9229 Copy and null-terminate entries that are not terminated, in
9230 addition to empty ones.
9231
9232 2018-06-27 Florian Weimer <fweimer@redhat.com>
9233
9234 [BZ #18023]
9235 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9236 (extend_alloca_account): Remove.
9237 * manual/stdio.texi (Variable Arguments Output): Update comment.
9238
9239 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9240
9241 * nptl/sockperf.c: Remove file.
9242
9243 2018-06-27 Florian Weimer <fweimer@redhat.com>
9244
9245 [BZ #18023]
9246 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9247 scratch_buffer instead of extend_alloca.
9248
9249 2018-06-27 Florian Weimer <fweimer@redhat.com>
9250
9251 [BZ #18023]
9252 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9253 scratch_buffer instead of extend_alloca. Update comments.
9254
9255 2018-06-27 Florian Weimer <fweimer@redhat.com>
9256
9257 [BZ #18023]
9258 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9259 instead of extend_alloca.
9260
9261 2018-06-26 Joseph Myers <joseph@codesourcery.com>
9262
9263 [BZ #13888]
9264 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9265 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9266 /tmp.
9267 * scripts/test-installation.pl: Put temporary files in build
9268 directory, not /tmp.
9269 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9270 (CFLAGS-bug4.c): Likewise.
9271 (CFLAGS-bug5.c): Likewise.
9272 (CFLAGS-test-fseek.c): Likewise.
9273 (CFLAGS-test-popen.c): Likewise.
9274 (CFLAGS-test_rdwr.c): Likewise.
9275 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9276 /tmp.
9277 * stdio-common/bug4.c (main): Likewise.
9278 * stdio-common/bug5.c (main): Likewise.
9279 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9280 * stdio-common/test-popen.c (do_test): Likewise.
9281 * stdio-common/test_rdwr.c (main): Likewise.
9282
9283 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9284
9285 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9286 (sem_open): Set sem.newsem.pad to zero for valgrind.
9287
9288 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9289
9290 [BZ #20251]
9291 * NEWS: Mention fcntl64 addition.
9292 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9293 * login/utmp_file.c: Likewise.
9294 * sysdeps/posix/fdopendir.c: Likewise.
9295 * sysdeps/posix/opendir.c: Likewise.
9296 * sysdeps/unix/pt-fcntl.c: Likewise.
9297 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9298 __fcntl64_nocancel_adjusted): New prototype.
9299 (__fcntl_nocancel_adjusted): Remove prototype.
9300 * io/Makefile (routines): Add fcntl64.
9301 (CFLAGS-fcntl64.c): New rule.
9302 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9303 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9304 * io/fcntl.h (fcntl64): Add prototype and redirect if
9305 __USE_FILE_OFFSET64 is defined.
9306 * io/fcntl64.c: New file.
9307 * manual/llio.text: Add a note for which commands fcntl acts a
9308 cancellation point.
9309 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9310 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9311 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9312 New symbols.
9313 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9314 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9315 non-LFS case.
9316 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9317 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9318 to __fcntl64_nocancel.
9319 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9320 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9321 to __fcntl64_nocancel.
9322 * sysdeps/generic/not-cancel.h: Likewise.
9323 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9324 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9325 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9326 (fcntl64): New symbol.
9327 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9328 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9329 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9332 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9333 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9334 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9335 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9336 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9337 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9338 fcntl64): Likewise.
9339 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9340 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9341 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9342 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9343 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9344 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9345 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9346 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9347 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9349 Likewise.
9350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9351 Likewise.
9352 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9353 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9354 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9355
9356 2018-06-26 Florian Weimer <fweimer@redhat.com>
9357
9358 Run thread shutdown functions in an explicit order.
9359 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9360 definition.
9361 (__libc_thread_freeres): Call thread shutdown functions
9362 explicitly.
9363 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9364 * include/string.h (__strerror_thread_freeres): Declare.
9365 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9366 arena_thread_freeres. No longer static. Remove thread shutdown
9367 hook registration.
9368 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9369 Declare.
9370 * resolv/res-close.c (__res_thread_freeres): Renamed from
9371 res_thread_freeres. No longer static. Remove thread shutdown
9372 hook registration.
9373 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9374 * resolv/resolv_conf.c (freeres): Remove incorrect section
9375 attribute and use libc_freeres_fn.
9376 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9377 strerror_thread_freeres. No longer static. Remove thread
9378 shutdown hook registration.
9379 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9380 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9381 shutdown hook registration.
9382 * Makerules (shlib.lds): Do not provide section boundary symbols
9383 for __libc_thread_subfreeres.
9384 * manual/memory.texi (Basic Allocation): Update comment.
9385
9386 2018-06-26 Florian Weimer <fweimer@redhat.com>
9387
9388 Remove always-defined _RPC_THREAD_SAFE_ macro.
9389 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9390 Do not define _RPC_THREAD_SAFE_.
9391 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9392 conditional.
9393 * sunrpc/clnt_perr.c: Likewise.
9394 * sunrpc/clnt_raw.c: Likewise.
9395 * sunrpc/clnt_simp.c: Likewise.
9396 * sunrpc/key_call.c: Likewise.
9397 * sunrpc/rpc_common.c: Likewise.
9398 * sunrpc/rpc_main.c: Likewise.
9399 * sunrpc/rpc_thread.c: Likewise.
9400 * sunrpc/svc.c: Likewise.
9401 * sunrpc/svc_raw.c: Likewise.
9402 * sunrpc/svc_simple.c: Likewise.
9403 * sumrpc/svcauth_des.c: Likewise.
9404
9405 2018-06-26 Florian Weimer <fweimer@redhat.com>
9406
9407 * libio/Makefile (tests-internal): Add tst-vtables,
9408 tst-vtables-interposed.
9409 * libio/tst-vtables.c: New file.
9410 * libio/tst-vtables-common.c: Likewise.
9411 * libio/tst-vtables-interposed.c: Likewise.
9412
9413 2018-06-26 Florian Weimer <fweimer@redhat.com>
9414
9415 * support/support_test_main.c (support_test_main): Only call
9416 setvbuf if not disables.
9417 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9418 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9419
9420 2018-06-26 Florian Weimer <fweimer@redhat.com>
9421
9422 [BZ #23313]
9423 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9424
9425 2018-06-25 Florian Weimer <fweimer@redhat.com>
9426
9427 [BZ #18023]
9428 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9429 Use struct scratch_buffer instead of extend_alloca.
9430
9431 2018-06-25 Florian Weimer <fweimer@redhat.com>
9432
9433 [BZ #18023]
9434 * nss/getent.c (initgroups_keys): Use dynarray instead of
9435 extend_alloca.
9436
9437 2018-06-25 Florian Weimer <fweimer@redhat.com>
9438
9439 [BZ #18023]
9440 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9441 Use struct scratch_buffer instead of extend_alloca.
9442
9443 2018-06-25 Florian Weimer <fweimer@redhat.com>
9444
9445 [BZ #18023]
9446 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9447 back to malloc directly, without stack allocations.
9448
9449 2018-06-25 Florian Weimer <fweimer@redhat.com>
9450
9451 [BZ #18023]
9452 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9453 of extend_alloca.
9454
9455 2018-06-25 Florian Weimer <fweimer@redhat.com>
9456
9457 [BZ #18023]
9458 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9459 of extend_alloca.
9460 * nscd/hstcache.c (addhstbyX): Likewise.
9461 * nscd/pwdcache.c (addpwbyX): Likewise.
9462 * nscd/servicescache.c (addservbyX): Likewise.
9463
9464 2018-06-25 Florian Weimer <fweimer@redhat.com>
9465
9466 [BZ #18023]
9467 * nscd/connections.c (read_cmdline): New function.
9468 (restart): Use it. Update comment.
9469
9470 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9471
9472 [BZ #23140]
9473 * localedata/locales/csb_PL (mon): Rename to...
9474 (alt_mon): This.
9475 (abmon): Rename to...
9476 (ab_alt_mon): This.
9477 (mon): Add with proper genitive forms, copy from Wikipedia.
9478 (abmon): Likewise.
9479
9480 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9481
9482 [BZ #19485]
9483 * localedata/locales/csb_PL (mon): Fix typos:
9484 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9485 (yesstr): Add, value is "jo".
9486 (nostr): Add, value is "nié".
9487
9488 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9489
9490 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9491 all log1p and significand functions on m680x0.
9492 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9493 of s_significand.c..
9494 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9495 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9496 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9497 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9498 s_log1p.c and include it..
9499
9500 2018-06-21 Vincent Chen <vincentc@andestech.com>
9501
9502 * elf/elf.h (R_NDS32_NONE): New define.
9503 (R_NDS32_32_RELA): Likewise.
9504 (R_NDS32_COPY): Likewise.
9505 (R_NDS32_GLOB_DAT): Likewise.
9506 (R_NDS32_JUMP_SLOT): Likewise.
9507 (R_NDS32_RELATIVE): Likewise.
9508 (R_NDS32_TLS_TPOFF): Likewise.
9509 (R_NDS32_TLS_DESC): Likewise.
9510
9511 2018-06-21 Mark Wielaard <mark@klomp.org>
9512
9513 * elf/elf.h (R_BPF_MAP_FD): Removed.
9514 (R_BPF_64_64, R_BPF_64_32): New.
9515
9516 2018-06-21 Florian Weimer <fweimer@redhat.com>
9517
9518 [BZ #23253]
9519 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9520 Renamed from libc_feholdsetround_ctx.
9521 (default_libc_feresetround_ctx): Renamed from
9522 libc_feresetround_ctx.
9523 (default_libc_feholdsetround_noex_ctx): Renamed from
9524 libc_feholdsetround_noex_ctx.
9525 (default_libc_feresetround_noex_ctx): Renamed from
9526 libc_feresetround_noex_ctx.
9527 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9528 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9529 forwardning to the old implementations under the new names.
9530 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9531 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9532 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9533 (libc_feresetround_ctx): Forward to default implements for i386
9534 and MATH_SET_BOTH_ROUNDING_MODES.
9535 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9536 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9537
9538 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9539
9540 * string/tst-cmp.c: Include <libc-diag.h>.
9541 (strncmp_max): Disable -Wstringop-overflow= around call to
9542 strncmp.
9543 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9544 strncasecmp.
9545
9546 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9547 (main): Disable -Wunused-value around call to strpbrk.
9548 * string/bug-strspn1.c: Include <libc-diag.h>.
9549 (main): Disable -Wunused-value around call to strspn.
9550
9551 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9552 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9553
9554 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9555 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9556
9557 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9558
9559 * math/Makefile (libm-calls): Move s_significandF to...
9560 (gen-libm-calls): ... here.
9561 * math/s_significand_template.c: New file.
9562 * math/s_significand.c: Removed.
9563 * math/s_significandf.c: Removed.
9564 * math/s_significandl.c: Removed.
9565 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9566 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9567
9568 * math/e_exp2_template.c (declare_mgen_finite_alias,
9569 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9570 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9571 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9572
9573 2018-06-20 Florian Weimer <fweimer@redhat.com>
9574
9575 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9576
9577 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9578
9579 [BZ #23280]
9580 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9581 floating-point number to strtod functions rather than possibly
9582 negating result of those functions.
9583 * stdio-common/tst-scanf-round.c: New file.
9584 * stdio-common/Makefile (tests): Add tst-scanf-round.
9585 ($(objpfx)tst-scanf-round): Depend on $(libm).
9586
9587 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9588
9589 * sysdeps/mach/hurd/localplt.data: Move to...
9590 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9591 R_386_GLOB_DAT like on Linux i386.
9592
9593 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9594
9595 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9596 (SHM_STAT_ANY): New macro.
9597 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9598 (SHM_STAT_ANY): Likewise.
9599 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9600 (SHM_STAT_ANY): Likewise.
9601 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9602 (SHM_STAT_ANY): Likewise.
9603 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9604 (SHM_STAT_ANY): Likewise.
9605 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9606 (SHM_STAT_ANY): Likewise.
9607 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9608 (SHM_STAT_ANY): Likewise.
9609 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9610 (SHM_STAT_ANY): Likewise.
9611 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9612 (SHM_STAT_ANY): Likewise.
9613 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9614 (SHM_STAT_ANY): Likewise.
9615 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9616 (SHM_STAT_ANY): Likewise.
9617 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9618 (SHM_STAT_ANY): Likewise.
9619
9620 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9621 (SEM_STAT_ANY): New macro.
9622 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9623 (SEM_STAT_ANY): Likewise.
9624 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9625 (SEM_STAT_ANY): Likewise.
9626 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9627 (SEM_STAT_ANY): Likewise.
9628 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9629 (SEM_STAT_ANY): Likewise.
9630 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9631 (SEM_STAT_ANY): Likewise.
9632 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9633 (SEM_STAT_ANY): Likewise.
9634 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9635 (SEM_STAT_ANY): Likewise.
9636 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9637 (SEM_STAT_ANY): Likewise.
9638 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9639 (SEM_STAT_ANY): Likewise.
9640
9641 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9642 (MSG_STAT_ANY): New macro.
9643 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9644 (MSG_STAT_ANY): Likewise.
9645 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9646 (MSG_STAT_ANY): Likewise.
9647 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9648 (MSG_STAT_ANY): Likewise.
9649 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9650 (MSG_STAT_ANY): Likewise.
9651 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9652 (MSG_STAT_ANY): Likewise.
9653 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9654 (MSG_STAT_ANY): Likewise.
9655 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9656 (MSG_STAT_ANY): Likewise.
9657 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9658 (MSG_STAT_ANY): Likewise.
9659 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9660 (MSG_STAT_ANY): Likewise.
9661
9662 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9663 (MAP_TYPE): Change value to 0x2b.
9664
9665 2018-06-18 Florian Weimer <fweimer@redhat.com>
9666
9667 [BZ #15722]
9668 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9669 socket with SOCK_CLOEXEC.
9670
9671 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9672
9673 [BZ #23303]
9674 * sysdeps/powerpc/powerpc64/le/Makefile
9675 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9676 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9677 (gnulib-tests): Also add $(f128-loader-link) for
9678 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9679
9680 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9681
9682 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9683 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9684 of sendfile.
9685 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9686 (sendfile64): New strong alias.
9687 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9688 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9689 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9690 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9691 attribute.
9692 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9693 ___pthread_get_cleanup_stack.
9694 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9695 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9696 * mach/shortcut.awk: Make syscall stubs include
9697 <mach-shortcuts-hidden.h> and add hidden definition.
9698 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9699 (__mach_msg): Add hidden prototype.
9700 * mach/msg.c: Include <mach.h>.
9701 (__mach_msg): Add hidden definition.
9702 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9703 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9704 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9705 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9706 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9707 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9708 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9709 prototype and definition.
9710 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9711 hidden target for _hurd_self_sigstate.
9712
9713 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9714
9715 [BZ #23007]
9716 * stdlib/tst-strtod-nan-sign-main.c: New file.
9717 * stdlib/tst-strtod-nan-sign.c: Likewise.
9718 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9719 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9720 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9721 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9722 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9723
9724 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9725
9726 [BZ #23007]
9727 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9728 appropriate sign.
9729
9730 2018-06-14 Florian Weimer <fweimer@redhat.com>
9731
9732 [BZ #23290]
9733 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9734 that the result stays within the ISO-8859-1 range.
9735 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9736 characters are defined in IBM273.
9737
9738 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9739
9740 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9741 __mach_task_self): Remove attribute_hidden.
9742
9743 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9744
9745 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9746 ignore -Wrestrict for one test.
9747
9748 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9749 Szabolcs Nagy <szabolcs.nagy@arm.com>
9750
9751 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9752
9753 2018-06-14 Florian Weimer <fweimer@redhat.com>
9754
9755 * scripts/update-abilist.sh: Accept empty list of files to patch.
9756
9757 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9758
9759 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9760 test-xfail-check-abi-libmachuser): Add.
9761 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9762 __libc_read and __libc_write to __read and __write.
9763 * sysdeps/hurd/include/hurd/port.h: New file.
9764 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9765 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9766 __thread_switch, __evc_wait): Move declarations to...
9767 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9768 attribute_hidden.
9769 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9770 use PLT to call _hurd_self_sigstate.
9771
9772 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9773
9774 [BZ #23279]
9775 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9776 MAX_EXP as overflowing.
9777 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9778 overflow flag.
9779 (round_str): Output also whether result overflows in each rounding
9780 mode.
9781 * stdlib/tst-strtod-round-data: Add more tests.
9782 * stdlib/tst-strtod-round-data.h: Regenerated.
9783 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9784 (TEST): Handle extra arguments for overflow flags.
9785 (struct test_overflow): New type.
9786 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9787 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9788 (test_in_one_mode): Take argument with overflow information.
9789 (do_test): Update calls to test_in_one_mode.
9790
9791 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9792
9793 * elf/dl-load (_dl_dst_substitute): Correct comment.
9794 (_dl_dst_count): Likewise.
9795
9796 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9797 lll_futex_timed_wait.
9798
9799 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9800
9801 [BZ #23277]
9802 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9803 attribute.
9804 * math/test-nan-const.c: New file.
9805 * math/Makefile (tests): Add test-nan-const.
9806 (CFLAGS-test-nan-const.c): New variable.
9807
9808 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9809
9810 * benchtests/scripts/compare_strings.py (process_results): Add
9811 funcs argument. Compare only functions which are selected.
9812 (main): Check if base function is among selected functions.
9813 Pass selected functions to process_results.
9814 (__main__): Add -f/--functions argument.
9815
9816 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9817 Hongbo Zhang <hongbo.zhang@linaro.org>
9818
9819 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9820 __memcpy_falkor for phecda core.
9821 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9822 __memmove_falkor for phecda core.
9823 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9824 __memset_falkor for phecda core.
9825 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9826 for phecda core.
9827 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9828 macro to identify phecda core.
9829
9830 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9831 Andreas Schwab <schwab@suse.de>
9832 Dmitry V. Levin <ldv@altlinux.org>
9833 Florian Weimer <fweimer@redhat.com>
9834
9835 [BZ #23102]
9836 [BZ #21942]
9837 [BZ #18018]
9838 [BZ #23259]
9839 CVE-2011-0536
9840 * elf/dl-dst.h: Remove DL_DST_COUNT.
9841 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9842 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9843 (is_dst): Comment. Support ELF gABI.
9844 (_dl_dst_count): Comment. Simplify and count DSTs.
9845 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9846 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9847 locals.
9848
9849 2018-06-12 Zack Weinberg <zackw@panix.com>
9850
9851 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9852 * sysdeps/unix/sysv/linux/dl-sysdep.c
9853 Include not-cancel.h. Use __close_nocancel instead of __close,
9854 __open64_nocancel instead of __open, __read_nocancel instead of
9855 __libc_read, and __write_nocancel instead of __libc_write.
9856
9857 * csu/check_fds.c (check_one_fd)
9858 * sysdeps/posix/fdopendir.c (__fdopendir)
9859 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9860 instead of __fcntl and/or __libc_fcntl.
9861
9862 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9863 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9864 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9865 Use __open64_nocancel instead of __open_nocancel.
9866
9867 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9868 hidden_proto declarations to the end and issue them if either
9869 IS_IN(libc) or IS_IN(rtld).
9870 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9871 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9872 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9873 read_nocancel, waitpid_nocancel, write_nocancel.
9874
9875 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9876 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9877 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9878
9879 * nptl/pt-fcntl.c: New file.
9880 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9881 (libpthread-routines): Add pt-fcntl.
9882 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9883 (__libc_fcntl): Remove attribute_hidden.
9884 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9885 __fcntl_nocancel_adjusted, not fcntl_common.
9886 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9887 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9888 to fcntl_nocancel.c.
9889 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9892 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9893
9894 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9895 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9896 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9897 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9898 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9899 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9900 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9901 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9902 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9903 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9904 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9905 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9906 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9907 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9908 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9909 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9910 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9911 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9912 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9913 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9914
9915 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9916 libpthread-routines.
9917 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9918 defines nothing.
9919
9920 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9921 __libc_read, and __write instead of __libc_write. Define
9922 __open64 in addition to __open.
9923
9924 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9925
9926 [BZ #23250]
9927 [BZ #10686]
9928 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9929 to _private_tm[3] and add __glibc_reserved2.
9930 Add _Static_assert of offset of __private_ss == 0x30.
9931 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
9932 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
9933
9934 2018-06-12 Florian Weimer <fweimer@redhat.com>
9935
9936 x86: Make strncmp usable from rtld.
9937 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
9938 __strncmp_ia32 if in libc (and not in rtld).
9939 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
9940 strncmp if not in libc (and not to __strncmp_sse2).
9941
9942 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
9943
9944 [BZ #23140]
9945 * localedata/locales/gd_GB (mon): Rename to...
9946 (alt_mon): This.
9947 (mon): Import from CLDR (genitive case).
9948 * localedata/locales/hsb_DE (mon): Rename to...
9949 (alt_mon): This.
9950 (mon): Import from CLDR (genitive case).
9951 * localedata/locales/wa_BE (mon): Rename to...
9952 (alt_mon): This.
9953 (mon): Add, fill with the proper genitive forms, but CLDR data
9954 is incomplete; completed according to the comments in this file.
9955 (d_t_fmt): Do not use "di" before the month name, no longer needed.
9956
9957 * localedata/locales/wa_BE (country_name): Reword
9958 "Beljike" -> "Beldjike".
9959
9960 2018-06-11 Joseph Myers <joseph@codesourcery.com>
9961
9962 [BZ #23272]
9963 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
9964 cases of non-finite arguments.
9965 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9966
9967 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
9968
9969 [BZ #23174]
9970 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
9971
9972 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9973
9974 [BZ #23264]
9975 * include/unistd.h (__execvpex): New prototype.
9976 * posix/Makefile (tests): Add tst-spawn4.
9977 (tests-internal): Add tst-spawn4-compat.
9978 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
9979 * posix/tst-spawn4-compat.c: New file.
9980 * posix/tst-spawn4.c: Likewise.
9981 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
9982 binaries as shell scripts.
9983 * sysdeps/posix/spawni.c (__spawni): Likewise.
9984
9985 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
9986
9987 [BZ #23145]
9988 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
9989 ($(all-built-dso:=.dynsym): New target.
9990 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
9991 ($(objpfx)check-initfini.out): New target.
9992 (generated): Add check-initfini.out.
9993 * scripts/check-initfini.awk: New file.
9994 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
9995 (_fini): Likewise.
9996 * sysdeps/alpha/crti.S (_init): Mark as hidden.
9997 (_fini): Likewise.
9998 * sysdeps/arm/crti.S (_init): Mark as hidden.
9999 (_fini): Likewise.
10000 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10001 (_fini): Likewise.
10002 * sysdeps/i386/crti.S (_init): Mark as hidden.
10003 (_fini): Likewise.
10004 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10005 (_fini): Likewise.
10006 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10007 (_fini): Likewise.
10008 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10009 (_fini): Likewise.
10010 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10011 (_fini): Likewise.
10012 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10013 (_fini): Likewise.
10014 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10015 (_fini): Likewise.
10016 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10017 (_fini): Likewise.
10018 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10019 (_fini): Likewise.
10020 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10021 (_fini): Likewise.
10022 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10023 (_fini): Likewise.
10024 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10025 (_fini): Likewise.
10026 * sysdeps/sh/crti.S (_init): Mark as hidden.
10027 (_fini): Likewise.
10028 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10029 (_fini): Likewise.
10030 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10031 (_fini): Likewise.
10032
10033 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10034
10035 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10036 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10037 and TF redirection to KFtype and KF only when the default
10038 long double type is not the IEEE 128-bit floating point type.
10039
10040 2018-06-05 Joseph Myers <joseph@codesourcery.com>
10041
10042 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10043 macro.
10044 (HWCAP_USCAT): Likewise.
10045 (HWCAP_ILRCPC): Likewise.
10046 (HWCAP_FLAGM): Likewise.
10047 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10048 Increase to 28.
10049 (_dl_aarch64_cap_flags): Add new flag names.
10050
10051 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10052 (MAP_FIXED_NOREPLACE): New macro.
10053 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10054 (MAP_FIXED_NOREPLACE): Likewise.
10055 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10056 (MAP_FIXED_NOREPLACE): Likewise.
10057 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10058 (MAP_FIXED_NOREPLACE): Likewise.
10059 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10060 (MAP_FIXED_NOREPLACE): Likewise.
10061 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10062 (MAP_FIXED_NOREPLACE): Likewise.
10063 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10064 (MAP_FIXED_NOREPLACE): Likewise.
10065 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10066 (MAP_FIXED_NOREPLACE): Likewise.
10067 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10068 (MAP_FIXED_NOREPLACE): Likewise.
10069 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10070 (MAP_FIXED_NOREPLACE): Likewise.
10071 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10072 (MAP_FIXED_NOREPLACE): Likewise.
10073 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10074 (MAP_FIXED_NOREPLACE): Likewise.
10075 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10076 (MAP_FIXED_NOREPLACE): Likewise.
10077 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10078 (MAP_FIXED_NOREPLACE): Likewise.
10079 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10080 (MAP_FIXED_NOREPLACE): Likewise.
10081
10082 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10083 version to 4.17.
10084
10085 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10086
10087 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10088 version to 4.17
10089
10090 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10091
10092 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10093 int.
10094 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10095
10096 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10097
10098 * benchtests/scripts/compare_string.py: (process_results) Catch
10099 exception in non-existent base_func and catch exception in
10100 non-existent attribute.
10101 (parse_file) Catch exception if input file does not exist.
10102
10103 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10104
10105 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10106 options to avoid diff calculation and omit header, respectively.
10107 (main): process --no-diff and --no-header
10108
10109 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10110 H.J. Lu <hongjiu.lu@intel.com>
10111
10112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10113 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10114 wcsncmp-sse2.
10115 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10116 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10117 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10118 and __wcsncmp_sse2.
10119 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10120 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10121 AVX unaligned load is fast and vzeroupper is preferred.
10122 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10123 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10124 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10125 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10126 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10127 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10128 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10129 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10130 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10131 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10132 is undefined.
10133
10134 2018-06-01 Florian Weimer <fweimer@redhat.com>
10135
10136 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10137 configuring with --disable-multi-arch, building with
10138 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10139 Haswell-era CPU.
10140
10141 2018-06-01 Florian Weimer <fweimer@redhat.com>
10142
10143 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10144 results from building with “-march=x86-64 -mtune=generic
10145 -mfpmath=sse” and running on a Haswell-era CPU.
10146
10147 2018-06-01 Joseph Myers <joseph@codesourcery.com>
10148
10149 [BZ #18473]
10150 * soft-fp/sqrttf2.c: Remove file.
10151 * soft-fp/sqrtdf2.c: Move to ....
10152 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10153 <shlib-compat.h>.
10154 (__sqrtdf2): Make conditional on
10155 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10156 symbol.
10157 * soft-fp/sqrtsf2.c: Move to ....
10158 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10159 <shlib-compat.h>.
10160 (__sqrtsf2): Make conditional on
10161 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10162 symbol.
10163 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10164 (gcc-double-routines): Remove sqrtdf2.
10165 (gcc-quad-routines): Remove sqrttf2.
10166 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10167 Do not filter out sqrtsf2 and sqrtdf2.
10168 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10169 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10170
10171 2018-06-01 Florian Weimer <fweimer@redhat.com>
10172
10173 * sysdeps/generic/libcidn.abilist: Remove file.
10174
10175 2018-06-01 Florian Weimer <fweimer@redhat.com>
10176
10177 [BZ #23236]
10178 * libio/strfile.h (struct _IO_str_fields): Rename members to
10179 discourage their use and add comment.
10180 (_IO_STR_DYNAMIC): Remove unused macro.
10181 * libio/strops.c (_IO_str_init_static_internal): Do not use
10182 callback pointers. Call malloc and free.
10183 (_IO_str_overflow): Do not use callback pointers. Call malloc
10184 and free.
10185 (enlarge_userbuf): Likewise.
10186 (_IO_str_finish): Call free.
10187 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10188 _allocate_buffer_unused.
10189 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10190 and free.
10191 (enlarge_userbuf): Likewise.
10192 (_IO_wstr_finish): Call free.
10193 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10194 _allocate_buffer_unused, _free_buffer_unused.
10195 * libio/memstream.c (__open_memstream): Likewise.
10196 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10197 * libio/wmemstream.c (open_wmemstream): Likewise.
10198
10199 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10200
10201 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10202 AMD Ryzen 7 1800X.
10203
10204 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10205
10206 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10207 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10208 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10209 New file.
10210 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10211 Likewise.
10212 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10213
10214 2018-05-29 Florian Weimer <fweimer@redhat.com>
10215
10216 * support/Makefile (libsupport-routines): Add
10217 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10218 xpthread_barrierattr_setpshared.
10219 * support/xpthread_barrierattr_destroy.c: New file.
10220 * support/xpthread_barrierattr_init.c: Likewise.
10221 * support/xpthread_barrierattr_setpshared.c: Likewise.
10222
10223 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10224
10225 [BZ #23206]
10226 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10227 _r_debug and update DT_DEBUG for debugger.
10228
10229 2018-05-29 Florian Weimer <fweimer@redhat.com>
10230
10231 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10232 (tst-strtod5i.out): Likewise.
10233
10234 2018-05-25 Joseph Myers <joseph@codesourcery.com>
10235
10236 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10237 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10238 (sparc64-quad-routines): New variable. Moved from ....
10239 [$(subdir) = soft-fp] (sysdep_routines): Add
10240 $(sparc64-quad-routines). Moved from ....
10241 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10242 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10243 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10244 moved from ....
10245 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10246 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10247 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10248 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10249 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10250 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10251 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10252 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10253 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10254 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10255 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10256 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10257 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10258 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10259 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10260 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10261 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10262 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10263 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10264 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10265 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10266 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10267 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10268 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10269 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10270 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10271 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10272 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10273 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10274 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10275 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10276 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10277 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10278 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10279 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10280 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10281 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10282 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10283 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10284 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10285 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10286 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10287 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10288 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10289 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10290 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10291 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10292 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10293 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10294 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10295 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10296 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10297 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10298 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10299 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10300 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10301 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10302 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10303
10304 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10305 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10306 (sparc32-quad-routines): New variable. Moved from ....
10307 [$(subdir) = soft-fp] (sysdep_routines): Add
10308 $(sparc32-quad-routines). Moved from ....
10309 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10310 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10311 moved from ....
10312 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10313 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10314 * sysdeps/sparc/sparc32/q_add.c: ... here.
10315 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10316 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10317 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10318 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10319 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10320 * sysdeps/sparc/sparc32/q_div.c: ... here.
10321 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10322 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10323 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10324 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10325 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10326 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10327 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10328 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10329 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10330 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10331 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10332 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10333 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10334 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10335 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10336 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10337 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10338 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10339 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10340 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10341 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10342 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10343 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10344 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10345 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10346 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10347 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10348 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10349 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10350 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10351 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10352 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10353 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10354 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10355 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10356 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10357 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10358 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10359 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10360 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10361 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10362 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10363 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10364 * sysdeps/sparc/sparc32/q_util.c: ... here.
10365 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10366 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10367 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10368 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10369
10370 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10371 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10372
10373 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10374 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10375 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10376 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10377
10378 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10379
10380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10381 powerpc/soft-fp.
10382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10383 Likewise.
10384 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10385 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10386
10387 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10388
10389 [BZ #23171]
10390 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10391 double version.
10392
10393 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10394
10395 * sysdeps/sh/Implies: Remove sh/soft-fp.
10396 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10397 * sysdeps/sh/sfp-machine.h: ... here.
10398
10399 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10400
10401 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10402 (__mempcpy_erms): Skip zero length.
10403 (__memmove_erms): Likewise.
10404 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10405 (__memset_erms): Likewise.
10406
10407 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10408
10409 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10410 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10411 Add functions moved from ....
10412 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10413 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10414 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10415 from ....
10416 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10417 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10418 * sysdeps/alpha/e_sqrtl.c: ... here.
10419 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10420 * sysdeps/alpha/local-soft-fp.h: ... here.
10421 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10422 * sysdeps/alpha/ots_add.c: ... here.
10423 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10424 * sysdeps/alpha/ots_cmp.c: ... here.
10425 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10426 * sysdeps/alpha/ots_cmpe.c: ... here.
10427 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10428 * sysdeps/alpha/ots_cvtqux.c: ... here.
10429 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10430 * sysdeps/alpha/ots_cvtqx.c: ... here.
10431 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10432 * sysdeps/alpha/ots_cvttx.c: ... here.
10433 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10434 * sysdeps/alpha/ots_cvtxq.c: ... here.
10435 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10436 * sysdeps/alpha/ots_cvtxt.c: ... here.
10437 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10438 * sysdeps/alpha/ots_div.c: ... here.
10439 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10440 * sysdeps/alpha/ots_mul.c: ... here.
10441 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10442 * sysdeps/alpha/ots_nintxq.c: ... here.
10443 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10444 * sysdeps/alpha/ots_sub.c: ... here.
10445 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10446 * sysdeps/alpha/sfp-machine.h: ... here.
10447
10448 2018-05-23 Florian Weimer <fweimer@redhat.com>
10449
10450 [BZ #19728]
10451 [BZ #19729]
10452 [BZ #22247]
10453 CVE-2016-6261
10454 CVE-2016-6263
10455 CVE-2017-14062
10456 Switch to extern IDNA implementation (libidn2).
10457 * libidn: Remove subdirectory.
10458 * LICENSES: Do not mention licensing conditions for the removed
10459 libidn code.
10460 * config.h.in (HAVE_LIBIDN): Remove.
10461 * include/dlfcn.h (__libc_dlopen): Update comment.
10462 * include/idna.h: Remove file.
10463 * inet/Makefile (routines): Add idna.
10464 (tests-static, tests-internal): Add tst-idna_name_classify.
10465 (LOCALES): Generate locales for tests.
10466 (tst-idna_name_classify.out): Depend on generated locales.
10467 * inet/idna_name_classify.c: New file.
10468 * inet/tst-idna_name_classify.c: Likewise.
10469 * inet/net-internal.h (__idna_to_dns_encoding)
10470 (__idna_from_dns_encoding): Declare.
10471 * inet/net-internal.h (enum idna_name_classification): Define.
10472 (__idna_name_classify): Declare.
10473 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10474 __idna_from_dns_encoding.
10475 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10476 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10477 name as a fallback in case of encoding errors.
10478 (getnameinfo): Use DEPRECATED_NI_IDN.
10479 * inet/idna.c: New file.
10480 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10481 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10482 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10483 (modules-names): Add tst-no-libidn2.
10484 (extra-test-objs): Add tst-no-libidn2.os.
10485 (LDFLAGS-tst-no-libidn2.so): Set soname.
10486 (LOCALES): Set, and generate locales.
10487 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10488 (tst-resolv-ai_idn-latin1): Likewise.
10489 (tst-resolv-ai_idn-nolibidn2): Likewise.
10490 (tst-resolv-ai_idn.out): Depend on locales.
10491 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10492 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10493 tst-no-libidn2.so.
10494 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10495 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10496 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10497 * resolv/tst-resolv-ai_idn.c: New file.
10498 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10499 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10500 * resolv/tst-no-libidn2.c: Likewise.
10501 * support/support_format_addrinfo.c (format_ai_flags): Do not
10502 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10503 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10504 (gaih_inet): Call __idna_to_dns_encoding and
10505 __idna_from_dns_encoding, and use the original (punycode) name if
10506 __idna_from_dns_encoding fails due to an encoding error.
10507 (getaddrinfo): Use DEPRECATED_AI_IDN.
10508 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10509 * sysdeps/unix/inet/configure: Remove file.
10510 * sysdeps/unix/inet/configure.ac: Likewise.
10511
10512 2018-05-23 Florian Weimer <fweimer@redhat.com>
10513
10514 Implement allocate_once.
10515 * include/allocate_once.h: New file.
10516 * misc/allocate_once.c: Likewise.
10517 * misc/tst-allocate_once.c: Likewise.
10518 * misc/Makefile (routines): Add allocate_once.
10519 (tests-internal): Add tst-allocate_once.
10520 (generated): Add tst-allocate_once.mtrace,
10521 tst-allocate_once-mem.out.
10522 (tests-special): Add tst-allocate_once-mem.out.
10523 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10524 (tst-allocate_once-mem.out): Call mtrace.
10525 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10526
10527 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10528
10529 [BZ #23196]
10530 * string/test-memcpy.c (do_test1): New function.
10531 (test_main): Call it.
10532
10533 2018-05-23 Andreas Schwab <schwab@suse.de>
10534
10535 [BZ #23196]
10536 CVE-2018-11237
10537 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10538 (L(preloop_large)): Save initial destination pointer in %r11 and
10539 use it instead of %rax after the loop.
10540 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10541
10542 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10543
10544 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10545 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10546 -I../soft-fp. Moved from ....
10547 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10548 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10549 * sysdeps/aarch64/e_sqrtl.c: ... here.
10550 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10551 * sysdeps/aarch64/sfp-machine.h: ... here.
10552
10553 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10554 -Wmaybe-uninitialized around access to fq[0].
10555 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10556 Likewise.
10557
10558 [BZ #18471]
10559 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10560 aliases for non-libc case of versioned symbols.
10561 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10562 (llseek): Define as compat symbol if
10563 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10564 with link warning.
10565 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10566 Make into a compat symbol, disabled for minimum symbol version
10567 GLIBC_2.28 and later.
10568 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10569
10570 2018-05-22 Florian Weimer <fweimer@redhat.com>
10571
10572 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10573 not add -mpreferred-stack-boundary=4.
10574 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10575 (stack-align-test-flags): Likewise.
10576 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10577 Likewise.
10578 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10579 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10580 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10581 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10582 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10583 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10584 (CFLAGS-tst-align2.c): Likewise.
10585
10586 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10587
10588 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10589 (index_arch_Prefer_FSRM): Likewise.
10590 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10591 Also check Prefer_FSRM.
10592 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10593 Also return OPTIMIZE (erms) for Prefer_FSRM.
10594
10595 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10596
10597 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10598 (index_cpu_FSRM): Likewise.
10599 (reg_FSRM): Likewise.
10600
10601 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10602
10603 * math/gen-tgmath-tests.py: Import sys.
10604 (Tests.__init__): Initialize macros_seen.
10605 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10606 if requested to do so for this macro.
10607 (Tests.add_all_tests): Take argument for macro for which to
10608 generate tests.
10609 (Tests.check_macro_list): New function.
10610 (main): Handle check-list argument and argument specifying macro
10611 for which to generate tests.
10612 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10613 [PYTHON] (tgmath3-macro-tests): Likewise.
10614 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10615 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10616 not test-tgmath3.c.
10617 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10618 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10619 to CFLAGS.
10620 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10621 [PYTHON] ($(foreach
10622 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10623 rule.
10624 [PYTHON] (tests-special): Add
10625 $(objpfx)test-tgmath3-macro-list.out.
10626 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10627
10628 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10629 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10630 later.
10631
10632 [BZ #22639]
10633 * time/tzset.c (SECSPERDAY): Cast to time_t.
10634 * time/tst-y2039.c: New file.
10635 * time/Makefile (tests): Add tst-y2039.
10636
10637 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10638
10639 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10640 (PREFETCH_ONE_SET): Remove duplicate line.
10641
10642 2018-05-17 Florian Weimer <fweimer@redhat.com>
10643
10644 * sysdeps/generic/math-type-macros-double.h: Include
10645 <math-nan-payload-double.h> after <libm-alias-double.h>.
10646 * sysdeps/generic/math-type-macros-float.h: Include
10647 <math-nan-payload-float.h> after <libm-alias-float.h>.
10648 * sysdeps/generic/math-type-macros-float128.h: Include
10649 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10650 * sysdeps/generic/math-type-macros-ldouble.h: Include
10651 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10652
10653 2018-05-17 Andreas Schwab <schwab@suse.de>
10654
10655 * resolv/res_send.c (__res_context_send): Don't set errno when
10656 returing error after malloc failure.
10657
10658 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10659
10660 * nptl/allocatestack.c (allocate_stack): Remove the
10661 !__ASSUME_PRIVATE_FUTEX paths.
10662 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10663 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10664 Likewise.
10665 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10666 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10667 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10668 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10669 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10670 !__ASSUME_PRIVATE_FUTEX path.
10671 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10672 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10673 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10674 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10675 !__ASSUME_PRIVATE_FUTEX macros.
10676 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10677 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10678 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10679 * sysdeps/unix/sysv/linux/kernel-features.h
10680 (__ASSUME_PRIVATE_FUTEX): Removed.
10681
10682 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10683
10684 * math/Makefile (libm-narrow-fns): Add div.
10685 (libm-test-funcs-narrow): Likewise.
10686 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10687 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10688 * math/gen-auto-libm-tests.c (test_functions): Add div.
10689 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10690 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10691 (NARROW_DIV_TRIVIAL): Likewise.
10692 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10693 macro.
10694 (__ddivl): Likewise.
10695 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10696 ddiv.
10697 (CFLAGS-nldbl-ddiv.c): New variable.
10698 (CFLAGS-nldbl-fdiv.c): Likewise.
10699 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10700 __nldbl_ddivl.
10701 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10702 prototype.
10703 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10704 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10705 * math/auto-libm-test-in: Add tests of div.
10706 * math/auto-libm-test-out-narrow-div: New generated file.
10707 * math/libm-test-narrow-div.inc: New file.
10708 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10711 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10712 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10713 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10714 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10716 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10717 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10718 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10719 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10720 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10721 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10722 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10723 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10724 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10725 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10727 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10728 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10729 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10730 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10731 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10732 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10733 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10734 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10735 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10736 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10737 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10738 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10739 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10744 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10745 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10746 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10747 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10748 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10749 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10750 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10751 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10752
10753 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10754
10755 [BZ #23178]
10756 * nscd/nscd-client.h (sendfileall): Remove prototype.
10757 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10758 (handle_request): Use writeall instead of sendfileall.
10759 * nscd/aicache.c (addhstaiX): Likewise.
10760 * nscd/grpcache.c (cache_addgr): Likewise.
10761 * nscd/hstcache.c (cache_addhst): Likewise.
10762 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10763 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10764 * nscd/pwdcache.c (cache_addpw): Likewise.
10765 * nscd/servicescache.c (cache_addserv): Likewise.
10766 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10767 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10768 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10769 Remove define.
10770
10771 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10772
10773 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10774 Include <string/strncat.c>.
10775 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10776 alias.
10777 (__GI___strncat): New hidden alias.
10778
10779 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10780
10781 * sysdeps/mips/mips32/libm-test-ulps: Update.
10782 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10783
10784 2018-05-16 Florian Weimer <fweimer@redhat.com>
10785
10786 * support/Makefile (libsupport-routines): Add support_quote_blob,
10787 support_test_compare_blob.
10788 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10789 * support/check.h (TEST_COMPARE_BLOB): Define.
10790 (support_test_compare_blob): Declare.
10791 * support/support.h (support_quote_blob): Declare.
10792 * support/support_quote_blob.c: New file.
10793 * support/support_test_compare_blob.c: Likewise.
10794 * support/tst-support_quote_blob.c: Likewise.
10795 * support/tst-test_compare_blob.c: Likewise.
10796
10797 2018-05-16 Florian Weimer <fweimer@redhat.com>
10798
10799 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10800 of <strtod_nan_double.h>.
10801 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10802 instead of SET_MANTISSA.
10803 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10804 of include <strtod_nan_float.h>.
10805 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10806 instead of <strtod_nan_ldouble.h>.
10807 * stdlib/strtod_nan_double.h: Move to ...
10808 * sysdeps/generic/math-nan-payload-double.h: ... here.
10809 (FLOAT): Remove definition.
10810 (SET_MANTISSA): Rename to ...
10811 (SET_NAN_PAYLOAD): ... this.
10812 * stdlib/strtod_nan_float.h: Move to ...
10813 * sysdeps/generic/math-nan-payload-float.h: ... here.
10814 (FLOAT): Remove definition.
10815 (SET_MANTISSA): Rename to ...
10816 (SET_NAN_PAYLOAD): ... this.
10817 * sysdeps/generic/math-type-macros-double.h: Include
10818 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10819 instead of <math-svid-compat.h>.
10820 * sysdeps/generic/math-type-macros-float.h: Include
10821 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10822 instead of <math-svid-compat.h>.
10823 * sysdeps/generic/math-type-macros-float128.h: Include
10824 <math-nan-payload-float128.h>.
10825 * sysdeps/generic/math-type-macros-ldouble.h: Include
10826 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10827 instead of <math-svid-compat.h>.
10828 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10829 check for definition.
10830 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10831 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10832 Include <ieee754_float128.h>.
10833 (FLOAT): Remove definition.
10834 (SET_MANTISSA): Rename to ...
10835 (SET_NAN_PAYLOAD): ... this.
10836 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10837 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10838 Do not include <float128_private.h>.
10839 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10840 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10841 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10842 (FLOAT): Remove definition.
10843 (SET_MANTISSA): Rename to ...
10844 (SET_NAN_PAYLOAD): ... this.
10845 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10846 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10847 (FLOAT): Remove definition.
10848 (SET_MANTISSA): Rename to ...
10849 (SET_NAN_PAYLOAD): ... this.
10850 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10851 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10852 (FLOAT): Remove definition.
10853 (SET_MANTISSA): Rename to ...
10854 (SET_NAN_PAYLOAD): ... this.
10855 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10856 of "../stdlib/strtod_nan_double.h".
10857 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10858 of "../stdlib/strtod_nan_float.h".
10859 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10860 instead of "../stdlib/strtod_nan_ldouble.h".
10861 * manual/arith.texi (Parsing of Floats): Adjust comment.
10862
10863 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10864
10865 * math/Makefile (libm-narrow-fns): Add mul.
10866 (libm-test-funcs-narrow): Likewise.
10867 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10868 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10869 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10870 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10871 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10872 (NARROW_MUL_TRIVIAL): Likewise.
10873 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10874 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10875 macro.
10876 (__dmull): Likewise.
10877 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10878 dmul.
10879 (CFLAGS-nldbl-dmul.c): New variable.
10880 (CFLAGS-nldbl-fmul.c): Likewise.
10881 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10882 __nldbl_dmull.
10883 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10884 prototype.
10885 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10886 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10887 * math/auto-libm-test-in: Add tests of mul.
10888 * math/auto-libm-test-out-narrow-mul: New generated file.
10889 * math/libm-test-narrow-mul.inc: New file.
10890 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10891 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10892 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10893 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10894 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10895 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10896 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10897 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10898 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10899 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10900 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10901 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10902 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10903 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10904 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10905 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10906 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10907 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10909 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10910 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10911 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10912 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10913 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10914 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10915 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10916 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10917 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10918 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10919 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10920 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10921 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10926 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10927 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10928 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10929 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10930 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10931 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10932 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10933 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10934
10935 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10936
10937 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10938 with *%eax in call.
10939
10940 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10941
10942 * sysdeps/i386/ldsodefs.h: Removed.
10943 * sysdeps/x86_64/ldsodefs.h: Moved to ...
10944 * sysdeps/x86/ldsodefs.h: This.
10945 (La_i86_regs): New.
10946 (La_i86_retval): Likewise.
10947 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
10948 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
10949
10950 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10951
10952 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
10953 unnecessary testl.
10954
10955 2018-05-13 Alan Modra <amodra@gmail.com>
10956
10957 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
10958 R_PARISC_TLS_DTPOFF32 reloc addend.
10959
10960 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10961
10962 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
10963 * math/math.h: Restrict the prototype definition for the functions
10964 issignaling(_Float128) and iszero(_Float128); and template
10965 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
10966 __HAVE_FLOAT128_UNLIKE_LDBL.
10967 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
10968 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
10969 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
10970 __f128() constants; define the type _Float128 as long double;
10971 and reuse long double in __CFLOAT128.
10972
10973 2018-05-11 Joseph Myers <joseph@codesourcery.com>
10974
10975 * sysdeps/generic/math_private.h: Do not include
10976 <math-barriers.h>.
10977 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
10978 <math_private.h>.
10979 * math/fromfp.h: Include <math-barriers.h>.
10980 * math/math-narrow.h: Likewise.
10981 * math/s_nextafter.c: Likewise.
10982 * math/s_nexttowardf.c: Likewise.
10983 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10984 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10985 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10986 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10987 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10988 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10989 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10990 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10991 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10992 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10993 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10994 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10995 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10996 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10997 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10998 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10999 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11000 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11001 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11002 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11003 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11004 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11005 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11006 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11007 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11008 * sysdeps/ieee754/k_standardl.c: Likewise.
11009 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11010 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11011 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11012 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11013 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11014 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11015 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11016 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11017 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11018 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11019 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11020 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11021 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11022 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11023 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11024 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11025 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11026 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11027 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11028 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11029 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11030 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11031
11032 2018-05-11 Florian Weimer <fweimer@redhat.com>
11033
11034 Use 64-bit epoch values in the time zone file parser.
11035 * include/time.h (internal_time_t): Define.
11036 (__tzfile_compute): Use it.
11037 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11038 member.
11039 (transitions): Switch to internal_time_t.
11040 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11041 types.
11042 (__tzfile_compute): Use internal_time_t for timer argument. Check
11043 for truncation before calling __offtime.
11044
11045 2018-05-11 Florian Weimer <fweimer@redhat.com>
11046
11047 [BZ #23166]
11048 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11049 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11050 Likewise.
11051 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11052 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11053 export without --enable-obsolete-rpc.
11054 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11055 symbol. This should not have been exported, ever.
11056
11057 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11058
11059 [BZ #23152]
11060 * localedata/locales/gd_GB (abmon): Fix typo in May:
11061 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11062
11063 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11064
11065 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11066 Use multiple registers to copy data in loop tail.
11067
11068 * sysdeps/aarch64/multiarch/memmove_falkor.S
11069 (__memmove_falkor): Use multiple registers to move data in
11070 loop tail.
11071
11072 2018-05-10 Joseph Myers <joseph@codesourcery.com>
11073
11074 * math/math-underflow.h: New file.
11075 * sysdeps/generic/math_private.h: Do not include <float.h>.
11076 (fabs_tg): Remove macro. Moved to math-underflow.h.
11077 (min_of_type_f): Likewise.
11078 (min_of_type_): Likewise.
11079 (min_of_type_l): Likewise.
11080 (min_of_type_f128): Likewise.
11081 (min_of_type): Likewise.
11082 (math_check_force_underflow): Likewise.
11083 (math_check_force_underflow_nonneg): Likewise.
11084 (math_check_force_underflow_complex): Likewise.
11085 * math/e_exp2_template.c: Include <math-underflow.h>.
11086 * math/k_casinh_template.c: Likewise.
11087 * math/s_catan_template.c: Likewise.
11088 * math/s_catanh_template.c: Likewise.
11089 * math/s_ccosh_template.c: Likewise.
11090 * math/s_cexp_template.c: Likewise.
11091 * math/s_clog10_template.c: Likewise.
11092 * math/s_clog_template.c: Likewise.
11093 * math/s_csin_template.c: Likewise.
11094 * math/s_csinh_template.c: Likewise.
11095 * math/s_csqrt_template.c: Likewise.
11096 * math/s_ctan_template.c: Likewise.
11097 * math/s_ctanh_template.c: Likewise.
11098 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11099 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11100 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11101 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11102 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11103 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11104 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11105 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11106 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11107 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11108 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11109 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11110 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11111 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11112 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11113 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11114 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11115 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11116 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11117 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11118 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11119 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11120 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11121 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11122 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11123 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11124 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11125 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11126 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11127 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11128 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11129 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11130 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11144 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11145 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11146 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11147 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11150 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11152 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11161 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11162 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11163 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11166 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11168 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11173 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11175 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11176 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11177 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11178 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11179 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11181 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11182
11183 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11184
11185 * sysdeps/generic/math-barriers.h: New file.
11186 * sysdeps/generic/math_private.h [!math_opt_barrier]
11187 (math_opt_barrier): Move to math-barriers.h.
11188 [!math_opt_barrier] (math_force_eval): Likewise.
11189 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11190 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11191 math-barriers.h.
11192 (math_force_eval): Likewise.
11193 * sysdeps/alpha/fpu/math-barriers.h: New file.
11194 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11195 math-barriers.h.
11196 (math_force_eval): Likewise.
11197 * sysdeps/x86/fpu/math-barriers.h: New file.
11198 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11199 math-barriers.h.
11200 (math_force_eval): Likewise.
11201 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11202 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11203 multiple-include guard for rename.
11204 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11205 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11206 math-barriers.h.
11207 (math_force_eval): Likewise.
11208
11209 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11210
11211 [BZ #22786]
11212 CVE-2018-11236
11213 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11214 computation.
11215 * stdlib/Makefile (test-bz22786): New test.
11216 * stdlib/test-bz22786.c: New test.
11217
11218 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11219
11220 * include/math-narrow-eval.h: New file. Contents moved from ....
11221 * sysdeps/generic/math_private.h: ... here.
11222 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11223 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11224 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11225 * stdlib/strtod_l.c: Likewise.
11226 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11227 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11228 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11229 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11230 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11231 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11232 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11233 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11234 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11235 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11236 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11237 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11238 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11239 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11240 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11241 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11242 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11243 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11244 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11245 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11246 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11247 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11248 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11249 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11250 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11251 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11252 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11253 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11254 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11255
11256 2018-05-08 Andreas Schwab <schwab@suse.de>
11257
11258 * sysdeps/nptl/internaltypes.h: Fix comment.
11259
11260 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11261
11262 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11263 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11264 hidden.
11265
11266 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11267
11268 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11269 of I into loop header.
11270 * benchtests/bench-memmove-walk.c
11271 (test_main): Likewise.
11272
11273 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11274
11275 Revert:
11276 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11277 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11278
11279 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11280
11281 [BZ #20419]
11282 * elf/dl-load.c (open_verify): Fix stack overflow.
11283 * elf/Makefile (tst-big-note): New test.
11284 * elf/tst-big-note-lib.S: New.
11285 * elf/tst-big-note.c: New.
11286
11287 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11288
11289 * scripts/abilist.awk: Ignore absolute symbols.
11290 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11291 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11292 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11293 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11294 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11295 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11296 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11297 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11298 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11299 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11300 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11301 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11302 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11303 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11304 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11305 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11306 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11307 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11308 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11309 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11310 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11311 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11312 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11313 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11314 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11315 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11316 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11317 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11318 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11319 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11320 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11321 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11322 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11323 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11324 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11325 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11326 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11327 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11328 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11329 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11330 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11331 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11332 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11333 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11334 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11335 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11336 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11337 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11338 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11339 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11340 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11341 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11342 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11343 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11344 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11345 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11346 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11347 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11348 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11349 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11350 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11351 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11352 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11353 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11354 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11355 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11356 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11357 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11358 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11359 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11360 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11361 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11362 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11363 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11364 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11365 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11366 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11367 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11368 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11369 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11370 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11371 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11372 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11373 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11374 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11375 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11376 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11377 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11378 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11379 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11380 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11381 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11382 Likewise.
11383 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11384 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11385 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11386 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11387 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11388 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11389 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11390 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11391 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11392 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11393 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11394 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11395 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11396 Likewise.
11397 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11398 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11399 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11400 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11401 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11402 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11403 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11404 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11405 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11406 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11407 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11408 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11409 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11410 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11411 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11412 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11413 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11414 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11415 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11416 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11417 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11418 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11419 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11420 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11421 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11422 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11423 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11424 Likewise.
11425 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11426 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11427 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11428 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11429 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11430 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11431 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11432 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11433 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11434 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11435 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11436 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11437 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11438 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11439 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11440 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11441 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11442 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11443 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11444 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11445 Likewise.
11446 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11447 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11448 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11449 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11450 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11451 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11452 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11453 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11454 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11455 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11456 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11457 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11458 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11459 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11460 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11461 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11462 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11463 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11464 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11465 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11466 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11467 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11468 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11469 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11470 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11471 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11472 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11473 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11478 Likewise.
11479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11484 Likewise.
11485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11486 Likewise.
11487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11489 Likewise.
11490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11492 Likewise.
11493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11494 Likewise.
11495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11498 Likewise.
11499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11500 Likewise.
11501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11502 Likewise.
11503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11507 Likewise.
11508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11514 Likewise.
11515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11517 Likewise.
11518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11519 Likewise.
11520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11521 Likewise.
11522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11523 Likewise.
11524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11527 Likewise.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11529 Likewise.
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11531 Likewise.
11532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11533 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11534 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11535 Likewise.
11536 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11537 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11538 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11539 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11540 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11541 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11542 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11543 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11544 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11545 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11546 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11547 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11548 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11549 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11550 Likewise.
11551 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11552 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11553 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11554 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11555 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11556 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11557 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11558 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11559 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11560 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11561 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11562 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11563 Likewise.
11564 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11565 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11566 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11567 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11568 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11569 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11570 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11571 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11572 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11573 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11574 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11575 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11576 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11577 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11578 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11579 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11580 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11581 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11582 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11583 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11584 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11585 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11586 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11587 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11588 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11589 Likewise.
11590 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11591 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11592 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11593 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11594 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11595 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11596 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11597 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11598 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11599 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11600 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11601 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11602 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11603 Likewise.
11604 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11605 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11606 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11607 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11608 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11609 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11610 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11611 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11612 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11613 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11614 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11615 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11616 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11617 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11618 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11619 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11620 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11621 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11622 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11623 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11624 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11625 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11626 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11627 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11628 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11629 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11630 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11631 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11632 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11633 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11634 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11635 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11636 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11637 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11638 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11639 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11640 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11641 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11642
11643 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11644
11645 [BZ #23137]
11646 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11647 Use atomic_load_acquire to load __tid.
11648
11649 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11650
11651 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11652 Restore the pointer into %rdx, after syscall and use %rdx,
11653 instead of %rsi, to restore context.
11654
11655 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11656
11657 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11658 Pop the pointer into %rdx after syscall and use %rdx, instead
11659 of %rsi, to restore context.
11660
11661 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11662
11663 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11664 handlers after setjmp.
11665 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11666 defined.
11667 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11668 <libc-pointer-arith.h>.
11669 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11670 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11671 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11672 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11673 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11674 * sysdeps/x86/__longjmp_cancel.S: New file.
11675 * sysdeps/x86/longjmp.c: Likewise.
11676 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11677
11678 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11679
11680 * NEWS: Add ustat.h deprecation entry.
11681 * bits/ustat.h: Remove file.
11682 * misc/sys/ustat.h: Likewise.
11683 * misc/ustat.h: Likewise.
11684 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11685 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11686 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11687 compatibility mode.
11688 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11689 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11690 generic Linux implementation.
11691
11692 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11693
11694 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11695 * math/w_expl_compat.c: Likewise.
11696 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11697
11698 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11699
11700 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11701
11702 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11703
11704 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11705 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11706 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11707 Remove.
11708 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11710 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11711 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11712 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11713 and SYSCALL_LL64.
11714
11715 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11716
11717 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11718
11719 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11720 * math/w_asin_template.c: Likewise.
11721 * math/w_atanh_template.c: Likewise.
11722
11723 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11724
11725 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11726 to powerpc/powerpc64/be for big-endian.
11727 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11728 little-endian.
11729
11730 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11731 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11732 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11733 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11734 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11735 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11736 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11737 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11738 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11739 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11740 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11741 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11742 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11743 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11744 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11745 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11746 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11747 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11748 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11749 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11750 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11751 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11752 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11753 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11754 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11755 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11756 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11757 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11758 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11759 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11760 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11761 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11762
11763 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11764 adjusted to imply powerpc64 and older processors on powerpc64/be.
11765 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11766 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11767 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11768 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11769 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11770 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11771 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11772 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11773 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11774 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11775 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11776 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11777 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11778 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11779 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11780 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11781 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11782 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11783 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11784 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11785 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11786 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11787 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11788 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11789 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11790 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11791 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11792 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11793 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11794 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11795 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11796
11797 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11798 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11799 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11800 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11801
11802 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11803 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11804 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11805 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11806
11807 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11808 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11809 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11810 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11811 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11812 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11813 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11814 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11815 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11816 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11817 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11818
11819 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11820 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11821 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11822 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11823 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11824 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11825 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11826 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11827 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11828 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11829 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11830
11831 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11832 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11833 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11834 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11835 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11836 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11837 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11838 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11839 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11840 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11841 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11842 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11843
11844 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11845 and adjusted to imply olders processors.
11846 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11847 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11848 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11849 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11850 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11851 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11852 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11853 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11854 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11855 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11856 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11857
11858 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11859 powerpc64/le.
11860 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11861 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11862
11863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11864 powerpc64le.
11865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11867
11868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11869 powerpc64/be.
11870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11873
11874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11875 powerpc64 and adjusted.
11876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11879 Likewise.
11880
11881 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11882
11883 * sysdeps/tile: Remove.
11884 * sysdeps/unix/sysv/linux/tile: Likewise.
11885 * README (tilegx-*-linux-gnu): Remove from list of supported
11886 configurations.
11887 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11888 contribution of support for generic Linux kernel syscall
11889 interface.
11890 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11891 tilegx configurations.
11892 (Config.install_linux_headers): Do not handle tile.
11893 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11894 in comment.
11895 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11896 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11897 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11898 conditional undefine and redefine.
11899 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11900 in comment.
11901 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11902 conditional undefine and redefine.
11903
11904 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11905
11906 * signal/tst-sigaction.c: New file to test BZ #23069.
11907 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11908
11909 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11910
11911 [BZ #22766]
11912 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11913 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11914 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11915 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11916
11917 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11918
11919 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11920 _DIRENT_MATCHES_DIRENT64 is not defined.
11921 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11922 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11923 is defined.
11924 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11925 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11926
11927 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11928
11929 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11930 version to GCC 8 branch.
11931
11932 2018-04-24 Joseph Myers <joseph@codesourcery.com>
11933
11934 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
11935 (check_no_hidden): Use type of original function when declaring
11936 alias.
11937
11938 * sysdeps/unix/sysv/linux/sys/ptrace.h
11939 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
11940 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
11941 (struct __ptrace_seccomp_metadata): New type.
11942 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11943 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11944 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
11945 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11946 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
11947 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11948 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11949 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11950 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11951 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11952 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11953 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11954 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
11955 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11956 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
11957 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11958
11959 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11960
11961 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
11962 defined.
11963 * dirent/versionsort.c (versionsort): Likewise.
11964 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
11965 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
11966 * dirent/versionsort64.c (versionsort64): Likewise.
11967 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
11968 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
11969 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
11970 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
11971 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
11972 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
11973 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
11974 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11975 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
11976 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
11977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
11978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
11979 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
11980 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
11981
11982 2018-04-23 Joseph Myers <joseph@codesourcery.com>
11983
11984 * elf/elf.h (NT_PPC_PKEY): New macro.
11985
11986 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
11987
11988 [BZ #23094]
11989 * localedata/locales/hr_HR: fix thousands_sep and
11990 mon_thousands_sep
11991
11992 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11993
11994 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
11995 (XTABS): Define to TAB3.
11996
11997 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11998
11999 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12000
12001 * dirent/scandir-tail-common.c: New file.
12002 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12003 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12004 * dirent/scandir.c: Use scandir-tail-common.c.
12005 * dirent/scandirat.c: Likewise.
12006 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12007 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12008 if _DIRENT_MATCHES_DIRENT64 is defined.
12009 * dirent/scandirat64.c (scandirat64): Likewise.
12010 * include/dirent.h (__scandir_tail): Only define iff
12011 _DIRENT_MATCHES_DIRENT64 is not defined.
12012 (__scandir64_tail): Define regardless.
12013 (__scandirat, scandirat64): Remove libc_hidden_proto.
12014 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12015 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12017 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12018 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12019 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12020 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12021
12022 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12023
12024 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12025 New macro.
12026 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12027 Increase to 24.
12028 (_dl_aarch64_cap_flags): Add asimdfhm.
12029
12030 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12031
12032 * sysdeps/nios2/libm-test-ulps: Update.
12033
12034 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12035
12036 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12037 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12038
12039 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12040 requirements.
12041 (_DIRENT_MATCHES_DIRENT64): Undef
12042 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12043 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12044 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12045 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12046 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12047 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12048 use getdents64 syscalls as base.
12049 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12050 symbol if required.
12051 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12052 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12053 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12054 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12055 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12056 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12057 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12058 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12059 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12060 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12061 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12062
12063 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12064
12065 * scripts/test_printers_common.py (init_test): Disable lock elision.
12066
12067 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12068
12069 * math/test-tgmath.c (count_double, count_float,
12070 count_ldouble, count_cdouble, count_cfloat,
12071 count_cldouble): Use volatile int.
12072
12073 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12074
12075 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12076 (conformtest-xfail-conds): Add i386-gnu.
12077 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
12078 i386-gnu.
12079 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12080 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12081 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12082 msqid_ds.msg_lrpid): Likewise.
12083 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12084 Likewise.
12085 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12086 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12087 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12088 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12089 unsigned int.
12090 (struct statvfs64): Likewise.
12091 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12092 Likewise.
12093 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12094 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12095 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12096 instead of wait_queue.
12097 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12098 instead of vm_area_struct.
12099 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12100 struct sched_param definition to it.
12101 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12102 * bits/types/struct_sched_param.h: New file.
12103 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12104 <bits/types/struct_sched_param.h> instead of <sched.h>.
12105 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
12106 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12107 generic version but include <bits/pthreadtypes.h> to make struct
12108 sigevent's sigev_notify_attributes field a pthread_attr_t*.
12109 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12110 non-compliant.
12111 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12112 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12113 [__USE_XOPEN] (OFDEL): New macro.
12114 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
12115 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
12116 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12117 prototypes.
12118 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12119 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
12120 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12121 non-compliant.
12122 * sysdeps/i386/sys/ucontext.h: Likewise.
12123 * sysdeps/m68k/sys/ucontext.h: Likewise.
12124 * sysdeps/mips/sys/ucontext.h: Likewise.
12125 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
12126 * sysdeps/mach/hurd/i386/Makefile
12127 (test-xfail-POSIX/fcntl.h/conform): Add.
12128 (test-xfail-POSIX/signal.h/conform): Add.
12129 (test-xfail-POSIX/semaphore.h/conform): Add.
12130 (test-xfail-POSIX/regex.h/conform): Add.
12131 (test-xfail-POSIX/aio.h/conform): Add.
12132 (test-xfail-POSIX/mqueue.h/conform): Add.
12133 (test-xfail-POSIX/sys/types.h/conform): Add.
12134 (test-xfail-UNIX98/fcntl.h/conform): Add.
12135 (test-xfail-UNIX98/netdb.h/conform): Add.
12136 (test-xfail-UNIX98/signal.h/conform): Add.
12137 (test-xfail-UNIX98/semaphore.h/conform): Add.
12138 (test-xfail-UNIX98/regex.h/conform): Add.
12139 (test-xfail-UNIX98/aio.h/conform): Add.
12140 (test-xfail-UNIX98/ftw.h/conform): Add.
12141 (test-xfail-UNIX98/mqueue.h/conform): Add.
12142 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12143 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12144 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12145 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12146 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12147 (test-xfail-UNIX98/sys/types.h/conform): Add.
12148 (test-xfail-UNIX98/stdlib.h/conform): Add.
12149 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12150 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12151 (test-xfail-POSIX2008/netdb.h/conform): Add.
12152 (test-xfail-POSIX2008/signal.h/conform): Add.
12153 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12154 (test-xfail-POSIX2008/regex.h/conform): Add.
12155 (test-xfail-POSIX2008/aio.h/conform): Add.
12156 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12157 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12158 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12159 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12160 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12161 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12162 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12163 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12164 (test-xfail-XOPEN2K/signal.h/conform): Add.
12165 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12166 (test-xfail-XOPEN2K/regex.h/conform): Add.
12167 (test-xfail-XOPEN2K/aio.h/conform): Add.
12168 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12169 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12170 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12171 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12172 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12173 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12174 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12175 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12176 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12177 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12178 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12179 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12180 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12181 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12182 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12183 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12184 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12185 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12186 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12187 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12188 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12189 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12190 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12191 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12192 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12193 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12194 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12195 i386-gnu.
12196 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12197 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12198
12199 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12200
12201 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12202 --enable-obsolete for powerpc-linux-gnuspe.
12203
12204 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12205
12206 * conform/data/sys/un.h-data: Allow sun_ prefix.
12207 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12208 prototypes.
12209 * sysdeps/mach/include/mach.h: Likewise.
12210 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12211 * sysdeps/mach/include/mach_error.h: Likewise.
12212
12213 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12214
12215 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12216 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12217 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12218 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12219
12220 2018-04-16 Andreas Schwab <schwab@suse.de>
12221
12222 [BZ #19527]
12223 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12224
12225 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12226
12227 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12228 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12229
12230 2018-04-12 DJ Delorie <dj@redhat.com>
12231
12232 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12233 version to 4.16.
12234
12235 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12236
12237 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12238 (struct kernel_sigaction): Use the same definition on 31bit as is used
12239 on 64bit.
12240
12241 2018-04-09 Florian Weimer <fweimer@redhat.com>
12242
12243 [BZ #23037]
12244 * resolv/res_send.c (send_dg): Use designated initializers instead
12245 of assignment to zero-initialize other fields of struct mmsghdr.
12246
12247 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12248
12249 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12250 __READDIR_ALIAS): Undefine after usage.
12251 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12252 __READDIR_R_ALIAS): Likewise.
12253 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12254 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12255 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12256 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12257 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12258 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12259 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12260 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12261 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12262 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12263 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12264 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12265 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12266 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12267 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12268 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12269 * sysdeps/unix/sysv/linux/readdir.c: New file.
12270 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12271 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12272 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12273
12274 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12275
12276 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12277
12278 * manual/charset.texi (Converting a Character): Fix typo.
12279
12280 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12281
12282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12283
12284 * sysdeps/arm/libm-test-ulps: Update.
12285
12286 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12287 as base implementation.
12288 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12289 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12290 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12291 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12292 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12293 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12294 remove unrequired definitions and update comments.
12295 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12296 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12297 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12298 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12299 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12300 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12301 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12302 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12303 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12304 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12305 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12306 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12307 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12308 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12309 and RESET_SA_RESTORER hooks.
12310
12311 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12312
12313 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12314
12315 2018-04-05 Florian Weimer <fweimer@redhat.com>
12316
12317 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12318 integer overflow, memory leak on error, and indeterminate errno
12319 value. Add a null wide character to terminate the result string.
12320 * manual/charset.texi (Converting a Character): Mention embedded
12321 null bytes in the mbrtowc input string. Explain what happens in
12322 the -2 result case. Do not claim that mbrtowc is simple or
12323 obvious to use. Adjust the description of the code example. Use
12324 @code, not @var, for concrete variables.
12325
12326 2018-04-05 Florian Weimer <fweimer@redhat.com>
12327
12328 * manual/examples/mbstouwcs.c: New file.
12329 * manual/charset.texi (Converting a Character): Include it.
12330
12331 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12332
12333 * include/dirent.h (dirfd): Add hidden proto.
12334 * dirent/dirfd.c (dirfd): Add hidden def.
12335 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12336 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12337
12338 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12339
12340 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12341 sin, cos and sincos to 1 ULP.
12342
12343 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12344
12345 [BZ #19818]
12346 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12347 symbols.
12348 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12349 * elf/tst-absolute-sym.c: New file.
12350 * elf/tst-absolute-sym-lib.c: New file.
12351 * elf/tst-absolute-sym-lib.lds: New file.
12352 * elf/Makefile (tests): Add `tst-absolute-sym'.
12353 (modules-names): Add `tst-absolute-sym-lib'.
12354 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12355 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12356 ($(objpfx)tst-absolute-sym): New dependency.
12357
12358 [BZ #19818]
12359 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12360 parameter.
12361 (SYMBOL_ADDRESS): New macro.
12362 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12363 SYMBOL_ADDRESS for symbol address calculation.
12364 * elf/dl-runtime.c (_dl_fixup): Likewise.
12365 (_dl_profile_fixup): Likewise.
12366 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12367 * elf/rtld.c (dl_main): Likewise.
12368 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12369 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12370 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12371 (elf_machine_rela): Likewise.
12372 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12373 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12374 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12375 (elf_machine_rela): Likewise.
12376 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12377 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12378 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12379 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12380 Likewise.
12381 (elf_machine_reloc): Likewise.
12382 (elf_machine_got_rel): Likewise.
12383 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12384 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12385 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12386 Likewise.
12387 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12388 Likewise.
12389 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12390 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12391 Likewise.
12392 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12393 Likewise.
12394 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12395 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12396 Likewise.
12397 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12398 Likewise.
12399 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12400 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12401
12402 2018-04-04 Zack Weinberg <zackw@panix.com>
12403
12404 * sysdeps/generic/internal-signals.h: Include signal.h,
12405 sigsetops.h, and stdbool.h.
12406 (__libc_signal_block_all): Actually block all signals.
12407 (__libc_signal_block_app): Likewise.
12408 (__libc_signal_restore_set): Actually restore the signal mask.
12409
12410 2018-04-04 Florian Weimer <fweimer@redhat.com>
12411
12412 inet: Actually build and run tst-deadline.
12413 * inet/Makefile (tests-internal): Add tst-deadline and do not
12414 overwrite the variable.
12415 (tests-static-internal): Remove variable.
12416
12417 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12418
12419 [BZ #22947]
12420 * bits/uio-ext.h (RWF_APPEND): New.
12421 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12422 * manual/llio.texi: Document RWF_APPEND.
12423 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12424 (RWF_SUPPORTED): Add RWF_APPEND.
12425
12426 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12427
12428 [BZ #22391]
12429 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12430 check for internal nptl signals.
12431 * nptl/sigaction.c (__sigaction): Likewise.
12432 * signal/sigaddset.c (sigaddset): Likewise.
12433 * signal/sigdelset.c (sigdelset): Likewise.
12434 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12435 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12436 value.
12437 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12438 to filter out internal nptl signals.
12439 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12440 also check realtime signals using standard macros.
12441 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12442 __is_internal_signal, __libc_signal_block_all,
12443 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12444 * sysdeps/nptl/sigfillset.c: Remove file.
12445 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12446 Change return to bool.
12447 (__clear_internal_signals): Remove SIGTIMER clean since it is
12448 equal to SIGCANEL on Linux.
12449 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12450 signal set was constructed using standard functions.
12451
12452 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12453
12454 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12455 ifname is too long.
12456 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12457 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12458 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12459 hidden def.
12460 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12461 * signal/sigaddset.c: Include <sigsetopts.h>.
12462 * signal/sigdelset.c: Likewise.
12463
12464 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12465
12466 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12467 (__cos): Likewise.
12468 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12469 logic as sin and cos.
12470
12471 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12472
12473 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12474 inputs. Return correct sign.
12475 (do_sincos): Remove small input check before do_sin, let do_sin set
12476 the sign.
12477 (__sin): Likewise.
12478 (__cos): Likewise.
12479
12480 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12481
12482 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12483 (do_cos_slow): Likewise.
12484 (do_sin_slow): Likewise.
12485 (reduce_and_compute): Likewise.
12486 (slow): Likewise.
12487 (slow1): Likewise.
12488 (slow2): Likewise.
12489 (sloww): Likewise.
12490 (sloww1): Likewise.
12491 (sloww2): Likewise.
12492 (bslow): Likewise.
12493 (bslow1): Likewise.
12494 (bslow2): Likewise.
12495 (cslow2): Likewise.
12496
12497 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12498
12499 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12500 (do_cos): Remove corp parameter and calculations.
12501 (do_sin): Likewise.
12502 (do_sincos): Remove cor variable.
12503 (__sin): Use do_sincos for huge inputs.
12504 (__cos): Likewise.
12505 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12506 (reduce_and_compute_sincos): Remove unused function.
12507
12508 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12509
12510 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12511 reduce_sincos, improve accuracy to 136 bits.
12512 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12513 (__sin): Use improved reduction and simplified do_sincos calculation.
12514 (__cos): Likewise.
12515 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12516
12517 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12518
12519 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12520 (do_sincos_2): Likewise.
12521 (__sin): Remove middle range reduction case.
12522 (__cos): Likewise.
12523 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12524 reduction case.
12525
12526 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12527
12528 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12529 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12530 inputs.
12531 (__cos): Likewise.
12532 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12533
12534 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12535
12536 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12537 version to 4.16
12538
12539 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12540
12541 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12542 Remove definitions.
12543 (opendir_oflags): Use O_DIRECTORY regardless.
12544 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12545 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12546
12547 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12548
12549 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12550 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12551 macros.
12552 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12553 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12554 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12555 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12556 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12557 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12558
12559 * htl/Makefile: Bump licence to LGPL 2.1+.
12560 * htl/alloca_cutoff.c: Likewise.
12561 * htl/cthreads-compat.c: Likewise.
12562 * htl/lockfile.c: Likewise.
12563 * htl/pt-alloc.c: Likewise.
12564 * htl/pt-cancel.c: Likewise.
12565 * htl/pt-cleanup.c: Likewise.
12566 * htl/pt-create.c: Likewise.
12567 * htl/pt-dealloc.c: Likewise.
12568 * htl/pt-detach.c: Likewise.
12569 * htl/pt-exit.c: Likewise.
12570 * htl/pt-getattr.c: Likewise.
12571 * htl/pt-initialize.c: Likewise.
12572 * htl/pt-internal.h: Likewise.
12573 * htl/pt-join.c: Likewise.
12574 * htl/pt-self.c: Likewise.
12575 * htl/pt-setcancelstate.c: Likewise.
12576 * htl/pt-setcanceltype.c: Likewise.
12577 * htl/pt-sigmask.c: Likewise.
12578 * htl/pt-spin-inlines.c: Likewise.
12579 * htl/pt-testcancel.c: Likewise.
12580 * htl/pt-yield.c: Likewise.
12581 * htl/tests/test-1.c: Likewise.
12582 * htl/tests/test-10.c: Likewise.
12583 * htl/tests/test-11.c: Likewise.
12584 * htl/tests/test-12.c: Likewise.
12585 * htl/tests/test-13.c: Likewise.
12586 * htl/tests/test-14.c: Likewise.
12587 * htl/tests/test-15.c: Likewise.
12588 * htl/tests/test-16.c: Likewise.
12589 * htl/tests/test-17.c: Likewise.
12590 * htl/tests/test-2.c: Likewise.
12591 * htl/tests/test-3.c: Likewise.
12592 * htl/tests/test-4.c: Likewise.
12593 * htl/tests/test-5.c: Likewise.
12594 * htl/tests/test-6.c: Likewise.
12595 * htl/tests/test-7.c: Likewise.
12596 * htl/tests/test-8.c: Likewise.
12597 * htl/tests/test-9.c: Likewise.
12598 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12599 * sysdeps/htl/bits/cancelation.h: Likewise.
12600 * sysdeps/htl/bits/pthread-np.h: Likewise.
12601 * sysdeps/htl/bits/pthread.h: Likewise.
12602 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12603 * sysdeps/htl/bits/semaphore.h: Likewise.
12604 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12605 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12606 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12607 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12608 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12609 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12610 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12611 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12612 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12613 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12614 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12615 * sysdeps/htl/old_pt-atfork.c: Likewise.
12616 * sysdeps/htl/pt-atfork.c: Likewise.
12617 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12618 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12619 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12620 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12621 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12622 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12623 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12624 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12625 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12626 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12627 * sysdeps/htl/pt-attr-init.c: Likewise.
12628 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12629 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12630 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12631 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12632 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12633 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12634 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12635 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12636 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12637 * sysdeps/htl/pt-attr.c: Likewise.
12638 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12639 * sysdeps/htl/pt-barrier-init.c: Likewise.
12640 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12641 * sysdeps/htl/pt-barrier.c: Likewise.
12642 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12643 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12644 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12645 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12646 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12647 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12648 * sysdeps/htl/pt-cond-init.c: Likewise.
12649 * sysdeps/htl/pt-cond-signal.c: Likewise.
12650 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12651 * sysdeps/htl/pt-cond-wait.c: Likewise.
12652 * sysdeps/htl/pt-cond.c: Likewise.
12653 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12654 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12655 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12656 * sysdeps/htl/pt-condattr-init.c: Likewise.
12657 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12658 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12659 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12660 * sysdeps/htl/pt-equal.c: Likewise.
12661 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12662 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12663 * sysdeps/htl/pt-getschedparam.c: Likewise.
12664 * sysdeps/htl/pt-getspecific.c: Likewise.
12665 * sysdeps/htl/pt-init-specific.c: Likewise.
12666 * sysdeps/htl/pt-key-create.c: Likewise.
12667 * sysdeps/htl/pt-key-delete.c: Likewise.
12668 * sysdeps/htl/pt-key.h: Likewise.
12669 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12670 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12671 * sysdeps/htl/pt-mutex-init.c: Likewise.
12672 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12673 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12674 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12675 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12676 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12677 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12678 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12679 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12680 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12681 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12682 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12683 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12684 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12685 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12686 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12687 * sysdeps/htl/pt-mutexattr.c: Likewise.
12688 * sysdeps/htl/pt-once.c: Likewise.
12689 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12690 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12691 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12692 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12693 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12694 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12695 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12696 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12697 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12698 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12699 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12700 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12701 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12702 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12703 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12704 * sysdeps/htl/pt-setschedparam.c: Likewise.
12705 * sysdeps/htl/pt-setschedprio.c: Likewise.
12706 * sysdeps/htl/pt-setspecific.c: Likewise.
12707 * sysdeps/htl/pt-spin.c: Likewise.
12708 * sysdeps/htl/pt-startup.c: Likewise.
12709 * sysdeps/htl/pthread.h: Likewise.
12710 * sysdeps/htl/sem-close.c: Likewise.
12711 * sysdeps/htl/sem-destroy.c: Likewise.
12712 * sysdeps/htl/sem-getvalue.c: Likewise.
12713 * sysdeps/htl/sem-init.c: Likewise.
12714 * sysdeps/htl/sem-open.c: Likewise.
12715 * sysdeps/htl/sem-post.c: Likewise.
12716 * sysdeps/htl/sem-timedwait.c: Likewise.
12717 * sysdeps/htl/sem-trywait.c: Likewise.
12718 * sysdeps/htl/sem-unlink.c: Likewise.
12719 * sysdeps/htl/sem-wait.c: Likewise.
12720 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12721 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12722 * sysdeps/mach/htl/pt-block.c: Likewise.
12723 * sysdeps/mach/htl/pt-spin.c: Likewise.
12724 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12725 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12726 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12727 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12728 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12729 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12730 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12731 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12732 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12733 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12734 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12735 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12736 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12737 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12738 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12739 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12740 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12741 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12742 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12743 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12744 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12745 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12746 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12747 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12748 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12749 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12750 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12751 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12752 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12753 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12754 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12755 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12756 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12757 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12758 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12759 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12760 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12761 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12762 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12763 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12764 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12765 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12766 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12767
12768 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12769 * README: Remove the mention of out-of-tree patches needed for
12770 GNU/Hurd.
12771
12772 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12773 (UTIME_NOW, UTIME_OMIT): Define macros.
12774
12775 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12776 instead of pthread_detach.
12777 (__cthread_fork): Call __pthread_create instead of pthread_create.
12778 (__cthread_keycreate): Call __pthread_key_create instead of
12779 pthread_key_create.
12780 (__cthread_getspecific): Call __pthread_getspecific instead of
12781 pthread_getspecific.
12782 (__cthread_setspecific): Call __pthread_setspecific instead of
12783 pthread_setspecific.
12784 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12785 __pthread_mutex_unlock instead of pthread_mutex_lock and
12786 pthread_mutex_unlock.
12787 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12788 ___pthread_get_cleanup_stack.
12789 (__pthread_get_cleanup_stack): New strong alias.
12790 * htl/pt-create.c: Include <pthreadP.h>.
12791 (entry_point): Call __pthread_exit instead of pthread_exit.
12792 (pthread_create): Rename to __pthread_create.
12793 (pthread_create): New strong alias.
12794 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12795 (pthread_detach): New strong alias.
12796 (__pthread_detach): Call __pthread_cond_broadcast instead of
12797 pthread_cond_broadcast.
12798 * htl/pt-exit.c: Include <pthreadP.h>.
12799 (__pthread_exit): Call __pthread_setcancelstate and
12800 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12801 __pthread_get_cleanup_stack.
12802 * htl/pt-testcancel.c: Include <pthreadP.h>.
12803 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12804 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12805 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12806 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12807 pthread_attr_getstacksize.
12808 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12809 Rename to __pthread_attr_getstackaddr.
12810 (pthread_attr_getstackaddr): New strong alias.
12811 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12812 Rename to __pthread_attr_getstacksize.
12813 (pthread_attr_getstacksize): New strong alias.
12814 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12815 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12816 (pthread_attr_setstack): New strong alias.
12817 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12818 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12819 pthread_attr_getstacksize, pthread_attr_setstacksize and
12820 pthread_attr_setstackaddr.
12821 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12822 Rename to __pthread_attr_setstackaddr.
12823 (pthread_attr_setstackaddr): New strong alias.
12824 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12825 Rename to __pthread_attr_setstacksize.
12826 (pthread_attr_setstacksize): New strong alias.
12827 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12828 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12829 pthread_exit.
12830 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12831 (__pthread_key_create): New hidden def.
12832 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12833 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12834 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12835 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12836 __pthread_setspecific, __pthread_setcancelstate,
12837 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12838 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12839 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12840 declarations.
12841 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12842 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12843 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12844 (pthread_attr_setstackaddr): New strong alias.
12845 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12846 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12847 (pthread_attr_setstacksize): New strong alias.
12848 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12849 (call_exit): Call __pthread_exit instead of pthread_exit.
12850 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12851 (_pthread_mutex_init): New hidden definition.
12852 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12853 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12854 instead of pthread_attr_init and pthread_attr_setstack.
12855
12856 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12857 __vm_deallocate instead of vm_allocate and vm_deallocate.
12858 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12859 setenv.
12860 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12861 of geteuid.
12862 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12863 strdup.
12864 * hurd/siginfo.c: Include <libioP.h>.
12865 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12866 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12867 munmap.
12868 * mach/devstream.c: Include <libioP.h>.
12869 (dealloc_ref): Call __mach_port_deallocate instead of
12870 mach_port_deallocate.
12871 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12872 Call __mach_port_deallocate instead of mach_port_deallocate.
12873 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12874 pathconf.
12875 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12876 munmap.
12877 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12878 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12879 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12880 of munmap.
12881 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12882 of close.
12883 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12884 instead of sysconf.
12885 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12886 __clock_gettime instead of clock_gettime.
12887 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12888 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12889 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12890 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12891 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12892 tcgetattr.
12893 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12894 __clock_gettime and __nanosleep instead of clock_gettime and
12895 nanosleep.
12896 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12897 __hurd_catch_signal.
12898 (hurd_catch_signal): New strong alias.
12899 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12900 __hurd_catch_signal instead of hurd_catch_signal.
12901 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12902 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12903 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12904 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12905 (_hurd_thread_sigstate): Add hidden def.
12906 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12907 mutex_unlock.
12908 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12909 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12910 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12911 __hurd_file_name_path_lookup.
12912 (hurd_file_name_path_lookup): New strong alias.
12913 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12914 hurd_file_name_path_lookup.
12915 * mach/errstring.c (mach_error_type): Add hidden def.
12916 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12917 * mach/mutex-init.c (__mutex_init): Add hidden def.
12918 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12919 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12920 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12921 * sysdeps/mach/hurd/getcwd.c
12922 (_hurd_canonicalize_directory_name_internal): Rename to
12923 __hurd_canonicalize_directory_name_internal.
12924 (_hurd_canonicalize_directory_name_internal): New strong alias.
12925 (__canonicalize_directory_name_internal, __getcwd): Call
12926 __hurd_canonicalize_directory_name_internal instead of
12927 _hurd_canonicalize_directory_name_internal.
12928 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12929 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12930 hidden defs.
12931 * sysdeps/hurd/include/hurd.h: New file.
12932 * sysdeps/hurd/include/hurd/fd.h: New file.
12933 * sysdeps/hurd/include/hurd/signal.h: New file.
12934 * sysdeps/mach/include/lock-intern.h: New file.
12935 * sysdeps/mach/include/mach.h: New file.
12936 * sysdeps/mach/include/mach/mig_support.h: New file.
12937 * sysdeps/mach/include/mach_error.h: New file.
12938 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
12939 prototype.
12940 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
12941 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
12942 _HEADER_H_HIDDEN_DEF macro.
12943 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
12944 _hurd_fd_error_signal): Add hidden prototype.
12945 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
12946 hidden def.
12947 * libio/iolibio.h (_IO_puts): New hidden prototype.
12948 * libio/ioputs.c (_IO_puts): New hidden def.
12949 * sysdeps/mach/hurd/localplt.data: New file.
12950
12951 2018-04-02 Agustina Arzille <avarzille@riseup.net>
12952 Amos Jeffries <squid3@treenet.co.nz>
12953 David Michael <fedora.dm0@gmail.com>
12954 Marco Gerards <marco@gnu.org>
12955 Marcus Brinkmann <marcus@gnu.org>
12956 Neal H. Walfield <neal@gnu.org>
12957 Pino Toscano <toscano.pino@tiscali.it>
12958 Richard Braun <rbraun@sceen.net>
12959 Roland McGrath <roland@gnu.org>
12960 Samuel Thibault <samuel.thibault@ens-lyon.org>
12961 Thomas DiModica <ricinwich@yahoo.com>
12962 Thomas Schwinge <tschwinge@gnu.org>
12963
12964 * htl: New directory.
12965 * sysdeps/htl: New directory.
12966 * sysdeps/hurd/htl: New directory.
12967 * sysdeps/i386/htl: New directory.
12968 * sysdeps/mach/htl: New directory.
12969 * sysdeps/mach/hurd/htl: New directory.
12970 * sysdeps/mach/hurd/i386/htl: New directory.
12971 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
12972 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
12973 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
12974
12975 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12976
12977 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
12978 signals in thread created for runing timers.
12979
12980 2018-04-01 Florian Weimer <fweimer@redhat.com>
12981
12982 * support/support_format_addrinfo.c (support_format_addrinfo):
12983 Include unknown error number in formatted result.
12984
12985 2018-03-29 Florian Weimer <fweimer@redhat.com>
12986
12987 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
12988 capture SIGBUS.
12989
12990 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12991
12992 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
12993 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
12994 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12995 (__ASSUME_CLONE_BACKWARDS): Define.
12996
12997 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
12998
12999 [BZ #23024]
13000 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13001 early when linux sentinel value is set.
13002
13003 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13004
13005 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13006
13007 2018-03-27 Andreas Schwab <schwab@suse.de>
13008
13009 [BZ #23005]
13010 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13011 allocation of private copy of nsaddr_list fails.
13012
13013 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13014
13015 [BZ #16552]
13016 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13017 * sysdeps/unix/sysv/linux/umount.c: ... here.
13018 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13019 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13020 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13021 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13023 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13024 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13025
13026 2018-03-26 Andreas Schwab <schwab@suse.de>
13027
13028 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13029 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13030 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13031 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13032 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13033 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13034 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13035 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13036 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13037 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13038 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13039 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13040 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13041 (R_RISCV_NUM): Define.
13042
13043 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13044
13045 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13046 TLS declaration of errno.
13047 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13048 __libc_setup_tls.
13049 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13050 (ARCH_SETUP_TLS): Likewise.
13051 * sysdeps/mach/hurd/libc-start.h: New file copied from
13052 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
13053 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13054 instead of __libc_setup_tls.
13055 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
13056 __libc_setup_tls before initializing libpthread and running _hurd_init
13057 which starts the signal thread.
13058 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13059 Declare function.
13060 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13061
13062 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13063
13064 [BZ #22998]
13065 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13066 after it is defined.
13067
13068 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13069 Max Horn <max@quendi.de>
13070
13071 [BZ #22644]
13072 CVE-2017-18269
13073 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13074 branch conditions.
13075 * string/test-memmove.c (do_test2): New testcase.
13076
13077 2018-03-22 Joseph Myers <joseph@codesourcery.com>
13078
13079 * sysdeps/generic/frame.h: Remove file.
13080 * sysdeps/arm/frame.h: Likewise.
13081 * sysdeps/hppa/frame.h: Likewise.
13082 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13083 macro.
13084 (GET_FRAME): Likewise.
13085 (GET_STACK): Likewise.
13086 (CALL_SIGHANDLER): Likewise.
13087 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13088 Likewise.
13089 (GET_FRAME): Likewise.
13090 (GET_STACK): Likewise.
13091 (CALL_SIGHANDLER): Likewise.
13092 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13093 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13094 (GET_FRAME): Likewise.
13095 (GET_STACK): Likewise.
13096 (CALL_SIGHANDLER): Likewise.
13097 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13098 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13099 (GET_FRAME): Likewise.
13100 (GET_STACK): Likewise.
13101 (ADVANCE_STACK_FRAME): Likewise.
13102 (CALL_SIGHANDLER): Likewise.
13103 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13104 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13105 (GET_FRAME): Likewise.
13106 (GET_STACK): Likewise.
13107 (CALL_SIGHANDLER): Likewise.
13108 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13109 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13110 (GET_FRAME): Likewise.
13111 (GET_STACK): Likewise.
13112 (CALL_SIGHANDLER): Likewise.
13113 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13114 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13115 (GET_FRAME): Likewise.
13116 (GET_STACK): Likewise.
13117 (CALL_SIGHANDLER): Likewise.
13118 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13119 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13120 (GET_FRAME): Likewise.
13121 (GET_STACK): Likewise.
13122 (CALL_SIGHANDLER): Likewise.
13123 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13124 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13125 (GET_FRAME): Likewise.
13126 (GET_STACK): Likewise.
13127 (CALL_SIGHANDLER): Likewise.
13128 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13129 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13130 (GET_FRAME): Likewise.
13131 (GET_STACK): Likewise.
13132 (CALL_SIGHANDLER): Likewise.
13133 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13134 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13135 (GET_FRAME): Likewise.
13136 (GET_STACK): Likewise.
13137 (CALL_SIGHANDLER): Likewise.
13138 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13139 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13140 (GET_FRAME): Likewise.
13141 (GET_STACK): Likewise.
13142 (CALL_SIGHANDLER): Likewise.
13143 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13144 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13145 (GET_FRAME): Likewise.
13146 (GET_STACK): Likewise.
13147 (CALL_SIGHANDLER): Likewise.
13148 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13149 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13150 (FIRST_FRAME_POINTER): Likewise.
13151 (ADVANCE_STACK_FRAME): Likewise.
13152 (GET_STACK): Likewise.
13153 (GET_FRAME): Likewise.
13154 (CALL_SIGHANDLER): Likewise.
13155 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13156 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13157 (ADVANCE_STACK_FRAME): Likewise.
13158 (GET_STACK): Likewise.
13159 (GET_FRAME): Likewise.
13160 (CALL_SIGHANDLER): Likewise.
13161 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13162 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13163 (GET_FRAME): Likewise.
13164 (GET_STACK): Likewise.
13165 (CALL_SIGHANDLER): Likewise.
13166 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13167 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13168 (GET_FRAME): Likewise.
13169 (GET_STACK): Likewise.
13170 (CALL_SIGHANDLER): Likewise.
13171
13172 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13173
13174 * sysdeps/x86_64/backtrace.c: Move to ....
13175 * debug/backtrace.c: ... here.
13176 * sysdeps/aarch64/backtrace.c: Remove file.
13177 * sysdeps/alpha/backtrace.c: Likewise.
13178 * sysdeps/hppa/backtrace.c: Likewise.
13179 * sysdeps/ia64/backtrace.c: Likewise.
13180 * sysdeps/mips/backtrace.c: Likewise.
13181 * sysdeps/nios2/backtrace.c: Likewise.
13182 * sysdeps/riscv/backtrace.c: Likewise.
13183 * sysdeps/sh/backtrace.c: Likewise.
13184 * sysdeps/tile/backtrace.c: Likewise.
13185
13186 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13187
13188 [BZ #22987]
13189 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13190 function.
13191 (fdimf): Likewise.
13192 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13193
13194 [BZ #17343]
13195 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13196 possibly overflowing computations.
13197
13198 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13199
13200 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13201 values from Linux-specific section now that it is in the GNU section.
13202 * sysdeps/gnu/errlist.c: Regenerate.
13203
13204 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13205
13206 * math/Makefile (libm-narrow-fns): Add sub.
13207 (libm-test-funcs-narrow): Likewise.
13208 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13209 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13210 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13211 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13212 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13213 (NARROW_SUB_TRIVIAL): Likewise.
13214 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13215 macro.
13216 (__dsubl): Likewise.
13217 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13218 dsub.
13219 (CFLAGS-nldbl-dsub.c): New variable.
13220 (CFLAGS-nldbl-fsub.c): Likewise.
13221 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13222 __nldbl_dsubl.
13223 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13224 prototype.
13225 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13226 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13227 * math/auto-libm-test-in: Add tests of sub.
13228 * math/auto-libm-test-out-narrow-sub: New generated file.
13229 * math/libm-test-narrow-sub.inc: New file.
13230 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13231 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13232 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13233 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13234 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13235 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13236 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13237 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13238 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13239 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13240 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13241 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13242 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13243 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13244 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13245 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13246 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13247 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13249 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13250 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13251 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13252 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13253 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13254 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13255 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13256 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13257 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13258 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13259 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13260 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13261 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13266 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13267 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13268 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13269 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13270 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13271 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13272 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13273 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13274 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13275 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13276
13277 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13278
13279 [BZ #20079]
13280 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13281
13282 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13283
13284 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13285
13286 2018-03-18 Richard Braun <rbraun@sceen.net>
13287
13288 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13289 thread reference.
13290
13291 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13292
13293 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13294 (__libc_cleanup_fct): Define function.
13295 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13296 __libc_cleanup_end): Rewrite implementation using
13297 __attribute__ ((__cleanup__)).
13298 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13299 * hurd/Makefile (routines): Add hurdlock.
13300 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13301 interface.
13302 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13303 * hurd/hurdpid.c: Include <lowlevellock.h>
13304 (_S_msg_proc_newids): Use lll_wait to synchronize.
13305 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13306 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13307 * mach/Makefile (lock-headers): Remove machine-lock.h.
13308 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13309 <machine-lock.h>.
13310 (__spin_lock_t): New type.
13311 (__SPIN_LOCK_INITIALIZER): New macro.
13312 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13313 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13314 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13315 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13316 (__mutex_init): Initialize with lll.
13317 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13318 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13319 needing lll.
13320 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13321 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13322 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13323 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13324 (__setpgid): Use lll for synchronization.
13325 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13326 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13327 instead of <cthreads.h>.
13328 (_IO_lock_inexpensive): New macro
13329 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13330 (__libc_lock_self0): New declaration.
13331 (__libc_lock_owner_self): New macro.
13332 (__libc_key_t): Remove type.
13333 (_LIBC_LOCK_INITIALIZER): New macro.
13334 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13335 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13336 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13337 __libc_lock_define_initialized_recursive,
13338 __rtld_lock_define_initialized_recursive,
13339 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13340 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13341 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13342 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13343 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13344 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13345 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13346 New macros.
13347 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13348 * hurd/hurdlock.c: New file.
13349 * hurd/hurdlock.h: New file.
13350 * mach/lowlevellock.h: New file
13351
13352 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13353
13354 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13355 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13356 when opening a symlink with O_NOFOLLOW.
13357 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13358 path when flags contains O_NOFOLLOW.
13359 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13360 if flags contains O_DIRECTORY and the result is a directory.
13361 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13362 oneself when the pointer given in D is nul (as set by ext2fs).
13363 * sysdeps/mach/hurd/mlockall.c: New file.
13364 * sysdeps/mach/hurd/munlockall.c: New file.
13365
13366 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13367
13368 * hurd/hurdsig.c: Include <pthread.h>.
13369 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13370 get the signal thread stack layout.
13371 * hurd/Makefile (headers): Remove threadvar.h.
13372 (inline-headers): Remove threadvar.h.
13373 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13374 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13375 __hurd_threadvar_max, __hurd_errno_location.
13376 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13377 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13378 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13379 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13380 unless TLS is not initialized yet, in which case we do not need a
13381 critical section yet anyway.
13382 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13383 <machine-sp.h>.
13384 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13385 declarations.
13386 (__hurd_threadvar_index): Remove enum.
13387 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13388 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13389 inlines.
13390 (__hurd_reply_port0): New variable declaration.
13391 (__hurd_local_reply_port): New macro.
13392 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13393 (interrupted_reply_port_location): Add thread_t parameter. Use it
13394 with THREAD_TCB to access thread-local variables.
13395 (_hurdsig_abort_rpcs): Pass ss->thread to
13396 interrupted_reply_port_location.
13397 (_hurd_internal_post_signal): Likewise.
13398 (_hurdsig_init): Use presence of cthread_fork instead of
13399 __hurd_threadvar_stack_mask to start signal thread by hand.
13400 Remove signal thread threadvar initialization.
13401 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13402 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13403 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13404 of threadvar.
13405 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13406 __libc_lock_self0.
13407 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13408 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13409 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13410 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13411 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13412 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13413 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13414 define variables.
13415 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13416 <hurd/threadvar.h>.
13417 [IS_IN(rtld)] (rtld_errno): New variable.
13418 [IS_IN(rtld)] (__errno_location): New weak function.
13419 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13420 * sysdeps/mach/hurd/errno.c: Remove file.
13421 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13422 (__fork): Remove THREADVAR_SPACE macro and its use.
13423 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13424 variable.
13425 (init): Do not initialize threadvar.
13426 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13427 symbol.
13428 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13429 __hurd_local_reply_port instead of threadvar.
13430 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13431 _hurd_sigstate fields.
13432 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13433 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13434 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13435 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13436 instead of threadvar.
13437 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13438 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13439 (use_threadvar, global_reply_port): Remove variables.
13440 (__hurd_reply_port0): New variable.
13441 (__mig_get_reply_port): Use __hurd_local_reply_port and
13442 __hurd_reply_port0 instead of threadvar.
13443 (__mig_dealloc_reply_port): Likewise.
13444 (__mig_init): Do not initialize threadvar.
13445 * sysdeps/mach/hurd/profil.c: Fix comment.
13446 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13447 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13448 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13449 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13450 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13451 __cthread_setspecific.
13452 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13453 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13454 __cthread_t instead of cthread_fork, cthread_detach,
13455 pthread_getattr_np, pthread_attr_getstack.
13456 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13457 __cthread_keycreate.
13458 (cthread_getspecific): Rename to __cthread_getspecific.
13459 (cthread_setspecific): Rename to __cthread_setspecific.
13460 (__libc_getspecific): Use __cthread_getspecific instead of
13461 cthread_getspecific.
13462 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13463 __cthread_keycreate instead of cthread_keycreate.
13464 (__libc_setspecific): Use __cthread_setspecific instead of
13465 cthread_setspecific.
13466 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13467 Likewise.
13468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13469 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13470 testing whether it is defined.
13471
13472 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13473
13474 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13475 Define macro.
13476 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13477 * sysdeps/mach/i386/thread_state.h
13478 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13479 i386_THREAD_STATE.
13480 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13481 i386_THREAD_STATE.
13482 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13483
13484 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13485 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13486
13487 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13488 macros.
13489 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13490 descriptor instead of creating a new one.
13491 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13492
13493 * mach/setup-thread.c: Include <ldsodefs.h>.
13494 (__mach_setup_thread): Call _dl_allocate_tls, pass
13495 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13496 MACHINE_THREAD_STATE_FLAVOR, before getting
13497 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13498 MACHINE_THREAD_STATE_FLAVOR with the result.
13499 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13500 MACHINE_THREAD_STATE_FIX_NEW.
13501 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13502 too. Add original thread parameter.
13503
13504 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13505
13506 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13507 Remove inline function.
13508
13509 * sysdeps/i386/fpu/libm-test-ulps: Update.
13510 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13511
13512 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13513
13514 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13515 commit.
13516
13517 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13518
13519 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13520 (__sincos_code): Remove define and undefine.
13521 [__FAST_MATH__] (__sincos): Remove inline function.
13522 [__FAST_MATH__] (__sincosf): Remove inline function.
13523 [__FAST_MATH__] (__sincosl): Remove inline function.
13524 (__atan2l): Remove inline functions.
13525 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13526 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13527 function.
13528 (floor): Remove inline function.
13529 (ceil): Likewise.
13530 [__FAST_MATH__] (__ldexp_code): Remove macro.
13531 [__FAST_MATH__] (ldexp): Remove inline function.
13532 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13533 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13534 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13535 [__USE_ISOC99] (__lrint_code): Remove macro.
13536 [__USE_ISOC99] (__llrint_code): Likewise.
13537 [__USE_ISOC99] (lrintf): Remove inline function.
13538 [__USE_ISOC99] (lrint): Likewise.
13539 [__USE_ISOC99] (lrintl): Likewise.
13540 [__USE_ISOC99] (llrint): Likewise.
13541 [__USE_ISOC99] (llrintf): Likewise.
13542 [__USE_ISOC99] (llrintl): Likewise.
13543
13544 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13545
13546 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13547 (__ieee754_sqrtf): Remove.
13548 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13549 (__ieee754_sqrtf): Remove.
13550 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13551 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13552 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13553 (__ieee754_sqrtf): Remove.
13554 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13555 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13556 (sqrtf): Remove.
13557 (sqrtl): Remove.
13558 (__ieee754_sqrt): Remove.
13559 (__ieee754_sqrtf): Remove.
13560 (__ieee754_sqrtl): Remove.
13561 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13562 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13563 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13564 (__ieee754_sqrtf): Remove.
13565 (__ieee754_sqrtl): Remove.
13566
13567 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13568
13569 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13570 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13571 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13572 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13573 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13574 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13575 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13576 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13577 Likewise.
13578 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13579 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13580 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13581 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13582 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13583 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13584 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13585 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13586 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13587 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13588 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13589 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13590 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13591 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13592 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13593 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13594 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13595 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13596 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13597 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13598 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13599 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13600 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13601 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13602 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13603 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13604 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13605 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13606 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13607 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13608 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13609 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13610 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13611 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13612 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13613 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13614 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13615 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13616 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13617 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13618
13619 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13620
13621 * include/math.h (sqrt): Declare with asm redirect.
13622 (sqrtf): Likewise.
13623 (sqrtl): Likewise.
13624 (sqrtf128): Likewise.
13625 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13626 nonlib and libnldbl with -fmath-errno.
13627 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13628 * math/w_sqrt_template.c: Likewise.
13629 * math/w_sqrtf_compat.c: Likewise.
13630 * math/w_sqrtl_compat.c: Likewise.
13631 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13632 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13633 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13634 complex.h.
13635
13636 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13637
13638 * benchtests/Makefile: Define _ISOMAC.
13639 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13640 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13641 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13642 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13643 * benchtests/bench-timing.h: Define attribute_hidden.
13644
13645 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13646
13647 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13648 mov + lsr.
13649
13650 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13651
13652 [BZ #22963]
13653 * localedata/locales/cs_CZ (mon): Rename to...
13654 (alt_mon): This.
13655 (mon): Import from CLDR (genitive case).
13656
13657 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13658
13659 [BZ #22937]
13660 * localedata/locales/el_CY (abmon): Rename to...
13661 (ab_alt_mon): This.
13662 (abmon): Import from CLDR (abbreviated genitive case).
13663 * localedata/locales/el_GR (abmon): Rename to...
13664 (ab_alt_mon): This.
13665 (abmon): Import from CLDR (abbreviated genitive case).
13666
13667 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13668
13669 [BZ #22932]
13670 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13671
13672 2018-03-15 Robert Buj <robert.buj@gmail.com>
13673
13674 [BZ #22848]
13675 * localedata/locales/ca_ES (abmon): Rename to...
13676 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13677 (mon): Rename to...
13678 (alt_mon): This.
13679 (abmon): Import from CLDR (genitive case, month names preceded by
13680 "de" or "d’").
13681 (mon): Likewise.
13682 (abday): Synchronize with CLDR.
13683 (d_t_fmt): Likewise.
13684 (d_fmt): Likewise.
13685 (am_pm): Likewise.
13686
13687 (LC_TIME): Improve indentation.
13688 (LC_TELEPHONE): Likewise.
13689 (LC_NAME): Likewise.
13690 (LC_ADDRESS): Likewise.
13691
13692 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13693
13694 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13695 (lrintf): Remove definitions used only with old GCC.
13696 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13697 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13698 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13699 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13700 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13701 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13702 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13703 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13704 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13705 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13706 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13707 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13708 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13709 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13710 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13711 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13712 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13713 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13714 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13715 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13716 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13717 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13718 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13719 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13720 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13721 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13722 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13723 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13724
13725 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13726
13727 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13728 instruction to unbreak builds with binutils 2.26 and older.
13729
13730 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13731
13732 * sysdeps/aarch64/strncmp.S (count): New macro.
13733 (strncmp): Store misaligned length in SRC1 in COUNT.
13734 (mutual_align): Adjust.
13735 (misaligned8): Load dword at a time when it is safe.
13736
13737 2018-03-12 Zack Weinberg <zackw@panix.com>
13738
13739 [BZ #1190]
13740 [BZ #19476]
13741 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13742 if the _IO_EOF_SEEN bit is already set; update commentary.
13743 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13744 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13745
13746 * support/support_openpty.c, support/tty.h: New files.
13747 * support/Makefile (libsupport-routines): Add support_openpty.
13748
13749 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13750 New test cases.
13751 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13752 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13753
13754 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13755
13756 * po/pt_BR.po: Update translations.
13757
13758 2018-03-12 David Michael <fedora.dm0@gmail.com>
13759
13760 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13761 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13762 get a port to the startup server.
13763
13764 2018-03-11 Zack Weinberg <zackw@panix.com>
13765
13766 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13767 before nldbl-compat.h.
13768
13769 2018-03-10 Zack Weinberg <zackw@panix.com>
13770
13771 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13772 math.h or math_private.h.
13773
13774 * sysdeps/alpha/fpu/s_isnan.c
13775 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13776 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13777 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13778 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13779 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13780 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13781 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13782 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13783 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13786 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13787 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13788 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13789 Include math_private.h.
13790
13791 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13792 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13793 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13794 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13795 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13796 * sysdeps/powerpc/power7/fpu/s_logb.c:
13797 Include math.h and math_private.h.
13798
13799 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13800 uses of $at in .set noat / .set at.
13801
13802 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13803
13804 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13805 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13806 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13807 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13808 Likewise.
13809
13810 2018-03-09 Florian Weimer <fweimer@redhat.com>
13811
13812 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13813 in comment.
13814
13815 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13816
13817 [BZ #22919]
13818 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13819 Add nop before __startcontext, add explaining comments.
13820
13821 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13822
13823 [BZ #22926]
13824 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13825 empty for __SPE__.
13826 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13827 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13828 Do not build hardware transactional code for __SPE__.
13829 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13830 (__lll_trylock_elision): Likewise.
13831 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13832 (__lll_unlock_elision): Likewise.
13833
13834 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13835 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13836 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13837 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13838 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13839 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13840 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13841 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13842 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13843 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13844 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13845 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13846 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13847 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13848 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13849 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13850 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13851 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13852 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13853 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13854 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13855 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13856 (__ASSUME_CLONE_BACKWARDS): Define.
13857 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13858 __clone2 if __NR_clone2 is defined.
13859 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13860 (__ASSUME_CLONE_BACKWARDS): Likewise.
13861 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13862 (__ASSUME_CLONE_BACKWARDS): Likewise.
13863 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13864 (__ASSUME_CLONE2): Likewise.
13865 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13866 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13867 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13868 variants and the define architecture can use.
13869 (__ASSUME_CLONE_DEFAULT): Define as default.
13870 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13871 (__ASSUME_CLONE_BACKWARDS): Likewise.
13872 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13873 (__ASSUME_CLONE_BACKWARDS): Likewise.
13874 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13875 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13876
13877 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13878
13879 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13880
13881 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13882 time.
13883
13884 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13885 (do_test_limit): Likewise.
13886
13887 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13888 for every implementation.
13889 (do_test): Likewise.
13890
13891 * benchtests/bench-strncmp.c: Convert output to json.
13892
13893 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13894
13895 * io/futimens.c: Add missing start-of-file descriptive comment.
13896 * io/utime.c: Likewise.
13897 * misc/futimesat.c: Likewise.
13898 * misc/utimes.c: Likewise.
13899 * sysdeps/mach/hurd/futimesat.c: Likewise.
13900 * sysdeps/mach/hurd/utimes.c: Likewise.
13901 * sysdeps/posix/utime.c: Likewise.
13902 * sysdeps/posix/utimes.c: Likewise.
13903 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13904 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13905 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13906 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13907
13908 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13909
13910 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13911 hurd_futimes.
13912 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13913 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13914 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13915 (__futimens): Move implementation to...
13916 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13917 utime_tvalue_from_tspec): ... new helper functions.
13918 (hurd_futimens): New function.
13919 * sysdeps/mach/hurd/futimesat.c: New file.
13920 * sysdeps/mach/hurd/utimensat.c: New file.
13921
13922 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13923
13924 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13925 UTIME_OMIT): New macros.
13926 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13927 before reverting to converting time spec to time value and calling
13928 __file_utimes.
13929 * sysdeps/mach/hurd/utime-helper.c: New file.
13930 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
13931 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
13932 reverting to utime_tvalue_from_tval and __file_utimes.
13933 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
13934 (__lutimes): Just call hurd_futimens after lookup.
13935 * sysdeps/mach/hurd/utimes.c: Likewise.
13936
13937 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13938
13939 * bits/sigaction.h: Add include guard.
13940 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
13941 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
13942 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
13943 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
13944 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
13945 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
13946 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
13947 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
13948 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
13949
13950 2018-03-05 Joseph Myers <joseph@codesourcery.com>
13951
13952 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
13953 -Wmaybe-uninitialized for -Os.
13954 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
13955 this disabling.
13956
13957 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13958
13959 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
13960 __INO_T_MATCHES_INO64_T is defined.
13961 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
13962 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
13963 of definition.
13964 * dirent/alphasort64.c: Likewise.
13965 * dirent/scandir.c: Likewise.
13966 * dirent/scandir64-tail.c: Likewise.
13967 * dirent/scandir64.c: Likewise.
13968 * dirent/scandirat.c: Likewise.
13969 * dirent/scandirat64.c: Likewise.
13970 * dirent/versionsort.c: Likewise.
13971 * dirent/versionsort64.c: Likewise.
13972 * include/dirent.h: Likewise.
13973
13974 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
13975 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
13976 for socketpair endpoint.
13977 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
13978 WRITE_BUFFER_SIZE as buffer size for sending socket.
13979 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
13980 issue on system where send is implemented with sendto syscall.
13981 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
13982 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
13983 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
13984 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
13985
13986 [BZ #21269]
13987 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
13988 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
13989 sa_restorer for vDSO case.
13990 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
13991
13992 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13993
13994 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
13995 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
13996 * hurd/hurd/ioctl.h: Include <mach/port.h>
13997 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
13998 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
13999 <mach/mach_types.h> and <mach/message.h>.
14000 (headers): Move mach/param.h to bits/mach/param.h.
14001 * sysdeps/mach/i386/mach/param.h: Move file to ...
14002 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14003 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14004 of <mach/param.h>.
14005 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14006 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14007 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14008 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14009 trivial, for C++ conformity.
14010 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14011 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14012 Process mig output through $(migheadersed).
14013 * hurd/Makefile (migheadersed): Define variable.
14014 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14015 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14016 headers.
14017 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14018 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14019 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14020 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14021 <bits/types/sigset_t.h>.
14022 [!defined __USE_GNU]: Do not #error out.
14023 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14024 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14025 Include <stddef.h> and <bits/types/sigset_t.h>
14026 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14027 instead of sighandler_t.
14028 * stdlib/errno.h (error_t): Move definition to...
14029 * bits/types/error_t.h: ... new header.
14030 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14031 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14032 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14033 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14034 * hurd/hurd.h: Include <bits/types/error_t.h>
14035 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14036 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14037 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14038 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14039 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14040 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
14041 * sysdeps/mach/hurd/futimens.c: New file.
14042
14043 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14044
14045 [BZ #22918]
14046 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14047 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14048 * nscd/gai.c (__nss_hosts_database): Readd definition.
14049 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14050 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14051 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14052
14053 2018-03-02 Joseph Myers <joseph@codesourcery.com>
14054
14055 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14056 (ifunc_one): Likewise.
14057
14058 2018-03-01 DJ Delorie <dj@delorie.com>
14059
14060 [BZ #22342]
14061 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14062 key value.
14063
14064 2018-03-01 Maciej W. Rozycki <macro@mips.com>
14065
14066 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14067 `match_pid' parameter.
14068 (td_ta_thr_iter): Update accordingly.
14069
14070 2018-03-01 Florian Weimer <fweimer@redhat.com>
14071
14072 * nptl/Makefile (install-lib-ldscripts): Remove.
14073 (install): Remove rule.
14074 ($(inst_libdir)/libpthread.so): Likewise.
14075
14076 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14077
14078 [BZ #22896]
14079 * localedata/locales/an_ES: update month and day names,
14080 improve d_fmt, improve postal_fmt, add country_post,
14081 add country_isbn
14082
14083 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14084
14085 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14086 Ukrainian instead of Bulgarian.
14087
14088 2018-03-01 Florian Weimer <fweimer@redhat.com>
14089
14090 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14091 reference.
14092
14093 2018-03-01 Florian Weimer <fweimer@redhat.com>
14094
14095 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14096 * nptl/Makefile (routines): Add pthread_atfork.
14097 (static-only-routines): Set to pthread_atfork.
14098 (libpthread-routines): Remove pthread_atfork.
14099 (libpthread-static-only-routines): Remove.
14100 (install): Update comment.
14101 (libpthread.so): Do not install libpthread_nonshared.a.
14102 (tests): Do not link with libpthread_nonshared.a.
14103 (generated): Remove libpthread_nonshared.a.
14104 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14105 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14106 with libpthread_nonshared.a.
14107
14108 2018-02-28 Joseph Myers <joseph@codesourcery.com>
14109
14110 [BZ #22902]
14111 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14112 (libc_feholdexcept_setroundf128): New macro.
14113 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14114
14115 [BZ #15105]
14116 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14117 libc_hidden_def.
14118 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14119 * include/inttypes.h: New file.
14120
14121 2018-02-27 Joseph Myers <joseph@codesourcery.com>
14122
14123 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14124 -Os in two more places.
14125
14126 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14127
14128 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14129 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14130 be sorted correctly at the moment because of a bug.
14131
14132 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14133
14134 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14135 treat ñ as a primary different character, sync the collation
14136 for Spanish with CLDR.
14137 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14138 * localedata/Makefile: Add new test files.
14139 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14140 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14141 collation order.
14142 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14143 * localedata/am_ET.UTF-8.in: New test file.
14144 * localedata/az_AZ.UTF-8.in: Likewise.
14145 * localedata/be_BY.UTF-8.in: Likewise.
14146 * localedata/ber_DZ.UTF-8.in: Likewise.
14147 * localedata/ber_MA.UTF-8.in: Likewise.
14148 * localedata/bg_BG.UTF-8.in: Likewise.
14149 * localedata/br_FR.UTF-8.in: Likewise.
14150 * localedata/cmn_TW.UTF-8.in: Likewise.
14151 * localedata/crh_UA.UTF-8.in: Likewise.
14152 * localedata/csb_PL.UTF-8.in: Likewise.
14153 * localedata/cv_RU.UTF-8.in: Likewise.
14154 * localedata/cy_GB.UTF-8.in: Likewise.
14155 * localedata/dz_BT.UTF-8.in: Likewise.
14156 * localedata/eo.UTF-8.in: Likewise.
14157 * localedata/es_ES.UTF-8.in: Likewise.
14158 * localedata/fa_IR.UTF-8.in: Likewise.
14159 * localedata/fi_FI.UTF-8.in: Likewise.
14160 * localedata/fil_PH.UTF-8.in: Likewise.
14161 * localedata/fur_IT.UTF-8.in: Likewise.
14162 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14163 * localedata/ha_NG.UTF-8.in: Likewise.
14164 * localedata/ig_NG.UTF-8.in: Likewise.
14165 * localedata/ik_CA.UTF-8.in: Likewise.
14166 * localedata/kk_KZ.UTF-8.in: Likewise.
14167 * localedata/ku_TR.UTF-8.in: Likewise.
14168 * localedata/ky_KG.UTF-8.in: Likewise.
14169 * localedata/ln_CD.UTF-8.in: Likewise.
14170 * localedata/mi_NZ.UTF-8.in: Likewise.
14171 * localedata/ml_IN.UTF-8.in: Likewise.
14172 * localedata/mn_MN.UTF-8.in: Likewise.
14173 * localedata/mr_IN.UTF-8.in: Likewise.
14174 * localedata/mt_MT.UTF-8.in: Likewise.
14175 * localedata/nb_NO.UTF-8.in: Likewise.
14176 * localedata/om_KE.UTF-8.in: Likewise.
14177 * localedata/os_RU.UTF-8.in: Likewise.
14178 * localedata/ps_AF.UTF-8.in: Likewise.
14179 * localedata/ro_RO.UTF-8.in: Likewise.
14180 * localedata/ru_RU.UTF-8.in: Likewise.
14181 * localedata/sc_IT.UTF-8.in: Likewise.
14182 * localedata/se_NO.UTF-8.in: Likewise.
14183 * localedata/sq_AL.UTF-8.in: Likewise.
14184 * localedata/sv_SE.UTF-8.in: Likewise.
14185 * localedata/szl_PL.UTF-8.in: Likewise.
14186 * localedata/tg_TJ.UTF-8.in: Likewise.
14187 * localedata/tk_TM.UTF-8.in: Likewise.
14188 * localedata/tt_RU.UTF-8.in: Likewise.
14189 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14190 * localedata/ug_CN.UTF-8.in: Likewise.
14191 * localedata/uz_UZ.UTF-8.in: Likewise.
14192 * localedata/vi_VN.UTF-8.in: Likewise.
14193 * localedata/yi_US.UTF-8.in: Likewise.
14194 * localedata/yo_NG.UTF-8.in: Likewise.
14195 * localedata/zh_CN.UTF-8.in: Likewise.
14196 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14197 file and fix bugs in the collation.
14198 * localedata/locales/az_AZ: Likewise.
14199 * localedata/locales/be_BY: Likewise.
14200 * localedata/locales/ber_DZ: Likewise.
14201 * localedata/locales/ber_MA: Likewise.
14202 * localedata/locales/bg_BG: Likewise.
14203 * localedata/locales/br_FR: Likewise.
14204 * localedata/locales/br_FR@euro: Likewise.
14205 * localedata/locales/ca_ES: Likewise.
14206 * localedata/locales/cns11643_stroke: Likewise.
14207 * localedata/locales/crh_UA: Likewise.
14208 * localedata/locales/cs_CZ: Likewise.
14209 * localedata/locales/csb_PL: Likewise.
14210 * localedata/locales/cv_RU: Likewise.
14211 * localedata/locales/cy_GB: Likewise.
14212 * localedata/locales/da_DK: Likewise.
14213 * localedata/locales/dz_BT: Likewise.
14214 * localedata/locales/en_CA: Likewise.
14215 * localedata/locales/eo: Likewise.
14216 * localedata/locales/es_CU: Likewise.
14217 * localedata/locales/es_EC: Likewise.
14218 * localedata/locales/es_ES: Likewise.
14219 * localedata/locales/es_US: Likewise.
14220 * localedata/locales/et_EE: Likewise.
14221 * localedata/locales/fa_IR: Likewise.
14222 * localedata/locales/fi_FI: Likewise.
14223 * localedata/locales/fil_PH: Likewise.
14224 * localedata/locales/fur_IT: Likewise.
14225 * localedata/locales/gez_ER@abegede: Likewise.
14226 * localedata/locales/ha_NG: Likewise.
14227 * localedata/locales/hr_HR: Likewise.
14228 * localedata/locales/hsb_DE: Likewise.
14229 * localedata/locales/hu_HU: Likewise.
14230 * localedata/locales/ig_NG: Likewise.
14231 * localedata/locales/ik_CA: Likewise.
14232 * localedata/locales/is_IS: Likewise.
14233 * localedata/locales/iso14651_t1_pinyin: Likewise.
14234 * localedata/locales/kk_KZ: Likewise.
14235 * localedata/locales/ku_TR: Likewise.
14236 * localedata/locales/ky_KG: Likewise.
14237 * localedata/locales/ln_CD: Likewise.
14238 * localedata/locales/lt_LT: Likewise.
14239 * localedata/locales/lv_LV: Likewise.
14240 * localedata/locales/mi_NZ: Likewise.
14241 * localedata/locales/ml_IN: Likewise.
14242 * localedata/locales/mn_MN: Likewise.
14243 * localedata/locales/mr_IN: Likewise.
14244 * localedata/locales/mt_MT: Likewise.
14245 * localedata/locales/nb_NO: Likewise.
14246 * localedata/locales/om_KE: Likewise.
14247 * localedata/locales/os_RU: Likewise.
14248 * localedata/locales/pl_PL: Likewise.
14249 * localedata/locales/ps_AF: Likewise.
14250 * localedata/locales/ro_RO: Likewise.
14251 * localedata/locales/ru_RU: Likewise.
14252 * localedata/locales/ru_UA: Likewise.
14253 * localedata/locales/sc_IT: Likewise.
14254 * localedata/locales/se_NO: Likewise.
14255 * localedata/locales/si_LK: Likewise.
14256 * localedata/locales/sq_AL: Likewise.
14257 * localedata/locales/sv_FI: Likewise.
14258 * localedata/locales/sv_FI@euro: Likewise.
14259 * localedata/locales/sv_SE: Likewise.
14260 * localedata/locales/szl_PL: Likewise.
14261 * localedata/locales/tg_TJ: Likewise.
14262 * localedata/locales/ti_ER: Likewise.
14263 * localedata/locales/tk_TM: Likewise.
14264 * localedata/locales/tl_PH: Likewise.
14265 * localedata/locales/tr_TR: Likewise.
14266 * localedata/locales/tt_RU: Likewise.
14267 * localedata/locales/tt_RU@iqtelif: Likewise.
14268 * localedata/locales/ug_CN: Likewise.
14269 * localedata/locales/uk_UA: Likewise.
14270 * localedata/locales/uz_UZ: Likewise.
14271 * localedata/locales/uz_UZ@cyrillic: Likewise.
14272 * localedata/locales/vi_VN: Likewise.
14273 * localedata/locales/yi_US: Likewise.
14274 * localedata/locales/yo_NG: Likewise.
14275
14276 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14277
14278 * gen-locales.mk: Make test files which contain @ modifiers in their
14279 name work.
14280 * localedata/gen-locale.sh: Likewise.
14281
14282 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14283
14284 * posix/tst-fnmatch.input: Fix results for range expressions
14285 for non C locales.
14286 * posix/tst-regexloc.c: Do not use a range expression for
14287 de_DE.ISO-8859-1 locale.
14288
14289 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14290
14291 * posix/bug-regex5.c: Fix test case because with the new
14292 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14293 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14294 file.
14295
14296 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14297
14298 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14299 downloaded from ISO, the collation order of @-. and space has changed.
14300 Therefore, this test file needed to be adapted.
14301 * localedata/fr_CA.UTF-8.in: Likewise.
14302 * localedata/fr_FR.UTF-8.in: Likewise.
14303 * localedata/uk_UA.UTF-8.in: Likewise.
14304
14305 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14306
14307 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14308 order of ȥ in the new iso14651_t1_common file.
14309 * localedata/pl_PL.UTF-8.in: Likewise.
14310
14311 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14312
14313 * localedata/locales/iso14651_t1_common: Add sections for various
14314 scripts to the iso14651_t1_common file.
14315
14316 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14317
14318 * localedata/locales/iso14651_t1_common: Use the code point of a
14319 character in the fourth collation level instead of IGNORE for all
14320 entries which have IGNORE on all 4 levels.
14321
14322 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14323
14324 * localedata/locales/iso14651_t1_common: Add some convenient collation
14325 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14326 rules similar to those in CLDR.
14327
14328 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14329
14330 * localedata/locales/iso14651_t1_common: The new version of this
14331 file downloaded from ISO contained several syntax errors which
14332 are fixed by this patch.
14333
14334 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14335
14336 * localedata/locales/iso14651_t1_common: replace all <U.....>
14337 with <U000.....> because glibc understands only 4 digit or 8 digit
14338
14339 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14340
14341 * localedata/locales/iso14651_t1_common: Necessary changes
14342 to make the file downloaded from ISO usable by glibc.
14343
14344 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14345
14346 [BZ #14095]
14347 * localedata/locales/iso14651_t1_common: Update file to
14348 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14349
14350 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14351
14352 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14353 of <nptl/pthreadP.h>
14354 (thread_attr_compare): Move function to...
14355 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14356 * sysdeps/nptl/timer_routines.h: ... new header.
14357 * sysdeps/mach/hurd/gai_misc.h: New file.
14358
14359 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14360
14361 * string/strcoll_l.c: Include <libc-diag.h>.
14362 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14363 declarations of seq1 and seq2.
14364
14365 [BZ #15105]
14366 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14367 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14368
14369 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14370
14371 [BZ #22433]
14372 [BZ #22807]
14373 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14374 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14375 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14376 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14377 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14378 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14379
14380 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14381
14382 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14383 macros used in __ptrace_request.
14384
14385 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14386
14387 [BZ #22792]
14388 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14389 to $(CC).
14390 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14391 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14392 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14393 <tcb-offsets.h>.
14394
14395 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14396
14397 [BZ #15105]
14398 * ctype/ctype.c (tolower): Use libc_hidden_def.
14399 (toupper): Likewise.
14400 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14401 [!_ISOMAC] (toupper): Likewise.
14402
14403 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14404
14405 * localedata/Makefile: Remove --quiet argument when
14406 installing locales
14407
14408 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14409
14410 [BZ #17438]
14411 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14412 in d_fmt.
14413 * localedata/locales/pt_PT (LC_TIME): likewise
14414
14415 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14416
14417 [BZ #22646]
14418 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14419 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14420 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14421
14422 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14423
14424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14425
14426 * nptl/Makefile (routines): Remove unregister-atfork.
14427 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14428 (fork_handler_alloc): Remove function.
14429 (fork_handlers, fork_handler_init): New variables.
14430 (__fork_lock): Rename to atfork_lock.
14431 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14432 to use a dynamic array to add/remove atfork handlers.
14433 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14434 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14435 Remove declaration.
14436 (fork_handler): Remove next, refcntr, and need_signal member.
14437 (__run_fork_handler_type): New enum.
14438 (__run_fork_handlers): New prototype.
14439 * nptl/register-atfork.c: Remove file.
14440 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14441
14442 * sysdeps/nptl/nptl-signals.h: Move to ...
14443 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14444 comments.
14445 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14446 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14447 unnecessary check for SIGTIMER.
14448 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14449 remove unnecessary removal of SIGTIMER.
14450 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14451 include-signals.h rename.
14452 * nptl/pthreadP.h: Likewise.
14453 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14454 __is_internal_signal instead of __nptl_is_internal_signal.
14455
14456 2018-02-22 Andrew Waterman <andrew@sifive.com>
14457
14458 [BZ # 22884]
14459 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14460 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14461 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14462 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14463
14464 2018-02-22 DJ Delorie <dj@delorie.com>
14465
14466 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14467
14468 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14469
14470 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14471 do_misaligned, not misaligned8.
14472
14473 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14474
14475 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14476 Add memcpy_thunderx2.
14477 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14478 Increment to 4.
14479 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14480 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14481 and IS_THUNDERX2PA checks.
14482 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14483 Use macro to set name appropriately.
14484 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14485 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14486 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14487 New macro.
14488 (IS_THUNDERX2): New macro.
14489
14490 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14491
14492 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14493
14494 2018-02-21 Zack Weinberg <zackw@panix.com>
14495
14496 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14497 Define here, unconditionally.
14498 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14499 * libio/libioP.h: Remove #if 0 blocks.
14500 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14501 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14502 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14503
14504 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14505 Assume weak_alias is always defined.
14506
14507 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14508 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14509 Remove #if 0 and #ifdef TODO blocks.
14510 Assume text_set_element is always defined.
14511
14512 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14513 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14514 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14515
14516 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14517 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14518 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14519 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14520 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14521 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14522 Reformat bit flags for _flags field to make occupancy clearer.
14523 Update commentary.
14524 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14525 Keep definitions consistent with those in libio/libio.h.
14526
14527 * libio/libio.h (_IO_file_flags): Remove macro.
14528 All uses changed to _flags.
14529
14530 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14531 (__HAVE_COLUMN, _IO_BE): Don't define.
14532 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14533 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14534 * libio/libioP.h (EOF): Don't define.
14535 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14536 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14537 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14538 testing _IO_UNIFIED_JUMPTABLES.
14539
14540 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14541 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14542 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14543 (_IO_size_t): Delete; all uses changed to size_t.
14544 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14545 (_IO_off_t): Delete; all uses changed to off_t.
14546 (_IO_off64_t): Delete; all uses changed to off64_t.
14547 (_IO_pid_t): Delete; all uses changed to pid_t.
14548 (_IO_uid_t): Delete; all uses changed to uid_t.
14549 (_IO_wint_t): Delete; all uses changed to wint_t.
14550 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14551 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14552 (_IO_cookie_io_functions_t): Delete; all uses changed to
14553 cookie_io_functions_t.
14554 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14555 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14556 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14557 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14558
14559 * libio/iofopncook.c: Remove unnecessary forward declarations.
14560 * libio/iolibio.h: Correct outdated commentary.
14561 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14562 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14563 Remove unnecessary casts.
14564 * stdio-common/getline.c: Use _IO_getdelim directly.
14565 Don't redefine ssize_t.
14566 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14567 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14568 Remove outdated comments.
14569 * stdio-common/vfscanf.c: Don't redefine va_list.
14570
14571 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14572 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14573 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14574 which are always true, and __cplusplus, which is always false.
14575
14576 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14577
14578 [BZ #15105]
14579 [BZ #19463]
14580 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14581 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14582 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14583 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14584 libc_hidden_proto.
14585 [!_ISOMAC] (putc_unlocked): Likewise.
14586 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14587 define inline if [__USE_EXTERN_INLINES].
14588 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14589 putc_unlocked.
14590
14591 [BZ #15105]
14592 [BZ #19463]
14593 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14594 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14595 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14596 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14597 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14598 getc_unlocked.
14599 * time/tzfile.c (__tzfile_read): Likewise.
14600
14601 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14602
14603 [BZ #22517]
14604 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14605
14606 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14607
14608 * io/fcntl.h: Fix a typo in a comment.
14609
14610 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14611
14612 [BZ #22862]
14613 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14614 define _DEFAULT_SOURCE.
14615 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14616
14617 2018-02-21 Florian Weimer <fweimer@redhat.com>
14618
14619 [BZ #20890]
14620 * elf/cache.c (save_cache): Call fsync on temporary file before
14621 renaming it.
14622 (save_aux_cache): Call fdatasync on temporary file before renaming
14623 it.
14624
14625 2018-02-21 Florian Weimer <fweimer@redhat.com>
14626
14627 [BZ #22787]
14628 * include/caller.h: Remove file.
14629 * elf/dl-caller.c: Likewise.
14630 * elf/Makefile (dl-routines): Remove dl-caller.
14631 (shared-only-routines): Do not add dl-caller.
14632 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14633 __check_caller.
14634 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14635 member.
14636 (dl_open_worker): Do not call __check_caller.
14637 (_dl_open): Do not set caller_dl_open member.
14638 * elf/rtld.c (_rtld_global_ro): Do not initialize
14639 _dl_check_caller member.
14640 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14641 _dl_check_caller member.
14642 (_dl_check_caller): Remove declaration.
14643 * sysdeps/unix/sysv/linux/dl-execstack.c
14644 (_dl_make_stack_executable): Do not call __check_caller.
14645
14646 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14647
14648 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14649 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14650
14651 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14652
14653 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14654 description.
14655
14656 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14657
14658 [BZ #16335]
14659 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14660 of 199606L, 200112L, and 200809L.
14661 (_XOPEN_SOURCE): Document special values of 600 and 700.
14662 (_ISOC11_SOURCE): Document macro.
14663 (_ATFILE_SOURCE): Likewise.
14664 (_FORTIFY_SOURCE): Likewise.
14665
14666 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14667
14668 [BZ #15105]
14669 [BZ #19463]
14670 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14671 and define as weak alias of __ferror_unlocked. Use
14672 libc_hidden_weak.
14673 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14674 libc_hidden_proto.
14675 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14676 function if [__USE_EXTERN_INLINES].
14677 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14678 ferror_unlocked.
14679
14680 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14681
14682 [BZ #6889]
14683 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14684
14685 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14686
14687 [BZ #22818]
14688 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14689 the GLIBC_2.1 version.
14690
14691 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14692
14693 [BZ #21508]
14694 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14695 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14696 intl/tst-gettext-de.po from po/de.po by removing the
14697 POT-Creation-Date line.
14698 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14699 ../po/de.po.
14700 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14701 ../po/de.po.
14702
14703 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14704
14705 * mach/Makefile (headers): Add mach/param.h.
14706 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14707 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14708 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14709 (__ptsname_r): Move implementation to...
14710 (__ptsname_internal): ... new function. Add filling the STP
14711 structure.
14712
14713 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14714
14715 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14716 idouble to 1 ULP.
14717
14718 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14719
14720 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14721 syntax.
14722
14723 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14724
14725 * nptl/Makefile (tst-mutex8-ENV): Delete.
14726 * nptl/tst-mutex8.c (check_type):
14727 Add runtime check if mutex will be elided.
14728
14729 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14730
14731 [BZ #20980]
14732 [BZ #21234]
14733 * manual/install.texi (Configuring and compiling): Describe
14734 passing CC and CFLAGS on configure command line, not as
14735 environment variables. Use @code markup on those variables.
14736 Specify what options go in CC and what go in CFLAGS. Note the
14737 requirement to compile with optimization.
14738 * INSTALL: Regenerated.
14739
14740 [BZ #18124]
14741 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14742 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14743 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14744 __sigprocmask instead of sigprocmask.
14745 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14746 Likewise.
14747 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14748 __sigsetjmp and sigprocmask.
14749
14750 [BZ #15105]
14751 * include/argz.h (argz_next): Use libc_hidden_proto.
14752 (__argz_next): Likewise.
14753 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14754 (argz_next): Use libc_hidden_weak.
14755
14756 [BZ #15105]
14757 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14758 libc_hidden_proto.
14759 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14760 libc_hidden_def.
14761
14762 [BZ #15105]
14763 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14764 libc_hidden_proto.
14765 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14766
14767 [BZ #15105]
14768 [BZ #19463]
14769 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14770 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14771 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14772 (__feof_unlocked): New declaration, and inline function if
14773 [__USE_EXTERN_INLINES].
14774 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14775 instead of feof_unlocked.
14776 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14777 * nss/nsswitch.c (nss_parse_file): Likewise.
14778 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14779 Likewise.
14780 * time/getdate.c (__getdate_r): Likewise.
14781 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14782 Define as macro to call __feof_unlocked.
14783
14784 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14785
14786 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14787
14788 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14789
14790 * math/Makefile: Remove mpexp.c and mplog.c
14791 * sysdeps/i386/fpu/mpexp.c: Delete file.
14792 * sysdeps/i386/fpu/mplog.c: Likewise.
14793 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14794 * sysdeps/ia64/fpu/mplog.c: Likewise.
14795 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14796 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14797 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14798 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14799 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14800 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14801 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14802 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14803 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14804 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14805 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14806 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14807 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14808 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14809 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14810 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14811
14812 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14813
14814 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14815
14816 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14817
14818 * sysdeps/sh/libm-test-ulps: Update.
14819
14820 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14821
14822 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14823 idouble to 1 ULP.
14824
14825 2018-02-12 Zack Weinberg <zackw@panix.com>
14826
14827 [BZ #19239]
14828 * posix/sys/types.h: Don't include sys/sysmacros.h.
14829 * misc/sys/sysmacros.h: Remove the conditional deprecation
14830 warnings for the macros defined by this header.
14831
14832 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14833
14834 * manual/probes.texi: Remove slowexp probes.
14835 * math/Makefile: Remove slowexp.
14836 * sysdeps/generic/math_private.h (__slowexp): Remove.
14837 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14838 document error bounds.
14839 * sysdeps/i386/fpu/slowexp.c: Remove.
14840 * sysdeps/ia64/fpu/slowexp.c: Remove.
14841 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14842 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14843 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14844 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14845 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14846 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14847 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14848 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14849 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14850 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14851 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14852
14853 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14854
14855 [BZ #13932]
14856 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14857 * benchtests/pow-inputs: Update comment for slow path cases.
14858 * manual/probes.texi (slowpow_p10): Delete removed probe.
14859 (slowpow_p10): Likewise.
14860 * math/Makefile: Remove halfulp.c and slowpow.c.
14861 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14862 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14863 (__halfulp): Remove.
14864 (__slowpow): Remove.
14865 * sysdeps/i386/fpu/halfulp.c: Delete file.
14866 * sysdeps/i386/fpu/slowpow.c: Likewise.
14867 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14868 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14869 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14870 improve comments and add error analysis.
14871 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14872 (power1): Remove function:
14873 (log1): Remove error argument, add error analysis.
14874 (my_log2): Remove function.
14875 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14876 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14877 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14878 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14879 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14880 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14881 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14882 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14883 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14884 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14885 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14886 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14887 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14888 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14889
14890 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14891
14892 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14893 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14894
14895 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14896
14897 [BZ #22433]
14898 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14899 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14900 and PTRACE_SETHBPREGS.
14901
14902 2018-02-10 Zack Weinberg <zackw@panix.com>
14903
14904 [BZ #22830]
14905 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14906 correctly.
14907 * malloc/tst-malloc-stats-cancellation.c: New test case.
14908 * malloc/Makefile: Add new test case.
14909
14910 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14911
14912 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14913
14914 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14915
14916 * math/Makefile (libm-narrow-fns): Add add.
14917 (libm-test-funcs-narrow): Likewise.
14918 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14919 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14920 * math/gen-auto-libm-tests.c (test_functions): Add add.
14921 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14922 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14923 (NARROW_ADD_TRIVIAL): Likewise.
14924 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14925 macro.
14926 (__daddl): Likewise.
14927 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14928 dadd.
14929 (CFLAGS-nldbl-dadd.c): New variable.
14930 (CFLAGS-nldbl-fadd.c): Likewise.
14931 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14932 __nldbl_daddl.
14933 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
14934 prototype.
14935 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
14936 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
14937 * math/auto-libm-test-in: Add tests of add.
14938 * math/auto-libm-test-out-narrow-add: New generated file.
14939 * math/libm-test-narrow-add.inc: New file.
14940 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14941 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
14942 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
14943 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
14944 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
14945 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
14946 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
14947 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
14948 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
14949 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
14950 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
14951 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
14952 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
14953 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
14954 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
14955 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
14956 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
14957 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
14958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14959 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14960 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14961 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14962 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14963 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14964 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14965 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14966 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14967 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14968 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14969 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14970 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14971 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14976 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14977 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14978 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14979 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14980 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14981 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14982 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14983 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14984 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14985 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14986
14987 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
14988 (f128-pairs): New variable.
14989 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
14990 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
14991 to CFLAGS.
14992 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
14993 Also make tests add $(f128-loader-link) to gnulib-tests.
14994
14995 2018-02-09 DJ Delorie <dj@redhat.com>
14996
14997 [BZ #22827]
14998 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
14999 64-bit ELF type for 64-bit ELF objects.
15000
15001 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15002
15003 * math/libm-test-driver.c (snan_tests_arg): New variable.
15004 * math/libm-test-support.h (snan_tests_arg): New declaration.
15005 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15006
15007 * math/Makefile (test-type-pairs): New variable.
15008 (test-type-pairs-f64xf128-yes): Likewise.
15009 (tests): Add test-narrow-macros.
15010 (libm-test-funcs-narrow): New variable.
15011 (libm-test-c-narrow): Likewise.
15012 (generated): Add $(libm-test-c-narrow).
15013 (libm-tests-base-narrow): New variable.
15014 (libm-tests-narrow): Likewise.
15015 (libm-tests): Add $(libm-tests-narrow).
15016 (libm-tests-for-type): Handle $(libm-tests-narrow).
15017 (libm-test-c-narrow-obj): New variable.
15018 ($(libm-test-c-narrow-obj)): New rule.
15019 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15020 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15021 $(o-iterator) to set dependencies and CFLAGS.
15022 * math/gen-auto-libm-tests.c: Document use for narrowing
15023 functions.
15024 (output_for_one_input_case): Take argument NARROW.
15025 (generate_output): Likewise. Update call to
15026 output_for_one_input_case.
15027 (main): Take --narrow option. Update call to generate_output.
15028 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15029 (apply_lit): Update call to _apply_lit.
15030 (apply_arglit): New function.
15031 (parse_args): Handle "a" arguments.
15032 (parse_auto_input): Handle format names using ":".
15033 * math/README.libm-test: Document "a" parameter type.
15034 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15035 (ARG_TYPE_TRUE_MIN): Likewise.
15036 (ARG_TYPE_MAX): Likwise.
15037 (ARG_MIN_EXP): Likewise.
15038 (ARG_MAX_EXP): Likewise.
15039 (ARG_MANT_DIG): Likewise.
15040 (TEST_COND_arg_ibm128): Likewise.
15041 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15042 (TEST_COND_arg_fmt): New macro.
15043 (init_max_error): Update prototype.
15044 * math/libm-test-support.c (test_ibm128): New variable.
15045 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15046 instead of using [TEST_COND_ibm128] conditional.
15047 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15048 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15049 [TEST_NARROW] (TEST_MSG): New definition.
15050 (arg_plus_zero): New macro.
15051 (arg_minus_zero): Likewise.
15052 (arg_plus_infty): Likewise.
15053 (arg_minus_infty): Likewise.
15054 (arg_qnan_value_pl): Likewise.
15055 (arg_qnan_value): Likewise.
15056 (arg_snan_value_pl): Likewise.
15057 (arg_snan_value): Likewise.
15058 (arg_max_value): Likewise.
15059 (arg_min_value): Likewise.
15060 (arg_min_subnorm_value): Likewise.
15061 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15062 (RUN_TEST_LOOP_aa_f): New macro.
15063 (TEST_SUFF): New macro.
15064 (TEST_SUFF_STR): Likewise.
15065 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15066 (TEST_COND_any_ibm128): New macro.
15067 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15068 this_func. Update call to init_max_error.
15069 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15070 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15071 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15072 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15073 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15074 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15075 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15076 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15077 * math/test-math-vector.h (TEST_NARROW): Likewise.
15078 * math/test-arg-double.h: New file.
15079 * math/test-arg-float128.h: Likewise.
15080 * math/test-arg-float32x.h: Likewise.
15081 * math/test-arg-float64.h: Likewise.
15082 * math/test-arg-float64x.h: Likewise.
15083 * math/test-arg-ldouble.h: Likewise.
15084 * math/test-math-narrow.h: Likewise.
15085 * math/test-narrow-macros.c: Likewise.
15086 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15087 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15088 test-narrow-macros-ldbl-64.
15089 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15090
15091 * math/bits/mathcalls-narrow.h: New file.
15092 * include/bits/mathcalls-narrow.h: Likewise.
15093 * math/math-narrow.h: Likewise.
15094 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15095 (__MATHCALL_NARROW_ARGS_2): Likewise.
15096 (__MATHCALL_NARROW_ARGS_3): Likewise.
15097 (__MATHCALL_NARROW_NORMAL): Likewise.
15098 (__MATHCALL_NARROW_REDIR): Likewise.
15099 (__MATHCALL_NARROW): Likewise.
15100 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15101 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15102 defined.
15103 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15104 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15105 (libm-narrow-fns): New variable.
15106 (libm-narrow-types-basic): Likewise.
15107 (libm-narrow-types-ldouble-yes): Likewise.
15108 (libm-narrow-types-float128-yes): Likewise.
15109 (libm-narrow-types-float128-alias-yes): Likewise.
15110 (libm-narrow-types): Likewise.
15111 (libm-routines): Add narrowing functions.
15112 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15113 (libc_feholdexcept_setroundf128): New macro.
15114 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15115 * sysdeps/ieee754/float128/float128_private.h: Include
15116 <math/math-narrow.h>.
15117 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15118 Undefine and redefine.
15119 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15120 (libm_alias_float_ldouble): Undefine and redefine.
15121 (libm_alias_double_ldouble): Likewise.
15122
15123 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15124
15125 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15126
15127 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15128 FPCR/FPSR.
15129
15130 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
15131
15132 * manual/creature.texi: Convert references to gcc.info to gcc.
15133 * manual/stdio.texi: Likewise.
15134 * manual/string.texi: Likewise.
15135
15136 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15137
15138 [BZ #17979]
15139 * posix/bits/types.h (__int_least8_t): New typedef.
15140 (__uint_least8_t): Likewise.
15141 (__int_least16_t): Likewise.
15142 (__uint_least16_t): Likewise.
15143 (__int_least32_t): Likewise.
15144 (__uint_least32_t): Likewise.
15145 (__int_least64_t): Likewise.
15146 (__uint_least64_t): Likewise.
15147 * sysdeps/generic/stdint.h (int_least8_t): Define using
15148 __int_least8_t.
15149 (int_least16_t): Define using __int_least16_t.
15150 (int_least32_t): Define using __int_least32_t.
15151 (int_least64_t): Define using __int_least64_t.
15152 (uint_least8_t): Define using __uint_least8_t.
15153 (uint_least16_t): Define using __uint_least16_t.
15154 (uint_least32_t): Define using __uint_least32_t.
15155 (uint_least64_t): Define using __uint_least64_t.
15156 * wcsmbs/uchar.h: Include <bits/types.h>.
15157 (char16_t): Define using __uint_least16_t conditional only on
15158 [!__USE_ISOCXX11].
15159 (char32_t): Define using __uint_least32_t conditional only on
15160 [!__USE_ISOCXX11].
15161 * wcsmbs/test-char-types.c: New file.
15162 * wcsmbs/Makefile (tests): Add test-char-types.
15163
15164 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15165 version to 4.0.1.
15166
15167 2018-02-07 Zack Weinberg <zackw@panix.com>
15168
15169 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15170 Delete all contents except for definitions of _G_HAVE_MMAP and
15171 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15172 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15173 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15174 change as above.
15175
15176 * libio/libio.h: Don't include bits/_G_config.h here.
15177 Include stddef.h with __need_wchar_t defined. Include
15178 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15179 Define _IO_iconv_t here, directly.
15180 Don't define _IO_HAVE_ST_BLKSIZE.
15181 * libio/libioP.h: Include _G_config.h here. Move include of
15182 shlib-compat.h up with rest of includes. Simplify conditionals
15183 controlling definition of _IO_JUMPS_OFFSET.
15184
15185 * csu/init.c: Remove always-true #if around entire file.
15186 Don't include stdio.h. Set _IO_stdin_used to hardwired
15187 constant 0x20001, and update commentary.
15188 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15189 Replace all uses of _G_va_list with __gnuc_va_list.
15190 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15191 instead of #if _IO_HAVE_ST_BLKSIZE.
15192 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15193 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15194 not #ifdef.
15195
15196 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15197 multiple-include guard to match.
15198 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15199 into this file.
15200 Remove preprocessor conditionals that are always true and/or
15201 redundant to other preprocessor conditionals in the same nest.
15202 Include shlib-compat.h unconditionally.
15203 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15204 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15205 defined after including stdio.h.
15206 Use __BEGIN_DECLS/__END_DECLS.
15207
15208 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15209 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15210 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15211
15212 2018-02-07 Zack Weinberg <zackw@panix.com>
15213
15214 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15215 New single-type headers split from _G_config.h.
15216 * libio/bits/types/cookie_io_functions_t.h
15217 * libio/bits/types/struct_FILE.h
15218 New single-type headers split from libio.h.
15219
15220 * libio/Makefile: Install the above new headers. Don't install
15221 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15222 bits/libio-ldbl.h.
15223 * libio/_G_config.h, libio/libio.h: Delete file.
15224
15225 * libio/bits/libio.h: Remove improper-inclusion guard.
15226 Include stdio.h and don't repeat anything that it does.
15227 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15228 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15229 __io_read_fn as cookie_read_function_t,
15230 __io_write_fn as cookie_write_function_t,
15231 __io_seek_fn as cookie_seek_function_t,
15232 __io_close_fn as cookie_close_function_t,
15233 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15234 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15235 here, in the "compatibility defines" section. Remove an #if 0
15236 block. Use the "body" macros from bits/types/struct_FILE.h to
15237 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15238 and _IO_ferror_unlocked.
15239 Move prototypes of __uflow and __overflow...
15240
15241 * libio/stdio.h: ...here. Don't include bits/libio.h.
15242 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15243 directly from stdarg.h. Include bits/types/__fpos_t.h,
15244 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15245 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15246 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15247 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15248 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15249 __ssize_t, not _IO_ssize_t. Unconditionally define
15250 BUFSIZ as 8192 and EOF as (-1).
15251
15252 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15253 macros from bits/types/struct_FILE.h instead of _IO_* macros
15254 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15255 instead of _IO_ssize_t.
15256 * libio/bits/stdio2.h: Similarly.
15257
15258 * libio/iolibio.h: Add multiple-include guard.
15259 Include bits/libio.h after stdio.h.
15260 * libio/libioP.h: Add multiple-include guard.
15261 Include stdio.h and bits/libio.h before iolibio.h.
15262
15263 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
15264 * include/bits/types/cookie_io_functions_t.h
15265 * include/bits/types/struct_FILE.h: New wrappers.
15266
15267 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15268 Get definitions of _G_fpos_t and _G_fpos64_t from
15269 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15270 respectively. Remove improper-inclusion guards.
15271
15272 * conform/data/stdio.h-data: Update expectations of va_list.
15273 * scripts/check-installed-headers.sh: Remove special case for
15274 libio.h and _G_config.h.
15275
15276 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15277
15278 [BZ #15105]
15279 [BZ #19463]
15280 * include/sys/sysmacros.h [!_ISOMAC]
15281 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15282 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15283 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15284 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15285 libc_hidden_proto.
15286 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15287 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15288 Likewise.
15289 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15290 Undefine and redefine to add use __gnu_dev_ prefix.
15291 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15292 Likewise.
15293 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15294 and define as hidden inline function.
15295 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15296 Likewise.
15297 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15298 Likewise.
15299 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15300 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15301 (gnu_dev_minor): Likewise.
15302 (gnu_dev_makedev): Likewise.
15303 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15304 makedev.
15305 * posix/wordexp.c (exec_comm_child): Likewise.
15306 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15307 instead of minor and __gnu_dev_major instead of major.
15308 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15309 __gnu_dev_major instead of major.
15310 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15311 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15312 instead of gnu_dev_minor.
15313 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15314 (SLAVE_P): Likewise.
15315 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15316 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15317 instead of major.
15318
15319 [BZ #21313]
15320 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15321 in another place.
15322 * locale/weightwc.h (findidx): Likewise.
15323
15324 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15325
15326 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15327 (slowlog_inexact): Likewise
15328 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15329 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15330
15331 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15332
15333 [BZ #22797]
15334 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15335 missing second underscore to parameter name.
15336
15337 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15338
15339 [BZ #14508]
15340 [BZ #15512]
15341 [BZ #17082]
15342 [BZ #20530]
15343 * bits/byteswap.h: Update file comment. Do not include
15344 <bits/byteswap-16.h>.
15345 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15346 constant.
15347 (__bswap_16): Define as inline function.
15348 (__bswap_constant_32): Reformat definition.
15349 (__bswap_32): Always define as inline function, not macro, using
15350 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15351 otherwise __bswap_constant_32.
15352 (__bswap_constant_64): Reformat definition. Do not use
15353 __extension__ here.
15354 (__bswap_64): Always define as inline function, not macro. Use
15355 __extension__ on function definition. Use __builtin_bswap64 if
15356 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15357 * string/test-endian-file-scope.c: New file.
15358 * string/test-endian-sign-conversion.c: Likewise.
15359 * string/Makefile (headers): Remove bits/byteswap-16.h.
15360 (tests): Add test-endian-file-scope and
15361 test-endian-sign-conversion.
15362 (CFLAGS-test-endian-sign-conversion.c): New variable.
15363 * bits/byteswap-16.h: Remove file.
15364 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15365 * sysdeps/ia64/bits/byteswap.h: Likewise.
15366 * sysdeps/m68k/bits/byteswap.h: Likewise.
15367 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15368 * sysdeps/s390/bits/byteswap.h: Likewise.
15369 * sysdeps/tile/bits/byteswap.h: Likewise.
15370 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15371 * sysdeps/x86/bits/byteswap.h: Likewise.
15372
15373 [BZ #17721]
15374 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15375 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15376 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15377 199901L] (__restrict): Define to restrict.
15378
15379 [BZ #19667]
15380 * string/testcopy.c: Include <support/support.h>. Do not include
15381 <malloc.h>. Use <support/test-driver.c>.
15382 (main): Rename to do_test. Make static. Use xmalloc instead of
15383 malloc.
15384
15385 [BZ #13575]
15386 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15387 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15388 (SSIZE_MAX): Define to INT_MAX.
15389 * posix/test-ssize-max.c: New file.
15390 * posix/Makefile (tests): Add test-ssize-max.
15391
15392 [BZ #19668]
15393 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15394 <support/support.h>. Do not include <malloc.h>.
15395 (query_auxv): Use xmalloc instead of malloc.
15396
15397 [BZ #14553]
15398 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15399 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15400 instead of loff_t.
15401
15402 2018-02-06 Florian Weimer <fweimer@redhat.com>
15403
15404 [BZ #18023]
15405 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15406 Use scratch_buffer instead of extend_alloca.
15407
15408 2018-02-06 Zack Weinberg <zackw@panix.com>
15409
15410 * libio/stdio.h: Don't define getc or putc as macros.
15411 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15412 not _IO_getc and _IO_putc.
15413
15414 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15415 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15416
15417 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15418
15419 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15420 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15421
15422 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15423
15424 [BZ #14890]
15425 * elf/elf.h (NT_PRFPREG): New macro.
15426 (NT_S390_VXRS_LOW): Likewise.
15427 (NT_S390_VXRS_HIGH): Likewise.
15428 (NT_S390_GS_CB): Likewise.
15429 (NT_S390_GS_BC): Likewise.
15430 (NT_S390_RI_CB): Likewise.
15431
15432 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15433 (MAP_SYNC): New macro.
15434 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15435 Likewise.
15436 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15437 (MAP_SYNC): Likewise.
15438 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15439 (MAP_SYNC): Likewise.
15440 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15441 (MAP_SYNC): Likewise.
15442 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15443 (MAP_SYNC): Likewise.
15444 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15445 (MAP_SYNC): Likewise.
15446 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15447 (MAP_SYNC): Likewise.
15448 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15449 Likewise.
15450 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15451 Likewise.
15452
15453 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15454 (MAP_SHARED_VALIDATE): New macro.
15455 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15456 (MAP_SHARED_VALIDATE): Likewise.
15457
15458 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15459
15460 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15461 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15462 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15463
15464 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15465
15466 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15467 (DT_NUM): Updated to 35.
15468
15469 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15470
15471 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15472 __builtin_expect with __glibc_likely and __glibc_unlikely.
15473 (elf_machine_rela): Likewise.
15474 (elf_machine_lazy_rel): Likewise.
15475
15476 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15477
15478 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15479 __builtin_expect with __glibc_likely and __glibc_unlikely.
15480 (elf_machine_lazy_rel): Likewise.
15481
15482 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15483
15484 [BZ #22638]
15485 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15486 SHARED.
15487 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15488
15489 2018-02-05 Andreas Schwab <schwab@suse.de>
15490
15491 [BZ #22761]
15492 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15493 string.
15494
15495 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15496
15497 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15498 not check against PTHREAD_STACK_MIN.
15499
15500 2018-02-02 Sean McKean <smckean83@gmail.com>
15501
15502 [BZ #22735]
15503 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15504
15505 2018-02-02 Florian Weimer <fweimer@redhat.com>
15506
15507 [BZ #22753]
15508 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15509 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15510 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15511 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15512 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15513 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15514 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15515 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15516 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15517 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15518 * misc/tst-preadvwritev2.c (do_test): Call it.
15519 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15520
15521 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15522
15523 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15524
15525 * benchtests/bench-memcmp.c: Print json instead of plain text.
15526
15527 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15528 every test run.
15529
15530 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15531
15532 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15533 version to 4.15.
15534 (s390_sthyi): New syscall.
15535
15536 * sysdeps/generic/ldbl-classify-compat.h: New file.
15537 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15538 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15539 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15540 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15541 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15542 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15543 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15544 <ldbl-classify-compat.h>.
15545 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15546 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15547 <ldbl-classify-compat.h>.
15548 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15549 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15550 <ldbl-classify-compat.h>.
15551 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15552 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15553 <ldbl-classify-compat.h>.
15554 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15555 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15556 <ldbl-classify-compat.h>.
15557 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15558 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15559 <ldbl-classify-compat.h>.
15560 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15561 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15562 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15563 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15564 * sysdeps/microblaze/math_private.h: Likewise.
15565 * sysdeps/nios2/math_private.h: Likewise.
15566 * sysdeps/sh/math_private.h: Likewise.
15567
15568 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15569 * sysdeps/m68k/coldfire/math_private.h: ... here.
15570 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15571 * sysdeps/tile/math_private.h: Likewise.
15572 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15573 Remove macro.
15574 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15575 Likewise.
15576
15577 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15578 Remove macro.
15579 (libc_fetestexcept): Likewise.
15580 (libc_feupdateenv_test): Likewise.
15581 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15582 (libc_fetestexcept): Likewise.
15583 (libc_feupdateenv_test): Likewise.
15584 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15585 (libc_fetestexcept): Likewise.
15586 (libc_feupdateenv_test): Likewise.
15587 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15588 (libc_fetestexcept): Likewise.
15589 (libc_feupdateenv_test): Likewise.
15590
15591 * sysdeps/generic/math_private.h
15592 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15593 New inline function.
15594 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15595 Likewise.
15596
15597 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15598 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15599 * sysdeps/generic/math_private.h
15600 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15601 inline function.
15602 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15603 Likewise.
15604 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15605 Likewise.
15606 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15607 Likewise.
15608 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15609 Likewise.
15610 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15611 Likewise.
15612 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15613 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15614 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15615 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15616 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15617 (__fegetenv): Likewise.
15618 (fesetenv): Likewise.
15619 (__fesetenv): Likewise.
15620 (feupdateenv): Likewise.
15621 (__feupdateenv): Likewise.
15622 (fegetround): Likewise.
15623 (__fegetround): Likewise.
15624 (fesetround): Likewise.
15625 (__fesetround): Likewise.
15626
15627 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15628 (feraiseexcept): New macro.
15629 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15630 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15631 Remove macro.
15632 (__feraiseexcept): Likewise.
15633 (feclearexcept): Likewise.
15634 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15635 (__feraiseexcept): Likewise.
15636 (feclearexcept): Likewise.
15637 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15638 (__feraiseexcept): Likewise.
15639 (feclearexcept): Likewise.
15640 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15641 (__feraiseexcept): Likewise.
15642 (feclearexcept): Likewise.
15643 (fetestexcept): Likewise.
15644
15645 * sysdeps/m68k/coldfire/math-tests.h: New file.
15646
15647 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15648 * sysdeps/m68k/bits/fenv.h: ... here.
15649 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15650 not define.
15651 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15652 Likewise.
15653 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15654 Likewise.
15655 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15656 Likewise.
15657 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15658 Likewise.
15659 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15660 Define to 0.
15661 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15662 (__FE_UNDEFINED): New enum constant.
15663 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15664 Do not define.
15665 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15666 Likewise.
15667 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15668 Likewise.
15669 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15670 to match generic bits/fenv.h.
15671 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15672 Do not define.
15673
15674 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15675 packed on bits.
15676 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15677 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15678 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15679 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15680
15681 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15682 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15683 Joseph Myers <joseph@codesourcery.com>
15684
15685 [BZ #21314]
15686 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15687 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15688 computation using c.
15689 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15690 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15691 computation using c.
15692
15693 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15694
15695 * version.h (RELEASE): Set to "development".
15696 (VERSION): Set to "2.27.9000".
15697 * NEWS (2.28): New section.
15698
15699 * version.h (RELEASE): Set to "stable".
15700 (VERSION): Set to "2.27".
15701 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15702
15703 * NEWS: Add the list of bugs fixed in 2.27.
15704
15705 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15706
15707 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15708 against PTHREAD_STACK_MIN.
15709
15710 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15711
15712 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15713 New entries.
15714 (Rafal Luzynski, Andreas Schwab): Update.
15715
15716 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15717
15718 [BZ #10871]
15719 * NEWS: List the languages which actually use the alternative
15720 months feature in this release. Also explain that "alt_mon" and
15721 "ab_alt_mon" are optional.
15722
15723 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15724
15725 [BZ #22765]
15726 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15727
15728 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15729
15730 * manual/install.texi (Tools for Compilation): Update the newest
15731 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15732 * INSTALL: Regenerated.
15733
15734 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15735
15736 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15737 instead of __builtin_expect.
15738
15739 2018-01-30 Florian Weimer <fweimer@redhat.com>
15740
15741 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15742 data.
15743 * nss/tst-nss-getpwent.c (do_test): Likewise.
15744
15745 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15746
15747 [BZ #10871]
15748 * localedata/locales/hr_HR (mon): Rename to...
15749 (alt_mon): This.
15750 (mon): Import from CLDR (genitive case).
15751 (d_t_fmt): Update the comment.
15752
15753 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15754
15755 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15756 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15757 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15758
15759 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15760
15761 * mach/Versions: Fix version when __mach_host_self_ was added.
15762 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15763 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15764 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15765 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15766 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15767 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15768 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15769 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15770 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15771 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15772 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15773 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15774 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15775 || to respect codestyle.
15776 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15777 (do_test_bz20181): Rename accordingly.
15778 * malloc/malloc.c: Include <assert.h>.
15779 (assert): Do not define.
15780 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15781 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15782 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15783 * sysdeps/mach/hurd/hp-timing.h: New file.
15784 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15785
15786 2018-01-29 Darius Rad <darius@bluespec.com>
15787
15788 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15789
15790 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15791
15792 * sysdeps/init_array/crti.S (.section .init_array): Add
15793 PREINIT_FUNCTION when defined.
15794 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15795 * config.h.in: Regenerate.
15796 * manual/platform.texi: Add RISC-V documenation for
15797 __riscv_flush_icache.
15798 * sysdeps/riscv/__longjmp.S: New file.
15799 * sysdeps/riscv/backtrace.c: Likewise.
15800 * sysdeps/riscv/bits/endian.h: Likewise.
15801 * sysdeps/riscv/bits/setjmp.h: Likewise.
15802 * sysdeps/riscv/bits/wordsize.h: Likewise.
15803 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15804 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15805 * sysdeps/riscv/dl-trampoline.S: Likewise.
15806 * sysdeps/riscv/gccframe.h: Likewise.
15807 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15808 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15809 * sysdeps/riscv/machine-gmon.h: Likewise.
15810 * sysdeps/riscv/memusage.h: Likewise.
15811 * sysdeps/riscv/setjmp.S: Likewise.
15812 * sysdeps/riscv/sys/asm.h: Likewise.
15813 * sysdeps/riscv/tls-macros.h: Likewise.
15814 * sysdeps/riscv/dl-tls.h: New file.
15815 * sysdeps/riscv/libc-tls.c: Likewise.
15816 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15817 * sysdeps/riscv/nptl/tls.h: Likewise.
15818 * sysdeps/riscv/stackinfo.h: Likewise.
15819 * sysdeps/riscv/bits/fenv.h: New file.
15820 * sysdeps/riscv/e_sqrtl.c: Likewise.
15821 * sysdeps/riscv/fpu_control.h: Likewise.
15822 * sysdeps/riscv/math-tests.h: Likewise.
15823 * sysdeps/riscv/nofpu/Implies: Likewise.
15824 * sysdeps/riscv/sfp-machine.h: Likewise.
15825 * sysdeps/riscv/tininess.h: Likewise.
15826 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15827 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15828 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15829 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15830 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15831 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15832 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15833 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15834 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15835 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15836 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15837 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15838 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15839 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15840 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15841 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15842 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15843 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15844 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15845 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15846 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15847 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15848 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15849 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15850 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15851 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15852 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15853 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15854 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15855 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15856 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15857 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15858 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15859 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15860 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15861 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15862 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15863 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15864 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15865 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15866 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15867 * sysdeps/riscv/rvf/math_private.h: Likewise.
15868 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15869 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15870 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15871 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15872 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15873 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15874 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15875 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15876 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15877 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15878 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15879 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15880 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15881 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15882 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15883 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15884 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15885 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15886 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15887 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15888 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15889 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15890 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15891 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15892 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15893 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15894 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15895 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15896 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15897 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15898 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15899 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15900 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15901 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15902 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15903 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15904 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15905 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15906 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15907 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15908 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15909 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15910 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15911 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15912 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15913 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15914 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15915 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15916 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15917 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15918 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15919 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15920 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15921 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15922 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15923 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15924 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15925 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15926 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15927 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15928 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15929 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15930 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15931 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15932 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15933 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15934 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15935 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15936 * sysdeps/riscv/Implies: New file.
15937 * sysdeps/riscv/Makefile: Likewise.
15938 * sysdeps/riscv/configure: Likewise.
15939 * sysdeps/riscv/configure.ac: Likewise.
15940 * sysdeps/riscv/nptl/Makefile: Likewise.
15941 * sysdeps/riscv/preconfigure: Likewise.
15942 * sysdeps/riscv/rv64/Implies-after: Likewise.
15943 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
15944 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
15945 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
15946 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
15947 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
15948 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
15949 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
15950 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
15951 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
15952 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
15953 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
15954 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
15955 (Config): Likewise.
15956
15957 2018-01-29 Florian Weimer <fweimer@redhat.com>
15958
15959 [BZ #22701]
15960 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
15961 libnsl_hidden_proto.
15962 * include/rpcsvc/yp.h (yp_xdrall): Declare with
15963 libnsl_hidden_proto.
15964 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
15965 * nis/Makefile (libnsl-routines): Add nss-default only for
15966 build-obsolete-nsl.
15967 * nis/nis_defaults.c (__nis_default_ttl): Add
15968 libnsl_hidden_nolink_def.
15969 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
15970 declaration.
15971 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
15972 * nis/ypclnt.c (yp_maplist): Likewise.
15973
15974 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
15975
15976 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15977 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
15978
15979 2018-01-29 Joseph Myers <joseph@codesourcery.com>
15980
15981 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
15982 clean -dxfq for git updates when replacing sources.
15983
15984 * scripts/build-many-glibcs.py (Config.build_gcc): Use
15985 --disable-libcilkrts unconditionally, not just for the final GCC
15986 build for Hurd.
15987
15988 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15989 version to 4.15.
15990
15991 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15992
15993 [BZ #10871]
15994 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
15995 case).
15996
15997 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15998
15999 [BZ #10871]
16000 * localedata/locales/be_BY (mon): Rename to...
16001 (alt_mon): This, then synchronize with CLDR (nominative case).
16002 (abmon): Rename to...
16003 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16004 (mon): Import from CLDR (genitive case).
16005 (abmon): Likewise.
16006 * localedata/locales/be_BY@latin (mon): Rename to...
16007 (alt_mon): This.
16008 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16009
16010 * localedata/locales/be_BY@latin (lang_name): Reworded to
16011 "biełaruskaja mova".
16012
16013 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16014
16015 [BZ #10871]
16016 * localedata/locales/el_CY (mon): Renamed to...
16017 (alt_mon): This.
16018 (mon): Import from CLDR (genitive case).
16019 * localedata/locales/el_GR: Likewise.
16020
16021 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16022
16023 [BZ #10871]
16024 * localedata/locales/ru_RU (mon): Rename to...
16025 (alt_mon): This.
16026 (abmon): Rename to...
16027 (ab_alt_mon): This.
16028 (mon): Import from CLDR (genitive case).
16029 (abmon): Copy from the old content except the 5th month which is
16030 now in the genitive case, even when abbreviated.
16031 * localedata/locales/ru_UA: Likewise.
16032 * time/tst-strptime.c (day_tests): Add an actual example of
16033 a difference between %b and %Ob in Russian.
16034
16035 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16036
16037 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
16038 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16039 a `c' variable.
16040 * resolv/res-close.c: Include <stdlib.h>.
16041 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16042 <sys/wait.h>, <time.h>, <sys/uio.h>.
16043 (NOT_CANCEL_H): Add inclusion guard.
16044 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
16045 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16046 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16047 return 0.
16048 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16049 vm_address_t * to ElfW(Addr) * for dl_main parameter.
16050 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16051 instead of void *.
16052 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16053 timer_ptr2id to cast struct timer_node * to void *.
16054 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16055 --disable-libcilkrts to gcc configure.
16056 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16057 and make them the default for now.
16058 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16059 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
16060 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16061 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16062 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16063 MACH_IPC_COMPAT.
16064 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16065 __task_terminate would ever return successfully.
16066 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16067 to global scope.
16068 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16069 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
16070 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16071 critical section to make code simpler and avoid warning.
16072 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16073 critical section to make code simpler and avoid warning.
16074 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16075 const char * instead of char *.
16076 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16077 __hurd_file_name_split, hurd_file_name_split,
16078 __hurd_directory_name_split, hurd_directory_name_split,
16079 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16080 hurd_file_name_path_lookup): Make lookup function parameter take a
16081 const char *name instead of char *name.
16082 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16083 __hurd_directory_name_split): Likewise.
16084 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16085 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16086 * sysdeps/mach/hurd/check_native.c: New file.
16087 * sysdeps/mach/hurd/check_pf.c: New file.
16088 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16089 (__freeifaddrs): Define macro to freeifaddrs.
16090 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16091 * sysdeps/mach/libmachuser.abilist: New file.
16092 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16093 (do_test_bz20181): Rename accordingly.
16094 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16095 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16096 <sys/mount.h>.
16097 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16098 version only if __USE_EXTERN_INLINES is defined.
16099 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16100 __hurd_sockfail): Likewise.
16101 (_hurd_fd_get): Always declare functions, and provide inline versions
16102 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16103 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16104 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16105 _hurd_port_set): Always declare functions, and provide inline versions
16106 only if __USE_EXTERN_INLINES and _LIBC are defined and
16107 IS_IN(libc).
16108 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16109 _hurd_critical_section_unlock): Likewise.
16110 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16111 * __hurd_threadvar_location): Likewise.
16112 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16113 _hurd_userlink_clear): Likewise.
16114 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16115 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16116 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16117 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16118 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16119 __spin_lock_locked): Likewise.
16120 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16121 __spin_lock_locked): Likewise.
16122 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16123 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16124 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16125 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16126 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
16127 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16128 _POSIX_NO_TRUNC): Define to 0.
16129 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16130 check size against PTHREAD_STACK_MIN.
16131 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16132 IS_IN(libpthread)]: Include <sigsetops.h>.
16133 * mach/Makefile (user-interfaces): Add mach/gnumach.
16134 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16135 * sysdeps/mach/configure (mach_interface_list): Regenerate.
16136 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16137 instead of invalid -1.
16138 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16139 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16140 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16141 <net/ppp_defs.h>.
16142
16143 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
16144
16145 * hurd/fcntl-internal.h: New file.
16146
16147 2018-01-27 James Clarke <jrtc27@jrtc27.com>
16148
16149 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16150
16151 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16152
16153 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16154
16155 [BZ #22701]
16156 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16157 Build only shared objects.
16158
16159 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16160
16161 * README: Update for hppa.
16162
16163 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16164
16165 * sysdeps/sparc/fpu/libm-test-ulps: Update
16166 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16167
16168 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16169
16170 Revert:
16171
16172 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16173
16174 [BZ #22563]
16175 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16176 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16177 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16178 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16179 to feature_1.
16180
16181 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16182
16183 [BZ #22563]
16184 * bits/types/__cancel_jmp_buf_tag.h: New file.
16185 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16186 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16187 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16188 * nptl/Makefile (headers): Add
16189 bits/types/__cancel_jmp_buf_tag.h.
16190 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16191 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16192 * sysdeps/nptl/pthread.h: Include
16193 <bits/types/__cancel_jmp_buf_tag.h>.
16194 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16195 __cancel_jmp_buf.
16196 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16197
16198 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16199
16200 [BZ #10871]
16201 * localedata/locales/uk_UA (mon): Renamed to...
16202 (alt_mon): This.
16203 (alt_digits): "0" removed and then renamed to...
16204 (mon): This.
16205 (date_fmt): Definition changed not to use the alternative
16206 digits hack.
16207
16208 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16209
16210 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16211 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16212 * elf/elf.h (EF_RISCV_RVC): New define.
16213 (EF_RISCV_FLOAT_ABI): Likewise.
16214 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16215 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16216 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16217 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16218 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16219 define.
16220 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16221
16222 2018-01-25 Andreas Schwab <schwab@suse.de>
16223
16224 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16225 single quotes.
16226 * sysdeps/gnu/configure: Regenerate.
16227 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16228 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16230 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16231 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16232 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16233 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16234 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16235
16236 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16237
16238 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16239 URL, and run autoconf, make it the default for now.
16240
16241 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16242
16243 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16244 soft-float ColdFire configuration.
16245
16246 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16247 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16248 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16249
16250 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16251 MicroBlaze file.
16252
16253 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16254 ....
16255 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16256 ... here.
16257 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16258 New file.
16259
16260 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16261 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16262 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16263 file.
16264
16265 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16266
16267 [BZ #22742]
16268 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16269 Rename to __reserved and add comment.
16270 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16271 Rename to __reserved.
16272
16273 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16274
16275 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16276 i686-gnu configurations.
16277 (Context.run_builds): Include mig, gnumach and hurd in components
16278 considered.
16279 (Context.checkout): Add mig, gnumach and hurd to components.
16280 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16281 hurd.
16282 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16283 (Config.build): Install gnumach headers, build mig and install
16284 hurd headers for 'gnu' OS.
16285 (Config.install_gnumach_headers): New function.
16286 (Config.install_hurd_headers): Likewise.
16287 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16288 when building for 'gnu' OS.
16289
16290 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16291
16292 * manual/tunables.texi (Hardware Capability Tunables): Fix
16293 spelling.
16294
16295 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16296
16297 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16298 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16299 (ALTMON_11, ALTMON_12): Improve documentation.
16300 * manual/time.texi (strftime): Likewise.
16301
16302 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16303
16304 [BZ #10871]
16305 * localedata/locales/pl_PL: Alternative month names added,
16306 primary month names are genitive now.
16307 * time/tst-strptime.c (day_tests): Actually use a genitive case
16308 of a month name in Polish language.
16309
16310 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16311
16312 [BZ #10871]
16313 * manual/locale.texi: Document ALTMON_1..12 constants for
16314 nl_langinfo. Specify when to use ALTMON instead of MON.
16315 * manual/time.texi (strftime, strptime): Document GNU extension
16316 permitting O modifier with %B and %b. Specify when to use
16317 %OB instead of %B.
16318
16319 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16320
16321 [BZ #10871]
16322 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16323 names, define them as the same as abbreviated month names explicitly.
16324 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16325 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16326 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16327 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16328 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16329 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16330 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16331 _NL_WABALTMON_12): New enum constants.
16332 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16333 wab_alt_mon, and ab_alt_mon_defined members.
16334 (time_output): Output ab_alt_mon and wab_alt_mon members.
16335 (time_read): Read them, initialize them as copies of abmon and wabmon
16336 respectively if they are missing, initialize ab_alt_mon_defined.
16337 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16338 * locale/programs/locfile-kw.h: Regenerate.
16339 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16340 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16341 and ru_RU.UTF-8.
16342 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16343 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16344 (__strftime_internal): Handle %Ob and %Oh formats.
16345 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16346 (__strptime_internal): Handle %Ob and %Oh formats.
16347 * time/tst-strptime.c (day_tests): Add more tests to parse different
16348 forms of month names including the new %Ob format specifier.
16349
16350 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16351
16352 [BZ #10871]
16353 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16354 define them as the same as primary full month names explicitly.
16355 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16356 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16357 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16358 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16359 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16360 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16361 _NL_WALTMON_12): New enum constants.
16362 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16363 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16364 macros.
16365 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16366 walt_mon, and alt_mon_defined members.
16367 (time_output): Output alt_mon and walt_mon members.
16368 (time_read): Read them, initialize them as copies of mon and wmon
16369 respectively if they are missing, initialize alt_mon_defined.
16370 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16371 * locale/programs/locfile-kw.h: Regenerate.
16372 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16373 * localedata/tst-langinfo.c (map): Add tests for the new constants
16374 ALTMON_1 .. ALTMON_12.
16375 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16376 and pl_PL.UTF-8.
16377 * time/strftime_l.c (f_altmonth): New macro.
16378 (__strftime_internal): Handle %OB format.
16379 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16380 (__strptime_internal): Handle %OB format.
16381 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16382 of month names including the new %OB format specifier.
16383
16384 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16385
16386 [BZ #22685]
16387 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16388 from ABORT_TRANSACTION.
16389 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16390 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16391 ABORT_TRANSACTION_IMPL): Likewise.
16392 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16393 Linux code, but remove the code that aborts transactions.
16394
16395 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16396
16397 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16398
16399 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16400
16401 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16402 in date: "2004-14-09" should be "2004-09-14".
16403 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16404 "2003-15-09" should be "2003-09-15".
16405
16406 2018-01-18 Arjun Shankar <arjun@redhat.com>
16407
16408 [BZ #22343]
16409 [BZ #22774]
16410 CVE-2018-6485
16411 CVE-2018-6551
16412 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16413 after padding.
16414 (_int_memalign): check for integer overflow before calling
16415 _int_malloc.
16416 * malloc/tst-malloc-too-large.c: New test.
16417 * malloc/Makefile: Add tst-malloc-too-large.
16418
16419 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16420
16421 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16422 in date: "2017-24-07" should be "2017-07-24".
16423 * localedata/locales/mai_IN: Likewise.
16424 * localedata/locales/mai_NP: Likewise.
16425
16426 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16427
16428 * po/ru.po: Update translations.
16429
16430 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16431
16432 [BZ #22719]
16433 * sysdeps/hppa/backtrace.c: New file.
16434
16435 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16436
16437 [BZ #22715]
16438 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16439 align La_x86_64_retval to VEC_SIZE.
16440
16441 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16442
16443 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16444 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16445
16446 2018-01-16 Florian Weimer <fweimer@redhat.com>
16447
16448 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16449 Move tst-thread-exit-clobber ...
16450 [$(CXX)] (tests-unsupported): ... to here.
16451
16452 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16453
16454 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16455 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16456 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16457 (_dl_aarch64_cap_flags): Update.
16458 (_DL_HWCAP_COUNT): Update.
16459
16460 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16461
16462 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16463 (_DL_HWCAP_LAST): Remove.
16464 (_DL_HWCAP_COUNT): Move to ...
16465 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16466 (_DL_HWCAP_COUNT): ... here.
16467
16468 2018-01-16 Florian Weimer <fweimer@redhat.com>
16469
16470 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16471 mode with GNU extensions.
16472
16473 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16474
16475 * elf/elf.h (NT_ARM_SVE): Define.
16476
16477 2018-01-15 Florian Weimer <fweimer@redhat.com>
16478
16479 [BZ #22636]
16480 * nptl/tst-minstack-throw.cc: New file.
16481 * nptl/Makefile (tests): Add tst-minstack-throw.
16482 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16483 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16484
16485 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16486
16487 * scripts/build-many-glibcs.py (Context.checkout): Default
16488 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16489 version to 1.1.0.
16490
16491 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16492
16493 [BZ #22707]
16494 * elf/elf.h (DF_1_STUB): Define.
16495 (DF_1_PIE): Define.
16496
16497 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16498
16499 [BZ #22697]
16500 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16501 Do not add 0.5 to integer or out-of-range arguments.
16502
16503 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16504
16505 * po/bg.po: Update translations.
16506 * po/cs.po: Likewise.
16507 * po/de.po: Likewise.
16508 * po/ko.po: Likewise.
16509 * po/pl.po: Likewise.
16510 * po/sv.po: Likewise.
16511 * po/uk.po: Likewise.
16512 * po/vi.po: Likewise.
16513
16514 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16515
16516 * aarch64/start.S (_start): Use __wrap_main.
16517 (__wrap_main): New local symbol.
16518
16519 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16520
16521 [BZ #22679]
16522 CVE-2018-1000001
16523 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16524 generic_getcwd if the path returned by getcwd syscall is not absolute.
16525 * io/tst-getcwd-abspath.c: New test.
16526 * io/Makefile (tests): Add tst-getcwd-abspath.
16527
16528 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16529
16530 * malloc/malloc.c (malloc_consolidate): Add size check.
16531
16532 2018-01-12 Florian Weimer <fweimer@redhat.com>
16533
16534 * support/write_message.c (write_message): Preserve errno.
16535 * support/check.c (print_failure): Likewise.
16536 * support/support_test_verify_impl.c (support_test_verify_impl):
16537 Likewise.
16538 * support/support_test_compare_failure.c
16539 (support_test_compare_failure): Likewise.
16540
16541 2018-01-12 Florian Weimer <fweimer@redhat.com>
16542
16543 [BZ #22701]
16544 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16545 Prevent installation of libnsl.so.
16546 (libnsl-inhibit-o): Do not build (or install) static libraries.
16547
16548 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16549
16550 [BZ #22657]
16551 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16552 before the day number which may produce a double space.
16553 (date_fmt): Likewise.
16554
16555 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16556
16557 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16558 instead of fegetenv.
16559
16560 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16561
16562 [BZ #22702]
16563 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16564 comment to say exceptions are discarded.
16565 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16566 __fegetenv.
16567 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16568 be enabled.
16569
16570 2018-01-11 Florian Weimer <fweimer@redhat.com>
16571
16572 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16573 and error message.
16574
16575 2018-01-11 Florian Weimer <fweimer@redhat.com>
16576
16577 [BZ #22636]
16578 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16579 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16580
16581 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16582
16583 [BZ #22693]
16584 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16585 negative arguments in test for NaN or infinity argument.
16586
16587 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16588
16589 * po/libc.pot: Regenerate.
16590
16591 2018-01-10 Florian Weimer <fweimer@redhat.com>
16592
16593 [BZ #22636]
16594 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16595 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16596
16597 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16598
16599 * hurd/hurd/fd.h: Include <fcntl.h>
16600 (__hurd_at_flags): New function.
16601 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16602 with call to __hurd_at_flags.
16603 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16604 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16605 __faccessat
16606 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16607 (__access_noerrno): Use __faccessat_common instead of access_common.
16608 (__access): Likewise.
16609 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16610 with a call to __faccessat.
16611 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16612 (__faccessat_common): ... this. Move implementation of __access into it when
16613 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16614 reauthenticate_cwdir_at helper to implement AT mechanism.
16615 (__faccessat_noerrno): New function, just calls __faccessat_common.
16616 (__faccessat): New function, just calls __faccessat_common.
16617 (faccessat): Define weak alias.
16618
16619 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16620
16621 [BZ #22691]
16622 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16623 (CFLAGS-s_fmaxmagl.c): New variable.
16624 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16625
16626 [BZ #22690]
16627 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16628 long int for arguments of possibly overflowing addition or
16629 subtraction.
16630 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16631
16632 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16633
16634 [BZ #22688]
16635 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16636 (CFLAGS-e_remainderl.c): New variable.
16637
16638 [BZ #22687]
16639 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16640 variable.
16641 (CFLAGS-s_cacoshl.c): Likewise.
16642 (CFLAGS-s_casinhl.c): Likewise.
16643 (CFLAGS-s_catanl.c): Likewise.
16644 (CFLAGS-s_catanhl.c): Likewise.
16645 (CFLAGS-s_cexpl.c): Likewise.
16646 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16647 (CFLAGS-s_csinhl.c): Likewise.
16648 (CFLAGS-s_clogl.c): Likewise.
16649 (CFLAGS-s_clog10l.c): Likewise.
16650 (CFLAGS-s_csinl.c): Likewise.
16651 (CFLAGS-s_csqrtl.c): Likewise.
16652
16653 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16654 2017-01-09 Svante Signell <svante.signell@gmail.com>
16655
16656 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16657 (_hurd_exec_paths): New function.
16658 * hurd/hurd.h (_hurd_exec): Deprecate function.
16659 (_hurd_exec_paths): Declare function.
16660 * hurd/Versions: Export _hurd_exec_paths.
16661 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16662 (__execve): Use __getcwd to build absolute path, and use
16663 _hurd_exec_paths instead of _hurd_exec.
16664 * sysdeps/mach/hurd/spawni.c: Likewise.
16665 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16666 _hurd_exec.
16667
16668 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16669
16670 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16671 test instead of failing in case of ENOENT returned by posix_openpt.
16672
16673 2018-01-08 Florian Weimer <fweimer@redhat.com>
16674
16675 resolv: Support binary labels in test framework.
16676 * support/resolv_test.c (struct to_be_freed): Remove.
16677 (struct compressed_name): New.
16678 (allocate_compressed_name, ascii_tolower)
16679 (compare_compressed_name): New functions.
16680 (struct resolv_response_builder): Update type of
16681 compression_offsets for use with tsearch. Rempve to_be_freed.
16682 (response_push_pointer_to_free): Remove function.
16683 (resolv_response_add_name): Rewrite using struct compressed_name
16684 and tsearch instead of hsearch_r.
16685 (response_builder_allocate): Remove initialization of
16686 compression_offsets.
16687 (response_builder_free): Update for removal of to_be_freed. Use
16688 tdestroy instead of hdestroy_r.
16689 * resolv/Makefile (tests): Add tst-resolv-binary.
16690 (tst-resolv-binary): Link with -lresolv -lpthread.
16691
16692 2018-01-08 Florian Weimer <fweimer@redhat.com>
16693
16694 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16695 time. Pass positive flag instead of negative flag to
16696 support_test_compare_failure.
16697 (support_test_compare_failure): Change negative parameter to
16698 positive.
16699 * support/support_test_compare_failure.c (report)
16700 (support_test_compare_failure): Likewise.
16701 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16702 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16703
16704 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16705
16706 [BZ #22637]
16707 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16708 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16709 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16710 stacksize.
16711 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16712
16713 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16714
16715 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16716 Add s_sincosf-sse2 and s_sincosf-fma.
16717 (CFLAGS-s_sincosf-fma.c): New.
16718 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16719 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16720 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16721 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16722 __sincosf is defined.
16723
16724 2018-01-08 Florian Weimer <fweimer@redhat.com>
16725
16726 * nptl/tst-thread-exit-clobber.cc: New file.
16727 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16728 C++11 mode.
16729 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16730 (tests): Add tst-thread-exit-clobber.
16731 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16732
16733 2018-01-08 Florian Weimer <fweimer@redhat.com>
16734
16735 * support/check.h (support_static_assert): Define.
16736 (TEST_COMPARE): Use it.
16737
16738 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16739
16740 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16741 [!__RLIM_T_MATCHES_RLIM64_T]
16742 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16743 __getrlimit64. Add libc_hidden_weak.
16744
16745 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16746
16747 * elf/elf.h (R_RISCV_NONE): New define.
16748 (R_RISCV_32): Likewise.
16749 (R_RISCV_64): Likewise.
16750 (R_RISCV_RELATIVE): Likewise.
16751 (R_RISCV_COPY): Likewise.
16752 (R_RISCV_JUMP_SLOT): Likewise.
16753 (R_RISCV_TLS_DTPMOD32): Likewise.
16754 (R_RISCV_TLS_DTPMOD64): Likewise.
16755 (R_RISCV_TLS_DTPREL32): Likewise.
16756 (R_RISCV_TLS_DTPREL64): Likewise.
16757 (R_RISCV_TLS_TPREL32): Likewise.
16758 (R_RISCV_TLS_TPREL64): Likewise.
16759 * Makerules (make-link-multidir): Make directories before linking into
16760 them.
16761 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16762 define.
16763 (VDSO_HASH_LINUX_4_15): Likewise.
16764 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16765 in subdirectories of lib.
16766 * nptl/Makefile (/librt.so): Always depend on
16767 "$(shared-thread-library)".
16768
16769 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16770
16771 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16772 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16773 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16774 (___tls_get_addr).
16775 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16776 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16777 "-O2 -march=i686".
16778 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16779 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16780 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16781 * sysdeps/gnu/glob-lstat-compat.c: New file.
16782 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16783 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16784
16785 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16786
16787 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16788 Reserve 16 chars to reloc_addr before calling _itoa_word.
16789
16790 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16791
16792 [BZ #22678]
16793 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16794 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16795
16796 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16797 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16798
16799 * resource/tst-getrlimit.c: Add copyright header.
16800
16801 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16802 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16803
16804 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16805 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16806 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16807 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16808 instead.
16809 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16810 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16811 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16812 RLIM64_INFINITY): Fix values to match the kernel ones.
16813 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16814 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16815 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16816 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16817 getrlimit64@@GLIBC_2_27.
16818 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16819 and setrlimit64.
16820 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16821 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16822 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16823 setrlimit, getrlimit64 and setrlimit64.
16824
16825 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16826
16827 [BZ #22648]
16828 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16829 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16830
16831 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16832
16833 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16834 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16835 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16836
16837 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16838
16839 [BZ #15479]
16840 [BZ #22666]
16841 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16842 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16843
16844 [BZ #15479]
16845 [BZ #22665]
16846 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16847 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16848 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16849 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16850
16851 2018-01-04 Florian Weimer <fweimer@redhat.com>
16852
16853 [BZ #22667]
16854 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16855 Align the stack before calling exit.
16856 * stdlib/tst-makecontext-align.c: New file.
16857 * stdlib/Makefile (tests): Add tst-makecontext-align.
16858
16859 2018-01-04 Florian Weimer <fweimer@redhat.com>
16860
16861 Add support for calling dlvsym from libc.so.
16862 * include/dlfcn.h (__libc_dlvsym): Declare.
16863 * elf/Makefile (tests-static-internal): Add
16864 tst-libc_dlvsym-static.
16865 (tests-internal): Add tst-libc_dlvsym.
16866 (modules-names): Add tst-libc_dlvsym-dso.
16867 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16868 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16869 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16870 object tst-libc_dlvsym-dso.so needs to be built before running
16871 these tests.
16872 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16873 * elf/Versions: Export __libc_dlvsym.
16874 * elf/dl-libc.c (struct do_dlvsym_args): New.
16875 (do_dlvsym, __libc_dlvsym): New functions.
16876 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16877 (_dl_open_hook2): New variable.
16878 (__libc_register_dl_open_hook): Set it.
16879 * elf/tst-libc_dlvsym-dso.c: New file.
16880 * elf/tst-libc_dlvsym-static.c: Likewise.
16881 * elf/tst-libc_dlvsym.c: Likewise.
16882 * elf/tst-libc_dlvsym.h: Likewise.
16883
16884 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16885
16886 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16887 include <sys/mount.h>.
16888
16889 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16890
16891 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16892 Add __NO_MATH_ERRNO__ check.
16893
16894 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16895
16896 * sysdeps/mips/mips32/libm-test-ulps: Update.
16897 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16898
16899 2018-01-02 Florian Weimer <fweimer@redhat.com>
16900
16901 * misc/tst-pselect.c: Add copyright header.
16902
16903 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16904
16905 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16906 comment.
16907 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16908 comment.
16909 (settrlimit): Rename into setrlimit.
16910 (__sttrlimit): Rename into __setrlimit.
16911
16912 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16913 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16914 never defined in that case.
16915
16916 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16917
16918 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16919
16920 * sysdeps/arm/libm-test-ulps: Update.
16921
16922 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16923 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16924
16925 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16926
16927 * NEWS: Add cosf and sincosf to list of optimized functions.
16928
16929 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16930
16931 [BZ #22660]
16932 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
16933 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
16934 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
16935 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
16936
16937 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
16938
16939 [BZ #22433]
16940 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
16941
16942 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
16943 making a copy of it.
16944
16945 2018-01-01 Joseph Myers <joseph@codesourcery.com>
16946
16947 * manual/texinfo.tex: Update to version 2017-12-26.21 with
16948 trailing whitespace removed.
16949 * scripts/config.guess: Update to version 2018-01-01.
16950 * scripts/config.sub: Update to version 2018-01-01.
16951 * scripts/move-if-change: Update from gnulib.
16952
16953 * NEWS: Update copyright dates.
16954 * catgets/gencat.c (print_version): Likewise.
16955 * csu/version.c (banner): Likewise.
16956 * debug/catchsegv.sh: Likewise.
16957 * debug/pcprofiledump.c (print_version): Likewise.
16958 * debug/xtrace.sh (do_version): Likewise.
16959 * elf/ldconfig.c (print_version): Likewise.
16960 * elf/ldd.bash.in: Likewise.
16961 * elf/pldd.c (print_version): Likewise.
16962 * elf/sotruss.sh: Likewise.
16963 * elf/sprof.c (print_version): Likewise.
16964 * iconv/iconv_prog.c (print_version): Likewise.
16965 * iconv/iconvconfig.c (print_version): Likewise.
16966 * locale/programs/locale.c (print_version): Likewise.
16967 * locale/programs/localedef.c (print_version): Likewise.
16968 * login/programs/pt_chown.c (print_version): Likewise.
16969 * malloc/memusage.sh (do_version): Likewise.
16970 * malloc/memusagestat.c (print_version): Likewise.
16971 * malloc/mtrace.pl: Likewise.
16972 * manual/libc.texinfo: Likewise.
16973 * nptl/version.c (banner): Likewise.
16974 * nscd/nscd.c (print_version): Likewise.
16975 * nss/getent.c (print_version): Likewise.
16976 * nss/makedb.c (print_version): Likewise.
16977 * posix/getconf.c (main): Likewise.
16978 * scripts/test-installation.pl: Likewise.
16979 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16980
16981 * All files with FSF copyright notices: Update copyright dates
16982 using scripts/update-copyrights.
16983 * locale/programs/charmap-kw.h: Regenerated.
16984 * locale/programs/locfile-kw.h: Likewise.
16985
16986 2017-12-31 Zack Weinberg <zackw@panix.com>
16987
16988 * libio/bits/libio-ldbl.h: Correct check for improper
16989 inclusion. Add own multiple include guard.
16990
16991 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
16992 Dmitry V. Levin <ldv@altlinux.org>
16993
16994 [BZ #22625]
16995 CVE-2017-16997
16996 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
16997 string token expansion. Check for NULL pointer or empty string possibly
16998 returned by expand_dynamic_string_token.
16999 (decompose_rpath): Check for empty path after dynamic string
17000 token expansion.
17001
17002 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17003
17004 [BZ #22433]
17005 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17006
17007 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17008 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17009 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17010 and PTRACE_SYSCALL.
17011 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17012 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17013 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17014 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17015 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17016 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17017
17018 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17019 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17020 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17021 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17023 bits/ptrace-shared.h.
17024 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17025 <bits/ptrace-shared.h>.
17026 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17027 __ptrace_peeksiginfo_flags, ptrace): Remove.
17028 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17029 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17030 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17031 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17032 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17033
17034 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17035
17036 [BZ #17804]
17037 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17038 end of the loop. Improve comments.
17039
17040 2017-12-29 Zack Weinberg <zackw@panix.com>
17041
17042 [BZ #22615]
17043 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17044 might be set on success.
17045
17046 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17047
17048 [BZ #22611]
17049 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17050 is unchanged on success.
17051
17052 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17053
17054 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17055 updated.
17056 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17057 expand_dynamic_string_token): Likewise.
17058 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17059 is_path argument.
17060
17061 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17062 contains ':'.
17063
17064 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17065 is set and name contains ':', and all code depending on these checks.
17066
17067 2017-12-24 Zack Weinberg <zackw@panix.com>
17068
17069 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17070 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17071 respectively.
17072 * libio/libio.h: Rename the original version of this file to
17073 libio/bits/libio.h. Error out if not included by stdio.h or the
17074 stub libio.h.
17075 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17076 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17077 if not included by bits/libio.h or the stub _G_config.h.
17078 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17079 sysdeps/unix/sysv/linux/bits. Error out if not included by
17080 bits/libio.h or the stub _G_config.h.
17081 * libio/stdio.h: Include bits/libio.h, not libio.h.
17082 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17083 well as libio.h and _G_config.h.
17084
17085 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17086 * libio/strfile.h, stdio-common/vfscanf.c
17087 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17088 Include stdio.h, not _G_config.h nor libio.h.
17089 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17090 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17091
17092 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17093
17094 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17095
17096 [BZ #22347]
17097 * stdlib/getrandom.c (getrandom): Fix comment.
17098 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17099
17100 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
17101
17102 [BZ #21161]
17103 * manual/arith.texi (strtoul): Fix a typo.
17104
17105 [BZ #22596]
17106 * manual/arith.texi (finite): Fix the description of the return
17107 value.
17108
17109 2017-12-22 Eric Blake <ebb9@byu.net>
17110
17111 Avoid gcc warnings on cygwin
17112 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17113 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17114 Avoid unused variable.
17115
17116 2017-12-22 Florian Weimer <fweimer@redhat.com>
17117
17118 * io/Makefile (routines): Add copy_file_range.
17119 (tests): Add tst-copy_file_range.
17120 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17121 * io/Versions (GLIBC_2.27): Export copy_file_range.
17122 * io/copy_file_range-compat.c: New file.
17123 * io/copy_file_range.c: Likewise.
17124 * io/tst-copy_file_range-compat.c: Likewise.
17125 * io/tst-copy_file_range.c: Likewise.
17126 * manual/llio.texi (Copying File Data): New section.
17127 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17128 * support/Makefile (libsupport-routines): Add support-xfstat,
17129 xftruncate, xlseek.
17130 * support/support-xfstat.c: New file.
17131 * support/xftruncate.c: Likewise.
17132 * support/xlseek.c: Likewise.
17133 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17134 * sysdeps/unix/sysv/linux/**.abilist: Update.
17135 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17136
17137 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17138
17139 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17140 disable-multi-arch variant to aarch64-linux-gnu.
17141
17142 2017-12-20 Joseph Myers <joseph@codesourcery.com>
17143
17144 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17145 trailing whitespace removed.
17146 * scripts/config.guess: Update to version 2017-12-17.
17147 * scripts/config.sub: Update to version 2017-11-23.
17148 * scripts/install-sh: Update to version 2017-09-23.17.
17149 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17150
17151 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17152
17153 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17154 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17155 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17156 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17157 * sysdeps/tile/crtn.S: Likewise.
17158 * sysdeps/tile/dl-start.S (_start): Likewise.
17159 * sysdeps/tile/dl-trampoline.S: Likewise.
17160 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17161 * sysdeps/tile/start.S (_start): Likewise.
17162 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17163 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17164 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17165 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17166 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17167 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17168 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17169
17170 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17171 comment.
17172 * sysdeps/tile/preconfigure: Remove tilegx folder.
17173 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17174 * sysdeps/tile/Implies: ... here.
17175 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17176 * sysdeps/tile/Makefile: ... here.
17177 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17178 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17179 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17180 * sysdeps/tile/bits/wordsize.h: ... here.
17181 * sysdeps/tile/tilegx/*: Move to ...
17182 * sysdeps/tile/*: ... here.
17183 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17184 * sysdeps/tile/tilegx32/Implies: ... here.
17185 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17186 * sysdeps/tile/tilegx64/Implies: ... here.
17187 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17188 to ...
17189 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17190 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17191 * sysdeps/unix/sysv/linux/tile/*: ... here.
17192 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17193 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17195 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17196
17197 * README: Remove tilepro-*-linux-gnu from supported architecture.
17198 * scripts/build-many-glibcs.py: Likewise.
17199 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17200 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17201 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17202 elf_machine_matches_host, elf_machine_dynamic,
17203 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17204 howto, elf_machine_rela): Likewise.
17205 * sysdeps/tile/dl-start.S (_start): Likewise.
17206 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17207 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17208 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17209 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17210 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17211 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17212 Likewise.
17213 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17214 * sysdeps/tile/preconfigure: Likewise.
17215 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17216 POINTER_CHK_GUARD): Likewise.
17217 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17218 * sysdeps/tile/start.S (_start): Likewise.
17219 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17220 Likewise.
17221 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17222 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17223 CMOVNEZ): Remove.
17224 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17225 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17226 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17227 Likewise.
17228 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17229 * sysdeps/tile/tilepro/Implies: Remove file.
17230 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17231 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17232 * sysdeps/tile/tilepro/memchr.c: Likewise.
17233 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17234 * sysdeps/tile/tilepro/memset.c: Likewise.
17235 * sysdeps/tile/tilepro/memusage.h: Likewise.
17236 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17237 * sysdeps/tile/tilepro/strchr.c: Likewise.
17238 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17239 * sysdeps/tile/tilepro/strlen.c: Likewise.
17240 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17241 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17242 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17243 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17244 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17245 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17246 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17247 Likewise.
17248 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17249 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17250 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17251 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17252 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17253 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17254 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17255 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17256 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17257 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17258 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17259 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17260 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17261 tilepro mention in comment.
17262
17263 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17264 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17265 * nptl/pthread_join_common.c: New file: common function used on
17266 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17267 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17268 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17269 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17270 (cleanup): Move definition to pthread_join_common.c.
17271 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17272 Remove superflous checks.
17273 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17274 Likewise.
17275
17276 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17277
17278 * sysdeps/aarch64/libm-test-ulps: Update.
17279
17280 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17281
17282 * sysdeps/aarch64/memset.S (MEMSET): Define.
17283
17284 2017-12-20 Florian Weimer <fweimer@redhat.com>
17285
17286 [BZ #22635]
17287 nptl: Provide full implementation of pthread_self in libc.so.
17288 * nptl/Makefile (routines): Add pthread_self.
17289 (libpthread-routines): Replace pthread_self with
17290 compat-pthread_self.
17291 * nptl/forward.c (pthread_self): Remove.
17292 * nptl/nptl-init.c (pthread_functions): Do not initialize
17293 ptr_pthread_self.
17294 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17295 * nptl/compat-pthread_self.c: New file.
17296 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17297 Remove ptr_pthread_self.
17298
17299 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17300
17301 * posix/regcomp.c: Fix spelling in comments.
17302 * posix/regex.h: Likewise.
17303 * posix/regex_internal.c: Likewise.
17304 * posix/regexec.c: Likewise.
17305
17306 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17307
17308 [BZ #22377]
17309 * math/Makefile [C++] (tests): Add test for iseqsig.
17310 * math/math.h [C++] (iseqsig): New implementation, which does
17311 not rely on __MATH_TG/__builtin_types_compatible_p.
17312 * math/test-math-iseqsig.cc: New file.
17313 * sysdeps/powerpc/powerpc64le/Makefile
17314 (CFLAGS-test-math-iseqsig.cc): New variable.
17315
17316 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17317
17318 * elf/dl-load.c (is_trusted_path): Remove.
17319 (fillin_rpath): Remove check_trusted argument and its use,
17320 all callers changed.
17321
17322 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17323
17324 [BZ #22630]
17325 * Makeconfig (link-pie-before-libc): Replace -pie with
17326 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17327 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17328 (tst-dlopen-aout-no-pie): New.
17329 (LDFLAGS-tst-prelink): Removed.
17330 (tst-prelink-no-pie): New.
17331 (LDFLAGS-tst-main1): Removed.
17332 (tst-main1-no-pie): New.
17333 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17334 (tst-gmon-no-pie): New.
17335
17336 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17337
17338 * manual/install.texi: Document that --enable-static-pie
17339 implies PIE.
17340 * INSTALL: Regenerated.
17341
17342 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17343
17344 [BZ #21309]
17345 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17346 unsigned.
17347
17348 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17349
17350 Revert:
17351
17352 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17353
17354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17355
17356 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17357
17358 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17359 <errno.h>. Include "eexp.tbl".
17360 (half): New constant.
17361 (one): Likewise.
17362 (__ieee754_exp): Rewrite.
17363 (__slowexp): Remove prototype.
17364 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17365 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17366 * sysdeps/i386/fpu/slowexp.c: Likewise.
17367 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17368 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17369 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17370 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17371 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17372 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17373 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17374 comment.
17375 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17376 (CPPFLAGS-slowexp.c): Remove variable.
17377 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17378 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17379 (CFLAGS-slowexp-fma.c): Remove variable.
17380 (CFLAGS-slowexp-fma4.c): Likewise.
17381 (CFLAGS-slowexp-avx.c): Likewise.
17382 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17383 define as macro.
17384 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17385 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17386 * math/Makefile (type-double-routines): Remove slowexp.
17387 * manual/probes.texi (slowexp_p6): Remove.
17388 (slowexp_p32): Likewise.
17389
17390 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17391
17392 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17393 arithmetic.
17394
17395 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17396
17397 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17398
17399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17400
17401 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17402
17403 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17404 <errno.h>. Include "eexp.tbl".
17405 (half): New constant.
17406 (one): Likewise.
17407 (__ieee754_exp): Rewrite.
17408 (__slowexp): Remove prototype.
17409 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17410 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17411 * sysdeps/i386/fpu/slowexp.c: Likewise.
17412 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17413 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17414 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17415 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17416 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17417 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17418 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17419 comment.
17420 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17421 (CPPFLAGS-slowexp.c): Remove variable.
17422 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17423 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17424 (CFLAGS-slowexp-fma.c): Remove variable.
17425 (CFLAGS-slowexp-fma4.c): Likewise.
17426 (CFLAGS-slowexp-avx.c): Likewise.
17427 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17428 define as macro.
17429 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17430 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17431 * math/Makefile (type-double-routines): Remove slowexp.
17432 * manual/probes.texi (slowexp_p6): Remove.
17433 (slowexp_p32): Likewise.
17434
17435 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17436 James Clarke <jrtc27@jrtc27.com>
17437
17438 [BZ #22603]
17439 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17440 addition.
17441
17442 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17443
17444 [BZ #22605]
17445 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17446 code.
17447
17448 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17449
17450 [BZ #22563]
17451 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17452 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17453 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17454 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17455 to feature_1.
17456
17457 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17458
17459 [BZ #22563]
17460 * bits/types/__cancel_jmp_buf_tag.h: New file.
17461 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17462 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17463 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17464 * nptl/Makefile (headers): Add
17465 bits/types/__cancel_jmp_buf_tag.h.
17466 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17467 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17468 * sysdeps/nptl/pthread.h: Include
17469 <bits/types/__cancel_jmp_buf_tag.h>.
17470 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17471 __cancel_jmp_buf.
17472 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17473
17474 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17475
17476 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17477 --enable-static-pie variants to x86_64, x32 and i686.
17478
17479 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17480
17481 [BZ #22631]
17482 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17483 argument for attrubutes. All callers changed.
17484 (__inline_mathop1): Likewise. All callers changed.
17485 (__inline_mathop): Likewise. All callers changed.
17486 [__USE_MISC] (scalbn): Use __inline_forward instead of
17487 __inline_forward_c.
17488 [__USE_ISOC99] (scalbln): Likewise.
17489 [__USE_ISOC99] (nearbyint): Likewise.
17490 [__USE_ISOC99] (lrint): Likewise.
17491 [__USE_MISC] (scalbnf): Likewise.
17492 [__USE_ISOC99] (scalblnf): Likewise.
17493 [__USE_ISOC99] (nearbyintf): Likewise.
17494 [__USE_ISOC99] (lrintf): Likewise.
17495 [__USE_MISC] (scalbnl): Likewise.
17496 [__USE_ISOC99] (scalblnl): Likewise.
17497 [__USE_ISOC99] (nearbyintl): Likewise.
17498 [__USE_ISOC99] (lrintl): Likewise.
17499 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17500 __inline_mathop and __m81_defun changed.
17501
17502 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17503 CPU or FPU for ARM hard-float configurations.
17504
17505 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17506
17507 * nptl/tst-attr3.c: Include <libc-diag.h>.
17508 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17509
17510 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17511
17512 * string/tester.c (test_strncat): Also disable -Warray-bounds
17513 warnings for two tests.
17514
17515 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17516
17517 [BZ #22614]
17518 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17519 $(cc-pie-default) == yes.
17520 * config.make.in (cc-pie-default): New.
17521 * configure.ac (libc_cv_pie_default): Renamed to ...
17522 (libc_cv_cc_pie_default): This.
17523 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17524 * configure: Regenerated.
17525
17526 2017-12-18 Florian Weimer <fweimer@redhat.com>
17527
17528 [BZ #20204]
17529 ld.so: Harden dl-libc/libdl hooks.
17530 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17531 (rtld_active): New function.
17532 * dlfcn/dladdr.c (__dladdr): Call it.
17533 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17534 * dlfcn/dlclose.c (__dlcose): Likewise.
17535 * dlfcn/dlerror.c (__dlerror): Likewise.
17536 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17537 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17538 * dlfcn/dlopen.c (__dlopen): Likewise.
17539 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17540 * dlfcn/dlsym.c (__dlsym): Likewise.
17541 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17542 * libio/vtables.c (_IO_vtable_check): Likewise.
17543 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17544 (__libc_dlclose): Likewise.
17545 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17546 assignment.
17547
17548 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17549
17550 [BZ #22446]
17551 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17552 buffers for readlink input and output.
17553
17554 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17555
17556 [BZ #22624]
17557 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17558 inhibit_stack_protector.
17559
17560 [BZ #22624]
17561 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17562 inhibit_stack_protector.
17563
17564 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17565
17566 [BZ #22627]
17567 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17568 code and invocation.
17569
17570 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17571
17572 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17573
17574 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17575
17576 [BZ #22505]
17577 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17578
17579 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17580
17581 * sysdeps/s390/fpu/libm-test-ulps: Update.
17582
17583 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17584
17585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17586
17587 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17588
17589 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17590 constants to s_sincosf.h file.
17591 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17592 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17593 implementation.
17594 * sysdeps/ieee754/flt-32/s_sincosf.h:
17595 New file.
17596
17597 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17598
17599 [BZ #14681]
17600 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17601 before mtrace.
17602
17603 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17604
17605 [BZ #19574]
17606 * INSTALL: Regenerated.
17607 * Makeconfig (real-static-start-installed-name): New.
17608 (pic-default): Updated for --enable-static-pie.
17609 (pie-default): New for --enable-static-pie.
17610 (default-pie-ldflag): Likewise.
17611 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17612 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17613 Replace $(static-start-installed-name) with
17614 $(real-static-start-installed-name).
17615 (+prectorT): Updated for --enable-static-pie.
17616 (+postctorT): Likewise.
17617 (CFLAGS-.o): Add $(pie-default).
17618 (CFLAGS-.op): Likewise.
17619 * NEWS: Mention --enable-static-pie.
17620 * config.h.in (ENABLE_STATIC_PIE): New.
17621 * configure.ac (--enable-static-pie): New configure option.
17622 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17623 (have-static-pie): Likewise.
17624 Enable static PIE if linker supports --no-dynamic-linker.
17625 (ENABLE_STATIC_PIE): New AC_DEFINE.
17626 (enable-static-pie): New LIBC_CONFIG_VAR.
17627 * configure: Regenerated.
17628 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17629 gr$(start-installed-name) for --enable-static-pie.
17630 (extra-objs): Likewise.
17631 (install-lib): Likewise.
17632 (extra-objs): Add static-reloc.o and static-reloc.os
17633 ($(objpfx)$(start-installed-name)): Also depend on
17634 $(objpfx)static-reloc.o.
17635 ($(objpfx)r$(start-installed-name)): New.
17636 ($(objpfx)g$(start-installed-name)): Also depend on
17637 $(objpfx)static-reloc.os.
17638 ($(objpfx)gr$(start-installed-name)): New.
17639 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17640 in libc.a.
17641 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17642 initimage.
17643 * csu/static-reloc.c: New file.
17644 * elf/Makefile (routines): Add dl-reloc-static-pie.
17645 (elide-routines.os): Likewise.
17646 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17647 (tst-tls1-static-non-pie-no-pie): New.
17648 * elf/dl-reloc-static-pie.c: New file.
17649 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17650 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17651 STATIC_PIE_BOOTSTRAP.
17652 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17653 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17654 (tests-static): Likewise.
17655 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17656 (tst-gmon-static-no-pie): New.
17657 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17658 (CRT-tst-gmon-static-pie): Likewise.
17659 (tst-gmon-static-pie-ENV): Likewise.
17660 (tests-special): Likewise.
17661 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17662 (clean-tst-gmon-static-pie-data): Likewise.
17663 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17664 * gmon/tst-gmon-static-pie.c: New file.
17665 * manual/install.texi: Document --enable-static-pie.
17666 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17667 (_dl_get_dl_main_map): Likewise.
17668 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17669 * sysdeps/x86_64/configure.ac: Likewise.
17670 * sysdeps/i386/configure: Regenerated.
17671 * sysdeps/x86_64/configure: Likewise.
17672 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17673 (ASFLAGS-.op): Likewise.
17674
17675 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17676
17677 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17678 * posix/tst-mmap-offset.c (fname): Use /tmp.
17679 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17680
17681 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17682
17683 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17684
17685 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17686
17687 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17688 errno.
17689
17690 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17691
17692 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17693 --with-float=hard for arm-linux-gnueabihf configurations.
17694
17695 [BZ #14121]
17696 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17697 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17698 ($(mo-installed)): Use $(objpfx)%.mo.
17699 (realclean): Remove rule.
17700
17701 * po/Makefile (linguas): Remove rule and dependencies.
17702 (linguas.mo): Likewise.
17703 (.PHONY): Do not depend on linguas and linguas.mo.
17704 (podir): Remove variable.
17705 (pofiles): Likewise.
17706 [$(pofiles)] (%.po): Remove rule.
17707
17708 * sysdeps/sparc/sparc32/Makefile
17709 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17710 start-of-line whitespace in argument of echo.
17711 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17712 with whitespace. Generate __wrap_.udiv alias.
17713 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17714 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17715 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17716 * sysdeps/sparc/sparc32/urem.S: Likewise.
17717
17718 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17719
17720 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17721 for aligned inputs.
17722
17723 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17724
17725 * benchtests/bench-strcmp.c: Print output in JSON format.
17726
17727 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17728
17729 2017-12-14 Florian Weimer <fweimer@redhat.com>
17730
17731 [BZ #22607]
17732 CVE-2017-1000409
17733 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17734 the expanded path string.
17735
17736 2017-12-14 Florian Weimer <fweimer@redhat.com>
17737
17738 [BZ #22606]
17739 CVE-2017-1000408
17740 * elf/dl-load.c (system_dirs): Update comment.
17741 (nsystem_dirs_len): Use array_length.
17742 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17743
17744 2017-12-14 Florian Weimer <fweimer@redhat.com>
17745
17746 Simplify compiling most of support/ outside of glibc.
17747 * support/check_addrinfo.c: Include <string.h>.
17748 * support/check_dns_packet.c: Likewise.
17749 * support/check_hostent.c: Likewise.
17750 * support/support_can_chroot.c: Include <support/xunistd.h>.
17751 * support/support_format_addrinfo.c: Include <stdlib.h>
17752 * support/support_format_dns_packet.c: Include <stdbool.h>.
17753 * support/support_format_hostent.c: Include <stdlib.h>.
17754 * support/support_format_netent.c: Likewise.
17755 * support/support_write_string.c: Include <support/xunistd.h>.
17756 * support/xdlfcn.c: Include <stddef.h>.
17757
17758 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17759
17760 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17761
17762 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17763 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17764
17765 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17766 (sysdeps_routines): Add memset-niagara7.
17767 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17768 Likewise.
17769 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17770 file.
17771 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17772 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17773 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17774 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17775 Add niagara7 option.
17776 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17777 memset.
17778
17779 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17780 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17781 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17782 Likewise.
17783 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17784 New file.
17785 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17786 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17787 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17788 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17789 and __memmove_niagara7.
17790 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17791 Add niagara7 option.
17792 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17793 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17794 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17795 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17796 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17797
17798 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17799
17800 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17801 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17802 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17803 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17804
17805 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17806 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17807 _dl_sparc_cap_flags array.
17808 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17809
17810 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17811
17812 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17813 time whenever possible.
17814
17815 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17816
17817 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17818 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17819
17820 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17821
17822 * soft-fp/fmadf4.c: Move to ....
17823 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17824 * soft-fp/fmasf4.c: Move to ....
17825 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17826 * soft-fp/fmatf4.c: Move to ....
17827 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17828 * sysdeps/ieee754/soft-fp/Makefile: New file.
17829 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17830 * sysdeps/arm/preconfigure: Regenerated.
17831 * sysdeps/arm/nofpu/Implies: New file.
17832 * sysdeps/arm/s_fma.c: Remove file.
17833 * sysdeps/arm/s_fmaf.c: Likewise.
17834 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17835 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17836 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17837 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17838 * sysdeps/microblaze/s_fma.c: Remove file.
17839 * sysdeps/microblaze/s_fmaf.c: Likewise.
17840 * sysdeps/mips/mips32/nofpu/Implies: New file.
17841 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17842 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17843 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17844 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17845 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17846 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17847 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17848 implementation.
17849 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17850 * sysdeps/nios2/s_fma.c: Remove file.
17851 * sysdeps/nios2/s_fmaf.c: Likewise.
17852 * sysdeps/sh/nofpu/Implies: New file.
17853 * sysdeps/sh/s_fma.c: Remove file.
17854 * sysdeps/sh/s_fmaf.c: Likewise.
17855 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17856 * sysdeps/tile/s_fma.c: Remove file.
17857 * sysdeps/tile/s_fmaf.c: Likewise.
17858
17859 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17860
17861 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17862 Add s_cosf-sse2 and s_cosf-fma.
17863 (CFLAGS-s_cosf-fma.c): New.
17864 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17865 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17866 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17867
17868 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17869
17870 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17871
17872 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17873
17874 * libio/Makefile (tests): Add tst-bz22415.
17875 (tst-bz22415-ENV): New rule.
17876 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17877 (tests-special): Add tst-bz22415-mem.out.
17878 ($(objpfx)tst-bz22415-mem.out): New rule.
17879 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17880 in case of a successful seek operation.
17881 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17882 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17883 buffer is required.
17884 * libio/tst-bz22415.c: New test.
17885
17886 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17887
17888 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17889
17890 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17891 __IPC_64 to 0 to avoid IPC_64 being set.
17892
17893 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17894
17895 [BZ #22593]
17896 * math/bits/mathcalls.h (nextafter): Remove const.
17897 (nexttoward): Likewise.
17898
17899 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17900
17901 * configure.ac (--with-fp): Remove configure option.
17902 (with_fp_cond): New variable.
17903 (libc_cv_with_fp): New configure test. Use this variable instead
17904 of with_fp.
17905 * configure: Regenerated.
17906 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17907 * manual/install.texi (Configuring and compiling): Remove
17908 --without-fp.
17909 * INSTALL: Regenerated.
17910 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17911 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17912 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17913 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17914 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17915 use --without-fp to configure glibc.
17916
17917 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17918
17919 * manual/locale.texi (nl_langinfo): Fix a typo.
17920
17921 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17922
17923 [BZ #22588]
17924 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17925
17926 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17927
17928 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17929 (CFLAGS-argp-parse.c): Likewise.
17930 (CFLAGS-argp-fmtstream.c): Likewise.
17931 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
17932 (CPPFLAGS-sha512-crypt.c): Likewise.
17933 (CPPFLAGS-md5-crypt.c): Likewise.
17934 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
17935 (CFLAGS-stack_chk_fail_local.c): Likewise.
17936 (CFLAGS-backtrace.c): Likewise.
17937 (CFLAGS-sprintf_chk.c): Likewise.
17938 (CFLAGS-snprintf_chk.c): Likewise.
17939 (CFLAGS-vsprintf_chk.c): Likewise.
17940 (CFLAGS-vsnprintf_chk.c): Likewise.
17941 (CFLAGS-asprintf_chk.c): Likewise.
17942 (CFLAGS-vasprintf_chk.c): Likewise.
17943 (CFLAGS-obprintf_chk.c): Likewise.
17944 (CFLAGS-dprintf_chk.c): Likewise.
17945 (CFLAGS-vdprintf_chk.c): Likewise.
17946 (CFLAGS-printf_chk.c): Likewise.
17947 (CFLAGS-fprintf_chk.c): Likewise.
17948 (CFLAGS-vprintf_chk.c): Likewise.
17949 (CFLAGS-vfprintf_chk.c): Likewise.
17950 (CFLAGS-gets_chk.c): Likewise.
17951 (CFLAGS-fgets_chk.c): Likewise.
17952 (CFLAGS-fgets_u_chk.c): Likewise.
17953 (CFLAGS-fread_chk.c): Likewise.
17954 (CFLAGS-fread_u_chk.c): Likewise.
17955 (CFLAGS-swprintf_chk.c): Likewise.
17956 (CFLAGS-vswprintf_chk.c): Likewise.
17957 (CFLAGS-wprintf_chk.c): Likewise.
17958 (CFLAGS-fwprintf_chk.c): Likewise.
17959 (CFLAGS-vwprintf_chk.c): Likewise.
17960 (CFLAGS-vfwprintf_chk.c): Likewise.
17961 (CFLAGS-fgetws_chk.c): Likewise.
17962 (CFLAGS-fgetws_u_chk.c): Likewise.
17963 (CFLAGS-read_chk.c): Likewise.
17964 (CFLAGS-pread_chk.c): Likewise.
17965 (CFLAGS-pread64_chk.c): Likewise.
17966 (CFLAGS-recv_chk.c): Likewise.
17967 (CFLAGS-recvfrom_chk.c): Likewise.
17968 (CFLAGS-tst-longjmp_chk.c): Likewise.
17969 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
17970 (CFLAGS-tst-longjmp_chk2.c): Likewise.
17971 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
17972 (CFLAGS-tst-longjmp_chk3.c): Likewise.
17973 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17974 (CFLAGS-tst-chk1.c): Likewise.
17975 (CFLAGS-tst-chk2.c): Likewise.
17976 (CFLAGS-tst-chk3.c): Likewise.
17977 (CFLAGS-tst-chk4.cc): Likewise.
17978 (CFLAGS-tst-chk5.cc): Likewise.
17979 (CFLAGS-tst-chk6.cc): Likewise.
17980 (CFLAGS-tst-lfschk1.c): Likewise.
17981 (CFLAGS-tst-lfschk2.c): Likewise.
17982 (CFLAGS-tst-lfschk3.c): Likewise.
17983 (CFLAGS-tst-lfschk4.cc): Likewise.
17984 (CFLAGS-tst-lfschk5.cc): Likewise.
17985 (CFLAGS-tst-lfschk6.cc): Likewise.
17986 (CFLAGS-tst-ssp-1.c): Likewise.
17987 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
17988 (CFLAGS-scandir64.c): Likewise.
17989 (CFLAGS-scandir-tail.c): Likewise.
17990 (CFLAGS-scandir64-tail.c): Likewise.
17991 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
17992 (CFLAGS-dl-tunables.c): Likewise.
17993 (CFLAGS-dl-runtime.c): Likewise.
17994 (CFLAGS-dl-lookup.c): Likewise.
17995 (CFLAGS-dl-iterate-phdr.c): Likewise.
17996 (CFLAGS-vismain.c): Likewise.
17997 (CFLAGS-tst-linkall-static.c): Likewise.
17998 (CFLAGS-tst-linkall-static.c): Likewise.
17999 (CPPFLAGS-dl-load.c): Likewise.
18000 (CFLAGS-ldconfig.c): Likewise.
18001 (CFLAGS-dl-cache.c): Likewise.
18002 (CFLAGS-cache.c): Likewise.
18003 (CFLAGS-rtld.c): Likewise.
18004 (CFLAGS-multiload.c): Likewise.
18005 (CFLAGS-filtmod1.c): Likewise.
18006 (CFLAGS-tst-align.c): Likewise.
18007 (CFLAGS-tst-align2.c): Likewise.
18008 (CFLAGS-tst-alignmod.c): Likewise.
18009 (CFLAGS-tst-alignmod2.c): Likewise.
18010 (CPPFLAGS-tst-execstack.c): Likewise.
18011 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18012 (CFLAGS-tst-latepthreadmod.c): Likewise.
18013 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18014 (CFLAGS-getgrnam_r.c): Likewise.
18015 (CFLAGS-getgrent_r.c): Likewise.
18016 (CFLAGS-getgrent.c): Likewise.
18017 (CFLAGS-fgetgrent.c): Likewise.
18018 (CFLAGS-fgetgrent_r.c): Likewise.
18019 (CFLAGS-putgrent.c): Likewise.
18020 (CFLAGS-initgroups.c): Likewise.
18021 (CFLAGS-getgrgid.c): Likewise.
18022 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18023 (CFLAGS-getsgent.c): Likewise.
18024 (CFLAGS-fgetsgent.c): Likewise.
18025 (CFLAGS-fgetsgent_r.c): Likewise.
18026 (CFLAGS-putsgent.c): Likewise.
18027 (CFLAGS-getsgnam.c): Likewise.
18028 (CFLAGS-getsgnam_r.c): Likewise.
18029 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18030 (CFLAGS-iconv_charmap.c): Likewise.
18031 (CFLAGS-dummy-repertoire.c): Likewise.
18032 (CFLAGS-charmap.c): Likewise.
18033 (CFLAGS-linereader.c): Likewise.
18034 (CFLAGS-simple-hash.c): Likewise.
18035 (CFLAGS-gconv_conf.c): Likewise.
18036 (CFLAGS-iconvconfig.c): Likewise.
18037 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18038 (CFLAGS-gethstbyad.c): Likewise.
18039 (CFLAGS-gethstbynm_r.c): Likewise.
18040 (CFLAGS-gethstbynm.c): Likewise.
18041 (CFLAGS-gethstbynm2_r.c): Likewise.
18042 (CFLAGS-gethstbynm2.c): Likewise.
18043 (CFLAGS-gethstent_r.c): Likewise.
18044 (CFLAGS-gethstent.c): Likewise.
18045 (CFLAGS-rcmd.c): Likewise.
18046 (CFLAGS-getnetbynm_r.c): Likewise.
18047 (CFLAGS-getnetbynm.c): Likewise.
18048 (CFLAGS-getnetbyad_r.c): Likewise.
18049 (CFLAGS-getnetbyad.c): Likewise.
18050 (CFLAGS-getnetent_r.c): Likewise.
18051 (CFLAGS-getnetent.c): Likewise.
18052 (CFLAGS-getaliasent_r.c): Likewise.
18053 (CFLAGS-getaliasent.c): Likewise.
18054 (CFLAGS-getrpcent_r.c): Likewise.
18055 (CFLAGS-getrpcent.c): Likewise.
18056 (CFLAGS-getservent_r.c): Likewise.
18057 (CFLAGS-getservent.c): Likewise.
18058 (CFLAGS-getprtent_r.c): Likewise.
18059 (CFLAGS-getprtent.c): Likewise.
18060 (CFLAGS-either_ntoh.c): Likewise.
18061 (CFLAGS-either_hton.c): Likewise.
18062 (CFLAGS-getnetgrent.c): Likewise.
18063 (CFLAGS-getnetgrent_r.c): Likewise.
18064 (CFLAGS-tst-checks-posix.c): Likewise.
18065 (CFLAGS-tst-sockaddr.c): Likewise.
18066 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18067 (CFLAGS-tst-translit.c): Likewise.
18068 (CFLAGS-tst-gettext2.c): Likewise.
18069 (CFLAGS-tst-codeset.c): Likewise.
18070 (CFLAGS-tst-gettext3.c): Likewise.
18071 (CFLAGS-tst-gettext4.c): Likewise.
18072 (CFLAGS-tst-gettext5.c): Likewise.
18073 (CFLAGS-tst-gettext6.c): Likewise.
18074 * io/Makefile (CFLAGS-open.c): Likewise.
18075 (CFLAGS-open64.c): Likewise.
18076 (CFLAGS-creat.c): Likewise.
18077 (CFLAGS-creat64.c): Likewise.
18078 (CFLAGS-fcntl.c): Likewise.
18079 (CFLAGS-poll.c): Likewise.
18080 (CFLAGS-ppoll.c): Likewise.
18081 (CFLAGS-lockf.c): Likewise.
18082 (CFLAGS-statfs.c): Likewise.
18083 (CFLAGS-fstatfs.c): Likewise.
18084 (CFLAGS-statvfs.c): Likewise.
18085 (CFLAGS-fstatvfs.c): Likewise.
18086 (CFLAGS-fts.c): Likewise.
18087 (CFLAGS-fts64.c): Likewise.
18088 (CFLAGS-ftw.c): Likewise.
18089 (CFLAGS-ftw64.c): Likewise.
18090 (CFLAGS-lockf.c): Likewise.
18091 (CFLAGS-posix_fallocate.c): Likewise.
18092 (CFLAGS-posix_fallocate64.c): Likewise.
18093 (CFLAGS-fallocate.c): Likewise.
18094 (CFLAGS-fallocate64.c): Likewise.
18095 (CFLAGS-read.c): Likewise.
18096 (CFLAGS-write.c): Likewise.
18097 (CFLAGS-test-stat.c): Likewise.
18098 (CFLAGS-test-lfs.c): Likewise.
18099 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18100 (CFLAGS-fputc.c): Likewise.
18101 (CFLAGS-fputwc.c): Likewise.
18102 (CFLAGS-freopen64.c): Likewise.
18103 (CFLAGS-freopen.c): Likewise.
18104 (CFLAGS-fseek.c): Likewise.
18105 (CFLAGS-fseeko64.c): Likewise.
18106 (CFLAGS-fseeko.c): Likewise.
18107 (CFLAGS-ftello64.c): Likewise.
18108 (CFLAGS-ftello.c): Likewise.
18109 (CFLAGS-fwide.c): Likewise.
18110 (CFLAGS-genops.c): Likewise.
18111 (CFLAGS-getc.c): Likewise.
18112 (CFLAGS-getchar.c): Likewise.
18113 (CFLAGS-getwc.c): Likewise.
18114 (CFLAGS-getwchar.c): Likewise.
18115 (CFLAGS-iofclose.c): Likewise.
18116 (CFLAGS-iofflush.c): Likewise.
18117 (CFLAGS-iofgetpos64.c): Likewise.
18118 (CFLAGS-iofgetpos.c): Likewise.
18119 (CFLAGS-iofgets.c): Likewise.
18120 (CFLAGS-iofgetws.c): Likewise.
18121 (CFLAGS-iofputs.c): Likewise.
18122 (CFLAGS-iofputws.c): Likewise.
18123 (CFLAGS-iofread.c): Likewise.
18124 (CFLAGS-iofsetpos64.c): Likewise.
18125 (CFLAGS-iofsetpos.c): Likewise.
18126 (CFLAGS-ioftell.c): Likewise.
18127 (CFLAGS-iofwrite.c): Likewise.
18128 (CFLAGS-iogetdelim.c): Likewise.
18129 (CFLAGS-iogetline.c): Likewise.
18130 (CFLAGS-iogets.c): Likewise.
18131 (CFLAGS-iogetwline.c): Likewise.
18132 (CFLAGS-ioputs.c): Likewise.
18133 (CFLAGS-ioseekoff.c): Likewise.
18134 (CFLAGS-ioseekpos.c): Likewise.
18135 (CFLAGS-iosetbuffer.c): Likewise.
18136 (CFLAGS-iosetvbuf.c): Likewise.
18137 (CFLAGS-ioungetc.c): Likewise.
18138 (CFLAGS-ioungetwc.c): Likewise.
18139 (CFLAGS-oldfileops.c): Likewise.
18140 (CFLAGS-oldiofclose.c): Likewise.
18141 (CFLAGS-oldiofgetpos64.c): Likewise.
18142 (CFLAGS-oldiofgetpos.c): Likewise.
18143 (CFLAGS-oldiofsetpos64.c): Likewise.
18144 (CFLAGS-oldiofsetpos.c): Likewise.
18145 (CFLAGS-peekc.c): Likewise.
18146 (CFLAGS-putc.c): Likewise.
18147 (CFLAGS-putchar.c): Likewise.
18148 (CFLAGS-putwc.c): Likewise.
18149 (CFLAGS-putwchar.c): Likewise.
18150 (CFLAGS-rewind.c): Likewise.
18151 (CFLAGS-wfileops.c): Likewise.
18152 (CFLAGS-wgenops.c): Likewise.
18153 (CFLAGS-oldiofopen.c): Likewise.
18154 (CFLAGS-iofopen.c): Likewise.
18155 (CFLAGS-iofopen64.c): Likewise.
18156 (CFLAGS-oldtmpfile.c): Likewise.
18157 (CFLAGS-tst_putwc.c): Likewise.
18158 * locale/Makefile (CFLAGS-md5.c): Likewise.
18159 (CFLAGS-charmap.c): Likewise.
18160 (CFLAGS-locfile.c): Likewise.
18161 (CFLAGS-charmap-dir.c): Likewise.
18162 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18163 (CFLAGS-getpt.c): Likewise.
18164 (CFLAGS-pt_chown.c): Likewise.
18165 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18166 (CFLAGS-obstack.c): Likewise.
18167 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18168 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18169 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18170 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18171 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18172 (CFLAGS-test-tgmath.c): Likewise.
18173 (CFLAGS-test-tgmath2.c): Likewise.
18174 (CFLAGS-test-tgmath-ret.c): Likewise.
18175 (CFLAGS-test-powl.c): Likewise.
18176 (CFLAGS-test-snan.c): Likewise.
18177 (CFLAGS-test-signgam-finite.c): Likewise.
18178 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18179 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18180 (CFLAGS-test-signgam-uchar.c): Likewise.
18181 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18182 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18183 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18184 (CFLAGS-test-signgam-uint.c): Likewise.
18185 (CFLAGS-test-signgam-uint-init.c): Likewise.
18186 (CFLAGS-test-signgam-uint-static.c): Likewise.
18187 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18188 (CFLAGS-test-signgam-ullong.c): Likewise.
18189 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18190 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18191 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18192 (CFLAGS-test-math-cxx11.cc): Likewise.
18193 (CFLAGS-test-math-isinff.cc): Likewise.
18194 (CFLAGS-test-math-iszero.cc): Likewise.
18195 (CFLAGS-test-math-issignaling.cc): Likewise.
18196 (CFLAGS-test-math-iscanonical.cc): Likewise.
18197 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18198 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18199 (CFLAGS-test-flt-eval-method.c): Likewise.
18200 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18201 (CFLAGS-test-finite-macros.c): Likewise.
18202 * misc/Makefile (CFLAGS-select.c): Likewise.
18203 (CFLAGS-tsearch.c): Likewise.
18204 (CFLAGS-lsearch.c): Likewise.
18205 (CFLAGS-pselect.c): Likewise.
18206 (CFLAGS-readv.c): Likewise.
18207 (CFLAGS-writev.c): Likewise.
18208 (CFLAGS-preadv.c): Likewise.
18209 (CFLAGS-preadv64.c): Likewise.
18210 (CFLAGS-pwritev.c): Likewise.
18211 (CFLAGS-pwritev64.c): Likewise.
18212 (CFLAGS-preadv2.c): Likewise.
18213 (CFLAGS-preadv64v2.c): Likewise.
18214 (CFLAGS-pwritev2.c): Likewise.
18215 (CFLAGS-pwritev64v2.c): Likewise.
18216 (CFLAGS-usleep.c): Likewise.
18217 (CFLAGS-syslog.c): Likewise.
18218 (CFLAGS-error.c): Likewise.
18219 (CFLAGS-getpass.c): Likewise.
18220 (CFLAGS-mkstemp.c): Likewise.
18221 (CFLAGS-mkstemp64.c): Likewise.
18222 (CFLAGS-getsysstats.c): Likewise.
18223 (CFLAGS-getusershell.c): Likewise.
18224 (CFLAGS-err.c): Likewise.
18225 (CFLAGS-tst-tsearch.c): Likewise.
18226 (CFLAGS-msync.c): Likewise.
18227 (CFLAGS-fdatasync.c): Likewise.
18228 (CFLAGS-fsync.c): Likewise.
18229 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18230 (CFLAGS-unwind.c): Likewise.
18231 (CFLAGS-unwind-forcedunwind.c): Likewise.
18232 (CFLAGS-pthread_cancel.c): Likewise.
18233 (CFLAGS-pthread_setcancelstate.c): Likewise.
18234 (CFLAGS-pthread_setcanceltype.c): Likewise.
18235 (CFLAGS-cancellation.c): Likewise.
18236 (CFLAGS-libc-cancellation.c): Likewise.
18237 (CFLAGS-pthread_exit.c): Likewise.
18238 (CFLAGS-forward.c): Likewise.
18239 (CFLAGS-pthread_testcancel.c): Likewise.
18240 (CFLAGS-pthread_join.c): Likewise.
18241 (CFLAGS-pthread_timedjoin.c): Likewise.
18242 (CFLAGS-pthread_once.c): Likewise.
18243 (CFLAGS-pthread_cond_wait.c): Likewise.
18244 (CFLAGS-sem_wait.c): Likewise.
18245 (CFLAGS-sem_timedwait.c): Likewise.
18246 (CFLAGS-fcntl.c): Likewise.
18247 (CFLAGS-lockf.c): Likewise.
18248 (CFLAGS-pread.c): Likewise.
18249 (CFLAGS-pread64.c): Likewise.
18250 (CFLAGS-pwrite.c): Likewise.
18251 (CFLAGS-pwrite64.c): Likewise.
18252 (CFLAGS-wait.c): Likewise.
18253 (CFLAGS-waitpid.c): Likewise.
18254 (CFLAGS-sigwait.c): Likewise.
18255 (CFLAGS-msgrcv.c): Likewise.
18256 (CFLAGS-msgsnd.c): Likewise.
18257 (CFLAGS-tcdrain.c): Likewise.
18258 (CFLAGS-open.c): Likewise.
18259 (CFLAGS-open64.c): Likewise.
18260 (CFLAGS-pause.c): Likewise.
18261 (CFLAGS-recv.c): Likewise.
18262 (CFLAGS-send.c): Likewise.
18263 (CFLAGS-accept.c): Likewise.
18264 (CFLAGS-sendto.c): Likewise.
18265 (CFLAGS-connect.c): Likewise.
18266 (CFLAGS-recvfrom.c): Likewise.
18267 (CFLAGS-recvmsg.c): Likewise.
18268 (CFLAGS-sendmsg.c): Likewise.
18269 (CFLAGS-close.c): Likewise.
18270 (CFLAGS-read.c): Likewise.
18271 (CFLAGS-write.c): Likewise.
18272 (CFLAGS-nanosleep.c): Likewise.
18273 (CFLAGS-sigsuspend.c): Likewise.
18274 (CFLAGS-msync.c): Likewise.
18275 (CFLAGS-fdatasync.c): Likewise.
18276 (CFLAGS-fsync.c): Likewise.
18277 (CFLAGS-pt-system.c): Likewise.
18278 (CFLAGS-tst-cleanup2.c): Likewise.
18279 (CFLAGS-tst-cleanupx2.c): Likewise.
18280 (CFLAGS-flockfile.c): Likewise.
18281 (CFLAGS-ftrylockfile.c): Likewise.
18282 (CFLAGS-funlockfile.c): Likewise.
18283 (CFLAGS-tst-initializers1.c): Likewise.
18284 (CFLAGS-tst-initializers1-c89.c): Likewise.
18285 (CFLAGS-tst-initializers1-c99.c): Likewise.
18286 (CFLAGS-tst-initializers1-c11.c): Likewise.
18287 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18288 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18289 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18290 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18291 (CFLAGS-nscd_getgr_r.c): Likewise.
18292 (CFLAGS-nscd_gethst_r.c): Likewise.
18293 (CFLAGS-nscd_getai.c): Likewise.
18294 (CFLAGS-nscd_initgroups.c): Likewise.
18295 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18296 (CFLAGS-pause.c): Likewise.
18297 (CFLAGS-pread.c): Likewise.
18298 (CFLAGS-pread64.c): Likewise.
18299 (CFLAGS-pwrite.c): Likewise.
18300 (CFLAGS-pwrite64.c): Likewise.
18301 (CFLAGS-sleep.c): Likewise.
18302 (CFLAGS-wait.c): Likewise.
18303 (CFLAGS-waitid.c): Likewise.
18304 (CFLAGS-waitpid.c): Likewise.
18305 (CFLAGS-getopt.c): Likewise.
18306 (CFLAGS-wordexp.c): Likewise.
18307 (CFLAGS-sysconf.c): Likewise.
18308 (CFLAGS-pathconf.c): Likewise.
18309 (CFLAGS-fpathconf.c): Likewise.
18310 (CFLAGS-spawn.c): Likewise.
18311 (CFLAGS-spawnp.c): Likewise.
18312 (CFLAGS-spawni.c): Likewise.
18313 (CFLAGS-glob.c): Likewise.
18314 (CFLAGS-glob64.c): Likewise.
18315 (CFLAGS-getconf.c): Likewise.
18316 (CFLAGS-nanosleep.c): Likewise.
18317 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18318 (CFLAGS-getpwent.c): Likewise.
18319 (CFLAGS-getpw.c): Likewise.
18320 (CFLAGS-fgetpwent_r.c): Likewise.
18321 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18322 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18323 (CFLAGS-mq_timedreceive.c): Likewise.
18324 (CFLAGS-mq_timedsend.c): Likewise.
18325 (CFLAGS-clock_nanosleep.c): Likewise.
18326 (CFLAGS-librt-cancellation.c): Likewise.
18327 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18328 (CFLAGS-getspent.c): Likewise.
18329 (CFLAGS-fgetspent.c): Likewise.
18330 (CFLAGS-fgetspent_r.c): Likewise.
18331 (CFLAGS-putspent.c): Likewise.
18332 (CFLAGS-getspnam.c): Likewise.
18333 (CFLAGS-getspnam_r.c): Likewise.
18334 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18335 (CFLAGS-sigsuspend.c): Likewise.
18336 (CFLAGS-sigtimedwait.c): Likewise.
18337 (CFLAGS-sigwait.c): Likewise.
18338 (CFLAGS-sigwaitinfo.c): Likewise.
18339 (CFLAGS-sigreturn.c): Likewise.
18340 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18341 (CFLAGS-vfwprintf.c): Likewise.
18342 (CFLAGS-tmpfile.c): Likewise.
18343 (CFLAGS-tmpfile64.c): Likewise.
18344 (CFLAGS-tempname.c): Likewise.
18345 (CFLAGS-psignal.c): Likewise.
18346 (CFLAGS-vprintf.c): Likewise.
18347 (CFLAGS-cuserid.c): Likewise.
18348 (CFLAGS-errlist.c): Likewise.
18349 (CFLAGS-siglist.c): Likewise.
18350 (CFLAGS-scanf15.c): Likewise.
18351 (CFLAGS-scanf17.c): Likewise.
18352 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18353 (CFLAGS-msort.c): Likewise.
18354 (CFLAGS-qsort.c): Likewise.
18355 (CFLAGS-system.c): Likewise.
18356 (CFLAGS-fmtmsg.c): Likewise.
18357 (CFLAGS-strfmon.c): Likewise.
18358 (CFLAGS-strfmon_l.c): Likewise.
18359 (CFLAGS-strfromd.c): Likewise.
18360 (CFLAGS-strfromf.c): Likewise.
18361 (CFLAGS-strfroml.c): Likewise.
18362 (CFLAGS-tst-bsearch.c): Likewise.
18363 (CFLAGS-tst-qsort.c): Likewise.
18364 (CFLAGS-tst-makecontext2.c): Likewise.
18365 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18366 (CFLAGS-xnlm_prot.c): Likewise.
18367 (CFLAGS-xrstat.c): Likewise.
18368 (CFLAGS-xyppasswd.c): Likewise.
18369 (CFLAGS-xklm_prot.c): Likewise.
18370 (CFLAGS-xrex.c): Likewise.
18371 (CFLAGS-xsm_inter.c): Likewise.
18372 (CFLAGS-xmount.c): Likewise.
18373 (CFLAGS-xrusers.c): Likewise.
18374 (CFLAGS-xspray.c): Likewise.
18375 (CFLAGS-xnfs_prot.c): Likewise.
18376 (CFLAGS-xrquota.c): Likewise.
18377 (CFLAGS-xkey_prot.c): Likewise.
18378 (CFLAGS-auth_unix.c): Likewise.
18379 (CFLAGS-key_call.c): Likewise.
18380 (CFLAGS-pmap_rmt.c): Likewise.
18381 (CFLAGS-clnt_perr.c): Likewise.
18382 (CFLAGS-openchild.c): Likewise.
18383 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18384 (CFLAGS-msgsnd.c): Likewise.
18385 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18386 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18387 (CFLAGS-tzset.c): Likewise.
18388 (CFLAGS-getdate.c): Likewise.
18389 (CFLAGS-test_time.c): Likewise.
18390 (CPPFLAGS-tst-tzname.c): Likewise.
18391 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18392 (CFLAGS-zic.c): Likewise.
18393 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18394 (CFLAGS-wcswidth.c): Likewise.
18395 (CFLAGS-wcstol.c): Likewise.
18396 (CFLAGS-wcstoul.c): Likewise.
18397 (CFLAGS-wcstoll.c): Likewise.
18398 (CFLAGS-wcstoull.c): Likewise.
18399 (CFLAGS-wcstod.c): Likewise.
18400 (CFLAGS-wcstold.c): Likewise.
18401 (CFLAGS-wcstof128.c): Likewise.
18402 (CFLAGS-wcstof.c): Likewise.
18403 (CFLAGS-wcstol_l.c): Likewise.
18404 (CFLAGS-wcstoul_l.c): Likewise.
18405 (CFLAGS-wcstoll_l.c): Likewise.
18406 (CFLAGS-wcstoull_l.c): Likewise.
18407 (CFLAGS-wcstod_l.c): Likewise.
18408 (CFLAGS-wcstold_l.c): Likewise.
18409 (CFLAGS-wcstof128_l.c): Likewise.
18410 (CFLAGS-wcstof_l.c): Likewise.
18411 (CPPFLAGS-tst-wchar-h.c): Likewise.
18412 (CPPFLAGS-wcstold_l.c): Likewise.
18413
18414 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18415
18416 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18417
18418 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18419 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18420
18421 * manual/tunables.texi (Hardware Capability Tunables): Document
18422 glibc.tune.cached_memopt.
18423 * sysdeps/powerpc/cpu-features.c: New file.
18424 * sysdeps/powerpc/cpu-features.h: New file.
18425 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18426 _dl_powerpc_cpu_features.
18427 * sysdeps/powerpc/dl-tunables.list: New file.
18428 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18429 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18430 (INIT_ARCH): Initialize use_aligned_memopt.
18431 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18432 IS_IN(rtld))]: Restrict dl_platform_init availability and
18433 initialize CPU features used by tunables.
18434 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18435 Add memcpy-power8-cached.
18436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18437 __memcpy_power8_cached.
18438 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18439 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18440 New file.
18441
18442 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18443
18444 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18445 (CFLAGS-noinl-tester.c): Likewise.
18446 (CFLAGS-tst-strlen.c): Likewise.
18447 (CFLAGS-stratcliff.c): Likewise.
18448 (CFLAGS-test-ffs.c): Likewise.
18449 (CFLAGS-tst-inlcall.c): Likewise.
18450 (CFLAGS-tst-xbzero-opt.c): Likewise.
18451 (CFLAGS-memcpy.c): Likewise.
18452 (CFLAGS-wordcopy.c): Likewise.
18453
18454 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18455
18456 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18457 Store r15 on stack and add cfi rule.
18458 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18459 Likewise.
18460
18461 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18462
18463 [BZ #22577]
18464 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18465 call.
18466
18467 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18468
18469 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18470 Add s_sinf-sse2 and s_sinf-fma.
18471 (CFLAGS-s_sinf-fma.c): New.
18472 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18473 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18474 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18475
18476 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18477
18478 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18479
18480 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18481
18482 [BZ #22568]
18483 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18484 part of result to imaginary part of argument if it is zero and the
18485 real part of the argument is not finite.
18486 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18487 of result to real part of argument if it is zero and the imaginary
18488 part of the argument is not finite.
18489
18490 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18491
18492 [BZ #22524]
18493 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18494 and to the list of locales to be built for testing.
18495 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18496 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18497 and build the collation rules upon that.
18498
18499 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18500
18501 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18502 * manual/math.texi (Mathematics): Document support for _Float32.
18503 * math/Makefile (test-types): Add float32.
18504 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18505 * stdlib/Versions (GLIBC_2.27): Likewise.
18506 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18507 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18508 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18509 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18510 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18511 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18512 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18513 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18514 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18515 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18516 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18517 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18518 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18519 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18520 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18521 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18522 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18523 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18524 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18525 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18526 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18527 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18528 Likewise.
18529 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18530 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18531 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18532 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18533 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18535 Likewise.
18536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18537 Likewise.
18538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18539 Likewise.
18540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18541 Likewise.
18542
18543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18544 Likewise.
18545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18546 Likewise.
18547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18548 Likewise.
18549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18550 Likewise.
18551 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18552 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18553 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18554 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18555 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18556 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18557 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18558 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18559 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18560 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18562 Likewise.
18563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18564 Likewise.
18565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18566 Likewise.
18567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18568 Likewise.
18569 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18570 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18571 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18572 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18573 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18574 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18575 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18576 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18577
18578 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18579
18580 * stdlib/strtof.c: Include <bits/floatn.h>
18581 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18582 and later undefine as macro. Define as weak alias if
18583 [!USE_WIDE_CHAR].
18584 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18585 and later undefine as macro. Define as weak alias if
18586 [USE_WIDE_CHAR].
18587 * stdlib/strtof_l.c: Include <bits/floatn.h>
18588 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18589 and later undefine as macro. Define as weak alias if
18590 [!USE_WIDE_CHAR].
18591 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18592 and later undefine as macro. Define as weak alias if
18593 [USE_WIDE_CHAR].
18594
18595 * stdlib/strfromf.c: Include <bits/floatn.h>.
18596 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18597 and later undefine as macro and define as weak alias.
18598
18599 * math/test-float32.h: New file.
18600
18601 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18602 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18603 (libm_alias_float_other_r): Create f32 alias.
18604 (libm_alias_float_r): Use semicolon before call to
18605 libm_alias_float_other_r.
18606
18607 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18608 second argument to libm_alias_float_other.
18609 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18610 second argument to libm_alias_float_other.
18611 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18612 argument to libm_alias_float_other.
18613
18614 [BZ #22561]
18615 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18616 real part of result for argument 0 + i * NaN.
18617 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18618 results for tests of 0 + i * NaN.
18619
18620 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18621
18622 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18623
18624 2017-12-06 David S. Miller <davem@davemloft.net>
18625
18626 * sysdeps/sparc/fpu/libm-test-ulps: Update
18627 exp_{downward,towardzero,upward} ulps.
18628
18629 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18630
18631 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18632 variables static.
18633
18634 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18635 (Y0_2D): Likewise.
18636 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18637 (Y0_2D): Likewise.
18638 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18639 (Y0_2D): Likewise.
18640 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18641 (Y0_2D): Likewise.
18642
18643 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18644
18645 [BZ #22515]
18646 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18647 and to the list of locales to be built for testing.
18648 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18649 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18650 and build the collation rules upon that.
18651
18652 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18653
18654 * NEWS: Add sinf to list of optimized functions.
18655
18656 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18657
18658 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18659 (__HAVE_FLOAT32X): Likewise.
18660 * manual/math.texi (Mathematics): Document support for _Float64
18661 and _Float32x.
18662 * math/Makefile (test-types): Add float64 and float32x.
18663 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18664 functions.
18665 * stdlib/Versions (GLIBC_2.27): Likewise.
18666 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18667 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18668 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18669 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18670 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18671 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18672 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18673 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18674 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18675 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18676 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18677 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18678 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18679 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18680 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18681 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18682 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18683 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18684 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18685 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18686 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18687 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18688 Likewise.
18689 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18690 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18691 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18692 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18693 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18695 Likewise.
18696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18697 Likewise.
18698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18699 Likewise.
18700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18701 Likewise.
18702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18703 Likewise.
18704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18705 Likewise.
18706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18707 Likewise.
18708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18709 Likewise.
18710 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18711 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18712 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18713 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18714 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18715 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18716 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18717 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18718 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18719 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18721 Likewise.
18722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18723 Likewise.
18724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18725 Likewise.
18726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18727 Likewise.
18728 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18729 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18730 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18731 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18732 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18733 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18734 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18735 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18736
18737 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18738
18739 * bits/floatn-common.h: Include <bits/long-double.h>.
18740 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18741 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18742 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18743 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18744 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18745 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18746 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18747 (__builtin_huge_valf64): Use __builtin_huge_vall.
18748 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18749 (__builtin_inff64): Use __builtin_infl.
18750 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18751 (__builtin_nanf64): Use __builtin_nanl.
18752 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18753 (__builtin_nansf64): Use __builtin_nansl.
18754
18755 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18756 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18757 Carlos O'Donnell <carlos@redhat.com>
18758
18759 * elf/dl-tunables.list: Add elision parameters.
18760 * manual/tunables.texi: Add entries about elision tunable.
18761 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18762 Add callback functions to dynamically enable/disable elision.
18763 Add multiple callbacks functions to set elision parameters.
18764 Deleted __libc_enable_secure check.
18765 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18766 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18767 * configure: Regenerated.
18768 * configure.ac: Option enable_lock_elision was deleted.
18769 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18770 * config.make.in: Remove references to enable_lock_elision.
18771 * manual/install.texi: Elision configure option was removed.
18772 * INSTALL: Regenerated to remove enable_lock_elision.
18773 * nptl/Makefile:
18774 Disable elision so it can verify error case for destroying a mutex.
18775 * sysdeps/powerpc/nptl/elide.h:
18776 Cleanup ENABLE_LOCK_ELISION check.
18777 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18778 * sysdeps/s390/configure: Regenerated.
18779 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18780 * nptl/tst-mutex8.c:
18781 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18782 * sysdeps/powerpc/powerpc32/sysdep.h:
18783 Deleted all ENABLE_LOCK_ELISION checks.
18784 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18785 * sysdeps/powerpc/sysdep.h: Likewise.
18786 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18787 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18788 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18789 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18790 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18791 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18792 enable-lock-elision.
18793
18794 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18795
18796 * stdlib/strtod.c: Include <bits/floatn.h>.
18797 (BUILD_DOUBLE): New macro.
18798 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18799 (strtof64): Define and later undefine as macro. Define as weak
18800 alias if [!USE_WIDE_CHAR].
18801 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18802 (wcstof64): Define and later undefine as macro. Define as weak
18803 alias if [USE_WIDE_CHAR].
18804 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18805 (strtof32x): Define and later undefine as macro. Define as weak
18806 alias if [!USE_WIDE_CHAR].
18807 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18808 (wcstof32x): Define and later undefine as macro. Define as weak
18809 alias if [USE_WIDE_CHAR].
18810 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18811 (BUILD_DOUBLE): New macro.
18812 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18813 (strtof64_l): Define and later undefine as macro. Define as weak
18814 alias if [!USE_WIDE_CHAR].
18815 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18816 (wcstof64_l): Define and later undefine as macro. Define as weak
18817 alias if [USE_WIDE_CHAR].
18818 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18819 (strtof32x_l): Define and later undefine as macro. Define as weak
18820 alias if [!USE_WIDE_CHAR].
18821 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18822 (wcstof32x_l): Define and later undefine as macro. Define as weak
18823 alias if [USE_WIDE_CHAR].
18824
18825 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18826
18827 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18828 (reduced): Use ones as double instead of integer.
18829
18830 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18831
18832 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18833
18834 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18835
18836 * stdlib/strfromd.c: Include <bits/floatn.h>.
18837 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18838 and later undefine as macro and define as weak alias.
18839 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18840 Likewise.
18841
18842 * math/test-float32x.h: New file.
18843 * math/test-float64.h: Likewise.
18844
18845 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18846 (libm_alias_double_other_r_f64): New macro.
18847 (libm_alias_double_other_r_f32x): Likewise.
18848 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18849 libm_alias_double_other_r_f32x.
18850 (libm_alias_double_r): Use semicolon before call to
18851 libm_alias_double_other_r.
18852 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18853 <bits/floatn.h>.
18854 (libm_alias_double_other_r_f64): New macro.
18855 (libm_alias_double_other_r_f32x): Likewise.
18856 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18857 libm_alias_double_other_r_f32x.
18858
18859 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18860
18861 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18862 int.
18863 (SINF_FUNC): Likewise. Replace floor with simple casts.
18864
18865 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18866
18867 [BZ #22517]
18868 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18869 and to the list of locales to be built for testing.
18870 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18871 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18872 and build the collation rules upon that.
18873
18874 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18875
18876 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18877 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18878 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18879 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18880 instead of __insn__xxx.
18881 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18882 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18883 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18884 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18885 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18886 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18887
18888 2017-12-05 Florian Weimer <fweimer@redhat.com>
18889
18890 Linux: Implement interfaces for memory protection keys
18891 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18892 xsignal, xsysconf.
18893 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18894 * support/xunistd.h (xsysconf): Declare.
18895 * support/xraise.c: New file.
18896 * support/xsigaction.c: Likewise.
18897 * support/xsignal.c: Likewise.
18898 * support/xsysconf.c: Likewise.
18899 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18900 pkey_set, pkey_get, pkey_mprotect.
18901 [misc] (tests): Add tst-pkey.
18902 (tst-pkey): Link with -lpthread.
18903 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18904 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18905 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18906 (PKEY_DISABLE_WRITE): Define.
18907 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18908 Declare.
18909 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18910 (SEGV_PKUERR): Add.
18911 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18912 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18913 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18914 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18915 Add.
18916 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18917 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18918 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18919 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18920 * sysdeps/unix/sysv/linux/**.abilist: Update.
18921
18922 2017-12-05 Florian Weimer <fweimer@redhat.com>
18923
18924 * support/tst-test_compare.c (subprocess): Use long long instead
18925 of long argument for consistent type width across 32-bit and
18926 64-bit architectures.
18927 (do_test): Adjust expected output.
18928
18929 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18930
18931 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
18932 (cosf): Define using libm_alias_float.
18933 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
18934 (fabsf): Define using libm_alias_float.
18935 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
18936 (fmaf): Define using libm_alias_float.
18937 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
18938 (rintf): Define using libm_alias_float.
18939 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
18940 (sinf): Define using libm_alias_float.
18941 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
18942 <libm-alias-float.h>.
18943 (modff): Define using libm_alias_float.
18944 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
18945 <libm-alias-float.h>.
18946 (logbf): Define using libm_alias_float.
18947 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
18948 <libm-alias-float.h>.
18949 (ceilf): Define using libm_alias_float.
18950 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18951 <libm-alias-float.h>.
18952 (copysignf): Define using libm_alias_float.
18953 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
18954 <libm-alias-float.h>.
18955 (floorf): Define using libm_alias_float.
18956 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18957 <libm-alias-float.h>.
18958 (llrintf): Define using libm_alias_float.
18959 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18960 <libm-alias-float.h>.
18961 (llroundf): Define using libm_alias_float.
18962 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18963 <libm-alias-float.h>.
18964 (lrintf): Define using libm_alias_float.
18965 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18966 <libm-alias-float.h>.
18967 (lroundf): Define using libm_alias_float.
18968 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
18969 <libm-alias-float.h>.
18970 (nearbyintf): Define using libm_alias_float.
18971 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
18972 <libm-alias-float.h>.
18973 (rintf): Define using libm_alias_float.
18974 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
18975 <libm-alias-float.h>.
18976 (roundf): Define using libm_alias_float.
18977 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
18978 <libm-alias-float.h>.
18979 (truncf): Define using libm_alias_float.
18980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
18981 Include <libm-alias-float.h>.
18982 (ceilf): Define using libm_alias_float.
18983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
18984 Include <libm-alias-float.h>.
18985 (copysignf): Define using libm_alias_float.
18986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
18987 Include <libm-alias-float.h>.
18988 (floorf): Define using libm_alias_float.
18989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
18990 Include <libm-alias-float.h>.
18991 (llrintf): Define using libm_alias_float.
18992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
18993 Include <libm-alias-float.h>.
18994 (llroundf): Define using libm_alias_float.
18995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
18996 Include <libm-alias-float.h>.
18997 (logbf): Define using libm_alias_float.
18998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
18999 Include <libm-alias-float.h>.
19000 (lrintf): Define using libm_alias_float.
19001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19002 Include <libm-alias-float.h>.
19003 (lroundf): Define using libm_alias_float.
19004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19005 Include <libm-alias-float.h>.
19006 (modff): Define using libm_alias_float.
19007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19008 Include <libm-alias-float.h>.
19009 (roundf): Define using libm_alias_float.
19010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19011 Include <libm-alias-float.h>.
19012 (truncf): Define using libm_alias_float.
19013 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19014 <libm-alias-float.h>.
19015 (llrintf): Define using libm_alias_float.
19016 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19017 <libm-alias-float.h>.
19018 (llroundf): Define using libm_alias_float.
19019 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19020 <libm-alias-float.h>.
19021 (ceilf): Define using libm_alias_float.
19022 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19023 <libm-alias-float.h>.
19024 (floorf): Define using libm_alias_float.
19025 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19026 <libm-alias-float.h>.
19027 (llroundf): Define using libm_alias_float.
19028 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19029 <libm-alias-float.h>.
19030 (lroundf): Define using libm_alias_float.
19031 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19032 <libm-alias-float.h>.
19033 (roundf): Define using libm_alias_float.
19034 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19035 <libm-alias-float.h>.
19036 (truncf): Define using libm_alias_float.
19037 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19038 <libm-alias-float.h>.
19039 (copysignf): Define using libm_alias_float.
19040 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19041 <libm-alias-float.h>.
19042 (llrintf): Define using libm_alias_float.
19043 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19044 <libm-alias-float.h>.
19045 (llroundf): Define using libm_alias_float.
19046 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19047 <libm-alias-float.h>.
19048 (lrintf): Define using libm_alias_float.
19049 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19050 <libm-alias-float.h>.
19051 (lroundf): Define using libm_alias_float.
19052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19053 <libm-alias-float.h>.
19054 (ceilf): Define using libm_alias_float.
19055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19056 <libm-alias-float.h>.
19057 (copysignf): Define using libm_alias_float.
19058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19059 <libm-alias-float.h>.
19060 (cosf): Define using libm_alias_float.
19061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19062 <libm-alias-float.h>.
19063 (floorf): Define using libm_alias_float.
19064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19065 <libm-alias-float.h>.
19066 (llrintf): Define using libm_alias_float.
19067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19068 <libm-alias-float.h>.
19069 (llroundf): Define using libm_alias_float.
19070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19071 <libm-alias-float.h>.
19072 (logbf): Define using libm_alias_float.
19073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19074 <libm-alias-float.h>.
19075 (modff): Define using libm_alias_float.
19076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19077 <libm-alias-float.h>.
19078 (roundf): Define using libm_alias_float.
19079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19080 <libm-alias-float.h>.
19081 (sinf): Define using libm_alias_float.
19082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19083 <libm-alias-float.h>.
19084 (truncf): Define using libm_alias_float.
19085 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19086 <libm-alias-float.h>.
19087 (ceilf): Define using libm_alias_float.
19088 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19089 <libm-alias-float.h>.
19090 (copysignf): Define using libm_alias_float.
19091 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19092 <libm-alias-float.h>.
19093 (floorf): Define using libm_alias_float.
19094 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19095 <libm-alias-float.h>.
19096 (llrintf): Define using libm_alias_float.
19097 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19098 <libm-alias-float.h>.
19099 (llroundf): Define using libm_alias_float.
19100 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19101 <libm-alias-float.h>.
19102 (nearbyintf): Define using libm_alias_float.
19103 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19104 <libm-alias-float.h>.
19105 (rintf): Define using libm_alias_float.
19106 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19107 <libm-alias-float.h>.
19108 (roundf): Define using libm_alias_float.
19109 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19110 <libm-alias-float.h>.
19111 (truncf): Define using libm_alias_float.
19112 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19113 <libm-alias-float.h>.
19114 (ceilf): Define using libm_alias_float.
19115 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19116 <libm-alias-float.h>.
19117 (floorf): Define using libm_alias_float.
19118 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19119 <libm-alias-float.h>.
19120 (llroundf): Define using libm_alias_float.
19121 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19122 <libm-alias-float.h>.
19123 (roundf): Define using libm_alias_float.
19124 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19125 <libm-alias-float.h>.
19126 (truncf): Define using libm_alias_float.
19127 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19128 <libm-alias-float.h>.
19129 (copysignf): Define using libm_alias_float.
19130 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19131 <libm-alias-float.h>.
19132 (llrintf): Define using libm_alias_float.
19133 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19134 <libm-alias-float.h>.
19135 (llroundf): Define using libm_alias_float.
19136 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19137 <libm-alias-float.h>.
19138 (cosf): Define using libm_alias_float.
19139 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19140 <libm-alias-float.h>.
19141 (llrintf): Define using libm_alias_float.
19142 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19143 <libm-alias-float.h>.
19144 (llroundf): Define using libm_alias_float.
19145 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19146 <libm-alias-float.h>.
19147 (sinf): Define using libm_alias_float.
19148
19149 2017-12-04 Florian Weimer <fweimer@redhat.com>
19150
19151 * support/check.h (TEST_COMPARE): Define.
19152 (support_test_compare_failure): Declare.
19153 * support/Makefile (libsupport-routines): Add
19154 support_test_compare_failure.
19155 (tests): Add tst-test_compare.
19156 * support /support_test_compare_failure.c: New file.
19157 * support/tst-test_compare.c: Likewise.
19158
19159 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19160
19161 [BZ #22527]
19162 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19163 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19164 available, this rewrite of the collation rules does reproduce
19165 the test file in the same order.
19166
19167 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19168
19169 [BZ #10580]
19170 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19171 digraphs in the month and day names. Using single code points for
19172 digraphs is deprecated. While there are dedicated Unicode
19173 codepoints, for the digraphs, these are included for backwards
19174 compatibility and modern texts use a sequence of Basic Latin
19175 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19176 This makes the month and day names agree exactly with CLDR now,
19177 CLDR does not use the single code points for the digraphs either.
19178
19179 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19180
19181 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19182
19183 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19184
19185 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19186 of floor.
19187
19188 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19189
19190 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19191 Define only for libc.so.
19192
19193 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19194
19195 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19196 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19197 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19198 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19199 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19200
19201 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19202
19203 [BZ #5997]
19204 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19205
19206 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19207
19208 [BZ libc/19170]
19209 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19210 PREINIT_FUNCTION_WEAK is nonzero.
19211 (gmon_initializer): New function. Put procedure label for it in
19212 .init_array section.
19213 (_init): Don't call PREINIT_FUNCTION.
19214 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19215 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19216 value when map argument is null.
19217
19218 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19219 depi instruction from PIC pc-relative sequence.
19220 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19221 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19222 (elf_machine_load_address): Likewise.
19223 (elf_machine_runtime_setup): Likewise.
19224
19225 2017-12-02 Joseph Myers <joseph@codesourcery.com>
19226
19227 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19228 <libm-alias-double.h>.
19229 (logb): Define using libm_alias_double.
19230 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19231 <libm-alias-double.h>.
19232 (copysign): Define using libm_alias_double.
19233 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19234 <libm-alias-double.h>.
19235 (llrint): Define using libm_alias_double.
19236 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19237 <libm-alias-double.h>.
19238 (llround): Define using libm_alias_double.
19239 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19240 <libm-alias-double.h>.
19241 (lrint): Define using libm_alias_double.
19242 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19243 <libm-alias-double.h>.
19244 (lround): Define using libm_alias_double.
19245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19246 Include <libm-alias-double.h>.
19247 (copysign): Define using libm_alias_double.
19248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19249 Include <libm-alias-double.h>.
19250 (llrint): Define using libm_alias_double.
19251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19252 Include <libm-alias-double.h>.
19253 (llround): Define using libm_alias_double.
19254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19255 <libm-alias-double.h>.
19256 (logb): Define using libm_alias_double.
19257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19258 Include <libm-alias-double.h>.
19259 (lrint): Define using libm_alias_double.
19260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19261 Include <libm-alias-double.h>.
19262 (lround): Define using libm_alias_double.
19263 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19264 <libm-alias-double.h>.
19265 (llrint): Define using libm_alias_double.
19266 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19267 <libm-alias-double.h>.
19268 (llround): Define using libm_alias_double.
19269 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19270 <libm-alias-double.h>.
19271 (llround): Define using libm_alias_double.
19272 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19273 <libm-alias-double.h>.
19274 (lround): Define using libm_alias_double.
19275 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19276 <libm-alias-double.h>.
19277 (copysign): Define using libm_alias_double.
19278 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19279 <libm-alias-double.h>.
19280 (llrint): Define using libm_alias_double.
19281 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19282 <libm-alias-double.h>.
19283 (llround): Define using libm_alias_double.
19284 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19285 <libm-alias-double.h>.
19286 (lrint): Define using libm_alias_double.
19287 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19288 <libm-alias-double.h>.
19289 (lround): Define using libm_alias_double.
19290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19291 <libm-alias-double.h>.
19292 (copysign): Define using libm_alias_double.
19293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19294 <libm-alias-double.h>.
19295 (llrint): Define using libm_alias_double.
19296 (lrint): Likewise.
19297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19298 <libm-alias-double.h>.
19299 (llround): Define using libm_alias_double.
19300 (lround): Likewise.
19301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19302 <libm-alias-double.h>.
19303 (logb): Define using libm_alias_double.
19304 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19305 <libm-alias-double.h>.
19306 (copysign): Define using libm_alias_double.
19307 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19308 <libm-alias-double.h>.
19309 (llrint): Define using libm_alias_double.
19310 (lrint): Likewise.
19311 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19312 <libm-alias-double.h>.
19313 (llround): Define using libm_alias_double.
19314 (lround): Likewise.
19315 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19316 <libm-alias-double.h>.
19317 (llround): Define using libm_alias_double.
19318 (lround): Likewise.
19319 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19320 <libm-alias-double.h>.
19321 (copysign): Define using libm_alias_double.
19322 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19323 <libm-alias-double.h>.
19324 (llrint): Define using libm_alias_double.
19325 (lrint): Likewise.
19326 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19327 <libm-alias-double.h>.
19328 (llround): Define using libm_alias_double.
19329 (lround): Likewise.
19330 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19331 <libm-alias-double.h>.
19332 (llrint): Define using libm_alias_double.
19333 (lrint): Likewise.
19334 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19335 <libm-alias-double.h>.
19336 (llround): Define using libm_alias_double.
19337 (lround): Likewise.
19338
19339 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19340
19341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19342 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19343 compat symbol based on llround.
19344
19345 * sysdeps/powerpc/power7/fpu/s_logb.c
19346 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19347 symbol based on __logb, not on logb.
19348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19349 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19351 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19352
19353 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19354 (rint): Define using libm_alias_double.
19355 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19356 <libm-alias-double.h>.
19357 (modf): Define using libm_alias_double.
19358 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19359 <libm-alias-double.h>.
19360 (ceil): Define using libm_alias_double.
19361 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19362 <libm-alias-double.h>.
19363 (floor): Define using libm_alias_double.
19364 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19365 <libm-alias-double.h>.
19366 (nearbyint): Define using libm_alias_double.
19367 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19368 <libm-alias-double.h>.
19369 (rint): Define using libm_alias_double.
19370 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19371 <libm-alias-double.h>.
19372 (round): Define using libm_alias_double.
19373 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19374 <libm-alias-double.h>.
19375 (trunc): Define using libm_alias_double.
19376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19377 <libm-alias-double.h>.
19378 (ceil): Define using libm_alias_double.
19379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19380 Include <libm-alias-double.h>.
19381 (floor): Define using libm_alias_double.
19382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19383 <libm-alias-double.h>.
19384 (modf): Define using libm_alias_double.
19385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19386 Include <libm-alias-double.h>.
19387 (round): Define using libm_alias_double.
19388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19389 Include <libm-alias-double.h>.
19390 (trunc): Define using libm_alias_double.
19391 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19392 <libm-alias-double.h>.
19393 (ceil): Define using libm_alias_double.
19394 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19395 <libm-alias-double.h>.
19396 (floor): Define using libm_alias_double.
19397 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19398 <libm-alias-double.h>.
19399 (round): Define using libm_alias_double.
19400 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19401 <libm-alias-double.h>.
19402 (trunc): Define using libm_alias_double.
19403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19404 <libm-alias-double.h>.
19405 (ceil): Define using libm_alias_double.
19406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19407 <libm-alias-double.h>.
19408 (floor): Define using libm_alias_double.
19409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19410 <libm-alias-double.h>.
19411 (modf): Define using libm_alias_double.
19412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19413 <libm-alias-double.h>.
19414 (round): Define using libm_alias_double.
19415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19416 <libm-alias-double.h>.
19417 (trunc): Define using libm_alias_double.
19418 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19419 <libm-alias-double.h>.
19420 (ceil): Define using libm_alias_double.
19421 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19422 <libm-alias-double.h>.
19423 (floor): Define using libm_alias_double.
19424 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19425 <libm-alias-double.h>.
19426 (nearbyint): Define using libm_alias_double.
19427 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19428 <libm-alias-double.h>.
19429 (rint): Define using libm_alias_double.
19430 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19431 <libm-alias-double.h>.
19432 (round): Define using libm_alias_double.
19433 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19434 <libm-alias-double.h>.
19435 (trunc): Define using libm_alias_double.
19436 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19437 <libm-alias-double.h>.
19438 (ceil): Define using libm_alias_double.
19439 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19440 <libm-alias-double.h>.
19441 (floor): Define using libm_alias_double.
19442 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19443 <libm-alias-double.h>.
19444 (round): Define using libm_alias_double.
19445 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19446 <libm-alias-double.h>.
19447 (trunc): Define using libm_alias_double.
19448
19449 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19450 (fabs): Define using libm_alias_double.
19451 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19452 (fma): Define using libm_alias_double.
19453 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19454 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19455 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19456 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19457
19458 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19459
19460 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19461
19462 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19463 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19464 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19465
19466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19467 due redirect macro.
19468
19469 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19470
19471 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19472
19473 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19474
19475 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19476 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19477 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19478 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19479
19480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19481 (libm-sysdep_routines): Add s_nearbyintf-generic and
19482 s_nearbyint-generic.
19483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19484 New file.
19485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19487 Likewise.
19488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19489 Likewise.
19490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19491 file.
19492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19493 Likewise.
19494
19495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19496 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19498 file.
19499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19501 Likewise.
19502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19505
19506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19507 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19509 file.
19510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19512 Likewise.
19513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19516
19517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19518 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19520 file.
19521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19523 Likewise.
19524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19527
19528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19529 (sysdep_calls): New rule.
19530 (sysdep_routines): Use sysdep_calls as base.
19531 (libm-sysdep_routines): Add generic rule for symbols shared with
19532 libc. Add s_copysign-generic and s_copysign-generic objects.
19533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19534 New file.
19535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19537 Likewise.
19538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19541
19542 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19543
19544 [BZ #22519]
19545 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19546 the list of locales to be built for testing.
19547 * localedata/is_IS.UTF-8.in: New file.
19548 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19549 on iso14651_t1.
19550
19551 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19552
19553 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19554 <libm-alias-float.h>.
19555 (fabsf): Define using libm_alias_float.
19556
19557 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19558
19559 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19560
19561 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19562
19563 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19564 <libm-alias-float.h>.
19565 (fabsf): Define using libm_alias_float.
19566 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19567 <libm-alias-float.h>.
19568 (lrintf): Define using libm_alias_float.
19569 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19570 <libm-alias-float.h>.
19571 (rintf): Define using libm_alias_float.
19572
19573 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19574 <libm-alias-double.h>.
19575 (fabs): Define using libm_alias_double.
19576 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19577 <libm-alias-double.h>.
19578 (lrint): Define using libm_alias_double.
19579 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19580 <libm-alias-double.h>.
19581 (rint): Define using libm_alias_double.
19582
19583 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19584 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19585 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19586 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19587 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19588 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19589 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19590 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19591 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19592 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19593 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19594 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19595 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19596 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19597 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19598 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19599 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19600 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19601 s_atan_template.c.
19602 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19603 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19604 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19605 s_ceil_template.c.
19606 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19607 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19608 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19609 s_cos_template.c.
19610 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19611 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19612 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19613 s_expm1_template.c.
19614 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19615 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19616 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19617 s_fabs_template.c.
19618 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19619 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19620 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19621 s_floor_template.c.
19622 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19623 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19624 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19625 s_frexp_template.c.
19626 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19627 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19628 s_lrint_template.c.
19629 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19630 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19631 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19632 s_modf_template.c.
19633 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19634 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19635 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19636 s_nearbyint_template.c.
19637 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19638 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19639 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19640 s_remquo_template.c.
19641 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19642 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19643 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19644 s_rint_template.c.
19645 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19646 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19647 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19648 s_sin_template.c.
19649 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19650 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19651 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19652 s_sincos_template.c.
19653 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19654 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19655 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19656 s_tan_template.c.
19657 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19658 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19659 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19660 s_tanh_template.c.
19661 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19662 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19663 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19664 s_trunc_template.c.
19665 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19666 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19667 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19668 s_atan.c instead of including s_atan.c.
19669 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19670 s_atanf.c instead of including s_atanf.c.
19671 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19672 s_atanl.c instead of including s_atanl.c.
19673 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19674 instead of s_atan.c.
19675 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19676 instead of s_atanf.c.
19677 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19678 instead of s_atanl.c.
19679
19680 * scripts/update-copyrights: Do not handle intl/plural.c
19681 specially.
19682
19683 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19684
19685 [BZ #22432]
19686 * configure.ac (BISON): Require to be present.
19687 * configure: Regenerated.
19688 * intl/Makefile (generated): Add plural.c.
19689 [$(BISON) != no]: Make code unconditional.
19690 (plural.c): Change rule to $(objpfx)plural.c.
19691 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19692 * intl/plural.c: Remove.
19693 * manual/install.texi (Tools for Compilation): Document bison as
19694 required.
19695 * INSTALL: Regenerated.
19696
19697 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19698
19699 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19700 <libm-alias-double.h>.
19701 (llrint): Define using libm_alias_double.
19702 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19703 <libm-alias-float.h>.
19704 (llrintf): Define using libm_alias_float.
19705 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19706 <libm-alias-ldouble.h>.
19707 (llrintl): Define using libm_alias_ldouble.
19708
19709 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19710 declare_mgen_alias instead of weak_alias.
19711 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19712 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19713 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19714
19715 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19716
19717 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19718 Add add_n-generic.
19719 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19720 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19721 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19722
19723 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19724 Add submul_1-generic.
19725 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19726 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19727 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19728
19729 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19730 Add addmul_1-generic.
19731 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19732 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19733 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19734
19735 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19736 Add sub_n-generic.
19737 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19738 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19739 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19740
19741 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19742 Add mul_1-generic.
19743 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19744 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19745 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19746
19747 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19748
19749 According to CLDR, collation rules for Serbian and Bosnian
19750 should be the same as for Croatian.
19751
19752 [BZ #22534]
19753 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19754 and to the list of locales to be built for testing.
19755 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19756 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19757 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19758 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19759
19760 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19761
19762 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19763 to make test case pass.
19764 * localedata/hr_HR.UTF-8.in: Add more test strings.
19765
19766 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19767
19768 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19769
19770 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19771
19772 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19773 the list of locales to built for testing.
19774 * localedata/hr_HR.UTF-8.in: New file.
19775
19776 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19777
19778 [BZ #10580]
19779 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19780 iso14651_t1.
19781 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19782 CLDR (except use ligatures for the digraphs, CLDR does not use
19783 the ligatures), add first_workday, some fixes in the date and time
19784 formats.
19785 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19786 for Đ and đ.
19787 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19788 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19789 Add int_p_cs_precedes and int_n_cs_precedes.
19790 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19791 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19792 LC_MONETARY now).
19793 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19794 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19795 name_miss.
19796 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19797 and lang_lib. Change postal_fmt.
19798
19799 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19800
19801 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19802 <setjmp.h>.
19803 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19804 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19805 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19806 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19807 * sysdeps/generic/setjmpP.h: New file.
19808 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19809 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19810 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19811 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19812 Add jmp_buf-ssp.sym.
19813 (tests): Add tst-saved_mask-1.
19814
19815 2017-11-30 Arjun Shankar <arjun@redhat.com>
19816
19817 [BZ #22375]
19818 CVE-2017-17426
19819 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19820 instead of request2size.
19821
19822 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19823
19824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19825 (__lllrint): Remove alias.
19826 (lllrint): Likewise.
19827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19828 (__lllrintf): Likewise.
19829 (lllrintf): Likewise.
19830
19831 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19832 <libm-alias-float.h>.
19833 (copysignf): Define using libm_alias_float.
19834 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19835 <libm-alias-float.h>.
19836 (fabsf): Define using libm_alias_float.
19837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19838 Include <libm-alias-float.h>.
19839 (copysignf): Define using libm_alias_float.
19840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19841 <libm-alias-float.h>.
19842 (fabsf): Define using libm_alias_float.
19843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19844 <libm-alias-float.h>.
19845 (fdimf): Define using libm_alias_float.
19846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19847 <libm-alias-float.h>.
19848 (fmaf): Define using libm_alias_float.
19849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19850 <libm-alias-float.h>.
19851 (llrintf): Define using libm_alias_float.
19852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19853 Include <libm-alias-float.h>.
19854 (nearbyintf): Define using libm_alias_float.
19855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19856 <libm-alias-float.h>.
19857 (rintf): Define using libm_alias_float.
19858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19859 <libm-alias-float.h>.
19860 (llrintf): Define using libm_alias_float.
19861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19862 <libm-alias-float.h>.
19863 (lrintf): Define using libm_alias_float.
19864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19865 <libm-alias-float.h>.
19866 (nearbyintf): Define using libm_alias_float.
19867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19868 <libm-alias-float.h>.
19869 (rintf): Define using libm_alias_float.
19870 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19871 <libm-alias-float.h>.
19872 (ceilf): Define using libm_alias_float.
19873 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19874 <libm-alias-float.h>.
19875 (floorf): Define using libm_alias_float.
19876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19877 <libm-alias-float.h>.
19878 (fmaf): Define using libm_alias_float.
19879 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19880 <libm-alias-float.h>.
19881 (lrintf): Define using libm_alias_float.
19882 (llrintf): Likewise.
19883 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19884 <libm-alias-float.h>.
19885 (nearbyintf): Define using libm_alias_float.
19886 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19887 <libm-alias-float.h>.
19888 (rintf): Define using libm_alias_float.
19889 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19890 <libm-alias-float.h>.
19891 (truncf): Define using libm_alias_float.
19892 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19893 <libm-alias-float.h>.
19894 (copysignf): Define using libm_alias_float.
19895 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19896 <libm-alias-float.h>.
19897 (fabsf): Define using libm_alias_float.
19898 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19899 <libm-alias-float.h>.
19900 (lrintf): Define using libm_alias_float.
19901 (llrintf): Likewise.
19902 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19903 <libm-alias-float.h>.
19904 (nearbyintf): Define using libm_alias_float.
19905 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19906 <libm-alias-float.h>.
19907 (rintf): Define using libm_alias_float.
19908
19909 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19910
19911 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19912 <libm-alias-double.h>.
19913 (copysign): Define using libm_alias_double.
19914 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19915 <libm-alias-double.h>.
19916 (fabs): Define using libm_alias_double.
19917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19918 Include <libm-alias-double.h>.
19919 (copysign): Define using libm_alias_double.
19920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19921 <libm-alias-double.h>.
19922 (fabs): Define using libm_alias_double.
19923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19924 <libm-alias-double.h>.
19925 (fdim): Define using libm_alias_double.
19926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19927 <libm-alias-double.h>.
19928 (fma): Define using libm_alias_double.
19929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19930 <libm-alias-double.h>.
19931 (llrint): Define using libm_alias_double.
19932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
19933 Include <libm-alias-double.h>.
19934 (nearbyint): Define using libm_alias_double.
19935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
19936 <libm-alias-double.h>.
19937 (rint): Define using libm_alias_double.
19938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19939 <libm-alias-double.h>.
19940 (fabs): Define using libm_alias_double.
19941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
19942 <libm-alias-double.h>.
19943 (llrint): Define using libm_alias_double.
19944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
19945 <libm-alias-double.h>.
19946 (nearbyint): Define using libm_alias_double.
19947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
19948 <libm-alias-double.h>.
19949 (rint): Define using libm_alias_double.
19950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
19951 <libm-alias-double.h>.
19952 (ceil): Define using libm_alias_double.
19953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
19954 <libm-alias-double.h>.
19955 (floor): Define using libm_alias_double.
19956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
19957 <libm-alias-double.h>.
19958 (fma): Define using libm_alias_double.
19959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
19960 <libm-alias-double.h>.
19961 (lrint): Define using libm_alias_double.
19962 (llrint): Likewise.
19963 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
19964 <libm-alias-double.h>.
19965 (nearbyint): Define using libm_alias_double.
19966 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
19967 <libm-alias-double.h>.
19968 (rint): Define using libm_alias_double.
19969 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
19970 <libm-alias-double.h>.
19971 (trunc): Define using libm_alias_double.
19972 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
19973 <libm-alias-double.h>.
19974 (copysign): Define using libm_alias_double.
19975 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
19976 <libm-alias-double.h>.
19977 (fabs): Define using libm_alias_double.
19978 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
19979 <libm-alias-double.h>.
19980 (lrint): Define using libm_alias_double.
19981 (llrint): Likewise.
19982 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
19983 <libm-alias-double.h>.
19984 (nearbyint): Define using libm_alias_double.
19985 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
19986 <libm-alias-double.h>.
19987 (rint): Define using libm_alias_double.
19988
19989 [BZ #22229]
19990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19991 <math_ldbl_opt.h>.
19992 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
19993
19994 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19995 SPARC --disable-multi-arch glibc variants.
19996
19997 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
19998 <libm-alias-float.h>.
19999 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20000 if [SHARED].
20001 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20002 <libm-alias-float.h>.
20003 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20004 if [SHARED].
20005 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20006 <libm-alias-float.h>.
20007 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20008 if [SHARED].
20009 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20010 <libm-alias-float.h>.
20011 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20012 if [SHARED].
20013 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20014 <libm-alias-float.h>.
20015 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20016 if [SHARED].
20017 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20018 <libm-alias-float.h>.
20019 (ceilf): Define using libm_alias_float.
20020 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20021 <libm-alias-float.h>.
20022 (floorf): Define using libm_alias_float.
20023 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20024 <libm-alias-float.h>.
20025 (fmaf): Define using libm_alias_float.
20026 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20027 <libm-alias-float.h>.
20028 (nearbyintf): Define using libm_alias_float.
20029 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20030 <libm-alias-float.h>.
20031 (rintf): Define using libm_alias_float.
20032 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20033 <libm-alias-float.h>.
20034 (truncf): Define using libm_alias_float.
20035 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20036 (copysignf): Define using libm_alias_float.
20037 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20038 (cosf): Define using libm_alias_float.
20039 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20040 (fabsf): Define using libm_alias_float.
20041 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20042 (fmaxf): Define using libm_alias_float.
20043 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20044 (fminf): Define using libm_alias_float.
20045 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20046 (llrintf): Define using libm_alias_float.
20047 [!__ILP32__] (lrintf): Likewise.
20048 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20049 (sincosf): Define using libm_alias_float.
20050 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20051 (sinf): Define using libm_alias_float.
20052 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20053 (lrintf): Define using libm_alias_float.
20054
20055 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20056 <libm-alias-double.h>.
20057 (atan): Define using libm_alias_double.
20058 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20059 <libm-alias-double.h>.
20060 (ceil): Define using libm_alias_double.
20061 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20062 <libm-alias-double.h>.
20063 (floor): Define using libm_alias_double.
20064 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20065 <libm-alias-double.h>.
20066 (fma): Define using libm_alias_double.
20067 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20068 <libm-alias-double.h>.
20069 (nearbyint): Define using libm_alias_double.
20070 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20071 <libm-alias-double.h>.
20072 (rint): Define using libm_alias_double.
20073 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20074 <libm-alias-double.h>.
20075 (sin): Define using libm_alias_double.
20076 (cos): Likewise.
20077 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20078 <libm-alias-double.h>.
20079 (tan): Define using libm_alias_double.
20080 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20081 <libm-alias-double.h>.
20082 (trunc): Define using libm_alias_double.
20083 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20084 (copysign): Define using libm_alias_double.
20085 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20086 (fabs): Define using libm_alias_double.
20087 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20088 (fmax): Define using libm_alias_double.
20089 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20090 (fmin): Define using libm_alias_double.
20091 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20092 (llrint): Define using libm_alias_double.
20093 [!__ILP32__] (lrint): Likewise.
20094 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20095 (lrint): Define using libm_alias_double.
20096
20097 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20098
20099 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20100 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20101 objects.
20102 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20103 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20104 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20105 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20106 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20107 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20108
20109 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20110 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20111 objects.
20112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20113 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20114 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20115 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20116 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20117 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20118
20119 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20120 (libm-sysdep_routines): Add s_nearbyint-generic and
20121 s_nearbyintf-generic objects.
20122 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20123 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20124 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20125 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20126 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20127 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20128
20129 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20130 Add s_finitef-generic and s_finite-generic objects.
20131 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20132 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20133 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20134 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20135 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20136 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20137
20138 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20139 Add s_isinff-generic and s_isinf-generic objects.
20140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20142 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20146
20147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20148 Add s_isnanf-generic and s_isnan-generic objects.
20149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20155
20156 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20157 macro.
20158 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20159 rule.
20160 (sysdep_routines): Use sysdep_calls as base.
20161 (libm-sysdep_routines): Add generic rule for symbols shared with
20162 libc. Add s_signbit-generic and s_signbitf-generic objects.
20163 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20164 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20165 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20166 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20167 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20169
20170 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20171
20172 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20173 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20174 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20175 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20176 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20177 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20178 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20179 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20180 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20181 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20182 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20183 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20184 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20185 libm_alias_float_r.
20186 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20187 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20188 (logf): Likewise.
20189 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20190 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20191 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20192 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20193 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20194 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20195 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20196 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20197 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20198 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20199 libm_alias_float.
20200 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20201 (cosf): Likewise.
20202 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20203 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20204 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20205 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20206 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20207 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20208 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20209 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20210 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20211 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20212 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20213 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20214 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20215 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20216 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20217 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20218 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20219 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20220 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20221 libm_alias_float.
20222 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20223 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20224 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20225 * sysdeps/ia64/fpu/w_lgammaf_main.c
20226 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20227 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20228
20229 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20230 Alexandre Oliva <aoliva@redhat.com>
20231
20232 [BZ #17750]
20233 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20234 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20235 accents sorting.
20236 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20237 sorting.
20238 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20239 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20240 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20241 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20242 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20243 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20244 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20245 instead of “ifdef DIACRIT_BACKWARD”.
20246
20247 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20248
20249 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20250 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20251 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20252 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20253 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20254 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20256 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20258 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20261 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20262 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20263 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20264 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20265 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20266 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20268 ($(have-as-vis3) == yes): Remove conditional.
20269 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20270 Likewise.
20271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20272 file.
20273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20274 file.
20275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20276 file.
20277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20278 file.
20279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20285 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20286 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20287
20288 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20289
20290 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20291 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20292 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20293 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20294 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20295 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20296 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20297 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20298 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20299 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20300 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20301 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20302 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20303 libm_alias_double_r.
20304 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20305 (log): Likewise.
20306 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20307 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20308 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20309 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20310 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20311 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20312 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20313 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20314 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20315 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20316 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20317 libm_alias_double.
20318 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20319 (cos): Likewise.
20320 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20321 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20322 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20323 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20324 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20325 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20326 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20327 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20328 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20329 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20330 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20331 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20332 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20333 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20334 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20335 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20336 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20337 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20338 libm_alias_double.
20339 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20340 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20341 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20342 * sysdeps/ia64/fpu/w_lgamma_main.c
20343 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20344 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20345
20346 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20347
20348 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20349 address of $global$ into %dp register earlier. Use pc-relative
20350 instruction sequence for PIC case.
20351
20352 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20353
20354 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20355 (asinhf): Define using libm_alias_float.
20356 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20357 (atanf): Define using libm_alias_float.
20358 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20359 (cbrtf): Define using libm_alias_float.
20360 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20361 (ceilf): Define using libm_alias_float.
20362 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20363 (copysignf): Define using libm_alias_float.
20364 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20365 (expm1f): Define using libm_alias_float.
20366 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20367 (fabsf): Define using libm_alias_float.
20368 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20369 (floorf): Define using libm_alias_float.
20370 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20371 (fmaxf): Define using libm_alias_float.
20372 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20373 (fminf): Define using libm_alias_float.
20374 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20375 (frexpf): Define using libm_alias_float.
20376 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20377 (llrintf): Define using libm_alias_float.
20378 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20379 (logbf): Define using libm_alias_float.
20380 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20381 (lrintf): Define using libm_alias_float.
20382 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20383 (nearbyintf): Define using libm_alias_float.
20384 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20385 (remquof): Define using libm_alias_float.
20386 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20387 (rintf): Define using libm_alias_float.
20388 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20389 (truncf): Define using libm_alias_float.
20390 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20391 <libm-alias-float.h>.
20392 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20393 if [SHARED].
20394 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20395 <libm-alias-float.h>.
20396 (expf): Define using libm_alias_float, or libm_alias_float_other
20397 if [SHARED].
20398 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20399 <libm-alias-float.h>.
20400 (log2f): Define using libm_alias_float, or libm_alias_float_other
20401 if [SHARED].
20402 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20403 <libm-alias-float.h>.
20404 (logf): Define using libm_alias_float, or libm_alias_float_other
20405 if [SHARED].
20406 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20407 <libm-alias-float.h>.
20408 (powf): Define using libm_alias_float, or libm_alias_float_other
20409 if [SHARED].
20410 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20411 <libm-alias-float.h>.
20412 (cosf): Define using libm_alias_float.
20413 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20414 <libm-alias-float.h>.
20415 (sincosf): Define using libm_alias_float.
20416 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20417 <libm-alias-float.h>.
20418 (sinf): Define using libm_alias_float.
20419 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20420 (fmaxf): Define using libm_alias_float.
20421 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20422 (fminf): Define using libm_alias_float.
20423 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20424 <libm-alias-float.h>.
20425 (fmaf): Define using libm_alias_float.
20426
20427 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20428 (asinh): Define using libm_alias_double.
20429 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20430 (atan): Define using libm_alias_double.
20431 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20432 (cbrt): Define using libm_alias_double.
20433 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20434 (ceil): Define using libm_alias_double.
20435 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20436 (copysign): Define using libm_alias_double.
20437 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20438 (expm1): Define using libm_alias_double.
20439 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20440 (fabs): Define using libm_alias_double.
20441 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20442 (fdim): Define using libm_alias_double.
20443 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20444 (floor): Define using libm_alias_double.
20445 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20446 (fmax): Define using libm_alias_double.
20447 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20448 (fmin): Define using libm_alias_double.
20449 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20450 (frexp): Define using libm_alias_double.
20451 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20452 (llrint): Define using libm_alias_double.
20453 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20454 (logb): Define using libm_alias_double.
20455 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20456 (lrint): Define using libm_alias_double.
20457 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20458 (nearbyint): Define using libm_alias_double.
20459 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20460 (remquo): Define using libm_alias_double.
20461 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20462 (rint): Define using libm_alias_double.
20463 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20464 (trunc): Define using libm_alias_double.
20465 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20466 (fmax): Define using libm_alias_double.
20467 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20468 (fmin): Define using libm_alias_double.
20469 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20470 (fma): Define using libm_alias_double.
20471
20472 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20473
20474 [BZ #22370]
20475 * elf/dl-hwcaps.c (ROUND): Removed.
20476 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20477 and ELF_NOTE_NEXT_OFFSET.
20478 * elf/dl-load.c (ROUND): Removed.
20479 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20480 * elf/readelflib.c (ROUND): Removed.
20481 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20482 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20483 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20484 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20485
20486 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20487
20488 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20489 [!__fmaf] (fmaf): Define using libm_alias_float.
20490
20491 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20492 [!__fma] (fma): Define using libm_alias_double.
20493 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20494
20495 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20496
20497 [BZ #22336]
20498 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20499 and implement the collation rules for cs from CLDR on top of that.
20500 * Makefile: Add cs_CZ.UTF-8 to test-input.
20501 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20502
20503 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20504
20505 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20506
20507 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20508 Icarus Sparry <icarus.w.sparry@intel.com>
20509
20510 * benchtests/Makefile:Add BENCHSET to allow subsets of
20511 benchmarks to be run.
20512 * benchtests/README: Add documentation for: Running subsets of
20513 benchmarks.
20514
20515 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20516
20517 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20518 range of tests names.
20519
20520 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20521 result from property and remove "max", min" and "mean" from
20522 required properties based on benchtests/bench-skeleton.c.
20523
20524 2017-11-28 Florian Weimer <fweimer@redhat.com>
20525
20526 [BZ #20826]
20527 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20528 due to Internet requirement.
20529 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20530 tst-getaddrinfo5.
20531 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20532
20533 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20534
20535 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20536 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20537 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20538 (sysdep_routines): Add memset-ultra1.
20539 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20540 file.
20541 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20542 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20543 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20544 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20545 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20546 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20547 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20548 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20549
20550 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20551 file.
20552 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20553 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20554 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20555 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20556 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20557 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20558 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20559 macro.
20560 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20561 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20562 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20563 (sysdep_routines): Add memcpy-ultra1.
20564 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20565 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20566
20567 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20568
20569 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20570 (cfloat_versions): Take function argument without trailing 'f'.
20571 Call libm_alias_float_other.
20572 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20573 * sysdeps/alpha/fpu/cargf.c: Likewise.
20574 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20575 * sysdeps/alpha/fpu/conjf.c: Likewise.
20576 * sysdeps/alpha/fpu/crealf.c: Likewise.
20577 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20578 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20579 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20580 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20581 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20582 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20583 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20584 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20585 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20586 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20587 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20588 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20589 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20590 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20591 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20592 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20593 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20594 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20595 (clog10f): Use libm_alias_float_other.
20596 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20597 (ceilf): Define using libm_alias_float.
20598 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20599 (copysignf): Define using libm_alias_float.
20600 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20601 (fabsf): Define using libm_alias_float.
20602 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20603 (floorf): Define using libm_alias_float.
20604 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20605 (fmaxf): Define using libm_alias_float.
20606 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20607 (fminf): Define using libm_alias_float.
20608 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20609 (lrintf): Define using libm_alias_float.
20610 (llrintf): Likewise.
20611 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20612 (lroundf): Define using libm_alias_float.
20613 (llroundf): Likewise.
20614 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20615 (rintf): Define using libm_alias_float.
20616 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20617 (truncf): Define using libm_alias_float.
20618
20619 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20620 (ceilf): Define using libm_alias_float.
20621 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20622 (floorf): Define using libm_alias_float.
20623 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20624 (fmaf): Define using libm_alias_float.
20625 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20626 (fmaxf): Define using libm_alias_float.
20627 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20628 (fminf): Define using libm_alias_float.
20629 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20630 (llrintf): Define using libm_alias_float.
20631 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20632 (llroundf): Define using libm_alias_float.
20633 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20634 (lrintf): Define using libm_alias_float.
20635 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20636 (lroundf): Define using libm_alias_float.
20637 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20638 <libm-alias-float.h>.
20639 (nearbyintf): Define using libm_alias_float.
20640 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20641 (rintf): Define using libm_alias_float.
20642 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20643 (roundf): Define using libm_alias_float.
20644 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20645 (truncf): Define using libm_alias_float.
20646
20647 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20648 (ceil): Define using libm_alias_double.
20649 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20650 (copysign): Define using libm_alias_double.
20651 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20652 (fabs): Define using libm_alias_double.
20653 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20654 (floor): Define using libm_alias_double.
20655 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20656 (fmax): Define using libm_alias_double.
20657 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20658 (fmin): Define using libm_alias_double.
20659 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20660 (lrint): Define using libm_alias_double.
20661 (llrint): Likewise.
20662 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20663 (lround): Define using libm_alias_double.
20664 (llround): Likewise.
20665 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20666 (rint): Define using libm_alias_double.
20667 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20668 (trunc): Define using libm_alias_double.
20669
20670 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20671 (libm_alias_double_r): Add semicolon after weak_alias call.
20672
20673 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20674
20675 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20676 (ceil): Define using libm_alias_double.
20677 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20678 (floor): Define using libm_alias_double.
20679 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20680 (fma): Define using libm_alias_double.
20681 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20682 (fmax): Define using libm_alias_double.
20683 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20684 (fmin): Define using libm_alias_double.
20685 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20686 (llrint): Define using libm_alias_double.
20687 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20688 (llround): Define using libm_alias_double.
20689 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20690 (lrint): Define using libm_alias_double.
20691 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20692 (lround): Define using libm_alias_double.
20693 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20694 (nearbyint): Define using libm_alias_double.
20695 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20696 (rint): Define using libm_alias_double.
20697 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20698 (round): Define using libm_alias_double.
20699 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20700 (trunc): Define using libm_alias_double.
20701
20702 2017-11-27 Florian Weimer <fweimer@redhat.com>
20703
20704 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20705 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20706 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20707 (tests): Add tst-mlock2.
20708 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20709 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20710 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20711 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20712 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20713 for mlock. Document mlock2.
20714
20715 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20716
20717 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20718 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20719 Likewise.
20720 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20721 Likewise.
20722 * sysdeps/x86/Makeconfig: New file.
20723 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20724 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20725 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20726 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20727 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20728 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20729 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20730 Likewise.
20731 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20732 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20733 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20734 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20735 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20736 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20737 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20738 * manual/math.texi (Mathematics): Document support for _Float64x.
20739 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20740 * stdlib/Versions (GLIBC_2.27): Likewise.
20741 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20742 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20743 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20744 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20745 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20746 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20747 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20748 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20749 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20750 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20751 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20752 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20754 Likewise.
20755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20756 Likewise.
20757 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20758 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20759 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20760 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20761 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20762 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20763 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20764 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20765 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20766 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20767 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20768 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20769 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20770 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20771
20772 2017-11-27 Andreas Schwab <schwab@suse.de>
20773
20774 * elf/Makefile (dl-routines): Add dl-sort-maps.
20775 * elf/dl-sort-maps.c: New file.
20776 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20777 (_dl_sort_maps): Declare.
20778 * elf/dl-fini.c (_dl_sort_fini): Remove.
20779 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20780 * elf/dl-close.c (_dl_close_worker): Likewise.
20781 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20782 open-coding it.
20783 * elf/dl-open.c (dl_open_worker): Likewise.
20784
20785 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20786
20787 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20788 using libm_alias_float128.
20789 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20790 Likewise.
20791 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20792 Likewise.
20793 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20794 (setpayloadsigf128): Likewise.
20795 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20796 Likewise.
20797 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20798 Likewise.
20799
20800 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20801 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20802 -mfloat128 to CFLAGS.
20803 ($(foreach
20804 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20805 Likewise.
20806 (CFLAGS-libm-test-support-float64x.c): New variable.
20807 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20808 $(f128-loader-link) to gnulib-tests.
20809
20810 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20811 (libm_alias_float128_other_r): If
20812 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20813 alias.
20814 (libm_alias_float128_r): Add semicolon after weak_alias call.
20815 * sysdeps/generic/libm-alias-ldouble.h
20816 (libm_alias_ldouble_other_r_f128): New macro.
20817 (libm_alias_ldouble_other_r_f64x): Likewise.
20818 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20819 and libm_alias_ldouble_other_r_f64x.
20820 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20821 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20822 (libm_alias_ldouble_other_r_f128): New macro.
20823 (libm_alias_ldouble_other_r_f64x): Likewise.
20824 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20825 and libm_alias_ldouble_other_r_f64x.
20826
20827 * stdlib/strfroml.c: Always include <stdlib.h>.
20828 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20829 undefine as macro and define as weak alias.
20830 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20831 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20832 <stdlib.h>.
20833 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20834 Define and later undefine as macro and define as weak alias.
20835
20836 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20837 Define and later undefine as macro. Define as weak alias if
20838 [!USE_WIDE_CHAR].
20839 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20840 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20841 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20842 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20843 Define and later undefine as macro. Define as weak alias if
20844 [!USE_WIDE_CHAR].
20845 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20846 Define and later undefine as macro. Define as weak alias if
20847 [USE_WIDE_CHAR].
20848 * sysdeps/ieee754/float128/strtof128_l.c
20849 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20850 Define and later undefine as macro. Define as weak alias if
20851 [!USE_WIDE_CHAR].
20852 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20853 Define and later undefine as macro. Define as weak alias if
20854 [USE_WIDE_CHAR].
20855 * sysdeps/ieee754/ldbl-128/strtold_l.c
20856 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20857 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20858 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20859 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20860 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20861 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20862 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20863 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20864 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20865 * sysdeps/ieee754/ldbl-96/strtold_l.c
20866 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20867 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20868 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20869 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20870
20871 * math/test-float64x.h: New file.
20872 * math/Makefile (type-float64x-yes): New variable.
20873 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20874
20875 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20876 function-like macro.
20877 (min_of_type_): Likewise.
20878 (min_of_type_l): Likewise.
20879 (min_of_type_f128): Likewise.
20880 (min_of_type): Pass () as last argument of __MATH_TG.
20881
20882 * stdlib/tst-strtod-round-skeleton.c
20883 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20884 headers.
20885
20886 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20887 for combinations of long double with _Float64 and _Float64x.
20888
20889 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20890 (__DECL_SIMD_cosf32): Likewise.
20891 (__DECL_SIMD_cosf64): Likewise.
20892 (__DECL_SIMD_cosf32x): Likewise.
20893 (__DECL_SIMD_cosf64x): Likewise.
20894 (__DECL_SIMD_cosf128x): Likewise.
20895 (__DECL_SIMD_sinf16): Likewise.
20896 (__DECL_SIMD_sinf32): Likewise.
20897 (__DECL_SIMD_sinf64): Likewise.
20898 (__DECL_SIMD_sinf32x): Likewise.
20899 (__DECL_SIMD_sinf64x): Likewise.
20900 (__DECL_SIMD_sinf128x): Likewise.
20901 (__DECL_SIMD_sincosf16): Likewise.
20902 (__DECL_SIMD_sincosf32): Likewise.
20903 (__DECL_SIMD_sincosf64): Likewise.
20904 (__DECL_SIMD_sincosf32x): Likewise.
20905 (__DECL_SIMD_sincosf64x): Likewise.
20906 (__DECL_SIMD_sincosf128x): Likewise.
20907 (__DECL_SIMD_logf16): Likewise.
20908 (__DECL_SIMD_logf32): Likewise.
20909 (__DECL_SIMD_logf64): Likewise.
20910 (__DECL_SIMD_logf32x): Likewise.
20911 (__DECL_SIMD_logf64x): Likewise.
20912 (__DECL_SIMD_logf128x): Likewise.
20913 (__DECL_SIMD_expf16): Likewise.
20914 (__DECL_SIMD_expf32): Likewise.
20915 (__DECL_SIMD_expf64): Likewise.
20916 (__DECL_SIMD_expf32x): Likewise.
20917 (__DECL_SIMD_expf64x): Likewise.
20918 (__DECL_SIMD_expf128x): Likewise.
20919 (__DECL_SIMD_powf16): Likewise.
20920 (__DECL_SIMD_powf32): Likewise.
20921 (__DECL_SIMD_powf64): Likewise.
20922 (__DECL_SIMD_powf32x): Likewise.
20923 (__DECL_SIMD_powf64x): Likewise.
20924 (__DECL_SIMD_powf128x): Likewise.
20925
20926 * stdlib/Versions (libc): Move entries for wcstof128 and
20927 wcstof128_l to ....
20928 * wcsmbs/Versions (libc): ... here.
20929 Include <float128-abi.h>.
20930
20931 2017-11-24 Florian Weimer <fweimer@redhat.com>
20932
20933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20934 bits/mman-shared.h.
20935 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
20936 <bits/mman-shared.h>.
20937 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
20938 to ...
20939 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
20940 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
20941 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
20942 <bits/mman-shared.h>.
20943
20944 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20945
20946 [BZ #22457]
20947 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
20948 posix_memalign/free.
20949 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
20950
20951 2017-11-22 Mike FABIAN <mfabian@redhat.com>
20952
20953 [BZ #22469]
20954 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
20955 and implement the collation rules for pl from CLDR on top of that.
20956 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
20957 of locales to be built for testing.
20958 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
20959
20960 2017-11-23 Joseph Myers <joseph@codesourcery.com>
20961
20962 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
20963 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
20964 libm_alias_ldouble_other.
20965 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
20966 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
20967 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
20968 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
20969 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
20970 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
20971 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
20972 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
20973 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
20974 libm_alias_ldouble_r.
20975 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
20976 libm_alias_ldouble_other.
20977 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
20978 (log10l): Likewise.
20979 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
20980 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
20981 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
20982 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
20983 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
20984 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
20985 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
20986 (atan2l): Likewise.
20987 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
20988 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
20989 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
20990 libm_alias_ldouble.
20991 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
20992 (cosl): Likewise.
20993 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
20994 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
20995 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
20996 (expl): Likewise.
20997 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
20998 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
20999 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21000 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21001 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21002 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21003 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21004 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21005 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21006 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21007 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21008 libm_alias_ldouble.
21009 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21010 libm_alias_ldouble_other.
21011 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21012 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21013 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21014 libm_alias_ldouble.
21015 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21016 libm_alias_ldouble_other.
21017 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21018 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21019 * sysdeps/ia64/fpu/w_lgammal_main.c
21020 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21021 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21022
21023 2017-11-23 Florian Weimer <fweimer@redhat.com>
21024
21025 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21026 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21027 alike. Remove freeres marker.
21028 * malloc/arena.c (arena_thread_freeres): Call
21029 tcache_thread_shutdown.
21030
21031 2017-11-23 Florian Weimer <fweimer@redhat.com>
21032
21033 [BZ #22459]
21034 Export nscd hash function as __nss_hash.
21035 * include/nss.h (__nss_hash): Declare.
21036 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21037 symbol.
21038 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21039 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21040 of __nscd_hash.
21041 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21042 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21043 * nss/Makefiles (routines): Add nss_hash.
21044 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21045 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21046 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21047 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21048
21049 2017-11-23 Florian Weimer <fweimer@redhat.com>
21050
21051 [BZ #22478]
21052 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21053 Return error code, not -1.
21054 * signal/tst-sigwait-eintr.c: New file.
21055 * signal/Makefile (tests): Add tst-sigwait-eintr.
21056
21057 2017-11-23 Florian Weimer <fweimer@redhat.com>
21058
21059 Linux: Add memfd_create system call wrapper
21060 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21061 tst-memfd_create.
21062 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21063 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21064 [__USE_GNU] (memfd_create): Declare.
21065 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21066 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21067 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21068 * sysdeps/unix/sysv/linux/**.abilist: Update.
21069 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21070
21071 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21072
21073 * localedata/gen-locale.sh: Fix typo in variable name.
21074
21075 * resolv/res_debug.c (p_secstodate): Condition definition on
21076 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21077 directly as __p_secstodate, and as a compat symbol. Do not use
21078 libresolv_hidden_def.
21079 * resolv/resolv.h (p_secstodate): Remove macro and function
21080 declaration.
21081 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21082 using p_secstodate.
21083 * include/resolv.h (__p_secstodate): Do not use
21084 libresolv_hidden_proto.
21085 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21086 (tests-internal): ... here.
21087 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21088 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21089 and declare and use __p_secstodate and use compat_symbol_reference
21090 in that case.
21091 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21092 implementation returning 77.
21093
21094 [BZ #22463]
21095 * resolv/res_debug.c: Include <libc-diag.h>.
21096 (p_secstodate): Assert time_t at least as wide as u_long. On
21097 overflow, use integer seconds since the epoch as output, or use
21098 "<overflow>" as output and set errno to EOVERFLOW if integer
21099 seconds since the epoch would be 14 or more characters.
21100 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21101 for sprintf call.
21102 * resolv/tst-p_secstodate.c: New file.
21103 * resolv/Makefile (tests): Add tst-p_secstodate.
21104 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21105
21106 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21107 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21108 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21109
21110 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21111
21112 * posix/regcomp.c (init_word_char): Add comments.
21113
21114 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21115
21116 [BZ #22447]
21117 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21118 strlen to compute length of ut_user and set trailing NUL byte of
21119 result explicitly.
21120
21121 2017-11-21 Mike FABIAN <mfabian@redhat.com>
21122
21123 [BZ #15537]
21124 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21125 using “copy "iso14651_t1"” and then implementing the
21126 collation rules for lv from CLDR on top of that.
21127 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21128 of locales to be built for testing.
21129 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21130 sorting.
21131
21132 2017-11-21 Joseph Myers <joseph@codesourcery.com>
21133
21134 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21135 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21136 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21137 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21138 [__USE_MISC] (MADV_HWPOISON): New macro.
21139 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21140
21141 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21142
21143 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21144 -Wmissing-braces on GCC 4.9.
21145
21146 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21147
21148 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21149 * sysdeps/s390/s390-32/start.S (_start): Likewise
21150 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21151 (thread_start): Likewise.
21152 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21153 (thread_start): Likewise.
21154 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21155 (__makecontext_ret): Likewise.
21156 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21157 (__makecontext_ret): Likewise.
21158
21159 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21160
21161 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21162 __wcschrnul): Remove attribute_hidden.
21163
21164 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21165
21166 regex: don't assume uint64_t or uint32_t
21167 This avoids -Werror=overflow errors for 32-bit systems in
21168 the 64-bit case. Problem reported by Joseph Myers in:
21169 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21170 Also, when this code is used in Gnulib it ports to platforms
21171 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21172 them, and on some 32-bit compilers there is no uint64_t.
21173 Problem reported by Gianluigi Tiesi in:
21174 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21175 * posix/regcomp.c (init_word_char): Don't assume that the types
21176 uint64_t and uint32_t exist. Adapted from Gnulib patch
21177 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21178 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21179
21180 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21181
21182 * sysdeps/aarch64/memset-reg.h: New file.
21183 * sysdeps/aarch64/memset.S: Use it.
21184 (__memset): Rename to MEMSET macro.
21185 [ZVA_MACRO]: Use zva_macro.
21186 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21187 Add memset_generic and memset_falkor.
21188 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21189 (__libc_ifunc_impl_list): Add memset ifuncs.
21190 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21191 local variable zva_size.
21192 * sysdeps/aarch64/multiarch/memset.c: New file.
21193 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21194 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21195 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21196 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21197 (DCZID_DZP_MASK): New macro.
21198 (DCZID_BS_MASK): Likewise.
21199 (init_cpu_features): Read and set zva_size.
21200 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21201 (struct cpu_features): New member zva_size.
21202
21203 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21204 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21205 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21206
21207 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21208 backwards. Fix timing computation.
21209 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21210 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21211 on memset by N at a time. Fix timing computation.
21212
21213 2017-11-20 Florian Weimer <fweimer@redhat.com>
21214
21215 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21216 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21217
21218 2017-11-19 Florian Weimer <fweimer@redhat.com>
21219
21220 manual: Document mprotect
21221 * manual/memory.texi (Memory Protection): New section.
21222 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21223 documentation of PROT_* flags and reference the Memory Protection
21224 section instead.
21225
21226 2017-11-19 Florian Weimer <fweimer@redhat.com>
21227
21228 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21229 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21230 (Scatter-Gather): ... to here. Remove misleading comment.
21231
21232 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
21233
21234 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21235 style.
21236
21237 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21238 when /proc/<pid>/setgroups does not exist.
21239
21240 2017-11-18 Florian Weimer <fweimer@redhat.com>
21241
21242 * sysdeps/unix/sysv/linux/tst-ttyname.c
21243 (become_root_in_mount_ns): Remove.
21244 (do_in_chroot_1): Call support_enter_mount_namespace.
21245 (do_in_chroot_2): Likewise.
21246 (do_test): Call support_become_root early.
21247
21248 2017-11-18 Florian Weimer <fweimer@redhat.com>
21249
21250 * support/namespace.h (support_enter_mount_namespace): Declare.
21251 * support/support_enter_mount_namespace.c: New file.
21252 * support/Makefile (libsupport-routines): Add
21253 support_enter_mount_namespace.
21254
21255 2017-11-18 Florian Weimer <fweimer@redhat.com>
21256
21257 * support/temp_file.c (support_create_temp_directory): Use
21258 test_dir and do not rely on the presence of the XXXXXX suffix.
21259 * support/temp_file.h (support_create_temp_directory): Update
21260 comment.
21261 * support/tst-xreadlink.c (do_test): Adjust.
21262 * support/support_chroot.c (support_chroot_create): Likewise.
21263
21264 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21265
21266 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21267 macro.
21268 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21269 htm-no-suspend.
21270
21271 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21272
21273 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21274 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21275 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21276 (ceill): Define using libm_alias_ldouble.
21277 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21278 <libm-alias-ldouble.h>.
21279 (copysignl): Define using libm_alias_ldouble.
21280 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21281 (fabsl): Define using libm_alias_ldouble.
21282 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21283 (floorl): Define using libm_alias_ldouble.
21284 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21285 (fmaxl): Define using libm_alias_ldouble.
21286 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21287 (fminl): Define using libm_alias_ldouble.
21288 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21289 (llrintl): Define using libm_alias_ldouble.
21290 (lrintl): Likewise.
21291 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21292 <libm-alias-ldouble.h>.
21293 (nearbyintl): Define using libm_alias_ldouble.
21294 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21295 (truncl): Define using libm_alias_ldouble.
21296 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21297 <libm-alias-ldouble.h>.
21298 (lrintl): Define using libm_alias_ldouble.
21299
21300 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21301 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21302 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21303 (asinhl): Define using libm_alias_ldouble.
21304 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21305 (atanl): Define using libm_alias_ldouble.
21306 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21307 (cbrtl): Define using libm_alias_ldouble.
21308 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21309 (ceill): Define using libm_alias_ldouble.
21310 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21311 (copysignl): Define using libm_alias_ldouble.
21312 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21313 (fabsl): Define using libm_alias_ldouble.
21314 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21315 (floorl): Define using libm_alias_ldouble.
21316 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21317 (fmaxl): Define using libm_alias_ldouble.
21318 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21319 (fminl): Define using libm_alias_ldouble.
21320 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21321 (frexpl): Define using libm_alias_ldouble.
21322 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21323 (llrintl): Define using libm_alias_ldouble.
21324 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21325 (logbl): Define using libm_alias_ldouble.
21326 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21327 (lrintl): Define using libm_alias_ldouble.
21328 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21329 (nearbyintl): Define using libm_alias_ldouble.
21330 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21331 (nextafterl): Define using libm_alias_ldouble.
21332 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21333 (remquol): Define using libm_alias_ldouble.
21334 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21335 (rintl): Define using libm_alias_ldouble.
21336 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21337 (truncl): Define using libm_alias_ldouble.
21338 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21339 (fmaxl): Define using libm_alias_ldouble.
21340 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21341 (fminl): Define using libm_alias_ldouble.
21342
21343 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21344 to C syntax instead of availability and properties of types.
21345 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21346 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21347 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21348 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21349 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21350 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21351
21352 2017-11-17 Florian Weimer <fweimer@redhat.com>
21353
21354 support_become_root: Enable file creation in namespaces.
21355 * support/support_become_root.c (setup_mapping): New function.
21356 (support_become_root): Call it.
21357
21358 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21359
21360 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21361 macro.
21362
21363 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21364
21365 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21366 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21367
21368 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21369
21370 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21371
21372 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21373 version to 4.14.
21374
21375 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21376
21377 * INSTALL: Fix botched up regeneration.
21378
21379 * NEWS: Update sourceare link to https.
21380 * configure.ac: Likewise.
21381 * crypt/md5test-giant.c: Likewise.
21382 * dlfcn/bug-atexit1.c: Likewise.
21383 * dlfcn/bug-atexit2.c: Likewise.
21384 * localedata/README: Likewise.
21385 * malloc/tst-mallocfork.c: Likewise.
21386 * manual/install.texi: Likewise.
21387 * nptl/tst-pthread-getattr.c: Likewise.
21388 * stdio-common/tst-fgets.c: Likewise.
21389 * stdio-common/tst-fwrite.c: Likewise.
21390 * sunrpc/Makefile: Likewise.
21391 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21392 * wcsmbs/tst-mbrtowc2.c: Likewise.
21393 * configure: Regenerate.
21394 * INSTALL: Regenerate.
21395
21396 2017-11-15 Martin Sebor <msebor@redhat.com>
21397
21398 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21399 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21400 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21401
21402 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21403
21404 [BZ #22145]
21405 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21406 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21407
21408 [BZ #22145]
21409 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21410 Defer is_pty check until end of the function.
21411 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21412
21413 [BZ #22145]
21414 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21415 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21416 (ttyname): Likewise.
21417 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21418 (__ttyname_r): Likewise.
21419
21420 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21421 int to bool.
21422
21423 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21424
21425 * manual/terminal.texi (Is It a Terminal):
21426 Mention ENODEV for ttyname and ttyname_r.
21427
21428 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21429
21430 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21431 constant and macro.
21432
21433 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21434 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21435 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21436 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21437 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21438 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21439
21440 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21441
21442 * signal/sigrelse.c (sigrelse): Optimize implementation.
21443
21444 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21445 (__sigpause): Rely on __sigsuspend to implement single thread
21446 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21447
21448 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21449
21450 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21451 kernel version to 4.14.
21452
21453 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21454
21455 [BZ #22442]
21456 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21457 Check if ifname is too long.
21458
21459 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21460
21461 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21462
21463 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21464
21465 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21466 was accidentally lost.
21467
21468 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21469
21470 * localedata/locales/az_IR: Add standard copyright header.
21471
21472 2017-11-15 Florian Weimer <fweimer@redhat.com>
21473
21474 [BZ #22439]
21475 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21476 not just the top one. Output a new "subheaps" statistic.
21477
21478 2017-11-15 Florian Weimer <fweimer@redhat.com>
21479
21480 [BZ #22408]
21481 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21482 under the per-arena lock.
21483 * malloc/Makefile (tests): Add tst-malloc_info.
21484 (tst-malloc_info): Link with libpthread.
21485 * malloc/tst-malloc_info.c: New file.
21486
21487 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21488
21489 [BZ #21660]
21490 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21491 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21492 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21493 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21494 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21495 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21496 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21497 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21498 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21499 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21500 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21501 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21502 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21503 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21504 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21505 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21506 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21507 (__floating_type): Likewise.
21508 (__real_integer_type): Likewise.
21509 (__complex_integer_type): Likewise.
21510 (__expr_is_real): Likewise.
21511 (__tgmath_real_type_sub): Likewise.
21512 (__tgmath_real_type): Likewise.
21513 (__tgmath_complex_type_sub): Likewise.
21514 (__tgmath_complex_type): Likewise.
21515 (__TGMATH_F128): Likewise.
21516 (__TGMATH_CF128): Likewise.
21517 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21518 new macros.
21519 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21520 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21521 Likewise.
21522 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21523 Likewise.
21524 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21525 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21526 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21527 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21528 Likewise.
21529 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21530 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21531 Likewise.
21532 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21533 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21534 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21535 Likewise.
21536 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21537 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21538 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21539 (cimag): Likewise.
21540 (creal): Likewise.
21541
21542 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21543
21544 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21545 for stpncpy calls for GCC 8.
21546 (test_strncat): Disable -Wstringop-truncation warning for strncat
21547 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21548 strncat call for GCC 7.
21549 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21550 calls for GCC 8.
21551 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21552 trailing NUL.
21553
21554 * string/bug-strncat1.c: Include <libc-diag.h>.
21555 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21556
21557 2017-11-13 Claude Paroz <claude@2xlibre.net>
21558
21559 [BZ #22387]
21560 * localedata/locales/aa_DJ: Improved readibility by replacing
21561 <Uxxxx> sequences in the ASCII printable range by their ASCII
21562 character equivalents.
21563 * localedata/locales/aa_ER: Likewise.
21564 * localedata/locales/aa_ER@saaho: Likewise.
21565 * localedata/locales/aa_ET: Likewise.
21566 * localedata/locales/af_ZA: Likewise.
21567 * localedata/locales/agr_PE: Likewise.
21568 * localedata/locales/ak_GH: Likewise.
21569 * localedata/locales/am_ET: Likewise.
21570 * localedata/locales/anp_IN: Likewise.
21571 * localedata/locales/ar_AE: Likewise.
21572 * localedata/locales/ar_BH: Likewise.
21573 * localedata/locales/ar_DZ: Likewise.
21574 * localedata/locales/ar_EG: Likewise.
21575 * localedata/locales/ar_IN: Likewise.
21576 * localedata/locales/ar_IQ: Likewise.
21577 * localedata/locales/ar_JO: Likewise.
21578 * localedata/locales/ar_KW: Likewise.
21579 * localedata/locales/ar_LB: Likewise.
21580 * localedata/locales/ar_LY: Likewise.
21581 * localedata/locales/ar_MA: Likewise.
21582 * localedata/locales/ar_OM: Likewise.
21583 * localedata/locales/ar_QA: Likewise.
21584 * localedata/locales/ar_SA: Likewise.
21585 * localedata/locales/ar_SD: Likewise.
21586 * localedata/locales/ar_SS: Likewise.
21587 * localedata/locales/ar_SY: Likewise.
21588 * localedata/locales/ar_TN: Likewise.
21589 * localedata/locales/ar_YE: Likewise.
21590 * localedata/locales/as_IN: Likewise.
21591 * localedata/locales/ast_ES: Likewise.
21592 * localedata/locales/ayc_PE: Likewise.
21593 * localedata/locales/az_AZ: Likewise.
21594 * localedata/locales/az_IR: Likewise.
21595 * localedata/locales/be_BY: Likewise.
21596 * localedata/locales/be_BY@latin: Likewise.
21597 * localedata/locales/bem_ZM: Likewise.
21598 * localedata/locales/ber_DZ: Likewise.
21599 * localedata/locales/ber_MA: Likewise.
21600 * localedata/locales/bg_BG: Likewise.
21601 * localedata/locales/bhb_IN: Likewise.
21602 * localedata/locales/bho_IN: Likewise.
21603 * localedata/locales/bi_VU: Likewise.
21604 * localedata/locales/bn_BD: Likewise.
21605 * localedata/locales/bn_IN: Likewise.
21606 * localedata/locales/bo_CN: Likewise.
21607 * localedata/locales/bo_IN: Likewise.
21608 * localedata/locales/br_FR: Likewise.
21609 * localedata/locales/brx_IN: Likewise.
21610 * localedata/locales/bs_BA: Likewise.
21611 * localedata/locales/byn_ER: Likewise.
21612 * localedata/locales/ca_AD: Likewise.
21613 * localedata/locales/ca_ES: Likewise.
21614 * localedata/locales/ca_FR: Likewise.
21615 * localedata/locales/ca_IT: Likewise.
21616 * localedata/locales/ce_RU: Likewise.
21617 * localedata/locales/chr_US: Likewise.
21618 * localedata/locales/cmn_TW: Likewise.
21619 * localedata/locales/crh_UA: Likewise.
21620 * localedata/locales/cs_CZ: Likewise.
21621 * localedata/locales/csb_PL: Likewise.
21622 * localedata/locales/cv_RU: Likewise.
21623 * localedata/locales/cy_GB: Likewise.
21624 * localedata/locales/da_DK: Likewise.
21625 * localedata/locales/de_AT: Likewise.
21626 * localedata/locales/de_BE: Likewise.
21627 * localedata/locales/de_CH: Likewise.
21628 * localedata/locales/de_DE: Likewise.
21629 * localedata/locales/de_IT: Likewise.
21630 * localedata/locales/de_LI: Likewise.
21631 * localedata/locales/de_LU: Likewise.
21632 * localedata/locales/doi_IN: Likewise.
21633 * localedata/locales/dv_MV: Likewise.
21634 * localedata/locales/dz_BT: Likewise.
21635 * localedata/locales/el_CY: Likewise.
21636 * localedata/locales/el_GR: Likewise.
21637 * localedata/locales/en_AG: Likewise.
21638 * localedata/locales/en_AU: Likewise.
21639 * localedata/locales/en_BW: Likewise.
21640 * localedata/locales/en_CA: Likewise.
21641 * localedata/locales/en_DK: Likewise.
21642 * localedata/locales/en_GB: Likewise.
21643 * localedata/locales/en_HK: Likewise.
21644 * localedata/locales/en_IE: Likewise.
21645 * localedata/locales/en_IL: Likewise.
21646 * localedata/locales/en_IN: Likewise.
21647 * localedata/locales/en_NG: Likewise.
21648 * localedata/locales/en_NZ: Likewise.
21649 * localedata/locales/en_PH: Likewise.
21650 * localedata/locales/en_SG: Likewise.
21651 * localedata/locales/en_US: Likewise.
21652 * localedata/locales/en_ZA: Likewise.
21653 * localedata/locales/en_ZM: Likewise.
21654 * localedata/locales/en_ZW: Likewise.
21655 * localedata/locales/eo: Likewise.
21656 * localedata/locales/es_AR: Likewise.
21657 * localedata/locales/es_BO: Likewise.
21658 * localedata/locales/es_CL: Likewise.
21659 * localedata/locales/es_CO: Likewise.
21660 * localedata/locales/es_CR: Likewise.
21661 * localedata/locales/es_CU: Likewise.
21662 * localedata/locales/es_DO: Likewise.
21663 * localedata/locales/es_EC: Likewise.
21664 * localedata/locales/es_ES: Likewise.
21665 * localedata/locales/es_GT: Likewise.
21666 * localedata/locales/es_HN: Likewise.
21667 * localedata/locales/es_MX: Likewise.
21668 * localedata/locales/es_NI: Likewise.
21669 * localedata/locales/es_PA: Likewise.
21670 * localedata/locales/es_PE: Likewise.
21671 * localedata/locales/es_PR: Likewise.
21672 * localedata/locales/es_PY: Likewise.
21673 * localedata/locales/es_SV: Likewise.
21674 * localedata/locales/es_US: Likewise.
21675 * localedata/locales/es_UY: Likewise.
21676 * localedata/locales/es_VE: Likewise.
21677 * localedata/locales/et_EE: Likewise.
21678 * localedata/locales/eu_ES: Likewise.
21679 * localedata/locales/eu_ES@euro: Likewise.
21680 * localedata/locales/fa_IR: Likewise.
21681 * localedata/locales/ff_SN: Likewise.
21682 * localedata/locales/fi_FI: Likewise.
21683 * localedata/locales/fil_PH: Likewise.
21684 * localedata/locales/fo_FO: Likewise.
21685 * localedata/locales/fr_BE: Likewise.
21686 * localedata/locales/fr_CA: Likewise.
21687 * localedata/locales/fr_CH: Likewise.
21688 * localedata/locales/fr_FR: Likewise.
21689 * localedata/locales/fr_LU: Likewise.
21690 * localedata/locales/fur_IT: Likewise.
21691 * localedata/locales/fy_DE: Likewise.
21692 * localedata/locales/fy_NL: Likewise.
21693 * localedata/locales/ga_IE: Likewise.
21694 * localedata/locales/gd_GB: Likewise.
21695 * localedata/locales/gez_ER: Likewise.
21696 * localedata/locales/gez_ET: Likewise.
21697 * localedata/locales/gl_ES: Likewise.
21698 * localedata/locales/gu_IN: Likewise.
21699 * localedata/locales/gv_GB: Likewise.
21700 * localedata/locales/ha_NG: Likewise.
21701 * localedata/locales/hak_TW: Likewise.
21702 * localedata/locales/he_IL: Likewise.
21703 * localedata/locales/hi_IN: Likewise.
21704 * localedata/locales/hif_FJ: Likewise.
21705 * localedata/locales/hne_IN: Likewise.
21706 * localedata/locales/hr_HR: Likewise.
21707 * localedata/locales/hsb_DE: Likewise.
21708 * localedata/locales/ht_HT: Likewise.
21709 * localedata/locales/hu_HU: Likewise.
21710 * localedata/locales/hy_AM: Likewise.
21711 * localedata/locales/i18n: Likewise.
21712 * localedata/locales/ia_FR: Likewise.
21713 * localedata/locales/id_ID: Likewise.
21714 * localedata/locales/ig_NG: Likewise.
21715 * localedata/locales/ik_CA: Likewise.
21716 * localedata/locales/is_IS: Likewise.
21717 * localedata/locales/it_CH: Likewise.
21718 * localedata/locales/it_IT: Likewise.
21719 * localedata/locales/iu_CA: Likewise.
21720 * localedata/locales/ja_JP: Likewise.
21721 * localedata/locales/ka_GE: Likewise.
21722 * localedata/locales/kk_KZ: Likewise.
21723 * localedata/locales/kl_GL: Likewise.
21724 * localedata/locales/kn_IN: Likewise.
21725 * localedata/locales/ko_KR: Likewise.
21726 * localedata/locales/kok_IN: Likewise.
21727 * localedata/locales/ks_IN: Likewise.
21728 * localedata/locales/ks_IN@devanagari: Likewise.
21729 * localedata/locales/ku_TR: Likewise.
21730 * localedata/locales/kw_GB: Likewise.
21731 * localedata/locales/ky_KG: Likewise.
21732 * localedata/locales/lb_LU: Likewise.
21733 * localedata/locales/lg_UG: Likewise.
21734 * localedata/locales/li_BE: Likewise.
21735 * localedata/locales/li_NL: Likewise.
21736 * localedata/locales/lij_IT: Likewise.
21737 * localedata/locales/ln_CD: Likewise.
21738 * localedata/locales/lo_LA: Likewise.
21739 * localedata/locales/lt_LT: Likewise.
21740 * localedata/locales/lv_LV: Likewise.
21741 * localedata/locales/lzh_TW: Likewise.
21742 * localedata/locales/mag_IN: Likewise.
21743 * localedata/locales/mai_IN: Likewise.
21744 * localedata/locales/mg_MG: Likewise.
21745 * localedata/locales/mhr_RU: Likewise.
21746 * localedata/locales/mi_NZ: Likewise.
21747 * localedata/locales/mk_MK: Likewise.
21748 * localedata/locales/ml_IN: Likewise.
21749 * localedata/locales/mn_MN: Likewise.
21750 * localedata/locales/mni_IN: Likewise.
21751 * localedata/locales/mr_IN: Likewise.
21752 * localedata/locales/ms_MY: Likewise.
21753 * localedata/locales/mt_MT: Likewise.
21754 * localedata/locales/my_MM: Likewise.
21755 * localedata/locales/nan_TW: Likewise.
21756 * localedata/locales/nan_TW@latin: Likewise.
21757 * localedata/locales/nb_NO: Likewise.
21758 * localedata/locales/nds_DE: Likewise.
21759 * localedata/locales/nds_NL: Likewise.
21760 * localedata/locales/ne_NP: Likewise.
21761 * localedata/locales/nhn_MX: Likewise.
21762 * localedata/locales/niu_NU: Likewise.
21763 * localedata/locales/niu_NZ: Likewise.
21764 * localedata/locales/nl_AW: Likewise.
21765 * localedata/locales/nl_BE: Likewise.
21766 * localedata/locales/nl_NL: Likewise.
21767 * localedata/locales/nn_NO: Likewise.
21768 * localedata/locales/nr_ZA: Likewise.
21769 * localedata/locales/nso_ZA: Likewise.
21770 * localedata/locales/oc_FR: Likewise.
21771 * localedata/locales/om_ET: Likewise.
21772 * localedata/locales/om_KE: Likewise.
21773 * localedata/locales/or_IN: Likewise.
21774 * localedata/locales/os_RU: Likewise.
21775 * localedata/locales/pa_IN: Likewise.
21776 * localedata/locales/pa_PK: Likewise.
21777 * localedata/locales/pap_AW: Likewise.
21778 * localedata/locales/pap_CW: Likewise.
21779 * localedata/locales/pl_PL: Likewise.
21780 * localedata/locales/ps_AF: Likewise.
21781 * localedata/locales/pt_BR: Likewise.
21782 * localedata/locales/pt_PT: Likewise.
21783 * localedata/locales/quz_PE: Likewise.
21784 * localedata/locales/raj_IN: Likewise.
21785 * localedata/locales/ro_RO: Likewise.
21786 * localedata/locales/ru_RU: Likewise.
21787 * localedata/locales/ru_UA: Likewise.
21788 * localedata/locales/rw_RW: Likewise.
21789 * localedata/locales/sa_IN: Likewise.
21790 * localedata/locales/sat_IN: Likewise.
21791 * localedata/locales/sc_IT: Likewise.
21792 * localedata/locales/sd_IN: Likewise.
21793 * localedata/locales/sd_IN@devanagari: Likewise.
21794 * localedata/locales/se_NO: Likewise.
21795 * localedata/locales/sgs_LT: Likewise.
21796 * localedata/locales/shs_CA: Likewise.
21797 * localedata/locales/si_LK: Likewise.
21798 * localedata/locales/sid_ET: Likewise.
21799 * localedata/locales/sk_SK: Likewise.
21800 * localedata/locales/sl_SI: Likewise.
21801 * localedata/locales/sm_WS: Likewise.
21802 * localedata/locales/so_DJ: Likewise.
21803 * localedata/locales/so_ET: Likewise.
21804 * localedata/locales/so_KE: Likewise.
21805 * localedata/locales/so_SO: Likewise.
21806 * localedata/locales/sq_AL: Likewise.
21807 * localedata/locales/sq_MK: Likewise.
21808 * localedata/locales/sr_ME: Likewise.
21809 * localedata/locales/sr_RS: Likewise.
21810 * localedata/locales/sr_RS@latin: Likewise.
21811 * localedata/locales/ss_ZA: Likewise.
21812 * localedata/locales/st_ZA: Likewise.
21813 * localedata/locales/sv_FI: Likewise.
21814 * localedata/locales/sv_SE: Likewise.
21815 * localedata/locales/sw_KE: Likewise.
21816 * localedata/locales/sw_TZ: Likewise.
21817 * localedata/locales/szl_PL: Likewise.
21818 * localedata/locales/ta_IN: Likewise.
21819 * localedata/locales/ta_LK: Likewise.
21820 * localedata/locales/tcy_IN: Likewise.
21821 * localedata/locales/te_IN: Likewise.
21822 * localedata/locales/tg_TJ: Likewise.
21823 * localedata/locales/th_TH: Likewise.
21824 * localedata/locales/the_NP: Likewise.
21825 * localedata/locales/ti_ER: Likewise.
21826 * localedata/locales/ti_ET: Likewise.
21827 * localedata/locales/tig_ER: Likewise.
21828 * localedata/locales/tk_TM: Likewise.
21829 * localedata/locales/tl_PH: Likewise.
21830 * localedata/locales/tn_ZA: Likewise.
21831 * localedata/locales/to_TO: Likewise.
21832 * localedata/locales/tpi_PG: Likewise.
21833 * localedata/locales/tr_CY: Likewise.
21834 * localedata/locales/tr_TR: Likewise.
21835 * localedata/locales/ts_ZA: Likewise.
21836 * localedata/locales/tt_RU: Likewise.
21837 * localedata/locales/tt_RU@iqtelif: Likewise.
21838 * localedata/locales/ug_CN: Likewise.
21839 * localedata/locales/uk_UA: Likewise.
21840 * localedata/locales/unm_US: Likewise.
21841 * localedata/locales/ur_IN: Likewise.
21842 * localedata/locales/ur_PK: Likewise.
21843 * localedata/locales/uz_UZ: Likewise.
21844 * localedata/locales/uz_UZ@cyrillic: Likewise.
21845 * localedata/locales/ve_ZA: Likewise.
21846 * localedata/locales/vi_VN: Likewise.
21847 * localedata/locales/wa_BE: Likewise.
21848 * localedata/locales/wae_CH: Likewise.
21849 * localedata/locales/wal_ET: Likewise.
21850 * localedata/locales/wo_SN: Likewise.
21851 * localedata/locales/xh_ZA: Likewise.
21852 * localedata/locales/yi_US: Likewise.
21853 * localedata/locales/yo_NG: Likewise.
21854 * localedata/locales/yue_HK: Likewise.
21855 * localedata/locales/yuw_PG: Likewise.
21856 * localedata/locales/zh_CN: Likewise.
21857 * localedata/locales/zh_HK: Likewise.
21858 * localedata/locales/zh_SG: Likewise.
21859 * localedata/locales/zh_TW: Likewise.
21860 * localedata/locales/zu_ZA: Likewise.
21861
21862 2017-11-13 Florian Weimer <fweimer@redhat.com>
21863
21864 * support/next_to_fault.h, support/next_to_fault.c: New files.
21865 * support/Makefile (libsupport-routines): Add next_to_fault.
21866 * resolv/tst-inet_pton.c (struct next_to_fault)
21867 (next_to_fault_allocate, next_to_fault_free): Remove.
21868 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21869
21870 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21871
21872 * elf/dl-support.c: Include <dl-procruntime.c>.
21873 * include/link.h: Include <link_map.h>.
21874 * sysdeps/generic/dl-procruntime.c: New file.
21875 * sysdeps/generic/link_map.h: Likewise.
21876 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21877 the writable ld.so namespace.
21878
21879 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21880
21881 timezone: pacify GCC -Wstringop-truncation
21882 Problem reported by Martin Sebor in:
21883 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21884 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21885
21886 2017-11-12 Florian Weimer <fweimer@redhat.com>
21887
21888 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21889 tst-xreadlink.
21890 (tests): Add tst-xreadlink.
21891 * support/support.h (xstrndup): Declare.
21892 * support/xunistd.h (xunlink, xreadlink): Declare.
21893 * support/temp_file.h (support_create_temp_directory): Declare.
21894 * support/temp_file.c (support_create_temp_directory): New function.
21895 * support/support_chroot.c (support_chroot_create): Use it.
21896 * support/xreadlink.c: New file.
21897 * support/xstrndup.c: Likewise.
21898 * support/xunlink.c: Likewise.
21899 * support/tst-xreadlink.c: Likewise.
21900
21901 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21902
21903 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21904
21905 2017-11-11 Florian Weimer <fweimer@redhat.com>
21906
21907 [BZ #22409]
21908 [BZ #22412]
21909 * resolv/res_comp.c (printable_string, binary_hnok)
21910 (binary_leading_dash): New functions.
21911 (res_hnok): Reimplement using these functions and ns_name_pton.
21912 (res_ownok): Likewise.
21913 (res_mailok): Reimplement using printable_string, ns_name_pton and
21914 binary_hnok.
21915 (res_dnok): Reimplement using printable_string and ns_name_pton.
21916 * resolv/tst-res_hnok.c (tests): Add additional tests.
21917 (LETTERDIGITS, PRINTABLE): Define.
21918 (do_test): Adjust one_char results.
21919
21920 2017-11-11 Florian Weimer <fweimer@redhat.com>
21921
21922 [BZ #22413]
21923 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21924 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21925
21926 2017-11-11 Florian Weimer <fweimer@redhat.com>
21927
21928 * resolv/tst-ns_name_pton.c: New file.
21929 * resolv/Makefile (tests): Add tst-ns_name_pton.
21930 (tst-ns_name_pton): Link against libresolv.
21931
21932 2017-11-11 Florian Weimer <fweimer@redhat.com>
21933
21934 * resolv/tst-res_hnok.c: New file.
21935 * resolv/Makefile (tests): Add tst-res_hnok.
21936 (tst-res_hnok): Link against libresolv.
21937
21938 2017-11-11 Florian Weimer <fweimer@redhat.com>
21939
21940 * resolv/tst-resolv-network.c: Use test framework instead explicit
21941 main function.
21942
21943 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
21944
21945 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
21946 <jmp_buf-macros.h>.
21947 [!_ISOMAC] (STR_HELPER): New.
21948 [!_ISOMAC] (STR): Likewise.
21949 [!_ISOMAC] (TEST_SIZE): Likewise.
21950 [!_ISOMAC] (TEST_ALIGN): Likewise.
21951 [!_ISOMAC] (TEST_OFFSET): Likewise.
21952 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
21953 field offsets of jmp_buf as well as sigjmp_buf.
21954 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
21955 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
21956 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
21957 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
21958 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
21959 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
21960 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
21961 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
21962 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
21963 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
21964 Likewise.
21965 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
21966 Likewise.
21967 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
21968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
21969 Likewise.
21970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
21971 Likewise.
21972 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
21973 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
21974 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
21975 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
21976 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
21977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
21978 Likewise.
21979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
21980 Likewise.
21981 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21982 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
21983 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
21984
21985 2017-11-07 Joseph Myers <joseph@codesourcery.com>
21986
21987 * include/float.h
21988 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21989 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
21990 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21991 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
21992 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21993 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
21994 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21995 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
21996 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21997 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
21998 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21999 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22000 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22001 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22002 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22003 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22004 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22005 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22006 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22007 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22008 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22009 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22010 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22011 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22012 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22013 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22014 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22015 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22016 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22017 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22018 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22019 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22020 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22021 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22022 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22023 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22024 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22025 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22026 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22027 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22028 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22029 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22030 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22031 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22032 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22033 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22034 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22035 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22036 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22037 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22038 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22039 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22040 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22041 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22042 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22043 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22044 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22045 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22046 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22047 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22048 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22049 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22050 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22051 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22052 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22053 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22054 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22055 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22056 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22057 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22058 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22059 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22060 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22061 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22062 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22063 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22064 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22065 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22066 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22067 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22068 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22069 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22070 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22071 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22072 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22073 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22074 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22075 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22076
22077 * stdlib/tst-strtod.h (F16): New macro.
22078 (F32): Likewise.
22079 (F64): Likewise.
22080 (F32X): Likewise.
22081 (F64X): Likewise.
22082 (F128X): Likewise.
22083 (IF_FLOAT16): Likewise.
22084 (IF_FLOAT32): Likewise.
22085 (IF_FLOAT64): Likewise.
22086 (IF_FLOAT32X): Likewise.
22087 (IF_FLOAT64X): Likewise.
22088 (IF_FLOAT128X): Likewise.
22089 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22090 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22091 (STRTOD_TEST_FOREACH): Likewise.
22092 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22093 (CHOOSE_f64): Likewise.
22094 (CHOOSE_f32x): Likewise.
22095 (CHOOSE_f64x): Likewise.
22096
22097 2017-11-07 Andreas Schwab <schwab@suse.de>
22098
22099 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22100
22101 2017-11-07 Mike FABIAN <mfabian@redhat.com>
22102
22103 [BZ #22403]
22104 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22105 to be escaped.
22106 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22107 to be escaped.
22108
22109 2017-11-07 Claude Paroz <claude@2xlibre.net>
22110
22111 [BZ #22403]
22112 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22113 to be escaped.
22114 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22115 to be escaped.
22116 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22117 to be escaped.
22118
22119 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22120
22121 [BZ #22298]
22122 * nptl/allocatestack.c (allocate_stack): Check if
22123 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22124 __PTHREAD_MUTEX_HAVE_PREV is defined.
22125 * nptl/descr.h (pthread): Likewise.
22126 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22127 Likewise.
22128 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22129 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22130 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22131 * sysdeps/nptl/bits/thread-shared-types.h
22132 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22133 defines.
22134 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22135 of __WORDSIZE for internal layout.
22136 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22137 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22138 instead of __WORDSIZE whether to use an union for __spins and __list
22139 fields.
22140 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22141 case.
22142 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22143 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22144 defines.
22145 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22146 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22147 Likewise.
22148 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22149 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22150 Likewise.
22151 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22152 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22153 Likewise.
22154 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22155 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22156 Likewise.
22157 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22158 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22159 Likewise.
22160 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22161 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22162 Likewise.
22163 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22164 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22165 Likewise.
22166 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22167 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22168 Likewise.
22169 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22170 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22171 Likewise.
22172 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22173 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22174 Likewise.
22175 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22176 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22177 Likewise.
22178 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22179 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22180 Likewise.
22181 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22182 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22183 Likewise.
22184 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22185 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22186 Likewise.
22187
22188 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22189 New macros.
22190 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22191 checks for expected input type size.
22192 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22193 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22194 Likewise.
22195 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22196 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22197 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22198 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22199 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22200 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22201 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22202 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22203 superflous runtime assert check.
22204 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22205 Likewise.
22206 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22207 Likewise.
22208 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22209 Likewise.
22210 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22211 Likewise.
22212 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22213 Likewise.
22214 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22215 Likewise.
22216 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22217 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22218 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22219 Likewise.
22220 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22221 Likewise.
22222 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22223 Likewise.
22224 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22225 Likewise.
22226 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22227 Likewise.
22228 * nptl/pthread_attr_setinheritsched.c
22229 (__pthread_attr_setinheritsched): Likewise.
22230 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22231 Likewise.
22232 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22233 Likewise.
22234 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22235 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22236 __old_pthread_attr_setstack): Likewise.
22237 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22238 Likewise.
22239 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22240 Likewise.
22241 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22242 Likewise.
22243 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22244 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22245 Likewise.
22246 * nptl/tst-typesizes.c: Remove file.
22247
22248 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22249 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22250 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22251 checks for internal pthread_mutex_t offsets.
22252 * sysdeps/aarch64/nptl/pthread-offsets.h
22253 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22254 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22255 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22256 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22257 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22258 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22259 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22260 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22261 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22262 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22263 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22264 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22265 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22266 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22267 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22268 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22269 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22270 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22271
22272 2017-11-07 Florian Weimer <fweimer@redhat.com>
22273
22274 * bits/mman-linux.h: Move ...
22275 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22276 comment.
22277 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22278 outdated comment.
22279
22280 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22281
22282 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22283 Redefine STRNLEN as __strnlen_power8.
22284
22285 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22286
22287 * signal/sighold.c (sighold): Optimize implementation.
22288
22289 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22290 __NR_rt_sigqueueinfo.
22291
22292 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22293 __sigtimedwait.
22294 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22295 assume __NR_rt_sigtimedwait.
22296 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22297 and add LIBC_CANCEL_HANDLED for cancellation marking.
22298 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22299
22300 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22301 (sysdeps_routines): Add memchr_noneon.
22302 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22303 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22304 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22305 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22306 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22307 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22308 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22309
22310 * sysdeps/arm/arm-ifunc.h: New file.
22311 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22312 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22313 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22314 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22315 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22316 (__memcpy_neon): Avoid create hidden alias.
22317 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22318 (__memcpy_vfp): Likewise.
22319 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22320 (sysdep_routines): Add memcpy_arm.
22321 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22322
22323 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22324
22325 [BZ #22362]
22326 * Makerules (make-link-multidir): New.
22327 * config.make.in (multidir): New.
22328 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22329 * configure: Regenerated.
22330 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22331 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22332 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22333 New target.
22334
22335 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22336
22337 [BZ #22402]
22338 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22339 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22340
22341 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22342
22343 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22344 to be escaped.
22345
22346 2017-11-04 Florian Weimer <fweimer@redhat.com>
22347
22348 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22349
22350 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22351
22352 * math/math.h [__HAVE_DISTINCT_FLOAT16
22353 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22354 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22355 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22356 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22357 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22358 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22359 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22360 (__MATH_TG_F32): New macro.
22361 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22362 (__MATH_TG_F64X): Likewise.
22363 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22364 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22365
22366 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22367
22368 * po/de.po: Update translations.
22369 * po/ru.po: Likewise.
22370
22371 2017-11-03 Florian Weimer <fweimer@redhat.com>
22372
22373 * manual/filesys.texi (Hard Links): Document linkat.
22374
22375 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22376
22377 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22378 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22379 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22380 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22381 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22382 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22383 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22384 the same as _Float128.
22385 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22386 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22387 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22388
22389 * stdlib/stdlib.h
22390 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22391 Declare.
22392 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22393 Likewise.
22394 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22395 Likewise.
22396 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22397 (strtof32x): Likewise.
22398 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22399 (strtof64x): Likewise.
22400 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22401 (strtof128x): Likewise.
22402 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22403 (strfromf16): Likewise.
22404 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22405 (strfromf32): Likewise.
22406 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22407 (strfromf64): Likewise.
22408 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22409 (strfromf32x): Likewise.
22410 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22411 (strfromf64x): Likewise.
22412 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22413 (strfromf128x): Likewise.
22414 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22415 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22416 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22417 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22418 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22419 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22420
22421 2017-11-03 Richard Henderson <rth@twiddle.net>
22422
22423 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22424
22425 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22426
22427 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22428
22429 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22430
22431 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22432 DT_TLSDESC_GOT initialization.
22433 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22434 (_dl_tlsdesc_resolve_hold): Likewise.
22435 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22436 (_dl_tlsdesc_resolve_hold): Likewise.
22437 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22438 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22439
22440 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22441
22442 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22443
22444 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22445
22446 [BZ #18572]
22447 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22448 non-lazily for R_ARM_TLS_DESC.
22449
22450 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22451
22452 [BZ #17078]
22453 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22454 R_ARM_TLS_DESC case.
22455 (elf_machine_lazy_rel): Remove the prelink check.
22456
22457 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22458
22459 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22460 DT_TLSDESC_GOT initialization.
22461 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22462 (_dl_tlsdesc_resolve_rela): Likewise.
22463 (_dl_tlsdesc_resolve_hold): Likewise.
22464 (_dl_tlsdesc_undefweak): Remove ldar.
22465 (_dl_tlsdesc_dynamic): Likewise.
22466 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22467 (_dl_tlsdesc_resolve_rela): Likewise.
22468 (_dl_tlsdesc_resolve_hold): Likewise.
22469 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22470 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22471 (_dl_tlsdesc_resolve_rela): Likewise.
22472 (_dl_tlsdesc_resolve_hold): Likewise.
22473
22474 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22475
22476 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22477 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22478
22479 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22480
22481 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22482 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22483
22484 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22485
22486 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22487 Declare.
22488 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22489 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22490 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22491 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22492 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22493 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22494 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22495 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22496 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22497 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22498 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22499
22500 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22501
22502 [BZ #22382]
22503 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22504 * localedata/locales/tpi_PG: Add standard header.
22505
22506 2017-11-02 Florian Weimer <fweimer@redhat.com>
22507
22508 test-errno-linux: quotactl can fail with EPERM in containers.
22509 * sysdeps/unix/sysv/linux/test-errno-linux.c
22510 (LIST, LIST_FORWARD): New macros.
22511 (check_error_in_list): New function.
22512 (test_wrp_rv): Accept list of permitted error codes.
22513 (test_wrp_rv2): Remove.
22514 (test_wrp): Call test_wrp_rv with list of error codes.
22515 (test_wrp2): Accept list of error codes.
22516 (do_test): Adjust. Allow EPERM for quotactl.
22517
22518 2017-11-02 Florian Weimer <fweimer@redhat.com>
22519
22520 * stdio-common/bug16.c (do_test): Use array_length.
22521 * stdio-common/errlist.c (_sys_nerr): Likewise.
22522 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22523 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22524 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22525 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22526 (do_test): Use array_length.
22527 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22528 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22529 * stdio-common/tst-printf-round.c (do_test): Likewise.
22530 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22531 (CHECK): Use array_length.
22532 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22533 * stdio-common/tstscanf.c (main): Likewise.
22534 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22535
22536 2017-11-02 Florian Weimer <fweimer@redhat.com>
22537
22538 Add array_length and array_end macros.
22539 * include/array_length.h: New file.
22540
22541 2017-11-02 Florian Weimer <fweimer@redhat.com>
22542
22543 [BZ #22332]
22544 * posix/tst-glob-tilde.c (do_noescape): New variable.
22545 (one_test): Process it.
22546 (do_test): Set do_noescape. Add unescaping test case.
22547
22548 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22549
22550 * math/complex.h
22551 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22552 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22553 with appropriate macros defined and undefined.
22554 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22555 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22556 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22557 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22558 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22559 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22560 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22561 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22562 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22563 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22564
22565 * math/complex.h
22566 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22567 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22568 that for long double. Do not condition define and undefine of
22569 _Mdouble_complex_ on [__CFLOAT128].
22570
22571 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22572
22573 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22574 of <sysdeps/generic/sysdep.h>.
22575 (ALIGNARG): Removed.
22576 (ASM_SIZE_DIRECTIVE): Likewise.
22577 (ENTRY): Likewise.
22578 (END): Likewise.
22579 (ENTRY_CHK): Likewise.
22580 (END_CHK): Likewise.
22581 (syscall_error): Likewise.
22582 (mcount): Likewise.
22583 (PSEUDO_END): Likewise.
22584 (L): Likewise.
22585 (atom_text_section): Likewise.
22586 * sysdeps/x86/sysdep.h: New file.
22587 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22588 of <sysdeps/generic/sysdep.h>.
22589 (ALIGNARG): Removed.
22590 (ASM_SIZE_DIRECTIVE): Likewise.
22591 (ENTRY): Likewise.
22592 (END): Likewise.
22593 (ENTRY_CHK): Likewise.
22594 (END_CHK): Likewise.
22595 (syscall_error): Likewise.
22596 (mcount): Likewise.
22597 (PSEUDO_END): Likewise.
22598 (L): Likewise.
22599 (atom_text_section): Likewise.
22600
22601 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22602
22603 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22604 category of LC_CTYPE set to "i18n:2012".
22605 * localedata/locales/i18n_ctype: Regenerate.
22606
22607 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22608
22609 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22610 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22611 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22612 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22613
22614 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22615 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22616 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22617 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22618
22619 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22620
22621 * math/complex.h
22622 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22623 New macro.
22624 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22625 Likewise.
22626 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22627 Likewise.
22628 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22629 (CMPLXF32X): Likewise.
22630 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22631 (CMPLXF64X): Likewise.
22632 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22633 (CMPLXF128X): Likewise.
22634
22635 * math/math.h
22636 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22637 (__MATH_EVAL_FMT2): Define to add 0.0f.
22638
22639 2017-10-31 Alan Modra <amodra@gmail.com>
22640
22641 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22642 include sysdep.h.
22643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22657 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22658 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22659 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22660 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22661 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22662 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22663 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22664 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22665 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22666 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22667 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22668 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22669 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22670 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22671 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22672 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22673 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22674 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22675 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22676 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22677 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22678 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22679 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22680 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22681 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22682 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22683 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22684 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22685 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22686 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22687 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22688 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22689 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22690 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22691 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22692 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22693 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22694 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22695 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22696 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22697 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22698 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22699 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22700 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22701 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22702 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22703 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22704 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22705 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22706 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22707 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22708 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22709 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22710 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22711 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22712
22713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22714 include sysdep.h and math_ldbl_opt.h.
22715
22716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22717 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22742
22743 2017-10-31 Alan Modra <amodra@gmail.com>
22744
22745 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22746 string/strncase_l.c, not string/strncase.c.
22747 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22748 (libc_hidden_def): Redefine.
22749
22750 2017-10-31 Alan Modra <amodra@gmail.com>
22751
22752 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22753 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22754 (__strcasecmp): Don't define.
22755
22756 2017-10-31 Alan Modra <amodra@gmail.com>
22757
22758 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22759 IS_IN (libc).
22760 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22761 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22762 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22763
22764 2017-10-31 Alan Modra <amodra@gmail.com>
22765
22766 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22767 USE_AS_STPNCPY.
22768
22769 2017-10-31 Alan Modra <amodra@gmail.com>
22770
22771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22772 Redefine only when SHARED.
22773
22774 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22775
22776 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22777 Include <bits/math-finite.h> with appropriate macros defined and
22778 undefined.
22779 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22780 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22781 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22782 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22783 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22784
22785 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22786 [!_Mlong_double_] (_Mlong_double_): Likewise.
22787 [!_Mfloat16_] (_Mfloat16_): Likewise.
22788 [!_Mfloat32_] (_Mfloat32_): Likewise.
22789 [!_Mfloat64_] (_Mfloat64_): Likewise.
22790 [!_Mfloat128_] (_Mfloat128_): Likewise.
22791 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22792 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22793 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22794 (_Mdouble_): Define without indirection through those macros.
22795 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22796 [!_Mfloat128_] (_Mfloat128_): Likewise.
22797 [_Mlong_double_] (_Mlong_double_): Likewise.
22798 (_Mdouble_): Define without indirection through those macros.
22799 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22800 not add -D_Mlong_double_=double.
22801 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22802 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22803
22804 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22805
22806 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22807
22808 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22809
22810 * sysdeps/x86/libc-start.c: Reformat.
22811
22812 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22813
22814 [BZ #22353]
22815 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22816 (1): Renamed to ...
22817 (L(Src0)): This.
22818 (L(Src1)): New.
22819 (L(Src2)): Likewise.
22820 (L(1)): Renamed to ...
22821 (L(Src3)): This.
22822
22823 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22824
22825 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22826 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22827 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22828 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22829 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22830 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22831 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22832 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22833 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22834 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22835 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22836 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22837 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22838 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22839 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22840 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22841 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22842 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22843 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22844 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22845 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22846 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22847 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22848 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22849 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22850 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22851 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22852 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22853 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22854 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22855 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22856 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22857 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22858 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22859 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22860 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22861 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22862 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22863 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22864 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22865 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22866 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22867 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22868 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22869 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22870 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22871 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22872 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22873 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22874 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22875 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22876 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22877 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22878 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22879 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22880 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22881 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22882 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22883 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22884 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22885 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22886 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22887 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22888 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22889 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22890 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22891
22892 2017-10-30 Florian Weimer <fweimer@redhat.com>
22893
22894 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22895 always defined.
22896 * io/tst-mkdirat.c (do_test): Likewise.
22897 * io/tst-mkfifoat.c (do_test): Likewise.
22898 * io/tst-mknodat.c (do_test): Likewise.
22899 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22900 * locale/programs/locale.c (select_dirs): Likewise.
22901 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22902 * posix/bug-glob2.c (my_readdir): Likewise.
22903 * posix/tst-dir.c (main): Likewise.
22904 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22905 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22906
22907 2017-10-30 Florian Weimer <fweimer@redhat.com>
22908
22909 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22910 just __USE_GNU.
22911
22912 2017-10-30 Florian Weimer <fweimer@redhat.com>
22913
22914 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22915 Convert to support/test-driver.c.
22916 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22917 New macro parameters.
22918 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22919 * posix/tst-gnuglob.c: New file.
22920 * posix/tst-gnuglob64.c: Likewise.
22921 * posix/Makefile (tests): Add tst-gnuglob64.
22922
22923 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22924
22925 [BZ #19485]
22926 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22927 and use a better translation for March in “mon”.
22928 * localedata/locales/csb_PL: Use more ASCII to improve the
22929 readability of the source.
22930
22931 2017-10-30 Mike FABIAN <mfabian@redhat.com>
22932
22933 [BZ #13953]
22934 * localedata/locales/km_KH: Use ASCII as much
22935 as possible for better readability of the source and
22936 remove useless comments.
22937 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
22938 was commented out and apparently wrong anyway because it was
22939 using Lao characters. If Buddhist era should be used
22940 for km_KH, a native speaker should write the correct formaat
22941 for Khmer.
22942 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
22943 (According to CLDR, the first weekday for Cambodia is Sunday).
22944 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
22945 (These were using Lao characters which must be wrong. If we get
22946 the correct data from a native speaker, we could add it back, until
22947 then it is better not to have name_mr and name_mrs at all than
22948 having it wrong).
22949
22950 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
22951
22952 * locale/loadlocale.c: Correct size of
22953 _nl_value_type_LC_<category> arrays.
22954
22955 2017-10-27 Joseph Myers <joseph@codesourcery.com>
22956
22957 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22958 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
22959 with appropriate macros defined and undefined.
22960 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22961 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22962 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22963 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22964 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22965
22966 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
22967
22968 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22969 "-O2 -march=i586".
22970
22971 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22972
22973 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
22974 with lowercase letters to make it agree with CLDR.
22975
22976 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22977
22978 [BZ #15260]
22979 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
22980 first letters of yesstr and nostr in yesexpr and noexpr,
22981 not for the full words.
22982 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22983 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
22984 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
22985 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
22986 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
22987 first letters of yesstr and nostr in yesexpr and noexpr,
22988 until now only English was matched in yesexpr and noexpr.
22989 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
22990 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
22991 fil but not for tl. As tl and fil are very similar, using fil
22992 is probably better than using English.
22993
22994 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
22995
22996 [BZ #21706]
22997 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
22998 in yesstr and nostr.
22999
23000 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23001
23002 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23003 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23004 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23005 Likewise.
23006 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23007 Likewise.
23008 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23009 Likewise.
23010 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23011 Likewise.
23012 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23013 (SNANF128X): Likewise.
23014
23015 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23016 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23017 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23018 (HUGE_VAL_F32): Likewise.
23019 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23020 (HUGE_VAL_F64): Likewise.
23021 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23022 (HUGE_VAL_F32X): Likewise.
23023 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23024 (HUGE_VAL_F64X): Likewise.
23025 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23026 (HUGE_VAL_F128X): Likewise.
23027
23028 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23029
23030 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23031 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23032 for the br_FR locale.
23033
23034 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23035
23036 [BZ #21706]
23037 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23038
23039 2017-10-25 Carlos O'Donell <carlos@redhat.com>
23040
23041 * locale/programs/record-status.h: Define globals, and function
23042 prototypes. Move function bodies...
23043 * locale/programs/record-status.c: ... to here. New file.
23044 * iconv/Makefile (iconv_prog-modules): Add record-status.
23045 * locale/Makefile (lib-modules): Likewise.
23046 * iconv/iconv_prog.c: Remove verbose.
23047 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23048 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23049 record a warning about ASCII compatibility.
23050 * locale/programs/ld-monetary.c (monetary_finish): If
23051 warn_int_curr_symbol is true then record a warning about the symbol
23052 not being in our ISO 4217 list.
23053 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23054 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23055 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23056 (OPT_NO_WARN): Define.
23057 (OPT_WARN): Define.
23058 (options): Add entry for --no-warnings, and --warnings.
23059 (set_warnings): New function to enable/disable warnings.
23060 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23061 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23062 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23063 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23064 Pass flags to generate_locale.
23065 (generate_locale): Accept new flag argument and pass it to localedef
23066 invocation.
23067 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23068 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23069
23070 * localedata/Makefile (test-input-data): Use full file name.
23071 * localedata/da_DK.in: Rename to...
23072 * localedata/da_DK.ISO-8859-1.in: ...this.
23073 * localedata/de_DE.in: Rename to...
23074 * localedata/de_DE.ISO-8859-1.in: ...this.
23075 * localedata/en_US.in: Rename to...
23076 * localedata/en_US.ISO-8859-1.in: ...this.
23077 * localedata/fr_FR.in: Rename to...
23078 * localedata/fr_FR.UTF-8.in: ... this.
23079 * localedata/hr_HR.in: Rename to...
23080 * localedata/hr_HR.ISO-8859-2.in: ...this.
23081 * localedata/hu_HU.in: Rename to...
23082 * localedata/hu_HU.UTF-8.in: ...this.
23083 * localedata/si_LK.in: Rename to...
23084 * localedata/si_LK.UTF-8.in: ...this.
23085 * localedata/sv_SE.in: Rename to...
23086 * localedata/sv_SE.ISO-8859-1.in: ...this.
23087 * localedata/tr_TR.in: Rename to...
23088 * localedata/tr_TR.UTF-8.in: ...this.
23089 * localedata/uk_UA.in: Rename to...
23090 * localedata/uk_UA.UTF-8.in: ...this.
23091 * localedata/sort-test.sh: Test file is locale name with the
23092 suffix.
23093
23094 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23095 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23096 file.
23097 * localedata/locales/i18n_ctype: Regenerate.
23098 * localedata/locales/tr_TR: Likewise.
23099 * localedata/locales/translit_circle: Likewise.
23100 * localedata/locales/translit_cjk_compat: Likewise.
23101 * localedata/locales/translit_combining: Likewise.
23102 * localedata/locales/translit_compat: Likewise.
23103 * localedata/locales/translit_font: Likewise.
23104 * localedata/locales/translit_fraction: Likewise.
23105
23106 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23107
23108 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23109 lxvd2x/stxvd2x with lvx/stvx.
23110 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23111
23112 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23113
23114 * include/alloc_buffer.h: Replace "if if " with "if " in
23115 comments.
23116 * sysdeps/mips/memcpy.S: Likkewise.
23117 * sysdeps/mips/memset.S: Likewise.
23118 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23119 Likewise.
23120 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23121 Likewise.
23122 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23123 Likewise.
23124
23125 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23126
23127 [BZ #15261]
23128 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23129 yesexpr and noexpr.
23130 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23131 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23132 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23133 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23134 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23135 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23136 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23137
23138 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23139
23140 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23141 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23142 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23143 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23144 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23145 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23146 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23147 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23148 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23149 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23150 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23151 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23152
23153 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23154
23155 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23156 as possible for better readability of the source.
23157 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23158 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23159 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23160 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23161 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23162 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23163 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23164 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23165 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23166 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23167 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23168 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23169 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23170 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23171 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23172 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23173 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23174 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23175 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23176 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23177 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23178 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23179 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23180 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23181 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23182 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23183 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23184 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23185 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23186 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23187 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23188 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23189 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23190 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23191 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23192 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23193 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23194 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23195 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23196 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23197 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23198 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23199 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23200 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23201 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23202 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23203 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23204 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23205 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23206 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23207 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23208 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23209 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23210 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23211 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23212 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23213 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23214 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23215 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23216 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23217 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23218 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23219 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23220 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23221 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23222 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23223 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23224 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23225 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23226 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23227 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23228 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23229 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23230 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23231 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23232 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23233 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23234 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23235 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23236 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23237 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23238 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23239 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23240 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23241 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23242 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23243 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23244 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23245 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23246 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23247 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23248 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23249 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23250 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23251 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23252 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23253 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23254 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23255 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23256 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23257 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23258 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23259 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23260 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23261 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23262 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23263 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23264 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23265 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23266 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23267 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23268 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23269 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23270 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23271 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23272 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23273 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23274 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23275 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23276 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23277 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23278 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23279 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23280 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23281 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23282 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23283 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23284 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23285 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23286 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23287 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23288 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23289 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23290 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23291 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23292 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23293 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23294 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23295 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23296 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23297 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23298 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23299 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23300 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23301 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23302 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23303 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23304 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23305 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23306 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23307 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23308 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23309 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23310 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23311 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23312 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23313 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23314 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23315 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23316 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23317 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23318 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23319 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23320 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23321 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23322 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23323 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23324 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23325 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23326 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23327 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23328 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23329 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23330 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23331
23332 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23333
23334 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23335 (Use first letters of yesstr and nostr correctly instead of using
23336 full words).
23337
23338 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23339
23340 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23341 (Use first letters of yesstr and nostr correctly).
23342
23343 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23344
23345 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23346 also check for the first characters of yesstr and nostr.
23347 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23348 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23349
23350 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23351
23352 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23353 also check for Chinese characters.
23354
23355 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23356
23357 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23358 match also for the contents of yesstr and nostr. As the first letter
23359 of yesstr and nostr is equal, checking only for the first letter
23360 is not enough.
23361
23362 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23363
23364 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23365 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23366
23367 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23368
23369 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23370 of main contributor.
23371
23372 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23373
23374 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23375 instead of using English.
23376
23377 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23378
23379 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23380 by including the first letters of nostr and yesexpr in the regexp.
23381 Also make it more readable by using ASCII where possible.
23382
23383 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23384
23385 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23386 the first letter of nostr in the regexp. It agrees with CLDR now.
23387 Also make it more readable by using ASCII where possible.
23388
23389 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23390
23391 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23392 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23393 these strings contain a U+17D6 (which somewhat looks like a colon)
23394 instead of a real colon to separate the full words for “yes”
23395 and “no” from the single letter responses.
23396
23397 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23398
23399 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23400 it agree with CLDR (include the first letter of yesstr).
23401 Also make it more readable by using ASCII where possible.
23402
23403 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23404
23405 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23406 and improve yesexpr and noexpr. The yesstr and nostr apparently
23407 came from CLDR. And CLDR has a bug there: these strings contain
23408 a U+0903 (which looks like a colon) instead of a real colon
23409 to separate the full words for “yes” and “no” from the single
23410 letter responses.
23411
23412 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23413
23414 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23415 letters of the full yesstr and nostr in yesexpr and noexpr.
23416
23417 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23418
23419 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23420 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23421 * localedata/locales/an_ES: Make source more readable by using ASCII
23422 where possible.
23423
23424 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23425
23426 [BZ #20952]
23427 * localedata/locales/yuw_PG: New file.
23428 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23429 * locale/iso-639.def: Add Yau (Uruwa).
23430
23431 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23432
23433 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23434
23435 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23436
23437 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23438 (__libc_realloc): Likewise.
23439 (_mid_memalign): Likewise.
23440 (__libc_calloc): Likewise.
23441
23442 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23443
23444 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23445 by adding the generic +1 and -0 as in all other locales.
23446 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23447 day names and make it more readable by using ASCII where possible.
23448
23449 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23450
23451 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23452 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23453
23454 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23455
23456 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23457 WNOHANG in waitpid call.
23458
23459 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23460
23461 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23462 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23463
23464 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23465 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23466 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23467 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23468 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23469 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23470 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23471 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23472 variables.
23473
23474 2017-10-23 Michael Collison <michael.collison@arm.com>
23475
23476 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23477 with __builtin_sqrt.
23478 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23479 with __builtin_sqrtf.
23480 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23481 with __builtin_ceil.
23482 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23483 with __builtin_ceilf.
23484 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23485 with __builtin_floor.
23486 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23487 with __builtin_floorf.
23488 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23489 with __builtin_fma.
23490 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23491 with __builtin_fmaf.
23492 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23493 with __builtin_fmax.
23494 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23495 with __builtin_fmaxf.
23496 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23497 with __builtin_fmin.
23498 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23499 with __builtin_fminf.
23500 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23501 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23502 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23503 with builtin_rint and conversion to int.
23504 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23505 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23506 with builtin_llround.
23507 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23508 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23509 with builtin_rint and conversion to long int.
23510 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23511 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23512 with builtin_lround.
23513 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23514 with builtin_lroundf.
23515 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23516 statements with __builtin_nearbyint.
23517 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23518 statements with __builtin_nearbyintf.
23519 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23520 with __builtin_rint.
23521 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23522 with __builtin_rintf.
23523 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23524 with __builtin_round.
23525 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23526 with __builtin_roundf.
23527 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23528 with __builtin_trunc.
23529 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23530 with __builtin_truncf.
23531 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23532 and s_l[l]round[f].c too.
23533
23534 2017-10-23 Alan Modra <amodra@gmail.com>
23535
23536 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23537 Adjust stack after restoring regs. Add missing LR cfi_restore.
23538
23539 2017-10-23 Alan Modra <amodra@gmail.com>
23540
23541 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23542 Move LR save and frame setup/teardown and LR restore to
23543 immediately around memset call. Provide cfi.
23544
23545 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23546
23547 * sysdeps/i386/fpu/e_powf.S: Removed.
23548 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23549 * sysdeps/i386/fpu/w_powf.c: Likewise.
23550 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23551 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23552 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23553 Add e_powf-sse2.
23554 (CFLAGS-e_powf-sse2.c): New.
23555 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23556 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23557
23558 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23559
23560 * sysdeps/i386/fpu/e_log2f.S: Removed.
23561 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23562 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23563 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23564 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23565 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23566 Add e_log2f-sse2.
23567 (CFLAGS-e_log2f-sse2.c): New.
23568 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23569 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23570
23571 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23572
23573 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23574 Add e_powf-fma.
23575 (CFLAGS-e_powf-fma.c): New.
23576 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23577 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23578
23579 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23580
23581 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23582 Add e_log2f-fma.
23583 (CFLAGS-e_log2f-fma.c): New.
23584 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23585 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23586
23587 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23588
23589 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23590 Add e_logf-fma.
23591 (CFLAGS-e_logf-fma.c): New.
23592 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23593 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23594
23595 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23596
23597 * sysdeps/i386/fpu/e_logf.S: Removed.
23598 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23599 * sysdeps/i386/fpu/w_logf.c: Likewise.
23600 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23601 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23602 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23603 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23604 Add e_logf-sse2.
23605 (CFLAGS-e_logf-sse2.c): New.
23606 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23607 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23608
23609 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23610
23611 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23612 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23613 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23614 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23615 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23616 Add e_exp2f-sse2.
23617 (CFLAGS-e_exp2f-sse2.c): New.
23618 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23619 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23620
23621 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23622
23623 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23624 Add e_exp2f-fma.
23625 (CFLAGS-e_exp2f-fma.c): New.
23626 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23627 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23628
23629 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23630
23631 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23632 * sysdeps/i386/fpu/e_expf.S: Likewise.
23633 * sysdeps/i386/fpu/math_errf.c: Likewise.
23634 * sysdeps/i386/fpu/w_expf.c: Likewise.
23635 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23636 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23637 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23638 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23639 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23640 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23641 Remove e_expf-ia32.
23642 (CFLAGS-e_expf-sse2.c): New.
23643 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23644 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23645
23646 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23647
23648 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23649 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23650 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23651 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23652 e_expf.c.
23653 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23654 New.
23655 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23656 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23657 Renamed to ...
23658 (__redirect_expf): This.
23659 (SYMBOL_NAME): Changed to expf.
23660 (__ieee754_expf): Renamed to ...
23661 (__expf): This.
23662 (__GI___expf): This.
23663 (__ieee754_expf): Add strong_alias.
23664 (__expf_finite): Likewise.
23665 (__expf): New.
23666 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23667
23668 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23669
23670 [BZ #22332]
23671 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23672 unescaping.
23673
23674 2017-10-21 Florian Weimer <fweimer@redhat.com>
23675
23676 * posix/Makefile (tests): Add tst-glob-tilde.
23677 (tests-special): Add tst-glob-tilde-mem.out
23678 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23679 (tst-glob-tilde-mem.out): Add mtrace check.
23680 * posix/tst-glob-tilde.c: New file.
23681
23682 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23683
23684 * bits/floatn-common.h: New file.
23685 * math/Makefile (headers): Add bits/floatn-common.h.
23686 * bits/floatn.h: Include <bits/floatn-common.h>.
23687 * sysdeps/ia64/bits/floatn.h: Likewise.
23688 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23689 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23690 * sysdeps/powerpc/bits/floatn.h: Likewise.
23691 * sysdeps/x86/bits/floatn.h: Likewise.
23692
23693 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23694
23695 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23696 indicates whether compiler emits an warning for alias for
23697 functions with incompatible types.
23698
23699 [BZ #22273]
23700 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23701 the auxiliary process is terminated by a signal before calling _exit
23702 or execve.
23703
23704 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23705
23706 [BZ #21265]
23707 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23708 New.
23709 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23710 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23711 and bit_arch_XSAVEC_Usable if needed.
23712 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23713 and bit_arch_Use_dl_runtime_resolve_opt.
23714 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23715 Removed.
23716 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23717 (bit_arch_Prefer_No_AVX512): Updated.
23718 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23719 (bit_arch_XSAVEC_Usable): New.
23720 (STATE_SAVE_OFFSET): Likewise.
23721 (STATE_SAVE_MASK): Likewise.
23722 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23723 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23724 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23725 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23726 (index_arch_XSAVEC_Usable): New.
23727 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23728 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23729 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23730 is enabled.
23731 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23732 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23733 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23734 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23735 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23736 _dl_runtime_resolve_xsavec.
23737 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23738 Removed.
23739 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23740 instead of VEC_SIZE.
23741 (REGISTER_SAVE_BND0): Removed.
23742 (REGISTER_SAVE_BND1): Likewise.
23743 (REGISTER_SAVE_BND3): Likewise.
23744 (REGISTER_SAVE_RAX): Always defined to 0.
23745 (VMOV): Removed.
23746 (_dl_runtime_resolve_avx): Likewise.
23747 (_dl_runtime_resolve_avx_slow): Likewise.
23748 (_dl_runtime_resolve_avx_opt): Likewise.
23749 (_dl_runtime_resolve_avx512): Likewise.
23750 (_dl_runtime_resolve_avx512_opt): Likewise.
23751 (_dl_runtime_resolve_sse): Likewise.
23752 (_dl_runtime_resolve_sse_vex): Likewise.
23753 (USE_FXSAVE): New.
23754 (_dl_runtime_resolve_fxsave): Likewise.
23755 (USE_XSAVE): Likewise.
23756 (_dl_runtime_resolve_xsave): Likewise.
23757 (USE_XSAVEC): Likewise.
23758 (_dl_runtime_resolve_xsavec): Likewise.
23759 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23760 Removed.
23761 (_dl_runtime_resolve_avx512_opt): Likewise.
23762 (_dl_runtime_resolve_avx): Likewise.
23763 (_dl_runtime_resolve_avx_opt): Likewise.
23764 (_dl_runtime_resolve_sse): Likewise.
23765 (_dl_runtime_resolve_sse_vex): Likewise.
23766 (_dl_runtime_resolve_fxsave): New.
23767 (_dl_runtime_resolve_xsave): Likewise.
23768 (_dl_runtime_resolve_xsavec): Likewise.
23769
23770 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23771
23772 [BZ #22320]
23773 CVE-2017-15670
23774 * posix/glob.c (__glob): Fix one-byte overflow.
23775
23776 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23777
23778 * malloc/malloc.c (sysdep-cancel.h): Add include.
23779
23780 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23781
23782 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23783
23784 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23785
23786 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23787 (tests): Remove $(objpfx)ga_test depdendency.
23788 * resolv/ga_test.c: Remove file.
23789
23790 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23791
23792 [BZ #18812]
23793 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23794 * localedata/locales/kab_DZ: New file.
23795
23796 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23797
23798 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23799 _dl_relocate_static_pie instead of _dl_start to compute load
23800 address in static PIE.
23801
23802 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23803
23804 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23805
23806 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23807
23808 [BZ #13605]
23809 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23810 * localedata/locales/shn_MM: New file.
23811
23812 2017-10-20 Florian Weimer <fweimer@redhat.com>
23813
23814 [BZ #22321]
23815 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23816 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23817 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23818 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23819 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23820 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23821
23822 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23823
23824 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23825
23826 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23827
23828 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23829
23830 [BZ #22322]
23831 * sysdeps/mips/bits/long-double.h: Move to ....
23832 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23833
23834 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23835
23836 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23837
23838 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23839 H.J. Lu <hongjiu.lu@intel.com>
23840
23841 [BZ #22299]
23842 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23843 GLRO(dl_platform) to NULL.
23844 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23845 (modules-names): Add tst-platformmod-1 and
23846 x86_64/tst-platformmod-2.
23847 (CFLAGS-tst-platform-1.c): New.
23848 (CFLAGS-tst-platformmod-1.c): Likewise.
23849 (CFLAGS-tst-platformmod-2.c): Likewise.
23850 (LDFLAGS-tst-platformmod-2.so): Likewise.
23851 ($(objpfx)tst-platform-1): Likewise.
23852 ($(objpfx)tst-platform-1.out): Likewise.
23853 (tst-platform-1-ENV): Likewise.
23854 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23855 * sysdeps/x86_64/tst-platform-1.c: New file.
23856 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23857 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23858
23859 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23860
23861 [BZ #13994]
23862 * locale/iso-639.def: Add Karbi.
23863 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23864 * localedata/locales/mjw_IN: New file.
23865
23866 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23867
23868 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23869 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23870 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23871 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23872 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23873 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23874 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23875 <bits/floatn.h>.
23876 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23877 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23878 * manual/math.texi (Mathematics): Document additional architecture
23879 support for _Float128.
23880 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23881 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23882 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23883 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23884 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23885 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23886 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23887 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23888 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23889 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23890 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23891 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23892 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23893 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23894 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23895
23896 2017-10-18 Renlin Li <renlin.li@arm.com>
23897
23898 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23899 _DYNAMIC symbol to calculate load address.
23900
23901 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23902
23903 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23904 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23905 summary bits.
23906 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23907 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23908
23909 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23910
23911 [BZ #16777]
23912 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23913 and improve readability by using more ASCII.
23914 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23915 and improve readability by using more ASCII.
23916
23917 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23918
23919 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23920 not all targets support atomics on bool.
23921
23922 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23923
23924 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23925 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23926 __f128.
23927 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23928 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23929 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23930 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
23931 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23932 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
23933
23934 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23935
23936 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
23937 defines.
23938
23939 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23940
23941 [BZ #22159]
23942 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
23943 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
23944 (do_check_remalloced_chunk): Fix build bug.
23945 (do_check_malloc_state): Add assert that checks arena->top.
23946 (malloc_consolidate): Remove initialization.
23947 (int_mallinfo): Remove call to malloc_consolidate.
23948 (__libc_mallopt): Clarify why malloc_consolidate is needed.
23949
23950 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23951
23952 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
23953 (have_fastchunks): Remove.
23954 (clear_fastchunks): Remove.
23955 (set_fastchunks): Remove.
23956 (malloc_state): Add have_fastchunks.
23957 (malloc_init_state): Use have_fastchunks.
23958 (do_check_malloc_state): Remove incorrect invariant checks.
23959 (_int_malloc): Use have_fastchunks.
23960 (_int_free): Likewise.
23961 (malloc_consolidate): Likewise.
23962
23963 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23964
23965 * malloc/malloc.c (tcache_put): Inline.
23966 (tcache_get): Inline.
23967
23968 2017-10-17 Jordi Mallach <jordi@gnu.org>
23969
23970 Aurelien Jarno <aurelien@aurel32.net>
23971 [BZ #2522]
23972 * localedata/locales/ca_ES@valencia: New file.
23973 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
23974
23975 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
23976
23977 [BZ #22296]
23978 * math/math.h: Let signbit use the builtin in C++ mode with gcc
23979 < 6.x
23980
23981 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23982
23983 * scripts/build-many-glibcs.py (Context.add_all_configs):
23984 Add arm-linux-gnueabihf multiarch extra_glibcs.
23985
23986 * sysdeps/generic/ifunc-init.h: New file.
23987 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
23988
23989 2017-10-17 Mike FABIAN <mfabian@redhat.com>
23990
23991 [BZ #22019]
23992 * localedata/locales/el_GR: Set n_cs_precedes to 0.
23993 * localedata/locales/el_CY: copy "el_GR" because it is identical.
23994 * stdlib/tst-strfmon_l.c: adapt test case.
23995
23996 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23997
23998 * sysdeps/generic/float128-abi.h: New file.
23999 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24000 non-__prefixed symbols to ....
24001 * math/Versions: ... here. Include <float128-abi.h>.
24002 * stdlib/Versions ... and here. Include <float128-abi.h>
24003
24004 2017-10-16 Florian Weimer <fweimer@redhat.com>
24005
24006 * version.h (VERSION): Switch to ".9000" as the development
24007 version suffix.
24008
24009 2017-10-16 Florian Weimer <fweimer@redhat.com>
24010
24011 [BZ #22050]
24012 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24013 compat_symbol_reference to access non-default version.
24014
24015 2017-10-16 Florian Weimer <fweimer@redhat.com>
24016
24017 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24018
24019 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24020
24021 * include/shlib-compat.h (compat_symbol_reference): Update
24022 comment.
24023
24024 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24025
24026 * math/Makefile (test-types): Add
24027 $(type-float128-$(float128-alias-fcts)).
24028 * math/test-float128.h (TYPE_STR): Define conditional on
24029 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24030 (ULP_IDX): Likewise.
24031 (ULP_I_IDX): Likewise.
24032
24033 * stdlib/strtold.c: Include <bits/floatn.h>
24034 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24035 and later undefine as macro. Define as weak alias if
24036 [!USE_WIDE_CHAR].
24037 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24038 and later undefine as macro. Define as weak alias if
24039 [USE_WIDE_CHAR].
24040 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24041 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24042 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24043 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24044 Define and later undefine as macro. Define as weak alias if
24045 [USE_WIDE_CHAR].
24046 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24047 <bits/floatn.h>.
24048 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24049 Define and later undefine as macro. Define as weak alias if
24050 [!USE_WIDE_CHAR].
24051 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24052 Define and later undefine as macro. Define as weak alias if
24053 [USE_WIDE_CHAR].
24054
24055 2017-10-15 Carlos O'Donell <carlos@redhat.com>
24056
24057 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24058 record_verbose messages.
24059
24060 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24061
24062 [BZ #22052]
24063 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24064 to silence -O3 -Wall warning with GCC 7.
24065
24066 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24067
24068 * Makeconfig (+link-static-before-libc): Use the first of
24069 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24070 * gmon/Makefile (tests): Add tst-gmon-static.
24071 (tests-static): Likewise.
24072 (CFLAGS-tst-gmon-static.c): New.
24073 (CRT-tst-gmon-static): Likewise.
24074 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24075 (tst-gmon-static-ENV): Likewise.
24076 (tests-special): Likewise.
24077 ($(objpfx)tst-gmon-static.out): Likewise.
24078 (clean-tst-gmon-static-data): Likewise.
24079 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24080 * gmon/tst-gmon-static-gprof.sh: New file.
24081 * gmon/tst-gmon-static.c: Likewise.
24082
24083 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24084
24085 [BZ #22295]
24086 * locale/programs/linereader.c (get_string): Don't warn on
24087 non-symbolic character.
24088
24089 [BZ #22294]
24090 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24091 int_curr_symbol.
24092
24093 [BZ #22292]
24094 * locale/programs/record-status.h: New file
24095 * locale/programs/locale.c: Add comment.
24096 * locale/programs/charmap-dir.c: Don't include error.h.
24097 (charmap_opendir): Use record_error.
24098 * locale/programs/charmap.c: Don't include error.h.
24099 (charmap_read): Use record_error, and record_warning.
24100 (parse_charmap): Likewise.
24101 * locale/programs/ld-address.c: Don't include error.h.
24102 (address_finish): Use record_error, and record_warning.
24103 * locale/programs/ld-collate.c: Don't include error.h.
24104 (collate_finish): Use record_error, and record_error_at_line.
24105 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24106 (ctype_class_new): Likewise.
24107 (ctype_map_new): Likewise.
24108 (set_one_default): Likewise.
24109 (set_class_defaults): Likewise.
24110 (translit_flatten): Likewise.
24111 (allocate_arrays): Use record_error, and record_verbose.
24112 * locale/programs/ld-identification.c: Don't include error.h.
24113 (indentation_finish): Use record_error and record_warning.
24114 * locale/programs/ld-measurement.c: Don't include error.h.
24115 (measurement_finish): Use record_error.
24116 * locale/programs/ld-messages.c
24117 (message_finish): Likewise.
24118 * locale/programs/ld-monetary.c
24119 (monetary_finish): Likewise.
24120 * locale/programs/ld-name.c (name_finish): Use record_error
24121 and record_warning.
24122 * locale/programs/ld-numeric.c
24123 (numeric_finish): Use record_error.
24124 * locale/programs/ld-paper.c: Don't include error.h.
24125 (paper_finish): Use record_error.
24126 * locale/programs/ld-telephone.c: Don't include error.h.
24127 (telephone_finish): Use record_error.
24128 * locale/programs/ld-time.c (time_finish): Likewise.
24129 * locale/programs/linereader.h (lr_error): Make inline func.
24130 * locale/programs/localedef.c: Define recorded_warning_count,
24131 and recorded_error_count.
24132 (main): Use record_error. Use recorded_error_count and
24133 recorded_warning_count to issue correct error returns.
24134 (add_to_readlist): Use record_error.
24135 (find_locale): Likewise.
24136 (load_locale): Likewise.
24137 * locale/programs/localedef.h: Remove be_quiet
24138 and WITH_CUR_LOCALE.
24139 * locale/programs/locarchive.c (compare_from_file): Use
24140 record_error.
24141 * locale/programs/locfile.c (write_locale_data): Use
24142 record_error.
24143 * locale/programs/repertoire.c: Dont include error.h.
24144 (repertoire_complain): Use record_error.
24145 * localedata/tst-fmon.sh: Expect failures from localedef.
24146 * localedata/tst-locale.sh: Likewise.
24147 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24148
24149 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24150 (REPORTS): Likewise.
24151 (check): Likewise.
24152 (i18n): Rename to...
24153 (i18n_ctype): ...this.
24154 (i18n-report): Rename to...
24155 (i18n_ctype-report): ...this.
24156 * localedata/locales/i18n_ctype: Regenerate.
24157 * localedata/locales/i18n: copy i18n_ctype.
24158
24159 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24160
24161 * stdlib/strfroml.c: Include <bits/floatn.h>.
24162 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24163 Define before include of <stdlib.h> and undefine afterwards, then
24164 define as weak alias.
24165
24166 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24167 Undefine and restore default definition. Use
24168 libm_alias_ldouble_other.
24169
24170 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24171
24172 [BZ #22153]
24173 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24174 in coredumps.
24175
24176 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24177
24178 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24179 Assign sym_map to be map for local symbols, as TLS relocations
24180 use sym_map to determine whether the symbol is defined and to
24181 extract the TLS information.
24182 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24183 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24184
24185 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24186
24187 [BZ #22189]
24188 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24189 (math_force_eval): Add powerpc version.
24190
24191 [BZ #22142]
24192 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24193 -DBL_MAX.
24194 (do_test): Likewise.
24195 * stdio-common/tst-printf.sh: Likewise.
24196 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24197 ifdef clause in order to set the carry bit right. Replace r0 by
24198 0 without changing the behavior.
24199
24200 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24201
24202 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24203 <libm-alias-ldouble.h>.
24204 (fabsl): Define using libm_alias_ldouble.
24205 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24206 <libm-alias-ldouble.h>.
24207 (fabsl): Define using libm_alias_ldouble.
24208
24209 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24210 Remove conditional code.
24211
24212 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24213 Rename to __clog10_internal_l.
24214 (__clog10_internal_l): Define aliases using
24215 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24216 with __clog10.
24217
24218 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24219
24220 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24221 * benchtests/sincosf-inputs: New file.
24222 * benchtests/cosf-inputs: New file.
24223 * benchtests/sinf-inputs: New file.
24224
24225 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24226
24227 * posix/tst-spawn.c (do_test): Wait for both children.
24228
24229 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24230
24231 [BZ #22284]
24232 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24233 tests-pie): Add tst-gmon-pie.
24234 (CFLAGS-tst-gmon-pie.c): New.
24235 (CRT-tst-gmon-pie): Likewise.
24236 (tst-gmon-pie-ENV): Likewise.
24237 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24238 ($(objpfx)tst-gmon-pie.out): Likewise.
24239 (clean-tst-gmon-pie-data): Likewise.
24240 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24241 * gmon/gmon.c [PIC]: Include <link.h>.
24242 [PIC] (callback): New function.
24243 (write_hist): Add an argument for load address. Subtract load
24244 address from PCs.
24245 (write_call_graph): Likewise.
24246 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24247 it to write_hist and write_call_graph.
24248 * gmon/tst-gmon-pie.c: New file.
24249
24250 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24251
24252 * math/Makefile (test-types-basic): New variable.
24253 (test-types): Likewise.
24254 (libm-test-support): Use $(test-types) instead of $(types).
24255 (libm-tests-base-normal): Likewise.
24256 (libm-tests-base-finite): Likewise.
24257 (libm-tests-base-inline): Likewise.
24258 (generated): Likewise.
24259 ($(objpfx)libm-test-support-$(t).c): Likewise.
24260 (libm-tests-for-type iterator): Likewise.
24261 (libm-test-support iterator): Likewise.
24262 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24263 (ulp_idx): Use ULP_IDX.
24264 * math/test-ldouble.h: Include <float.h>.
24265 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24266 (ULP_IDX): New macro.
24267 (ULP_I_IDX): Likewise.
24268 * math/test-double.h (ULP_IDX): Likewise.
24269 (ULP_I_IDX): Likewise.
24270 * math/test-float.h (ULP_IDX): Likewise.
24271 (ULP_I_IDX): Likewise.
24272 * math/test-float128.h (ULP_IDX): Likewise.
24273 (ULP_I_IDX): Likewise.
24274
24275 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24276
24277 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24278 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24279 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24280 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24281 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24282 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24283 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24284 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24285 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24286 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24287 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24288 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24289 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24290 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24291 (SINGLE_THREAD_BY_GLOBAL): Define.
24292 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24293 Likewise.
24294 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24295 Likewise.
24296 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24297 Likewise.
24298 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24299 Likewise.
24300 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24301 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24302 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24303 Likewise.
24304
24305 2017-10-11 Andreas Schwab <schwab@suse.de>
24306
24307 * nis/Makefile (aux): Remove.
24308 * nscd/Makefile (aux): Add nscd_hash.
24309 (nscd-modules): Likewise.
24310 ($(objpfx)nscd): Don't depend on libnsl.
24311 * nscd/nscd_hash.c: New file.
24312 * nscd/nscd_hash.h: Likewise.
24313 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24314 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24315 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24316 instead of <nis/rpcsvc/nis.h>.
24317 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24318
24319 2017-10-11 Florian Weimer <fweimer@redhat.com>
24320
24321 [BZ #22078]
24322 Avoid large NSS buffers with many addresses, aliases.
24323 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24324 using dynarrays and struct alloc_buffer.
24325 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24326 (tst-nss-files-hosts-multi): Link with -ldl.
24327 * nss/tst-nss-files-hosts-multi.c: New file.
24328
24329 2017-10-11 Florian Weimer <fweimer@redhat.com>
24330
24331 [BZ #18023]
24332 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24333 scratch_buffer. Eliminate gotos.
24334
24335 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24336
24337 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24338 libm_alias_ldouble_other.
24339 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24340 undefine and redefine.
24341 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24342 (exp10l): Do not define here.
24343 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24344 (weak_alias): Undefine and redefine.
24345 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24346 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24347 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24348 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24349
24350 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24351 [!__fma] (fma): Define using libm_alias_double.
24352 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24353 [!__fmaf] (fmaf): Define using libm_alias_float.
24354 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24355 (fmal): Define using libm_alias_ldouble.
24356
24357 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24358
24359 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24360 New macro.
24361 (libm_alias_double_other): Likewise.
24362 (libm_alias_double_r): Use libm_alias_double_other_r.
24363 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24364 New macro.
24365 (libm_alias_float_other): Likewise.
24366 (libm_alias_float_r): Use libm_alias_float_other_r.
24367 * sysdeps/generic/libm-alias-float128.h
24368 (libm_alias_float128_other_r): New macro.
24369 (libm_alias_float128_other): Likewise.
24370 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24371 * sysdeps/generic/libm-alias-ldouble.h
24372 (libm_alias_ldouble_other_r): New macro.
24373 (libm_alias_ldouble_other): Likewise.
24374 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24375 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24376 (libm_alias_double_other_r): New macro.
24377 (libm_alias_double_other): Likewise.
24378 (libm_alias_double_r): Use libm_alias_double_other_r.
24379 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24380 (libm_alias_ldouble_other_r): New macro.
24381 (libm_alias_ldouble_other): Likewise.
24382 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24383 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24384 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24385 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24386 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24387 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24388 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24389 * math/w_exp2f.c: Use libm_alias_float_other.
24390 * math/w_expf.c: Likewise.
24391 * math/w_log2f.c: Likewise.
24392 * math/w_logf.c: Likewise.
24393 * math/w_powf.c: Likewise.
24394 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24395 [!__exp2f]: Use libm_alias_float_other.
24396 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24397 [!__expf]: Use libm_alias_float_other.
24398 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24399 [!__log2f]: Use libm_alias_float_other.
24400 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24401 [!__logf]: Use libm_alias_float_other.
24402 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24403 [!__powf]: Use libm_alias_float_other.
24404
24405 2017-10-10 Florian Weimer <fweimer@redhat.com>
24406
24407 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24408 function.
24409 (_nss_files_gethostbyname3_r): Call it.
24410
24411 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24412
24413 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24414 error. Remove default definition of declare_mgen_alias.
24415 [!declare_mgen_alias_r]: Likewise.
24416 * sysdeps/generic/math-type-macros-double.h
24417 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24418 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24419 (declare_mgen_alias_r): Likewise.
24420 * sysdeps/generic/math-type-macros-float128.h
24421 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24422 * sysdeps/generic/math-type-macros-ldouble.h
24423 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24424 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24425 macro.
24426 (declare_mgen_alias_r_s): Likewise.
24427 (declare_mgen_alias_r): Likewise.
24428 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24429 (lgamma_r): Define using libm_alias_double_r.
24430 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24431 (lgammaf_r): Define using libm_alias_float_r.
24432 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24433 (lgammal_r): Define using libm_alias_ldouble_r.
24434 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24435 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24436
24437 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24438
24439 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24440 extern declaration.
24441
24442 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24443
24444 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24445
24446 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24447
24448 [BZ #21326]
24449 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24450 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24451 * math/Makefile (test-math-cxx11): New test.
24452 * math/test-math-cxx11.cc: New file.
24453
24454 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24455
24456 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24457
24458 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24459 call to allocate the slave pty file descriptor.
24460
24461 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24462
24463 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24464 [!__fma] (fma): Define using libm_alias_double.
24465 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24466 [!__fma] (fma): Define using libm_alias_double.
24467
24468 * sysdeps/ieee754/float128/float128_private.h: Include
24469 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24470 (libm_alias_ldouble_r): Undefine and redefine.
24471 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24472 <libm-alias-ldouble.h>.
24473 (asinhl): Define using libm_alias_ldouble.
24474 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24475 <libm-alias-ldouble.h>.
24476 (atanl): Define using libm_alias_ldouble.
24477 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24478 <libm-alias-ldouble.h>.
24479 (cbrtl): Define using libm_alias_ldouble.
24480 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24481 <libm-alias-ldouble.h>.
24482 (ceill): Define using libm_alias_ldouble.
24483 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24484 <libm-alias-ldouble.h>.
24485 (copysignl): Define using libm_alias_ldouble.
24486 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24487 <libm-alias-ldouble.h>.
24488 (cosl): Define using libm_alias_ldouble.
24489 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24490 <libm-alias-ldouble.h>.
24491 (erfl): Define using libm_alias_ldouble.
24492 (erfcl): Likewise.
24493 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24494 <libm-alias-ldouble.h>.
24495 (expm1l): Define using libm_alias_ldouble.
24496 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24497 <libm-alias-ldouble.h>.
24498 (fabsl): Define using libm_alias_ldouble.
24499 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24500 <libm-alias-ldouble.h>.
24501 (floorl): Define using libm_alias_ldouble.
24502 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24503 <libm-alias-ldouble.h>.
24504 (fmal): Define using libm_alias_ldouble.
24505 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24506 <libm-alias-ldouble.h>.
24507 (frexpl): Define using libm_alias_ldouble.
24508 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24509 libm_alias_ldouble.
24510 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24511 <libm-alias-ldouble.h>.
24512 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24513 libm_alias_ldouble.
24514 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24515 <libm-alias-ldouble.h>.
24516 (getpayloadl): Define using libm_alias_ldouble.
24517 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24518 <libm-alias-ldouble.h>.
24519 (llrintl): Define using libm_alias_ldouble.
24520 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24521 <libm-alias-ldouble.h>.
24522 (llroundl): Define using libm_alias_ldouble.
24523 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24524 <libm-alias-ldouble.h>.
24525 (logbl): Define using libm_alias_ldouble.
24526 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24527 <libm-alias-ldouble.h>.
24528 (lrintl): Define using libm_alias_ldouble.
24529 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24530 <libm-alias-ldouble.h>.
24531 (lroundl): Define using libm_alias_ldouble.
24532 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24533 <libm-alias-ldouble.h>.
24534 (modfl): Define using libm_alias_ldouble.
24535 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24536 <libm-alias-ldouble.h>.
24537 (nearbyintl): Define using libm_alias_ldouble.
24538 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24539 <libm-alias-ldouble.h>.
24540 (nextafterl): Define using libm_alias_ldouble.
24541 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24542 <libm-alias-ldouble.h>.
24543 (nextupl): Define using libm_alias_ldouble.
24544 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24545 <libm-alias-ldouble.h>.
24546 (remquol): Define using libm_alias_ldouble.
24547 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24548 <libm-alias-ldouble.h>.
24549 (rintl): Define using libm_alias_ldouble.
24550 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24551 <libm-alias-ldouble.h>.
24552 (roundevenl): Define using libm_alias_ldouble.
24553 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24554 <libm-alias-ldouble.h>.
24555 (roundl): Define using libm_alias_ldouble.
24556 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24557 using libm_alias_ldouble.
24558 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24559 <libm-alias-ldouble.h>.
24560 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24561 Define using libm_alias_ldouble.
24562 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24563 <libm-alias-ldouble.h>.
24564 (sincosl): Define using libm_alias_ldouble.
24565 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24566 <libm-alias-ldouble.h>.
24567 (sinl): Define using libm_alias_ldouble.
24568 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24569 <libm-alias-ldouble.h>.
24570 (tanhl): Define using libm_alias_ldouble.
24571 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24572 <libm-alias-ldouble.h>.
24573 (tanl): Define using libm_alias_ldouble.
24574 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24575 <libm-alias-ldouble.h>.
24576 (totalorderl): Define using libm_alias_ldouble.
24577 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24578 <libm-alias-ldouble.h>.
24579 (totalordermagl): Define using libm_alias_ldouble.
24580 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24581 <libm-alias-ldouble.h>.
24582 (truncl): Define using libm_alias_ldouble.
24583 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24584 libm_alias_ldouble.
24585 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24586 libm_alias_ldouble.
24587 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
24588 <libm-alias-ldouble.h>.
24589 (weak_alias): Do not undefine and redefine.
24590 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24591 (copysignl): Define with long_double_symbol only if [IS_IN
24592 (libc)].
24593 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24594 <libm-alias-ldouble.h>.
24595 (weak_alias): Do not undefine and redefine.
24596 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24597 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24598 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
24599 <libm-alias-ldouble.h>.
24600 (weak_alias): Do not undefine and redefine.
24601 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24602 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24603 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24604 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24605 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24606 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24607 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24608 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24609 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24610 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24611 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24612 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24613 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24614 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24615 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24616 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24617 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24618 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24619 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24620 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24621 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24622 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24623 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24624 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24625 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24626 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24627
24628 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24629
24630 [BZ #22111]
24631 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24632 (tcache_thread_freeres): Set tcache_shutting_down before
24633 freeing the tcache.
24634 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24635 * malloc/tst-malloc-tcache-leak.c: New file.
24636
24637 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24638
24639 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24640 back to powerpc32 file.
24641 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24642 (memrchr): Add __memrchr_power8 to ifunc list.
24643 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24644 extra bytes for unaligned inputs.
24645
24646 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24647
24648 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24649 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24650 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24651 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24652 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24653
24654 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24655
24656 * sysdeps/arm/libm-test-ulps: Update.
24657
24658 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24659 <libm-alias-ldouble.h>.
24660 (asinhl): Define using libm_alias_ldouble.
24661 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24662 <libm-alias-ldouble.h>.
24663 (cbrtl): Define using libm_alias_ldouble.
24664 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24665 <libm-alias-ldouble.h>.
24666 (copysignl): Define using libm_alias_ldouble.
24667 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24668 <libm-alias-ldouble.h>.
24669 (cosl): Define using libm_alias_ldouble.
24670 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24671 <libm-alias-ldouble.h>.
24672 (erfl): Define using libm_alias_ldouble.
24673 (erfcl): Likewise.
24674 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24675 <libm-alias-ldouble.h>.
24676 (fmal): Define using libm_alias_ldouble.
24677 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24678 <libm-alias-ldouble.h>.
24679 (frexpl): Define using libm_alias_ldouble.
24680 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24681 libm_alias_ldouble.
24682 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24683 <libm-alias-ldouble.h>.
24684 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24685 libm_alias_ldouble.
24686 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24687 <libm-alias-ldouble.h>.
24688 (getpayloadl): Define using libm_alias_ldouble.
24689 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24690 <libm-alias-ldouble.h>.
24691 (llrintl): Define using libm_alias_ldouble.
24692 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24693 <libm-alias-ldouble.h>.
24694 (llroundl): Define using libm_alias_ldouble.
24695 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24696 <libm-alias-ldouble.h>.
24697 (lrintl): Define using libm_alias_ldouble.
24698 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24699 <libm-alias-ldouble.h>.
24700 (lroundl): Define using libm_alias_ldouble.
24701 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24702 <libm-alias-ldouble.h>.
24703 (modfl): Define using libm_alias_ldouble.
24704 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24705 <libm-alias-ldouble.h>.
24706 (nextupl): Define using libm_alias_ldouble.
24707 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24708 <libm-alias-ldouble.h>.
24709 (remquol): Define using libm_alias_ldouble.
24710 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24711 <libm-alias-ldouble.h>.
24712 (roundevenl): Define using libm_alias_ldouble.
24713 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24714 <libm-alias-ldouble.h>.
24715 (roundl): Define using libm_alias_ldouble.
24716 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24717 using libm_alias_ldouble.
24718 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24719 <libm-alias-ldouble.h>.
24720 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24721 <libm-alias-ldouble.h>.
24722 (setpayloadsigl): Define using libm_alias_ldouble.
24723 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24724 <libm-alias-ldouble.h>.
24725 (sincosl): Define using libm_alias_ldouble.
24726 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24727 <libm-alias-ldouble.h>.
24728 (sinl): Define using libm_alias_ldouble.
24729 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24730 <libm-alias-ldouble.h>.
24731 (tanhl): Define using libm_alias_ldouble.
24732 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24733 <libm-alias-ldouble.h>.
24734 (tanl): Define using libm_alias_ldouble.
24735 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24736 <libm-alias-ldouble.h>.
24737 (totalorderl): Define using libm_alias_ldouble.
24738 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24739 <libm-alias-ldouble.h>.
24740 (totalordermagl): Define using libm_alias_ldouble.
24741 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24742 libm_alias_ldouble.
24743 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24744 libm_alias_ldouble.
24745
24746 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24747
24748 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24749 memmove_falkor.
24750 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24751 (__libc_ifunc_impl_list): Likewise.
24752 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24753 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24754
24755 * benchtests/bench-memmove-walk.c: New file.
24756 * benchtests/Makefile (string-benchset): Add it.
24757
24758 * benchtests/bench-memset-walk.c: New file.
24759 * benchtests/Makefile (string-benchset): Add it.
24760
24761 * benchtests/bench-memcpy-walk.c: New file.
24762 * benchtests/Makefile (string-benchset): Add it.
24763
24764 2017-10-05 Florian Weimer <fweimer@redhat.com>
24765
24766 nscd: Eliminate compilation time dependency in the build output.
24767 * nscd/nscd_stat.c (STATDATA_VERSION)
24768 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24769 (STATDATA_VERSION_FULL): New macro definitions.
24770 (compilation): Remove.
24771 (struct statdata): Adjust version member.
24772 (send_stats): Set version from STATDATA_VERSION_FULL.
24773 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24774
24775 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24776
24777 * configure.ac (--enable-add-ons): Remove option.
24778 (machine): Do not mention add-ons in comment.
24779 (LIBC_PRECONFIGURE): Likewise.
24780 (add_ons): Remove variable and sanity checks and logic to locate
24781 add-ons.
24782 (add_ons_automatic): Remove variable.
24783 (configured_add_ons): Likewise.
24784 (add_ons_sfx): Likewise.
24785 (add_ons_pfx): Likewise.
24786 (add_on_subdirs): Likewise.
24787 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24788 consideration of add-ons in Implies handling.
24789 (sysdeps_add_ons): Likewise.
24790 * configure: Regenerated.
24791 * libidn/configure.ac: Remove.
24792 * libidn/configure: Likewise.
24793 * sysdeps/unix/inet/configure.ac: New file.
24794 * sysdeps/unix/inet/configure: New generated file.
24795 * sysdeps/unix/inet/Subdirs: Add libidn.
24796 * Makeconfig (sysdeps-srcdirs): Remove variable.
24797 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24798 ($(common-objpfx)config.status): Do not depend on add-on files.
24799 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24800 comment.
24801 (all-subdirs): Do not include $(add-on-subdirs).
24802 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24803 * config.make.in (add-ons): Remove variable.
24804 (add-on-subdirs): Likewise.
24805 (sysdeps-add-ons): Likewise.
24806 * manual/Makefile (add-chapters): Remove.
24807 ($(objpfx)texis): Do not depend on $(add-chapters).
24808 (nonexamples): Do not handle $(add-chapters).
24809 (examples): Do not handle $(add-ons).
24810 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24811 libc-texinfo.sh.
24812 * manual/install.texi (Installation): Do not mention add-ons.
24813 (--enable-add-ons): Do not document configure option.
24814 * INSTALL: Regenerated.
24815 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24816 * manual/maint.texi (Hierarchy Conventions): Do not mention
24817 add-ons.
24818 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24819 --enable-add-ons.
24820 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24821 add-ons.
24822 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24823 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24824
24825 2017-10-05 Andreas Schwab <schwab@suse.de>
24826
24827 [BZ #15142]
24828 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24829 (_IO_flush_all_lockp): Always lock list_all_lock.
24830 (_IO_flush_all_linebuffered): Likewise.
24831 (_IO_unbuffer_all): Likewise.
24832
24833 2017-10-05 Florian Weimer <fweimer@redhat.com>
24834
24835 [BZ #15436]
24836 Do not flush stdio streams on abort.
24837 * stdlib/abort.c (fflush): Remove macro definition.
24838 (abort): Remove stages related to stdio flushing.
24839
24840 2017-10-05 Florian Weimer <fweimer@redhat.com>
24841
24842 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24843
24844 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24845
24846 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24847
24848 2017-10-05 Florian Weimer <fweimer@redhat.com>
24849
24850 * support/support_format_hostent.c (support_format_hostent): Add
24851 more error information for NETDB_INTERNAL.
24852
24853 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24854
24855 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24856 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24857 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24858 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24859 AC_DEFINE if multi-arch is enabled.
24860 * sysdeps/i386/configure: Regenerated.
24861
24862 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24863
24864 * Makeconfig (+link-static-before-libc): Use
24865 $(DEFAULT-LDFLAGS-$(@F)).
24866 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24867 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24868 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24869
24870 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24871
24872 * elf/Makefile (tests): Add tst-main1.
24873 (modules-names): Add tst-main1mod.
24874 ($(objpfx)tst-main1): New.
24875 (CRT-tst-main1): Likewise.
24876 (LDFLAGS-tst-main1): Likewise.
24877 (LDLIBS-tst-main1): Likewise.
24878 (tst-main1mod.so-no-z-defs): Likewise.
24879 * elf/tst-main1.c: New file.
24880 * elf/tst-main1mod.c: Likewise.
24881
24882 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24883
24884 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24885
24886 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24887
24888 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24889 (fma): Define using libm_alias_double.
24890 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24891 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24892 <math_ldbl_opt.h>.
24893 (fmal): Do not define as compat symbol here.
24894 * sysdeps/alpha/fpu/s_fma.c: New file.
24895
24896 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24897
24898 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24899
24900 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24901
24902 [BZ #22229]
24903 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24904 <math_ldbl_opt.h>
24905 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24906 and libc.
24907 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24908 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24909 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24910 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24912 Include <math_ldbl_opt.h>
24913 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24914 and libc.
24915 (compat_symbol): Undefine and redefine.
24916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24917 <math_ldbl_opt.h>
24918 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24919 (compat_symbol): Undefine and redefine.
24920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24921 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24922 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24923 GLIBC_2_1 for libm.
24924 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24925 GLIBC_2.0 copysignl symbol.
24926 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24927 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24928
24929 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24930
24931 2017-10-04 Florian Weimer <fweimer@redhat.com>
24932
24933 * scripts/check-local-headers.sh: Ignore nspr4 header file
24934 directory in addition to nspr.
24935
24936 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
24937
24938 [BZ #17956]
24939 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
24940 * configure: Regenerate.
24941 * crypt/Makefile (nss-cpp-flags): New variable.
24942 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
24943 (CPPFLAGS-md5-crypt.c): Use it.
24944 * scripts/check-local-headers.sh: Ignore nspr header file
24945 directory.
24946
24947 2017-10-04 Andreas Schwab <schwab@suse.de>
24948
24949 * nis/Makefile (services): Remove compat.
24950 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
24951 ($(objpfx)libnss_compat.so): Remove rule.
24952 * nis/Versions (libnss_compat): Remove.
24953 * nss/Makefile (services): Add compat.
24954 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
24955 * nss/Versions (libnss_compat): Define.
24956 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
24957 Don't include <rpc/types.h>. Replace bool_t by bool.
24958 * nss/nss_compat/compat-initgroups.c: Likewise.
24959 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
24960 instead of <rpcsrv/ypclnt.h>.
24961 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
24962 yp_get_default_domain.
24963 * nss/nss_compat/compat-pwd.c: Likewise.
24964 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
24965 yp_get_default_domain.
24966 * nss/nss_compat/nisdomain.c: New file.
24967 * nss/nss_compat/nisdomain.h: Likewise.
24968
24969 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24970
24971 [BZ #22244]
24972 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
24973 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24974
24975 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24976
24977 [BZ #22243]
24978 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
24979 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
24980
24981 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24982
24983 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
24984 "movl main@GOTOFF(%ebx), %eax".
24985
24986 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24987
24988 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
24989 allow undefined _DYNAMIC in PIE libc.a.
24990 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24991 Likewse.
24992
24993 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24994
24995 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
24996 check _DYNAMIC.
24997
24998 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24999
25000 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25001 check _DYNAMIC.
25002
25003 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25004
25005 * math/test-math-iscanonical.cc (error): Replace bool with int.
25006
25007 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25008
25009 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25010 (modf): Define using libm_alias_double, only if [!__modf].
25011 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25012 <libm-alias-double.h>.
25013 (modf): Define using libm_alias_double, only if [!__modf].
25014 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25015 compat symbol here.
25016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25017 (weak_alias): Do not undefine and redefine.
25018 (strong_alias): Likewise.
25019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25020 (weak_alias): Likewise.
25021 (strong_alias): Likewise.
25022
25023 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25024 (logb): Define using libm_alias_double, only if [!__logb].
25025 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25026 <libm-alias-double.h>.
25027 (logb): Define using libm_alias_double, only if [!__logb].
25028 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25030 (weak_alias): Do not undefine and redefine.
25031 (strong_alias): Likewise.
25032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25033 (weak_alias): Likewise.
25034 (strong_alias): Likewise.
25035
25036 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25037
25038 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25039 Check SHARED instead PIC.
25040
25041 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25042
25043 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25044 [!__fmaf] (fmaf): Define using libm_alias_float.
25045
25046 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25047 (frexp): Define using libm_alias_double.
25048 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25049 <libm-alias-double.h>.
25050 (frexp): Define using libm_alias_double.
25051 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25052 compat symbol here.
25053
25054 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25055
25056 [BZ #22235]
25057 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25058 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25059 (CFLAGS-test-math-iscanonical.cc): New variable.
25060 * math/test-math-iscanonical.cc: New file.
25061 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25062 Provide a C++ implementation based on function overloading,
25063 rather than using __MATH_TG, which uses C-only builtins.
25064 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25065 Likewise.
25066 * sysdeps/powerpc/powerpc64le/Makefile
25067 (CFLAGS-test-math-iscanonical.cc): New variable.
25068
25069 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25070
25071 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25072 (ceil): Define using libm_alias_double.
25073 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25074 (floor): Define using libm_alias_double.
25075 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25076 <libm-alias-double.h>.
25077 (llround): Define using libm_alias_double.
25078 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25079 <libm-alias-double.h>.
25080 (lround): Define using libm_alias_double.
25081 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25082 <libm-alias-double.h>.
25083 (nearbyint): Define using libm_alias_double.
25084 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25085 <libm-alias-double.h>.
25086 (remquo): Define using libm_alias_double.
25087 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25088 (rint): Define using libm_alias_double.
25089 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25090 (round): Define using libm_alias_double.
25091 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25092 (trunc): Define using libm_alias_double.
25093 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25094 <libm-alias-double.h>.
25095 (ceil): Define using libm_alias_double.
25096 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25097 <libm-alias-double.h>.
25098 (floor): Define using libm_alias_double.
25099 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25100 <libm-alias-double.h>.
25101 (llround): Define using libm_alias_double.
25102 [_LP64] (lround): Likewise.
25103 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25104 <libm-alias-double.h>.
25105 [!_LP64] (lround): Define using libm_alias_double.
25106 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25107 <libm-alias-double.h>.
25108 (nearbyint): Define using libm_alias_double.
25109 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25110 <libm-alias-double.h>.
25111 (remquo): Define using libm_alias_double.
25112 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25113 <libm-alias-double.h>.
25114 (rint): Define using libm_alias_double.
25115 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25116 <libm-alias-double.h>.
25117 (round): Define using libm_alias_double.
25118 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25119 <libm-alias-double.h>.
25120 (trunc): Define using libm_alias_double.
25121 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25122 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25123 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25124 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25125 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25126 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25127 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25128 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25129 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25130
25131 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25132
25133 * math/w_remainder.c: New file.
25134 * math/w_remainderf.c: New file.
25135 * math/w_remainderl.c: New file.
25136
25137 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25138
25139 * elf/rtld.c (BOOTSTRAP_MAP): New.
25140 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25141 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25142 Likewise.
25143 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25144 Likewise.
25145 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25146 Likewise.
25147
25148 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25149
25150 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25151 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25152 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25153 rtld_hidden_data_ver): Define to empty.
25154 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25155 __assert_perror_fail): Likewise.
25156 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25157 (__rewinddir): Likewise.
25158 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25159 (__profile_frequency): Likewise.
25160 * include/setjmp.h (__sigsetjmp): Likewise.
25161 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25162 __libc_sigaction): Likewise.
25163 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25164 not set hidden attribute.
25165 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25166 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25167 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25168 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25169 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25170 __fxstatat64): Likewise.
25171 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25172 (__uname): Likewise.
25173 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25174 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25175 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25176 (NO_RTLD_HIDDEN): Set.
25177 * sysdeps/mach/hurd/configure: Refresh.
25178 * config.h.in: Refresh.
25179
25180 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25181
25182 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25183 (atan): Define using libm_alias_double.
25184 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25185 (tan): Define using libm_alias_double.
25186 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25187 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25188
25189 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25190 define as weak alias of __atan. Do not define any aliases if
25191 [__atan].
25192 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25193 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25194 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25195 as weak alias of __tan. Do not define any aliases if [__tan].
25196 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25197 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25198 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25199 __atan.
25200 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25201 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25202 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25203 and define as weak alias of __atan.
25204 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25205 __atan.
25206 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25207 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25208 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25209 define as weak alias of __tan.
25210
25211 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25212
25213 * math/w_lgamma.c: New file.
25214 * math/w_lgammaf.c: New file.
25215 * math/w_lgammal.c: New file.
25216
25217 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25218
25219 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25220 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25221 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25222 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25223 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25224 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25225 * sysdeps/i386/fpu/w_log2f.c: New file.
25226 * sysdeps/i386/fpu/w_logf.c: New file.
25227 * sysdeps/i386/fpu/w_powf.c: New file.
25228 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25229 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25230 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25231
25232 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25233 H.J. Lu <hongjiu.lu@intel.com>
25234
25235 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25236 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25237 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25238 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25239 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25240 the new expf code.
25241 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25242 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25243 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25244 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25245 * sysdeps/i386/fpu/w_exp2f.c: New file.
25246 * sysdeps/i386/fpu/w_expf.c: New file.
25247 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25248 * sysdeps/x86_64/fpu/w_expf.c: New file.
25249
25250 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25251
25252 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25253 (log2f): Likewise.
25254 (powf): Likewise.
25255 * math/w_log2f.c: New file.
25256 * math/w_logf.c: New file.
25257 * math/w_powf.c: New file.
25258 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25259 * math/w_logf_compat.c (__logf_compat): Likewise.
25260 * math/w_powf_compat.c (__powf_compat): Likewise.
25261 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25262 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25263 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25264 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25265 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25266 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25267 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25268 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25269 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25270 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25271 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25272 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25273 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25274 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25275 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25277 Likewise.
25278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25279 Likewise.
25280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25281 Likewise.
25282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25283 Likewise.
25284 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25285 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25286 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25287 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25288 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25290 Likewise.
25291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25292 Likewise.
25293 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25294 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25295 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25296
25297 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25298
25299 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25300 (sysdep_routines): Add memrchr_power8.
25301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25302 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25303 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25304 New file.
25305 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25306 (memrchr): Add __memrchr_power8 to ifunc list.
25307 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25308
25309 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25310
25311 [BZ #18822]
25312 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25313 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25314 libc_hidden_def.
25315 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25316 (__posix_fallocate64_l64): Likewise.
25317
25318 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25319
25320 [BZ #18822]
25321 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25322 (__sched_setaffinity_new): Add libc_hidden_proto and
25323 libc_hidden_def.
25324
25325 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25326
25327 [BZ #18822]
25328 * include/glob.h (__glob64): Add libc_hidden_proto.
25329 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25330 libc_hidden_def.
25331
25332 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25333
25334 [BZ #18822]
25335 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25336 attribute_hidden.
25337
25338 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25339
25340 [BZ #18822]
25341 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25342
25343 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25344
25345 [BZ #18822]
25346 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25347 libc_hidden_def.
25348
25349 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25350
25351 [BZ #18822]
25352 * csu/version.c (__libc_print_version): Add attribute_hidden.
25353
25354 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25355
25356 [BZ #18822]
25357 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25358
25359 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25360
25361 [BZ #18822]
25362 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25363
25364 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25365
25366 [BZ #18822]
25367 * nscd/nscd_helper.c (__nis_hash): New prototype.
25368
25369 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25370
25371 [BZ #18822]
25372 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25373 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25374 libc_hidden_def.
25375 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25376 * termios/tcgetattr.c (__tcgetattr): Likewise.
25377
25378 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25379
25380 [BZ #18822]
25381 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25382 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25383 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25384 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25385 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25386
25387 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25388
25389 [BZ #18822]
25390 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25391
25392 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25393
25394 [BZ #18822]
25395 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25396 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25397
25398 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25399
25400 [BZ #18822]
25401 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25402
25403 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25404
25405 [BZ #18822]
25406 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25407 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25408
25409 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25410
25411 [BZ #18822]
25412 * include/ifreq.h: New file.
25413 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25414 (__ifreq): Likewise.
25415 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25416 (__ifreq): Likewise.
25417
25418 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25419
25420 [BZ #18822]
25421 * include/idna.h: New file.
25422 * inet/getnameinfo.c: Include <idna.h> instead of
25423 <libidn/idna.h>.
25424 (__idna_to_unicode_lzlz): Removed.
25425 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25426 <libidn/idna.h>.
25427 (__idna_to_ascii_lz): Removed.
25428 (__idna_to_unicode_lzlz): Likewise.
25429
25430 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25431
25432 [BZ #18822]
25433 * include/plural-exp.h: New file.
25434 * intl/plural-exp.c: Include <plural-exp.h> instead of
25435 "plural-exp.h".
25436
25437 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25438
25439 [BZ #18822]
25440 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25441 "getsourcefilter.h".
25442 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25443 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25444 "getsourcefilter.h".
25445 (__get_sol): Removed.
25446
25447 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25448
25449 [BZ #18822]
25450 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25451 to ...
25452 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25453
25454 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25455
25456 [BZ #18822]
25457 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25458 attribute_hidden.
25459
25460 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25461
25462 [BZ #18822]
25463 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25464
25465 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25466
25467 [BZ #18822]
25468 * include/search.h (__tdestroy): Add libc_hidden_proto.
25469 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25470
25471 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25472
25473 [BZ #18822]
25474 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25475
25476 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25477
25478 [BZ #18822]
25479 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25480 attribute_hidden.
25481
25482 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25483
25484 [BZ #18822]
25485 * include/signal.h (__kill): Add libc_hidden_proto.
25486 (__sigblock): Likewise.
25487 (__sigprocmask): Likewise.
25488 (__sigaltstack): Likewise.
25489 * signal/kill.c (__kill): Add libc_hidden_def.
25490 * signal/sigblock.c (__sigblock): Likewise.
25491 * signal/sigprocmask.c (__sigprocmask): Likewise.
25492 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25493 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25494 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25495 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25496 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25497 Likewise.
25498 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25499 Likewise.
25500 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25501 (__sigprocmask): Likewise.
25502 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25503 Likewise.
25504 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25505 (__sigprocmask): Likewise.
25506 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25507 Likewise.
25508
25509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25510
25511 [BZ #18822]
25512 * include/string.h (__strsep): Add libc_hidden_proto.
25513 * string/strsep.c (__strsep): Add libc_hidden_def.
25514
25515 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25516
25517 [BZ #18822]
25518 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25519 attribute_hidden.
25520 (__spawni): Likewise.
25521
25522 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25523
25524 [BZ #18822]
25525 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25526 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25527 libc_hidden_def.
25528
25529 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25530
25531 [BZ #18822]
25532 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25533
25534 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25535
25536 [BZ #18822]
25537 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25538 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25539 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25540 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25541 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25542 Likewise.
25543 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25544 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25545
25546 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25547
25548 [BZ #18822]
25549 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25550 (__dcigettext): Likewise.
25551
25552 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25553
25554 [BZ #18822]
25555 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25556 libc_hidden_proto.
25557 (__get_nprocs): Likewise.
25558 (__get_phys_pages): Likewise.
25559 (__get_avphys_pages): Likewise.
25560 (__get_child_max): Add attribute_hidden.
25561 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25562 (__get_nprocs): Likewise.
25563 (__get_phys_pages): Likewise.
25564 (__get_avphys_pages): Likewise.
25565 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25566 libc_hidden_def.
25567 (__get_nprocs): Likewise.
25568 (__get_phys_pages): Likewise.
25569 (__get_avphys_pages): Likewise.
25570 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25571 libc_hidden_def.
25572 (__get_nprocs_conf): Likewise.
25573 (__get_phys_pages): Likewise.
25574 (__get_avphys_pages): Likewise.
25575
25576 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25577
25578 [BZ #18822]
25579 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25580 attribute_hidden.
25581 (__netlink_close): Likewise.
25582 (__netlink_free_handle): Likewise.
25583 (__netlink_request): Likewise.
25584
25585 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25586
25587 [BZ #18822]
25588 * include/rpc/rpc.h (__rpc_thread_variables): Add
25589 attribute_hidden.
25590 (__rpc_thread_svc_cleanup): Likewise.
25591 (__rpc_thread_clnt_cleanup): Likewise.
25592 (__rpc_thread_key_cleanup): Likewise.
25593
25594 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25595
25596 [BZ #18822]
25597 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25598 (__writev): Likewise.
25599 * misc/readv.c (__readv): Add libc_hidden_def.
25600 * misc/writev.c (__writev): Likewise.
25601 * sysdeps/posix/readv.c (__readv): Likewise.
25602 * sysdeps/posix/writev.c (__writev): Likewise.
25603 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25604 (__readv): Likewise.
25605 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25606 (__writev): Likewise.
25607
25608 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25609
25610 [BZ #18822]
25611 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25612 (__regcomp): Add libc_hidden_proto.
25613 (__regexec): Likewise.
25614 (__regfree): Likewise.
25615 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25616 (__regfree): Likewise.
25617 * posix/regexec.c (__regexec): Likewise.
25618
25619 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25620
25621 [BZ #18822]
25622 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25623 (__getutent): Likewise.
25624 (__getutid): Likewise.
25625 (__getutline): Likewise.
25626 (__pututline): Likewise.
25627 (__getutent_r): Likewise.
25628 (__getutid_r): Likewise.
25629 (__getutline_r): Likewise.
25630 (__utmpname): Add attribute_hidden.
25631 (__setutent): Likewise.
25632 (__endutent): Likewise.
25633 * login/getutent.c (__getutent): Add libc_hidden_def.
25634 * login/getutent_r.c (__getutent_r): Likewise.
25635 (__pututline): Likewise.
25636 * login/getutid.c (__getutid): Likewise.
25637 * login/getutid_r.c (__getutid_r): Likewise.
25638 * login/getutline.c (__getutline): Likewise.
25639 * login/getutline_r.c (__getutline_r): Likewise.
25640 * login/updwtmp.c (__updwtmp): Likewise.
25641
25642 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25643
25644 [BZ #18822]
25645 * include/dirent.h (__opendir): Always add attribute_hidden.
25646 (__fdopendir): Likewise.
25647 (__closedir): Likewise.
25648 (__readdir): Likewise.
25649 (__readdir64): Add libc_hidden_proto.
25650 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25651 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25652 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25653 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25654 New alias.
25655
25656 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25657
25658 [BZ #18822]
25659 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25660 * include/netdb.h (__gethostbyaddr_r): Likewise.
25661 (__gethostbyname_r): Likewise.
25662 (__gethostbyname2_r): Likewise.
25663 (__getnetbyaddr_r): Likewise.
25664 (__getnetbyname_r): Likewise.
25665 (__getservbyname_r): Likewise.
25666 (__getservbyport_r): Likewise.
25667 (__getprotobyname_r): Likewise.
25668 (__getprotobynumber_r): Likewise.
25669 (__getnetgrent_r): Likewise.
25670 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25671 (__getrpcbynumber_r): Likewise.
25672 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25673
25674 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25675
25676 [BZ #18822]
25677 * include/stdio.h (__fcloseall): Add attribute_hidden.
25678 (__getline): Likewise.
25679 (__path_search): Likewise.
25680 (__gen_tempname): Likewise.
25681 (__libc_message): Likewise.
25682 (__flockfile): Likewise.
25683 (__funlockfile): Likewise.
25684 (__fxprintf): Likewise.
25685 (__fxprintf_nocancel): Likewise.
25686
25687 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25688
25689 [BZ #18822]
25690 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25691 (__sgetsgent_r): Likewise.
25692
25693 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25694
25695 [BZ #18822]
25696 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25697 (__statfs64): Likewise.
25698 (__fstatfs64): Likewise.
25699 * include/sys/statvfs.h (__statvfs64): Likewise.
25700 (__fstatvfs64): Likewise.
25701 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25702 (__statfs_filesize_max): Likewise.
25703 (__statfs_symlinks): Likewise.
25704 (__statfs_chown_restricted): Likewise.
25705
25706 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25707
25708 [BZ #18822]
25709 * include/time.h (__tzstring): Add attribute_hidden.
25710 (__tzfile_read): Likewise.
25711 (__tzfile_compute): Likewise.
25712 (__tzfile_default): Likewise.
25713 (__tzset_parse_tz): Likewise.
25714 (__offtime): Likewise.
25715 (__asctime_r): Likewise.
25716 (__tzset): Likewise.
25717 (__tz_convert): Likewise.
25718 (__getdate_r): Likewise.
25719 (__getclktck): Likewise.
25720
25721 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25722
25723 [BZ #18822]
25724 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25725 (__nscd_unmap): Likewise.
25726 (__nscd_cache_search): Likewise.
25727 (__nscd_get_nl_timestamp): Likewise.
25728 (__nscd_getpwnam_r): Likewise.
25729 (__nscd_getpwuid_r): Likewise.
25730 (__nscd_getgrnam_r): Likewise.
25731 (__nscd_getgrgid_r): Likewise.
25732 (__nscd_gethostbyname_r): Likewise.
25733 (__nscd_gethostbyname2_r): Likewise.
25734 (__nscd_gethostbyaddr_r): Likewise.
25735 (__nscd_getai): Likewise.
25736 (__nscd_getgrouplist): Likewise.
25737 (__nscd_getservbyname_r): Likewise.
25738 (__nscd_getservbyport_r): Likewise.
25739 (__nscd_innetgr): Likewise.
25740 (__nscd_setnetgrent): Likewise.
25741
25742 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25743
25744 [BZ #18822]
25745 * include/gmp.h: Declare internal functions only if _ISOMAC is
25746 undefined.
25747 (__mpn_extract_double): Add attribute_hidden.
25748 (__mpn_extract_long_double): Likewise.
25749 (__mpn_extract_float128): Likewise.
25750 (__mpn_construct_float): Likewise.
25751 (__mpn_construct_double): Likewise.
25752 (__mpn_construct_long_double): Likewise.
25753 (__mpn_construct_float128): Likewise.
25754 (mpn_add_1): Likewise.
25755 (mpn_addmul_1): Likewise.
25756 (mpn_add_n): Likewise.
25757 (mpn_cmp): Likewise.
25758 (mpn_divrem): Likewise.
25759 (mpn_lshift): Likewise.
25760 (mpn_mul): Likewise.
25761 (mpn_mul_1): Likewise.
25762 (mpn_rshift): Likewise.
25763 (mpn_sub_1): Likewise.
25764 (mpn_submul_1): Likewise.
25765 (mpn_sub_n): Likewise.
25766
25767 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25768
25769 [BZ #18822]
25770 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25771 (__wcscat): Likewise.
25772 (__btowc): Likewise.
25773 (__wcrtomb): Likewise.
25774 (__mbsrtowcs): Likewise.
25775 (__wcsrtombs): Likewise.
25776 (__mbsnrtowcs): Likewise.
25777 (__wcsnrtombs): Likewise.
25778 (__wcsncpy): Likewise.
25779 (__wcpncpy): Likewise.
25780 (__wmemcpy): Likewise.
25781 (__wmempcpy): Likewise.
25782 (__wmemmove): Likewise.
25783 (__wcschrnul): Likewise.
25784 (__vfwscanf): Likewise.
25785 (__vswprintf): Likewise.
25786 (__fwprintf): Likewise.
25787 (__vfwprintf): Likewise.
25788
25789 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25790
25791 [BZ #18822]
25792 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25793 (__getgrgid_r): Likewise.
25794 (__getgrnam_r): Likewise.
25795 * include/pwd.h (__getpwuid_r): Likewise.
25796 (__getpwnam_r): Likewise.
25797 (__fgetpwent_r): Likewise.
25798 * include/shadow.h (__getspnam_r): Likewise.
25799 (__sgetspent_r): Likewise.
25800 (__fgetspent_r): Likewise.
25801
25802 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25803
25804 [BZ #18822]
25805 * include/unistd.h (__access): Add attribute_hidden.
25806 (__lseek64): Likewise.
25807 (__libc_pread64): Likewise.
25808 (__pipe2): Likewise.
25809 (__sleep): Likewise.
25810 (__chdir): Likewise.
25811 (__fchdir): Likewise.
25812 (__getcwd): Likewise.
25813 (__rmdir): Likewise.
25814 (__execvpe): Likewise.
25815 (__execve): Likewise.
25816 (__setsid): Likewise.
25817 (__getuid): Likewise.
25818 (__geteuid): Likewise.
25819 (__getgid): Likewise.
25820 (__getegid): Likewise.
25821 (__getgroups): Likewise.
25822 (__group_member): Likewise.
25823 (__ttyname_r): Likewise.
25824 (__isatty): Likewise.
25825 (__readlink): Likewise.
25826 (__unlink): Likewise.
25827 (__gethostname): Likewise.
25828 (__profil): Likewise.
25829 (__getdtablesize): Likewise.
25830 (__brk): Likewise.
25831 (__ftruncate): Likewise.
25832 (__ftruncate64): Likewise.
25833
25834 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25835
25836 [BZ #18822]
25837 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25838 * argp/argp-fs-xinl.c: Likewise.
25839 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25840 * argp/argp-parse.c: Include <argp.h>.
25841 * argp/argp-xinl.c: Likewise.
25842 * include/argp-fmtstream.h: New file.
25843 * include/argp.h (__argp_error): Add attribute_hidden.
25844 (__argp_failure): Likewise.
25845 (__argp_input): Likewise.
25846 (__argp_state_help): Likewise.
25847
25848 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25849
25850 [BZ #18822]
25851 * include/wchar.h (____wcstof_l_internal): New prototype.
25852 (____wcstod_l_internal): Likewise.
25853 (____wcstold_l_internal): Likewise.
25854 (____wcstol_l_internal): Likewise.
25855 (____wcstoul_l_internal): Likewise.
25856 (____wcstoll_l_internal): Likewise.
25857 (____wcstoull_l_internal): Likewise.
25858 (____wcstof128_l_internal): Likewise.
25859 * sysdeps/ieee754/float128/wcstof128.c
25860 (____wcstof128_l_internal): Removed.
25861 * sysdeps/ieee754/float128/wcstof128_l.c
25862 (____wcstof128_l_internal): Likewise.
25863 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25864 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25865 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25866 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25867 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25868 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25869 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25870 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25871 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25872 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25873
25874 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25875
25876 [BZ #18822]
25877 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25878 instead of <sys/statvfs.h>.
25879 (__internal_statvfs): Removed.
25880 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25881 instead of <sys/statvfs.h>.
25882 (__internal_statvfs64): Removed.
25883 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25884 "internal_statvfs.h" instead of <sys/statvfs.h>.
25885 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25886 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25887 instead of <sys/statvfs.h>.
25888 (__internal_statvfs): Removed.
25889 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25890 instead of <sys/statvfs.h>.
25891 (__internal_statvfs64): Removed.
25892
25893 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25894
25895 [BZ #18822]
25896 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25897 (__gconv_close): Likewise.
25898 (__gconv): Likewise.
25899 (__gconv_find_transform): Likewise.
25900 (__gconv_lookup_cache): Likewise.
25901 (__gconv_compare_alias_cache): Likewise.
25902 (__gconv_load_cache): Likewise.
25903 (__gconv_get_path): Likewise.
25904 (__gconv_close_transform): Likewise.
25905 (__gconv_release_cache): Likewise.
25906 (__gconv_find_shlib): Likewise.
25907 (__gconv_release_shlib): Likewise.
25908 (__gconv_get_builtin_trans): Likewise.
25909 (__gconv_compare_alias): Likewise.
25910 * include/dlfcn.h (_dlerror_run): Likewise.
25911 * include/stdio.h (__fortify_fail_abort): Likewise.
25912 * include/time.h (__tz_compute): Likewise.
25913 (__strptime_internal): Likewise.
25914 * intl/gettextP.h (_nl_find_domain): Likewise.
25915 (_nl_load_domain): Likewise.
25916 (_nl_find_msg): Likewise.
25917 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25918 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25919 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25920 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25921 (__gai_find_request): Likewise.
25922 (__gai_remove_request): Likewise.
25923 (__gai_notify): Likewise.
25924 (__gai_notify_only): Likewise.
25925 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25926 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25927 (_dl_non_dynamic_init): Likewise.
25928 (_dl_aux_init): Likewise.
25929 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25930 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25931 Likewise.
25932 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
25933 (__wcsmbs_clone_conv): Likewise.
25934 (__wcsmbs_named_conv): Likewise.
25935
25936 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25937
25938 [BZ #18822]
25939 * include/stdlib.h (__random): Add attribute_hidden.
25940 (__random_r): Likewise.
25941 (__srandom_r): Likewise.
25942 (__initstate_r): Likewise.
25943 (__setstate_r): Likewise.
25944 (__erand48_r): Likewise.
25945 (__nrand48_r): Likewise.
25946 (__jrand48_r): Likewise.
25947 (__srand48_r): Likewise.
25948 (__seed48_r): Likewise.
25949 (__lcong48_r): Likewise.
25950 (__drand48_iterate): Likewise.
25951 (__setenv): Likewise.
25952 (__unsetenv): Likewise.
25953 (__clearenv): Likewise.
25954 (__ptsname_r): Likewise.
25955 (__posix_openpt): Likewise.
25956 (__add_to_environ): Likewise.
25957 (__realpath): Add libc_hidden_proto.
25958 (__ecvt_r): Likewise.
25959 (__fcvt_r): Likewise.
25960 (__qecvt_r): Likewise.
25961 (__qfcvt_r): Likewise.
25962 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
25963 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
25964
25965 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25966
25967 [BZ #18822]
25968 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
25969 * include/time.h (__mktime_internal): Likewise.
25970 * libio/iolibio.h (__fopen_internal): Likewise.
25971
25972 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
25973
25974 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
25975 pointer in frame.
25976 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
25977 Correct offset used to restore PIC register.
25978
25979 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
25980
25981 [BZ libc/22165]
25982 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
25983 code to load address of __getcontext_ret when generating PIC code.
25984
25985 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
25986
25987 * elf/Makefile (tests-static-internal): Add
25988 tst-tls1-static-non-pie.
25989 (LDFLAGS-tst-tls1-static-non-pie): New.
25990 * elf/tst-tls1-static-non-pie.c: New file.
25991
25992 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25993
25994 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
25995 (asinh): Define using libm_alias_double.
25996 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
25997 (cbrt): Define using libm_alias_double.
25998 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
25999 <libm-alias-double.h>.
26000 (copysign): Define using libm_alias_double.
26001 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26002 (erf): Define using libm_alias_double.
26003 (erfc): Likewise.
26004 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26005 (expm1): Define using libm_alias_double.
26006 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26007 (fabs): Define using libm_alias_double.
26008 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26009 libm_alias_double.
26010 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26011 <libm-alias-double.h>.
26012 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26013 libm_alias_double.
26014 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26015 <libm-alias-double.h>.
26016 (getpayload): Define using libm_alias_double.
26017 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26018 <libm-alias-double.h>.
26019 (llrint): Define using libm_alias_double.
26020 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26021 (lrint): Define using libm_alias_double.
26022 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26023 <libm-alias-double.h>.
26024 (nextup): Define using libm_alias_double.
26025 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26026 <libm-alias-double.h>.
26027 (roundeven): Define using libm_alias_double.
26028 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26029 libm_alias_double.
26030 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26031 <libm-alias-double.h>.
26032 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26033 using libm_alias_double.
26034 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26035 (cos): Define using libm_alias_double.
26036 (sin): Likewise.
26037 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26038 <libm-alias-double.h>.
26039 (sincos): Define using libm_alias_double.
26040 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26041 (tanh): Define using libm_alias_double.
26042 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26043 <libm-alias-double.h>.
26044 (totalorder): Define using libm_alias_double.
26045 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26046 <libm-alias-double.h>.
26047 (totalordermag): Define using libm_alias_double.
26048 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26049 libm_alias_double.
26050 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26051 libm_alias_double.
26052 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26053 <libm-alias-double.h>.
26054 (getpayload): Define using libm_alias_double.
26055 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26056 <libm-alias-double.h>.
26057 (roundeven): Define using libm_alias_double.
26058 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26059 <libm-alias-double.h>.
26060 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26061 <libm-alias-double.h>.
26062 (totalorder): Define using libm_alias_double.
26063 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26064 <libm-alias-double.h>.
26065 (totalordermag): Define using libm_alias_double.
26066 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26067 libc compat symbol here.
26068 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26069 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26070 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26071 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26072 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26073 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26074 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26075 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26076 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26077 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26078
26079 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26080
26081 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26082 _dl_relocate_static_pie instead of _dl_start to compute load
26083 address in static PIE. Return 0 if _DYNAMIC is undefined for
26084 static executable.
26085
26086 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26087
26088 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26089 _DYNAMIC is undefined for static executable.
26090
26091 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26092
26093 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26094
26095 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26096
26097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26098
26099 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26100
26101 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26102 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26103 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26104 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26105 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26106 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26107 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26108 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26109 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26110 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26111 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26112 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26113 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26114 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26115 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26116 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26117 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26118
26119 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26120
26121 * math/bits/cmathcalls.h (cimag): Remove inline.
26122 (creal): Remove inline.
26123 (conj): Remove inline.
26124
26125 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26126
26127 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26128 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26129 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26130 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26131 (issignalingf_inline): Likewise.
26132 (POWF_LOG2_TABLE_BITS): Likewise.
26133 (POWF_LOG2_POLY_ORDER): Likewise.
26134 (POWF_SCALE_BITS): Likewise.
26135 (POWF_SCALE): Likewise.
26136 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26137 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26138 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26139
26140 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26141
26142 * math/Makefile (type-float-routines): Add e_log2f_data.
26143 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26144 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26145 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26146 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26147 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26148 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26149 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26150
26151 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26152
26153 * math/Makefile (type-float-routines): Add e_logf_data.
26154 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26155 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26156 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26157 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26158 * sysdeps/i386/fpu/e_logf_data.c: New file.
26159 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26160 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26161
26162 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26163
26164 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26165 undefined _DYNAMIC in PIE libc.a.
26166 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26167 Likewse.
26168
26169 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26170
26171 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26172 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26173 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26174 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26175 (__signbit): Remove.
26176 (__signbitl): Remove.
26177 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26178 (__signbit): Remove.
26179 (__signbitl): Remove.
26180 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26181 (__signbit): Remove.
26182 (__signbitl): Remove.
26183 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26184 (__signbit): Remove.
26185 (__signbitl): Remove.
26186 * sysdeps/tile/bits/mathinline.h: Delete file.
26187 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26188 (__signbit): Remove.
26189 (__signbitl): Remove.
26190
26191 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26192
26193 * math/math.h: Improve handling of C99 isgreater macros.
26194 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26195 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26196 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26197 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26198 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26199
26200 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26201
26202 * sysdeps/aarch64/libm-test-ulps: Update.
26203
26204 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26205
26206 [BZ #22225]
26207 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26208 math_opt_barrier on argument when doing arithmetic on it.
26209 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26210 Likewise. Use math_force_eval not math_opt_barrier after
26211 arithmetic.
26212 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26213 math_opt_barrier on argument when doing arithmetic on it.
26214 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26215 Likewise.
26216
26217 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26218
26219 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26220 libc_hidden_def.
26221 (__freeifaddrs): Likewise.
26222
26223 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26224
26225 * include/dirent.h (__dirfd): New declaration.
26226 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26227 alias.
26228 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26229 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26230 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
26231 * include/unistd.h (__revoke): New declaration.
26232 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26233 alias.
26234 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26235 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26236 revoke.
26237 * include/dirent.h (__seekdir): New declaration.
26238 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26239 redefine as weak alias.
26240 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26241 of seekdir.
26242 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26243 and use libc_hidden_def on them.
26244 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26245 them.
26246 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26247 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26248 instead of getifaddrs and freeifaddrs.
26249
26250 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26251
26252 [BZ #18822]
26253 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26254 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26255 (__dso_handle): Remove declaration.
26256 * dlfcn/tstatexit.c (__dso_handle): Removed.
26257 (main): Don't check __dso_handle.
26258 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26259 (main): Don't check __dso_handle.
26260 * include/dso_handle.h: New file.
26261 * malloc/mtrace.c: Include <dso_handle.h>.
26262 (mtrace): Pass __dso_handle directly.
26263 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26264 (__dso_handle): Remove declaration.
26265 (__pthread_atfork): Pass __dso_handle directly.
26266 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26267 (__dso_handle): Removed.
26268 * posix/wordexp-test.c: Include <dso_handle.h>.
26269 (__dso_handle): Remove declaration.
26270 (__app_register_atfork): Pass __dso_handle directly.
26271 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26272 (__dso_handle): Remove declaration.
26273 (at_quick_exit): Pass __dso_handle directly.
26274 * stdlib/atexit.c: Include <dso_handle.h>.
26275 (__dso_handle): Remove declaration.
26276 (atexit): Pass __dso_handle directly.
26277 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26278 (__dso_handle): Removed.
26279
26280 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26281
26282 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26283 using VDSO.
26284
26285 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26286
26287 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26288 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26289 values to correct default value for given type.
26290
26291 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26292
26293 [BZ #22101]
26294 * elf/Makefile (tests): Add tst-debug1.
26295 ($(objpfx)tst-debug1): New.
26296 ($(objpfx)tst-debug1.out): Likewise.
26297 ($(objpfx)tst-debug1mod1.so): Likewise.
26298 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26299 with p_filesz == 0.
26300 * elf/tst-debug1.c: New file.
26301
26302 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26303
26304 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26305 Define using __ifunc.
26306
26307 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26308
26309 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26310 exp2f() values.
26311
26312 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26313
26314 [BZ #22156]
26315 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26316
26317 2017-09-26 Florian Weimer <fweimer@redhat.com>
26318
26319 * resolv/Makefile (tests-internal): Fix typo in comment.
26320
26321 2017-09-26 Florian Weimer <fweimer@redhat.com>
26322
26323 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26324
26325 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26326
26327 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26328 Use an union instead of a max_align_t array for __space,
26329 so that __space is the same size on all platforms.
26330 * malloc/scratch_buffer_grow_preserve.c
26331 (__libc_scratch_buffer_grow_preserve): Likewise.
26332
26333 [BZ #22183]
26334 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26335 version to 2.
26336 * posix/Makefile (routines): Add glob-lstat-compat and
26337 glob64-lstat-compat.
26338 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26339 * posix/glob-lstat-compat.c: New file.
26340 * posix/glob64-lstat-compat.c: Likewise.
26341 * posix/tst-glob_lstat_compat.c: Likewise.
26342 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26343 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26344 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26345 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26346 Likewise.
26347 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26348 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26349 * posix/glob.c (glob_lstat): New function.
26350 (glob): Rename to __glob and add versioned symbol to 2.27.
26351 (glob_in_dir): Use glob_lstat.
26352 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26353 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26354 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26355 2.27.
26356 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26357 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26358 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26359 gl_lstat on glob call.
26360 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26361 and glob64 symbols.
26362 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26363 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26364 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26365 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26366 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26367 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26368 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26369 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26370 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26371 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26372 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26373 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26375 Likewise.
26376 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26378 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26379 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26380 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26381 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26382 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26385 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26386 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26387 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26388
26389 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26390
26391 * configure.ac (AS): Require binutils 2.25 or later.
26392 * configure: Regenerated.
26393
26394 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26395
26396 [BZ #22207]
26397 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26398 VM size.
26399
26400 2017-09-25 DJ Delorie <dj@redhat.com>
26401
26402 [BZ #22161]
26403 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26404 resetting timeout.
26405
26406 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26407
26408 * sysdeps/ieee754/dbl-64/sincos32.h
26409 [SINCCOS32_H]: Remove define.
26410 [SINCOS32_H]: Define.
26411
26412 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26413
26414 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26415 (exp2f): Likewise.
26416 * math/w_exp2f.c: New file.
26417 * math/w_expf.c: New file.
26418 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26419 * math/w_expf_compat.c (__expf_compat): Likewise.
26420 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26421 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26422 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26423 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26424 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26425 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26426 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26427 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26428 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26429 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26430 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26431 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26432 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26433 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26435 Likewise.
26436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26437 Likewise.
26438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26439 Likewise.
26440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26441 Likewise.
26442 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26443 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26444 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26445 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26446 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26448 Likewise.
26449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26450 Likewise.
26451 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26452 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26453 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26454
26455 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26456
26457 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26458 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26459 (roundtoint, converttoint): Likewise.
26460 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26461 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26462 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26463 * sysdeps/ieee754/flt-32/math_config.h: New file.
26464 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26465 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26466 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26467 * sysdeps/i386/fpu/math_errf.c: New file.
26468 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26469 * sysdeps/ia64/fpu/math_errf.c: New file.
26470 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26471 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26472
26473 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26474
26475 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26476 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26477 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26478 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26479 to make sure that these symbols are defined.
26480 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26481 of <limits.h>
26482 (__need_NULL): Do not define.
26483 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26484 alignment.
26485 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26486 CMGROUP_MAX, cmsgcred): Do not define.
26487 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26488 NULL.
26489 * bits/socket.h: Likewise.
26490 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26491 __gettimeofday instead of gettimeofday.
26492 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26493 instead of settimeofday.
26494
26495 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26496
26497 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26498 (asinhf): Define using libm_alias_float.
26499 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26500 (atanf): Define using libm_alias_float.
26501 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26502 (cbrtf): Define using libm_alias_float.
26503 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26504 (ceilf): Define using libm_alias_float.
26505 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26506 <libm-alias-float.h>.
26507 (copysignf): Define using libm_alias_float.
26508 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26509 (cosf): Define using libm_alias_float.
26510 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26511 (erff): Define using libm_alias_float.
26512 (erfcf): Likewise.
26513 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26514 (expm1f): Define using libm_alias_float.
26515 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26516 (fabsf): Define using libm_alias_float.
26517 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26518 (floorf): Define using libm_alias_float.
26519 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26520 (frexpf): Define using libm_alias_float.
26521 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26522 libm_alias_float.
26523 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26524 <libm-alias-float.h>.
26525 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26526 libm_alias_float.
26527 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26528 <libm-alias-float.h>.
26529 (getpayloadf): Define using libm_alias_float.
26530 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26531 <libm-alias-float.h>.
26532 (llrintf): Define using libm_alias_float.
26533 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26534 <libm-alias-float.h>.
26535 (llroundf): Define using libm_alias_float.
26536 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26537 (logbf): Define using libm_alias_float.
26538 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26539 (lrintf): Define using libm_alias_float.
26540 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26541 (lroundf): Define using libm_alias_float.
26542 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26543 (modff): Define using libm_alias_float.
26544 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26545 <libm-alias-float.h>.
26546 (nearbyintf): Define using libm_alias_float.
26547 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26548 <libm-alias-float.h>.
26549 (nextafterf): Define using libm_alias_float.
26550 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26551 <libm-alias-float.h>.
26552 (nextupf): Define using libm_alias_float.
26553 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26554 <libm-alias-float.h>.
26555 (remquof): Define using libm_alias_float.
26556 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26557 (rintf): Define using libm_alias_float.
26558 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26559 <libm-alias-float.h>.
26560 (roundevenf): Define using libm_alias_float.
26561 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26562 (roundf): Define using libm_alias_float.
26563 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26564 using libm_alias_float.
26565 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26566 <libm-alias-float.h>.
26567 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26568 Define using libm_alias_float.
26569 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26570 <libm-alias-float.h>.
26571 (sincosf): Define using libm_alias_float.
26572 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26573 (sinf): Define using libm_alias_float.
26574 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26575 (tanf): Define using libm_alias_float.
26576 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26577 (tanhf): Define using libm_alias_float.
26578 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26579 <libm-alias-float.h>.
26580 (totalorderf): Define using libm_alias_float.
26581 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26582 <libm-alias-float.h>.
26583 (totalordermagf): Define using libm_alias_float.
26584 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26585 (truncf): Define using libm_alias_float.
26586 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26587 libm_alias_float.
26588 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26589 libm_alias_float.
26590
26591 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26592
26593 [BZ #22146]
26594 math/math.h: Let fpclassify use the builtin in C++ mode, even
26595 when optimazing for size.
26596
26597 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26598
26599 * csu/Makefile (generated): Do not add version-info.h.
26600 (before-compile): Likewise.
26601 (all-Banner-files): Remove variable.
26602 ($(objpfx)version-info.h): Remove rule.
26603 * csu/version.c (banner): Do not include "version-info.h".
26604 * libidn/Banner: Remove.
26605 * manual/contrib.texi (Simon Josefsson): New entry.
26606
26607 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26608
26609 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26610 Remove conditionals on LDBL_MANT_DIG.
26611 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26612 (__ieee754_lgammal_r): Likewise.
26613
26614 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26615
26616 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26617 _Float128 and L().
26618 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26619 _Float128 and L(). Replace _Float128 with long double and L(x)
26620 with xL, throughout the file.
26621 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26622 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26623 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26624 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26625
26626 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26627
26628 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26629 sysdeps/ieee754/ldbl-128ibm.
26630 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26631 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26632 of including it. Keep _Float128 and L() intact. These will be
26633 reviewed by a separate patch.
26634 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26635 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26636 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26637 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26638
26639 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26640
26641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26642 (__finitef128): Define to __redirect___finitef128.
26643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26644 (__isinff128): Define to __redirect___isinff128.
26645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26646 (__isnanf128): Define to __redirect___isnanf128.
26647
26648 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26649
26650 * sysdeps/powerpc/powerpc64le/Makefile
26651 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26652 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26653
26654 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26655 Carlos O'Donell <carlos@redhat.com>
26656
26657 [BZ #22180]
26658 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26659 * stdlib/test-dlclose-exit-race.c: New file.
26660 * stdlib/test-dlclose-exit-race-helper.c: New file.
26661 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26662
26663 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26664
26665 * crypt/Banner: Remove file.
26666 * nptl/Banner: Likewise.
26667 * resolv/Banner: Likewise.
26668 * soft-fp/Banner: Likewise.
26669 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26670 ($(objpfx)version.d): Remove dependency on banner.h.
26671 ($(objpfx)version.os): Likewise.
26672 * nptl/version.c (banner): Do not include banner.h.
26673 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26674 Jelinek and BIND code.
26675
26676 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26677 Carlos O'Donell <carlos@redhat.com>
26678
26679 * support/xdlfcn.h: New file.
26680 * support/xdlfcn.c: New file.
26681 * support/Makefile (libsupport-routines): Add xdlfcn.
26682 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26683
26684 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26685
26686 [BZ #20142]
26687 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26688 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26689 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26690 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26691 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26692 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26693 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26694 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26695
26696 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26697 Ricky Zhou <rickyz@google.com>
26698 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26699
26700 [BZ #14333]
26701 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26702 Remove atomics.
26703 (__new_exitfn): Fail registration when we finished at_exit processing.
26704 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26705 * stdlib/on_exit.c (__on_exit): Likewise.
26706 * stdlib/exit.c (__exit_funcs_done): New variable.
26707 (__run_exit_handlers): Use __exit_funcs_lock.
26708 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26709 declarations.
26710 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26711 (test-cxa_atexit-race, test-on_exit-race): New tests.
26712 * stdlib/test-atexit-race-common.c: New file.
26713 * stdlib/test-atexit-race.c: New file.
26714 * stdlib/test-at_quick_exit-race.c: New file.
26715 * stdlib/test-cxa_atexit-race.c: New file.
26716 * stdlib/test-on_exit-race.c: New file.
26717
26718 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26719
26720 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26721 * benchtests/exp2f-inputs: Copy of expf-inputs.
26722 * benchtests/log2f-inputs: Copy of logf-inputs.
26723
26724 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26725
26726 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26727 Explicitly take address of first element of array arguments in
26728 call to INLINE_SYSCALL.
26729
26730 2017-09-19 Andreas Schwab <schwab@suse.de>
26731
26732 [BZ #22134]
26733 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26734 execveat first.
26735 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26736 unimplemented.
26737 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26738 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26739 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26740 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26741 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26742 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26743 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26744 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26745 * posix/Makefile (tests): Add tst-fexecve.
26746 * posix/tst-fexecve.c: New file.
26747
26748 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26749
26750 * benchtests/Makefile: Add logf benchmark.
26751 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26752
26753 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26754
26755 * benchtests/Makefile: Add expf benchmark.
26756 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26757
26758 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26759
26760 * csu/Makefile: Add -funwind-tables to libc-start.c.
26761 * debug/Makefile: Add -funwind-tables to backtrace.c.
26762 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26763 * sysdeps/arm/Makefile: Likewise.
26764 * sysdeps/i386/Makefile: Likewise.
26765 * sysdeps/m68k/Makefile: Likewise.
26766 * sysdeps/mips/Makefile: Likewise.
26767 * sysdeps/nios2/Makefile: Likewise.
26768 * sysdeps/sh/Makefile: Likewise.
26769 * sysdeps/sparc/Makefile: Likewise.
26770
26771 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26772
26773 * benchtests/Makefile (bench-math): Add trunc and truncf.
26774 (CFLAGS-bench-trunc.c): New variable.
26775 (CFLAGS-bench-truncf.c): Likewise.
26776 * benchtests/trunc-inputs: New file.
26777 * benchtests/truncf-inputs: Likewise.
26778
26779 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26780
26781 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26782
26783 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26784
26785 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26786 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26787 redefine.
26788 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26789 (exp10l): Define as weak alias.
26790 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26791 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26792 and redefine.
26793 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26794 (remainderl): Define as weak alias.
26795
26796 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26797 (fmal): Define using libm_alias_ldouble.
26798 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26799 (acoshl): Define using libm_alias_ldouble.
26800 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26801 (acosl): Define using libm_alias_ldouble.
26802 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26803 (asinl): Define using libm_alias_ldouble.
26804 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26805 (atan2l): Define using libm_alias_ldouble.
26806 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26807 (atanhl): Define using libm_alias_ldouble.
26808 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26809 (coshl): Define using libm_alias_ldouble.
26810 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26811 (exp10l): Define using libm_alias_ldouble.
26812 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26813 (exp2l): Define using libm_alias_ldouble.
26814 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26815 (expl): Define using libm_alias_ldouble.
26816 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26817 (fmodl): Define using libm_alias_ldouble.
26818 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26819 (hypotl): Define using libm_alias_ldouble.
26820 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26821 (j0l): Define using libm_alias_ldouble.
26822 (y0l): Likewise.
26823 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26824 (j1l): Define using libm_alias_ldouble.
26825 (y1l): Likewise.
26826 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26827 (jnl): Define using libm_alias_ldouble.
26828 (ynl): Likewise.
26829 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26830 (log10l): Define using libm_alias_ldouble.
26831 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26832 (log2l): Define using libm_alias_ldouble.
26833 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26834 (logl): Define using libm_alias_ldouble.
26835 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26836 (powl): Define using libm_alias_ldouble.
26837 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26838 (remainderl): Define using libm_alias_ldouble.
26839 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26840 (sinhl): Define using libm_alias_ldouble.
26841 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26842 (sqrtl): Define using libm_alias_ldouble.
26843 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26844 (tgammal): Define using libm_alias_ldouble.
26845 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26846 (exp10l): Do not use long_double_symbol here.
26847 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26848 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26849 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26850 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26851 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26852 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26853 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26854 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26855 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26856 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26857 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26858 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26859 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26860 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26861 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26862 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26863 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26864 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26865 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26866 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26867 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26868 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26869
26870 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26871
26872 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26873 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26874
26875 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26876
26877 * io/read.c (read): Add libc_hidden_weak.
26878 * sysdeps/mach/hurd/read.c (read): Likewise.
26879 * io/write.c (write): Likewise.
26880 * sysdeps/mach/hurd/write.c (write): Likewise.
26881 * io/pread64.c (__pread64): Likewise.
26882 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26883 * posix/pread64.c (__pread64): Add libc_hidden_def.
26884
26885 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26886
26887 * benchtests/scripts/compare_strings.py: New option -g.
26888 (draw_graph): Print a message that a graph is being generated.
26889 (process_results): Generate graph only if -g is passed.
26890 (main): Process option -g.
26891
26892 * benchtests/scripts/compare_strings.py (process_results):
26893 Better spacing for output.
26894
26895 * benchtests/scripts/compare_strings.py: Use argparse.
26896 * benchtests/README: Document existence of compare_strings.py.
26897
26898 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26899
26900 * math/s_fma.c: Include <libm-alias-double.h>.
26901 (fma): Define using libm_alias_double.
26902 * math/s_nextafter.c: Include <libm-alias-double.h>.
26903 (nextafter): Define using libm_alias_double.
26904 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26905 (acos): Define using libm_alias_double.
26906 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26907 (aocsh): Define using libm_alias_double.
26908 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26909 (asin): Define using libm_alias_double.
26910 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26911 (atan2): Define using libm_alias_double.
26912 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26913 (atanh): Define using libm_alias_double.
26914 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26915 (cosh): Define using libm_alias_double.
26916 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26917 (exp10): Define using libm_alias_double.
26918 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26919 (exp2): Define using libm_alias_double.
26920 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26921 (exp): Define using libm_alias_double.
26922 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26923 (fmod): Define using libm_alias_double.
26924 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26925 (hypot): Define using libm_alias_double.
26926 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26927 (j0): Define using libm_alias_double.
26928 (y0): Likewise.
26929 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26930 (j1): Define using libm_alias_double.
26931 (y1): Likewise.
26932 * math/w_jn_compat.c: Include <libm-alias-double.h>.
26933 (jn): Define using libm_alias_double.
26934 (yn): Likewise.
26935 * math/w_log10_compat.c: Include <libm-alias-double.h>.
26936 (log10): Define using libm_alias_double.
26937 * math/w_log2_compat.c: Include <libm-alias-double.h>.
26938 (log2): Define using libm_alias_double.
26939 * math/w_log_compat.c: Include <libm-alias-double.h>.
26940 (log): Define using libm_alias_double.
26941 * math/w_pow_compat.c: Include <libm-alias-double.h>.
26942 (pow): Define using libm_alias_double.
26943 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
26944 (remainder): Define using libm_alias_double.
26945 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
26946 (sinh): Define using libm_alias_double.
26947 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
26948 (sqrt): Define using libm_alias_double.
26949 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
26950 (tgamma): Define using libm_alias_double.
26951 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
26952 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
26953 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
26954 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
26955 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
26956 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
26957 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
26958 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
26959 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
26960 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
26961 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
26962 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
26963 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
26964 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
26965 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
26966 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
26967 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
26968 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
26969 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
26970 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
26971 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
26972 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
26973 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
26974 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
26975 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
26976
26977 * math/e_acoshl.c: Remove.
26978 * math/e_acosl.c: Likewise.
26979 * math/e_asinl.c: Likewise.
26980 * math/e_atan2l.c: Likewise.
26981 * math/e_atanhl.c: Likewise.
26982 * math/e_coshl.c: Likewise.
26983 * math/e_expl.c: Likewise.
26984 * math/e_fmodl.c: Likewise.
26985 * math/e_gammal_r.c: Likewise.
26986 * math/e_hypotl.c: Likewise.
26987 * math/e_j0l.c: Likewise.
26988 * math/e_j1l.c: Likewise.
26989 * math/e_jnl.c: Likewise.
26990 * math/e_lgammal_r.c: Likewise.
26991 * math/e_log10l.c: Likewise.
26992 * math/e_log2l.c: Likewise.
26993 * math/e_logl.c: Likewise.
26994 * math/e_powl.c: Likewise.
26995 * math/e_rem_pio2l.c: Likewise.
26996 * math/e_sinhl.c: Likewise.
26997 * math/e_sqrtf128.c: Likewise.
26998 * math/e_sqrtl.c: Likewise.
26999 * math/k_cosl.c: Likewise.
27000 * math/k_sinl.c: Likewise.
27001 * math/k_tanl.c: Likewise.
27002 * math/s_asinhl.c: Likewise.
27003 * math/s_atanl.c: Likewise.
27004 * math/s_cbrtl.c: Likewise.
27005 * math/s_erfl.c: Likewise.
27006 * math/s_expm1l.c: Likewise.
27007 * math/s_log1pl.c: Likewise.
27008 * math/s_tanhl.c: Likewise.
27009
27010 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27011
27012 [BZ #21745]
27013 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27014 [$(subdir) = math] (sysdep_calls): New variable. Has the
27015 previous contents of sysdep_routines, but re-sorted..
27016 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27017 sysdep_calls.
27018 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27019 defined in sysdep_calls and replace by the respective m_* names.
27020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27021 (compat_symbol): Undefine to avoid duplicated compat symbols in
27022 libc.
27023
27024 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27025
27026 * math/s_fmaf.c: Include <libm-alias-float.h>.
27027 (fmaf): Define using libm_alias_float.
27028 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27029 (acosf): Define using libm_alias_float.
27030 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27031 (acoshf): Define using libm_alias_float.
27032 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27033 (asinf): Define using libm_alias_float.
27034 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27035 (atan2f): Define using libm_alias_float.
27036 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27037 (atanhf): Define using libm_alias_float.
27038 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27039 (coshf): Define using libm_alias_float.
27040 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27041 (exp10f): Define using libm_alias_float.
27042 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27043 (fmodf): Define using libm_alias_float.
27044 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27045 (hypotf): Define using libm_alias_float.
27046 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27047 (j0f): Define using libm_alias_float.
27048 (y0f): Likewise.
27049 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27050 (j1f): Define using libm_alias_float.
27051 (y1f): Likewise.
27052 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27053 (jnf): Define using libm_alias_float.
27054 (ynf): Likewise.
27055 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27056 (log10f): Define using libm_alias_float.
27057 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27058 (log2f): Define using libm_alias_float.
27059 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27060 (logf): Define using libm_alias_float.
27061 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27062 (powf): Define using libm_alias_float.
27063 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27064 (remainderf): Define using libm_alias_float.
27065 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27066 (sinhf): Define using libm_alias_float.
27067 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27068 (sqrtf): Define using libm_alias_float.
27069 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27070 (tgammaf): Define using libm_alias_float.
27071
27072 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27073
27074 * include/math.h (roundeven): Change hidden_proto call to
27075 __roundeven.
27076 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27077 alias.
27078 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27079 (y0): Rename to __y0 and define as weak alias.
27080 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27081 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27082 alias.
27083 (y0f): Rename to __y0f and define as weak alias.
27084 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27085 alias.
27086 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27087 (y1): Rename to __y1 and define as weak alias.
27088 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27089 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27090 alias.
27091 (y1f): Rename to __y1f and define as weak alias.
27092 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27093 alias.
27094 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27095 (yn): Rename to __yn and define as weak alias.
27096 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27097 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27098 alias.
27099 (ynf): Rename to __ynf and define as weak alias.
27100 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27101 (fromfp): Define as weak alias.
27102 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27103 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27104 (fromfpx): Define as weak alias.
27105 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27106 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27107 __getpayload and define as weak alias.
27108 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27109 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27110 __roundeven and define as weak alias.
27111 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27112 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27113 __setpayload.
27114 (setpayload): Define as weak alias.
27115 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27116 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27117 __setpayloadsig.
27118 (setpayloadsig): Define as weak alias.
27119 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27120 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27121 __totalorder and define as weak alias.
27122 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27123 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27124 to __totalordermag and define as weak alias.
27125 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27126 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27127 (ufromfp): Define as weak alias.
27128 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27129 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27130 __ufromfpx.
27131 (ufromfpx): Define as weak alias.
27132 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27133 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27134 Rename to __getpayload and define as weak alias.
27135 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27136 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27137 Rename to __roundeven and define as weak alias.
27138 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27139 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27140 Rename to __totalorder and define as weak alias.
27141 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27142 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27143 (totalordermag): Rename to __totalordermag and define as weak
27144 alias.
27145 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27146 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27147 macro.
27148 (__roundevenl): Likewise.
27149 (__totalorderl): Likewise.
27150 (__totalordermagl): Likewise
27151 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27152 __fromfpf128.
27153 (fromfpf128): Define as weak alias.
27154 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27155 __fromfpxf128.
27156 (fromfpxf128): Define as weak alias.
27157 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27158 __setpayloadf128.
27159 (setpayloadf128): Define as weak alias.
27160 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27161 __setpayloadsigf128.
27162 (setpayloadsigf128): Define as weak alias.
27163 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27164 __ufromfpf128.
27165 (ufromfpf128): Define as weak alias.
27166 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27167 __ufromfpxf128.
27168 (ufromfpxf128): Define as weak alias.
27169 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27170 (fromfpf): Define as weak alias.
27171 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27172 __fromfpxf.
27173 (fromfpxf): Define as weak alias.
27174 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27175 __getpayloadf and define as weak alias.
27176 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27177 __roundevenf and define as weak alias.
27178 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27179 __setpayloadf.
27180 (setpayloadf): Define as weak alias.
27181 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27182 __setpayloadsigf.
27183 (setpayloadsigf): Define as weak alias.
27184 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27185 __totalorderf and define as weak alias.
27186 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27187 Rename to __totalordermagf and define as weak alias.
27188 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27189 __ufromfpf.
27190 (ufromfpf): Define as weak alias.
27191 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27192 __ufromfpxf.
27193 (ufromfpxf): Define as weak alias.
27194 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27195 __fromfpl.
27196 (fromfpl): Define as weak alias.
27197 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27198 __fromfpxl.
27199 (fromfpxl): Define as weak alias.
27200 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27201 to __getpayloadl and define as weak alias.
27202 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27203 __roundevenl and define as weak alias.
27204 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27205 __setpayloadl.
27206 (setpayloadl): Define as weak alias.
27207 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27208 __setpayloadsigl.
27209 (setpayloadsigl): Define as weak alias.
27210 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27211 to __totalorderl and define as weak alias.
27212 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27213 Rename to __totalordermagl and define as weak alias.
27214 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27215 __ufromfpl.
27216 (ufromfpl): Define as weak alias.
27217 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27218 __ufromfpxl.
27219 (ufromfpxl): Define as weak alias.
27220 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27221 __fromfpl.
27222 (fromfpl): Define as weak alias.
27223 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27224 __fromfpxl.
27225 (fromfpxl): Define as weak alias.
27226 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27227 Rename to __getpayloadl and define as weak alias.
27228 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27229 to __roundevenl and define as weak alias. Call __roundeven
27230 instead of roundeven.
27231 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27232 __setpayloadl.
27233 (setpayloadl): Define as weak alias.
27234 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27235 __setpayloadsigl.
27236 (setpayloadsigl): Define as weak alias.
27237 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27238 Rename to __totalorderl and define as weak alias.
27239 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27240 Rename to __totalordermagl and define as weak alias.
27241 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27242 __ufromfpl.
27243 (ufromfpl): Define as weak alias.
27244 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27245 __ufromfpxl.
27246 (ufromfpxl): Define as weak alias.
27247 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27248 __fromfpl.
27249 (fromfpl): Define as weak alias.
27250 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27251 __fromfpxl.
27252 (fromfpxl): Define as weak alias.
27253 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27254 __getpayloadl and define as weak alias.
27255 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27256 __roundevenl and define as weak alias.
27257 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27258 __setpayloadl.
27259 (setpayloadl): Define as weak alias.
27260 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27261 __setpayloadsigl.
27262 (setpayloadsigl): Define as weak alias.
27263 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27264 __totalorderl and define as weak alias.
27265 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27266 Rename to __totalordermagl and define as weak alias.
27267 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27268 __ufromfpl.
27269 (ufromfpl): Define as weak alias.
27270 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27271 __ufromfpxl.
27272 (ufromfpxl): Define as weak alias.
27273
27274 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27275
27276 * benchtests/bench-string.h (realloc_bufs): New function.
27277 (test_init): Call it.
27278 * benchtests/bench-memset-large.c (do_test): Likewise.
27279 * benchtests/bench-memset.c (do_test): Likewise.
27280
27281 * benchtests/bench-memset-large.c: Print output in JSON
27282 format.
27283 * benchtests/bench-memset.c: Likewise.
27284
27285 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27286
27287 [BZ #21084]
27288 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27289 * iconvdata/Makefile: Add IBM858.
27290 * iconvdata/gconv-modules: Likewise.
27291 * iconvdata/tst-tables.sh: Likewise.
27292 * iconvdata/ibm858.c: New file.
27293 * localedata/charmaps/IBM858: Likewise.
27294
27295 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27296
27297 [BZ #22023]
27298 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27299 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27300
27301 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27302
27303 [BZ #22112]
27304 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27305 and add tel_int_fmt.
27306
27307 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27308
27309 * sysdeps/generic/libm-alias-float128.h: New file.
27310 * sysdeps/generic/math-type-macros-float128.h: Include
27311 <libm-alias-float128.h>.
27312 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27313
27314 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27315
27316 * sysdeps/generic/libm-alias-ldouble.h: New file.
27317 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27318 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27319 * sysdeps/generic/math-type-macros-ldouble.h: Include
27320 <libm-alias-ldouble.h>.
27321 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27322 libm_alias_ldouble.
27323
27324 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27325
27326 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27327 * math/w_exp_compat.c: ... here.
27328 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27329 * math/w_expf_compat.c: ... here.
27330 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27331 * math/w_expl_compat.c: ... here.
27332 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27333 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27334 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27335 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27336
27337 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27338
27339 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27340 redefine.
27341 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27342 macro.
27343 (ldexpl): Only define as compat symbol for libc, not libm.
27344 (scalbnl): Define as compat symbol for libc here.
27345 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27346 define for [IS_IN (libc)].
27347 (__ldexpl_2): Remove alias.
27348 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27349 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27350 name in long_double_symbol call.
27351 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27352 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27353 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27354 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27355 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27356 Remove macro.
27357 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27358 Define as compat symbol.
27359
27360 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27361
27362 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27363 * sysdeps/unix/sysv/linux/alpha/Makefile
27364 [$(subdir) = csu] (sysdep_routines): Remove rule.
27365
27366 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27367
27368 * sysdeps/generic/libm-alias-double.h: New file.
27369 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27370 * sysdeps/generic/math-type-macros-double.h: Include
27371 <libm-alias-double.h>.
27372 [declare_mgen_alias] (declare_mgen_alias): Define to use
27373 libm_alias_double.
27374 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27375 (M_LIBM_NEED_COMPAT): Remove macro.
27376 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27377 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27378 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27379 code.
27380 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27381 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27382 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27383 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27384 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27385 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27386 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27387 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27388 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27389 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27390 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27391 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27392 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27393 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27394 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27395 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27396 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27397 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27398 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27399 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27400 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27401 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27402 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27403 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27404 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27405 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27406 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27407 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27408 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27409 macro.
27410 (declare_mgen_alias): New macro.
27411 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27412 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27414 (M_LIBM_NEED_COMPAT): Remove macro.
27415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27416 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27417 <first-versions.h>.
27418 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27419 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27420
27421 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27422
27423 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27424 (declare_mgen_alias_2): Remove.
27425 * sysdeps/generic/math-type-macros-double.h
27426 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27427 Likewise.
27428 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27429 alias.
27430 (ldexp): Define with declare_mgen_alias.
27431 (scalbn): Likewise.
27432
27433 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27434
27435 * grp/initgroups.c: Include config.h.
27436 (DEFAULT_CONFIG): New macro.
27437 (internal_getgrouplist): Use DEFAULT_CONFIG.
27438 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27439 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27440 (DEFAULT_DEFCONFIG): New macro.
27441 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27442 * nss/grp-lookup.c: Include config.h
27443 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27444 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27445 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27446 * manual/nss.texi: Update default values section.
27447
27448 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27449
27450 [BZ #21967]
27451 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27452 New.
27453 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27454 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27455 Handle MathVec_Prefer_No_AVX512.
27456 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27457 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27458 is set.
27459
27460 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27461
27462 * posix/sched_primax.c (__sched_get_priority_max): Add
27463 libc_hidden_def.
27464 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27465 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27466 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27467 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27468 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27469 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27470 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27471 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27472 Add aliases.
27473
27474 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27475
27476 * sysdeps/generic/libm-alias-float.h: New file.
27477 * sysdeps/generic/math-type-macros-float.h: Include
27478 <libm-alias-float.h>.
27479 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27480
27481 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27482
27483 [BZ #22093]
27484 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27485 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27486 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27487 (HWCAP_IMPORTANT): Likewise.
27488 (HWCAP_X86_64): New enum.
27489 (HWCAP_X86_AVX512_1): Updated.
27490 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27491 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27492 (modules-names): Add x86_64/tst-x86_64mod-1.
27493 (LDFLAGS-tst-x86_64mod-1.so): New.
27494 ($(objpfx)tst-x86_64-1): Likewise.
27495 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27496 (tst-x86_64-1-clean): Likewise.
27497 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27498 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27499
27500 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27501
27502 * po/sv.po: Update translations.
27503 * po/fr.po: Likewise.
27504
27505 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27506
27507 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27508 seconds.
27509 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27510 seconds.
27511 * elf/rtld-Rules: Fix $(error) use.
27512
27513 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27514
27515 [BZ #14925]
27516 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27517 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27518 * localedata/locales/bn_BD: “Bengali” was still used in some
27519 comments. Change it to “Bangla”.
27520
27521 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27522
27523 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27524
27525 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27526
27527 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27528 thunderx2t99p1 to list of cpu names.
27529 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27530 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27531
27532 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27533
27534 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27535 Use strcmp instead of tunable_is_name.
27536
27537 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27538
27539 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27540 (F_GET_RW_HINT): New macro.
27541 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27542 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27543 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27544 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27545 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27546 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27547 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27548 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27549 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27550
27551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27552 (F_ADD_SEALS): New macro.
27553 [__USE_GNU] (F_GET_SEALS): Likewise.
27554 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27555 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27556 [__USE_GNU] (F_SEAL_GROW): Likewise.
27557 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27558
27559 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27560
27561 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27562 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27563 * posix/glob_internal.h (__glob_pattern_type):
27564 * posix/glob.c (glob):
27565 * posix/glob_pattern_p.c (__glob_pattern_p):
27566 Use them.
27567
27568 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27569 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27570 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27571 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27572 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27574 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27575 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27576 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27577 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27578 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27579 * sysdeps/wordsize-64/glob.c: Likewise.
27580 * sysdeps/wordsize-64/glob64.c: Likewise.
27581 * sysdeps/wordsize-64/globfree.c: Likewise.
27582 * sysdeps/wordsize-64/globfree64.c: Likewise.
27583 * sysdeps/unix/sysv/linux/glob.c: New file.
27584 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27585 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27586 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27587 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27588 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27589 adds !GLOB_NO_OLD_VERSION as an extra condition.
27590 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27591 using relative path instead of absolute one.
27592 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27593 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27594 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27595 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27596 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27597 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27598
27599 [BZ #1062]
27600 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27601 (glob): Use the same scratch buffer for both getlogin_r and
27602 getpwnam_r. Don’t require preallocation of the login name. This
27603 simplifies storage allocation, and corrects the handling of
27604 long login names.
27605
27606 [BZ #1062]
27607 * posix/glob.c (glob): Port recent patches to platforms
27608 lacking getpwnam_r.
27609 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27610 returns an error number rather than setting errno.
27611
27612 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27613 instead of GCC extension.
27614 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27615 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27616 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27617
27618 [BZ #866]
27619 [BZ #1062]
27620 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27621 * posix/bug-glob1.c: Remove file.
27622 * posix/tst-glob_symlinks.c: New file.
27623 * posix/glob.c (__lstat64): New macro.
27624 (is_dir): New function.
27625 (glob, glob_in_dir): Match symlinks even if they are dangling.
27626 (link_stat, link_exists_p): Remove. All uses removed.
27627
27628 [BZ #1062]
27629 [BZ #19971]
27630 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27631 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27632 All uses removed.
27633
27634 [BZ #1062]
27635 CVE-2017-15671
27636 * posix/Makefile (routines): Add globfree, globfree64, and
27637 glob_pattern_p.
27638 * posix/flexmember.h: New file.
27639 * posix/glob_internal.h: Likewise.
27640 * posix/glob_pattern_p.c: Likewise.
27641 * posix/globfree.c: Likewise.
27642 * posix/globfree64.c: Likewise.
27643 * sysdeps/gnu/globfree64.c: Likewise.
27644 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27645 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27646 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27647 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27648 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27649 * sysdeps/wordsize-64/globfree.c: Likewise.
27650 * sysdeps/wordsize-64/globfree64.c: Likewise.
27651 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27652 [NDEBUG): Remove comments.
27653 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27654 (dirent_type): New type. Use uint_fast8_t not
27655 uint8_t, as C99 does not require uint8_t.
27656 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27657 (struct readdir_result): Use dirent_type. Do not define skip_entry
27658 unless it is needed; this saves a byte on platforms lacking d_ino.
27659 (readdir_result_type, readdir_result_skip_entry):
27660 New functions, replacing ...
27661 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27662 these functions, which were removed. This makes the callers
27663 easier to read. All callers changed.
27664 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27665 (size_add_wrapv, glob_use_alloca): New static functions.
27666 (glob, glob_in_dir): Check for size_t overflow in several places,
27667 and fix some size_t checks that were not quite right.
27668 Remove old code using SHELL since Bash no longer
27669 uses this.
27670 (glob, prefix_array): Separate MS code better.
27671 (glob_in_dir): Remove old Amiga and VMS code.
27672 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27673 separate files.
27674 (glob_in_dir): Do not rely on undefined behavior in accessing
27675 struct members beyond their bounds. Use a flexible array member
27676 instead
27677 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27678 0/1. Caller changed.
27679 (glob): Fix memory leaks.
27680 * posix/glob64 (globfree64): Move to separate file.
27681 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27682 (globfree64): Remove hidden alias.
27683 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27684 oldglob.
27685 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27686 separate file.
27687 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27688 define.
27689 Move compat code to separate file.
27690 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27691 separate file.
27692
27693 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27694
27695 * resolv/tst-resolv-qtypes.c (domain): Changed to
27696 "const char domain[] =".
27697
27698 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27699
27700 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27701 version to 3.1.6.
27702
27703 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27704 (TCP_MD5SIG_EXT): Likewise.
27705 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27706 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27707 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27708
27709 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27710
27711 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27712
27713 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27714
27715 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27716
27717 [BZ #22100]
27718 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27719
27720 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27721
27722 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27723 before assuming that the file is empty. Avoid testing buffer content
27724 when nread == 0.
27725
27726 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27727
27728 [BZ #18858]
27729 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27730 Remove define.
27731 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27732 Likewise.
27733 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27734 Likewise.
27735 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27736 Likewise.
27737 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27738 Likewise.
27739 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27740 Likewise.
27741 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27742 Likewise.
27743
27744 2017-09-06 Florian Weimer <fweimer@redhat.com>
27745
27746 * malloc/dynarray_emplace_enlarge.c
27747 (__libc_dynarray_emplace_enlarge): Add missing else.
27748
27749 2017-09-06 Florian Weimer <fweimer@redhat.com>
27750
27751 [BZ #22096]
27752 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27753 case of failure to obtain the global conf object.
27754
27755 2017-09-06 Florian Weimer <fweimer@redhat.com>
27756
27757 [BZ #22095]
27758 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27759 dynarray allocation failure.
27760
27761 2017-09-06 Florian Weimer <fweimer@redhat.com>
27762
27763 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27764 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27765 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27766 New functions.
27767 (response): Call them. Add 'p', '6' flag processing.
27768 (test_reverse): New function.
27769 (test_get2_any): Call it.
27770 (test_no_inet6): Add 'p' test.
27771 (test_inet6): Likewise.
27772
27773 2017-09-06 Florian Weimer <fweimer@redhat.com>
27774
27775 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27776 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27777 the QNAME.
27778 (test_gai): Adjust query names. Add additional tests.
27779 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27780 test_get2. Adjust query names. Add additional tests.
27781 (test_no_inet6): New function, extracted from threadfunc.
27782 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27783 Add additional tests.
27784
27785 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27786
27787 [BZ #22070]
27788 * localedata/unicode-gen/utf8_gen.py: Set the width for
27789 characters with Prepended_Concatenation_Mark property to 1
27790 * localedata/charmaps/UTF-8: Updated using the improved script.
27791
27792 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27793
27794 [BZ #21750]
27795 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27796 use the range notation for all ranges of neighbouring characters
27797 with the same width.
27798
27799 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27800
27801 * sysdeps/generic/math-type-macros-double.h: Include
27802 <math-svid-compat.h>.
27803 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27804 * sysdeps/generic/math-type-macros-float.h: Include
27805 <math-svid-compat.h>.
27806 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27807 * sysdeps/generic/math-type-macros-ldouble.h: Include
27808 <math-svid-compat.h>.
27809 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27810 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27811 condition.
27812 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27813 * math/w_acosf_compat.c: Likewise.
27814 * math/w_acosh_compat.c: Likewise.
27815 * math/w_acoshf_compat.c: Likewise.
27816 * math/w_acoshl_compat.c: Likewise.
27817 * math/w_acosl_compat.c: Likewise.
27818 * math/w_asin_compat.c: Likewise.
27819 * math/w_asinf_compat.c: Likewise.
27820 * math/w_asinl_compat.c: Likewise.
27821 * math/w_atan2_compat.c: Likewise.
27822 * math/w_atan2f_compat.c: Likewise.
27823 * math/w_atan2l_compat.c: Likewise.
27824 * math/w_atanh_compat.c: Likewise.
27825 * math/w_atanhf_compat.c: Likewise.
27826 * math/w_atanhl_compat.c: Likewise.
27827 * math/w_cosh_compat.c: Likewise.
27828 * math/w_coshf_compat.c: Likewise.
27829 * math/w_coshl_compat.c: Likewise.
27830 * math/w_exp10_compat.c: Likewise.
27831 * math/w_exp10f_compat.c: Likewise.
27832 * math/w_exp10l_compat.c: Likewise.
27833 * math/w_exp2_compat.c: Likewise.
27834 * math/w_exp2f_compat.c: Likewise.
27835 * math/w_exp2l_compat.c: Likewise.
27836 * math/w_fmod_compat.c: Likewise.
27837 * math/w_fmodf_compat.c: Likewise.
27838 * math/w_fmodl_compat.c: Likewise.
27839 * math/w_hypot_compat.c: Likewise.
27840 * math/w_hypotf_compat.c: Likewise.
27841 * math/w_hypotl_compat.c: Likewise.
27842 * math/w_j0_compat.c: Likewise.
27843 * math/w_j0f_compat.c: Likewise.
27844 * math/w_j0l_compat.c: Likewise.
27845 * math/w_j1_compat.c: Likewise.
27846 * math/w_j1f_compat.c: Likewise.
27847 * math/w_j1l_compat.c: Likewise.
27848 * math/w_jn_compat.c: Likewise.
27849 * math/w_jnf_compat.c: Likewise.
27850 * math/w_jnl_compat.c: Likewise.
27851 * math/w_lgamma_r_compat.c: Likewise.
27852 * math/w_lgammaf_r_compat.c: Likewise.
27853 * math/w_lgammal_r_compat.c: Likewise.
27854 * math/w_log10_compat.c: Likewise.
27855 * math/w_log10f_compat.c: Likewise.
27856 * math/w_log10l_compat.c: Likewise.
27857 * math/w_log2_compat.c: Likewise.
27858 * math/w_log2f_compat.c: Likewise.
27859 * math/w_log2l_compat.c: Likewise.
27860 * math/w_log_compat.c: Likewise.
27861 * math/w_logf_compat.c: Likewise.
27862 * math/w_logl_compat.c: Likewise.
27863 * math/w_pow_compat.c: Likewise.
27864 * math/w_powf_compat.c: Likewise.
27865 * math/w_powl_compat.c: Likewise.
27866 * math/w_remainder_compat.c: Likewise.
27867 * math/w_remainderf_compat.c: Likewise.
27868 * math/w_remainderl_compat.c: Likewise.
27869 * math/w_sinh_compat.c: Likewise.
27870 * math/w_sinhf_compat.c: Likewise.
27871 * math/w_sinhl_compat.c: Likewise.
27872 * math/w_sqrt_compat.c: Likewise.
27873 * math/w_sqrtf_compat.c: Likewise.
27874 * math/w_sqrtl_compat.c: Likewise.
27875 * math/w_tgamma_compat.c: Likewise.
27876 * math/w_tgammaf_compat.c: Likewise.
27877 * math/w_tgammal_compat.c: Likewise.
27878 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27879 [LIBM_SVID_COMPAT].
27880 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27881 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27882 [LIBM_SVID_COMPAT].
27883 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27884 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27885 [LIBM_SVID_COMPAT].
27886 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27887 * sysdeps/i386/fpu/w_sqrt.c: New file.
27888 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27889 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27890 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27891 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27892 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27893 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27894 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27895 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27896 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27897 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27898 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27899 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27900 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27901 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27902 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27903 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27904 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27905 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27906 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27907 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27908 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27909 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27910 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27911 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27912 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27913 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27914 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27915 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27916 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27917 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27918 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27919 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27920 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27921 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27922 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27923 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27924 * sysdeps/ia64/fpu/w_log.c: Likewise.
27925 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27926 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27927 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27928 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27929 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27930 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
27931 * sysdeps/ia64/fpu/w_logf.c: Likewise.
27932 * sysdeps/ia64/fpu/w_logl.c: Likewise.
27933 * sysdeps/ia64/fpu/w_pow.c: Likewise.
27934 * sysdeps/ia64/fpu/w_powf.c: Likewise.
27935 * sysdeps/ia64/fpu/w_powl.c: Likewise.
27936 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
27937 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
27938 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
27939 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
27940 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
27941 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
27942 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
27943 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
27944 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
27945 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
27946 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
27947 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
27948 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
27949 [LIBM_SVID_COMPAT].
27950 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27951 * sysdeps/ieee754/k_standard.c: Likewise.
27952 * sysdeps/ieee754/k_standardf.c: Likewise.
27953 * sysdeps/ieee754/k_standardl.c: Likewise.
27954 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27955 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27956 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27957 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
27958 long_double_symbol call on [LIBM_SVID_COMPAT].
27959 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27960 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27961 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27962 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27963 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27964 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27965 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27966 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27967 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27968 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27969 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27970 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27971 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27972 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27973 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27974 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27975 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
27976 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27977 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27978 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27979 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
27980 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
27981
27982 2017-09-05 Steve Ellcey <sellcey@cavium.com>
27983
27984 * include/shlib-compat.h (TEST_COMPAT): New Macro.
27985 * malloc/tst-mallocstate.c: Convert from test-skeleton
27986 to test-driver. Ifdef code using TEST_COMPAT macro.
27987 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
27988 * math/test-matherr.c: Likewise.
27989
27990 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27991
27992 [BZ #22086]
27993 * debug/pcprofiledump.c (main): Use byte-swapped mask when
27994 comparing word with byte-swapped constant.
27995
27996 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
27997
27998 [BZ #20498]
27999 * locale/iso-639.def: add Miskito.
28000 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28001 * localedata/locales/miq_NI: New file.
28002
28003 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28004
28005 [BZ #18822]
28006 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28007 (__mkdir): Likewise.
28008 * io/chmod.c (__chmod): Add libc_hidden_def.
28009 * io/mkdir.c (__mkdir): Likewise.
28010 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28011 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28012 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28013 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28014
28015 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28016
28017 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28018 version to 4.13.
28019
28020 [BZ #22082]
28021 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28022 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28023
28024 2017-09-04 Florian Weimer <fweimer@redhat.com>
28025
28026 * math/math.h: Issue warning if log is defined.
28027
28028 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28029
28030 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28031 kernel version to 4.13.
28032
28033 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28034
28035 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28036 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28037 parameter.
28038 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28039 just <bits/types.h>.
28040 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
28041 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
28042 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
28043 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
28044 * misc/preadv2.c: Include <errno.h>.
28045 * misc/preadv64v2.c: Include <errno.h>.
28046 * misc/pwritev2.c: Include <errno.h>.
28047 * misc/pwritev64v2.c: Include <errno.h>.
28048 * sysdeps/posix/preadv2.c: Include <errno.h>.
28049 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28050 Fix <unistd.h> inclusion.
28051 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28052 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
28053 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28054 __strtoul_internal): New functions.
28055 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28056 * sysdeps/posix/system.c: Include <sigsetops.h>.
28057 * sysdeps/mach/hurd/i386/Makefile
28058 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28059 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28060 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
28061 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28062 __feraiseexcept_renamed to feraiseexcept instead of
28063 __GI_feraiseexcept.
28064 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
28065 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
28066 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28067 RWF_NOWAIT): Define to 0 if undefined already.
28068 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28069 boils down to 0.
28070 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28071 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
28072
28073 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28074
28075 * manual/math.texi (pow10): Do not document.
28076 (pow10f): Likewise.
28077 (pow10l): Likewise.
28078 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28079 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28080 * math/libm-test-exp10.inc (pow10_test): Remove.
28081 (do_test): Do not call pow10.
28082 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28083 [NO_LONG_DOUBLE] (pow10l): Likewise.
28084 * math/w_exp10f_compat.c (pow10f): Likewise.
28085 * math/w_exp10l_compat.c (pow10l): Likewise.
28086 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28087 (pow10): Make into compat symbol.
28088 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28089 (pow10f): Make into compat symbol.
28090 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28091 (pow10l): Make into compat symbol.
28092 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28093 pow10.
28094 (CFLAGS-nldbl-pow10.c): Remove variable..
28095 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28096 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28097 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28098 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28099 Undefine and redefine.
28100 (pow10l): Make into compat symbol.
28101 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28102 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28103 * sysdeps/arm/libm-test-ulps: Likewise.
28104 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28105 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28106 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28107 * sysdeps/microblaze/libm-test-ulps: Likewise.
28108 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28109 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28110 * sysdeps/nios2/libm-test-ulps: Likewise.
28111 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28112 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28113 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28114 * sysdeps/sh/libm-test-ulps: Likewise.
28115 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28116 * sysdeps/tile/libm-test-ulps: Likewise.
28117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28118
28119 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28120
28121 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28122
28123 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28124
28125 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28126 "../ChangeLog.old/ChangeLog.8".
28127 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28128 "../ChangeLog.old/ChangeLog.14".
28129
28130 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28131
28132 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28133 Threads Library.
28134
28135 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28136
28137 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28138
28139 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28140
28141 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28142 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28143
28144 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28145
28146 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28147 32 atexit handlers.
28148
28149 2017-09-01 Zack Weinberg <zackw@panix.com>
28150
28151 * math/math.h (HUGE_VAL): Improve commentary.
28152
28153 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28154 Andreas Schwab <schwab@suse.de>
28155
28156 [BZ #21530]
28157 * include/stdio.h (__gen_tempfd): New function.
28158 * stdio-common/Makefile (routines): Add gentempfd.
28159 * stdio-common/gentempfd.c: New file.
28160 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28161 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28162 unnamed file first.
28163
28164 2017-09-01 Florian Weimer <fweimer@redhat.com>
28165
28166 [BZ #21915]
28167 [BZ #21922]
28168 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28169 result to determine success or failure, not the errno value.
28170 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28171 (tst-nss-files-hosts-erange): Link with -ldl.
28172 * nss/tst-nss-files-hosts-erange.c: New file.
28173 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28174 (do_test): Add NO_DATA tests.
28175 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28176 (do_test): Call it.
28177
28178 2017-09-01 Florian Weimer <fweimer@redhat.com>
28179
28180 [BZ #21922]
28181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28182 coming from gethostbyname2_r.
28183
28184 2017-09-01 Florian Weimer <fweimer@redhat.com>
28185
28186 * support/namespace.h (struct support_chroot_configuration): Add
28187 hosts, host_conf.
28188 (struct support_chroot): Add path_hosts, path_host_conf.
28189 * support/support_chroot.c (write_file): New function.
28190 (support_chroot_create): Call it to process /etc/resolv.conf,
28191 /etc/hosts, /etc/host.conf.
28192 (support_chroot_free): Update.
28193
28194 2017-09-01 Florian Weimer <fweimer@redhat.com>
28195
28196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28197 status indicates it is set.
28198
28199 2017-09-01 Florian Weimer <fweimer@redhat.com>
28200
28201 [BZ #20532]
28202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28203 function lookup failures more reliable.
28204
28205 2017-09-01 Florian Weimer <fweimer@redhat.com>
28206
28207 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28208 (getcanonname): Likewise.
28209 (gaih_inet): Likewise.
28210
28211 2017-09-01 Florian Weimer <fweimer@redhat.com>
28212
28213 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28214 (getcanonname): Likewise.
28215 (gaih_inet): Likewise.
28216
28217 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28218 Richard Henderson <rth@twiddle.net>
28219
28220 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28221 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28222 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28223 (IREG_SIZE, OREG_SIZE): New macros.
28224 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28225 (IREG_SIZE, OREG_SIZE): New macros.
28226 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28227 (IREG_SIZE): New macro.
28228 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28229 (IREG_SIZE): New macro.
28230 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28231 New includes.
28232 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28233 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28234 (__CONCATX): Handle exceptions correctly on large values that may
28235 set FE_INVALID.
28236 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28237 Initialize if not already set.
28238 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28239
28240 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28241
28242 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28243 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28244 Likewise.
28245 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28246 Likewise.
28247 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28248 Likewise.
28249 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28250 Likewise.
28251 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28252 Likewise.
28253 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28254 Likewise.
28255 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28256 Likewise.
28257 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28258 (NO_CANCELLATION): Likewise.
28259 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28260 Likewise.
28261 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28262 Likewise.
28263 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28264 Likewise.
28265 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28266 (NO_CANCELLATION): Likewise.
28267 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28268 (NO_CANCELLATION): Likewise.
28269 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28270 Likewise
28271 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28272 Likewise.
28273 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28274 Likewise.
28275 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28276 Likewise.
28277 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28278 hidden prototype.
28279 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28280 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28281
28282 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28283
28284 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28285 in resolver call.
28286
28287 2017-08-31 Florian Weimer <fweimer@redhat.com>
28288
28289 * include/libc-symbols.h (internal_function): Remove.
28290
28291 2017-08-31 Florian Weimer <fweimer@redhat.com>
28292
28293 * stdlib/fmtmsg.c (internal_addseverity): Remove
28294 internal_function.
28295
28296 2017-08-31 Florian Weimer <fweimer@redhat.com>
28297
28298 * stdio-common/printf_fp.c (group_number): Remove
28299 internal_function.
28300 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28301
28302 2017-08-31 Florian Weimer <fweimer@redhat.com>
28303
28304 * posix/fnmatch.c (internal_function): Remove definition.
28305 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28306 * posix/regcomp.c (peek_token, init_word_char)
28307 (duplicate_node_closure, fetch_token, peek_token)
28308 (peek_token_bracket, build_range_exp, build_collating_symbol):
28309 Likewise.
28310 * posix/regex_internal.c (re_string_construct_common)
28311 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28312 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28313 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28314 (re_string_translate_buffer, re_string_reconstruct)
28315 (re_string_peek_byte_case, re_string_fetch_byte_case)
28316 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28317 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28318 (re_node_set_add_intersect, re_node_set_init_union)
28319 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28320 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28321 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28322 (re_acquire_state_context): Likewise.
28323 * posix/regex_internal.h (internal_function): Remove definition.
28324 (re_string_realloc_buffers, build_wcs_buffer)
28325 (build_wcs_upper_buffer, build_upper_buffer)
28326 (re_string_translate_buffer, re_string_context_at)
28327 (re_string_char_size_at, re_string_wchar_at)
28328 (re_string_elem_size_at): Likewise.
28329 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28330 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28331 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28332 (re_search_internal, re_search_2_stub, re_search_stub)
28333 (re_copy_regs, prune_impossible_nodes, check_matching)
28334 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28335 (free_fail_stack_return, sift_states_iter_mb)
28336 (sift_states_backward, build_sifted_states)
28337 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28338 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28339 (check_subexp_limits, sift_states_bkref, merge_state_array)
28340 (find_recover_state, transit_state, merge_state_with_log)
28341 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28342 (transit_state_mb, transit_state_bkref, get_subexp)
28343 (get_subexp_sub, find_subexp_node, check_arrival)
28344 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28345 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28346 (check_node_accept_bytes, find_collation_sequence_value)
28347 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28348 (acquire_init_state_context, check_halt_node_context)
28349 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28350 (sub_epsilon_src_nodes): Likewise.
28351 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28352 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28353 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28354 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28355 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28356 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28357 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28358 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28359 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28360 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28361 (PREADV): Likewise.
28362 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28363 (PREADV): Likewise.
28364 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28365 (PWRITEV): Likewise.
28366 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28367 (PWRITEV): Likewise.
28368 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28369 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28370
28371 2017-08-31 Florian Weimer <fweimer@redhat.com>
28372
28373 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28374 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28375 Remove internal_function.
28376 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28377 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28378 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28379 (__deallocate_stack, __libc_pthread_init)
28380 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28381 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28382 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28383 Likewise.
28384 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28385 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28386 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28387 Likewise.
28388 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28389 (__pthread_mutex_unlock_usercnt): Likewise.
28390
28391 2017-08-31 Florian Weimer <fweimer@redhat.com>
28392
28393 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28394 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28395 (fts_safe_changedir): Remove internal_function.
28396 * io/ftw.c (internal_function): Remove definition.
28397 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28398
28399 2017-08-31 Florian Weimer <fweimer@redhat.com>
28400
28401 * inet/deadline.c (__deadline_current_time)
28402 (__deadline_from_timeval, __deadline_to_ms): Remove
28403 internal_function.
28404 * inet/getnameinfo.c (nrl_domainname): Likewise.
28405 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28406 * inet/inet6_option.c (add_pad): Likewise.
28407 * inet/net-internal.h (__deadline_current_time)
28408 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28409 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28410 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28411 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28412
28413 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28414
28415 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28416 include <bits/nan.h>.
28417 * math/Makefile (headers): Remove bits/nan.h.
28418 * bits/nan.h: Remove.
28419 * sysdeps/ieee754/bits/nan.h: Likewise.
28420 * sysdeps/mips/bits/nan.h: Likewise.
28421
28422 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28423 not include <bits/inf.h>.
28424 * math/Makefile (headers): Remove bits/inf.h.
28425 * bits/inf.h: Remove.
28426 * sysdeps/ieee754/bits/inf.h: Likewise.
28427
28428 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28429 bits/huge_vall.h or bits/huge_val_flt128.h.
28430 (HUGE_VAL): Define directly here.
28431 [__USE_ISOC99] (HUGE_VALF): Likewise.
28432 [__USE_ISOC99] (HUGE_VALL): Likewise.
28433 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28434 (HUGE_VAL_F128): Likewise.
28435 * math/Makefile (headers): Remove bits/huge_val.h,
28436 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28437 * bits/huge_val.h: Remove.
28438 * bits/huge_val_flt128.h: Likewise.
28439 * bits/huge_valf.h: Likewise.
28440 * bits/huge_vall.h: Likewise.
28441 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28442 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28443 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28444 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28445 * sysdeps/sh/bits/huge_val.h: Likewise.
28446 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28447 * sysdeps/x86/bits/huge_vall.h: Likewise.
28448
28449 2017-08-31 Florian Weimer <fweimer@redhat.com>
28450
28451 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28452 internal_function.
28453 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28454 Likewise.
28455 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28456 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28457 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28458 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28459 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28460 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28461 * elf/dl-libc.c (dlerror_run): Likewise.
28462 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28463 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28464 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28465 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28466 Likewise.
28467 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28468 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28469 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28470 * elf/dl-profile.c (_dl_start_profile): Likewise.
28471 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28472 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28473 Likewise.
28474 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28475 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28476 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28477 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28478 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28479 (_dl_allocate_tls_storage): Likewise.
28480 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28481 (_dl_check_all_versions): Likewise.
28482 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28483 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28484 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28485 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28486 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28487 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28488 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28489 internal_function from __dl_start.
28490 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28491 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28492 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28493 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28494 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28495 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28496 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28497 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28498 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28499 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28500 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28501 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28502 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28503 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28504 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28505 Likewise.
28506 (struct rtld_global_ro): Remove internal_function from the
28507 _dl_lookup_symbol_x member.
28508 (_dl_symbol_value): Remove. No longer defined anywhere.
28509 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28510 internal_function.
28511 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28512 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28513 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28514 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28515 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28516 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28517 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28518 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28519 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28520 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28521 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28522 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28523
28524 2017-08-31 Florian Weimer <fweimer@redhat.com>
28525
28526 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28527 Remove internal_function.
28528 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28529 Likewise.
28530 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28531 Likewise.
28532
28533 2017-08-31 Florian Weimer <fweimer@redhat.com>
28534
28535 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28536 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28537 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28538
28539 2017-08-31 Florian Weimer <fweimer@redhat.com>
28540
28541 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28542 (__gai_enqueue_request): Remove internal_function.
28543 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28544 (__gai_remove_request, __gai_notify, __gai_notify_only)
28545 (__gai_sigqueue): Likewise.
28546 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28547 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28548 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28549 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28550 Likewise.
28551
28552 2017-08-31 Florian Weimer <fweimer@redhat.com>
28553
28554 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28555 * include/dirent.h (__opendirat, __getdents, __getdents64)
28556 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28557 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28558 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28559 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28560 Likewise.
28561 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28562
28563 2017-08-31 Florian Weimer <fweimer@redhat.com>
28564
28565 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28566 internal_function.
28567 (GETCWD_RETURN_TYPE): Likewise.
28568
28569 2017-08-31 Florian Weimer <fweimer@redhat.com>
28570
28571 * include/time.h (__tz_compute, __strptime_internal): Remove
28572 internal_function.
28573 * time/strptime_l.c (__strptime_internal): Likewise.
28574 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28575
28576 2017-08-31 Florian Weimer <fweimer@redhat.com>
28577
28578 * iconv/gconv.c (__gconv): Remove internal_function.
28579 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28580 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28581 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28582 (__gconv_release_cache): Likewise.
28583 * iconv/gconv_close.c (__gconv_close): Likewise.
28584 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28585 (read_conf_file, __gconv_get_path): Likewise.
28586 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28587 (__gconv_release_step, gen_steps, increment_counter)
28588 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28589 (__gconv_close_transform, free_modules_db): Likewise.
28590 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28591 Likewise.
28592 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28593 (__gconv_find_transform, __gconv_lookup_cache)
28594 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28595 (__gconv_close_transform, __gconv_release_cache)
28596 (__gconv_loaded_object, __gconv_release_shlib)
28597 (__gconv_compare_alias): Likewise.
28598 * iconv/gconv_open.c (__gconv_open): Likewise.
28599 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28600 * iconv/iconvconfig.c (add_module): Likewise.
28601 * intl/dcigettext.c (plural_lookup, guess_category_value)
28602 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28603 * intl/eval-plural.h (plural_eval): Likewise.
28604 * intl/finddomain.c (_nl_find_domain): Likewise.
28605 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28606 (_nl_load_domain, _nl_find_msg): Likewise.
28607 (internal_function): Remove definition.
28608 * intl/loadinfo.h (internal_function): Likewise.
28609 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28610 internal_function.
28611 * intl/localealias.c (internal_function): Remove definition.
28612 (read_alias_file): Remove internal_function.
28613 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28614 * intl/plural-exp.h (internal_function): Remove definition.
28615 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28616 internal_function.
28617 * intl/plural.c: Regenerate.
28618 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28619 * locale/coll-lookup.c (__collidx_table_lookup)
28620 (__collseq_table_lookup): Likewise.
28621 * locale/coll-lookup.h (__collidx_table_lookup)
28622 (__collseq_table_lookup): Likewise.
28623 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28624 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28625 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28626 (_nl_unload_locale): Likewise.
28627 * locale/localeinfo.h (struct __locale_data): Remove
28628 internal_function from cleanup member.
28629 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28630 (_nl_remove_locale, _nl_load_locale_from_archive)
28631 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28632 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28633 (_nl_cleanup_time): Remove internal_function.
28634 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28635 (_nl_parse_alt_digit): Likewise.
28636 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28637 (_nl_select_era_entry): Likewise.
28638 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28639 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28640 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28641 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28642 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28643
28644 2017-08-31 Florian Weimer <fweimer@redhat.com>
28645
28646 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28647 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28648 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28649 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28650 Likewise.
28651 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28652 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28653 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28654 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28655 Likewise.
28656 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28657
28658 2017-08-31 Florian Weimer <fweimer@redhat.com>
28659
28660 * misc/getttyent.c (skip, value): Remove internal_function.
28661 * misc/syslog.c (openlog_internal): Likewise.
28662 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28663
28664 2017-08-31 Florian Weimer <fweimer@redhat.com>
28665
28666 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28667 (__nss_rewrite_field): Remove internal_function.
28668 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28669 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28670 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28671 * nss/nsswitch.c (nss_parse_file, nss_getline)
28672 (nss_parse_service_list, nss_new_service): Likewise.
28673 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28674 * nss/valid_field.c (__nss_valid_field): Likewise.
28675 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28676
28677 2017-08-31 Florian Weimer <fweimer@redhat.com>
28678
28679 * malloc/arena.c (__malloc_fork_lock_parent)
28680 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28681 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28682 internal_function from defintions.
28683 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28684 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28685 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28686 internal_function from declarations.
28687 * malloc/malloc.c (internal_function): Do not define.
28688 (mem2mem_check): Remove internal_function from declaration.
28689 (munmap_chunk, mremap_chunk): Remove internal_function.
28690 * malloc/mtrace.c (tr_where): Likewise.
28691
28692 2017-08-31 Florian Weimer <fweimer@redhat.com>
28693
28694 * include/rpc/pmap_clnt.h (__get_socket): Remove
28695 internal_function.
28696 * sunrpc/auth_des.c (synchronize): Likewise.
28697 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28698 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28699 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28700 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28701 (key_call): Likewise.
28702 * sunrpc/pm_getport.c (__get_socket): Likewise.
28703 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28704 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28705 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28706 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28707 (invalidate): Likewise.
28708 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28709 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28710 (set_input_fragment, get_input_bytes): Likewise.
28711
28712 2017-08-31 Florian Weimer <fweimer@redhat.com>
28713
28714 * malloc/malloc.c (_int_free): Remove locked variable and related
28715 asserts.
28716
28717 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28718
28719 [BZ #22051]
28720 * Makerules (build-module-helper-objlist): Filter out
28721 $(elf-objpfx)sofini.os.
28722 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28723 needed.
28724
28725 2017-08-31 Florian Weimer <fweimer@redhat.com>
28726
28727 * libio/fcloseall.c: Assume weak_alias is defined.
28728 * libio/feof.c: Likewise.
28729 * libio/fileno.c: Likewise.
28730 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28731 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28732 definitions.
28733 (_IO_file_open): Call __open directly.
28734 (_IO_new_file_sync): Assume ESPIPE is defined.
28735 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28736 (_IO_new_file_write): Call __write directly.
28737 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28738 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28739 * libio/genops.c: Assume _LIBC is defined.
28740 (save_for_backup): Remove internal_function.
28741 * libio/getc.c: Assume weak_alias is defined.
28742 * libio/getwc.c: Likewise.
28743 * libio/iofclose.c: Assume _LIBC is defined.
28744 * libio/iofdopen.c: Likewise.
28745 (_IO_fcntl): Remove macro definition.
28746 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28747 Call __fcntl directly.
28748 * libio/iofflush.c: Assume weak_alias is defined.
28749 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28750 defined.
28751 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28752 * libio/iofgets.c: Likewise.
28753 * libio/iofopen.c: Assume _LIBC is defined.
28754 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28755 * libio/iofputs.c: Assume weak_alias is defined.
28756 * libio/iofread.c: Likewise.
28757 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28758 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28759 * libio/ioftell.c: Assume weak_alias is defined.
28760 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28761 * libio/iofwide.c: Assume _LIBC is defined.
28762 (_IO_fwide): Drop SHARED conditional because it is implied by
28763 SHLIB_COMPAT.
28764 * libio/iofwrite.c: Assume weak_alias is defined.
28765 * libio/iogetdelim.c: Likewise.
28766 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28767 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28768 (_IO_getwline): Call __wmemcpy directly.
28769 * libio/iopopen.c: Assume _LIBC is defined.
28770 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28771 (_IO_close): Remove macro definitions.
28772 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28773 _exit directly.
28774 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28775 directly.
28776 * libio/ioputs.c: Assume weak_alias is defined.
28777 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28778 * libio/iosetbuffer.c: Assume weak_alias is defined.
28779 * libio/iosetvbuf.c: Likewise.
28780 * libio/ioungetc.c: Likewise.
28781 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28782 libc_hidden_def, libc_hidden_weak, NULL are defined.
28783 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28784 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28785 defined.
28786 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28787 definitions.
28788 (_IO_old_file_init_internal): Drop SHARED conditional because it
28789 is implied by SHLIB_COMPAT.
28790 (_IO_old_file_fopen): Call __open directly.
28791 (_IO_old_file_sync): Assume ESPIPE is defined.
28792 (_IO_old_file_write): Call __write directly.
28793 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28794 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28795 Call __fcntl directly.
28796 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28797 (_IO_old_fgetpos): Assume EIO is defined.
28798 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28799 (_IO_old_fgetpos64): Assume EIO is defined.
28800 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28801 (_IO_old_fsetpos): Assume EIO is defined.
28802 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28803 (_IO_old_fsetpos64): Assume EIO is defined.
28804 * libio/oldiopopen.c: Assume _LIBC is defined.
28805 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28806 (_IO_close): Remove macro definitions.
28807 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28808 directly.
28809 (_IO_old_proc_close): Call __close, __waitpid directly.
28810 * libio/put.c: Assume weak_alias is defined.
28811 * libio/stdfiles.c: Assume _LIBC is defined.
28812 * libio/stdio.c: Likewise.
28813 * libio/wfileops.c: Likewise.
28814 (_IO_wfile_sync): Assume ESPIPE is defined.
28815 * libio/wgenops.c: Assume _LIBC is defined.
28816 (save_for_wbackup): Remove internal_function.
28817
28818 2017-08-31 Florian Weimer <fweimer@redhat.com>
28819
28820 * malloc/malloc.c (top_check): Change return type to void. Remove
28821 internal_function.
28822 * malloc/hooks.c (top_check): Likewise.
28823 (malloc_check, realloc_check, memalign_check): Adjust.
28824
28825 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28826
28827 [BZ #21457]
28828 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28829 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28830 sigcontext and namespace requirements.
28831 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28832 * sysdeps/m68k/sys/ucontext.h: Likewise.
28833 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28834 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28835 <bits/sigcontext.h>.
28836 (__ctx): Define earlier.
28837 (mcontext_t): Define structure contents rather than using struct
28838 sigcontext.
28839 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28840 __glibc_reserved1 instead of __reserved.
28841 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28842 <bits/sigcontext.h>.
28843 (__ctx): Define earlier.
28844 (mcontext_t): Define structure contents rather than using struct
28845 sigcontext.
28846 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28847 mcontext_t instead of struct sigcontext.
28848 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28849 <bits/sigcontext.h>.
28850 (__ctx): Define earlier.
28851 (mcontext_t): Define structure contents rather than using struct
28852 sigcontext.
28853 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28854 <bits/sigcontext.h>.
28855 (__ctx): Define earlier.
28856 (mcontext_t): Define structure contents rather than using struct
28857 sigcontext.
28858 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28859 mcontext_t instead of struct sigcontext.
28860 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28861 mcontext_t instead of struct sigcontext.
28862 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28863 <bits/sigcontext.h>.
28864 (__ctx): New macro.
28865 (struct __ia64_fpreg_mcontext): New type.
28866 (mcontext_t): Define structure contents rather than using struct
28867 sigcontext.
28868 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28869 (uc_sigmask): Define using __ctx.
28870 (uc_stack): Likewise.
28871 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28872 <bits/sigcontext.h>.
28873 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28874 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28875 <bits/sigcontext.h>.
28876 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28877 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28878 <bits/sigcontext.h>.
28879 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28880 <bits/sigcontext.h>.
28881 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28882 <bits/sigcontext.h>.
28883 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28884 <bits/sigcontext.h>.
28885 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28886 <bits/sigcontext.h>.
28887 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28888 <bits/sigcontext.h>.
28889 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28890 <bits/sigcontext.h>.
28891 (__ctx): Define earlier.
28892 (mcontext_t): Define structure contents rather than using struct
28893 sigcontext.
28894 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28895 <bits/sigcontext.h>. Include <bits/types.h>.
28896 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28897 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28898 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28899 (test-xfail-UNIX98/signal.h/conform): Likewise.
28900 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28901 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28902 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28903 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28904 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28905 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28906 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28907 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28908 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28909
28910 2017-08-30 Florian Weimer <fweimer@redhat.com>
28911
28912 * malloc/dynarray_emplace_enlarge.c
28913 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28914 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28915 * malloc/tst-dynarray.c (test_long_overflow): New function.
28916 (do_test): Call it.
28917
28918 2017-08-30 Florian Weimer <fweimer@redhat.com>
28919
28920 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28921 (set_arena_corrupt): Remove definitions.
28922 (mtrim): Do not check for corrupt arena.
28923 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28924 Likewise.
28925
28926 2017-08-30 Florian Weimer <fweimer@redhat.com>
28927
28928 [BZ #21754]
28929 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28930 check_action.
28931 (ptmalloc_init): Do not set or use check_action.
28932 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
28933 call to malloc_printerr. Remove return statement.
28934 (free_check): Likewise. Remove arena unlock.
28935 (top_check): Update comment. Adjust call to malloc_printerr.
28936 Remove heap repair code.
28937 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
28938 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
28939 (sysmalloc): Adjust call to malloc_printerr.
28940 (munmap_chunk, __libc_realloc): Likewise. Remove return
28941 statement.
28942 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
28943 Remove errout label and corresponding gotos.
28944 (_int_free): Likewise. Remove arena unlock.
28945 (do_set_mallopt_check): Do not set check_action.
28946 (malloc_printerr): Adjust parameter list. Do not mark arena as
28947 corrupt.
28948 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
28949 comment.
28950 * manual/probes.texi (Memory Allocation Probes): Remove
28951 memory_mallopt_check_action.
28952
28953 2017-08-30 Steve Ellcey <sellcey@cavium.com>
28954
28955 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
28956 Use pointer to uint64_t instead of long int for sp.
28957
28958 2017-08-30 Florian Weimer <fweimer@redhat.com>
28959
28960 [BZ #21754]
28961 * malloc/malloc.c (malloc_printerr): Always terminate the process,
28962 without printing a backtrace. Do not leak any information in the
28963 error message.
28964 * manual/memory.texi (Heap Consistency Checking): Update.
28965 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
28966
28967 2017-08-30 Florian Weimer <fweimer@redhat.com>
28968
28969 Do not scale NPTL tests with available number of CPUs.
28970 * nptl/tst-cond16.c (count): Set to constant value of 8.
28971 * nptl/tst-cond18.c (count): Likewise.
28972
28973 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28974
28975 [BZ #22035]
28976 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
28977 Define to take a second argument that is a macro that
28978 concatentates a suffix, not the suffix itself.
28979 (__CONCAT_d): New macro.
28980 (__CONCAT_f): Likewise.
28981 (__CONCAT_l): Likewise.
28982
28983 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
28984
28985 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
28986 by child.
28987
28988 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28989 Aurelien Jarno <aurelien@aurel32.net>
28990 Maciej W. Rozycki <macro@imgtec.com>
28991
28992 [BZ #21956]
28993 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
28994 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
28995 `mips16-syscall6' and `mips16-syscall7'.
28996 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
28997 (CFLAGS-mips16-syscall7.c): Remove.
28998 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
28999 Remove `__mips16_syscall5', `__mips16_syscall6' and
29000 `__mips16_syscall7'.
29001 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29002 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29003 `__mips_syscall_return'.
29004 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29005 (__mips16_syscall1): Likewise.
29006 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29007 (__mips16_syscall2): Likewise.
29008 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29009 (__mips16_syscall3): Likewise.
29010 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29011 (__mips16_syscall4): Likewise.
29012 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29013 Remove.
29014 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29015 Remove.
29016 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29017 Remove.
29018 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29019 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29020 `__mips16_syscall5'. Remove prototype.
29021 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29022 `__mips16_syscall6'. Remove prototype.
29023 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29024 `__mips16_syscall7'. Remove prototype.
29025 (__nomips16, __mips16_syscall_return): Move to...
29026 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29027 (__nomips16, __mips_syscall_return): ... here.
29028 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29029 `__mips16_syscall_return' to `__mips_syscall_return'.
29030 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29031 `internal_syscall##nr'.
29032 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29033 `internal_syscall##nr'.
29034 (FORCE_FRAME_POINTER): Remove.
29035 (__mips_syscall5): New prototype.
29036 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29037 (__mips_syscall6): New prototype.
29038 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29039 (__mips_syscall7): New prototype.
29040 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29041 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29042 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29043 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29044 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29045 (sysdep_routines): Add libc-do-syscall.
29046 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29047 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29048
29049 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29050
29051 [BZ #21672]
29052 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29053 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29054 (advise_stack_range): New function.
29055 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29056 stack non required to advise_stack_range at allocatestack.c
29057
29058 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29059
29060 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29061
29062 2017-08-29 Florian Weimer <fweimer@redhat.com>
29063
29064 [BZ #22026]
29065 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29066 __end_fct. Mangle __end_fct after setting it to NULL.
29067 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29068 (modules-names, modules-names-tests): Add
29069 tst-gconv-init-failure-mod.
29070 (gconv-modules): New target.
29071 (tst-gconv-init-failure-mod.so): Link against libsupport.
29072 (tst-gconv-init-failure): Depend on gconv-modules,
29073 tst-gconv-init-failure-mod.so.
29074 * iconv/tst-gconv-init-failure-mod.c: New file.
29075 * iconv/tst-gconv-init-failure.c: Likewise.
29076 * iconv/test-gconv-modules: Likewise.
29077
29078 2017-08-29 Florian Weimer <fweimer@redhat.com>
29079
29080 [BZ #22025]
29081 * iconv/gconv_db.c (free_derivation): Remove redundant
29082 parentheses.
29083 (gen_steps): Unconditionally mangle __btowc_fct after
29084 initialization.
29085 (increment_counter): Likewise. Do not call init_fct for internal
29086 modules.
29087
29088 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29089
29090 [BZ #22028]
29091 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29092 (_MSUF_): Remove macro.
29093 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29094 Likewise.
29095 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29096 (__REDIRFROM_X): New macro.
29097 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29098 Likewise.
29099 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29100 (__REDIRTO_X): Likewise.
29101 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29102 arguments.
29103 (__MATH_REDIRCALL_2): Likewise.
29104 (__MATH_REDIRCALL_INTERNAL): Likewise.
29105 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29106 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29107 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29108 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29109 * math/test-finite-macros.c: New file.
29110 * math/Makefile (tests): Add test-finite-macros.
29111 (CFLAGS-test-finite-macros.c): New variable.
29112
29113 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
29114 Jeff Law <law@redhat.com>
29115
29116 [BZ #22025]
29117 Mangle NULL pointers in iconv/gconv.
29118 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29119 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29120 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29121 is non-NULL before demangling the end_fct. Check for NULL
29122 end_fct after demangling.
29123 (__gconv_release_step): Demangle the end_fct before checking
29124 it for NULL. Remove assert on __shlibc_handle != NULL.
29125 (gen_steps): Don't check btowc_fct for NULL before mangling.
29126 Demangle init_fct before checking for NULL.
29127 (increment_counter): Likewise.
29128 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29129 end_fct for NULL before mangling.
29130 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29131 for NULL.
29132
29133 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
29134
29135 [BZ #21971]
29136 * locale/iso-639.def: add Morisyen.
29137
29138 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29139
29140 [BZ #21930]
29141 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29142 (iszero): New C++ implementation that does not use
29143 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29144 signaling nans are enabled, since __builtin_types_compatible_p
29145 is a C-only feature.
29146 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29147 defined, include ieee754_float128.h for access to the union and
29148 member ieee854_float128.ieee.
29149 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29150 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29151 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29152 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29153 options of test-math-zero on powerpc64le.
29154
29155 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29156
29157 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29158 Change double to float.
29159
29160 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29161
29162 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29163 unconditional.
29164 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29165 conditional code; define contents only for [LIBM_SVID_COMPAT].
29166
29167 2017-08-28 Florian Weimer <fweimer@redhat.com>
29168
29169 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29170 (abi-lp64_be-options): Remove.
29171 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29172 (abi-hard-options): Likewise.
29173 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29174 (abi-o32_hard-options, abi-o32_soft_2008-options)
29175 (abi-o32_hard_2008-options, abi-n32_soft-options)
29176 (abi-n32_hard-options, abi-n32_soft_2008-options)
29177 (abi-n32_hard_2008-options, abi-n64_soft-options)
29178 (abi-n64_hard-options, abi-n64_soft_2008-options)
29179 (abi-n64_hard_2008-options): Likewise.
29180 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29181 (abi-64-v1-options, abi-64-v2-options): Likewise.
29182 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29183 (abi-64-options): Likewise.
29184 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29185 (abi-64-options): Likewise.
29186 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29187 (abi-64-options): Likewise.
29188 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29189 (abi-64-options, abi-x32-options): Likewise.
29190
29191 2017-08-28 Florian Weimer <fweimer@redhat.com>
29192
29193 Store supported list of SYS_* system calls in the source tree.
29194 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29195 (bits/syscall.h): Generate from list file.
29196 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29197 [$(subdir) = misc] (tests): Add tst-syscall-list.
29198 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29199 [$(subdir) = misc] (tst-syscall-list-macros.list)
29200 [$(subdir) = misc] (tst-syscall-list-nr.list)
29201 (tst-syscall-list-sys.list): Helper targets for new
29202 tst-syscall-list test.
29203 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29204 tst-syscall-list.sh.
29205 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29206 target. Do not include bits/syscall.d.
29207 [$(subdir) = misc] (generated): Do not update.
29208 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29209 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29210 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29211 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29212
29213 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29214
29215 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29216 (tst-cxa_atexit, tst-on_exit): Likewise.
29217 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29218 tst-cxa_atexit, and tst-on_exit.
29219 * stdlib/tst-atexit-common.c: New file.
29220 * stdlib/tst-atexit.c: New file.
29221 * stdlib/tst-at_quick_exit.c: New file.
29222 * stdlib/tst-cxa_atexit.c: New file.
29223 * stdlib/tst-on_exit.c: New file.
29224
29225 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29226
29227 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
29228 * mach/stack_chk_fail_local.c: New file.
29229 * hurd/stack_chk_fail_local.c: New file.
29230 * mach/Machrules ($(interface-library)-routines): Add
29231 stack_chk_fail_local.
29232 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29233 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29234 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29235 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29236 * hurd/Makefile (CFLAGS-hurdstartup.o,
29237 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29238
29239 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29240
29241 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29242 (index_cpu_*, index_arch_*): Removed.
29243
29244 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29245
29246 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29247 Use uint64_t instead of unsigned long.
29248
29249 2017-08-25 Joseph Myers <joseph@codesourcery.com>
29250
29251 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29252 [__HAVE_DISTINCT_FLOAT128].
29253
29254 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29255 of <bits/math-finite.h>.
29256 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29257 inclusion of <bits/math-finite.h>.
29258 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29259 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29260 __NO_LONG_DOUBLE_MATH].
29261 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29262 (__MATH_REDIRCALL_2): Likewise.
29263 (__MATH_REDIRCALL_INTERNAL): Likewise.
29264 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29265 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29266 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29267
29268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29269 Remove file.
29270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29271 Likewise.
29272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29273 Likewise.
29274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29275 Likewise.
29276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29277 Likewise.
29278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29279 Likewise.
29280 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29281 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29282 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29283 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29285 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29286 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29287 w_sqrtf_compat-ppc32.
29288
29289 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29290
29291 * math/math.h [defined __cplusplus] (issignaling): In the long
29292 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29293 is not defined. Call __issignaling, otherwise.
29294
29295 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29296
29297 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29298 syscall definitions and replace __builtin_expect with __glibc_likely.
29299 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29300 syscall.
29301 (SYSCALL_CANCELLABLE): Removedefinition
29302 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29303 definition.
29304 (PSEUDO_END): Likewise.
29305 [IS_IN (libpthread)] (CENABLE): Likewise.
29306 [IS_IN (libpthread)] (CDISABLE): Likewise.
29307 [IS_IN (libc)] (CENABLE): Likewise.
29308 [IS_IN (libc)] (CENABLE): Likewise.
29309 [IS_IN (librt)] (CDISABLE): Likewise.
29310 [IS_IN (librt)] (CDISABLE): Likewise.
29311 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29312 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29313 definition.
29314 (PSEUDO_END): Likewise.
29315 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29316 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29317 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29318 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29319 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29320 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29321 (CENABLE): Likewise.
29322 (CDISABLE): Likewise.
29323 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29324 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29325 defintion.
29326 (PSEUDO_END): Likewise.
29327 [IS_IN (libpthread)] (CENABLE): Likewise.
29328 [IS_IN (libpthread)] (CDISABLE): Likewise.
29329 [IS_IN (libc)] (CENABLE): Likewise.
29330 [IS_IN (libc)] (CENABLE): Likewise.
29331 [IS_IN (librt)] (CDISABLE): Likewise.
29332 [IS_IN (librt)] (CDISABLE): Likewise.
29333 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29334 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29335 definition.
29336 (PSEUDO_END): Likewise.
29337 [IS_IN (libpthread)] (CENABLE): Likewise.
29338 [IS_IN (libpthread)] (CDISABLE): Likewise.
29339 [IS_IN (libc)] (CENABLE): Likewise.
29340 [IS_IN (libc)] (CENABLE): Likewise.
29341 [IS_IN (librt)] (CDISABLE): Likewise.
29342 [IS_IN (librt)] (CDISABLE): Likewise.
29343 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29344 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29345 definition.
29346 (PSEUDO_END): Likewise.
29347 [IS_IN (libpthread)] (CENABLE): Likewise.
29348 [IS_IN (libpthread)] (CDISABLE): Likewise.
29349 [IS_IN (libc)] (CENABLE): Likewise.
29350 [IS_IN (libc)] (CENABLE): Likewise.
29351 [IS_IN (librt)] (CDISABLE): Likewise.
29352 [IS_IN (librt)] (CDISABLE): Likewise.
29353 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29354 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29355 definition.
29356 (PSEUDO_END): Likewise.
29357 [IS_IN (libpthread)] (CENABLE): Likewise.
29358 [IS_IN (libpthread)] (CDISABLE): Likewise.
29359 [IS_IN (libc)] (CENABLE): Likewise.
29360 [IS_IN (libc)] (CENABLE): Likewise.
29361 [IS_IN (librt)] (CDISABLE): Likewise.
29362 [IS_IN (librt)] (CDISABLE): Likewise.
29363 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29364 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29365 definition.
29366 (PSEUDO_END): Likewise.
29367 [IS_IN (libpthread)] (CENABLE): Likewise.
29368 [IS_IN (libpthread)] (CDISABLE): Likewise.
29369 [IS_IN (libc)] (CENABLE): Likewise.
29370 [IS_IN (libc)] (CENABLE): Likewise.
29371 [IS_IN (librt)] (CDISABLE): Likewise.
29372 [IS_IN (librt)] (CDISABLE): Likewise.
29373 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29374 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
29375 definition.
29376 (PSEUDO_END): Likewise.
29377 [IS_IN (libpthread)] (CENABLE): Likewise.
29378 [IS_IN (libpthread)] (CDISABLE): Likewise.
29379 [IS_IN (libc)] (CENABLE): Likewise.
29380 [IS_IN (libc)] (CENABLE): Likewise.
29381 [IS_IN (librt)] (CDISABLE): Likewise.
29382 [IS_IN (librt)] (CDISABLE): Likewise.
29383 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29384 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
29385 Remove definition.
29386 (PSEUDO_END): Likewise.
29387 [IS_IN (libpthread)] (CENABLE): Likewise.
29388 [IS_IN (libpthread)] (CDISABLE): Likewise.
29389 [IS_IN (libc)] (CENABLE): Likewise.
29390 [IS_IN (libc)] (CENABLE): Likewise.
29391 [IS_IN (librt)] (CDISABLE): Likewise.
29392 [IS_IN (librt)] (CDISABLE): Likewise.
29393 (SINGLE_THREAD_P): Likewise.
29394 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
29395 definition.
29396 (PSEUDO_END): Likewise.
29397 [IS_IN (libpthread)] (CENABLE): Likewise.
29398 [IS_IN (libpthread)] (CDISABLE): Likewise.
29399 [IS_IN (libc)] (CENABLE): Likewise.
29400 [IS_IN (libc)] (CENABLE): Likewise.
29401 [IS_IN (librt)] (CDISABLE): Likewise.
29402 [IS_IN (librt)] (CDISABLE): Likewise.
29403 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29404 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
29405 definition.
29406 (PSEUDO_END): Likewise.
29407 [IS_IN (libpthread)] (CENABLE): Likewise.
29408 [IS_IN (libpthread)] (CDISABLE): Likewise.
29409 [IS_IN (libc)] (CENABLE): Likewise.
29410 [IS_IN (libc)] (CENABLE): Likewise.
29411 [IS_IN (librt)] (CDISABLE): Likewise.
29412 [IS_IN (librt)] (CDISABLE): Likewise.
29413 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29414 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29415 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29416 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29417 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
29418 definition.
29419 (PSEUDO_END): Likewise.
29420 [IS_IN (libpthread)] (CENABLE): Likewise.
29421 [IS_IN (libpthread)] (CDISABLE): Likewise.
29422 [IS_IN (libc)] (CENABLE): Likewise.
29423 [IS_IN (libc)] (CENABLE): Likewise.
29424 [IS_IN (librt)] (CDISABLE): Likewise.
29425 [IS_IN (librt)] (CDISABLE): Likewise.
29426 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29427 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29428 definition.
29429 (PSEUDO_END): Likewise.
29430 [IS_IN (libpthread)] (CENABLE): Likewise.
29431 [IS_IN (libpthread)] (CDISABLE): Likewise.
29432 [IS_IN (libc)] (CENABLE): Likewise.
29433 [IS_IN (libc)] (CENABLE): Likewise.
29434 [IS_IN (librt)] (CDISABLE): Likewise.
29435 [IS_IN (librt)] (CDISABLE): Likewise.
29436 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29437 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29438 definition.
29439 (PSEUDO_END): Likewise.
29440 [IS_IN (libpthread)] (CENABLE): Likewise.
29441 [IS_IN (libpthread)] (CDISABLE): Likewise.
29442 [IS_IN (libc)] (CENABLE): Likewise.
29443 [IS_IN (libc)] (CENABLE): Likewise.
29444 [IS_IN (librt)] (CDISABLE): Likewise.
29445 [IS_IN (librt)] (CDISABLE): Likewise.
29446 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29447 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29448 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29449 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29450 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
29451 definition.
29452 (PSEUDO_END): Likewise.
29453 [IS_IN (libpthread)] (CENABLE): Likewise.
29454 [IS_IN (libpthread)] (CDISABLE): Likewise.
29455 [IS_IN (libc)] (CENABLE): Likewise.
29456 [IS_IN (libc)] (CENABLE): Likewise.
29457 [IS_IN (librt)] (CDISABLE): Likewise.
29458 [IS_IN (librt)] (CDISABLE): Likewise.
29459 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29460 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29461 definition.
29462 (PSEUDO_END): Likewise.
29463 [IS_IN (libpthread)] (CENABLE): Likewise.
29464 [IS_IN (libpthread)] (CDISABLE): Likewise.
29465 [IS_IN (libc)] (CENABLE): Likewise.
29466 [IS_IN (libc)] (CENABLE): Likewise.
29467 [IS_IN (librt)] (CDISABLE): Likewise.
29468 [IS_IN (librt)] (CDISABLE): Likewise.
29469 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29470
29471 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29472
29473 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29474
29475 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29476
29477 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29478
29479 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29480
29481 [BZ #21982]
29482 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29483 middle and outer with size_t instead of int. Repleace %d and
29484 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29485 "MAX (outer, nchars - 64)" to support unsigned outer and
29486 nchars. Also exit loop when outer == 0.
29487
29488 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29489
29490 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29491 * include/signal.h (__sigsuspend_nocancel): Likewise.
29492 * include/time.h (__nanosleep_nocancel): Likewise.
29493 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29494 * login/utmp_file.c: Include non cancellable syscall header.
29495 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29496 prototype.
29497
29498 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29499
29500 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29501 .byte sequences with AVX512F instructions.
29502 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29503 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29504 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29505 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29506 Likewise.
29507 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29508 Likewise.
29509
29510 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29511 Steve Ellcey <sellcey@cavium.com>
29512
29513 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29514 Use PTR_REG macro in cmp instruction.
29515
29516 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29517
29518 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29519 Change the return type of the ifunc resolver to match the return
29520 type of the target function.
29521
29522 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29523
29524 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29525 (preadv64): Likewise.
29526 (pwrite64(: Likewise.
29527 (pwritev64): Likewise.
29528
29529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29530 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29531 (LOAD_ARGS_0): Likewise.
29532 (LOAD_ARGS_1): Likewise.
29533 (LOAD_ARGS_2): Likewise.
29534 (LOAD_ARGS_3): Likewise.
29535 (LOAD_ARGS_4): Likewise.
29536 (LOAD_ARGS_5): Likewise.
29537 (LOAD_ARGS_6): Likewise.
29538 (LOAD_REGS_0): Likewise.
29539 (LOAD_REGS_1): Likewise.
29540 (LOAD_REGS_2): Likewise.
29541 (LOAD_REGS_3): Likewise.
29542 (LOAD_REGS_4): Likewise.
29543 (LOAD_REGS_5): Likewise.
29544 (LOAD_REGS_6): Likewise.
29545 (ASM_ARGS_0): Likewise.
29546 (ASM_ARGS_1): Likewise.
29547 (ASM_ARGS_2): Likewise.
29548 (ASM_ARGS_3): Likewise.
29549 (ASM_ARGS_4): Likewise.
29550 (ASM_ARGS_5): Likewise.
29551 (ASM_ARGS_6): Likewise.
29552 (LOAD_ARGS_TYPES_1): Likewise.
29553 (LOAD_ARGS_TYPES_2): Likewise.
29554 (LOAD_ARGS_TYPES_3): Likewise.
29555 (LOAD_ARGS_TYPES_4): Likewise.
29556 (LOAD_ARGS_TYPES_5): Likewise.
29557 (LOAD_ARGS_TYPES_6): Likewise.
29558 (LOAD_REGS_TYPES_1): Likewise.
29559 (LOAD_REGS_TYPES_2): Likewise.
29560 (LOAD_REGS_TYPES_3): Likewise.
29561 (LOAD_REGS_TYPES_4): Likewise.
29562 (LOAD_REGS_TYPES_5): Likewise.
29563 (LOAD_REGS_TYPES_6): Likewise.
29564 (TYPEFY): New define.
29565 (ARGIFY): Likewise.
29566 (internal_syscall0): Likewise.
29567 (internal_syscall1): Likewise.
29568 (internal_syscall2): Likewise.
29569 (internal_syscall3): Likewise.
29570 (internal_syscall4): Likewise.
29571 (internal_syscall5): Likewise.
29572 (internal_syscall6): Likewise.
29573 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29574 (INTERNAL_SYSCALL_NCS): Remove define.
29575 (internal_syscall1): Add define.
29576
29577 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29578
29579 * math/w_remainder_compat.c: Remove duplicate inclusion of
29580 math-svid-compat.h.
29581 * math/w_remainderf_compat.c: Likewise.
29582 * math/w_remainderl_compat.c: Likewise.
29583
29584 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29585
29586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29587
29588 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29589
29590 [BZ #21684]
29591 * math/tgmath.h (__floating_type): Simplify definitions.
29592 (__real_integer_type): New macro.
29593 (__complex_integer_type): Likewise.
29594 (__expr_is_real): Likewise.
29595 (__tgmath_real_type_sub): Update comment to describe handling of
29596 complex types.
29597 (__tgmath_complex_type_sub): New macro.
29598 (__tgmath_complex_type): Likewise.
29599 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29600 (__TGMATH_CF128): Use __expr_is_real.
29601 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29602 __expr_is_real.
29603 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29604 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29605 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29606 integer types.
29607
29608 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29609
29610 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29611 macro.
29612 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29613 alias.
29614 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29615 Likewise.
29616
29617 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29618 nanosleep_not_cancel with __nanosleep_nocancel.
29619 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29620 (__nanosleep_nocancel): New macro.
29621 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29622 function.
29623 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29624 macro.
29625 (__nanosleep_nocancel): New prototype.
29626
29627 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29628 pause_not_cancel with __pause_nocancel.
29629 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29630 (__pause_nocancel): New macro.
29631 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29632 macro.
29633 (__pause_nocancel): New prototype.
29634 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29635
29636 2017-08-22 Martin Sebor <msebor@redhat.com>
29637
29638 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29639 to return a pointer to the same type as the target function.
29640
29641 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29642
29643 [BZ #18822]
29644 [BZ #21986]
29645 * include/printf.h (__printf_fphex): Add attribute_hidden.
29646 (__guess_grouping): New prototype.
29647 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29648 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29649 libc_hidden_proto and libc_hidden_def.
29650 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29651 (__vstrfmon_l): Remove the third argument passed to
29652 __guess_grouping.
29653
29654 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29655
29656 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29657 definition for issignaling that does not rely on __MATH_TG,
29658 since __MATH_TG uses __builtin_types_compatible_p, which is only
29659 available in C mode.
29660 (CFLAGS-test-math-issignaling.cc): New variable.
29661 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29662 * math/test-math-issignaling.cc: New test for C++ implementation
29663 of type-generic issignaling.
29664 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29665 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29666 options of test-math-issignaling on powerpc64le.
29667
29668 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29669
29670 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29671 building libc.a.
29672 (hidden_proto): Likewise.
29673 (hidden_tls_proto): Likewise.
29674 (__hidden_proto): Likewise.
29675
29676 2017-08-22 Florian Weimer <fweimer@redhat.com>
29677
29678 math: Statically link tests of internal functionality.
29679 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29680 atest-exp2.
29681 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29682 (gmp-objs): Remove assignment.
29683 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29684
29685 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29686
29687 [BZ #21987]
29688 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29689 and copy to ...
29690 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29691 ... here.
29692 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29693 ... and here.
29694
29695 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29696 variable definitions above inclusion of ../Rules.
29697
29698 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29699
29700 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29701 case calling __builtin_unreachable.
29702
29703 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29704
29705 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29706 __waitpid_nocancel.
29707 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29708 (__waitpid_nocancel): New macro.
29709 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29710 macro.
29711 (__waitpid_nocancel): Replace macro with a function.
29712 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29713 function.
29714
29715 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29716 __fcntl_nocancel.
29717 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29718 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29719
29720 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29721 __writev_nocancel_nostatus.
29722 (write_call_graph): Likewise.
29723 (write_bb_counts): Likewise.
29724 * resolv/herror.c (herror): Likewise.
29725 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29726 macro.
29727 (__writev_nocancel_nostatus): New macro.
29728 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29729 Remove macro.
29730 (__writev_nocancel_nostatus): New function.
29731
29732 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29733
29734 Revert:
29735 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29736
29737 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29738 building libc.a.
29739 (hidden_proto): Likewise.
29740 (hidden_tls_proto): Likewise.
29741 (__hidden_proto): Likewise.
29742
29743 [BZ #21973]
29744 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29745 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29747 Likewise.
29748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29749 Likewise.
29750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29751 Likewise.
29752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29753 Likewise.
29754 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29755 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29756 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29757 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29758 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29759 GLIBC_2.0 sqrtl symbol.
29760
29761 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29762 [__USE_MISC] (_LIB_VERSION): Likewise.
29763 [__USE_MISC] (struct exception): Likewise.
29764 [__USE_MISC] (matherr): Likewise.
29765 [__USE_MISC] (DOMAIN): Likewise.
29766 [__USE_MISC] (SING): Likewise.
29767 [__USE_MISC] (OVERFLOW): Likewise.
29768 [__USE_MISC] (UNDERFLOW): Likewise.
29769 [__USE_MISC] (TLOSS): Likewise.
29770 [__USE_MISC] (PLOSS): Likewise.
29771 [__USE_MISC] (HUGE): Likewise.
29772 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29773 * math/math-svid-compat.h: New file.
29774 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29775 and matherrl.
29776 * include/math.h [!_ISOMAC] (__matherr): Remove.
29777 * manual/arith.texi (FP Exceptions): Do not document matherr.
29778 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29779 (tests-internal): New variable.
29780 (install-lib): Do not add libieee.a.
29781 (non-lib.a): Likewise.
29782 (extra-objs): Do not add libieee.a and ieee-math.o.
29783 (CPPFLAGS-s_lib_version.c): Remove variable.
29784 ($(objpfx)libieee.a): Remove rule.
29785 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29786 * math/ieee-math.c: Remove.
29787 * math/libm-test-support.c (matherr): Remove.
29788 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29789 and license notices. Include <math-svid-compat.h> and
29790 <shlib-compat.h>.
29791 (matherr): Undefine as macro. Use compat_symbol_reference.
29792 (_LIB_VERSION): Likewise.
29793 * math/test-matherr-2.c: New file.
29794 * math/test-matherr-3.c: Likewise.
29795 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29796 declaration.
29797 (__kernel_standard_f): Likewise.
29798 (__kernel_standard_l): Likewise.
29799 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29800 <math_private.h>. Include <math-svid-compat.h>.
29801 (_LIB_VERSION): Undefine as macro.
29802 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29803 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29804 [LIBM_SVID_COMPAT], use compat_symbol.
29805 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29806 <math_private.h>. Include <math-svid-compat.h>.
29807 (matherr): Undefine as macro.
29808 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29809 compat_symbol.
29810 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29811 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29812 compat_symbol_reference.
29813 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29814 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29815 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29816 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29817 (MATHERR_D): Remove declaration.
29818 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29819 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29820 [LIBM_BUILD] (pmatherrf): Likewise.
29821 [LIBM_BUILD] (pmatherr): Likewise.
29822 [LIBM_BUILD] (pmatherrl): Likewise.
29823 (DOMAIN): Likewise.
29824 (SING): Likewise.
29825 (OVERFLOW): Likewise.
29826 (UNDERFLOW): Likewise.
29827 (TLOSS): Likewise.
29828 (PLOSS): Likewise.
29829 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29830 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29831 compat_symbol.
29832 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29833 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29834 compat_symbol.
29835 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29836 * math/w_acos_compat.c: Likewise.
29837 * math/w_acosf_compat.c: Likewise.
29838 * math/w_acosh_compat.c: Likewise.
29839 * math/w_acoshf_compat.c: Likewise.
29840 * math/w_acoshl_compat.c: Likewise.
29841 * math/w_acosl_compat.c: Likewise.
29842 * math/w_asin_compat.c: Likewise.
29843 * math/w_asinf_compat.c: Likewise.
29844 * math/w_asinl_compat.c: Likewise.
29845 * math/w_atan2_compat.c: Likewise.
29846 * math/w_atan2f_compat.c: Likewise.
29847 * math/w_atan2l_compat.c: Likewise.
29848 * math/w_atanh_compat.c: Likewise.
29849 * math/w_atanhf_compat.c: Likewise.
29850 * math/w_atanhl_compat.c: Likewise.
29851 * math/w_cosh_compat.c: Likewise.
29852 * math/w_coshf_compat.c: Likewise.
29853 * math/w_coshl_compat.c: Likewise.
29854 * math/w_exp10_compat.c: Likewise.
29855 * math/w_exp10f_compat.c: Likewise.
29856 * math/w_exp10l_compat.c: Likewise.
29857 * math/w_exp2_compat.c: Likewise.
29858 * math/w_exp2f_compat.c: Likewise.
29859 * math/w_exp2l_compat.c: Likewise.
29860 * math/w_fmod_compat.c: Likewise.
29861 * math/w_fmodf_compat.c: Likewise.
29862 * math/w_fmodl_compat.c: Likewise.
29863 * math/w_hypot_compat.c: Likewise.
29864 * math/w_hypotf_compat.c: Likewise.
29865 * math/w_hypotl_compat.c: Likewise.
29866 * math/w_j0_compat.c: Likewise.
29867 * math/w_j0f_compat.c: Likewise.
29868 * math/w_j0l_compat.c: Likewise.
29869 * math/w_j1_compat.c: Likewise.
29870 * math/w_j1f_compat.c: Likewise.
29871 * math/w_j1l_compat.c: Likewise.
29872 * math/w_jn_compat.c: Likewise.
29873 * math/w_jnf_compat.c: Likewise.
29874 * math/w_jnl_compat.c: Likewise.
29875 * math/w_lgamma_main.c: Likewise.
29876 * math/w_lgamma_r_compat.c: Likewise.
29877 * math/w_lgammaf_main.c: Likewise.
29878 * math/w_lgammaf_r_compat.c: Likewise.
29879 * math/w_lgammal_main.c: Likewise.
29880 * math/w_lgammal_r_compat.c: Likewise.
29881 * math/w_log10_compat.c: Likewise.
29882 * math/w_log10f_compat.c: Likewise.
29883 * math/w_log10l_compat.c: Likewise.
29884 * math/w_log2_compat.c: Likewise.
29885 * math/w_log2f_compat.c: Likewise.
29886 * math/w_log2l_compat.c: Likewise.
29887 * math/w_log_compat.c: Likewise.
29888 * math/w_logf_compat.c: Likewise.
29889 * math/w_logl_compat.c: Likewise.
29890 * math/w_pow_compat.c: Likewise.
29891 * math/w_powf_compat.c: Likewise.
29892 * math/w_powl_compat.c: Likewise.
29893 * math/w_remainder_compat.c: Likewise.
29894 * math/w_remainderf_compat.c: Likewise.
29895 * math/w_remainderl_compat.c: Likewise.
29896 * math/w_scalb_compat.c: Likewise.
29897 * math/w_scalbf_compat.c: Likewise.
29898 * math/w_scalbl_compat.c: Likewise.
29899 * math/w_sinh_compat.c: Likewise.
29900 * math/w_sinhf_compat.c: Likewise.
29901 * math/w_sinhl_compat.c: Likewise.
29902 * math/w_sqrt_compat.c: Likewise.
29903 * math/w_sqrtf_compat.c: Likewise.
29904 * math/w_sqrtl_compat.c: Likewise.
29905 * math/w_tgamma_compat.c: Likewise.
29906 * math/w_tgammaf_compat.c: Likewise.
29907 * math/w_tgammal_compat.c: Likewise.
29908 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29909 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29910 * sysdeps/ieee754/k_standard.c: Likewise.
29911 * sysdeps/ieee754/k_standardf.c: Likewise.
29912 * sysdeps/ieee754/k_standardl.c: Likewise.
29913 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29914 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29915 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29916 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29917 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29918 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29919 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29920 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29921 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29923 Likewise.
29924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29925 Likewise.
29926 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29927 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29928 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29929 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29930
29931 2017-08-21 Florian Weimer <fweimer@redhat.com>
29932
29933 [BZ #21864]
29934 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
29935 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
29936 Move before inclusion of ../Rules.
29937
29938 2017-08-21 Florian Weimer <fweimer@redhat.com>
29939
29940 [BZ #21972]
29941 * assert/assert.h (assert): Use static_cast (bool) for C++.
29942 Use the ternary operator in the warning branch for GNU C.
29943 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
29944 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
29945 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
29946 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
29947 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
29948
29949 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29950
29951 [BZ #18822]
29952 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29953 (__syscall_clock_gettime): Add attribute_hidden.
29954 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
29955 (__start_context): Likewise.
29956
29957 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29958
29959 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29960 building libc.a.
29961 (hidden_proto): Likewise.
29962 (hidden_tls_proto): Likewise.
29963 (__hidden_proto): Likewise.
29964
29965 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29966
29967 * include/libc-symbols.h (attribute_hidden): Enable hidden
29968 visibility in libc.a compiled with PIE.
29969
29970 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29971
29972 [BZ #18822]
29973 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
29974 Add attribute_hidden.
29975
29976 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29977
29978 [BZ #21864]
29979 * Makerules (all-nonlib): Add $(others-extras).
29980 * catgets/Makefile (others-extras): New.
29981 * elf/Makefile (others-extras): Likewise.
29982 * nss/Makefile (others-extras): Likewise.
29983
29984 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29985
29986 [BZ #18822]
29987 * csu/libc-start.c (__libc_multiple_libcs): Removed.
29988 * elf/dl-open.c: Include <libc-internal.h>.
29989 (__libc_multiple_libcs): Removed.
29990 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
29991 <hp-timing.h>.
29992 * include/libc-internal.h (__libc_multiple_libcs): New.
29993 * misc/sbrk.c: Include <libc-internal.h>.
29994 (__libc_multiple_libcs): Removed.
29995
29996 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29997
29998 [BZ #18822]
29999 * grp/initgroups.c (__nss_group_database): Removed.
30000 (__nss_initgroups_database): Likewise.
30001 * nscd/gai.c (__nss_hosts_database): Likewise.
30002 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30003 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30004 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30005 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30006 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30007 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30008 attribute_hidden.
30009 * nss/nsswitch.c (__nss_database_custom): Define only if
30010 USE_NSCD is defined.
30011 (__nss_configure_lookup): Use __nss_database_custom only if
30012 USE_NSCD is defined.
30013 * nss/nsswitch.h (__nss_database_custom): Declare only if
30014 USE_NSCD is defined. Add attribute_hidden.
30015 (__nss_setent): Add attribute_hidden.
30016 (__nss_endent): Likewise.
30017 (__nss_getent_r): Likewise.
30018 (__nss_getent): Likewise.
30019 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30020
30021 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30022
30023 [BZ #18822]
30024 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30025 libc_hidden_proto and libc_hidden_def.
30026
30027 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30028
30029 [BZ #18822]
30030 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30031 Add libc_hidden_proto.
30032 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30033 Add libc_hidden_def.
30034
30035 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30036
30037 [BZ #21974]
30038 * gmon/Makefile (routines): Remove bb_init_func and
30039 bb_exit_func.
30040 (elide-routines.os): Removed.
30041 * gmon/bb_exit_func.c: Likewise.
30042 * gmon/bb_init_func.c: Likewise.
30043 * include/sys/gmon.h (__bb): Likewise.
30044 (__bb_init_func): Likewise.
30045 (__bb_exit_func): Likewise.
30046 * sysdeps/alpha/bb_init_func.S: Likewise.
30047
30048 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30049
30050 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30051 * include/setjmp.h (____longjmp_chk): Here. Add
30052 attribute_hidden.
30053
30054 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30055
30056 [BZ #18822]
30057 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30058 attribute_hidden.
30059 (__strspn_sse2): Likewise.
30060
30061 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30062
30063 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30064 (close_not_cancel_no_status): Likewise.
30065 (__close_nocancel): New macro.
30066 (__close_nocancel_nostatus): Likewise.
30067 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30068 macro.
30069 (close_not_cancel): Likewise.
30070 (close_not_cancel_no_status): Likewise.
30071 (__close_nocancel): New prototype.
30072 (__close_nocancel_nostatus): New function.
30073 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30074 * catgets/open_catalog.c (__open_catalog): Replace
30075 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30076 * gmon/gmon.c (write_gmon): Likewise.
30077 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30078 * intl/loadmsgcat.c (close): Likewise.
30079 * io/ftw.c (open_dir_stream): Likewise.
30080 (ftw_startup): Likewise.
30081 * libio/fileops.c (_IO_file_open): Likewise.
30082 (_IO_file_close_mmap): Likewise.
30083 (_IO_file_close): Likewise.
30084 * libio/iopopen.c (_IO_dup2): Likewise.
30085 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30086 * locale/loadlocale.c (_nl_load_locale): Likewise.
30087 * login/utmp_file.c (pututline_file): Likewise.
30088 (endutent_file): Likewise.
30089 * misc/daemon.c (daemon): Likewise.
30090 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30091 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30092 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30093 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30094 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30095 * nscd/nscd_helper.c (open_socket): Likewise.
30096 (__nscd_open_socket): Likewise.
30097 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30098 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30099 (__nscd_innetgr): Likewise.
30100 * nss/nss_db/db-open.c (internal_setent): Likewise.
30101 * resolv/res-close.c (__res_iclose): Likewise.
30102 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30103 * sysdeps/posix/closedir.c (__closedir): Likewise.
30104 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30105 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30106 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30107 (opendir_tail): Likewise.
30108 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30109 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30110 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30111 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30112 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30113 (gethostid): Likewise.
30114 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30115 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30116 Likewise.
30117 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30118 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30119 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30120 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30121 Likewise.
30122 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30123 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30124 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30125 Likewise.
30126 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30127 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30128 Likewise.
30129 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30130 Likewise.
30131 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30132 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30133 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30134 __close_nocancel.
30135
30136 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30137 (openat_not_cancel_3): Likewise.
30138 (openat64_not_cancel_3): Likewise).
30139 (openat_not_cancel_3): Likewise).
30140 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30141 macro.
30142 (openat_not_cancel_3): Likewise.
30143 (openat64_not_cancel): Likewise.
30144 (openat64_not_cancel_3): Likewise.
30145 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30146 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30147 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30148 __open{64}_nocancel.
30149 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30150 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30151 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30152
30153 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30154
30155 [BZ #18822]
30156 * include/argz.h (__argz_create_sep): New function prototype.
30157 (__argz_append): Likewise.
30158 (__argz_add): Likewise.
30159 (__argz_add_sep): Likewise.
30160 (__argz_delete): Likewise.
30161 (__argz_insert): Likewise.
30162 (__argz_replace): Likewise.
30163 * string/argz.h (__argz_create_sep): Removed.
30164 (__argz_append): Likewise.
30165 (__argz_add): Likewise.
30166 (__argz_add_sep): Likewise.
30167 (__argz_delete): Likewise.
30168 (__argz_insert): Likewise.
30169 (__argz_replace): Likewise.
30170
30171 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30172
30173 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30174 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30175 (GNU_PROPERTY_STACK_SIZE): Likewie.
30176 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30177 (GNU_PROPERTY_LOPROC): Likewise.
30178 (GNU_PROPERTY_HIPROC): Likewise.
30179 (GNU_PROPERTY_LOUSER): Likewise.
30180 (GNU_PROPERTY_HIUSER): Likewise.
30181 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30182 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30183 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30184 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30185 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30186 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30187 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30188 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30189 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30190 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30191 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30192 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30193 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30194 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30195 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30196 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30197 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30198 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30199 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30200 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30201 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30202 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30203 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30204
30205 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30206
30207 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30208 in C++ mode.
30209
30210 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30211
30212 [BZ #21930]
30213 * math/math.h (isinf): Check if in C or C++ mode before using
30214 __builtin_types_compatible_p, since this is a C mode feature.
30215
30216 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30217
30218 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30219 (__write_nocancel): New macro.
30220 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30221 Rewrite as a function prototype.
30222 (write_not_cancel): Remove macro.
30223 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30224 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30225 (write_gmon): Likewise.
30226 * libio/fileops.c (_IO_new_file_write): Likewise.
30227 * login/utmp_file.c (pututline_file): Likewise.
30228 (updwtmp_file): Likewise.
30229 * stdio-common/psiginfo.c (psiginfo): Likewise.
30230 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30231 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30232 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30233 Likewise.
30234 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30235 Likewise.
30236
30237 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30238 (__read_nocancel): New macro.
30239 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30240 __read_nocancel.
30241 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30242 macro.
30243 (__read_nocancel): New prototype.
30244 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30245 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30246 with __read_nocancel.
30247 * intl/loadmsgcat.c (read): Likewise.
30248 * libio/fileops.c (_IO_file_read): Likewise.
30249 * locale/loadlocale.c (_nl_load_locale): Likewise.
30250 * login/utmp_file.c (getutent_r_file): Likewise.
30251 (internal_getut_r): Likewise.
30252 (getutline_r_file): Likewise.
30253 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30254 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30255 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30256 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30257 Likewise.
30258 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30259 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30260 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30261 Likewise.
30262 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30263 Likewise.
30264 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30265 Likewise.
30266 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30267 Likewise.
30268 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30269
30270 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30271
30272 [BZ #21966]
30273 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30274 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30275 usable.
30276
30277 2017-08-17 DJ Delorie <dj@redhat.com>
30278
30279 * bug17079.c: Update to new test harness.
30280 * test-digits-dots.c: Likewise.
30281 * test-netdb.c: Likewise.
30282 * tst-field.c: Likewise.
30283 * tst-nss-getpwent.c: Likewise.
30284 * tst-nss-static.c: Likewise.
30285 * tst-nss-test1.c: Likewise.
30286 * tst-nss-test2.c: Likewise.
30287 * tst-nss-test3.c: Likewise.
30288 * tst-nss-test4.c: Likewise.
30289 * tst-nss-test5.c: Likewise.
30290
30291 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30292
30293 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30294 (open_not_cancel_2): Likewise.
30295 (open_nocancel): New macro.
30296 (open64_nocancel): Likewise.
30297 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30298 (open_not_cancel_2): Likewise.
30299 (__open_nocancel): New prototype.
30300 (__open64_nocancel): Likewise.
30301 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30302 __open_nocancel.
30303 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30304 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30305 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30306 with __open_nocancel.
30307 * csu/check_fds.c (check_one_fd): Likewise.
30308 * gmon/gmon.c (write_gmon): Likewise.
30309 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30310 * intl/loadmsgcat.c (open): Likewise.
30311 * libio/fileops.c (_IO_file_open): Likewise.
30312 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30313 * locale/loadlocale.c (_nl_load_locale): Likewise.
30314 * login/utmp_file.c (setutent_file): Likewise.
30315 * misc/daemon.c (daemon): Likewise.
30316 * nss/nss_db/db-open.c (internal_setent): Likewise.
30317 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30318 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30319 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30320 (__opendir): Likewise.
30321 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30322 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30323 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30324 (gethostid): Likewise.
30325 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30326 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30327 Likewise.
30328 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30329 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30330 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30331 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30332 Likewise.
30333 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30334 Likewise.
30335 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30336 Likewise.
30337 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30338 Likewise.
30339 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30340 Likewise.
30341 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30342 Likewise.
30343 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30344 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30345
30346 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30347
30348 * benchtests/bench-skeleton.c (main): Add support for
30349 latency benchmarking.
30350 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30351
30352 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30353
30354 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30355 the startup object.
30356
30357 2017-08-17 Florian Weimer <fweimer@redhat.com>
30358
30359 * include/sys/socket.h (__opensock): Remove internal_function.
30360 * socket/opensock.c (__opensock): Likewise.
30361 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30362
30363 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30364
30365 [BZ #21944]
30366 * signal/bits/types/__sigval_t.h: New file.
30367 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30368 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30369 and define sigval_t using __sigval_t.
30370 * include/bits/types/__sigval_t.h: New file.
30371 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30372 instead of <bits/types/__sigval_t.h>.
30373 (struct sigevent): Use __sigval_t instead of sigval_t.
30374 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30375 instead of <bits/types/__sigval_t.h>.
30376 (siginfo_t): Use __sigval_t instead of sigval_t.
30377 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30378 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30379 (struct sigevent): Use __sigval_t instead of sigval_t.
30380 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30381 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30382 (siginfo_t): Use __sigval_t instead of sigval_t.
30383 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30384
30385 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30386
30387 * NEWS: Remove "[Add new features here]" for 2.27.
30388
30389 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30390
30391 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30392 libc.so.
30393
30394 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30395
30396 * NEWS: Mention x86-64 FMA optimization.
30397
30398 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30399
30400 [BZ #21912]
30401 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30402 Add e_expf-fma.
30403 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30404 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30405 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30406
30407 2017-08-16 Andreas Schwab <schwab@suse.de>
30408
30409 [BZ #16750]
30410 CVE-2009-5064
30411 * elf/ldd.bash.in: Never run file directly.
30412
30413 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30414
30415 [BZ #21955]
30416 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30417 (L(SP_INF_0)): Likewise.
30418
30419 2017-08-15 Florian Weimer <fweimer@redhat.com>
30420
30421 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30422 run-built-tests.
30423
30424 2017-08-15 Florian Weimer <fweimer@redhat.com>
30425
30426 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30427 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30428 BROKEN_THREAD_SIGNALS code.
30429 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30430 request_list): Remove caller_pid member used for
30431 BROKEN_THREAD_SIGNALS.
30432 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30433 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30434 Remove BROKEN_THREAD_SIGNALS support.
30435 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30436 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30437
30438 2017-08-15 Florian Weimer <fweimer@redhat.com>
30439
30440 * gmon/Makefile (tests): Add tst-gmon.
30441 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30442 Set.
30443 (tests-special): Add tst-gmon-prof.out.
30444 (tst-gmon.out): Depend on clean-tst-gmon-data.
30445 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30446 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30447 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30448 startup object.
30449 * aclocal.m4 (GPROF): Set and substitute.
30450 * config.amke.in (GPROF): Set.
30451 * configure: Regenerate.
30452
30453 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30454
30455 * elf/elf.h A (NT_PPC_TAR): New macro.
30456 (NT_PPC_PPR): Likewise.
30457 (NT_PPC_DSCR): Likewise.
30458 (NT_PPC_EBB): Likewise.
30459 (NT_PPC_PMU): Likewise.
30460 (NT_PPC_TM_CGPR): Likewise.
30461 (NT_PPC_TM_CFPR): Likewise.
30462 (NT_PPC_TM_CVMX): Likewise.
30463 (NT_PPC_TM_CVSX): Likewise.
30464 (NT_PPC_TM_SPR): Likewise.
30465 (NT_PPC_TM_CTAR): Likewise.
30466 (NT_PPC_TM_CPPR): Likewise.
30467 (NT_PPC_TM_CDSCR): Likewise.
30468
30469 2017-08-15 Florian Weimer <fweimer@redhat.com>
30470
30471 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30472 regparm (2) instead of internal_function.
30473 (_MCOUNT_DECL): Adjust.
30474
30475 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30476
30477 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30478 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30479
30480 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30481
30482 * conform/data/sys/wait.h-data (si_value): Do not expect for
30483 XPG42.
30484
30485 2017-08-14 Florian Weimer <fweimer@redhat.com>
30486
30487 [BZ #21962]
30488 NSS: Create stubs for accidentally exported lookup functions.
30489 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30490 Remove declaration.
30491 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30492 (ether_hostton): Call __nss_ethers_lookup2 instead.
30493 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30494 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30495 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30496 (setup): Call __nss_netgroup_lookup2 instead.
30497 * nss/Makefile (routines): Add compat-lookup.
30498 * nss/Versions (GLIBC_2.27): Add symbol version.
30499 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30500 (DB_COMPAT_FCT): Remove.
30501 * nss/compat-lookup.c: New file.
30502 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30503 from databases.def.
30504 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30505 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30506 (netname2user): Call __nss_publickey_lookup2 instead.
30507 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30508 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30509 instead.
30510
30511 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30512 Sergei Trofimovich <slyfox@inbox.ru>
30513
30514 [BZ #21908]
30515 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30516 Rename to MMAP2_PAGE_UNIT.
30517 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30518 __OFF_T_MATCHES_OFF64_T is not defined.
30519 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30520 uint64_t.
30521 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30522 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30523
30524 2017-08-14 Florian Weimer <fweimer@redhat.com>
30525
30526 i386: Do not set internal_function.
30527 * config.h.in (USE_REGPARMS, internal_function): Remove.
30528 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30529 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30530
30531 2017-08-14 Florian Weimer <fweimer@redhat.com>
30532
30533 * elf/dl-init.c (_dl_init): Remove internal_function.
30534 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30535 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30536
30537 2017-08-14 Florian Weimer <fweimer@redhat.com>
30538
30539 * elf/rtld.c (_dl_start): Remove internal_function.
30540 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30541 _dl_start.
30542
30543 2017-08-14 Florian Weimer <fweimer@redhat.com>
30544
30545 * elf/dl-fini.c (_dl_fini): Remove internal_function
30546 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30547
30548 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30549
30550 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30551 (bit_cpu_SHSTK): Likewise.
30552 (index_cpu_IBT): Likewise.
30553 (index_cpu_SHSTK): Likewise.
30554 (reg_IBT): Likewise.
30555 (reg_SHSTK): Likewise.
30556 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30557 Handle index_cpu_IBT and index_cpu_SHSTK.
30558
30559 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30560
30561 [BZ #19982]
30562 * po/fr.po: Fix spelling mistake.
30563
30564 2017-08-13 Florian Weimer <fweimer@redhat.com>
30565
30566 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30567 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30568 (_dl_catch_error, _dl_receive_error): Likewise.
30569 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30570 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30571 (_dl_deallocate_tls): Likewise.
30572 * include/dlfcn.h (_dl_addr): Likewise.
30573 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30574 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30575 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30576 Likewise.
30577
30578 2017-08-13 Florian Weimer <fweimer@redhat.com>
30579
30580 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30581 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30582 internal_function.
30583 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30584
30585 2017-08-13 Florian Weimer <fweimer@redhat.com>
30586
30587 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30588 internal_function.
30589 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30590 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30591 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30592 internal_function from _dl_make_stack_executable_hook member.
30593 (_dl_make_stack_executable): Remove internal_function.
30594 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30595 Likewise.
30596 * sysdeps/unix/sysv/linux/dl-execstack.c
30597 (_dl_make_stack_executable): Likewise.
30598
30599 2017-08-13 Florian Weimer <fweimer@redhat.com>
30600
30601 * sysdeps/unix/sysv/linux/netlinkaccess.h
30602 (__netlink_assert_response): Remove internal_function.
30603 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30604 (__netlink_assert_response): Likewise.
30605
30606 2017-08-13 Florian Weimer <fweimer@redhat.com>
30607
30608 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30609 internal_function.
30610 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30611
30612 2017-08-13 Florian Weimer <fweimer@redhat.com>
30613
30614 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30615 internal_function.
30616 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30617 * inet/netgroup.h (__internal_setnetgrent)
30618 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30619 * inet/getnetgrent_r.c (__internal_setnetgrent)
30620 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30621 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30622 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30623 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30624 * nss/nsswitch.h (db_lookup_function): Likewise.
30625
30626 2017-08-13 Florian Weimer <fweimer@redhat.com>
30627
30628 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30629 Remove internal_function.
30630 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30631 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30632 message argument on the stack.
30633 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30634 Likeweise.
30635
30636 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30637
30638 Adapt test case data to the changes in the thousands
30639 separators.
30640
30641 [BZ #20756]
30642 * localedata/tst-langinfo.sh: Adapt test case data.
30643 * stdlib/tst-strfmon_l.c: Likewise.
30644 * stdlib/tst-strtod4.c: Likewise.
30645 * stdlib/tst-strtod5i.c: Likewise.
30646
30647 2017-08-11 Florian Weimer <fweimer@redhat.com>
30648
30649 [BZ #21242]
30650 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30651 Suppress pedantic warning resulting from statement expression.
30652 (__ASSERT_FUNCTION): Add missing __extension__.
30653
30654 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30655
30656 * benchtests/bench-memmove-large.c: Print output in JSON
30657 format.
30658 * benchtests/bench-memmove.c: Likewise.
30659
30660 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30661 * benchtests/bench-memchr.c (do_one_test): Likewise.
30662 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30663 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30664 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30665 * benchtests/bench-memmove.c (do_one_test): Likewise.
30666 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30667 * benchtests/bench-memset.c (do_one_test): Likewise.
30668 * benchtests/bench-string.h (test_init): Remove memsets.
30669
30670 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30671
30672 * manual/lang.texi
30673 (Computing the Width of an Integer Data Type): Rename section to
30674 "Width of an Integer Type". Remove inaccurate statement regarding
30675 lack of C language facilities for determining width of integer
30676 types, and reorder content to improve flow and context of
30677 discussion.
30678
30679 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30680
30681 * lang.texi (va_copy): Change standard from ISO to C99.
30682 (__va_copy): Add standard and header annotation.
30683 Update description for clarity of origins and current use.
30684
30685 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30686
30687 [BZ #21941]
30688 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30689 xssqrtqp requires operands to be in Vector Registers
30690 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30691 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30692 (__ieee754_sqrtf128): Likewise.
30693
30694 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30695
30696 * sysdeps/aarch64/memcmp.S (memcmp):
30697 Rewrite of optimized memcmp.
30698
30699 2017-08-10 Florian Weimer <fweimer@redhat.com>
30700
30701 Introduce ld.so exceptions.
30702 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30703 (_dl_exception_create, _dl_exception_create_format)
30704 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30705 (_dl_catch_exception): Declare.
30706 (_dl_catch_error): Update comment.
30707 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30708 errstring, malloced members with exception member.
30709 (_dl_out_of_memory): Remove.
30710 (fatal_error): New function, extracted from _dl_signal_error.
30711 (_dl_signal_exception, _dl_signal_cexception): New functions.
30712 (_dl_signal_error): Call _dl_exception_create to allocate an
30713 exception object.
30714 (_dl_catch_exception): New function, based on _dl_catch_error.
30715 (_dl_catch_error): Implement using _dl_catch_exception.
30716 * elf/dl-exception.c: New file.
30717 * elf/Makefile (dl-routines): Add dl-exception.
30718 (elide-routines.os): Likewise.
30719 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30720 _dl_exception_create_format, _dl_exception_free.
30721 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30722 _dl_signal_exception.
30723 * elf/dl-lookup.c (make_string): Remove.
30724 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30725 _dl_signal_cexception, _dl_exception_free.
30726 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30727 _dl_signal_exception.
30728 * elf/dl-sym.c (do_sym): Likewise.
30729 * elf/dl-version.c (make_string): Remove.
30730 (match_symbol): Use _dl_exception_create_format,
30731 _dl_signal_cexception, _dl_exception_free.
30732 (_dl_check_map_versions): Likewise.
30733 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30734 _dl_catch_exception.
30735 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30736 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30737 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30738 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30739 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30740 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30741 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30742 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30743 Likewise.
30744 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30746 (ld.so): Likewise.
30747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30748 (ld.so): Likewise.
30749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30750 Likewise.
30751 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30752 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30753 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30754 Likewise.
30755 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30756 Likewise.
30757 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30758
30759 2017-08-10 Florian Weimer <fweimer@redhat.com>
30760
30761 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30762 attribute_hidden, internal_function.
30763 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30764 internal_function.
30765
30766 2017-08-10 Florian Weimer <fweimer@redhat.com>
30767
30768 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30769 function which calls __builtin_unreachable.
30770
30771 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30772
30773 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30774 Indian monetary formatting
30775 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30776 test cases.
30777
30778 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30779
30780 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30781 Fix typo in comment.
30782
30783 [BZ #21928]
30784 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30785 PTRACE_SEIZE_DEVEL): Remove.
30786 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30787 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30788 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30789 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30790 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30791
30792 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30793
30794 * posix/bits/types.h (__qaddr_t): Remove.
30795
30796 [BZ #21457]
30797 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30798 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30799 __glibc_reserved1.
30800 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30801 (ucontext_t): Use __ctx with uc_flags.
30802 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30803 (__ctxt): Likewise.
30804 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30805 __glibc_reserved1.
30806 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30807 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30808 __glibc_reserved1.
30809 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30810 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30811 __glibc_reserved1.
30812 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30813 macro.
30814 (ucontext_t): Use __ctx with uc_flags.
30815 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30816 (ucontext_t): Use __ctx with uc_flags.
30817 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30818 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30819 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30820 (ucontext_t): Use __ctx with uc_flags.
30821 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30822 undefine further down.
30823 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30824 __glibc_reserved1.
30825 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30826 undefine further down.
30827 (ucontext_t): Use __ctx with uc_flags.
30828 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30829 undefine further down.
30830 (ucontext_t): Use __ctx with uc_flags.
30831 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30832 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30833 Rename uc_pad to __glibc_reserved1.
30834 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30835 undefine further down.
30836 (ucontext_t): Use __ctx with uc_flags.
30837 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30838 further down.
30839 (ucontext_t): Use __ctx with uc_flags.
30840 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30841 __ctx with uc_flags.
30842 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30843 (ucontext_t): Use __ctx with uc_flags.
30844 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30845 __ctx with uc_flags.
30846
30847 2017-08-09 Florian Weimer <fweimer@redhat.com>
30848
30849 [BZ #21932]
30850 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30851 before early return.
30852
30853 2017-08-09 Andreas Schwab <schwab@suse.de>
30854
30855 [BZ #21041]
30856 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30857 renamed alias.
30858
30859 [BZ #21041]
30860 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30861 tst-compat-forwarder.
30862 (modules-names): Add tst-compat-forwarder-mod.
30863 ($(objpfx)tst-compat-forwarder): Depend on
30864 $(objpfx)tst-compat-forwarder-mod.so.
30865 * nptl/tst-compat-forwarder.c: New file.
30866 * nptl/tst-compat-forwarder-mod.c: New file.
30867
30868 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30869
30870 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30871 comments.
30872
30873 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30874 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30875 memcpy_falkor.
30876 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30877 Bump.
30878 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30879 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30880 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30881 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30882 Add falkor.
30883 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30884 New macro.
30885
30886 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30887
30888 [BZ #759]
30889 * manual/setjmp.texi (getcontex): Document uc_stack value
30890 compatibility differences.
30891
30892 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30893
30894 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30895 (old_malloc_hook): Likewise.
30896 (old_memalign_hook): Likewise.
30897 (old_realloc_hook): Likewise.
30898 (struct hdr): Likewise.
30899 (flood): Likewise.
30900 (freehook): Likewise.
30901 (mallochook): Likewise.
30902 (memalignhook): Likewise.
30903 (reallochook): Likewise.
30904 (mprobe): Likewise.
30905 * malloc/mtrace.c (mallwatch): Likewise.
30906 (tr_old_free_hook): Likewise.
30907 (tr_old_malloc_hook): Likewise.
30908 (tr_old_realloc_hook): Likewise.
30909 (tr_old_memalign_hook): Likewise.
30910 (tr_where): Likewise.
30911 (lock_and_info): Likewise.
30912 (tr_freehook): Likewise.
30913 (tr_mallochook): Likewise.
30914 (tr_reallochook): Likewise.
30915 (tr_memalignhook): Likewise.
30916 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30917 * misc/mmap.c (__mmap): Likewise.
30918 * misc/mmap64.c (__mmap64): Likewise.
30919 * misc/mprotect.c (__mprotect): Likewise.
30920 * misc/msync.c (msync): Likewise.
30921 * misc/munmap.c (__munmap): Likewise.
30922 * posix/posix_madvise.c (posix_madvise): Likewise.
30923 * socket/send.c (__send): Likewise.
30924 * socket/sendto.c (__sendto): Likewise.
30925 * socket/setsockopt.c (__setsockopt): Likewise.
30926 * string/memcmp.c (__ptr_t): Remove macro.
30927 (MEMCMP): Use void * instead of ptr_t.
30928 * string/memrchr.c (__ptr_t): Remove macro.
30929 (__memrchr): Use void * instead of ptr_t.
30930 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
30931 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30932 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30933 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
30934 * sysdeps/mach/msync.c (msync): Likewise.
30935 * sysdeps/mach/munmap.c (__munmap): Likewise.
30936 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
30937 Likewise.
30938 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30939 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
30940 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
30941 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
30942 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30943 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30944 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
30945 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
30946 Likewise.
30947 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30948 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
30949 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
30950 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
30951 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
30952 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
30953 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
30954 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
30955 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
30956 Likewise.
30957 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
30958 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
30959 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
30960 (MEMCMP): Use void * instead of ptr_t.
30961 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
30962 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
30963
30964 2017-08-08 Florian Weimer <fweimer@redhat.com>
30965
30966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
30967 return statement.
30968
30969 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
30970
30971 [BZ #21913]
30972 * csu/libc-tls.c: Include <startup.h> first.
30973 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
30974 * elf/dl-tunables.c: Include <startup.h> first.
30975 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
30976 * sysdeps/generic/startup.h: New file.
30977 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
30978 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
30979 (I386_USE_SYSENTER): New. Defined to 0.
30980
30981 2017-08-08 Andreas Schwab <schwab@suse.de>
30982
30983 [BZ #21041]
30984 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
30985 * nptl/pt-system.c (system): Likewise.
30986
30987 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30988
30989 [BZ #21780]
30990 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
30991 EOPNOTSUPP.
30992 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
30993 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
30994 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
30995 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
30996 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
30997 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
30998 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
30999
31000 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31001
31002 [BZ #21899]
31003 * bits/sigaction.h (struct sigaction): Define sa_handler and
31004 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31005 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31006 [__USE_XOPEN_EXTENDED].
31007 (SA_RESTART): Likewise.
31008 (SA_NODEFER): Likewise.
31009 (SA_RESETHAND): Likewise.
31010 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31011 (struct sigaction): Define sa_handler and sa_sigaction using union
31012 also for [__USE_XOPEN_EXTENDED].
31013 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31014 [__USE_XOPEN_EXTENDED].
31015 (SA_RESTART): Likewise.
31016 (SA_NODEFER): Likewise.
31017 (SA_RESETHAND): Likewise.
31018 * sysdeps/unix/sysv/linux/bits/sigaction.h
31019 (struct sigaction): Define sa_handler and sa_sigaction using union
31020 also for [__USE_XOPEN_EXTENDED].
31021 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31022 [__USE_XOPEN_EXTENDED].
31023 (SA_RESTART): Likewise.
31024 (SA_NODEFER): Likewise.
31025 (SA_RESETHAND): Likewise.
31026 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31027 (struct sigaction): Define sa_handler and sa_sigaction using union
31028 also for [__USE_XOPEN_EXTENDED].
31029 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31030 [__USE_XOPEN_EXTENDED].
31031 (SA_RESTART): Likewise.
31032 (SA_NODEFER): Likewise.
31033 (SA_RESETHAND): Likewise.
31034 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31035 (struct sigaction): Define sa_handler and sa_sigaction using union
31036 also for [__USE_XOPEN_EXTENDED].
31037 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31038 [__USE_XOPEN_EXTENDED].
31039 (SA_RESTART): Likewise.
31040 (SA_NODEFER): Likewise.
31041 (SA_RESETHAND): Likewise.
31042 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31043 (struct sigaction): Define sa_handler and sa_sigaction using union
31044 also for [__USE_XOPEN_EXTENDED].
31045 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31046 [__USE_XOPEN_EXTENDED].
31047 (SA_RESTART): Likewise.
31048 (SA_NODEFER): Likewise.
31049 (SA_RESETHAND): Likewise.
31050 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31051 (struct sigaction): Define sa_handler and sa_sigaction using union
31052 also for [__USE_XOPEN_EXTENDED].
31053 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31054 [__USE_XOPEN_EXTENDED].
31055 (SA_RESTART): Likewise.
31056 (SA_NODEFER): Likewise.
31057 (SA_RESETHAND): Likewise.
31058 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31059 (struct sigaction): Define sa_handler and sa_sigaction using union
31060 also for [__USE_XOPEN_EXTENDED].
31061 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31062 [__USE_XOPEN_EXTENDED].
31063 (SA_RESTART): Likewise.
31064 (SA_NODEFER): Likewise. Define directly rather than as alias.
31065 (SA_RESETHAND): Likewise.
31066 (SA_INTERRUPT): Define only for [__USE_MISC].
31067 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31068 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31069 [__USE_MISC].
31070 (SA_STACK): Define only for [__USE_MISC].
31071 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31072 (struct sigaction): Define sa_handler and sa_sigaction using union
31073 also for [__USE_XOPEN_EXTENDED].
31074 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31075 [__USE_XOPEN_EXTENDED].
31076 (SA_RESTART): Likewise.
31077 (SA_NODEFER): Likewise.
31078 (SA_RESETHAND): Likewise.
31079 (SA_NOPTRACE): Define only for [__USE_MISC].
31080
31081 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31082 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31083 (struct catalog_info): Likewise.
31084 * inet/htontest.c (lo): Likewise.
31085 (foo): Likewise.
31086 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31087 * inet/inet_net.c (inet_network): Likewise.
31088 * inet/inet_netof.c (inet_netof): Likewise.
31089 * inet/rcmd.c (__ivaliduser): Likewise.
31090 (iruserok): Likewise.
31091 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31092 * locale/programs/locale-spec.c (locale_special): Likewise.
31093 * nis/nis_findserv.c (struct findserv_req): Likewise.
31094 (__nis_findfastest_with_timeout): Likewise.
31095 * nss/test-netdb.c (test_network): Likewise.
31096 * resolv/inet_neta.c (inet_neta): Likewise.
31097 * resolv/ns_date.c (ns_datetosecs): Likewise.
31098 (SECS_PER_DAY): Likewise.
31099 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31100 Likewise.
31101 * resolv/res_comp.c (__putlong): Likewise.
31102 (__putshort): Likewise.
31103 (_getlong): Likewise.
31104 (_getshort): Likewise.
31105 * resolv/res_debug.c (p_time): Likewise.
31106 (precsize_ntoa): Likewise.
31107 (precsize_aton): Likewise.
31108 (latlon2ul): Likewise.
31109 (loc_aton): Likewise.
31110 (loc_ntoa): Likewise.
31111 * resolv/res_hconf.c (struct netaddr): Likewise.
31112 (_res_hconf_reorder_addrs): Likewise.
31113 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31114 (clnttcp_control): Likewise.
31115 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31116 (clntudp_control): Likewise.
31117 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31118 (clntunix_control): Likewise.
31119 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31120 * sunrpc/rpc/auth.h (union des_block): Likewise.
31121 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31122 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31123 (xdrrec_create): Likewise.
31124 (xdrrec_endofrecord): Likewise.
31125 (flush_out): Likewise.
31126 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31127 (xdrstdio_putlong): Likewise.
31128 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31129 Likewise.
31130
31131 * misc/sys/cdefs.h (__long_double_t): Remove.
31132 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31133 instead of __long_double_t,
31134 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31135
31136 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31137
31138 * benchtests/scripts/compare_strings.py: Avoid display error when
31139 running on a text terminal.
31140
31141 * benchtests/scripts/compare_strings.py (main): Add an
31142 optional -base option.
31143 (process_results): New argument base_func.
31144
31145 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31146 hardcoding memcpy.
31147 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31148 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31149
31150 2017-08-07 Andreas Schwab <schwab@suse.de>
31151
31152 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31153 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31154 * intl/Makefile ($(objpfx)tst-gettext.out)
31155 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31156 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31157 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31158 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31159 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31160 * posix/Makefile ($(objpfx)globtest.out)
31161 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31162 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31163 ($(objpfx)tst-printf.out): Likewise.
31164 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31165 ($(objpfx)tst-setcontext3.out): Likewise.
31166
31167 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31168
31169 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31170 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31171 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31172 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31173 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31174 and mptan-fma.
31175 (CFLAGS-doasin-fma.c): New.
31176 (CFLAGS-dosincos-fma.c): Likewise.
31177 (CFLAGS-e_asin-fma.c): Likewise.
31178 (CFLAGS-e_atan2-fma.c): Likewise.
31179 (CFLAGS-e_exp-fma.c): Likewise.
31180 (CFLAGS-e_log-fma.c): Likewise.
31181 (CFLAGS-e_pow-fma.c): Likewise.
31182 (CFLAGS-halfulp-fma.c): Likewise.
31183 (CFLAGS-mpa-fma.c): Likewise.
31184 (CFLAGS-mpatan-fma.c): Likewise.
31185 (CFLAGS-mpatan2-fma.c): Likewise.
31186 (CFLAGS-mpexp-fma.c): Likewise.
31187 (CFLAGS-mplog-fma.c): Likewise.
31188 (CFLAGS-mpsqrt-fma.c): Likewise.
31189 (CFLAGS-mptan-fma.c): Likewise.
31190 (CFLAGS-s_atan-fma.c): Likewise.
31191 (CFLAGS-sincos32-fma.c): Likewise.
31192 (CFLAGS-slowexp-fma.c): Likewise.
31193 (CFLAGS-slowpow-fma.c): Likewise.
31194 (CFLAGS-s_sin-fma.c): Likewise.
31195 (CFLAGS-s_tan-fma.c): Likewise.
31196 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31197 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31198 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31199 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31200 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31201 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31202 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31203 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31204 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31205 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31206 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31207 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31208 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31209 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31210 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31211 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31212 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31213 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31214 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31215 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31216 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31217 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31218 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31219 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31220 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31221 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31222 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31223 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31224 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31225 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31226 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31227
31228 2017-08-04 Joseph Myers <joseph@codesourcery.com>
31229
31230 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31231 (min_of_type_f): New macro.
31232 (min_of_type_): Likewise.
31233 (min_of_type_l): Likewise.
31234 (min_of_type_f128): Likewise.
31235 (min_of_type): Define using __MATH_TG and taking an expression
31236 argument.
31237 (math_check_force_underflow): Pass expression instead of type to
31238 min_of_type.
31239 (math_check_force_underflow_nonneg): Likewise.
31240
31241 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31242
31243 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31244 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31245 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31246
31247 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31248
31249 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31250 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31251 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31252 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31253 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31254 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31255 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31256 memmove_chk-nonshared and memset_chk-nonshared
31257 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31258 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31259 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31260 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31261 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31262 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31263 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31264 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31265 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31266 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31267 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31268 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31269 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31270 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31271 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31272 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31273 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31274 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31275 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31276 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31277 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31278 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31279 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31280 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31281 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31282 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31283 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31284 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31285 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31286 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31287 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31288 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31289 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31290 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31291 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31292 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31293 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31294 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31295 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31296 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31297 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31298 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31299 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31300 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31301 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31302 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31303 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31304 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31305 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31306 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31307 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31308 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31309 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31310 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31311 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31312 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31313 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31314 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31315 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31316 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31317 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31318 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31319 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31320 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31321 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31322 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31323 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31324 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31325 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31326 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31327 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31328 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31329 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31330 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31331 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31332 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31333 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31334 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31335 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31336 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31337 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31338 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31339 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31340 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31341 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31342 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31343 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31344 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31345 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31346 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31347 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31348 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31349 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31350 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31351 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31352 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31353 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31354 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31355 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31356 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31357 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31358 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31359 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31360 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31361 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31362 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31363 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31364 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31365
31366 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31367
31368 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31369 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31370 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31371 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31372 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31373 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31374 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31375 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31376 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31377 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31378 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31379 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31380 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31381 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31382 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31383 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31384 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31385 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31386 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31387 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31388 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31389 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31390 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31391 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31392 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31393 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31394 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31395 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31396 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31397 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31398 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31399 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31400 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31401 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31402 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31403 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31404 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31405 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31406 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31407 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31408 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31409 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31410 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31411 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31412 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31413 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31414 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31415 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31416 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31417 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31418 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31419 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31420 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31421 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31422 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31423 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31424 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31425 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31426 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31427 ...
31428 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31429 Don't include <sysdep.h> nor <init-arch.h>.
31430 (_ZGVbN2v_cos): Removed.
31431 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31432 ...
31433 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31434 Don't include <sysdep.h> nor <init-arch.h>.
31435 (_ZGVdN4v_cos): Removed.
31436 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31437 ...
31438 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31439 Don't include <sysdep.h> nor <init-arch.h>.
31440 (_ZGVeN8v_cos): Removed.
31441 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31442 ...
31443 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31444 Don't include <sysdep.h> nor <init-arch.h>.
31445 (_ZGVbN2v_exp): Removed.
31446 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31447 ...
31448 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31449 Don't include <sysdep.h> nor <init-arch.h>.
31450 (_ZGVdN4v_exp): Removed.
31451 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31452 ...
31453 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31454 Don't include <sysdep.h> nor <init-arch.h>.
31455 (_ZGVeN8v_exp): Removed.
31456 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31457 ...
31458 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31459 Don't include <sysdep.h> nor <init-arch.h>.
31460 (_ZGVbN2v_log): Removed.
31461 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31462 ...
31463 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31464 Don't include <sysdep.h> nor <init-arch.h>.
31465 (_ZGVdN4v_log): Removed.
31466 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31467 ...
31468 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31469 Don't include <sysdep.h> nor <init-arch.h>.
31470 (_ZGVeN8v_log): Removed.
31471 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31472 ...
31473 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31474 Don't include <sysdep.h> nor <init-arch.h>.
31475 (_ZGVbN2vv_pow): Removed.
31476 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31477 ...
31478 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31479 Don't include <sysdep.h> nor <init-arch.h>.
31480 (_ZGVdN4vv_pow): Removed.
31481 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31482 ...
31483 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31484 Don't include <sysdep.h> nor <init-arch.h>.
31485 (_ZGVeN8vv_pow): Removed.
31486 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31487 ...
31488 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31489 Don't include <sysdep.h> nor <init-arch.h>.
31490 (_ZGVbN2v_sin): Removed.
31491 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31492 ...
31493 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31494 Don't include <sysdep.h> nor <init-arch.h>.
31495 (_ZGVbN4v_sin): Removed.
31496 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31497 ...
31498 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31499 Don't include <sysdep.h> nor <init-arch.h>.
31500 (_ZGVbN8v_sin): Removed.
31501 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31502 ...
31503 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31504 Don't include <sysdep.h> nor <init-arch.h>.
31505 (_ZGVbN2vvv_sincos): Removed.
31506 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31507 ...
31508 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31509 Don't include <sysdep.h> nor <init-arch.h>.
31510 (_ZGVdN4vvv_sincos): Removed.
31511 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31512 ...
31513 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31514 Don't include <sysdep.h> nor <init-arch.h>.
31515 (_ZGVeN8vvv_sincos): Removed.
31516 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31517 ...
31518 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31519 Don't include <sysdep.h> nor <init-arch.h>.
31520 (_ZGVeN16v_cosf): Removed.
31521 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31522 ...
31523 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31524 Don't include <sysdep.h> nor <init-arch.h>.
31525 (_ZGVbN4v_cosf): Removed.
31526 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31527 ...
31528 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31529 Don't include <sysdep.h> nor <init-arch.h>.
31530 (_ZGVdN8v_cosf): Removed.
31531 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31532 ...
31533 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31534 Don't include <sysdep.h> nor <init-arch.h>.
31535 (_ZGVeN16v_expf): Removed.
31536 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31537 ...
31538 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31539 Don't include <sysdep.h> nor <init-arch.h>.
31540 (_ZGVbN4v_expf): Removed.
31541 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31542 ...
31543 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31544 Don't include <sysdep.h> nor <init-arch.h>.
31545 (_ZGVdN8v_expf): Removed.
31546 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31547 ...
31548 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31549 Don't include <sysdep.h> nor <init-arch.h>.
31550 (_ZGVeN16v_logf): Removed.
31551 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31552 ...
31553 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31554 Don't include <sysdep.h> nor <init-arch.h>.
31555 (_ZGVbN4v_logf): Removed.
31556 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31557 ...
31558 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31559 Don't include <sysdep.h> nor <init-arch.h>.
31560 (_ZGVdN8v_logf): Removed.
31561 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31562 ...
31563 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31564 Don't include <sysdep.h> nor <init-arch.h>.
31565 (_ZGVeN16vv_powf): Removed.
31566 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31567 ...
31568 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31569 Don't include <sysdep.h> nor <init-arch.h>.
31570 (_ZGVbN4vv_powf): Removed.
31571 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31572 ...
31573 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31574 Don't include <sysdep.h> nor <init-arch.h>.
31575 (_ZGVdN8vv_powf): Removed.
31576 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31577 ...
31578 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31579 Don't include <sysdep.h> nor <init-arch.h>.
31580 (_ZGVeN16vvv_sincosf): Removed.
31581 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31582 ...
31583 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31584 Don't include <sysdep.h> nor <init-arch.h>.
31585 (_ZGVbN4vvv_sincosf): Removed.
31586 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31587 ...
31588 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31589 Don't include <sysdep.h> nor <init-arch.h>.
31590 (_ZGVdN8vvv_sincosf): Removed.
31591 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31592 ...
31593 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31594 Don't include <sysdep.h> nor <init-arch.h>.
31595 (_ZGVeN16v_sinf): Removed.
31596 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31597 ...
31598 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31599 Don't include <sysdep.h> nor <init-arch.h>.
31600 (_ZGVbN4v_sinf): Removed.
31601 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31602 ...
31603 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31604 Don't include <sysdep.h> nor <init-arch.h>.
31605 (_ZGVdN8v_sinf): Removed.
31606
31607 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31608
31609 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31610 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31611 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31612 s_rint-sse4_1 and s_rintf-sse4_1.
31613 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31614 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31615 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31616 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31617 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31618 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31619 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31620 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31621 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31622 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31623 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31624 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31625 (__ceil): Removed.
31626 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31627 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31628 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31629 (__ceilf): Removed.
31630 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31631 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31632 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31633 (__floor): Removed.
31634 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31635 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31636 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31637 (__floorf): Removed.
31638 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31639 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31640 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31641 (__nearbyint): Removed.
31642 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31643 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31644 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31645 (__nearbyintf): Removed.
31646 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31647 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31648 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31649 (__rint): Removed.
31650 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31651 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31652 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31653 (__rintf): Removed.
31654
31655 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31656
31657 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31658 SHARED. Avoid dynamic relocation against main in static PIE.
31659
31660 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31661
31662 [BZ #21815]
31663 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31664 (LDFLAGS-tst-prelink): Likewise.
31665
31666 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31667
31668 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31669 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31670 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31671 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31672 (INTERNAL_SYSCALL_NCS): Likewise.
31673 (LOADARGS_1): Likewise.
31674 (LOADARGS_5): Likewise.
31675 (RESTOREARGS_1): Likewise.
31676 (RESTOREARGS_5): Likewise.
31677
31678 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31679
31680 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31681 (MEMPCPY_SYMBOL): Likewise.
31682 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31683 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31684 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31685 in libc.a.
31686 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31687 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31688 Likewise.
31689 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31690 (__hidden_ver1): Don't use in libc.a.
31691 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31692 (__mempcpy): Don't create a weak alias in libc.a.
31693 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31694 libc.a.
31695 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31696 (__hidden_ver1): Don't use in libc.a.
31697
31698 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31699
31700 * config.make.in (have-insert): New.
31701 * configure.ac (libc_cv_insert): New. Set to yes if linker
31702 supports INSERT in linker script.
31703 (AC_SUBST(libc_cv_insert): New.
31704 * configure: Regenerated.
31705 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31706 if $(have-insert) == yes.
31707
31708 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31709
31710 * elf/Makefile (tests): Add vismain only if
31711 $(have-protected-data) == yes.
31712 (tests-pie): Likewise.
31713
31714 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31715
31716 [BZ #21871]
31717 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31718 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31719
31720 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31721
31722 [BZ #21790]
31723 * sysdeps/i386/i586/memset.S
31724 (__memset_zero_constant_len_parameter): Removed.
31725 * sysdeps/i386/i686/memset.S
31726 (__memset_zero_constant_len_parameter): Likewise.
31727 * sysdeps/i386/i686/multiarch/memset_chk.S
31728 (__memset_zero_constant_len_parameter): Likewise.
31729 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31730 Likewise.
31731
31732 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31733
31734 * stdlib/getentropy.c (getentropy): Change return type to int.
31735
31736 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31737
31738 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31739
31740 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31741
31742 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31743 u_intN_t.
31744 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31745 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31746 Likewise.
31747 (ieee_float_shape_type): Likewise.
31748 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31749 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31750 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31751 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31752 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31753 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31754 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31755 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31756 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31757 Likewise.
31758 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31759 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31760 (__ieee754_yn): Likewise.
31761 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31762 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31763 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31764 Likewise.
31765 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31766 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31767 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31768 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31769 (__erfc): Likewise.
31770 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31771 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31772 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31773 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31774 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31775 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31776 Likewise.
31777 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31778 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31779 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31780 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31781 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31782 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31783 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31784 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31785 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31786 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31787 (__issignaling): Likewise.
31788 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31789 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31790 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31791 Likewise.
31792 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31793 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31794 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31795 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31796 Likewise.
31797 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31798 Likewise.
31799 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31800 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31801 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31802 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31803 (__erfcf): Likewise.
31804 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31805 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31806 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31807 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31808 Likewise.
31809 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31810 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31811 Likewise.
31812 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31813 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31814 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31815 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31816 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31817 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31818 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31819 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31820 Likewise.
31821 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31822 Likewise.
31823 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31824 Likewise.
31825 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31826 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31827 Likewise.
31828 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31829 Likewise.
31830 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31831 (__ieee754_ynl): Likewise.
31832 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31833 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31834 Likewise.
31835 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31836 Likewise.
31837 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31838 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31839 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31840 Likewise.
31841 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31842 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31843 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31844 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31845 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31846 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31847 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31848 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31849 Likewise.
31850 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31851 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31852 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31853 Likewise.
31854 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31855 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31856 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31857 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31858 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31859 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31860 Likewise.
31861 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31862 Likewise.
31863 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31864 Likewise.
31865 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31866 Likewise.
31867 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31868 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31869 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31870 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31871 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31872 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31873 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31874 Likewise.
31875 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31876 Likewise.
31877 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31878 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31879 Likewise.
31880 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31881 (__ieee754_remainderl): Likewise.
31882 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31883 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31884 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31885 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31886 Likewise.
31887 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31888 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31889 Likewise.
31890 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31891 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31892 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31893 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31894 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31895 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31896 Likewise.
31897 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31898 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31899 (__ieee754_y0l): Likewise.
31900 (pzero): Likewise.
31901 (qzero): Likewise.
31902 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31903 (__ieee754_y1l): Likewise.
31904 (pone): Likewise.
31905 (qone): Likewise.
31906 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31907 (__ieee754_ynl): Likewise.
31908 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31909 (__ieee754_lgammal_r): Likewise.
31910 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31911 Likewise.
31912 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31913 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31914 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31915 (__erfcl): Likewise.
31916 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31917 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31918 Likewise.
31919 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31920 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31921 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31922 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31923 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31924 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31925 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31926 Likewise.
31927 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31928 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31929 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31930 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
31931 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31932 Likewise.
31933 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
31934 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
31935 Likewise.
31936 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
31937 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
31938 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
31939 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31940 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
31941
31942 2017-08-03 Florian Weimer <fweimer@redhat.com>
31943
31944 [BZ #21885]
31945 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
31946 on memory allocation failure.
31947
31948 2017-08-03 Alan Modra <amodra@gmail.com>
31949
31950 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
31951 tst-tlsopt-powerpc.c with function name change and no test harness.
31952 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
31953 Call tls_get_addr_opt_test.
31954 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
31955 (modules-names): Add mod-tlsopt-powerpc.
31956 (mod-tlsopt-powerpc.so-no-z-defs): Define.
31957 (tst-tlsopt-powerpc): Depend on .so.
31958 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
31959 define. Expand use in TLS_GD and TLS_LD.
31960
31961 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31962
31963 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
31964 function.
31965 * sysdeps/posix/shm_open.c: Include <pthread.h>.
31966
31967 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31968
31969 [BZ #21686]
31970 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
31971 comparing size with that of double.
31972 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31973 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31974 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31975 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31976 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31977 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
31978 unsigned __int128 types.
31979
31980 2017-08-02 Steve Ellcey <sellcey@cavium.com>
31981
31982 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
31983 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
31984 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
31985 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
31986 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
31987
31988 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31989
31990 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
31991
31992 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31993
31994 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
31995 of SHARED.
31996 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31997 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31998 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31999 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32000 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32001 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32002 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32003
32004 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32005
32006 [BZ #21685]
32007 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32008 bit-field expressions passed to sizeof or typeof.
32009 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32010 (__TGMATH_F128): Likewise.
32011 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32012 (__TGMATH_CF128): Likewise.
32013 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32014 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32015 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32016 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32017 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32018 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32019 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32020 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32021 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32022 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32023 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32024 (__TGMATH_UNARY_IMAG): Likewise.
32025 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32026 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32027 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32028 type.
32029 (define_vars_for_type): Handle bit_field type specially.
32030 (Tests.__init__): Declare structure with bit-field element.
32031
32032 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32033
32034 [BZ #21791]
32035 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32036 (MEMCPY_CHK): Define only if SHARED is defined.
32037 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32038 Likewise.
32039 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32040 Likewise.
32041
32042 See ChangeLog.18 for earlier changes.