]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix a few whitespace arrangement inconsistencies in time/strftime_l.c
[thirdparty/glibc.git] / ChangeLog
1 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2
3 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
4
5 2019-02-08 Joseph Myers <joseph@codesourcery.com>
6
7 * sysdeps/powerpc/bits/mathinline.h: Remove.
8
9 2019-02-08 Florian Weimer <fweimer@redhat.com>
10
11 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
12 * math/bits/math-finite.h: Move to ...
13 * bits/math-finite.h: ... here.
14
15 2019-02-08 Florian Weimer <fweimer@redhat.com>
16
17 * sysdeps/generic/bits/unistd_ext.h: Move to ...
18 * bits/unistd_ext.h: here.
19
20 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
21
22 [BZ #21915]
23 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
24 * nss/tst-nss-files-hosts-long.c: New file.
25 * nss/tst-nss-files-hosts-long.root: New directory.
26 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
27 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
28
29 2019-02-08 Florian Weimer <fweimer@redhat.com>
30
31 * include/bits/unistd_ext.h: Remove file.
32 * posix/bits/unistd_ext.h: Move to ...
33 * sysdeps/generic/bits/unistd_ext.h: ... here.
34
35 2019-02-08 Florian Weimer <fweimer@redhat.com>
36
37 * include/bits/unistd_ext.h: New file.
38
39 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
40
41 * time/tst-strftime2.c: Use array_length macros instead of magic
42 numbers.
43
44 2019-02-08 Florian Weimer <fweimer@redhat.com>
45
46 [BZ #24161]
47 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
48 argument.
49 * nptl/register-atfork.c (__run_fork_handlers): Only perform
50 locking if the new do_locking argument is true.
51 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
52 __run_fork_handlers.
53
54 2019-02-08 Florian Weimer <fweimer@redhat.com>
55
56 [BZ #6399]
57 Linux: Add gettid system call wrapper.
58 * posix/Makefile (headers): Add bits/unistd_ext.h.
59 * posix/bits/unistd_ext.h: New file.
60 * posix/unistd.h: Include it.
61 * manual/process.texi (Process Identification): Document gettid.
62 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
63 tst-gettid, tst-gettid-kill.
64 (tst-gettid): Link with $(shared-thread-library).
65 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
66 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
67 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
68 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
69 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
70 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
71 Add gettid.
72 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
73 Likewise.
74 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
75 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
76 Likewise.
77 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
78 Likewise.
79 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
80 Likewise.
81 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
82 Likewise.
83 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
84 Likewise.
85 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
86 Likewise.
87 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
88 Likewise.
89 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
90 (GLIBC_2.30): Likewise.
91 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
92 (GLIBC_2.30): Likewise.
93 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
94 (GLIBC_2.30): Likewise.
95 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
96 (GLIBC_2.30): Likewise.
97 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
98 Likewise.
99 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
100 (GLIBC_2.30): Likewise.
101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
102 (GLIBC_2.30): Likewise.
103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
104 (GLIBC_2.30): Likewise.
105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
106 (GLIBC_2.30): Likewise.
107 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
108 Likewise.
109 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
110 Likewise.
111 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
112 Likewise.
113 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
114 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
115 Likewise.
116 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
117 Likewise.
118 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
119 Likewise.
120 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
121 Likewise.
122 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
123
124 2019-02-07 Florian Weimer <fweimer@redhat.com>
125
126 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
127 compatibility symbols.
128
129 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
130
131 [BZ #24180]
132 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
133 Add compiler barriers and comments.
134
135 2019-02-07 Florian Weimer <fweimer@redhat.com>
136
137 * include/array_length.h (array_length): Do not use a statement
138 expression and _Static_assert, so that array_length can be used at
139 file scope and as a constant expression.
140
141 2019-02-07 Florian Weimer <fweimer@redhat.com>
142
143 * support/xdlfcn.h (xdlmopen): Declare.
144 * support/xdlmopen.c: New file.
145 * support/Makefile (libsupport-routines): Add xdlmopen.
146
147 2019-02-06 Joseph Myers <joseph@codesourcery.com>
148
149 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
150 before return type, without separate inline.
151 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
152 * elf/dl-tunables.h (tunable_is_name): Likewise.
153 * malloc/malloc.c (do_set_trim_threshold): Likewise.
154 (do_set_top_pad): Likewise.
155 (do_set_mmap_threshold): Likewise.
156 (do_set_mmaps_max): Likewise.
157 (do_set_mallopt_check): Likewise.
158 (do_set_perturb_byte): Likewise.
159 (do_set_arena_test): Likewise.
160 (do_set_arena_max): Likewise.
161 (do_set_tcache_max): Likewise.
162 (do_set_tcache_count): Likewise.
163 (do_set_tcache_unsorted_limit): Likewise.
164 * nis/nis_subr.c (count_dots): Likewise.
165 * nptl/allocatestack.c (advise_stack_range): Likewise.
166 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
167 (do_sin): Likewise.
168 (reduce_sincos): Likewise.
169 (do_sincos): Likewise.
170 * sysdeps/unix/sysv/linux/x86/elision-conf.c
171 (do_set_elision_enable): Likewise.
172 (TUNABLE_CALLBACK_FNDECL): Likewise.
173
174 2019-02-06 Florian Weimer <fweimer@redhat.com>
175
176 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
177 (xdlsym): Use dlerror to detect a NULL symbol.
178
179 2019-02-06 Florian Weimer <fweimer@redhat.com>
180
181 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
182 <stap-probe.h>.
183 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
184
185 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
186
187 * libio/tst-bz24153.c (wide): Use wide char format specifier.
188
189 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
190
191 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
192 __wmemcmp and weak alias to wmemcmp.
193
194 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
195
196 [BZ #23403]
197 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
198 TLS_TCB_AT_TP tls variant.
199 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
200 Add alignment checks.
201 * support/Makefile (libsupport-routines): Add xposix_memalign and
202 xpthread_setstack.
203 * support/support.h: Add xposix_memalign.
204 * support/xthread.h: Add xpthread_attr_setstack.
205 * support/xposix_memalign.c: New File.
206 * support/xpthread_attr_setstack.c: Likewise.
207
208 2019-02-05 Florian Weimer <fweimer@redhat.com>
209
210 [BZ #24164]
211 arm: Use "nr" constraint for Systemtap probes, to avoid the
212 compiler using memory operands for constants, due to the "o"
213 alternative in the default "nor" constraint.
214 * include/stap-probe.h [USE_STAP_PROBE]: Include
215 <stap-probe-machine.h>
216 * sysdeps/generic/stap-probe-machine.h: New file.
217 * sysdeps/arm/stap-probe-machine.h: Likewise.
218
219 2019-02-04 Joseph Myers <joseph@codesourcery.com>
220
221 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
222 with 0, not tcache->entries[tc_idx].
223
224 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
225 once.
226
227 2019-02-04 Andreas Schwab <schwab@suse.de>
228
229 [BZ #16976]
230 [BZ #17396]
231 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
232 looking up collating elements match against (wide) character
233 sequence instead of name. Correct alignment adjustment.
234 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
235 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
236 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
237 (LOCALES): Add cs_CZ.ISO-8859-2.
238 * posix/tst-fnmatch4.c: New file.
239 * posix/tst-fnmatch5.c: New file.
240 * include/wchar.h (__wmemcmp): Declare.
241 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
242 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
243 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
244 * sysdeps/s390/wmemcmp.c: Likewise.
245
246 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
247
248 [BZ #24155]
249 CVE-2019-7309
250 * NEWS: Updated for CVE-2019-7309.
251 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
252 upper 32 bits of RDX register for x32. Use unsigned Jcc
253 instructions, instead of signed.
254 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
255 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
256
257 2019-02-04 Florian Weimer <fweimer@redhat.com>
258
259 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
260 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
261 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
262 Likewise.
263 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
264 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
265 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
266 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
267 Likewise.
268 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
269 Likewise.
270 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
271 Likewise.
272 (posix_spawn_file_actions_addopen): Likewise.
273 (posix_spawn_file_actions_addclose): Likewise.
274 (posix_spawn_file_actions_adddup2): Likewise.
275 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
276 qualifiers.
277 (posix_spawn_file_actions_addfchdir_np): Likewise.
278
279 2019-02-04 David Newall <glibc@davidnewall.com>
280
281 elf: Implement --preload option for the dynamic linker.
282 * elf/rtld.c (preloadarg): New variable.
283 (handle_preload_list): Pass through “where” argument to
284 do_preload.
285 (dl_main): Handle "--preload" and add second call to
286 handle_preload_list.
287 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
288 (tst-rtld-preload-OBJS): Set variable.
289 (tst-rtld-preload.out): New target.
290 * elf/tst-rtld-preload.sh: New file.
291
292 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
293
294 * Makefile (testrun.sh): Exit in case of incorrect argument.
295
296 2019-02-04 Florian Weimer <fweimer@redhat.com>
297
298 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
299 alignment gaps.
300
301 2019-02-03 Florian Weimer <fweimer@redhat.com>
302
303 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
304 implicit overflow checks.
305
306 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
307
308 * stdlib/isomac.c: Include <unistd.h>.
309
310 2019-02-03 Florian Weimer <fweimer@redhat.com>
311
312 * include/time.h (__tzfile_default): Use int, not long int, for
313 the GMT offsets.
314 * time/tzfile.c (struct ttinfo): Change type of the offset member
315 to int.
316 (__tzfile_read): Remove useless cast.
317 (__tzfile_default): Adjust prototype.
318 * time/tzset.c (tz_rule): Change type of the offset member to int.
319 (parse_offset): Change the type of the sign variable to int.
320
321 2019-02-03 Florian Weimer <fweimer@redhat.com>
322
323 [BZ #24153]
324 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
325 * libio/getchar.c (getchar): Likewise.
326 * libio/getchar_u.c (getchar_unlocked): Likewise.
327 * libio/getwchar.c (getwchar): Likewise.
328 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
329 * libio/iogets.c (_IO_gets): Likewise.
330 * libio/vscanf.c (_IO_vscanf): Likewise.
331 * libio/vwscanf.c (__vwscanf): Likewise.
332 * libio/tst-bz24153.c: New file.
333 * libio/Makefile (tests): Add it.
334
335 2019-02-02 Florian Weimer <fweimer@redhat.com>
336
337 [BZ #14829]
338 * manual/resource.texi (Basic Scheduling Functions): Add
339 portability note. Change process to task throughout the section.
340 Remove incorrect comment about sched_yield as it affects
341 tasks/threads, not entire processes.
342 * sysdeps/unix/sysv/linux/bits/posix_opt.h
343 (_POSIX_PRIORITY_SCHEDULING): Update comment.
344
345 2019-02-01 Joseph Myers <joseph@codesourcery.com>
346
347 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
348 * configure: Regenerated.
349 * manual/install.texi (Tools for Compilation): Update minimum GCC
350 version.
351 * INSTALL: Regenerated.
352
353 2019-02-01 Florian Weimer <fweimer@redhat.com>
354
355 * support/support_test_compare_string.c
356 (support_test_compare_string): Use "string" in error message.
357 * support/tst-test_compare_string.c (do_test): Adjust.
358
359 2019-02-01 Florian Weimer <fweimer@redhat.com>
360
361 * support/support_format_address_family.c
362 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
363
364 2019-02-01 Florian Weimer <fweimer@redhat.com>
365
366 * manual/socket.texi (Internet Address Formats): Clarify the byte
367 order of struct sockaddr_in, struct sockaddr_in6. Document
368 sin6_flowinfo and sin6_scope_id.
369
370 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
371
372 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
373 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
374 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
375 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
376 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
377 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
378
379 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
380
381 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
382 [!MEMCHR](MEMCHR): Set to __memchr.
383 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
384 Add memchr_generic and memchr_nosimd.
385 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
386 (__libc_ifunc_impl_list): Add memchr ifuncs.
387 * sysdeps/aarch64/multiarch/memchr.c: New file.
388 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
389 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
390
391 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
392
393 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
394 Add memset_emag.
395 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
396 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
397 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
398 Add IS_EMAG check for ifunc dispatch.
399 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
400 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
401
402 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
403
404 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
405 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
406 Add emag.
407 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
408 New macro.
409
410 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
411
412 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
413
414 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
415
416 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
417 syscall-template file.
418
419 2019-01-31 Carlos O'Donell <carlos@redhat.com>
420 Torvald Riegel <triegel@redhat.com>
421 Rik Prohaska <prohaska7@gmail.com>
422
423 [BZ# 23844]
424 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
425 tst-rwlock-trywrlock-stall.
426 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
427 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
428 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
429 Set __wrphase_fute to 1 only if we started the write phase.
430 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
431 * nptl/tst-rwlock-trywrlock-stall.c: New file.
432 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
433 * support/xpthread_rwlock_destroy.c: New file.
434 * support/xthread.h: Declare xpthread_rwlock_destroy.
435
436 2019-02-01 Joseph Myers <joseph@codesourcery.com>
437
438 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
439 version to 4.0.2.
440
441 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
442
443 [BZ #24051]
444 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
445 * libio/fileops.c (_IO_new_file_underflow): Likewise
446 * libio/wfileops.c (_IO_wfile_underflow): Likewise
447 * libio/putchar.c (putchar): Likewise.
448 * libio/putchar_u.c (putchar_unlocked): Likewise.
449 * libio/putwchar.c (putchar): Likewise.
450 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
451 * libio/tst-bz24051.c: New test.
452 * libio/Makefile (tests): Add tst-bz24051
453
454 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
455
456 regex: fix read overrun [BZ #24114]
457 Problem found by AddressSanitizer, reported by Hongxu Chen in:
458 https://debbugs.gnu.org/34140
459 * posix/regexec.c (proceed_next_node):
460 Do not read past end of input buffer.
461
462 2019-01-31 Florian Weimer <fweimer@redhat.com>
463
464 [BZ #24059]
465 * nss/nss_files/files-alias.c (get_next_alias): Handle
466 continuation line without newline at the end.
467 * nss/tst-nss-files-alias-truncated.c: New file.
468 * nss/Makefile [$(build-shared)] (tests): Add
469 tst-nss-files-alias-truncated.
470 (tst-nss-files-alias-truncated): Link with libnss_files.so.
471 * support/namespace.h (struct support_chroot_configuration): Add
472 aliases member.
473 (struct support_chroot): Add path_aliases member.
474 * support/support_chroot.c (support_chroot_create): Handle
475 aliases.
476 (support_chroot_free): Free path_aliases.
477
478 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
479
480 * version.h (RELEASE): Set to "development".
481 (VERSION): Set to "2.29.9000".
482 * NEWS: Add section for 2.30.
483
484 * version.h (RELEASE): Set to "stable".
485 (VERSION): Set to "2.29".
486 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
487
488 * NEWS: Add the list of bugs fixed in 2.29.
489 * manual/contrib.texi: Update contributors list with some more
490 names.
491 * manual/install.texi: Update latest versions of packages
492 tested.
493 * INSTALL: Regenerated.
494
495 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
496
497 * po/be.po: Update translations.
498 * po/bg.po: Likewise.
499 * po/ca.po: Likewise.
500 * po/cs.po: Likewise.
501 * po/da.po: Likewise.
502 * po/de.po: Likewise.
503 * po/el.po: Likewise.
504 * po/eo.po: Likewise.
505 * po/es.po: Likewise.
506 * po/fi.po: Likewise.
507 * po/fr.po: Likewise.
508 * po/gl.po: Likewise.
509 * po/hr.po: Likewise.
510 * po/hu.po: Likewise.
511 * po/ia.po: Likewise.
512 * po/id.po: Likewise.
513 * po/it.po: Likewise.
514 * po/ja.po: Likewise.
515 * po/ko.po: Likewise.
516 * po/lt.po: Likewise.
517 * po/nb.po: Likewise.
518 * po/nl.po: Likewise.
519 * po/pl.po: Likewise.
520 * po/pt_BR.po: Likewise.
521 * po/ru.po: Likewise.
522 * po/rw.po: Likewise.
523 * po/sk.po: Likewise.
524 * po/sl.po: Likewise.
525 * po/sv.po: Likewise.
526 * po/tr.po: Likewise.
527 * po/uk.po: Likewise.
528 * po/vi.po: Likewise.
529 * po/zh_CN.po: Likewise.
530 * po/zh_TW.po: Likewise.
531
532 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
533
534 [BZ #24130]
535 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
536 of $f3 register on $y_is_neg path.
537
538 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
539
540 [BZ #24110]
541 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
542 sigaltstack.ss_flags.
543
544 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
545
546 [BZ #23758]
547 * manual/time.texi (strftime): Document "%Ey".
548 * time/strftime_l.c (__strftime_internal): Set the default width
549 padding with zero of "%Ey" to 2.
550
551 [BZ #24096]
552 * manual/time.texi (strftime): Document "%EC" and "%EY".
553 * time/Makefile (tests): Add tst-strftime2.
554 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
555 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
556 override padding for "%Ey".
557 If an optional flag ('_' or '-') is specified to "%EY", interpret the
558 "%Ey" in the subformat as if decorated with that flag.
559 * time/tst-strftime2.c: New file.
560
561 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
562
563 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
564 are not defined.
565
566 [BZ #24122]
567 * elf/Makefile (tests): Add tst-audit13.
568 (modules-names): Add tst-audit13mod1.
569 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
570 rule.
571 * elf/rtld.c (dl_main): Handle invalid audit module version.
572 * elf/tst-audit13.c: New file.
573 * elf/tst-audit13mod1.c: Likewise.
574
575 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
576
577 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
578 returned by __hurd_at_flags.
579 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
580 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
581 directly instead of __hurd_file_name_lookup.
582
583 2019-01-21 Joseph Myers <joseph@codesourcery.com>
584
585 * scripts/build-many-glibcs.py (Context.checkout): Default
586 binutils version to 2.32 branch.
587
588 2019-01-21 Florian Weimer <fweimer@redhat.com>
589
590 [BZ #20018]
591 CVE-2016-10739
592 resolv: Reject trailing characters in host names
593 * include/arpa/inet.h (__inet_aton_exact): Declare.
594 (inet_aton): Remove hidden prototype. No longer used internally.
595 * nscd/gai.c (__inet_aton): Do not define.
596 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
597 * nss/digits_dots.c (__inet_aton): Likewise.
598 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
599 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
600 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
601 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
602 (tst-resolv-trailing): Likewise.
603 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
604 libc.
605 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
606 Make static. Add endp parameter.
607 (__inet_aton_exact): New function.
608 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
609 (__inet_addr): Call inet_aton_end.
610 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
611 not just IPv6. Call __inet_aton_exact.
612 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
613 (tests): Make const. Add additional test cases with trailing
614 characters.
615 (do_test): Use array_length.
616 * resolv/tst-inet_aton_exact.c: New file.
617 * resolv/tst-resolv-trailing.c: Likewise.
618 * resolv/tst-resolv-nondecimal.c: Likewise.
619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
620
621 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
622
623 [BZ# 24097]
624 CVE-2019-6488
625 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
626 Clear the upper 32 bits of RSI register.
627 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
628 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
629 and tst-size_t-wcsnlen.
630 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
631 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
632
633 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
634
635 [BZ# 24097]
636 CVE-2019-6488
637 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
638 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
639 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
640 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
641 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
642
643 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
644
645 [BZ# 24097]
646 CVE-2019-6488
647 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
648 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
649 * sysdeps/x86_64/strcmp.S: Likewise.
650 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
651 tst-size_t-strncmp and tst-size_t-wcsncmp.
652 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
653 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
654 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
655
656 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
657
658 [BZ# 24097]
659 CVE-2019-6488
660 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
661 RDX_LP for length. Clear the upper 32 bits of RDX register.
662 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
663 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
664 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
665 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
666
667 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
668
669 [BZ# 24097]
670 CVE-2019-6488
671 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
672 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
673 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
674 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
675
676 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
677
678 [BZ# 24097]
679 CVE-2019-6488
680 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
681 length. Clear the upper 32 bits of RDX register.
682 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
683 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
684 Likewise.
685 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
686 Likewise.
687 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
688 tst-size_t-wmemchr.
689 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
690
691 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
692
693 [BZ# 24097]
694 CVE-2019-6488
695 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
696 length. Clear the upper 32 bits of RDX register.
697 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
698 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
699 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
700 tst-size_t-wmemcmp.
701 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
702 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
703
704 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
705
706 [BZ# 24097]
707 CVE-2019-6488
708 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
709 upper 32 bits of RDX register.
710 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
711 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
712 tst-size_t-wmemchr.
713 * sysdeps/x86_64/x32/test-size_t.h: New file.
714 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
715 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
716
717 2019-01-18 Florian Weimer <fweimer@redhat.com>
718
719 [BZ #24112]
720 resolv: Do not send queries for non-host-names in nss_dns.
721 * resolv/nss_dns/dns-host.c (check_name): New function.
722 (_nss_dns_gethostbyname2_r): Use it.
723 (_nss_dns_gethostbyname_r): Likewise.
724 (_nss_dns_gethostbyname4_r): Likewise.
725
726 2019-01-21 Florian Weimer <fweimer@redhat.com>
727
728 * resolv/inet_addr.c: Reformat to GNU style.
729 (__inet_addr, __inet_aton): Update comment.
730
731 2019-01-18 Florian Weimer <fweimer@redhat.com>
732
733 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
734 ("malloc: Use current (C11-style) atomics for fastbin access").
735 This commit introduces a substantial performance regression on
736 POWER and Aarch64.
737 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
738 (REMOVE_FB): Define.
739 (_int_malloc): Use it and reindent.
740 (_int_free): Use CAS loop with
741 catomic_compare_and_exchange_val_rel.
742 (malloc_consolidate): Use atomic_exchange_acq.
743
744
745 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
746
747 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
748 -Wl,-z,now.
749 (LDFLAGS-tst-minsigstksz-2): Likewise.
750 (LDFLAGS-tst-minsigstksz-3): Likewise.
751 (LDFLAGS-tst-minsigstksz-3a): Likewise.
752 (LDFLAGS-tst-minsigstksz-4): Likewise.
753
754 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
755
756 * manual/time.texi (strftime): Fix the wording to "alternative" rather
757 than "alternate".
758
759 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
760
761 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
762
763 2019-01-16 Zack Weinberg <zackw@panix.com>
764
765 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
766 (xget_sigstack_location): New test support functions.
767 * support/xsigstack.c: New file, implementing them.
768 * support/tst-xsigstack.c: New test for them.
769 * support/Makefile: Update.
770
771 * signal/tst-minsigstksz-1.c
772 * signal/tst-minsigstksz-2.c
773 * signal/tst-minsigstksz-3.c
774 * signal/tst-minsigstksz-3a.c
775 * signal/tst-minsigstksz-4.c: New tests.
776 * signal/Makefile: Run them.
777
778 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
779
780 * po/libc.pot: Regenerate.
781
782 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
783
784 * math/libm-test-fma.inc (fma_test_data): Set
785 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
786
787 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
788
789 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
790 (do_test): Changed __vector __int128_t to __vector unsigned int.
791
792 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
793
794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
795 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
796 stpcpy-avx2 and stpncpy-avx2.
797 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
798 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
799 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
800 and __stpncpy_avx2.
801 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
802 ifunc-strcpy.h}: rename header for a more generic name.
803 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
804 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
805 AVX unaligned load is fast and vzeroupper is preferred.
806 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
807 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
808 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
809 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
810 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
811 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
812
813 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
814
815 * argp/argp-help.c: Fix typo in comment.
816 * misc/sys/cdefs.h: Likewise.
817 * posix/regexec.c (sift_states_iter_mb): Likewise.
818 * socket/sockatmark.c: Likewise.
819 * socket/sys/socket.h: Likewise.
820 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
821 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
822 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
823 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
824 * sysdeps/unix/sockatmark.c: Likewise.
825 * time/strptime_l.c: Likewise.
826
827 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
828
829 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
830 missing space after the cast of "_NL_CURRENT".
831
832 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
833
834 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
835 ifdef to fix read of VSCR.
836 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
837 tst-ucontext-ppc64-vscr.c to test list.
838 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
839
840 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
841
842 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
843 fall-through.
844
845 2019-01-09 Jim Wilson <jimw@sifive.com>
846
847 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
848
849 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
850
851 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
852 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
853 __memcpy_falkor for ares.
854 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
855 Add new define.
856 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
857 Add ares cpu.
858
859 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
860
861 [BZ #24066]
862 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
863 4_FP_W_TYPEs are used for IEEE quad precision.
864 * soft-fp/extendhftf2.c: Likewise.
865 * soft-fp/extendsftf2.c: Likewise.
866 * soft-fp/extendxftf2.c: Likewise.
867 * soft-fp/trunctfdf2.c: Likewise.
868 * soft-fp/trunctfhf2.c: Likewise.
869 * soft-fp/trunctfsf2.c: Likewise.
870 * soft-fp/trunctfxf2.c: Likewise.
871 * sysdeps/alpha/ots_cvttx.c: Likewise.
872 * sysdeps/alpha/ots_cvtxt.c: Likewise.
873 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
874 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
875 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
876 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
877 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
878 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
879 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
880 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
881 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
882 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
883 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
884 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
885 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
886 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
887 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
888 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
889
890 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
891
892 [BZ #24024]
893 * Makeconfig: Build libm with -fno-math-errno but build the remaining
894 code with -fmath-errno.
895 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
896 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
897 * string/test-strerror-errno.c: New file.
898
899 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
900
901 [BZ #24046]
902 * localedata/locales/en_US (date_fmt): Add, set to
903 "%a %d %b %Y %r %Z".
904
905 2019-01-07 Florian Weimer <fweimer@redhat.com>
906
907 [BZ #24063]
908 * manual/arith.texi (Math Error Reporting): Use @code{errno}
909 instead of @var{errno}.
910 (Parsing of Integers): Likewise.
911 (Parsing of Floats): Likewise.
912 * manual/filesys.texi (Working with Directory Trees): Likewise.
913 (Temporary Files): Likewise.
914 * manual/job.texi (Terminal Access Functions): Likewise.
915 * manual/llio.texi (Synchronizing I/O): Likewise.
916 * manual/math.texi (SVID Random): Likewise.
917 * manual/message.texi (The catgets Functions): Likewise.
918 (Translation with gettext): Likewise.
919 (Locating gettext catalog): Likewise.
920 (Charset conversion in gettext): Likewise.
921 * manual/nss.texi (NSS Module Function Internals): Likewise.
922 * manual/search.texi (Hash Search Function): Likewise.
923 * manual/setjmp.texi (System V contexts): Likewise.
924 * manual/time.texi (Sleeping): Likewise.
925 * manual/users.texi (Lookup User): Likewise.
926 (Lookup Group): Likewise.
927
928 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
929
930 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
931 fix typo.
932
933 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
934
935 [BZ #19444]
936 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
937 __builtin_unreachable for default case in switch.
938 (__ieee754_yn): Likewise.
939 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
940 (__ieee754_ynl): Likewise.
941 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
942 (__ieee754_ynl): Likewise.
943 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
944 (__ieee754_ynl): Likewise.
945
946 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
947
948 * manual/maint.texi: Use @{ and @}.
949
950 2019-01-04 Florian Weimer <fweimer@redhat.com>
951
952 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
953 function.
954 (do_in_chroot_1): Call it.
955 (run_chroot_tests):
956 Improve error reporting in case it is not possible to create a
957 collision for the PTY name required by the test.
958
959 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
960
961 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
962 lll_wait_tid with timeout.
963 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
964 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
965 futex_reltimed_wait_cancelable for cancelabla mode.
966 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
967 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
968 macros.
969 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
970 * sysdeps/posix/waitid.c (__sigwait): Likewise.
971 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
972 SYSCALL_CANCEL_NCS): New macro.
973 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
974 (lll_timedwait_tid): Remove macro.
975 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
976 Likewise.
977 (lll_timedwait_tid): Likewise.
978 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
979 Likewise.
980 (lll_timedwait_tid): Likewise.
981 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
982 Likewise.
983 (lll_timedwait_tid): Likewise.
984 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
985 Use INTERNAL_SYSCALL_CANCEL.
986 * sysdeps/unix/sysv/linux/futex-internal.h
987 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
988 instead of __pthread_{enable,disable}_asynccancel.
989 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
990 (lll_futex_wait_cancel): New macro.
991
992 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
993 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
994
995 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
996 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
997
998 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
999 in backtrace analysis.
1000 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1001 side-effects.
1002 (tf_send): Likewise.
1003
1004 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1005 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1006 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1007 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1008 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1009 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1010 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1011 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1012 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1013 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1014 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1015 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1016 Likewise.
1017 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1018 tst-cancel-wrappers.sh.
1019 (generated): Remove tst-cancel-wrappers.out.
1020 (tst-cancel-wrappers.out): Remove rule.
1021 * nptl/tst-cancel-wrappers.sh: Remove file.
1022
1023 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1024
1025 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1026 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1027 Update.
1028
1029 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1030
1031 [BZ #23640]
1032 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1033 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1034 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1035 close-on-exec reset for adddup2 file action.
1036 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1037
1038 2019-01-03 Zack Weinberg <zackw@panix.com>
1039
1040 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1041 parameter. Only use deprecated scanf when __USE_GNU is defined
1042 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1043 than 201103L, whichever is relevant for the language being compiled.
1044
1045 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1046 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1047 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1048 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1049 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1050
1051 * libio/iovsscanf.c
1052 * libio/fwscanf.c
1053 * libio/iovswscanf.c
1054 * libio/swscanf.c
1055 * libio/vscanf.c
1056 * libio/vwscanf.c
1057 * libio/wscanf.c
1058 * stdio-common/fscanf.c
1059 * stdio-common/scanf.c
1060 * stdio-common/vfscanf.c
1061 * stdio-common/vfwscanf.c
1062 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1063 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1064 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1065 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1066 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1067 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1068 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1069 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1070 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1071 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1072 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1073 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1074 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1075 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1076 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1077
1078 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1079 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1080 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1081 not sscanf.
1082 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1083 with a preprocessor macro.
1084
1085 * stdio-common/bug21.c, stdio-common/scanf14.c:
1086 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1087 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1088 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1089 to xscanf, xfscanf, xsscanf.
1090
1091 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1092 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1093 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1094 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1095 xfscanf, xsscanf.
1096 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1097 override feature selection macros or provide definitions of u_char etc.
1098 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1099 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1100 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1101 with -std=gnu89.
1102
1103 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1104
1105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1106 bits/termios-misc.h.
1107 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1108 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1109 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1110 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1111 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1112 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1113
1114 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1115 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1116 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1117 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1118 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1119 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1120 termios-misc.h.
1121 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1122 (sysdep_headers): Add termios-misc.h.
1123
1124 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1125 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1126 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1127
1128 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1129 termios-tcflow.h.
1130 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1131 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1132 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1133 TCSAFLUSH): Move to termios-tcflow.h.
1134 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1135 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1136 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1137 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1138
1139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1140 termios-c_lflag.h.
1141 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1142 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1143 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1144 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1145 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1146 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1147 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1148 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1149 Likewise.
1150 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1151 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1152 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1153 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1154
1155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1156 termios-c_cflag.h.
1157 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1158 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1159 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1160 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1161 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1162 termios-c_cflag.h.
1163 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1164 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1165 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1166 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1167
1168 [BZ #23783]
1169 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1170 termios-baud.h.
1171 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1172 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1173 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1174 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1175 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1176 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1177 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1178 __MAX_BAUD): Move to termios-baud.h.
1179 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1180 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1181 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1182 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1183 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1184
1185 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1186 termios-c_oflag.h.
1187 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1188 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1189 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1190 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1191 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1192 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1193 termios-c_oflag.h.
1194 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1195 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1196 FFR1): Likewise.
1197 [USE_MISC] (XTABS): Likewise.
1198 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1199 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1200 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1201 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1202
1203 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1204 termios-c_iflag.h.
1205 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1206 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1207 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1208 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1209 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1210 IUTF8): Move to termios-c_iflag.h.
1211 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1212 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1213 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1214 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1215
1216 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1217 termios-cc.h.
1218 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1219 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1220 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1221 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1222 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1223 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1224 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1225 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1226 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1227 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1228 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1229 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1230
1231 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1232 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1233 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1234 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1235 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1236 termios-struct.h.
1237 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1238 termios-struct.h.
1239 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1240 Likewise.
1241 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1242 Likewise.
1243 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1244 Likewise.
1245 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1246 Likewise.
1247 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1248 _HAVE_C_OSPEED): Define.
1249 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1250 _HAVE_C_OSPEED): Likewise.
1251 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1252 _HAVE_C_OSPEED): Likewise.
1253 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1254 (cfsetospeed): Check for define value instead of existence.
1255 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1256 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1257 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1258 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1259 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1260
1261 [BZ #17783]
1262 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1263 Define.
1264 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1265 (TIOCSER_TEMT): Likewise.
1266 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1267 (TEOCSER_TEMT): Likewise.
1268
1269 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
1270
1271 [BZ #24011]
1272 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1273
1274 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1275
1276 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1277
1278 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1279
1280 * sysdeps/htl/pt-barrierattr-setpshared.c
1281 (pthread_barrierattr_setpshared): Add stub warning.
1282 * sysdeps/htl/pt-condattr-setpshared.c
1283 (pthread_condattr_setpshared): Likewise.
1284 * sysdeps/htl/pt-mutexattr-setpshared.c
1285 (pthread_mutexattr_setpshared): Likewise.
1286 * sysdeps/htl/pt-rwlockattr-setpshared.c
1287 (pthread_rwlockattr_setpshared): Likewise.
1288 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1289 (pthread_mutexattr_setpshared): Likewise.
1290
1291 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1292
1293 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1294 constants to match with Linux 4.20.
1295
1296 * sysdeps/mips/mips32/libm-test-ulps: Update.
1297 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1298
1299 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1300
1301 [BZ #24034]
1302 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1303 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1304 than __typeof (...) for the a_ptr variable.
1305
1306 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1307
1308 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1309 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1310 * libio/Makefile (tests): Add tst-sprintf-ub and
1311 tst-sprintf-chk-ub.
1312 (CFLAGS-tst-sprintf-ub.c): New variable.
1313 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1314 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1315 destination buffer and check for overflows in fortified mode.
1316 * libio/libioP.h (PRINTF_CHK): New macro.
1317 * libio/tst-sprintf-chk-ub.c: New file.
1318 * libio/tst-sprintf-ub.c: Likewise.
1319
1320 2019-01-02 Florian Weimer <fweimer@redhat.com>
1321
1322 [BZ #24018]
1323 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1324 failure.
1325
1326 2019-01-02 Florian Weimer <fweimer@redhat.com>
1327
1328 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1329
1330 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1331
1332 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1333 macro.
1334
1335 * sysdeps/unix/sysv/linux/netpacket/packet.h
1336 (PACKET_IGNORE_OUTGOING): New macro.
1337
1338 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1339 macro.
1340
1341 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1342 version to 4.20.
1343 (riscv_flush_icache): New syscall.
1344
1345 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1346 trailing whitespace removed.
1347 * scripts/config.guess: Update to version 2019-01-01.
1348 * scripts/config.sub: Update to version 2019-01-01.
1349 * scripts/move-if-change: Update from gnulib.
1350
1351 * NEWS: Update copyright dates.
1352 * catgets/gencat.c (print_version): Likewise.
1353 * csu/version.c (banner): Likewise.
1354 * debug/catchsegv.sh: Likewise.
1355 * debug/pcprofiledump.c (print_version): Likewise.
1356 * debug/xtrace.sh (do_version): Likewise.
1357 * elf/ldconfig.c (print_version): Likewise.
1358 * elf/ldd.bash.in: Likewise.
1359 * elf/pldd.c (print_version): Likewise.
1360 * elf/sotruss.sh: Likewise.
1361 * elf/sprof.c (print_version): Likewise.
1362 * iconv/iconv_prog.c (print_version): Likewise.
1363 * iconv/iconvconfig.c (print_version): Likewise.
1364 * locale/programs/locale.c (print_version): Likewise.
1365 * locale/programs/localedef.c (print_version): Likewise.
1366 * login/programs/pt_chown.c (print_version): Likewise.
1367 * malloc/memusage.sh (do_version): Likewise.
1368 * malloc/memusagestat.c (print_version): Likewise.
1369 * malloc/mtrace.pl: Likewise.
1370 * manual/libc.texinfo: Likewise.
1371 * nptl/version.c (banner): Likewise.
1372 * nscd/nscd.c (print_version): Likewise.
1373 * nss/getent.c (print_version): Likewise.
1374 * nss/makedb.c (print_version): Likewise.
1375 * posix/getconf.c (main): Likewise.
1376 * scripts/test-installation.pl: Likewise.
1377 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1378
1379 * All files with FSF copyright notices: Update copyright dates
1380 using scripts/update-copyrights.
1381 * locale/programs/charmap-kw.h: Regenerated.
1382 * locale/programs/locfile-kw.h: Likewise.
1383
1384 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1385
1386 * timezone/zdump.c: Update from tzcode 2018i.
1387 * timezone/zic.c: Likewise.
1388
1389 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1390
1391 regex: improve Gnulib port to AIX
1392 From the glibc point of view, this removes duplicate macro
1393 definitions and is obviously safe.
1394 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1395 * posix/regex_internal.h:
1396 (__attribute__, __attribute_warn_unused_result__):
1397 Remove; already defined elsewhere.
1398
1399 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1400
1401 [BZ #24027]
1402 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1403 copying operation. (ncopies had the wrong type, resulting in an
1404 integer wraparound and too few elements being copied.)
1405
1406 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1407
1408 [BZ #24022]
1409 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1410 <asm/syscalls.h> exists with __has_include__ before including it.
1411
1412 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1413
1414 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1415 version to 4.20.
1416
1417 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1418
1419 * hurd/lookup-retry: Include <unistd.h>.
1420 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1421 Release it on return. Handle "pid" magical lookup retry.
1422
1423 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1424
1425 [BZ #10496]
1426 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1427 (t_fmt_ampm): Likewise.
1428 * localedata/locales/aa_ER (t_fmt): Likewise.
1429 (t_fmt_ampm): Likewise.
1430 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1431 (t_fmt_ampm): Likewise.
1432 * localedata/locales/aa_ET (t_fmt): Likewise.
1433 (t_fmt_ampm): Likewise.
1434 * localedata/locales/am_ET (t_fmt): Likewise.
1435 (t_fmt_ampm): Likewise.
1436 * localedata/locales/byn_ER (t_fmt): Likewise.
1437 (t_fmt_ampm): Likewise.
1438 * localedata/locales/om_ET (t_fmt): Likewise.
1439 (t_fmt_ampm): Likewise.
1440 * localedata/locales/sid_ET (t_fmt): Likewise.
1441 (t_fmt_ampm): Likewise.
1442 * localedata/locales/so_DJ (t_fmt): Likewise.
1443 (t_fmt_ampm): Likewise.
1444 * localedata/locales/so_ET (t_fmt): Likewise.
1445 (t_fmt_ampm): Likewise.
1446 * localedata/locales/so_SO (t_fmt): Likewise.
1447 (t_fmt_ampm): Likewise.
1448 * localedata/locales/ti_ER (t_fmt): Likewise.
1449 (t_fmt_ampm): Likewise.
1450 * localedata/locales/ti_ET (t_fmt): Likewise.
1451 (t_fmt_ampm): Likewise.
1452 * localedata/locales/tig_ER (t_fmt): Likewise.
1453 (t_fmt_ampm): Likewise.
1454 * localedata/locales/wal_ET (t_fmt): Likewise.
1455 (t_fmt_ampm): Likewise.
1456
1457 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1458 * localedata/locales/ar_IN (t_fmt): Likewise.
1459 * localedata/locales/bhb_IN (t_fmt): Likewise.
1460 * localedata/locales/bho_IN (t_fmt): Likewise.
1461 * localedata/locales/bi_VU (t_fmt): Likewise.
1462 * localedata/locales/bn_BD (t_fmt): Likewise.
1463 * localedata/locales/bn_IN (t_fmt): Likewise.
1464 * localedata/locales/brx_IN (t_fmt): Likewise.
1465 * localedata/locales/doi_IN (t_fmt): Likewise.
1466 * localedata/locales/en_HK (t_fmt): Likewise.
1467 (t_fmt_ampm): Likewise.
1468 * localedata/locales/en_IN (t_fmt): Likewise.
1469 * localedata/locales/en_PH (t_fmt): Likewise.
1470 * localedata/locales/gu_IN (t_fmt): Likewise.
1471 * localedata/locales/hi_IN (t_fmt): Likewise.
1472 * localedata/locales/hif_FJ (t_fmt): Likewise.
1473 * localedata/locales/hne_IN (t_fmt): Likewise.
1474 * localedata/locales/kn_IN (t_fmt): Likewise.
1475 * localedata/locales/kok_IN (t_fmt): Likewise.
1476 * localedata/locales/ks_IN (t_fmt): Likewise.
1477 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1478 * localedata/locales/mag_IN (t_fmt): Likewise.
1479 * localedata/locales/mai_IN (t_fmt): Likewise.
1480 * localedata/locales/mjw_IN (t_fmt): Likewise.
1481 * localedata/locales/ml_IN (t_fmt): Likewise.
1482 * localedata/locales/mni_IN (t_fmt): Likewise.
1483 * localedata/locales/mr_IN (t_fmt): Likewise.
1484 * localedata/locales/ms_MY (t_fmt): Likewise.
1485 * localedata/locales/pa_IN (t_fmt): Likewise.
1486 * localedata/locales/raj_IN (t_fmt): Likewise.
1487 * localedata/locales/sa_IN (t_fmt): Likewise.
1488 * localedata/locales/sat_IN (t_fmt): Likewise.
1489 * localedata/locales/sd_IN (t_fmt): Likewise.
1490 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1491 * localedata/locales/tcy_IN (t_fmt): Likewise.
1492 * localedata/locales/the_NP (t_fmt): Likewise.
1493 * localedata/locales/to_TO (t_fmt): Likewise.
1494 * localedata/locales/ur_IN (t_fmt): Likewise.
1495
1496 * localedata/locales/hif_FJ (d_t_fmt): Set to
1497 "%A %d %b %Y %I:%M:%S %p".
1498 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1499
1500 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1501 * localedata/locales/ar_BH (t_fmt): Likewise.
1502 * localedata/locales/ar_DZ (t_fmt): Likewise.
1503 * localedata/locales/ar_EG (t_fmt): Likewise.
1504 * localedata/locales/ar_IQ (t_fmt): Likewise.
1505 * localedata/locales/ar_JO (t_fmt): Likewise.
1506 * localedata/locales/ar_KW (t_fmt): Likewise.
1507 * localedata/locales/ar_LB (t_fmt): Likewise.
1508 * localedata/locales/ar_LY (t_fmt): Likewise.
1509 * localedata/locales/ar_OM (t_fmt): Likewise.
1510 * localedata/locales/ar_QA (t_fmt): Likewise.
1511 * localedata/locales/ar_SD (t_fmt): Likewise.
1512 * localedata/locales/ar_SS (t_fmt): Likewise.
1513 * localedata/locales/ar_SY (t_fmt): Likewise.
1514 * localedata/locales/ar_TN (t_fmt): Likewise.
1515 * localedata/locales/ar_YE (t_fmt): Likewise.
1516
1517 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1518 (t_fmt_ampm): Likewise.
1519 * localedata/locales/gez_ET (t_fmt): Likewise.
1520 (t_fmt_ampm): Likewise.
1521
1522 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1523 (t_fmt_ampm): Likewise.
1524 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1525
1526 * localedata/locales/zh_HK (t_fmt):
1527 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1528
1529 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1530 because this locale does not use the 12-hour clock.
1531 (t_fmt): Set to "%Z %H:%M:%S".
1532 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1533
1534 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
1535 because this locale does not use the 12-hour clock.
1536 (t_fmt): Set to "%H:%M:%S %Z".
1537 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
1538
1539 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1540 because this locale does not use the 12-hour clock.
1541 (t_fmt): Set to "%T".
1542 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1543 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1544
1545 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
1546 because this locale does not use the 12-hour clock.
1547 (t_fmt): Set to "%H:%M:%S %Z".
1548 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
1549
1550 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1551 because this locale does not use the 12-hour clock.
1552 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1553 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1554
1555 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1556
1557 [BZ #10496]
1558 [BZ #23724]
1559 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1560 (t_fmt_ampm): Likewise.
1561 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1562 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1563 (d_fmt): Set to "%-d.%-m.%y".
1564
1565 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1566
1567 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1568 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1569 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1570 Likewise.
1571 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1572 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1573 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1574 function.
1575 * support/blob_repeat.c (check_mul_overflow_size_t,
1576 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1577
1578 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1579
1580 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1581
1582 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1583
1584 regex: simplify Gnulib port
1585 This simplifies the code, by removing stuff intended for porting
1586 to Gnulib but no longer needed there.
1587 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1588 uses of libc_hidden_def, weak_alias.
1589 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1590 _Restrict_ except for public-facing headers.
1591 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1592 Remove; already defined elsewhere.
1593 * posix/regex.c, posix/regex_internal.h:
1594 Use __GNUC_PREREQ instead of rolling our own.
1595 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1596
1597 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1598
1599 * benchtests/bench-strlen.c (generic_strlen): New function.
1600 (memchr_strlen): New function.
1601
1602 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1603
1604 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1605 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1606 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1607
1608 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1609
1610 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1611
1612 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1613
1614 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1615 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1616 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1617 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1618 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1619 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1620 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1621
1622 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1623
1624 [BZ #24023]
1625 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1626 PLT reference in libc.so.
1627 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1628 _Q_lltoq and _Q_qtod PLT references in libc.so.
1629
1630 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1631
1632 * benchtests/bench-memchr.c: Cleanup defines.
1633 * benchtests/bench-memcmp.c: Likewise.
1634 * benchtests/bench-memset.c: Likewise.
1635 * benchtests/bench-memset-large.c: Likewise.
1636 * benchtests/bench-memset-walk.c: Likewise.
1637 * benchtests/bench-stpcpy.c: Likewise.
1638 * benchtests/bench-stpncpy.c: Likewise.
1639 * benchtests/bench-strcat.c: Likewise.
1640 * benchtests/bench-strchr.c: Likewise.
1641 * benchtests/bench-strcmp.c: Likewise.
1642 * benchtests/bench-strcpy.c: Likewise.
1643 * benchtests/bench-strcspn.c: Likewise.
1644 * benchtests/bench-string.h: Likewise.
1645 * benchtests/bench-strlen.c: Likewise.
1646 * benchtests/bench-strncat.c: Likewise.
1647 * benchtests/bench-strncmp.c: Likewise.
1648 * benchtests/bench-strncpy.c: Likewise.
1649 * benchtests/bench-strnlen.c: Likewise.
1650 * benchtests/bench-strpbrk.c: Likewise.
1651 * benchtests/bench-strrchr.c: Likewise.
1652 * benchtests/bench-strspn.c: Likewise.
1653
1654 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1655
1656 * stdlib/longlong.h: Update from GCC.
1657
1658 [BZ #23993]
1659 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1660 * configure: Regenerated.
1661 * manual/install.texi (Tools for Compilation): Update minimum GCC
1662 version.
1663 * INSTALL: Regenerated.
1664
1665 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1666
1667 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1668
1669 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1670
1671 * malloc/malloc.c (mremap_chunk): Additional checks.
1672
1673 2018-12-21 Mao Han <han_mao@c-sky.com>
1674
1675 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1676 * scripts/build-many-glibcs.py: Add C-SKY targets.
1677 * sysdeps/csky/Implies: New file.
1678 * sysdeps/csky/Makefile: Likewise.
1679 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1680 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1681 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1682 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1683 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1684 * sysdeps/csky/abiv2/memmove.S: Likewise.
1685 * sysdeps/csky/abiv2/memset.S: Likewise.
1686 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1687 * sysdeps/csky/abiv2/start.S: Likewise.
1688 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1689 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1690 * sysdeps/csky/abiv2/strlen.S: Likewise.
1691 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1692 * sysdeps/csky/abort-instr.h: Likewise.
1693 * sysdeps/csky/atomic-machine.h: Likewise.
1694 * sysdeps/csky/bits/endian.h: Likewise.
1695 * sysdeps/csky/bits/fenv.h: Likewise.
1696 * sysdeps/csky/bits/link.h: Likewise.
1697 * sysdeps/csky/bits/setjmp.h: Likewise.
1698 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1699 * sysdeps/csky/bsd-setjmp.S: Likewise.
1700 * sysdeps/csky/configure: Likewise.
1701 * sysdeps/csky/configure.ac: Likewise.
1702 * sysdeps/csky/dl-machine.h: Likewise.
1703 * sysdeps/csky/dl-procinfo.c: Likewise.
1704 * sysdeps/csky/dl-procinfo.h: Likewise.
1705 * sysdeps/csky/dl-sysdep.h: Likewise.
1706 * sysdeps/csky/dl-tls.h: Likewise.
1707 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1708 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1709 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1710 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1711 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1712 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1713 * sysdeps/csky/fpu/fegetround.c: Likewise.
1714 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1715 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1716 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1717 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1718 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1719 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1720 * sysdeps/csky/fpu/fesetround.c: Likewise.
1721 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1722 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1723 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1724 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1725 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1726 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1727 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1728 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1729 * sysdeps/csky/fpu_control.h: Likewise.
1730 * sysdeps/csky/gccframe.h: Likewise.
1731 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1732 * sysdeps/csky/ldsodefs.h: Likewise.
1733 * sysdeps/csky/libc-tls.c: Likewise.
1734 * sysdeps/csky/linkmap.h: Likewise.
1735 * sysdeps/csky/machine-gmon.h: Likewise.
1736 * sysdeps/csky/memusage.h: Likewise.
1737 * sysdeps/csky/nofpu/Implies: Likewise.
1738 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1739 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1740 * sysdeps/csky/nptl/Makefile: Likewise.
1741 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1742 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1743 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1744 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1745 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1746 * sysdeps/csky/nptl/tls.h: Likewise.
1747 * sysdeps/csky/preconfigure: Likewise.
1748 * sysdeps/csky/sfp-machine.h: Likewise.
1749 * sysdeps/csky/sotruss-lib.c: Likewise.
1750 * sysdeps/csky/stackinfo.h: Likewise.
1751 * sysdeps/csky/sysdep.h: Likewise.
1752 * sysdeps/csky/tininess.h: Likewise.
1753 * sysdeps/csky/tst-audit.h: Likewise.
1754 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1755 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1756 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1757 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1758 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1759 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1760 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1761 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1762 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1763 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1764 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1765 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1766 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1767 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1768 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1769 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1770 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1771 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1772 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1773 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1774 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1775 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1776 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1777 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1778 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1779 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1780 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1781 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1782 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1783 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1784 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1785 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1786 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1787 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1788 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1789 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1790 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1791 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1792 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1793 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1794 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1795 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1796 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1797 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1798
1799 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1800
1801 * include/time.h (__difftime64): Add.
1802 * time/difftime.c (subtract): convert to 64-bit time.
1803 * time/difftime.c (__difftime64): Add.
1804 * time/difftime.c (__difftime): Wrap around __difftime64.
1805
1806 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1807
1808 * manual/examples/add.c: Remove redundant "if not".
1809 * manual/examples/argp-ex1.c: Likewise.
1810 * manual/examples/argp-ex2.c: Likewise.
1811 * manual/examples/argp-ex3.c: Likewise.
1812 * manual/examples/argp-ex4.c: Likewise.
1813 * manual/examples/atexit.c: Likewise.
1814 * manual/examples/db.c: Likewise.
1815 * manual/examples/dir.c: Likewise.
1816 * manual/examples/dir2.c: Likewise.
1817 * manual/examples/execinfo.c: Likewise.
1818 * manual/examples/filecli.c: Likewise.
1819 * manual/examples/filesrv.c: Likewise.
1820 * manual/examples/fmtmsgexpl.c: Likewise.
1821 * manual/examples/genpass.c: Likewise.
1822 * manual/examples/inetcli.c: Likewise.
1823 * manual/examples/inetsrv.c: Likewise.
1824 * manual/examples/isockad.c: Likewise.
1825 * manual/examples/longopt.c: Likewise.
1826 * manual/examples/memopen.c: Likewise.
1827 * manual/examples/memstrm.c: Likewise.
1828 * manual/examples/mkdirent.c: Likewise.
1829 * manual/examples/mkfsock.c: Likewise.
1830 * manual/examples/mkisock.c: Likewise.
1831 * manual/examples/mygetpass.c: Likewise.
1832 * manual/examples/pipe.c: Likewise.
1833 * manual/examples/popen.c: Likewise.
1834 * manual/examples/rprintf.c: Likewise.
1835 * manual/examples/search.c: Likewise.
1836 * manual/examples/select.c: Likewise.
1837 * manual/examples/setjmp.c: Likewise.
1838 * manual/examples/sigh1.c: Likewise.
1839 * manual/examples/sigusr.c: Likewise.
1840 * manual/examples/stpcpy.c: Likewise.
1841 * manual/examples/strdupa.c: Likewise.
1842 * manual/examples/strftim.c: Likewise.
1843 * manual/examples/subopt.c: Likewise.
1844 * manual/examples/swapcontext.c: Likewise.
1845 * manual/examples/termios.c: Likewise.
1846 * manual/examples/testopt.c: Likewise.
1847 * manual/examples/testpass.c: Likewise.
1848 * manual/examples/timeval_subtract.c: Likewise.
1849
1850 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1851
1852 * sysdeps/x86/fpu/math_private.h: New file.
1853 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1854
1855 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1856 definition.
1857 (cosh): Likewise.
1858 (tanh): Likewise.
1859
1860 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1861
1862 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1863 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1864 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1865 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1866 fields.
1867 (_dl_show_auxv): Give a special treatment to
1868 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1869 and AT_L3_CACHEGEOMETRY.
1870 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1871 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1872 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1873 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1874
1875 2018-12-19 Andreas Schwab <schwab@suse.de>
1876
1877 * nscd/connections.c (check_use): Don't abort on invalid len.
1878
1879 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1880
1881 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1882 values in the 64bit value cases.
1883
1884 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1885
1886 * include/time.h
1887 (__ctime64_r): Add.
1888 * time/ctime_r.c
1889 (__ctime64_r): Add.
1890 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1891
1892 * include/time.h
1893 (__ctime64): Add.
1894 * time/gmtime.c
1895 (__ctime64): Add.
1896 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1897
1898 * include/time.h
1899 (__gmtime64_r): Add.
1900 * time/gmtime.c
1901 (__gmtime64_r): Add.
1902 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1903
1904 * include/time.h
1905 (__gmtime64): Add.
1906 * time/gmtime.c
1907 (__gmtime64): Add.
1908 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1909
1910 * include/time.h
1911 (__localtime64_r): Add.
1912 * time/localtime.c
1913 (__localtime64_r): Add.
1914 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1915
1916 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1917
1918 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1919 kernel_sigction definition.
1920
1921 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1922
1923 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1924
1925 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1926 __syscall_rt_sigaction.
1927 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1928 (kernel_sigaction): Use Linux generic defintion.
1929 (STUB): Define.
1930 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1931 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1932 (__syscall_rt_sigaction): Remove implementation.
1933 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1934 hidden.
1935 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1936 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1937 INTERNAL_SYSCALL): Remove definitions.
1938 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1939 action and signal set size.
1940 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1941 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1942
1943 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1944 James Clarke <jrtc27@jrtc27.com>
1945
1946 [BZ #23967]
1947 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1948 Define if SA_RESTORER is defined.
1949 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1950 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1951 already defined.
1952 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1953 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1954 definitions.
1955 (HAS_SA_RESTORER): Define.
1956 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1957 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1958 (HAS_SA_RESTORER): Define.
1959 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1960 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1961 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1962 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1963 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1964
1965 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1966
1967 * sysdeps/unix/sysv/linux/kernel-features.h
1968 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1969 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1970 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1971 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1972 (__ASSUME_ST_INO_64_BIT): Likewise.
1973 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1974 <kernel-features.h>.
1975 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1976 Remove conditional code.
1977 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1978 <kernel-features.h>.
1979 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1980 Remove conditional code.
1981 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1982 <kernel-features.h>.
1983 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1984 Remove conditional code.
1985 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
1986 <kernel-features.h>.
1987 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
1988 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
1989
1990 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1991
1992 * sysdeps/s390/multiarch/ifunc-resolve.h
1993 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
1994 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
1995 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
1996 Delete macro definition.
1997 (s390_libc_ifunc_init): Rename to
1998 s390_libc_ifunc_expr_stfle_init.
1999 * sysdeps/s390/bzero: Use
2000 s390_libc_ifunc_expr_stfle_init instead of
2001 s390_libc_ifunc_init.
2002 * sysdeps/s390/memcmp.c: Likewise.
2003 * sysdeps/s390/memcpy.c: Likewise.
2004 * sysdeps/s390/mempcpy.c: Likewise.
2005 * sysdeps/s390/memset.c: Likewise.
2006
2007 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2008
2009 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2010 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2011
2012 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2013
2014 * sysdeps/s390/multiarch/Makefile
2015 (sysdep_routines): Remove wmemcmp variants.
2016 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2017 * sysdeps/s390/multiarch/ifunc-impl-list.c
2018 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2019 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2020 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2021 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2022 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2023 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2024 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2025 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2026
2027 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2028
2029 * sysdeps/s390/multiarch/Makefile
2030 (sysdep_routines): Remove wmemset variants.
2031 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2032 * sysdeps/s390/multiarch/ifunc-impl-list.c
2033 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2034 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2035 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2036 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2037 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2038 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2039 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2040 * sysdeps/s390/ifunc-wmemset.h: New file.
2041
2042 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2043
2044 * sysdeps/s390/multiarch/Makefile
2045 (sysdep_routines): Remove wmemchr variants.
2046 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2047 * sysdeps/s390/multiarch/ifunc-impl-list.c
2048 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2049 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2050 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2051 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2052 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2053 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2054 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2055 * sysdeps/s390/ifunc-wmemchr.h: New file.
2056
2057 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2058
2059 * sysdeps/s390/multiarch/Makefile
2060 (sysdep_routines): Remove wcscspn variants.
2061 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2062 * sysdeps/s390/multiarch/ifunc-impl-list.c
2063 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2064 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2065 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2066 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2067 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2068 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2069 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2070 * sysdeps/s390/ifunc-wcscspn.h: New file.
2071
2072 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2073
2074 * sysdeps/s390/multiarch/Makefile
2075 (sysdep_routines): Remove wcspbrk variants.
2076 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2077 * sysdeps/s390/multiarch/ifunc-impl-list.c
2078 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2079 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2080 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2081 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2082 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2083 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2084 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2085 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2086
2087 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2088
2089 * sysdeps/s390/multiarch/Makefile
2090 (sysdep_routines): Remove wcsspn variants.
2091 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2092 * sysdeps/s390/multiarch/ifunc-impl-list.c
2093 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2094 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2095 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2096 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2097 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2098 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2099 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2100 * sysdeps/s390/ifunc-wcsspn.h: New file.
2101
2102 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2103
2104 * sysdeps/s390/multiarch/Makefile
2105 (sysdep_routines): Remove wcsrchr variants.
2106 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2107 * sysdeps/s390/multiarch/ifunc-impl-list.c
2108 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2109 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2110 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2111 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2112 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2113 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2114 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2115 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2116
2117 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2118
2119 * sysdeps/s390/multiarch/Makefile
2120 (sysdep_routines): Remove wcschrnul variants.
2121 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2122 * sysdeps/s390/multiarch/ifunc-impl-list.c
2123 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2124 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2125 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2126 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2127 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2128 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2129 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2130 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2131
2132 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2133
2134 * sysdeps/s390/multiarch/Makefile
2135 (sysdep_routines): Remove wcschr variants.
2136 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2137 * sysdeps/s390/multiarch/ifunc-impl-list.c
2138 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2139 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2140 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2141 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2142 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2143 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2144 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2145 * sysdeps/s390/ifunc-wcschr.h: New file.
2146
2147 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2148
2149 * sysdeps/s390/multiarch/Makefile
2150 (sysdep_routines): Remove wcsncmp variants.
2151 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2152 * sysdeps/s390/multiarch/ifunc-impl-list.c
2153 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2154 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2155 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2156 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2157 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2158 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2159 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2160 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2161
2162 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2163
2164 * sysdeps/s390/multiarch/Makefile
2165 (sysdep_routines): Remove wcscmp variants.
2166 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2167 * sysdeps/s390/multiarch/ifunc-impl-list.c
2168 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2169 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2170 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2171 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2172 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2173 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2174 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2175 * sysdeps/s390/ifunc-wcscmp.h: New file.
2176
2177 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2178
2179 * sysdeps/s390/multiarch/Makefile
2180 (sysdep_routines): Remove wcsncat variants.
2181 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2182 * sysdeps/s390/multiarch/ifunc-impl-list.c
2183 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2184 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2185 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2186 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2187 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2188 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2189 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2190 * sysdeps/s390/ifunc-wcsncat.h: New file.
2191
2192 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2193
2194 * sysdeps/s390/multiarch/Makefile
2195 (sysdep_routines): Remove wcscat variants.
2196 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2197 * sysdeps/s390/multiarch/ifunc-impl-list.c
2198 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2199 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2200 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2201 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2202 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2203 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2204 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2205 * sysdeps/s390/ifunc-wcscat.h: New file.
2206
2207 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2208
2209 * sysdeps/s390/multiarch/Makefile
2210 (sysdep_routines): Remove wcpncpy variants.
2211 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2212 * sysdeps/s390/multiarch/ifunc-impl-list.c
2213 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2214 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2215 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2216 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2217 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2218 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2219 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2220 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2221
2222 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2223
2224 * sysdeps/s390/multiarch/Makefile
2225 (sysdep_routines): Remove wcsncpy variants.
2226 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2227 * sysdeps/s390/multiarch/ifunc-impl-list.c
2228 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2229 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2230 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2231 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2232 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2233 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2234 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2235 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2236
2237 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2238
2239 * sysdeps/s390/multiarch/Makefile
2240 (sysdep_routines): Remove wcpcpy variants.
2241 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2242 * sysdeps/s390/multiarch/ifunc-impl-list.c
2243 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2244 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2245 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2246 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2247 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2248 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2249 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2250 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2251
2252 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2253
2254 * sysdeps/s390/multiarch/Makefile
2255 (sysdep_routines): Remove wcscpy variants.
2256 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2257 * sysdeps/s390/multiarch/ifunc-impl-list.c
2258 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2259 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2260 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2261 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2262 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2263 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2264 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2265 * sysdeps/s390/ifunc-wcscpy.h: New file.
2266
2267 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2268
2269 * sysdeps/s390/multiarch/Makefile
2270 (sysdep_routines): Remove wcsnlen variants.
2271 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2272 * sysdeps/s390/multiarch/ifunc-impl-list.c
2273 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2274 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2275 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2276 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2277 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2278 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2279 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2280 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2281
2282 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2283
2284 * sysdeps/s390/multiarch/Makefile
2285 (sysdep_routines): Remove wcslen variants.
2286 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2287 * sysdeps/s390/multiarch/ifunc-impl-list.c
2288 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2289 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2290 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2291 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2292 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2293 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2294 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2295 * sysdeps/s390/ifunc-wcslen.h: New file.
2296
2297 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2298
2299 * sysdeps/s390/multiarch/Makefile
2300 (sysdep_routines): Remove memrchr variants.
2301 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2302 * sysdeps/s390/multiarch/ifunc-impl-list.c
2303 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2304 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2305 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2306 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2307 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2308 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2309 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2310 * sysdeps/s390/ifunc-memrchr.h: New file.
2311
2312 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2313
2314 * sysdeps/s390/multiarch/Makefile
2315 (sysdep_routines): Remove memccpy variants.
2316 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2317 * sysdeps/s390/multiarch/ifunc-impl-list.c
2318 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2319 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2320 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2321 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2322 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2323 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2324 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2325 * sysdeps/s390/ifunc-memccpy.h: New file.
2326
2327 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2328
2329 * sysdeps/s390/multiarch/Makefile
2330 (sysdep_routines): Remove rawmemchr variants.
2331 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2332 * sysdeps/s390/multiarch/ifunc-impl-list.c
2333 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2334 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2335 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2336 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2337 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2338 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2339 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2340 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2341
2342 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2343
2344 * sysdeps/s390/multiarch/Makefile
2345 (sysdep_routines): Remove memchr variants.
2346 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2347 * sysdeps/s390/multiarch/ifunc-impl-list.c
2348 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2349 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2350 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2351 * sysdeps/s390/multiarch/memchr.c: Move to ...
2352 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2353 * sysdeps/s390/ifunc-memchr.h: New file.
2354 * sysdeps/s390/s390-64/memchr.S: Move to ...
2355 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2356 for 31/64bit and ifunc handling.
2357 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2358 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2359 * sysdeps/s390/s390-32/memchr.S: Likewise.
2360
2361 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2362
2363 * sysdeps/s390/multiarch/Makefile
2364 (sysdep_routines): Remove strcspn variants.
2365 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2366 * sysdeps/s390/multiarch/ifunc-impl-list.c
2367 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2368 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2369 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2370 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2371 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2372 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2373 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2374 * sysdeps/s390/ifunc-strcspn.h: New file.
2375
2376 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2377
2378 * sysdeps/s390/multiarch/Makefile
2379 (sysdep_routines): Remove strpbrk variants.
2380 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2381 * sysdeps/s390/multiarch/ifunc-impl-list.c
2382 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2383 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2384 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2385 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2386 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2387 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2388 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2389 * sysdeps/s390/ifunc-strpbrk.h: New file.
2390
2391 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2392
2393 * sysdeps/s390/multiarch/Makefile
2394 (sysdep_routines): Remove strspn variants.
2395 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2396 * sysdeps/s390/multiarch/ifunc-impl-list.c
2397 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2398 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2399 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2400 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2401 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2402 * sysdeps/s390/multiarch/strspn.c: Move to ...
2403 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2404 * sysdeps/s390/ifunc-strspn.h: New file.
2405
2406 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2407
2408 * sysdeps/s390/multiarch/Makefile
2409 (sysdep_routines): Remove strrchr variants.
2410 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2411 * sysdeps/s390/multiarch/ifunc-impl-list.c
2412 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2413 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2414 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2415 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2416 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2417 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2418 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2419 * sysdeps/s390/ifunc-strrchr.h: New file.
2420
2421 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2422
2423 * sysdeps/s390/multiarch/Makefile
2424 (sysdep_routines): Remove strchrnul variants.
2425 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2426 * sysdeps/s390/multiarch/ifunc-impl-list.c
2427 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2428 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2429 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2430 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2431 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2432 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2433 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2434 * sysdeps/s390/ifunc-strchrnul.h: New file.
2435
2436 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2437
2438 * sysdeps/s390/multiarch/Makefile
2439 (sysdep_routines): Remove strchr variants.
2440 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2441 * sysdeps/s390/multiarch/ifunc-impl-list.c
2442 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2443 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2444 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2445 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2446 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2447 * sysdeps/s390/multiarch/strchr.c: Move to ...
2448 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2449 * sysdeps/s390/ifunc-strchr.h: New file.
2450
2451 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2452
2453 * sysdeps/s390/multiarch/Makefile
2454 (sysdep_routines): Remove strncmp variants.
2455 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2456 * sysdeps/s390/multiarch/ifunc-impl-list.c
2457 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2458 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2459 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2460 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2461 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2462 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2463 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2464 * sysdeps/s390/ifunc-strncmp.h: New file.
2465
2466 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2467
2468 * sysdeps/s390/multiarch/Makefile
2469 (sysdep_routines): Remove strcmp variants.
2470 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2471 * sysdeps/s390/multiarch/ifunc-impl-list.c
2472 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2473 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2474 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2475 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2476 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2477 * sysdeps/s390/ifunc-strcmp.h: New file.
2478 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2479 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2480 for 31/64bit and ifunc handling.
2481 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2482 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2483 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2484
2485 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2486
2487 * sysdeps/s390/multiarch/Makefile
2488 (sysdep_routines): Remove strncat variants.
2489 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2490 * sysdeps/s390/multiarch/ifunc-impl-list.c
2491 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2492 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2493 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2494 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2495 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2496 * sysdeps/s390/multiarch/strncat.c: Move to ...
2497 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2498 * sysdeps/s390/ifunc-strncat.h: New file.
2499
2500 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2501
2502 * sysdeps/s390/multiarch/Makefile
2503 (sysdep_routines): Remove strcat variants.
2504 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2505 * sysdeps/s390/multiarch/ifunc-impl-list.c
2506 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2507 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2508 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2509 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2510 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2511 * sysdeps/s390/multiarch/strcat.c: Move to ...
2512 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2513 * sysdeps/s390/ifunc-strcat.h: New file.
2514
2515 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2516
2517 * sysdeps/s390/multiarch/Makefile
2518 (sysdep_routines): Remove stpncpy variants.
2519 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2520 * sysdeps/s390/multiarch/ifunc-impl-list.c
2521 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2522 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2523 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2524 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2525 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2526 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2527 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2528 * sysdeps/s390/ifunc-stpncpy.h: New file.
2529
2530 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2531
2532 * sysdeps/s390/multiarch/Makefile
2533 (sysdep_routines): Remove strncpy variants.
2534 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2535 * sysdeps/s390/multiarch/ifunc-impl-list.c
2536 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2537 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2538 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2539 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2540 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2541 * sysdeps/s390/ifunc-strncpy.h: New file.
2542 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2543 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2544 and adjust ifunc handling.
2545 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2546 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2547 and adjust ifunc handling.
2548 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2549 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2550
2551 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2552
2553 * sysdeps/s390/multiarch/Makefile
2554 (sysdep_routines): Remove stpcpy variants.
2555 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2556 * sysdeps/s390/multiarch/ifunc-impl-list.c
2557 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2558 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2559 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2560 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2561 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2562 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2563 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2564 * sysdeps/s390/ifunc-stpcpy.h: New file.
2565
2566 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2567
2568 * sysdeps/s390/multiarch/Makefile
2569 (sysdep_routines): Remove strcpy variants.
2570 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2571 * sysdeps/s390/multiarch/ifunc-impl-list.c
2572 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2573 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2574 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2575 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2576 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2577 * sysdeps/s390/ifunc-strcpy.h: New file.
2578 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2579 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2580 for 31/64bit and ifunc handling.
2581 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2582 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2583 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2584
2585 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2586
2587 * sysdeps/s390/multiarch/Makefile
2588 (sysdep_routines): Remove strnlen variants.
2589 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2590 * sysdeps/s390/multiarch/ifunc-impl-list.c
2591 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2592 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2593 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2594 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2595 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2596 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2597 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2598 * sysdeps/s390/ifunc-strnlen.h: New file.
2599
2600 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2601
2602 * sysdeps/s390/multiarch/Makefile
2603 (sysdep_routines): Remove strlen variants.
2604 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2605 * sysdeps/s390/multiarch/ifunc-impl-list.c
2606 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2607 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2608 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2609 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2610 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2611 * sysdeps/s390/multiarch/strlen.c: Move to ...
2612 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2613 * sysdeps/s390/ifunc-strlen.h: New file.
2614
2615 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2616
2617 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2618 * sysdeps/s390/multiarch/ifunc-impl-list.c
2619 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2620 * sysdeps/s390/ifunc-memmem.h: New file.
2621 * sysdeps/s390/memmem.c: Likewise.
2622 * sysdeps/s390/memmem-c.c: Likewise.
2623 * sysdeps/s390/memmem-vx.c: Likewise.
2624
2625 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2626
2627 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2628 * sysdeps/s390/multiarch/ifunc-impl-list.c
2629 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2630 * sysdeps/s390/ifunc-strstr.h: New file.
2631 * sysdeps/s390/strstr.c: Likewise.
2632 * sysdeps/s390/strstr-c.c: Likewise.
2633 * sysdeps/s390/strstr-vx.c: Likewise.
2634
2635 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2636
2637 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2638 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2639 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2640 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2641 New defines.
2642 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2643 * sysdeps/s390/memmove-c.c: New file.
2644 * sysdeps/s390/memmove.c: Likewise.
2645 * sysdeps/s390/multiarch/ifunc-impl-list.c
2646 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2647
2648 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2649
2650 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2651 * sysdeps/s390/configure.ac: Add check for z13 support.
2652 * sysdeps/s390/configure: Regenerated.
2653
2654 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2655
2656 * sysdeps/s390/memcopy.h: New file.
2657
2658 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2659
2660 * sysdeps/s390/s390-32/bcopy.S: Remove.
2661 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2662
2663 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2664
2665 * sysdeps/s390/ifunc-memcpy.h: New File.
2666 * sysdeps/s390/memcpy.S: Move to ...
2667 * sysdeps/s390/memcpy-z900.S ... here.
2668 Move implementations from memcpy-s390x.s to here.
2669 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2670 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2671 Remove memcpy/mempcpy variants.
2672 * sysdeps/s390/Makefile (sysdep_routines):
2673 Add memcpy/mempcpy variants.
2674 * sysdeps/s390/multiarch/ifunc-impl-list.c
2675 (__libc_ifunc_impl_list): Adjust ifunc variants for
2676 memcpy and mempcpy.
2677 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2678 to ...
2679 * sysdeps/s390/memcpy.c: ... here.
2680 Adjust ifunc variants for memcpy.
2681 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2682 * sysdeps/s390/mempcpy.c: ... here.
2683 Adjust ifunc variants for mempcpy.
2684 * sysdeps/s390/mempcpy.S: Delete file.
2685
2686 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2687
2688 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2689 * sysdeps/s390/memcpy.S: ... here.
2690 Adjust to be usable for 31/64bit.
2691 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2692 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2693 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2694 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2695 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2696 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2697 Adjust to be usable for 31/64bit.
2698 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2699 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2700 * sysdeps/s390/multiarch/memcpy.c: ... here.
2701 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2702
2703 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2704
2705 * sysdeps/s390/ifunc-memcmp.h: New File.
2706 * sysdeps/s390/memcmp.S: Move to ...
2707 * sysdeps/s390/memcmp-z900.S ... here.
2708 Move implementations from memcmp-s390x.s to here.
2709 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2710 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2711 Remove memcmp variants.
2712 * sysdeps/s390/Makefile (sysdep_routines):
2713 Add memcmp variants.
2714 * sysdeps/s390/multiarch/ifunc-impl-list.c
2715 (__libc_ifunc_impl_list): Adjust ifunc variants for
2716 memcmp.
2717 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2718 to ...
2719 * sysdeps/s390/memcmp.c: ... here.
2720 Adjust ifunc variants for memcmp.
2721
2722 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2723
2724 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2725 * sysdeps/s390/memcmp.S: ... here.
2726 Adjust to be usable for 31/64bit.
2727 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2728 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2729 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2730 Remove memcmp.
2731 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2732 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2733 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2734 Adjust to be usable for 31/64bit.
2735 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2736 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2737 * sysdeps/s390/multiarch/memcmp.c: ... here.
2738 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2739
2740 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2741
2742 * sysdeps/s390/s390-32/bzero.S: Delete file.
2743 * sysdeps/s390/s390-64/bzero.S: Likewise.
2744 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2745 * sysdeps/s390/bzero.c: New file.
2746 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2747 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2748 * sysdeps/s390/multiarch/ifunc-impl-list.c
2749 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2750
2751 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2752
2753 * sysdeps/s390/ifunc-memset.h: New File.
2754 * sysdeps/s390/memset.S: Move to ...
2755 * sysdeps/s390/memset-z900.S ... here.
2756 Move implementations from memset-s390x.s to here.
2757 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2758 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2759 Remove memset variants.
2760 * sysdeps/s390/Makefile (sysdep_routines):
2761 Add memset variants.
2762 * sysdeps/s390/multiarch/ifunc-impl-list.c
2763 (__libc_ifunc_impl_list): Adjust ifunc variants for
2764 memset.
2765 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2766 to ...
2767 * sysdeps/s390/memset.c: ... here.
2768 Adjust ifunc variants for memset.
2769
2770 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2771
2772 * sysdeps/s390/s390-64/memset.S: Move to ...
2773 * sysdeps/s390/memset.S: ... here.
2774 Adjust to be usable for 31/64bit.
2775 * sysdeps/s390/s390-32/memset.S: Delete File.
2776 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2777 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2778 Remove memset.
2779 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2780 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2781 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2782 Adjust to be usable for 31/64bit.
2783 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2784 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2785 * sysdeps/s390/multiarch/memset.c: ... here.
2786 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2787
2788 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2789
2790 * sysdeps/s390/multiarch/ifunc-resolve.h
2791 (s390_libc_ifunc_init, s390_libc_ifunc,
2792 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2793
2794 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2795
2796 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2797 * sysdeps/s390/configure.ac: Add check for z10 support.
2798 * sysdeps/s390/configure: Regenerated.
2799
2800 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2801
2802 * sysdeps/i386/atomic-machine.h: Merged with ...
2803 * sysdeps/x86_64/atomic-machine.h: To ...
2804 * sysdeps/x86/atomic-machine.h: This. New file.
2805
2806 2018-12-18 Florian Weimer <fweimer@redhat.com>
2807
2808 Rewrite locale/gen-translit.pl in Python.
2809 * locale/Makefile (generated): Add C-translit.h.
2810 (before-compile): Add $(objpfx)C-translit.h.
2811 (C-translit.h): Move to $(objpfx). Create target directory.
2812 Build using Python script.
2813 * locale/gen-translit.py: New file.
2814 * locale/gen-translit.pl: Remove file.
2815 * locale/C-translit.h.in: Change comment character to '#' for
2816 easier parsing without a C preprocessor.
2817 * locale/C-translit.h: Remove generated file.
2818 * manual/install.texi (Tools for Compilation): Do not mention
2819 C-translit.h.
2820 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2821 Remove locale/C-translit.h.
2822 * scripts/update-copyrights: Likewise.
2823 * INSTALL: Regenerate.
2824
2825 2018-12-18 Florian Weimer <fweimer@redhat.com>
2826
2827 [BZ #23995]
2828 * localedata/locales/bi_VU: Remove executable bit from file.
2829
2830 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2831
2832 * include/time.h
2833 (__localtime64): Add.
2834 * manual/maint.texi: Document Y2038 symbol handling.
2835 * time/localtime.c
2836 (__localtime64): Add.
2837 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2838
2839 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2840
2841 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2842 Do not clobber r12.
2843
2844 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2845 to allow extra macros from first or second sources.
2846 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2847 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2848 (tests-special): Add $(objpfx)tst-mman-consts.out.
2849 ($(objpfx)tst-mman-consts.out): New makefile target.
2850
2851 2018-12-17 Mao Han <han_mao@c-sky.com>
2852
2853 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2854 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2855 without stat64 system call support.
2856 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2857 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2858 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2859 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2860 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2861 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2862 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2863 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2864 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2865 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2866 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2867
2868 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2869
2870 regex: fix storage-exhaustion error
2871 [BZ #18040]
2872 * posix/regexec.c (get_subexp):
2873 Do not continue if storage is exhausted.
2874
2875 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2876
2877 regex: fix heap-use-after-free error
2878 [BZ #18040]
2879 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2880 https://debbugs.gnu.org/32592
2881 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2882 call extend_buffers which reallocates the re_string_t internal buffer.
2883 Local variable 'buf' was not updated in such case, resulting in
2884 use-after-free.
2885 * posix/regexec.c (get_subexp): Update 'buf' after call to
2886 get_subexp_sub.
2887
2888 2018-12-15 Florian Weimer <fweimer@redhat.com>
2889
2890 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2891 (minimum_stride_size): Use it.
2892 (support_blob_repeat_allocate): Likewise.
2893
2894 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2895
2896 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2897 definition.
2898 (acosh): Likewise.
2899 (atanh): Likewise.
2900
2901 2018-12-14 Florian Weimer <fweimer@redhat.com>
2902
2903 * manual/process.texi (Process Creation Concepts): Remove
2904 documentation of process (ID) lifetime. List more process
2905 creation functions. Reference Process Identification section.
2906 (Process Identification): Add information about process ID
2907 lifetime. Describe Linux thread/task IDs.
2908 * manual/signal.texi (Signaling Another Process): Mention that the
2909 signal is always sent to the process.
2910
2911 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2912
2913 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2914 and tst-ldbl-efgcvt.
2915 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2916 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2917 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2918 (fcvt_tests, output_error, output_r_error, do_test): Use the
2919 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2920 select the type of floating-point variables and arguments; to
2921 produce extra tests for double and conversion specifiers for
2922 printf; and to set the names of called functions.
2923 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2924 in tst-efgcvt-template.c.
2925 * misc/tst-ldbl-efgcvt.c: Likewise.
2926
2927 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2928
2929 * nss/Makefile (tst-nss-test3.out): New rule.
2930
2931 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2932
2933 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2934 clobber sp.
2935
2936 2018-12-13 fanjinke <fanjinke@hygon.cn>
2937
2938 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2939 "HygonGenuine".
2940
2941 2018-12-13 Andreas Schwab <schwab@suse.de>
2942
2943 [BZ #23861]
2944 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2945 (__pthread_rwlock_rdlock_full): Update expected value for
2946 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2947 * nptl/tst-rwlock-pwn.c: New file.
2948 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2949
2950 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2951
2952 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2953 definition.
2954
2955 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2956
2957 * benchtests/scripts/compare_bench.py (do_compare): write to
2958 stderr in casestat is not present.
2959 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2960 stderr in case timings field is not present. Also string showing
2961 the output filename goes into the stderr.
2962
2963 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2964
2965 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2966 and ZeroDivisorError exceptions.
2967 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2968 argument to loop through user provided statistics.
2969 * benchtests/scripts/compare_bench.py (main): Include the --stats
2970 argument.
2971
2972 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2973
2974 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2975 instead of return.
2976
2977 2018-12-12 Florian Weimer <fweimer@redhat.com>
2978
2979 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2980 clause to copyright header.
2981
2982 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2983
2984 [BZ #23614]
2985 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
2986 registers saved in the stack frame.
2987 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
2988 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
2989
2990 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2991
2992 * include/bits/monetary-ldbl.h: New file.
2993 * include/bits/printf-ldbl.h: Likewise.
2994 * include/bits/stdio-ldbl.h: Likewise.
2995 * include/bits/stdlib-ldbl.h: Likewise.
2996 * include/bits/syslog-ldbl.h: Likewise.
2997 * include/bits/wchar-ldbl.h: Likewise.
2998
2999 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3000
3001 * libio/libio.h: Remove redirection for _IO_vfprintf.
3002
3003 2018-12-11 Andreas Schwab <schwab@suse.de>
3004
3005 * Makerules: Remove all references to abilist-pattern.
3006 (update-all-abi): Simplify find expression.
3007
3008 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3009
3010 [BZ #23961]
3011 * math/auto-libm-test-in: Add new test case.
3012 * math/auto-libm-test-out-pow: Regenerated.
3013 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3014
3015 2018-12-10 DJ Delorie <dj@redhat.com>
3016
3017 [BZ #23948]
3018 * support/test-container.c: Move postclean step to before we
3019 change namespaces.
3020
3021 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3022
3023 * scripts/gen-as-const.py (main): Handle --python option.
3024 * scripts/gen-py-const.awk: Remove.
3025 * Makerules (py-const-script): Use gen-as-const.py.
3026 ($(py-const)): Likewise.
3027 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3028 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3029 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3030 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3031 ~PTHREAD_MUTEX_NO_ELISION_NP.
3032 * manual/README.pretty-printers: Update reference to
3033 gen-py-const.awk.
3034
3035 * scripts/glibcextract.py: New file.
3036 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3037 or tempfile. Import glibcexctract.
3038 (compute_c_consts): Remove. Moved to glibcextract.py.
3039 (gen_test): Update reference to compute_c_consts.
3040 (main): Likewise.
3041 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3042 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3043 * sysdeps/unix/sysv/linux/Makefile
3044 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3045 Redirect stderr as well as stdout.
3046
3047 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3048
3049 [BZ #19767]
3050 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3051 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3052 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3053 ALWAYS_USE_VSYSCALL.
3054 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3055 ALWAYS_USE_VSYSCALL.
3056 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3057 ALWAYS_USE_VSYSCALL.
3058
3059 2018-12-10 Florian Weimer <fweimer@redhat.com>
3060
3061 [BZ #23972]
3062 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3063 offset instead of count for clarity. Fix typo in comment.
3064 (__old_getdents64): Keep track of previous offset. Use it to call
3065 handle_overflow.
3066 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3067 that d_off is never zero.
3068
3069 2018-12-10 Andreas Schwab <schwab@suse.de>
3070
3071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3072 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3074 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3075 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3076
3077 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3078
3079 * timezone/private.h: Update from tzcode 2018g.
3080 * timezone/tzfile.h: Likewise.
3081 * timezone/tzselect.ksh: Likewise.
3082 * timezone/zdump.c: Likewise.
3083 * timezone/zic.c: Likewise.
3084
3085 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3086
3087 [BZ #23490]
3088 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3089 (do_test): Adjust buffer size and fix format.
3090
3091 2018-12-07 DJ Delorie <dj@redhat.com>
3092
3093 [BZ #23907]
3094 * malloc/tst-tcfree3.c: New.
3095 * malloc/Makefile: Add it.
3096
3097 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3098
3099 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3100
3101 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3102
3103 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3104 used as a mask for the mode argument of __vfscanf_internal and
3105 __vfwscanf_internal.
3106 * stdio-common/vfscanf-internal.c
3107 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3108 (__strtof128_internal): Define to __wcstof128_internal.
3109 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3110 __strtof128_internal or __wcstof128_internal when the format of
3111 long double is the same as _Float128.
3112
3113 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3114
3115 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3116 * posix/confstr.c (confstr): Rename to __confstr.
3117 (__confstr): Add hidden def.
3118 (confstr): Add weak alias for __confstr.
3119 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3120 confstr.
3121
3122 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3123
3124 * NEWS: Mention getcpu.
3125 * include/sched.h (__getcpu): New libc_hidden_proto.
3126 * manual/resource.texi: Document getcpu.
3127 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3128 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3129 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3130 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3131 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3132 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3133 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3134 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3135 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3136 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3137 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3138 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3139 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3140 Likewise.
3141 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3142 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3143 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3145 Likewise.
3146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3147 Likewise.
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3149 Likewise.
3150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3151 Likewise.
3152 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3153 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3154 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3155 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3156 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3157 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3158 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3159 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3160 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3161 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3162 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3163 Also check getcpu.
3164
3165 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3166
3167 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3168 functions.
3169 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3170
3171 2018-12-07 Florian Weimer <fweimer@redhat.com>
3172
3173 [BZ #17405]
3174 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3175 * posix/Versions (GLIBC_2.29): Export
3176 posix_spawn_file_actions_addfchdir_np.
3177 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3178 * posix/spawn_faction_destroy.c
3179 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3180 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3181 and the field action.fchdir_action.
3182 * posix/tst-spawn-chdir.c (add_chdir): New function.
3183 (do_test): Add do_fchdir loop. Call add_chdir.
3184 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3185 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3186 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3187 posix_spawn_file_actions_addfchdir_np.
3188 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3189 Likewise.
3190 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3191 Likewise.
3192 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3193 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3194 Likewise.
3195 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3196 Likewise.
3197 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3198 Likewise.
3199 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3200 Likewise.
3201 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3202 Likewise.
3203 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3204 Likewise.
3205 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3206 (GLIBC_2.29): Likewise.
3207 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3208 (GLIBC_2.29): Likewise.
3209 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3210 (GLIBC_2.29): Likewise.
3211 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3212 (GLIBC_2.29): Likewise.
3213 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3214 Likewise.
3215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3216 (GLIBC_2.29): Likewise.
3217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3218 (GLIBC_2.29): Likewise.
3219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3220 (GLIBC_2.29): Likewise.
3221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3222 (GLIBC_2.29): Likewise.
3223 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3224 Likewise.
3225 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3226 Likewise.
3227 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3228 Likewise.
3229 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3230 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3231 Likewise.
3232 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3233 Likewise.
3234 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3235 Likewise.
3236 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3237 Likewise.
3238
3239 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3240
3241 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3242 trailing whitespace removed.
3243 * scripts/config.guess: Update to version 2018-11-28.
3244 * scripts/config.sub: Update to version 2018-11-28.
3245 * scripts/install-sh: Update to version 2018-03-11.20.
3246 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3247 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3248
3249 2018-12-07 Florian Weimer <fweimer@redhat.com>
3250
3251 [BZ #23927]
3252 CVE-2018-19591
3253 * inet/tst-if_index-long.c: New file.
3254 * inet/Makefile (tests): Add tst-if_index-long.
3255
3256 2018-12-07 Florian Weimer <fweimer@redhat.com>
3257
3258 * support/check.h (support_record_failure_is_failed): Declare.
3259 * support/descriptors.h: New file.
3260 * support/support_descriptors.c: Likewise.
3261 * support/tst-support_descriptors.c: Likewise.
3262 * support/support_record_failure.c
3263 (support_record_failure_is_failed): New function.
3264 * support/Makefile (libsupport-routines): Add support_descriptors.
3265 (tests): Add tst-support_descriptors.
3266
3267 2018-12-05 Zack Weinberg <zackw@panix.com>
3268 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3269
3270 * stdio-common/vfprintf-internal.c
3271 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3272 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3273 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3274 and __no_long_double.
3275 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3276 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3277 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3278 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3279 and __nldbl_*syslog* functions.
3280 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3281 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3282 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3283 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3284 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3285 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3286 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3287 (__nldbl_vwprintf, __nldbl_wprintf):
3288 Directly call the appropriate __v*printf_internal routine, passing
3289 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3290 variable names.
3291 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3292 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3293 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3294 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3295 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3296 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3297 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3298 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3299 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3300 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3301 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3302 (__nldbl_syslog, __nldbl_vsyslog):
3303 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3304 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3305 appropriate.
3306 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3307 appropriate.
3308
3309 2018-12-05 Zack Weinberg <zackw@panix.com>
3310 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3311
3312 [BZ #11319]
3313 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3314 Moved here from debug/vsprintf_chk.c.
3315 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3316 and completion logic for the strfile to match exactly what
3317 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3318 _IO_str_init_static_internal instead of maxlen-1.
3319 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3320 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3321 __vsprintf_internal.
3322
3323 * debug/vsprintf_chk.c (__vsprintf_chk)
3324 * debug/sprintf_chk.c (__sprintf_chk):
3325 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3326 'flags' argument is positive, and slen as maxlen. No need to lock
3327 the FILE and/or construct a temporary FILE. Minimize and normalize
3328 header inclusions and variable names. Do not libc_hidden_def anything.
3329
3330 * debug/asprintf_chk.c (__asprintf_chk)
3331 * debug/dprintf_chk.c (__dprintf_chk)
3332 * debug/fprintf_chk.c (__fprintf_chk)
3333 * debug/fwprintf_chk.c (__fwprintf_chk)
3334 * debug/printf_chk.c (__printf_chk)
3335 * debug/snprintf_chk.c (__snprintf_chk)
3336 * debug/swprintf_chk.c (__swprintf_chk)
3337 * debug/vasprintf_chk.c (__vasprintf_chk)
3338 * debug/vdprintf_chk.c (__vdprintf_chk)
3339 * debug/vfprintf_chk.c (__vfprintf_chk)
3340 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3341 * debug/vprintf_chk.c (__vprintf_chk)
3342 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3343 * debug/vswprintf_chk.c (__vswprintf_chk)
3344 * debug/vwprintf_chk.c (__vwprintf_chk)
3345 * debug/wprintf_chk.c (__wprintf_chk):
3346 Directly call the corresponding vxxprintf_internal function, passing
3347 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3348 the FILE and/or construct a temporary FILE. Minimize and normalize
3349 header inclusions and variable names. Do not libc_hidden_def anything.
3350
3351 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3352 __obstack_vprintf_internal.
3353 (__obstack_vprintf_chk): Convert into a wrapper that calls
3354 __obstack_vprintf_internal (these two functions already had the
3355 same code) and move to new file...
3356 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3357 file.
3358 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3359 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3360 * debug/Makefile (routines): Add vobprintf_chk.
3361
3362 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3363 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3364 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3365 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3366 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3367 (__nldbl___obstack_vfprintf_chk):
3368 Directly call the corresponding vxxprintf_internal function,
3369 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3370 duplicate comparison of slen with 0 or maxlen from the corresponding
3371 non-__nldbl function.
3372
3373 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3374 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3375 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3376 Remove libc_hidden_proto.
3377
3378 * stdio-common/vfprintf-internal.c
3379 (__vfprintf_internal, __vfwprintf_internal):
3380 Do not check _IO_FLAGS2_FORTIFY.
3381 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3382 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3383 a comment explaining why it has the maxlen argument.
3384 (_IO_acquire_lock_clear_flags2_fct): Remove.
3385 (_IO_acquire_lock_clear_flags2): Remove.
3386 (_IO_release_lock): Remove conditional statement which will
3387 now never execute.
3388 (_IO_acquire_lock): Remove variable which is now unused.
3389 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3390 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3391
3392 * stdio-common/Makefile (tests): Add tst-bz11319 and
3393 tst-bz11319-fortify2.
3394 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3395 * stdio-common/tst-bz11319-fortify2.c: New file.
3396 * stdio-common/tst-bz11319.c: Likewise.
3397
3398 2018-12-05 Zack Weinberg <zackw@panix.com>
3399 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3400
3401 * misc/syslog.c: Include libioP.h, not iolibio.h.
3402 (__vsyslog_internal): New function with the former body of
3403 __vsyslog_chk; takes mode_flags argument same as
3404 __v*printf_internal. Call __vfprintf_internal directly.
3405
3406 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3407 Remove libc_hidden_def.
3408 (__syslog, __syslog_chk): Use __vsyslog_internal.
3409 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3410
3411 * include/sys/syslog.h: Add multiple inclusion guard.
3412 Add prototype for __vsyslog_internal.
3413 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3414
3415 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3416 Use __vsyslog_internal.
3417
3418 2018-12-05 Zack Weinberg <zackw@panix.com>
3419 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3420
3421 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3422 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3423 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3424 New functions.
3425 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3426 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3427
3428 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3429 Include wctype.h here if COMPILE_WPRINTF is defined.
3430 Define __vfprintf_internal or __vfwprintf_internal, depending
3431 on COMPILE_WPRINTF.
3432 Temporarily, on entry to this function, update mode_flags
3433 according to the environmental settings corresponding to
3434 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3435 Throughout, check mode_flags instead of __ldbl_is_dbl and
3436 _IO_FLAGS2_FORTIFY on the destination FILE.
3437 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3438 Include vfprintf-internal.c. Don't include wctype.h.
3439 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3440 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3441 and vfprintf.
3442 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3443 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3444 and vfwprintf.
3445 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3446
3447 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3448 and add mode_flags argument; use __vfprintf_internal.
3449 (__vdprintf): New function. Alias vdprintf to this.
3450 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3451 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3452 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3453 (__obstack_printf): Use __obstack_printf_internal.
3454 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3455 public aliases __vsnprintf and vsnprintf.
3456 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3457 called internally.
3458 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3459 public aliases _IO_vsprintf and vsprintf.
3460 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3461 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3462 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3463 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3464 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3465
3466 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3467 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3468 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3469 * stdio-common/printf.c: Use __vfprintf_internal.
3470
3471 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3472 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3473 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3474
3475 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3476 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3477 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3478 __vfwprintf_internal.
3479
3480 * libio/libio.h: Remove libc_hidden_proto and declaration for
3481 _IO_vfprintf.
3482 Remove declaration of _IO_vfwprintf.
3483 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3484 _IO_vsprintf.
3485 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3486 _IO_obstack_printf.
3487 * include/stdio.h: Add prototype for __vasprintf.
3488 (__vsnprintf): Remove declaration, because there are no more
3489 internal calls.
3490 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3491 declaration, because there are no more internal calls.
3492
3493 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3494 __vsnprintf_internal, instead of _IO_vsnprintf.
3495 * argp/argp-help.c (__argp_error, __argp_failure): Use
3496 __vasprintf_internal, instead of _IO_vasprintf.
3497 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3498 redefine, because there are no more internal calls.
3499
3500 2018-12-05 Zack Weinberg <zackw@panix.com>
3501 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3502
3503 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3504 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3505 Include libio/strfile.h instead of libioP.h.
3506 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3507 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3508 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3509 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3510 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3511 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3512 necessary. Do not set __no_long_double. Normalize variable names.
3513 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3514 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3515 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3516 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3517 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3518 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3519 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3520 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3521 Do not set __no_long_double. Normalize variable names.
3522
3523 2018-12-05 Zack Weinberg <zackw@panix.com>
3524 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3525
3526 * stdio-common/isoc99_scanf.c
3527 * stdio-common/isoc99_fscanf.c
3528 * stdio-common/isoc99_sscanf.c
3529 * stdio-common/isoc99_vscanf.c
3530 * stdio-common/isoc99_vfscanf.c
3531 * stdio-common/isoc99_vsscanf.c
3532 * wcsmbs/isoc99_wscanf.c
3533 * wcsmbs/isoc99_fwscanf.c
3534 * wcsmbs/isoc99_swscanf.c
3535 * wcsmbs/isoc99_vwscanf.c
3536 * wcsmbs/isoc99_vfwscanf.c
3537 * wcsmbs/isoc99_vswscanf.c:
3538 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3539 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3540 No need to lock and unlock the FILE passed to that function.
3541
3542 * stdio-common/vfscanf-internal.c
3543 (__vfscanf_internal, __vfwscanf_internal):
3544 Don't look at _IO_FLAGS2_SCANF_STD.
3545 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3546 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3547 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3548
3549 2018-12-05 Zack Weinberg <zackw@panix.com>
3550 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3551
3552 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3553 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3554 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3555 * libio/strfile.h: Add multiple inclusion guard.
3556 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3557
3558 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3559 consistency with the other version of this file.
3560 (ldbl_compat_symbol): New macro.
3561 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3562 New macro.
3563
3564 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3565 Define __vfscanf_internal or __vfwscanf_internal, depending on
3566 COMPILE_WSCANF; don't define any other public symbols.
3567 Remove errval and code to set errp.
3568 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3569 as the mode_flags argument.
3570 (encode_error, conv_error, input_error): Don't set errval.
3571 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3572 Include vfscanf-internal.c.
3573 * stdio-common/vfscanf.c: New file defining the public entry
3574 point vfscanf, which calls __vfscanf_internal.
3575 * stdio-common/vfwscanf.c: New file defining the public entry
3576 point vfwscanf, which calls __vfwscanf_internal.
3577
3578 * stdio-common/iovfscanf.c: New file.
3579 * stdio-common/iovfwscanf.c: Likewise.
3580
3581 * stdio-common/Makefile (routines): Add vfscanf-internal,
3582 vfwscanf-internal, iovfscanf, iovfwscanf.
3583 * stdio-common/Versions: Mention GLIBC_2.29, so that
3584 it can be used in SHLIB_COMPAT expressions.
3585 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3586 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3587 Call __vfscanf_internal, instead of _IO_vfscanf.
3588 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3589 _IO_vfscanf.
3590 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3591 _IO_vfwscanf.
3592
3593 * libio/iovsscanf.c: Clean up includes, when possible. Use
3594 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3595 __vfscanf_internal or __vfwscanf_internal directly.
3596 * libio/iovswscanf.c: Likewise.
3597 * libio/swscanf.c: Likewise.
3598 * libio/vscanf.c: Likewise.
3599 * libio/vwscanf.c: Likewise.
3600 * libio/wscanf.c: Likewise.
3601 * stdio-common/isoc99_fscanf.c: Likewise.
3602 * stdio-common/isoc99_scanf.c: Likewise.
3603 * stdio-common/isoc99_sscanf.c: Likewise.
3604 * stdio-common/isoc99_vfscanf.c: Likewise.
3605 * stdio-common/isoc99_vscanf.c: Likewise.
3606 * stdio-common/isoc99_vsscanf.c: Likewise.
3607 * stdio-common/scanf.c: Likewise.
3608 * stdio-common/sscanf.c: Likewise.
3609 * wcsmbs/isoc99_fwscanf.c: Likewise.
3610 * wcsmbs/isoc99_swscanf.c: Likewise.
3611 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3612 * wcsmbs/isoc99_vswscanf.c: Likewise.
3613 * wcsmbs/isoc99_vwscanf.c: Likewise.
3614 * wcsmbs/isoc99_wscanf.c: Likewise.
3615
3616 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3617
3618 * include/time.h
3619 (__tz_compute): Replace time_t with __time64_t.
3620 (__tz_convert): Replace time_t* with __time64_t.
3621 (__offtime): Replace time_t* with __time64_t.
3622 * time/gmtime.c
3623 (__gmtime_r): Adjust call to __tz_convert.
3624 (gmtime): Likewise.
3625 * time/localtime.c
3626 (__localtime_r): Likewise.
3627 (localtime): Likewise.
3628 * time/offtime.c: Replace time_t with __time64_t.
3629 * time/tzset.c: Likewise.
3630
3631 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3632
3633 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3634 dynamic linker unless [$(run-built-tests) = yes].
3635
3636 2018-12-03 DJ Delorie <dj@delorie.com>
3637
3638 * support/test-container.c (check_for_unshare_hints): New.
3639 (main): Call it if unshare fails. Add support for "su" scriptlet
3640 command.
3641
3642 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3643
3644 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3645 'START' to indicate that start text should be output.
3646 (gen_test): Likewise.
3647 (main): Generate 'START' for first symbol or '--' line, or at end
3648 of input if not previously generated.
3649
3650 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3651
3652 [BZ #19767]
3653 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3654 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3655 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3656 ALWAYS_USE_VSYSCALL.
3657
3658 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3659
3660 [BZ #23913]
3661 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3662 new_argv by one.
3663
3664 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3665
3666 [BZ #23923]
3667 * locale/programs/localedef.c: Declare boolean hard_links default true.
3668 (options): Add --no-hard-links option.
3669 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3670 * locale/programs/localedef.h: Declare prototype for hard_links.
3671 * locale/programs/locfile.c (write_locale_data): Don't use hard
3672 links if hard_links is false.
3673
3674 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3675
3676 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3677 cpu_features_basic.
3678 (__cache_sysconf): Likewise.
3679 (init_cacheinfo): Likewise.
3680 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3681 populate COMMON_CPUID_INDEX_80000007 and
3682 COMMON_CPUID_INDEX_80000008.
3683 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3684 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3685 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3686 (init_cpu_features): Use _Static_assert on
3687 index_arch_Fast_Unaligned_Load.
3688 __get_cpuid_registers and __get_arch_feature. Updated for
3689 cpu_features_basic. Set stepping in cpu_features.
3690 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3691 (FEATURE_INDEX_2): New.
3692 (FEATURE_INDEX_MAX): Changed to enum.
3693 (COMMON_CPUID_INDEX_D_ECX_1): New.
3694 (COMMON_CPUID_INDEX_80000007): Likewise.
3695 (COMMON_CPUID_INDEX_80000008): Likewise.
3696 (cpuid_registers): Likewise.
3697 (cpu_features_basic): Likewise.
3698 (CPU_FEATURE_USABLE): Likewise.
3699 (bit_arch_XXX_Usable): Likewise.
3700 (cpu_features): Use cpuid_registers and cpu_features_basic.
3701 (bit_arch_XXX): Reweritten.
3702 (bit_cpu_XXX): Likewise.
3703 (index_cpu_XXX): Likewise.
3704 (reg_XXX): Likewise.
3705 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3706 <support/check.h>.
3707 (CHECK_CPU_FEATURE): New.
3708 (CHECK_CPU_FEATURE_USABLE): Likewise.
3709 (cpu_kinds): Likewise.
3710 (do_test): Print vendor, family, model and stepping. Check
3711 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3712 (TEST_FUNCTION): Removed.
3713 Include <support/test-driver.c> instead of
3714 "../../test-skeleton.c".
3715 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3716 Check POPCNT instead of POPCOUNT.
3717 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3718
3719 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3720
3721 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3722 there is no element in `consts'.
3723
3724 2018-12-01 Florian Weimer <fweimer@redhat.com>
3725
3726 * support/support_capture_subprocess.c
3727 (support_capture_subprocess): Check that pipe descriptors have
3728 expected values. Close original pipe descriptors in subprocess.
3729
3730 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3731
3732 [BZ #23032]
3733 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3734 attr with __pthread_default_barrierattr.
3735 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3736 attr with __pthread_default_condattr.
3737 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3738 attr with __pthread_default_mutexattr.
3739 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3740 attr with __pthread_default_rwlockattr.
3741
3742 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3743
3744 * manual/tunables.texi (POSIX Thread Tunables): New node.
3745 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3746 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3747 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3748 __pthread_tunables_init.
3749 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3750 (max_adaptive_count): Define.
3751 * nptl/pthread_mutex_conf.c: New file.
3752 * nptl/pthread_mutex_conf.h: New file.
3753 * sysdeps/generic/adaptive_spin_count.h: New file.
3754 * sysdeps/nptl/dl-tunables.list: New file.
3755 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3756 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3757 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3758 Likewise.
3759
3760 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3761
3762 [BZ #20544]
3763 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3764 * stdlib/on_exit.c (__on_exit): Likewise.
3765 * stdlib/Makefile (tests): Add tst-bz20544.
3766 * stdlib/tst-bz20544.c: New test.
3767
3768 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3769
3770 [BZ #19767]
3771 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3772 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3773 New.
3774
3775 2018-11-30 Florian Weimer <fweimer@redhat.com>
3776
3777 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3778 Extend error logging.
3779 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3780 symbol.
3781
3782 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3783
3784 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3785 __sigismember instead of sigismember.
3786 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3787 cancel_handler): New definitions.
3788 (do_system): Use posix_spawn instead of fork and execl and remove
3789 reentracy code.
3790 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3791 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3792 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3793 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3794 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3795 * sysdeps/unix/sysv/linux/system.c: Likewise.
3796
3797 [BZ #22834]
3798 [BZ #17490]
3799 * NEWS: Add new semantic for atfork with popen and system.
3800 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3801 fork and execl.
3802
3803 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3804
3805 [BZ #23690]
3806 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3807 modification order when accessing reloc_result->addr.
3808 * include/link.h (reloc_result): Add field init.
3809 * nptl/Makefile (tests): Add tst-audit-threads.
3810 (modules-names): Add tst-audit-threads-mod1 and
3811 tst-audit-threads-mod2.
3812 Add rules to build tst-audit-threads.
3813 * nptl/tst-audit-threads-mod1.c: New file.
3814 * nptl/tst-audit-threads-mod2.c: Likewise.
3815 * nptl/tst-audit-threads.c: Likewise.
3816 * nptl/tst-audit-threads.h: Likewise.
3817
3818 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3819
3820 * scripts/gen-as-const.py: New file.
3821 * scripts/gen-as-const.awk: Remove.
3822 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3823 gen-as-const.py.
3824 ($(objpfx)test-as-const-%.c): Likewise.
3825
3826 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3827
3828 * elf/dl-exception.c: Include <_itoa.h>.
3829
3830 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3831
3832 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3833 returned by __f_setlk.
3834
3835 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3836 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3837
3838 * elf/Makefile (tests-internal): Add tst-create_format1.
3839 * elf/dl-exception.c (_dl_exception_create_format): Support
3840 %x, %lx and %zx.
3841 * elf/tst-create_format1.c: New file.
3842
3843 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3844
3845 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3846 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3847 gnulib.)
3848 * argp/argp-help.c (__argp_failure): Likewise.
3849
3850 2018-11-29 Mao Han <han_mao@c-sky.com>
3851
3852 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3853 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3854 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3855 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3856 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3857 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3858 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3859 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3860 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3861 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3862 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3863 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3864 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3865 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3866 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3867 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3868 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3869 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3870 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3871 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3872 (R_CKCORE_TLS_TPOFF32): New defines.
3873
3874 2018-11-29 Florian Weimer <fweimer@redhat.com>
3875
3876 * posix/Makefile (before-compile): Remove testcases.h and
3877 ptestcases.h.
3878 (generated): Add testcases.h and ptestcases.h.
3879 (testcases.h, ptestcases.h): Move to $(objpfx).
3880 (runtests.o): Add dependency on testcases.h.
3881 (runptests.o): Add dependency on ptestcases.h.
3882 * posix/testcases.h, posix/ptestcases.h: Remove files.
3883 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3884 not touch posix/testcases.h and posix/ptestcases.h.
3885
3886 2018-11-28 Florian Weimer <fweimer@redhat.com>
3887
3888 support: Add signal support to support_capture_subprocess_check.
3889 * support/capture_subprocess.h (support_capture_subprocess_check):
3890 Adjust comment and rename parameter.
3891 * support/support_capture_subprocess_check.c
3892 (print_actual_status): New function.
3893 (support_capture_subprocess_check): Support negative
3894 status_or_signal. Call print_actual_status.
3895 * support/tst-support_capture_subprocess.c (do_test): Call
3896 support_capture_subprocess_check.
3897 * libio/tst-vtables-common.c (termination_status)
3898 (init_termination_status): Remove.
3899 (check_for_termination): Adjust support_capture_subprocess_check
3900 call.
3901 (do_test): Remove call to init_termination_status.
3902
3903 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3904
3905 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3906 source directory instead of a copy.
3907 (CommandList.create_copy_dir): Remove.
3908
3909 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3910
3911 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3912
3913 2018-11-28 Florian Weimer <fweimer@redhat.com>
3914
3915 * support/support.h (support_quote_string): Do not use str
3916 parameter name.
3917
3918 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3919
3920 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3921 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3922
3923 2018-11-27 Florian Weimer <fweimer@redhat.com>
3924
3925 * support/support.h (support_quote_string): Declare.
3926 * support/support_quote_string.c: New file.
3927 * support/tst-support_quote_string.c: Likewise.
3928 * support/Makefile (libsupport-routines): Add
3929 support_quote_string.
3930 (tests): Add tst-support_quote_string.
3931
3932 2018-11-27 Florian Weimer <fweimer@redhat.com>
3933
3934 [BZ #23927]
3935 CVE-2018-19591
3936 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3937 descriptor leak in case of ENODEV error.
3938
3939 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3940
3941 [BZ #19767]
3942 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3943 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3944 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3945
3946 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3947
3948 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3949 Error for unknown lines.
3950
3951 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3952
3953 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3954 Touch additional files.
3955
3956 2018-11-26 Florian Weimer <fweimer@redhat.com>
3957
3958 [BZ #23907]
3959 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3960 double-frees.
3961
3962 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3963
3964 [BZ #19767]
3965 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3966 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3967 SHARED. Include sysdep.h.
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3969 ALWAYS_USE_VSYSCALL.
3970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3971 ALWAYS_USE_VSYSCALL.
3972
3973 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3974
3975 [BZ #19767]
3976 * nptl/Makefile (tests-static): Add tst-cond11-static.
3977 (tests): Likewise.
3978 * nptl/tst-cond11-static.c: New File.
3979 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3980 tst-affinity-static.
3981 (tests): Likewise.
3982 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3983 instead of SHARED.
3984 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
3985 (USE_VSYSCALL): Likewise.
3986 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
3987 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
3988 instead of SHARED.
3989 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
3990 SHARED.
3991 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
3992 New.
3993
3994 2018-11-23 Joseph Myers <joseph@codesourcery.com>
3995
3996 [BZ #23915]
3997 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3998 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3999 Undefine.
4000
4001 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4002
4003 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4004 (tst-cet-legacy-1a-ARGS): New.
4005 ($(objpfx)tst-cet-legacy-1a): New target.
4006 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4007
4008 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4009
4010 * conform/conformtest.py (CompileSubTest.__init__): Set
4011 self.run_early to False.
4012 (ExecuteSubTest.__init__): Likewise.
4013 (HeaderTests.run): Try running all non-optional, non-XFAILed
4014 compilation tests in a single execution of the compiler.
4015
4016 * conform/conformtest.py (CompileSubTest): New class.
4017 (ExecuteSubTest): Likewise.
4018 (ElementTest.run): Rename to gen_subtests. Append tests to
4019 self.subtests instead of running them.
4020 (ConstantTest.run): Likewise.
4021 (SymbolTest.run): Likewise.
4022 (TypeTest.run): Likewise.
4023 (TagTest.run): Likewise.
4024 (FunctionTest.run): Likewise.
4025 (VariableTest.run): Likewise.
4026 (MacroFunctionTest.run): Likewise.
4027 (MacroStrTest.run): Likewise.
4028 (HeaderTests.handle_test_line): Generate subtests for tests.
4029 (HeaderTests.run): Run subtests for tests.
4030
4031 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4032
4033 * math/Versions (GLIBC_2.29): Add pow.
4034 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4035 symbol.
4036 * math/w_pow.c: New file.
4037 * sysdeps/i386/fpu/w_pow.c: New file.
4038 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4039 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4040 and add necessary aliases.
4041 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4042 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4043 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4044 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4045 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4046 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4047 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4048 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4049 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4050 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4051 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4052 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4053 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4054 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4055 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4060 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4061 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4062 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4063 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4064 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4065 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4066 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4067 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4068 __pow.
4069 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4070 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4071 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4072
4073 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4074
4075 * math/Versions (GLIBC_2.29): Add log2.
4076 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4077 symbol.
4078 * math/w_log2.c: New file.
4079 * sysdeps/i386/fpu/w_log2.c: New file.
4080 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4081 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4082 and add necessary aliases.
4083 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4084 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4085 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4086 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4087 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4088 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4089 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4090 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4091 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4092 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4093 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4094 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4095 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4096 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4097 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4102 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4103 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4104 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4105 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4106 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4107 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4108 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4109
4110 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4111
4112 * math/Versions (GLIBC_2.29): Add log.
4113 * math/w_log_compat.c (__log_compat): Change to versioned compat
4114 symbol.
4115 * math/w_log.c: New file.
4116 * sysdeps/i386/fpu/w_log.c: New file.
4117 * sysdeps/ia64/fpu/e_log.S: Update.
4118 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4119 and add necessary aliases.
4120 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4121 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4122 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4123 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4124 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4125 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4126 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4127 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4128 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4129 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4130 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4131 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4132 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4133 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4134 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4139 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4140 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4141 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4142 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4143 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4144 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4145 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4146 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4147 __log.
4148 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4149 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4150 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4151 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4152
4153 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4154
4155 * math/Versions (GLIBC_2.29): Add exp and exp2.
4156 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4157 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4158 * math/w_exp_compat.c (__exp_compat): Likewise.
4159 * math/w_exp.c: New file.
4160 * math/w_exp2.c: New file.
4161 * sysdeps/i386/fpu/w_exp.c: New file.
4162 * sysdeps/i386/fpu/w_exp2.c: New file.
4163 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4164 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4165 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4166 and add necessary aliases.
4167 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4168 and add necessary aliases.
4169 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4170 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4171 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4172 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4173 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4174 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4175 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4176 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4177 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4178 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4179 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4180 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4181 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4182 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4183 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4184 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4185 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4190 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4191 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4192 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4193 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4194 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4195 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4196 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4197 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4198 (__ieee754_exp): Rename to __exp.
4199 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4200 (__ieee754_exp): Rename to __exp.
4201 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4202 (__ieee754_exp): Rename to __exp.
4203 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4204 __exp.
4205 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4206
4207 2018-11-20 DJ Delorie <dj@redhat.com>
4208
4209 * malloc/malloc.c (tcache_entry): Add key field.
4210 (tcache_put): Set it.
4211 (tcache_get): Likewise.
4212 (_int_free): Check for double free in tcache.
4213 * malloc/tst-tcfree1.c: New.
4214 * malloc/tst-tcfree2.c: New.
4215 * malloc/Makefile: Run the new tests.
4216 * manual/probes.texi: Document memory_tcache_double_free probe.
4217
4218 * dlfcn/dlerror.c (check_free): Prevent double frees.
4219
4220 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4221
4222 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4223
4224 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4225
4226 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4227 in tests. Use names for format arguments.
4228 (ConstantTest.run): Likewise.
4229 (SymbolTest.run): Likewise.
4230 (TypeTest.run): Likewise.
4231 (TagTest.run): Likewise.
4232 (FunctionTest.run): Likewise.
4233 (VariableTest.run): Likewise.
4234 (MacroFunctionTest.run): Likewise.
4235 (MacroStrTest.run): Likewise.
4236 (HeaderTests.__init__): Set self.num_tests.
4237 (HeaderTests.handle_test_line): Set test.num. Increment
4238 self.num_tests.
4239
4240 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4241
4242 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4243 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4244 SEEK_SET.
4245
4246 2018-11-19 Mao Han <han_mao@c-sky.com>
4247
4248 * scripts/config.guess: Update to version 2018-08-29.
4249 * scripts/config.sub: Update to version 2018-08-29.
4250
4251 2018-11-19 Florian Weimer <fweimer@redhat.com>
4252
4253 support: Print timestamps in timeout handler.
4254 * support/support_test_main.c (print_timestamp): New function.
4255 (signal_handler): Use it to print the termination time and the
4256 time of the last write to standard output.
4257
4258 2018-11-16 Zack Weinberg <zackw@panix.com>
4259 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4260
4261 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4262 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4263 argument.
4264 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4265 and add flags argument. Check flags instead of __ldbl_is_dbl when
4266 deciding whether to set is_long_double.
4267 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4268 passing zero for flags argument.
4269 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4270
4271 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4272 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4273 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4274 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4275 variable names. Remove libc_hidden_def/libc_hidden_proto from
4276 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4277 longer called from within the library.
4278 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4279 for __nldbl___vstrfmon_l, declare it explicitly.
4280
4281 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4282
4283 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4284
4285 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4286 macros
4287 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4288 F_SETLK64, F_SETLKW64, respectively.
4289 * sysdeps/mach/hurd/f_setlk.c: New file.
4290 * sysdeps/mach/hurd/f_setlk.h: New file.
4291 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4292 f_setlk.
4293 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4294 (__libc_fcntl): Move non-flock operations to...
4295 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4296 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4297
4298 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4299
4300 mktime: DEBUG_MKTIME cleanup
4301 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4302 And it’s no longer needed now that glibc and Gnulib both have
4303 their own testing mechanisms for mktime.
4304 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4305
4306 mktime: fix non-EOVERFLOW errno handling
4307 [BZ#23789]
4308 mktime was not properly reporting failures when the underlying
4309 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4310 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4311 The problem could happen on non-glibc platforms, with Gnulib.
4312 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4313 (tm_diff): ... this simpler function, which does not change errno.
4314 All callers changed to deal with errno themselves.
4315 (ranged_convert, __mktime_internal): Return failure immediately if
4316 the underlying function reports any failure other than EOVERFLOW.
4317 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4318 gap code fails.
4319
4320 mktime: fix bug with Y2038 DST transition
4321 [BZ#23789]
4322 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4323 mishandle a DST transition that jumps over the Y2038 boundary.
4324 No such DST transitions are known so this is only a theoretical
4325 bug, but we might as well do things right.
4326
4327 mktime: make more room for overflow
4328 [BZ#23789]
4329 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4330 This is so that we can add tm_diff results to a previous guess,
4331 which will be useful in a later patch.
4332
4333 mktime: simplify offset guess
4334 [BZ#23789]
4335 * time/mktime.c (__mktime_internal): Omit excess precision.
4336
4337 mktime: new test for mktime failure
4338 [BZ#23789]
4339 Based on a test suggested by Albert Aribaud in:
4340 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4341 * time/Makefile (tests): Add bug-mktime4.
4342 * time/bug-mktime4.c: New file.
4343
4344 mktime: fix EOVERFLOW bug
4345 [BZ#23789]
4346 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4347 Include libc-config.h, not config.h, for __set_errno.
4348 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4349
4350 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4351
4352 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4353 __attribute_copy__ to copy attributes from name. Drop static qualifier
4354 to avoid warnings about leaf attribute not having effect on static
4355 functions.
4356
4357 2018-11-13 Florian Weimer <fweimer@redhat.com>
4358
4359 * malloc/malloc.c (fastbin_push_entry): New function.
4360 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4361 (REMOVE_FB): Remove macro.
4362 (_int_malloc): Use fastbin_pop_entry and reindent.
4363 (_int_free): Use fastbin_push_entry.
4364 (malloc_consolidate): Use atomic_exchange_acquire.
4365
4366 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4367
4368 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4369 alias attribute, not with strong_alias.
4370
4371 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4372 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4373 with additional parameter thread.
4374 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4375 in terms of __hidden_ver2.
4376 (hidden_tls_def): New macro.
4377 (libc_hidden_tls_def): Likewise.
4378 (rtld_hidden_tls_def): Likewise.
4379 (libm_hidden_tls_def): Likewise.
4380 (libmvec_hidden_tls_def): Likewise.
4381 (libresolv_hidden_tls_def): Likewise.
4382 (librt_hidden_tls_def): Likewise.
4383 (libdl_hidden_tls_def): Likewise.
4384 (libnss_files_hidden_tls_def): Likewise.
4385 (libnsl_hidden_tls_def): Likewise.
4386 (libnss_nisplus_hidden_tls_def): Likewise.
4387 (libutil_hidden_tls_def): Likewise.
4388 (libutil_hidden_tls_def): Likweise.
4389 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4390 libc_hidden_tls_def.
4391 (__sim_disabled_exceptions_thread): Likewise.
4392 (__sim_round_mode_thread): Likewise.
4393
4394 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4395 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4396 copy attributes from name.
4397
4398 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4399
4400 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4401 Use __attribute_copy__ to copy attributes from name.
4402
4403 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4404 with __hidden_ver1 call.
4405 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4406 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4407 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4408 (__cosf): Do not declare here.
4409 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4410 (__sincosf): Do not declare here.
4411 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4412 (__sinf): Do not declare here.
4413
4414 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4415 (__BIG_ENDIAN): Likewise.
4416 (__BYTE_ORDER): Likewise.
4417 (strong_alias): Likewise.
4418 (_strong_alias): Likewise.
4419
4420 2018-11-12 Florian Weimer <fweimer@redhat.com>
4421
4422 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4423 function. Move after the definition of in_smallbin_range. Do not
4424 use __builtin_expect for paths that lead to a noreturn function.
4425 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4426 because it is unclear whether this is in fact an unlikely
4427 condition.
4428 (_int_malloc, _int_free): Adjust.
4429 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4430 variables.
4431 * malloc/arena.c (heap_trim): Likewise.
4432
4433 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4434
4435 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4436 it, free it if needed.
4437 (reauthenticate): Test and use ccwdir.
4438 (child_init_port): In non-resetids case, test and use ccwdir.
4439 (child_chdir): New nested function to set ccwdir.
4440 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4441 * hurd/hurd/port.h (_hurd_port_move): New function.
4442 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4443 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4444 * hurd/Versions (_hurd_port_move): Export function.
4445 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4446 symbol.
4447 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4448 of dtablesize for allocating dtable_cloexec.
4449
4450 2018-11-09 Martin Sebor <msebor@redhat.com>
4451
4452 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4453 it's already defined.
4454 (_strong_alias): Use __attribute_copy__.
4455 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4456 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4457 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4458 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4459 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4460 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4461 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4462 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4463 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4464 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4465 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4466 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4467 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4468 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4469 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4470 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4471 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4472 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4473 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4474
4475 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4476
4477 * misc/tst-efgcvt.c: Include support/check.h and
4478 support/test-driver.c. Do not include test-skeleton.c.
4479 (error_count): Remove.
4480 (output_error): Replace increments to error_count with calls to
4481 support_record_failure.
4482 (output_r_error): Likewise.
4483 (special): Likewise.
4484 (do_test): Unconditionally return zero.
4485 (TEST_FUNCTION): Remove.
4486
4487 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4488
4489 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4490 not $(@D)/scratch.
4491 ($(linknamespace-header-tests)): Likewise.
4492
4493 * conform/conformtest.py: New file.
4494 * conform/conformtest.pl: Remove.
4495 * conform/GlibcConform.pm: Likewise.
4496 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4497 (KEYWORDS_C99): Likewise.
4498 (KEYWORDS): Likewise.
4499 * conform/Makefile ($(conformtest-header-tests)): Use
4500 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4501 option. Use --header instead of --headers.
4502 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4503 function entries.
4504 * conform/data/spawn.h-data: Likewise.
4505 * conform/data/fcntl.h-data (openat): Add space after function
4506 name.
4507 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4508 (wcscasecmp_l): Likewise.
4509 * conform/data/termios.h-data (c_cc): Add space after element
4510 name.
4511
4512 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4513
4514 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4515 instead of manually comparing and reporting mismatching strings.
4516 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4517 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4518
4519 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4520
4521 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4522 __ASSUME_SOCKETCALL.
4523 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4524 (__ASSUME_SOCKETCALL): Remove.
4525 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4526 (__ASSUME_SOCKETCALL): Likewise.
4527 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4528 (__ASSUME_SOCKETCALL): Likewise.
4529 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4530 (__ASSUME_SOCKETCALL): Likewise.
4531 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4532 (__ASSUME_SOCKETCALL): Likewise.
4533 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4534 (__ASSUME_SOCKETCALL): Likewise.
4535 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4536 (__ASSUME_SOCKETCALL): Likewise.
4537
4538 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4539
4540 [BZ #23509]
4541 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4542 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4543 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4544 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4545 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4546 lc_unknown.
4547
4548 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4549
4550 [BZ #17630]
4551 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4552
4553 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4554
4555 [BZ #23867]
4556 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4557 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4558 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4559 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4560
4561 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4562
4563 * support/support_test_compare_string.c
4564 (support_test_compare_string): Fix printf format.
4565
4566 2018-11-07 Florian Weimer <fweimer@redhat.com>
4567
4568 Implement TEST_COMPARE_STRING.
4569 * support/check.h (TEST_COMPARE_STRING): Define.
4570 (support_test_compare_string): Declare.
4571 * support/Makefile (libsupport-routines): Add
4572 support_test_compare_string.
4573 (tests): Add tst-test_compare_string.
4574 * support/support_test_compare_string.c: New file.
4575 * support/tst-test_compare_string.c: Likewise.
4576
4577 2018-11-07 Andreas Schwab <schwab@suse.de>
4578
4579 [BZ #23864]
4580 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4581 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4582 Undef.
4583
4584 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4585
4586 [BZ #23862]
4587 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4588 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4589 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4590 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4591 Likewise.
4592
4593 2018-11-06 Florian Weimer <fweimer@redhat.com>
4594
4595 [BZ #17405]
4596 * posix/Makefile (routines): Add spawn_faction_addchdir.
4597 (tests): Add tst-spawn-chdir.
4598 * posix/Versions (GLIBC_2.29): Add
4599 posix_spawn_file_actions_addchdir_np.
4600 * posix/spawn_faction_addchdir.c: New file.
4601 * posix/spawn_faction_destroy.c
4602 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4603 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4604 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4605 chdir_action.
4606 * posix/tst-spawn-chdir.c: New file.
4607 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4608 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4609 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4610 posix_spawn_file_actions_addchdir_np.
4611 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4612 Likewise.
4613 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4614 Likewise.
4615 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4616 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4617 Likewise.
4618 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4619 Likewise.
4620 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4621 Likewise.
4622 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4623 Likewise.
4624 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4625 Likewise.
4626 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4627 Likewise.
4628 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4629 (GLIBC_2.29): Likewise.
4630 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4631 (GLIBC_2.29): Likewise.
4632 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4633 (GLIBC_2.29): Likewise.
4634 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4635 (GLIBC_2.29): Likewise.
4636 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4637 Likewise.
4638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4639 (GLIBC_2.29): Likewise.
4640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4641 (GLIBC_2.29): Likewise.
4642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4643 (GLIBC_2.29): Likewise.
4644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4645 (GLIBC_2.29): Likewise.
4646 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4647 Likewise.
4648 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4649 Likewise.
4650 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4651 Likewise.
4652 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4653 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4654 Likewise.
4655 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4656 Likewise.
4657 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4658 Likewise.
4659 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4660 Likewise.
4661
4662 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4663
4664 * misc/Makefile (tests): Add tst-ldbl-error.
4665 * misc/tst-ldbl-error.c: New file.
4666
4667 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4668
4669 * misc/Makefile (tests): Add tst-ldbl-warn.
4670 * misc/tst-ldbl-warn.c: New file.
4671
4672 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4673
4674 * argp/Makefile (tests): Add tst-ldbl-argp.
4675 * argp/tst-ldbl-argp.c: New file.
4676
4677 2018-11-05 Arjun Shankar <arjun@redhat.com>
4678
4679 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4680 __gconv_path_elem and call __gconv_get_path unconditionally.
4681
4682 2018-11-05 Andreas Schwab <schwab@suse.de>
4683
4684 [BZ #22927]
4685 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4686 creating the first helper thread failed.
4687
4688 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4689
4690 * sysdeps/mach/hurd/msync.c: New file.
4691
4692 2018-11-02 Florian Weimer <fweimer@redhat.com>
4693
4694 * support/shell-container.c (copy_func): Call
4695 support_copy_file_range instead of copy_file_range to support
4696 cross-device copies.
4697
4698 2018-11-02 Florian Weimer <fweimer@redhat.com>
4699
4700 * support/test-container.c: Include <libc-pointer-arith.h> for
4701 ALIGN_UP.
4702
4703 2018-11-01 Zong Li <zong@andestech.com>
4704
4705 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4706 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4707 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4708 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4709
4710 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4711 variable to avoid overlap arguments.
4712
4713 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4714
4715 * posix/bug-regex22.c (main): Use puts with distinct error
4716 messages for unexpected success of re_compile_pattern, not printf
4717 with NULL argument to %s.
4718
4719 * stdio-common/bug22.c: Include <libc-diag.h>.
4720 (do_test): Disable -Wformat-overflow= warnings around fprintf
4721 calls outputting more than INT_MAX characters.
4722 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4723 around printf call with NULL %s argument.
4724
4725 [BZ #23848]
4726 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4727 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4728 Undefine.
4729 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4730 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4731 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4732 (__ASSUME_SENDTO_SYSCALL): Likewise.
4733 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4734 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4735 [!__arch64__].
4736 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4737 (__ASSUME_CONNECT_SYSCALL): Likewise.
4738 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4739 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4740 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4741 Define.
4742 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4743 Likewise.
4744 [__LINUX_KERNEL_VERSION >= 0x040400]
4745 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4746 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4747 Remove.
4748 (listen): Likewise.
4749 (setsockopt): Likewise.
4750
4751 2018-11-01 Fredrik Noring <noring@nocrew.org>
4752
4753 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4754 with the ISA override.
4755
4756 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4757
4758 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4759 #endif.
4760
4761 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4762
4763 * manual/errno.texi (EIEIO): Document how translators should
4764 translate the error message.
4765 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4766 printing trailing whitespaces refused by git.
4767 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4768 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4769 * hurd/Makefile (user-interfaces): Add pci.
4770
4771 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4772
4773 * conform/linknamespace.py: New file.
4774 * conform/linknamespace.pl: Remove file.
4775 * conform/Makefile ($(linknamespace-header-tests)): Use
4776 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4777 option.
4778
4779 2018-10-30 Florian Weimer <fweimer@redhat.com>
4780
4781 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4782 memory leaks.
4783
4784 2018-10-30 Florian Weimer <fweimer@redhat.com>
4785
4786 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4787
4788 2018-10-30 Florian Weimer <fweimer@redhat.com>
4789
4790 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4791 support_blob_repeat.
4792
4793 2018-10-30 Florian Weimer <fweimer@redhat.com>
4794
4795 Avoid spurious test failures in stdlib/test-bz22786.
4796 * support/Makefile (libsupport-routines): Add blob_repeat.
4797 (tests): Add tst-support_blob_repeat.
4798 * support/blob_repeat.h: New file.
4799 * support/blob_repeat.c: Likewise.
4800 * support/tst-support_blob_repeat.c: Likewise.
4801 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4802 support_blob_repeat_allocate.
4803
4804 2018-10-30 Andreas Schwab <schwab@suse.de>
4805
4806 [BZ #23125]
4807 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4808 Don't use tail call.
4809 * elf/tst-unwind-main.c: New file.
4810 * elf/Makefile (tests): Add tst-unwind-main.
4811 (CFLAGS-tst-unwind-main.c): Define.
4812
4813 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4814
4815 [BZ #23791]
4816 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4817 n_cs_precedes to 0.
4818 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4819
4820 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4821
4822 * conform/glibcconform.py: Do not import shutil.
4823 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4824 of mkdtemp.
4825
4826 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4827 critic_missing for versions before 3.4.
4828 * configure: Regenerated.
4829 * manual/install.texi (Tools for Compilation): Document
4830 requirement for Python to build glibc.
4831 * INSTALL: Regenerated.
4832 * Rules [PYTHON]: Make code unconditional.
4833 * benchtests/Makefile [PYTHON]: Likewise.
4834 * conform/Makefile [PYTHON]: Likewise.
4835 * manual/Makefile [PYTHON]: Likewise.
4836 * math/Makefile [PYTHON]: Likewise.
4837
4838 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4839
4840 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4841 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4842 answer to interrupt_operation, return EIEIO instead of EINTR.
4843 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4844 _hurd_intr_rpc_msg_about_to global point to start of controlled
4845 assembly snippet. Make it check canceled flag.
4846 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4847 the _hurd_intr_rpc_msg_about_to point.
4848 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4849 issue, remove cancel flag check.
4850
4851 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4852
4853 * scripts/build-many-glibcs.py: Remove compatibility for missing
4854 os.cpu_count and re.fullmatch.
4855
4856 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4857
4858 [BZ #23822]
4859 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4860 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4861 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4862
4863 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4864
4865 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4866 macro.
4867
4868 2018-10-25 Florian Weimer <fweimer@redhat.com>
4869
4870 [BZ #23562]
4871 [BZ #23821]
4872 XFAIL siginfo_t si_band conform test on sparc64.
4873 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4874 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4875 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4876 (conformtest-xfail-conds): Add sparc64-linux.
4877 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4878 sparc64.
4879 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4880
4881 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4882
4883 * elf/elf.h (NT_MIPS_DSP): New macro.
4884 (NT_MIPS_FP_MODE): Likewise.
4885
4886 2018-10-25 Zong Li <zong@andestech.com>
4887
4888 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4889 name by adding the file extension (.so).
4890
4891 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4892
4893 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4894 (test-xfail-ISO11/threads.h/linknamespace,
4895 test-xfail-ISO11/threads.h/conform): Add.
4896
4897 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4898
4899 * math/gen-libm-test.py: Import os.
4900 (ALL_FLOATS_MANUAL): New constant.
4901 (ALL_FLOATS_SUFFIX): Likewise.
4902 (Ulps.all_functions): New function.
4903 (real_all_ulps): Likewise.
4904 (generate_err_table_sub): Likewise.
4905 (generate_err_table): Likewise.
4906 (main): Handle -s and -m options.
4907 * manual/libm-err-tab.pl: Remove.
4908 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4909 instead of libm-err-tab.pl.
4910 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4911 != no].
4912 * manual/install.texi (Tools for Compilation): Document
4913 requirement for Python to build manual.
4914 * INSTALL: Regenerated.
4915
4916 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4917
4918 * bits/time64.h: New file.
4919 * include/time.h: Replace internal_time_t with __time64_t.
4920 * posix/bits/types (__time64_t): Add.
4921 * stdlib/Makefile: Add bits/time64.h to includes.
4922 * time/tzfile.c: Replace internal_time_t with __time64_t.
4923
4924 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4925
4926 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4927 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4928 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4929 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4930 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4931 prototype.
4932 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4933 * posix/spawn_faction_addclose.c
4934 (__posix_spawn_file_actions_addclose): Add hidden definition.
4935 * posix/spawn_faction_adddup2.c
4936 (__posix_spawn_file_actions_adddup2): Likewise.
4937 * posix/spawn_faction_destroy.c
4938 (__posix_spawn_file_actions_destroy): Likewise.
4939 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4940 Likewise.
4941 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4942 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4943 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4944 Likewise.
4945 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4946 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4947 Likewise.
4948
4949 2018-10-24 Andreas Schwab <schwab@suse.de>
4950
4951 [BZ #18093]
4952 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4953 format cache.
4954 * elf/cache.c (print_cache): Likewise.
4955
4956 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4957
4958 * bits/timesize.h: New file.
4959 * stdlib/Makefile (headers): Add bits/timesize.h.
4960 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4961 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4962 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4963 (__SEM_PAD_AFTER_TIME): Likewise.
4964 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4965 (__SHM_PAD_AFTER_TIME): Likewise.
4966 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4967 (__MSQ_PAD_BEFORE_TIME): Likewise.
4968 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4969 (__SEM_PAD_BEFORE_TIME): Likewise.
4970 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4971 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4972 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4973 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4974 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4975 (__MSQ_PAD_BEFORE_TIME): Likewise.
4976 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4977 (__SEM_PAD_BEFORE_TIME): Likewise.
4978 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4979 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4980 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4981 (__MSQ_PAD_BEFORE_TIME): Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4983 (__SEM_PAD_BEFORE_TIME): Likewise.
4984 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
4985 (__SHM_PAD_BEFORE_TIME): Likewise.
4986 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
4987 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4988 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
4989
4990 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
4991
4992 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
4993 USE_RDTSCP is defined.
4994 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
4995 USE_RDTSCP is defined.
4996
4997 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4998
4999 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5000 defined.
5001
5002 [BZ #23709]
5003 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5004 independently of other flags.
5005
5006 2018-10-23 Florian Weimer <fweimer@redhat.com>
5007
5008 * time/tst-mktime2.c (N_STRINGS): Remove.
5009 (set_timezone): New function.
5010 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5011 (mktime_test1): Report localtime failure and check errno value.
5012 Use TEST_COMPARE.
5013 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5014 (do_test): Remove alarm call. Use set_timezone and array_length.
5015
5016 2018-10-23 Andreas Schwab <schwab@suse.de>
5017
5018 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5019 (__start_context): Use END instead of PSEUDO_END.
5020
5021 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5022
5023 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5024 version to 4.19.
5025
5026 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5027 version to 4.19.
5028
5029 [BZ #23793]
5030 * wcsmbs/c32rtomb.c: New file.
5031 * wcsmbs/mbrtoc32.c: Likewise.
5032 * wcsmbs/tst-c32-state.c: Likewise.
5033 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5034 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5035 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5036 (tests): Add tst-c32-state.
5037 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5038 $(gen-locales).
5039
5040 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5041
5042 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5043 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5044
5045 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5046
5047 [BZ #23794]
5048 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5049 pair and return 0 in that case, and use saved character to
5050 interpret following character.
5051 * wcsmbs/tst-c16-surrogate.c: New file.
5052 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5053 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5054 Depend on $(gen-locales)
5055
5056 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5057
5058 [BZ #23562]
5059 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5060 (struct siginfo_t): Use correct type for si_band.
5061
5062 2018-10-19 Florian Weimer <fweimer@redhat.com>
5063
5064 [BZ #23689]
5065 * resource/bits/types/struct_rusage.h (struct rusage): Update
5066 comment on struct. Remove extraneous field comment.
5067
5068 2018-10-18 David S. Miller <davem@davemloft.net>
5069
5070 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5071 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5072 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5073 sysdep_routines in subdir elf.
5074 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5075 version for __vdso_clock_gettime.
5076 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5077 Define.
5078 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5079 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5080
5081 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5082
5083 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5084
5085 * sysdeps/i386/init-arch.h: Removed.
5086 * sysdeps/i386/i586/init-arch.h: Likewise.
5087 * sysdeps/i386/i686/init-arch.h: Likewise.
5088 * sysdeps/i386/i686/hp-timing.h: Likewise.
5089 * sysdeps/x86_64/hp-timing.h: Likewise.
5090 * sysdeps/i386/isa.h: New file.
5091 * sysdeps/i386/i586/isa.h: Likewise.
5092 * sysdeps/i386/i686/isa.h: Likewise.
5093 * sysdeps/x86_64/isa.h: Likewise.
5094 * sysdeps/x86/hp-timing.h: New file.
5095 * sysdeps/x86/init-arch.h: Include <isa.h>.
5096
5097 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5098
5099 * math/libm-test-pow.inc (pow_test_data): Do not allow
5100 divide-by-zero exception for pow(+/- 0, -Inf).
5101
5102 2018-10-17 Zack Weinberg <zackw@panix.com>
5103
5104 * manual/job.texi (Job Control is Optional): Remove node, as
5105 job control has not been optional in quite some time.
5106 (Job Control): Mention briefly that systems older than
5107 POSIX.1-2001 might not support job control.
5108 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5109 defined on systems conforming to POSIX.1-2001.
5110
5111 2018-10-17 Arjun Shankar <arjun@redhat.com>
5112
5113 [BZ #22062]
5114 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5115 indentation.
5116 * (__gconv_read_conf): Mark function static.
5117 * (once): New static variable.
5118 * (__gconv_load_conf): New function.
5119 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5120 * iconv/gconv_db.c (once): Remove static variable.
5121 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5122 __gconv_read_conf.
5123 * (__gconv_find_transform): Likewise.
5124 * iconv/tst-iconv-mt.c: New test.
5125 * iconv/Makefile: Add tst-iconv_mt.
5126
5127 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5128
5129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5130 bits/shm-pad.h.
5131 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5132 (shmatt_t): Define as __syscall_ulong_t.
5133 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5134 and [__SHM_PAD_AFTER_TIME].
5135 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5136 Define shm_segsz and associated padding based on
5137 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5138 Use __syscall_ulong_t instead of unsigned long int.
5139 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5140 unsigned long int.
5141 [__USE_MISC] (struct shm_info): Likewise.
5142 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5143 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5144 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5145 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5146 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5147 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5148 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5149 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5150 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5151 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5152 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5153
5154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5155 bits/shmlba.h.
5156 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5157 (SHMLBA): Remove macro.
5158 (__getpagesize): Remove function declaration.
5159 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5160 <bits/shmlba.h>.
5161 (SHMLBA): Remove macro.
5162 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5163 <bits/shmlba.h>.
5164 (SHMLBA): Remove macro.
5165 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5166 <bits/shmlba.h>.
5167 (SHMLBA): Remove macro.
5168 (__getpagesize): Remove function declaration.
5169 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5170 <bits/shmlba.h>.
5171 (SHMLBA): Remove macro.
5172 (__getshmlba): Remove function declaration.
5173 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5174 (SHMLBA): Remove macro.
5175 (__getpagesize): Remove function declaration.
5176 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5177 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5178 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5179 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5180 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5181 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5182 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5183 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5184 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5185 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5186
5187 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
5188
5189 [BZ #23275]
5190 * nptl/tst-mutex10.c: New File.
5191 * nptl/Makefile (tests): Add tst-mutex10.
5192 (tst-mutex10-ENV): New variable.
5193 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5194 Ensure that elision path is used if elision is available.
5195 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5196 Likewise.
5197 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5198 Likewise.
5199 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5200 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5201 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5202 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5203 Likewise.
5204 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5205 (__pthread_mutex_cond_lock_adjust): Likewise.
5206 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5207 Likewise.
5208 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5209 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5210 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5211 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5212 Add comments.
5213 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5214 Use atomic_load_relaxed and atomic_store_relaxed.
5215 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5216 Use atomic_store_relaxed.
5217
5218 2018-10-17 Andreas Schwab <schwab@suse.de>
5219
5220 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5221 * crypt/badsalttest.c (TIMEOUT): Likewise.
5222 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5223 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5224 * io/test-lfs.c (TIMEOUT): Likewise.
5225 * libio/tst-atime.c (TIMEOUT): Likewise.
5226 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5227 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5228 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5229 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5230 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5231 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5232 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5233 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5234 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5235 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5236 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5237 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5238 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5239 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5240 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5241 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5242 * nptl/tst-once2.c (TIMEOUT): Likewise.
5243 * nptl/tst-once3.c (TIMEOUT): Likewise.
5244 * nptl/tst-once4.c (TIMEOUT): Likewise.
5245 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5246 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5247 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5248 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5249 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5250 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5251 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5252 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5253 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5254 * posix/tst-chmod.c (TIMEOUT): Likewise.
5255 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5256 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5257 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5258 * posix/tst-regex2.c (TIMEOUT): Likewise.
5259 * posix/tst-waitid.c (TIMEOUT): Likewise.
5260 * rt/tst-aio.c (TIMEOUT): Likewise.
5261 * rt/tst-aio10.c (TIMEOUT): Likewise.
5262 * rt/tst-aio4.c (TIMEOUT): Likewise.
5263 * rt/tst-aio5.c (TIMEOUT): Likewise.
5264 * rt/tst-aio6.c (TIMEOUT): Likewise.
5265 * rt/tst-aio64.c (TIMEOUT): Likewise.
5266 * rt/tst-aio7.c (TIMEOUT): Likewise.
5267 * rt/tst-aio9.c (TIMEOUT): Likewise.
5268 * rt/tst-clock.c (TIMEOUT): Likewise.
5269 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5270 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5271 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5272 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5273 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5274 * rt/tst-timer4.c (TIMEOUT): Likewise.
5275 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5276 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5277 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5278 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5279 * time/tst-ftime.c (TIMEOUT): Likewise.
5280 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5281
5282 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5283
5284 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5285 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5286 for thunderX2.
5287
5288 2018-10-15 Joseph Myers <joseph@codesourcery.com>
5289
5290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5291 bits/sem-pad.h.
5292 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5293 instead of <bits/wordsize.h>.
5294 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5295 and [__SEM_PAD_AFTER_TIME].
5296 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5297 __syscall_ulong_t instead of unsigned long int.
5298 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5299 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5300 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5301 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5302 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5303 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5304 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5305 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5306 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5307 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5308 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5309
5310 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5311
5312 regex: simplify by using intprops.h
5313 [BZ#23744]
5314 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5315 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5316 intprops.h defines them.
5317
5318 regex: __builtin_expect → __glibc_unlikely
5319 [BZ#23744]
5320 This refactoring was prompted by a problem when the regex code is
5321 used as part of Gnulib and when the builder’s compiler does not grok
5322 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5323 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5324 Although this refactoring does not fix the problem directly,
5325 we might as well have Gawk use the now-preferred glibc style for when
5326 __builtin_expect is unavailable.
5327 * posix/regex_internal.h (BE): Remove.
5328 All uses replaced by __glibc_unlikely or __glibc_likely.
5329
5330 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5331
5332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5333 bits/msq-pad.h.
5334 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5335 instead of <bits/wordsize.h>.
5336 (msgqnum_t): Define as __syscall_ulong_t.
5337 (msglen_t): Likewise.
5338 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5339 and [__MSQ_PAD_AFTER_TIME].
5340 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5341 __syscall_ulong_t instead of unsigned long int.
5342 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5343 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5344 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5345 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5346 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5347 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5348 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5349 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5350 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5351 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5352 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5353
5354 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5355
5356 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5357 (struct shmid_ds): Condition padding after time fields on
5358 [__WORDSIZE == 32].
5359 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5360 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5361 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5362
5363 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5364 (struct semid_ds): Condition padding after time fields on
5365 [__WORDSIZE == 32].
5366 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5367 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5368 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5369 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5370
5371 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5372 (struct msqid_ds): Condition padding after time fields on
5373 [__WORDSIZE == 32].
5374 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5375 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5376 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5377 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5378
5379 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5380
5381 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5382
5383 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5384
5385 * libio/tst-readline.c (TIMEOUT): Define.
5386
5387 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5388
5389 mktime fix for Gnulib + coreutils
5390 [BZ#23745]
5391 This fix affects only Gnulib. Problem discovered when
5392 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5393 * time/mktime.c:
5394 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5395 Do not define since it is not used. Defining an unused static
5396 function prompts a warning from GCC when Coreutils is configured
5397 with --enable-gcc-warnings.
5398
5399 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5400
5401 * benchtests/scripts/compare_bench.py (main): set float type on
5402 threshold argument.
5403
5404 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5405
5406 [BZ #23740]
5407 * localedata/locales/kl_GL (mon): Update, the relative case.
5408 (alt_mon): Add, fill with month names in the nominative case.
5409 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5410 (d_fmt): Set to "%b %d %Y".
5411
5412 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5413
5414 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5415 <bits/mman-linux.h>.
5416 (PROT_READ): Don't define here.
5417 (PROT_WRITE): Likewise.
5418 (PROT_EXEC): Likewise.
5419 (PROT_NONE): Likewise.
5420 (PROT_GROWSDOWN): Likewise.
5421 (PROT_GROWSUP): Likewise.
5422 (MAP_SHARED): Likewise.
5423 (MAP_PRIVATE): Likewise.
5424 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5425 [__USE_MISC] (MAP_FILE): Likewise.
5426 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5427 [__USE_MISC] (MAP_ANON): Likewise.
5428 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5429 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5430 (MCL_CURRENT): Likewise.
5431 (MCL_FUTURE): Likewise.
5432 (MCL_ONFAULT): Likewise.
5433 [__USE_MISC] (MADV_NORMAL): Likewise.
5434 [__USE_MISC] (MADV_RANDOM): Likewise.
5435 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5436 [__USE_MISC] (MADV_WILLNEED): Likewise.
5437 [__USE_MISC] (MADV_DONTNEED): Likewise.
5438 [__USE_MISC] (MADV_FREE): Likewise.
5439 [__USE_MISC] (MADV_REMOVE): Likewise.
5440 [__USE_MISC] (MADV_DONTFORK): Likewise.
5441 [__USE_MISC] (MADV_DOFORK): Likewise.
5442 [__USE_MISC] (MADV_HWPOISON): Likewise.
5443 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5444 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5445 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5446 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5447 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5448 (__MAP_ANONYMOUS): New macro.
5449 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5450 <bits/mman-linux.h> inclusion.
5451 (MAP_FIXED): Likewise.
5452 (MS_SYNC): Likewise.
5453 (MS_ASYNC): Likewise.
5454 (MS_INVALIDATE): Likewise.
5455 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5456 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5457 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5458 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5459 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5460 [__USE_MISC] (MADV_DODUMP): Likewise.
5461 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5462 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5463
5464 [BZ #23735]
5465 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5466 Define.
5467 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5468 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5469 Add test-nldbl-redirect.
5470 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5471 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5472 $(objpfx)libnldbl_nonshared.a.
5473
5474 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5475
5476 * support/support.h (support_objdir_elf_ldso): New variable.
5477 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5478 * support/Makefile (CFLAGS-support_paths.c): Add definition
5479 for OBJDIR_ELF_LDSO_PATH.
5480 * support/test-container.c (main): Search for the ld.so
5481 which is also used by the testsuite.
5482
5483 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5484
5485 [BZ #20209]
5486 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5487 should be "sap" rather than "sab".
5488 (day): Fix spelling of Sunday, should be "sapaat" rather than
5489 "sabaat".
5490
5491 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5492
5493 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5494
5495 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5496
5497 [BZ #19444]
5498 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5499 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5500 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5501
5502 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5503
5504 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5505
5506 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5507
5508 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5509 Add -mrtm.
5510 (CFLAGS-elision-unlock.c): Likewise.
5511 (CFLAGS-elision-timed.c): Likewise.
5512 (CFLAGS-elision-trylock.c): Likewise.
5513 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5514
5515 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5516
5517 [BZ #21037]
5518 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5519 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5520 new fd_to_filename interface.
5521 * libio/freopen64.c (freopen64): Likewise.
5522 * libio/tst-memstream.h: New file.
5523 * libio/tst-memstream4.c: Likewise.
5524 * libio/tst-wmemstream4.c: Likewise.
5525 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5526 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5527 and remove internal dynamic allocation.
5528
5529 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5530
5531 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5532 (MREMAP_MAYMOVE): Do not define here.
5533 [__USE_GNU] (MREMAP_FIXED): Likewise.
5534 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5535 (MREMAP_MAYMOVE): Define here instead.
5536 [__USE_GNU] (MREMAP_FIXED): Likewise.
5537 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5538 (MREMAP_MAYMOVE): Remove.
5539 [__USE_GNU] (MREMAP_FIXED): Likewise.
5540
5541 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5542
5543 * math/fromfp.h: Do not include <math_private.h>.
5544 * math/s_cacosh_template.c: Likewise.
5545 * math/s_casin_template.c: Likewise.
5546 * math/s_casinh_template.c: Likewise.
5547 * math/s_ccos_template.c: Likewise.
5548 * math/s_cproj_template.c: Likewise.
5549 * math/s_fdim_template.c: Likewise.
5550 * math/s_fmaxmag_template.c: Likewise.
5551 * math/s_fminmag_template.c: Likewise.
5552 * math/s_iseqsig_template.c: Likewise.
5553 * math/s_ldexp_template.c: Likewise.
5554 * math/s_nextdown_template.c: Likewise.
5555 * math/w_log1p_template.c: Likewise.
5556 * math/w_scalbln_template.c: Likewise.
5557 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5558 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5559 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5560 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5561 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5562 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5563 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5564 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5565 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5566 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5567 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5568 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5569 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5570 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5571 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5572 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5573 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5574 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5575 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5576 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5577 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5578 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5579 * sysdeps/ieee754/k_standardf.c: Likewise.
5580 * sysdeps/ieee754/k_standardl.c: Likewise.
5581 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5582 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5583 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5584 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5585 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5586 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5587 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5588 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5589 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5590 * sysdeps/ieee754/s_signgam.c: Likewise.
5591 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5592 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5593 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5594 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5595 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5596 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5597 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5598 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5599 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5600 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5601 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5602 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5603 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5604 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5605 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5606 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5607 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5608 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5609 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5610 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5611 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5612 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5613 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5614 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5615 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5616 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5617 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5618 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5619 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5620 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5621 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5622 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5623 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5624 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5625 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5626 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5627 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5628 <math_private.h>.
5629 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5630
5631 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5632
5633 [BZ #23716]
5634 * sysdeps/i386/dl-cet.c: Removed.
5635 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5636 prototype.
5637 (_dl_runtime_profile_shstk): Likewise.
5638 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5639 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5640
5641 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5642
5643 [BZ #23579]
5644 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5645 do_test_with_invalid_iov): New tests.
5646 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5647 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5648 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5649 errno is ENOSYS.
5650 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5651 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5652 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5653
5654 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5655
5656 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5657 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5658 (MATH_REDIRECT_BINARY_ARGS): New macro.
5659 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5660 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5661 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5662 header inclusion.
5663 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5664 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5665 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5666 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5667 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5668 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5669 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5671 Likewise.
5672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5673 Likewise.
5674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5676 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5677 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5679 Likewise.
5680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5681 Likewise.
5682 * sysdeps/generic/math_private_calls.h
5683 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5684 Do not declare and define as an inline function.
5685 * math/divtc3.c (__divtc3): Use copysign functions instead of
5686 __copysign variants.
5687 * math/multc3.c (__multc3): Likewise.
5688 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5689 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5690 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5691 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5692 Likewise.
5693 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5694 (__ieee754_yn): Likewise.
5695 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5696 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5697 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5698 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5699 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5700 (__sin): Likewise.
5701 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5702 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5703 Likewise.
5704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5705 Likewise.
5706 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5707 Likewise.
5708 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5709 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5710 Likewise.
5711 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5712 (__ieee754_ynf): Likewise.
5713 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5714 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5715 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5716 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5717 Likewise.
5718 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5719 (__ieee754_ynl): Likewise.
5720 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5721 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5722 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5723 Likewise.
5724 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5725 (__ieee754_ynl): Likewise.
5726 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5727 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5728 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5729 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5730 Likewise.
5731 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5732 (__ieee754_ynl)
5733 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5734 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5735 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5736 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5737 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5738
5739 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5740 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5741 using MATH_REDIRECT.
5742 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5743 header inclusion.
5744 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5745 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5746 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5747 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5748 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5749 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5750 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5755 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5756 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5757 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5758 (round): Redirect to __round.
5759 (__roundl): Call round instead of __round.
5760 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5761 Remove macro.
5762 [_ARCH_PWR5X] (__roundf): Likewise.
5763 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5764 functions instead of __round variants.
5765 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5766 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5767 Likewise.
5768 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5769 Likewise.
5770 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5771 Likewise.
5772 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5773 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5774 __lroundl.
5775 (__ieee754_expl): Call roundl instead of __roundl.
5776
5777 2018-09-27 Andreas Schwab <schwab@suse.de>
5778
5779 [BZ #23717]
5780 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5781 (do_test): Make st1 static.
5782
5783 2018-09-26 Andreas Schwab <schwab@suse.de>
5784
5785 [BZ #23707]
5786 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5787 * elf/Makefile (tests): Add tst-unwind-ctor.
5788 (modules-names): Add tst-unwind-ctor-lib.
5789 ($(objpfx)tst-unwind-ctor): Depend on
5790 $(objpfx)tst-unwind-ctor-lib.so.
5791
5792 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5793
5794 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5795 file. Most contents moved from ....
5796 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5797 and include <bits/mman-map-flags-generic.h>.
5798 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5799 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5800 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5801 <bits/mman-map-flags-generic.h>.
5802 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5803 macros defined in <bits/mman-map-flags-generic.h>.
5804 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5805 <bits/mman-map-flags-generic.h>.
5806 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5807 defined in <bits/mman-map-flags-generic.h>.
5808
5809 2018-09-26 Andreas Schwab <schwab@suse.de>
5810
5811 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5812 output.
5813
5814 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5815 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5816 Fangrui Song <maskray@google.com>
5817
5818 [BZ #20480]
5819 * config.make.in (have-textrel_ifunc): New define.
5820 * configure.ac: Add check if linker supports textrel relocation with
5821 ifunc.
5822 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5823 tst-ifunc-textrel.
5824 (CFLAGS-tst-ifunc-textrel.c): New rule.
5825 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5826 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5827 * elf/tst-ifunc-textrel.c: New file.
5828
5829 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5830
5831 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5832 <bits/procfs-prregset.h>.
5833 (prgregset_t): Define using __prgregset_t.
5834 (prfpregset_t): Define using __prfpregset_t.
5835 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5836 (sysdep_headers): Add bits/procfs-prregset.h.
5837 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5838 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5839 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5840 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5841
5842 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5843 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5844 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5845 pr_uid and pr_gid.
5846 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5847 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5848 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5849 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5850 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5851 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5852 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5853 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5854 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5855 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5856 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5857 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5858 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5859 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5860 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5861 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5862 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5863 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5864 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5865 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5866 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5867 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5868 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5869 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5870
5871 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5872 AArch64 version. Include <bits/procfs.h>.
5873 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5874 (sysdep_headers): Add bits/procfs.h.
5875 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5876 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5877 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5878 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5879 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5880 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5881 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5882 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5883 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5884 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5885 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5886 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5887 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5888 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5889 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5890 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5891 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5892
5893 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5894
5895 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5896 Use libsupport.
5897
5898 2018-09-25 Arjun Shankar <arjun@redhat.com>
5899
5900 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5901 (__gconv_max_path_elem_len): Likewise.
5902 (__gconv_nmodules): Likewise.
5903 (__gconv_get_path): Likewise.
5904 (path_elem): Move to ...
5905 * iconv/gconv_conf.c: ... here.
5906 (__gconv_get_path): Mark function static.
5907 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5908 * iconv/gconv_open.c: ... here.
5909
5910 2018-09-24 Andreas Schwab <schwab@suse.de>
5911
5912 * scripts/haveversions.awk: New file.
5913 * Makerules ($(common-objpfx)Versions.def)
5914 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5915 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5916 Move rules ...
5917 * Makeconfig ($(common-objpfx)Versions.def)
5918 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5919 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5920 ... here.
5921 ($(common-objpfx)Versions.mk): New rule. Include it.
5922 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5923 Emit error if build-obsolete-nsl = yes.
5924 * manual/install.texi (Configuring and compiling): Describe
5925 --enable-obsolete-nsl as unavaiable after version 2.28.
5926 * INSTALL: Regenerate.
5927
5928 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5929
5930 * NEWS: Add note about new TLE support on powerpc64le.
5931 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5932 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5933 __ununsed1.
5934 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5935 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5936 * sysdeps/powerpc/powerpc32/sysdep.h,
5937 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5938 ABORT_TRANSACTION): Remove macros.
5939 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5940 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5941 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5943 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5944 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5945 usage.
5946 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5947
5948 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5949
5950 [BZ #10425]
5951 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5952 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5953 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5954 which is the same as in it_IT.
5955 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5956 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5957
5958 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5959
5960 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5961 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5962 using MATH_REDIRECT.
5963 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5964 header inclusion.
5965 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5966 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5967 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5968 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5969 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5970 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5975 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5976 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5977 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5978 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5979 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5980 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5981 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5982 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5983 (ceil): Redirect to __ceil.
5984 (floor): Redirect to __floor.
5985 (trunc): Redirect to __trunc.
5986 (__truncl): Call trunc instead of __trunc.
5987 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
5988 Remove macro.
5989 [_ARCH_PWR5X] (__truncf): Likewise.
5990 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
5991 trunc functions instead of __trunc variants.
5992 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5993 Likewise.
5994 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5995 Likewise.
5996 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5997 Likewise.
5998 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5999 Likewise.
6000
6001 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6002 [__i586__ || __pentium__].
6003 [__i486__]: Handle explicitly.
6004 (HAS_CPUID): Define to 1 if above macros are undefined.
6005 (HAS_I586): Likewise.
6006 (HAS_I686): Likewise.
6007
6008 2018-09-20 Florian Weimer <fweimer@redhat.com>
6009
6010 * misc/tst-gethostid.c: New file.
6011 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6012 (tst-gethostid): Link with -ldl.
6013
6014 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6015
6016 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6017 value from gethostbyname_r.
6018
6019 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6020
6021 * stdlib/tst-setcontext9.c (f1): Rename to...
6022 (f1a): ... this.
6023 (f1b): New function implementing lower half of f1 in alternate stack.
6024
6025 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6026
6027 Fix mktime localtime offset confusion
6028 [BZ #23603]
6029 * include/time.h (__mktime_internal): The localtime offset is now
6030 of type long int instead of time_t. This is the longstanding type
6031 in glibc, and it is more than enough to represent difference
6032 between localtime and gmtime even if it is 32 bits and time_t is
6033 64. Changing it now will let us avoid an unnecessary change when
6034 time_t is widened to 64 bits on 32-bit platforms.
6035 * time/mktime-internal.h (mktime_offset_t): Now long int.
6036
6037 Merge mktime, timegm from upstream Gnulib
6038 [BZ #23603][BZ #16346]
6039 This fixes some obscure problems with integer overflow.
6040 Although it looks scary, it is almost all a byte-for-byte copy
6041 from Gnulib, and the Gnulib code has been tested reasonably well.
6042 * include/intprops.h: New file, copied from Gnulib.
6043 * include/verify.h, time/mktime-internal.h:
6044 New tiny files, simplified from Gnulib.
6045 * time/mktime.c: Copy from Gnulib. This has the following changes:
6046 Do not include config.h if DEBUG_MKTIME is nonzero.
6047 Include stdbool.h, intprops.h, verify.h.
6048 Include string.h only if needed.
6049 Include stdlib.h on MS-Windows.
6050 Include mktime-internal.h.
6051 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6052 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6053 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6054 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6055 simplify later conditionals; default the others to zero. Use
6056 these conditionals to express only the code needed on the current
6057 platform. In uses of these conditionals, explicitly spell out how
6058 _LIBC affects things, so it’s easier to review from a glibc
6059 viewpoint.
6060 (WRAPV): Remove; no longer needed now that we have
6061 systematic overflow checking.
6062 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6063 compartmentalize tzset issues. Move system-dependent tzsettish
6064 code here from mktime.
6065 (verify): Remove; now done by verify.h. All uses changed.
6066 (long_int): Use a more-conservative definition, to avoid
6067 integer overflow.
6068 (SHR): Remove, replacing with ...
6069 (shr): New function, which means we needn’t worry about side
6070 effects in args, and conversion analysis is simpler.
6071 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6072 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6073 (time_t_avg, time_t_add_ok): Remove.
6074 (mktime_min, mktime_max): New constants.
6075 (leapyear, isdst_differ): Use bool for booleans.
6076 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6077 Use long_int, not time_t, for mktime differences.
6078 (long_int_avg): New function, replacing time_t_avg.
6079 INT_ADD_WRAPV replaces time_t_add_ok.
6080 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6081 All uses changed.
6082 (convert_time): New function.
6083 (ranged_convert): Use it.
6084 (__mktime_internal): Last arg now points to mktime_offset_t, not
6085 time_t. All uses changed. This is a no-op on glibc, where
6086 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6087 offset guess. Directly check for integer overflow instead of
6088 using a heuristic that works only 99.9...% of the time.
6089 Access *OFFSET only once, to avoid an unlikely race if the
6090 compiler delays a load and if this cascades into a signed integer
6091 overflow.
6092 (mktime): Move tzsettish code to my_tzset, and move
6093 localtime_offset to within mktime so that it doesn’t
6094 need a separate ifdef.
6095 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6096 instead of localtime.
6097 * time/timegm.c: Copy from Gnulib. This has the following changes:
6098 Include mktime-internal.h.
6099 [!_LIBC]: Include config.h and time.h. Do not include
6100 timegm.h or time_r.h. Make __mktime_internal a macro,
6101 and include mktime-internal.h to get its declaration.
6102 (timegm): Temporary is now mktime_offset_t, not time_t.
6103 This affects only Gnulib.
6104
6105 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6106
6107 [BZ #23637]
6108 * string/test-strstr.c (pr23637): New function.
6109 (test_main): Add tests with longer needles.
6110 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6111 * string/strstr.c (AVAILABLE): Likewise.
6112
6113 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6114
6115 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6116
6117 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6118
6119 * NEWS: Mention pow improvements.
6120 * math/Makefile (type-double-routines): Add e_pow_log_data.
6121 * sysdeps/generic/math_private.h (__exp1): Remove.
6122 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6123 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6124 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6125 contraction.
6126 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6127 (exp_inline): Remove.
6128 (__ieee754_exp): Only single double input is handled.
6129 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6130 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6131 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6132 (__pow_log_data): Define.
6133 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6134 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6135 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6136 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6137 contraction.
6138 (CFLAGS-e_pow-fma4.c): Likewise.
6139
6140 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6141
6142 Simplify tzfile fstat failure code
6143 [BZ #21716]
6144 * time/tzfile.c (__tzfile_read): Simplify slightly.
6145
6146 Fix tzfile low-memory assertion failure
6147 [BZ #21716]
6148 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6149 when registering time zone abbreviations.
6150
6151 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6152
6153 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6154 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6155 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6156 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6157 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6158 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6159 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6160 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6161 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6162
6163 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6164 __ceil.
6165 (__ceill): Call ceil instead of __ceil.
6166 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6167 __floor.
6168 (__floorl): Call floor instead of __floor.
6169
6170 2018-09-17 Joseph Myers <joseph@codesourcery.com>
6171
6172 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6173 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6174 using MATH_REDIRECT.
6175 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6176 header inclusion.
6177 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6178 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6179 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6180 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6181 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6182 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6183 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6184 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6189 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6190 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6191 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6192 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6193 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6194 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6195 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6196 Remove macro.
6197 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6198 functions instead of __ceil variants.
6199 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6200 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6201 Likewise.
6202 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6203 Likewise.
6204 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6205 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6206 Likewise.
6207 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6208 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6209
6210 [BZ #21286]
6211 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6212 constant.
6213 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6214 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6215 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6216 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6217 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6218 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6219 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6220 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6221 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6222 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6223 (ILL_BADIADDR): Remove constant.
6224 (TRAP_BRANCH): Likewise.
6225 (TRAP_HWBKPT): Likewise.
6226
6227 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6228
6229 [BZ #23656]
6230 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6231 Remove [_MIPS_SIM = _ABIN32] conditional case.
6232 (struct elf_prpsinfo): Likewise.
6233
6234 [BZ #23649]
6235 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6236 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6237 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6238 Likewise.
6239 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6240 elf_prpsinfo): Likewise.
6241 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6242 elf_prpsinfo): Likewise.
6243 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6244 Likewise.
6245
6246 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6247 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6248 using MATH_REDIRECT.
6249 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6250 header inclusion.
6251 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6252 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6253 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6254 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6255 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6256 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6257 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6258 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6259 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6261 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6262 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6263 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6264 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6265 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6266 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6267 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6268 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6269 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6272 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6273 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6274 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6275 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6276 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6277 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6278 __rint variants.
6279 * math/e_scalbf.c (invalid_fn): Likewise.
6280 * math/e_scalbl.c (invalid_fn): Likewise.
6281 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6282 Likewise.
6283 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6284 Likewise.
6285 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6286 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6287 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6288 Likewise.
6289 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6290 Likewise.
6291 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6292 Likewise.
6293 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6294 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6295
6296 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6297 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6298 New macro.
6299 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6300 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6301 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6302 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6303 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6304 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6305 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6306 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6307 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6308 && !NO_MATH_REDIRECT] (floor): Likewise.
6309 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6310 header inclusion.
6311 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6312 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6313 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6314 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6315 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6318 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6323 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6324 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6327 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6328 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6329 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6330 Remove macro.
6331 [_ARCH_PWR5X] (__floorf): Likewise.
6332 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6333 inline function.
6334 [__SSE4_1__] (__floorf): Likewise.
6335 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6336 instead of __floor variants.
6337 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6338 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6339 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6340 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6341 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6342 * math/w_tgamma_compat.c (__tgamma): Likewise.
6343 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6344 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6345 * math/w_tgammal_compat.c (__tgammal): Likewise.
6346 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6347 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6348 Likewise.
6349 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6350 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6351 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6352 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6353 Likewise.
6354 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6355 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6356 Likewise.
6357 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6358 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6359 Likewise.
6360 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6361 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6362 Likewise.
6363 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6364 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6365 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6366 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6367 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6368 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6369
6370 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6371
6372 * elf/Makefile (modules-names-tests): New variable.
6373
6374 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6375
6376 * NEWS: Mention log2 improvements.
6377 * math/Makefile (type-double-routines): Add e_log2_data.
6378 * sysdeps/i386/fpu/e_log2_data.c: New file.
6379 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6380 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6381 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6382 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6383 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6384 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6385
6386 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6387
6388 * NEWS: Mention log improvement.
6389 * math/Makefile (type-double-routines): Add e_log_data.
6390 * sysdeps/i386/fpu/e_log_data.c: New file.
6391 * sysdeps/ia64/fpu/e_log_data.c: New file.
6392 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6393 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6394 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6395 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6396 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6397 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6398
6399 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6400 Xuepeng Guo <xuepeng.guo@intel.com>
6401
6402 [BZ #23606]
6403 * sysdeps/i386/start.S: Include <sysdep.h>
6404 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6405 enabled. Add cfi_undefined (eip).
6406
6407 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6408
6409 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6410 (MOVQ): Likewise.
6411 (EXTRACT_WORDS64): Likewise.
6412 (INSERT_WORDS64): Likewise.
6413 (GET_FLOAT_WORD): Likewise.
6414 (SET_FLOAT_WORD): Likewise.
6415
6416 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6417 argument.
6418 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6419 build, but not for second build if --full-gcc. Use
6420 --enable-languages=all for second build if --full-gcc.
6421 (get_parser): Add --full-gcc option.
6422 (main): Update call to Context.
6423
6424 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6425
6426 [BZ #10797]
6427 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6428 Single Quotation Mark).
6429 (thousands_sep): Likewise.
6430 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6431 * localedata/locales/it_IT (thousands_sep): Use ".".
6432 (grouping): Use "3;3".
6433
6434 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6435
6436 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6437 x86_64 and i686 configs using --enable-obsolete-rpc
6438 --enable-obsolete-nsl.
6439
6440 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6441
6442 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6443
6444 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6445
6446 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6447 Increment size of new_argv by one.
6448
6449 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6450
6451 [BZ #17426]
6452 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6453 * localedata/locales/ar_IN (d_fmt): Likewise.
6454 * localedata/locales/bhb_IN (d_fmt): Likewise.
6455 * localedata/locales/bho_IN (d_fmt): Likewise.
6456 * localedata/locales/bn_BD (d_fmt): Likewise.
6457 * localedata/locales/bn_IN (d_fmt): Likewise.
6458 * localedata/locales/doi_IN (d_fmt): Likewise.
6459 * localedata/locales/gu_IN (d_fmt): Likewise.
6460 * localedata/locales/hi_IN (d_fmt): Likewise.
6461 * localedata/locales/hne_IN (d_fmt): Likewise.
6462 * localedata/locales/kn_IN (d_fmt): Likewise.
6463 * localedata/locales/mag_IN (d_fmt): Likewise.
6464 * localedata/locales/mai_IN (d_fmt): Likewise.
6465 * localedata/locales/mjw_IN (d_fmt): Likewise.
6466 * localedata/locales/ml_IN (d_fmt): Likewise.
6467 * localedata/locales/mni_IN (d_fmt): Likewise.
6468 * localedata/locales/mr_IN (d_fmt): Likewise.
6469 * localedata/locales/pa_IN (d_fmt): Likewise.
6470 * localedata/locales/raj_IN (d_fmt): Likewise.
6471 * localedata/locales/sat_IN (d_fmt): Likewise.
6472 * localedata/locales/sd_IN (d_fmt): Likewise.
6473 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6474 * localedata/locales/ta_IN (d_fmt): Likewise.
6475 * localedata/locales/ta_LK (d_fmt): Likewise.
6476 * localedata/locales/tcy_IN (d_fmt): Likewise.
6477 * localedata/locales/ur_IN (d_fmt): Likewise.
6478
6479 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6480 * localedata/locales/ks_IN (d_fmt): Likewise.
6481 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6482
6483 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6484 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6485 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6486 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6487
6488 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6489
6490 * NEWS: Mention exp and exp2 improvements.
6491 * math/Makefile (libm-support): Remove t_exp.
6492 (type-double-routines): Add math_err and e_exp_data.
6493 * sysdeps/aarch64/libm-test-ulps: Update.
6494 * sysdeps/arm/libm-test-ulps: Update.
6495 * sysdeps/i386/fpu/e_exp_data.c: New file.
6496 * sysdeps/i386/fpu/math_err.c: New file.
6497 * sysdeps/i386/fpu/t_exp.c: Remove.
6498 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6499 * sysdeps/ia64/fpu/math_err.c: New file.
6500 * sysdeps/ia64/fpu/t_exp.c: Remove.
6501 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6502 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6503 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6504 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6505 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6506 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6507 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6508 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6509 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6510 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6511 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6512 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6513 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6514 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6517
6518 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6519
6520 * sysdeps/alpha/fpu/math_private.h: Remove.
6521
6522 * sysdeps/generic/math_private.h
6523 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6524 Move this inline function ....
6525 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6526 * include/math.h [!_ISOMAC]: To here....
6527
6528 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6529
6530 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6531 code ....
6532 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6533 * include/fenv.h [!_ISOMAC]: ... to here.
6534 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6535 (feraiseexcept): Likewise.
6536 * math/fromfp.h: Do not include <fenv_private.h>.
6537 * math/s_cexp_template.c: Likewise.
6538 * math/s_csin_template.c: Likewise.
6539 * math/s_csinh_template.c: Likewise.
6540 * math/s_ctan_template.c: Likewise.
6541 * math/s_ctanh_template.c: Likewise.
6542 * math/s_iseqsig_template.c: Likewise.
6543 * math/w_acos_compat.c: Likewise.
6544 * math/w_acosf_compat.c: Likewise.
6545 * math/w_acosl_compat.c: Likewise.
6546 * math/w_asin_compat.c: Likewise.
6547 * math/w_asinf_compat.c: Likewise.
6548 * math/w_asinl_compat.c: Likewise.
6549 * math/w_j0_compat.c: Likewise.
6550 * math/w_j0f_compat.c: Likewise.
6551 * math/w_j0l_compat.c: Likewise.
6552 * math/w_j1_compat.c: Likewise.
6553 * math/w_j1f_compat.c: Likewise.
6554 * math/w_j1l_compat.c: Likewise.
6555 * math/w_jn_compat.c: Likewise.
6556 * math/w_jnf_compat.c: Likewise.
6557 * math/w_log10_compat.c: Likewise.
6558 * math/w_log10f_compat.c: Likewise.
6559 * math/w_log10l_compat.c: Likewise.
6560 * math/w_log2_compat.c: Likewise.
6561 * math/w_log2f_compat.c: Likewise.
6562 * math/w_log2l_compat.c: Likewise.
6563 * math/w_log_compat.c: Likewise.
6564 * math/w_logf_compat.c: Likewise.
6565 * math/w_logl_compat.c: Likewise.
6566 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6567 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6568 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6569 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6570 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6571 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6572 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6573 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6574 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6575 * sysdeps/ieee754/k_standardl.c: Likewise.
6576 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6577 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6578 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6579 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6580 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6581 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6582 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6583 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6584 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6585 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6586 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6588 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6589 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6590 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6591 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6592 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6593 * math/w_ilogb_template.c: Include <fenv.h> instead of
6594 <fenv_private.h>.
6595 * math/w_llogb_template.c: Likewise.
6596 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6597 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6598
6599 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6600
6601 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6602 * math/fromfp.h: Include <fenv_private.h>.
6603 * math/math-narrow.h: Likewise.
6604 * math/s_cexp_template.c: Likewise.
6605 * math/s_csin_template.c: Likewise.
6606 * math/s_csinh_template.c: Likewise.
6607 * math/s_ctan_template.c: Likewise.
6608 * math/s_ctanh_template.c: Likewise.
6609 * math/s_iseqsig_template.c: Likewise.
6610 * math/w_acos_compat.c: Likewise.
6611 * math/w_acosf_compat.c: Likewise.
6612 * math/w_acosl_compat.c: Likewise.
6613 * math/w_asin_compat.c: Likewise.
6614 * math/w_asinf_compat.c: Likewise.
6615 * math/w_asinl_compat.c: Likewise.
6616 * math/w_ilogb_template.c: Likewise.
6617 * math/w_j0_compat.c: Likewise.
6618 * math/w_j0f_compat.c: Likewise.
6619 * math/w_j0l_compat.c: Likewise.
6620 * math/w_j1_compat.c: Likewise.
6621 * math/w_j1f_compat.c: Likewise.
6622 * math/w_j1l_compat.c: Likewise.
6623 * math/w_jn_compat.c: Likewise.
6624 * math/w_jnf_compat.c: Likewise.
6625 * math/w_llogb_template.c: Likewise.
6626 * math/w_log10_compat.c: Likewise.
6627 * math/w_log10f_compat.c: Likewise.
6628 * math/w_log10l_compat.c: Likewise.
6629 * math/w_log2_compat.c: Likewise.
6630 * math/w_log2f_compat.c: Likewise.
6631 * math/w_log2l_compat.c: Likewise.
6632 * math/w_log_compat.c: Likewise.
6633 * math/w_logf_compat.c: Likewise.
6634 * math/w_logl_compat.c: Likewise.
6635 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6636 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6637 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6638 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6639 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6640 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6641 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6642 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6643 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6644 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6645 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6646 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6647 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6649 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6650 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6651 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6652 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6653 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6654 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6655 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6656 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6657 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6658 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6659 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6660 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6661 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6662 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6663 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6664 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6665 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6666 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6667 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6668 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6669 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6670 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6671 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6672 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6673 * sysdeps/ieee754/k_standardl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6699 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6700 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6704 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6705 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6710 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6711 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6712 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6713 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6714 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6715 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6716 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6717 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6718 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6719 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6720 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6721 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6722 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6723 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6724 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6725 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6726 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6727 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6728 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6729 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6730 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6731 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6732 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6733 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6734 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6735 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6736 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6737 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6738 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6739 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6740 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6741 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6742 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6743 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6744 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6745
6746 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6747
6748 [BZ #20271]
6749 * include/stdio.h (__libc_fatal): Mention newline in comment.
6750 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6751 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6752 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6753 * nss/nsswitch.c (__nss_next2): Likewise.
6754 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6755 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6756 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6757 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6758 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6759 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6760 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6761 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6762 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6763 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6764 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6765 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6766 (__netlink_assert_response): Likewise.
6767
6768 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6769
6770 * conform/glibcconform.py: New file.
6771 * conform/list-header-symbols.py: Likewise.
6772 * conform/list-header-symbols.pl: Remove.
6773 * conform/Makefile (tests-special): Only add linknamespace tests
6774 if [PYTHON].
6775 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6776
6777 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6778
6779 [BZ #23597]
6780 * support/Makefile (libsupport-routines): Add
6781 support_copy_file_range and xcopy_file_range.
6782 * support/support.h: Include <sys/types.h>.
6783 (support_copy_file_range): New prototype.
6784 * support/support_copy_file_range.c: New file. Copied and
6785 modified from io/copy_file_range-compat.c.
6786 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6787 instead of copy_file_range.
6788 * support/xcopy_file_range.c: New file.
6789 * support/xunistd.h (xcopy_file_range): New prototype.
6790
6791 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6792
6793 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6794 xpthread_create and xpthread_join.
6795
6796 2018-08-30 Florian Weimer <fweimer@redhat.com>
6797
6798 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6799
6800 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6801
6802 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6803 if malloc fails.
6804
6805 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6806
6807 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6808 and minus_oflow as non-finite.
6809
6810 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6811
6812 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6813 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6814 moved to fenv_private.h except for ...
6815 (TOINT_INTRINSICS): Kept in math_private.h.
6816 (roundtoint): Likewise.
6817 (converttoint): Likewise.
6818 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6819 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6820 * sysdeps/arm/math_private.h: Remove.
6821 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6822 ....
6823 * sysdeps/generic/math_private.h: ... this file. Include
6824 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6825 Include <fenv_private.h>. Remove functions and macros moved to
6826 fenv_private.h.
6827 * sysdeps/i386/fpu/math_private.h: Remove.
6828 * sysdeps/mips/math_private.h: Move to ....
6829 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6830 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6831 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6832 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6833 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6834 * sysdeps/powerpc/fpu/math_private.h: Do not include
6835 <fenv_private.h>.
6836 * sysdeps/riscv/rvf/math_private.h: Move to ....
6837 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6838 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6839 <fenv_private.h>.
6840 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6841 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6842 * sysdeps/sparc/fpu/math_private.h: Remove.
6843 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6844 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6845 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6846 <fenv_private.h>.
6847 * sysdeps/x86_64/fpu/math_private.h: Do not include
6848 <sysdeps/i386/fpu/fenv_private.h>.
6849
6850 2018-08-28 Florian Weimer <fweimer@redhat.com>
6851
6852 [BZ #23578]
6853 * posix/tst-regcomp-truncated.c: New file.
6854 * posix/Makefile (tests): Add it.
6855 (tst-regcomp-truncated.out): Depend on generated locales.
6856
6857 2018-08-28 Florian Weimer <fweimer@redhat.com>
6858
6859 * support/test-container.c (main): Treat unshare failure with
6860 EPERM as an unsupported test.
6861
6862 2018-08-28 Florian Weimer <fweimer@redhat.com>
6863
6864 [BZ #23520]
6865 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6866 * nscd/netgroupcache.c
6867 (addgetnetgrentX): Add tofreep parameter. Do not free
6868 heap-allocated buffer.
6869 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6870 (addgetnetgrentX_ignore): New function.
6871 (addgetnetgrent): Call it.
6872 (readdgetnetgrent): Likewise.
6873
6874 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6875
6876 * string/memmem.c: Use memcmp for first match.
6877
6878 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6879
6880 [BZ #17426]
6881 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6882
6883 2018-08-27 DJ Delorie <dj@redhat.com>
6884
6885 * support/Makefile (others): Don't list programs explicitly as a
6886 dependency of "others".
6887
6888 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6889
6890 * sysdeps/generic/math-tests-trap-force.h: New file.
6891 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6892 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6893 * sysdeps/powerpc/math-tests.h: Remove file.
6894 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6895
6896 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6897 Torvald Riegel <triegel@redhat.com>
6898
6899 [BZ #23538]
6900 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6901 Update r to include the set wake-request flag if waiters are
6902 remaining after spinning.
6903
6904 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6905
6906 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6907
6908 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6909
6910 [BZ #23578]
6911 regex: fix uninitialized memory access
6912 I introduced this bug into gnulib in commit
6913 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6914 eventually it was merged into glibc. The bug was found by
6915 project-repo <bugs@feusi.co> and reported here:
6916 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6917 Diagnosis and draft fix reported by Assaf Gordon here:
6918 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6919 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6920 * posix/regex_internal.c (build_wcs_upper_buffer):
6921 Fix bug when mbrtowc returns 0.
6922
6923 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6924
6925 * po/be.po: Update translation.
6926
6927 2018-08-24 DJ Delorie <dj@delorie.com>
6928
6929 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6930 $(libunwind).
6931
6932 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6933
6934 [BZ #23400]
6935 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6936 create temporary files in source tree.
6937
6938 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6939
6940 * sysdeps/generic/math-tests-trap.h: New file.
6941 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6942 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6943 * sysdeps/aarch64/math-tests.h: Remove file.
6944 * sysdeps/arm/math-tests.h: Likewise.
6945 * sysdeps/riscv/math-tests.h: Likewise.
6946 * sysdeps/aarch64/math-tests-trap.h: New file.
6947 * sysdeps/arm/math-tests-trap.h: Likewise.
6948 * sysdeps/riscv/math-tests-trap.h: Likewise.
6949
6950 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6951
6952 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6953 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6954 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6955 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6956 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6957 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6958 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6959 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6960 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6961 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6962 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6963 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6964 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6965 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6966 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6967 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6968 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6969 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6970
6971 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6972
6973 * sysdeps/generic/math-tests-exceptions.h: New file.
6974 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6975 (EXCEPTION_TESTS_float): Do not define here.
6976 (EXCEPTION_TESTS_double): Likewise.
6977 (EXCEPTION_TESTS_long_double): Likewise.
6978 (EXCEPTION_TESTS_float128): Likewise.
6979 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6980 Likewise.
6981 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6982 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6983 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
6984 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
6985 * sysdeps/mips/math-tests.h: Likewise.
6986 * sysdeps/nios2/math-tests.h: Likewise.
6987 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6988 (EXCEPTION_TESTS_float): Do not define here.
6989 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
6990 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
6991 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
6992
6993 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6994
6995 * NEWS: Move optimized sinf entry to 2.29.
6996
6997 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6998
6999 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7000
7001 2018-08-22 DJ Delorie <dj@redhat.com>
7002
7003 * Makefile (testroot.pristine): New rules to initialize the
7004 test-in-container "testroot".
7005 * Makerules (all-testsuite): Add tests-container.
7006 * Rules (tests-expected): Add tests-container.
7007 (binaries-all-tests): Likewise.
7008 (tests-container): New, run these tests in the testroot container.
7009 * support/Makefile (others): Add *-container, support_paths.c,
7010 xmkdirp, and links-dso-program.
7011 * support/links-dso-program-c.c: New.
7012 * support/links-dso-program.cc: New.
7013 * support/test-container.c: New.
7014 * support/shell-container.c: New.
7015 * support/echo-container.c: New.
7016 * support/true-container.c: New.
7017 * support/xmkdirp.c: New.
7018 * support/xsymlink.c: New.
7019 * support/support_paths.c: New.
7020 * support/support.h: Add support paths prototypes.
7021 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7022
7023 * nss/tst-nss-test3.c: Convert to test-in-container.
7024 * nss/tst-nss-test3.root/: New.
7025
7026 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7027
7028 regex: port Gnulib code to z/OS POSIX environment
7029 Problem reported by Arnold Robbins in:
7030 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7031 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7032 Undef.
7033
7034 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7035
7036 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7037 (ROUNDING_TESTS_double): Remove.
7038 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7039 (ROUNDING_TESTS_double): Remove.
7040 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7041 (ROUNDING_TESTS_double): Remove.
7042 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7043 (ROUNDING_TESTS_float): Remove.
7044 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7045 (ROUNDING_TESTS_float): Remove.
7046 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7047 (ROUNDING_TESTS_float): Remove.
7048 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7049 !TEST_MATHVEC here.
7050 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7051 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7052
7053 * sysdeps/generic/math-tests-rounding.h: New file.
7054 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7055 (ROUNDING_TESTS_float): Do not define here.
7056 (ROUNDING_TESTS_double): Likewise.
7057 (ROUNDING_TESTS_long_double): Likewise.
7058 (ROUNDING_TESTS_float128): Likewise.
7059 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7060 (ROUNDING_TESTS_double): Undefine before defining.
7061 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7062 (ROUNDING_TESTS_double): Undefine before defining.
7063 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7064 (ROUNDING_TESTS_double): Undefine before defining.
7065 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7066 (ROUNDING_TESTS_float): Undefine before defining.
7067 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7068 (ROUNDING_TESTS_float): Undefine before defining.
7069 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7070 (ROUNDING_TESTS_float): Undefine before defining.
7071 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7072 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7073 not define here.
7074 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7075 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7076 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7077 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7078 (ROUNDING_TESTS_float): Do not define here.
7079 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7080 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7081 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7082 (ROUNDING_TESTS_float): Likewise.
7083 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7084 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7085 * sysdeps/mips/math-tests.h [__mips_soft_float]
7086 (ROUNDING_TESTS_float): Likewise.
7087 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7088 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7089 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7090 (ROUNDING_TESTS_double): Likewise.
7091 (ROUNDING_TESTS_long_double): Likewise.
7092
7093 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
7094
7095 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7096 (PF_XDP): New macro.
7097 (AF_XDP): New macro.
7098 (SOL_XDP): New macro.
7099
7100 2018-08-21 Joseph Myers <joseph@codesourcery.com>
7101
7102 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7103 (TCP_INQ): Likewise.
7104 (TCP_CM_INQ): Likewise.
7105 (TCP_REPAIR_ON): Likewise.
7106 (TCP_REPAIR_OFF): Likewise.
7107 (TCP_REPAIR_OFF_NO_WP): Likewise.
7108 (struct tcp_zerocopy_receive): New type.
7109
7110 2018-08-21 Florian Weimer <fweimer@redhat.com>
7111
7112 * support/support.h (support_descriptor_supports_holes): Declare.
7113 * support/Makefile (libsupport-routines): Add
7114 support_descriptor_supports_holes.
7115 * support/support_descriptor_supports_holes.c: New file.
7116 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7117 and stop testing if holes are not supported.
7118 * io/test-lfs.c (do_prepare): Likewise.
7119 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7120 Likewise.
7121 * timezone/tst-tzset.c (create_tz_file): Likewise.
7122 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7123 variable.
7124 (do_prepare): Set it.
7125 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7126
7127 2018-08-21 Florian Weimer <fweimer@redhat.com>
7128
7129 [BZ #17248]
7130 * Makeconfig (+cflags): Do not sort (and deduplicate).
7131
7132 2018-08-21 Florian Weimer <fweimer@redhat.com>
7133
7134 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7135 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7136
7137 2018-08-20 Florian Weimer <fweimer@redhat.com>
7138
7139 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7140 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7141
7142 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7143
7144 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7145 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7146 and ssi_arch members.
7147
7148 * elf/elf.c (NT_VMCOREDD): New macro.
7149 (AT_MINSIGSTKSZ): Likewise.
7150
7151 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7152
7153 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7154 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7155 s_cosf-ppc64 and s_cosf-power8.
7156 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7157 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7158 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7159 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7166 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7167 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7168
7169 2018-08-17 Florian Weimer <fweimer@redhat.com>
7170
7171 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7172
7173 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7174
7175 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7176
7177 2018-08-16 Florian Weimer <fweimer@redhat.com>
7178
7179 * configure.ac: Add --with-nonshared-cflags option.
7180 * config.make.in (extra-nonshared-cflags): Set variable.
7181 * Makeconfig (CFLAGS-.oS): Use it.
7182 * manual/install.texi (Configuring and compiling): Document
7183 --with-nonshared-cflags.
7184 * configure: Regenerate.
7185 * INSTALL: Likewise.
7186
7187 2018-08-16 Florian Weimer <fweimer@redhat.com>
7188
7189 * Makeconfig (ASFLAGS): Always append required assembler flags.
7190
7191 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
7192
7193 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7194 (malloc_consolidate): Likewise.
7195
7196 2018-08-16 Pochang Chen <johnchen902@gmail.com>
7197
7198 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7199
7200 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7201
7202 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7203 every strlen call.
7204
7205 * benchtests/bench-strlen.c: Print performance numbers in json.
7206
7207 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7208
7209 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7210 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7211 only for little endian.
7212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7213 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7214 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7215 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7216 Add check for little endian.
7217 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7218 (__strcmp_power9): Add check for little endian.
7219 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7220 Add check for little endian.
7221 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7222 (__strncmp_power9): Add check for little endian.
7223 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7224 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7225 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7226 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7227 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7228
7229 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7230
7231 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7232 [!STRLEN](STRLEN): Set to __strlen.
7233 * sysdeps/aarch64/multiarch/strlen.c: New file.
7234 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7235 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7236 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7237 (__libc_ifunc_impl_list): Add strlen.
7238 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7239 strlen_generic and strlen_asimd.
7240
7241 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7242
7243 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7244 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7245 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7246
7247 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7248
7249 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7250
7251 2018-08-14 Florian Weimer <fweimer@redhat.com>
7252
7253 [BZ #23519]
7254 * include/stdio.h (__vfxprintf): Declare.
7255 * stdio-common/fxprintf.c (__vfxprintf): New function.
7256 (__fxprintf): Call it.
7257 * misc/err.c (convert_and_print): Remove function.
7258 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7259 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7260 * misc/Makefile (tests): Add tst-warn-wide.
7261 * misc/tst-warn-wide.c: New file.
7262
7263 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7264 Szabolcs Nagy <szabolcs.nagy@arm.com>
7265
7266 * NEWS: Mention sinf, cosf, sincosf.
7267 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7268 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7269 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7270 constants rather than including generic sincosf.h.
7271 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7272 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7273 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7274 (reduced_cos): Remove.
7275 (sinf_poly): New function.
7276 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7277
7278 2018-08-14 Florian Weimer <fweimer@redhat.com>
7279
7280 [BZ #23521]
7281 [BZ #23522]
7282 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7283 processing, bail out if no room, and close the stream before
7284 returning ERANGE.
7285 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7286 (tst-nss-files-alias-leak): Link with libdl.
7287 (tst-nss-files-alias-leak.out): Depend on nss_files.
7288
7289 * nss/tst-nss-files-alias-leak.c: New file.
7290
7291 2018-08-14 Florian Weimer <fweimer@redhat.com>
7292
7293 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7294 server_user, stat_user.
7295
7296 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7297
7298 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7299 version to 4.18.
7300 (io_pgetevents): New syscall.
7301 (rseq): Likewise.
7302
7303 * manual/install.texi (Configuring and compiling): Do not list
7304 tools used for testing pretty printers here.
7305 (Tools for Compilation): List Python, PExpect and GDB here.
7306 Update descriptions of uses of Perl and Python.
7307 * INSTALL: Regenerate.
7308
7309 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7310 version to 4.18.
7311
7312 2018-08-13 Florian Weimer <fweimer@redhat.com>
7313
7314 * misc/error.c (error): Add missing va_end call.
7315 (error_at_line): Likewise.
7316
7317 2018-08-13 Florian Weimer <fweimer@redhat.com>
7318
7319 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7320
7321 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7322
7323 * benchtests/scripts/benchout.schema.json (properties): Add
7324 new properties.
7325
7326 * benchtests/bench-skeleton.c (main): Add duration and
7327 iterations attributes.
7328
7329 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7330
7331 regex: Gnulib unibyte RRI uses bytes not chars
7332 Adjust the non-glibc code to agree with what Gawk needs for
7333 rational range interpretation (RRI) for regular expression ranges.
7334 In unibyte locales, Gawk wants ranges to use the underlying byte
7335 rather than the character code point. This change does not affect
7336 glibc proper.
7337 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7338 In unibyte locales, use the byte value rather than
7339 running it through btowc.
7340
7341 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7342
7343 * sysdeps/generic/math-tests-snan.h: New file.
7344 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7345 (SNAN_TESTS_float): Do not define here.
7346 (SNAN_TESTS_double): Likewise.
7347 (SNAN_TESTS_long_double): Likewise.
7348 (SNAN_TESTS_float128): Likewise.
7349 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7350 * sysdeps/i386/fpu/math-tests.h: Remove file.
7351 * sysdeps/ia64/math-tests-snan.h: New file.
7352 * sysdeps/ia64/math-tests.h: Remove file.
7353 * sysdeps/x86/math-tests.h: Likewise.
7354 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7355
7356 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7357 Szabolcs Nagy <szabolcs.nagy@arm.com>
7358
7359 * math/Makefile: Add s_sincosf_data.c.
7360 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7361 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7362 (sincosf_poly): Likewise.
7363 (reduce_small): Likewise.
7364 (reduce_large): Likewise.
7365 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7366 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7367 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7368 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7369
7370 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7371 Szabolcs Nagy <szabolcs.nagy@arm.com>
7372
7373 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7374 (converttoint): Use lround.
7375 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7376 document the semantics when TOINT_INTRINSICS is set.
7377 (converttoint): Likewise.
7378 (TOINT_RINT): Remove.
7379 (TOINT_SHIFT): Remove.
7380 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7381 path.
7382
7383 2018-08-10 Florian Weimer <fweimer@redhat.com>
7384
7385 [BZ #23497]
7386 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7387 function.
7388 (__old_getdents64): Use getdents64. Convert entries without
7389 moving them.
7390 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7391 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7392 tst-readdir64-compat.
7393
7394 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7395
7396 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7397 Fix unwind.
7398
7399 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7400
7401 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7402 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7403 code to s390x-mcount.h and #include it.
7404 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7405 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7406 (__fentry__): Add.
7407
7408 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7409
7410 * stdlib/Versions: Remove __fentry__.
7411 * sysdeps/i386/Versions: Add __fentry__.
7412 * sysdeps/x86_64/Versions: Add __fentry__.
7413
7414 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7415
7416 * sysdeps/s390/Makefile: Register the new tests.
7417 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7418 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7419 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7420 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7421 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7422 * sysdeps/s390/tst-dl-runtime.c: New file.
7423
7424 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7425
7426 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7427 Do not clobber R0.
7428
7429 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7430
7431 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7432 Do not clobber R0.
7433
7434 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7435
7436 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7437 Do not clobber R0.
7438
7439 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7440
7441 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7442 Do not clobber R0.
7443
7444 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7445
7446 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7447 Use symbolic offsets for stack variables.
7448
7449 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7450
7451 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7452 Use symbolic offsets for stack variables.
7453
7454 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7455
7456 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7457 Use symbolic offsets for stack variables.
7458
7459 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7460
7461 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7462 Use symbolic offsets for stack variables.
7463
7464 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7465
7466 * math/gen-libm-test.py: New file.
7467 * math/gen-libm-test.pl: Remove.
7468 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7469 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7470 gen-libm-test.pl.
7471 ($(libm-test-c-noauto-obj)): Likewise.
7472 ($(libm-test-c-auto-obj)): Likewise.
7473 ($(libm-test-c-narrow-obj)): Likewise.
7474 (regen-ulps): Likewise.
7475 * math/README.libm-test: Update references to gen-libm-test.pl.
7476 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7477 referencing gen-libm-test.pl.
7478 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7479 * math/libm-test-support.c: Likewise.
7480 * math/libm-test-support.h: Likewise.
7481 * sysdeps/generic/libm-test-ulps: Likewise.
7482
7483 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7484
7485 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7486 Fix value.
7487
7488 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7489
7490 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7491 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7492
7493 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7494
7495 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7496 symbols.
7497 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7498 __pthread_setspecific): Add hidden proto.
7499 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7500 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7501
7502 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7503
7504 * benchtests/bench-string.h (buf1_size, buf2_size): New
7505 variables.
7506 (init_sizes): New function.
7507 (test_init): Use it.
7508 (alloc_buf, exit_error): New functions.
7509 (alloc_bufs): Use ALLOC_BUF.
7510 (realloc_bufs): Remove.
7511 * benchtests/bench-memcmp.c (do_test): Adjust.
7512 * benchtests/bench-memset-large.c (do_test): Likewise.
7513 * benchtests/bench-memset-walk.c (do_test): Likewise.
7514 * benchtests/bench-memset.c (do_test): Likewise.
7515 * benchtests/bench-strncmp.c (do_test): Likewise.
7516
7517 2018-08-06 Andreas Schwab <schwab@suse.de>
7518
7519 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7520 of CONST_THREAD_AREA.
7521
7522 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7523
7524 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7525 (STATE_SAVE_MASK): Likewise.
7526 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7527 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7528 (STATE_SAVE_MASK): Likewise.
7529 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7530 instead of <cpu-features.h>.
7531
7532 2018-08-03 DJ Delorie <dj@redhat.com>
7533
7534 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7535 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7536
7537 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7538
7539 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7540
7541 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7542 after TEST_* calls.
7543 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7544 * math/libm-test-logb.inc (logb_test_data): Likewise.
7545
7546 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7547
7548 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7549 * string/strstr.c (AVAILABLE): Likewise.
7550
7551 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7552
7553 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7554 <init-arch.h>.
7555 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7556 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7557 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7558
7559 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7560
7561 * po/be.po: Update translation.
7562
7563 * po/be.po: Update translation.
7564
7565 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7566
7567 * sysdeps/x86/cpu-features-offsets.sym
7568 (rtld_global_ro_offsetof): Removed.
7569 (CPU_FEATURES_SIZE): Likewise.
7570 (CPUID_OFFSET): Likewise.
7571 (CPUID_SIZE): Likewise.
7572 (CPUID_EAX_OFFSET): Likewise.
7573 (CPUID_EBX_OFFSET): Likewise.
7574 (CPUID_ECX_OFFSET): Likewise.
7575 (CPUID_EDX_OFFSET): Likewise.
7576 (FAMILY_OFFSET): Likewise.
7577 (MODEL_OFFSET): Likewise.
7578 (FEATURE_OFFSET): Likewise.
7579 (FEATURE_SIZ): Likewise.
7580 (COMMON_CPUID_INDEX_1): Likewise.
7581 (COMMON_CPUID_INDEX_7): Likewise.
7582 (FEATURE_INDEX_1): Likewise.
7583 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7584
7585 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7586
7587 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7588 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7589 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7590 (install-locales): Depend on install-locale-archive.
7591 (install-locale-archive): Define.
7592 (install-locale-files): Define.
7593 (build-one-locale): Define macro.
7594 * manual/install.texi (Running make install): Document.
7595 * manual/INSTALL: Regenerate.
7596
7597 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7598
7599 * benchtests/scripts/compare_strings.py: Import traceback.
7600 (parse_file): Pretty-print error.
7601
7602 * NEWS: Mention the change.
7603 * elf/dl-tunables.list: Rename tune namespace to cpu.
7604 * sysdeps/powerpc/dl-tunables.list: Likewise.
7605 * sysdeps/x86/dl-tunables.list: Likewise.
7606 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7607 cpu.name.
7608 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7609 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7610 * manual/README.tunables: Likewise.
7611 * manual/tunables.texi: Likewise.
7612 * sysdeps/powerpc/cpu-features.c: Likewise.
7613 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7614 (init_cpu_features): Likewise.
7615 * sysdeps/x86/cpu-features.c: Likewise.
7616 * sysdeps/x86/cpu-features.h: Likewise.
7617 * sysdeps/x86/cpu-tunables.c: Likewise.
7618 * sysdeps/x86_64/Makefile: Likewise.
7619 * sysdeps/x86/dl-cet.c: Likewise.
7620
7621 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7622
7623 [BZ #23479]
7624 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7625 [__mips_hard_float].
7626 (FE_UNDERFLOW): Likewise.
7627 (FE_OVERFLOW): Likewise.
7628 (FE_DIVBYZERO): Likewise.
7629 (FE_INVALID): Likewise.
7630 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7631 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7632 (FE_UPWARD): Likewise.
7633 (FE_DOWNWARD): Likewise.
7634 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7635 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7636 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7637 [__mips_hard_float].
7638 (FP_ROUNDMODE): Likewise.
7639 (FP_RND_NEAREST): Likewise.
7640 (FP_RND_ZERO): Likewise.
7641 (FP_RND_PINF): Likewise.
7642 (FP_RND_MINF): Likewise.
7643 (FP_EX_INVALID): Likewise.
7644 (FP_EX_OVERFLOW): Likewise.
7645 (FP_EX_UNDERFLOW): Likewise.
7646 (FP_EX_DIVZERO): Likewise.
7647 (FP_EX_INEXACT): Likewise.
7648 (FP_INIT_ROUNDMODE): Likewise.
7649 * sysdeps/mips/nofpu/fesetenv.c: New file.
7650 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7651
7652 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7653
7654 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7655 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7656 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7657 conditional on [FE_UPWARD].
7658
7659 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7660
7661 regex: fix memory leak in Gnulib
7662 Problem and fix reported by Assaf Gordon in:
7663 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7664 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7665 range_ends members too, as they are defined in 'struct
7666 re_charset_t' even if not _LIBC. This affects only Gnulib.
7667
7668 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7669
7670 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7671 ...
7672 (get_common_indices): This.
7673 (init_cpu_features): Updated.
7674
7675 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7676
7677 * sysdeps/generic/math-tests-snan-payload.h: New file.
7678 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7679 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7680 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7681 * sysdeps/generic/math-tests.h: Include
7682 <math-tests-snan-payload.h>.
7683 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7684 * sysdeps/hppa/math-tests.h: Remove file.
7685 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7686 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7687 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7688 Likewise.
7689
7690 * sysdeps/generic/math-tests-snan-cast.h: New file.
7691 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7692 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7693 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7694 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7695
7696 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7697
7698 * version.h (RELEASE): Set to "development".
7699 (VERSION): Set to "2.28.9000".
7700 * NEWS (2.29): New section.
7701
7702 * version.h (RELEASE): Set to "stable".
7703 (VERSION): Set to "2.28".
7704 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7705 * NEWS: Add the list of bugs fixed in 2.28.
7706
7707 * po/ca.po: Update to latest version.
7708 * po/cs.po: Likewise
7709 * po/da.po: Likewise
7710 * po/el.po: Likewise
7711 * po/eo.po: Likewise
7712 * po/es.po: Likewise
7713 * po/fi.po: Likewise
7714 * po/fr.po: Likewise
7715 * po/gl.po: Likewise
7716 * po/hu.po: Likewise
7717 * po/ia.po: Likewise
7718 * po/id.po: Likewise
7719 * po/it.po: Likewise
7720 * po/ja.po: Likewise
7721 * po/ko.po: Likewise
7722 * po/lt.po: Likewise
7723 * po/nb.po: Likewise
7724 * po/nl.po: Likewise
7725 * po/pt_BR.po: Likewise
7726 * po/ru.po: Likewise
7727 * po/rw.po: Likewise
7728 * po/sk.po: Likewise
7729 * po/sl.po: Likewise
7730 * po/tr.po: Likewise
7731 * po/zh_CN.po: Likewise
7732 * po/zh_TW.po: Likewise
7733
7734 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7735
7736 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7737 initialization...
7738 (init): ... before initializing libpthread.
7739
7740 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7741 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7742 (__mach_setup_tls): ... new function.
7743 (mach_setup_tls): New alias.
7744 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7745 __mach_setup_thread.
7746 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7747 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7748 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7749 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7750
7751 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7752
7753 * manual/install.texi: Update versions.
7754 * INSTALL: Regenerate.
7755
7756 * manual/contrib.texi (Contributors): Update contributions.
7757
7758 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7759
7760 * po/be.po: Update translations.
7761
7762 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7763
7764 * sysdeps/sh/libm-test-ulps: Update.
7765
7766 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7767
7768 * po/bg.po: Update translations.
7769 * po/de.po: Likewise.
7770 * po/hr.po: Likewise.
7771 * po/pt_BR.po: Likewise.
7772 * po/sv.po: Likewise.
7773 * po/vi.po: Likewise.
7774
7775 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7776
7777 [BZ #23467]
7778 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7779 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7780 (CFLAGS-tst-cet-property-1.o): New.
7781 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7782 ($(objpfx)tst-cet-property-2): Likewise.
7783 ($(objpfx)tst-cet-property-2.out): Likewise.
7784 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7785 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7786 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7787 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7788 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7789
7790 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7791
7792 [BZ #23458]
7793 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7794
7795 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7796
7797 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7798 __sbrk): Do not set attribute_hidden.
7799 * sysdeps/mach/hurd/not-errno.h: New file.
7800 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7801 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7802
7803 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7804
7805 * po/uk.po: Update translations.
7806 * po/cs.po: Likewise.
7807 * po/pl.po: Likewise.
7808
7809 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7810
7811 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7812 parse beyond the note end.
7813
7814 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7815
7816 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7817 kernel does not support OFD locks.
7818 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7819
7820 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7821
7822 * sysdeps/mach/hurd/Versions (libc): Make __access and
7823 __access_noerrno external so they can override the ld symbols.
7824 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7825 __writev, __open64, __access_noerrno extern so they can be overrided.
7826 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7827 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7828
7829 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7830
7831 * po/libc.pot: Regenerate.
7832
7833 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7834
7835 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7836
7837 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7838
7839 [BZ #23459]
7840 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7841 function.
7842 (init_cpu_features): Call get_extended_indices for both Intel
7843 and AMD CPUs.
7844 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7845 Remove "for AMD" comment.
7846
7847 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7848
7849 [BZ # 23456]
7850 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7851 COMMON_CPUID_INDEX_80000001.
7852
7853 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7854
7855 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7856 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7857
7858 2018-07-26 Florian Weimer <fweimer@redhat.com>
7859
7860 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7861 aliases for symbols not in the implementation namespace.
7862
7863 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7864
7865 [BZ #23393]
7866 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7867 lowercase in LATIN script.
7868 * localedata/Makefile (test-input): Add en_US.UTF-8.
7869 * localedata/en_US.UTF-8.in: New file.
7870 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7871 and restore old tests.
7872 * posix/tst-regexloc.c (do_test): Add back range expression test.
7873
7874 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7875
7876 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7877
7878 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7879
7880 * nptl/threads.h: Move to ...
7881 * sysdeps/nptl/threads.h: ... here.
7882 * sysdeps/hurd/stdc-predef.h: New file.
7883
7884 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7885
7886 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7887 tst-cet-setcontext-1 if CET is enabled.
7888 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7889 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7890
7891 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7892
7893 * include/threads.h: Move to ...
7894 * sysdeps/nptl/threads.h: ... here.
7895 * sysdeps/htl/threads.h: New file.
7896 * conform/Makefile (linknamespace-libs-ISO11): Use
7897 static-thread-library instead of linking libpthread.
7898 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7899
7900 2018-07-25 Florian Weimer <fweimer@redhat.com>
7901
7902 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7903 nanoseconds into seconds.
7904 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7905 (do_test): Likewise.
7906 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7907 (do_test): Likewise. Avoid nanosecond overflow and spurious
7908 timeouts due to system load.
7909 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7910 (child_wait): Increment it.
7911 (do_test): Wait as long as necessary until all expected threads
7912 have arrived.
7913
7914 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7915 H.J. Lu <hongjiu.lu@intel.com>
7916
7917 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7918 __ssp.
7919 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7920 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7921 (__push___start_context): New.
7922 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7923 <asm/prctl.h>.
7924 (__getcontext): Record the current shadow stack base. Save the
7925 caller's shadow stack pointer and base.
7926 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7927 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7928 (__push___start_context): New prototype.
7929 (__makecontext): Call __push___start_context to allocate a new
7930 shadow stack, push __start_context onto the new stack as well
7931 as the new shadow stack.
7932 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7933 <asm/prctl.h>.
7934 (__setcontext): Restore the target shadow stack.
7935 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7936 <asm/prctl.h>.
7937 (__swapcontext): Record the current shadow stack base. Save
7938 the caller's shadow stack pointer and base. Restore the target
7939 shadow stack.
7940 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7941 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7942 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7943
7944 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7945
7946 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7947 tst-setcontext8 and tst-setcontext9.
7948 * stdlib/tst-setcontext6.c: New file.
7949 * stdlib/tst-setcontext7.c: Likewise.
7950 * stdlib/tst-setcontext8.c: Likewise.
7951 * stdlib/tst-setcontext9.c: Likewise.
7952
7953 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7954
7955 * stdlib/Makefile ((tests): Add tst-setcontext5.
7956 * stdlib/tst-setcontext5.c: New file.
7957
7958 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7959
7960 * stdlib/Makefile (tests): Add tst-setcontext4.
7961 * stdlib/tst-setcontext4.c: New file.
7962
7963 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7964
7965 * stdlib/Makefile (tests): Add tst-swapcontext1.
7966 * stdlib/tst-swapcontext1.c: New test.
7967
7968 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7969
7970 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7971 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7972 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7973 and tst-cet-legacy-4c.
7974 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7975 and tst-cet-legacy-mod-4.
7976 (CFLAGS-tst-cet-legacy-2.c): New.
7977 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7978 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7979 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7980 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7981 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7982 ($(objpfx)tst-cet-legacy-1): Likewise.
7983 ($(objpfx)tst-cet-legacy-2): Likewise.
7984 ($(objpfx)tst-cet-legacy-2.out): Likewise.
7985 ($(objpfx)tst-cet-legacy-2a): Likewise.
7986 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
7987 ($(objpfx)tst-cet-legacy-4): Likewise.
7988 ($(objpfx)tst-cet-legacy-4.out): Likewise.
7989 ($(objpfx)tst-cet-legacy-4a): Likewise.
7990 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
7991 (tst-cet-legacy-4a-ENV): Likewise.
7992 ($(objpfx)tst-cet-legacy-4b): Likewise.
7993 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
7994 (tst-cet-legacy-4b-ENV): Likewise.
7995 ($(objpfx)tst-cet-legacy-4c): Likewise.
7996 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
7997 (tst-cet-legacy-4c-ENV): Likewise.
7998 * sysdeps/x86/tst-cet-legacy-1.c: New file.
7999 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8000 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8001 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8002 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8003 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8004 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8005 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8006 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8007 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8008 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8009
8010 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8011
8012 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8013 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8014 with ssp_base.
8015 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8016 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8017 with ssp_base.
8018
8019 2018-07-25 Andreas Schwab <schwab@suse.de>
8020
8021 [BZ #23442]
8022 * locale/weightwc.h (findidx): Handle the case where usrc is a
8023 prefix of cp but one character too short.
8024
8025 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8026
8027 * NEWS: Add ISO C threads addition.
8028
8029 2018-07-24 Florian Weimer <fweimer@redhat.com>
8030
8031 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8032 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8033 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8034 4.13.
8035
8036 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8037
8038 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8039 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8040 <sys/prctl.h> and <asm/prctl.h>.
8041 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8042 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8043 and <asm/prctl.h>.
8044 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8045 ARCH_CET_LEGACY_BITMAP.
8046 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8047 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8048 * sysdeps/x86/libc-start.c: Include <startup.h>.
8049
8050 2018-07-24 Florian Weimer <fweimer@redhat.com>
8051
8052 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8053 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8054
8055 2018-07-24 Rical Jasan <rj@2c3t.io>
8056 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8057 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8058
8059 [BZ #14092]
8060 * manual/debug.texi: Update adjacent chapter name.
8061 * manual/probes.texi: Likewise.
8062 * manual/threads.texi (ISO C Threads): New section.
8063 (POSIX Threads): Convert to a section.
8064
8065 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8066 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8067
8068 [BZ# 14092]
8069 * nptl/Makefile (tests): Add new test files.
8070 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8071 * nptl/tst-cnd-basic.c: Likewise.
8072 * nptl/tst-cnd-broadcast.c: Likewise.
8073 * nptl/tst-cnd-timedwait.c: Likewise.
8074 * nptl/tst-mtx-basic.c: Likewise.
8075 * nptl/tst-mtx-recursive.c: Likewise.
8076 * nptl/tst-mtx-timedlock.c: Likewise.
8077 * nptl/tst-mtx-trylock.c: Likewise.
8078 * nptl/tst-thrd-basic.c: Likewise.
8079 * nptl/tst-thrd-detach.c: Likewise.
8080 * nptl/tst-thrd-sleep.c: Likewise.
8081 * nptl/tst-tss-basic.c: Likewise.
8082
8083 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8084
8085 [BZ #14092]
8086 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8087 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8088 symbols.
8089 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8090 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8091 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8092 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8093 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8094 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8095 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8096 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8097 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8098 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8099 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8100 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8102 Likewise.
8103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8104 Likewise.
8105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8106 Likewise.
8107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8108 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8109 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8110 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8111 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8112 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8113 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8114 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8115 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8116 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8117 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8118 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8119 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8120 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8121 Likewise.
8122 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8123 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8124 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8125 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8126 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8127 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8128 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8129 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8130 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8131 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8132 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8133 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8134 ikewise.
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8137 Likewise.
8138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8139 Likewise.
8140 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8141 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8142 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8143 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8144 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8145 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8146 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8147 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8148
8149 [BZ #14092]
8150 * conform/data/threads.h-data (thread_local): New macro.
8151 (TSS_DTOR_ITERATIONS): Likewise.
8152 (tss_t): New type.
8153 (tss_dtor_t): Likewise.
8154 (tss_create): New function.
8155 (tss_get): Likewise.
8156 (tss_set): Likewise.
8157 (tss_delete): Likewise.
8158 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8159 tss_get, and tss_set objects.
8160 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8161 * nptl/tss_create.c: New file.
8162 * nptl/tss_delete.c: Likewise.
8163 * nptl/tss_get.c: Likewise.
8164 * nptl/tss_set.c: Likewise.
8165 * sysdeps/nptl/threads.h (thread_local): New define.
8166 (TSS_DTOR_ITERATIONS): Likewise.
8167 (tss_t): New typedef.
8168 (tss_dtor_t): Likewise.
8169 (tss_create): New prototype.
8170 (tss_get): Likewise.
8171 (tss_set): Likewise.
8172 (tss_delete): Likewise.
8173
8174 [BZ #14092]
8175 * conform/data/threads.h-data (cnd_t): New type.
8176 (cnd_init): New function.
8177 (cnd_signal): Likewise.
8178 (cnd_broadcast): Likewise.
8179 (cnd_wait): Likewise.
8180 (cnd_timedwait): Likewise.
8181 (cnd_destroy): Likewise.
8182 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8183 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8184 object.
8185 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8186 * nptl/cnd_broadcast.c: New file.
8187 * nptl/cnd_destroy.c: Likewise.
8188 * nptl/cnd_init.c: Likewise.
8189 * nptl/cnd_signal.c: Likewise.
8190 * nptl/cnd_timedwait.c: Likewise.
8191 * nptl/cnd_wait.c: Likewise.
8192 * sysdeps/nptl/threads.h (cnd_t): New type.
8193 (cnd_init): New prototype.
8194 (cnd_signa): Likewise.
8195 (cnd_broadcast): Likewise.
8196 (cnd_wait): Likewise.
8197 (cnd_timedwait): Likewise.
8198 (cnd_destroy): Likewise.
8199
8200 [BZ #14092]
8201 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8202 (once_flag): New type.
8203 (call_once): New function.
8204 * nptl/Makefile (libpthread-routines): Add call_once object.
8205 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8206 * nptl/call_once.c: New file.
8207 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8208 (once_flag): New type.
8209 (call_once): New prototype.
8210
8211 [BZ #14092]
8212 * conform/data/threads.h-data (mtx_plain): New constant.
8213 (mtx_recursive): Likewise.
8214 (mtx_timed): Likewise.
8215 (mtx_t): New type.
8216 (mtx_init): New function.
8217 (mtx_lock): Likewise.
8218 (mtx_timedlock): Likewise.
8219 (mtx_trylock): Likewise.
8220 (mtx_unlock): Likewise.
8221 (mtx_destroy): Likewise.
8222 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8223 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8224 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8225 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8226 * nptl/mtx_destroy.c: New file.
8227 * nptl/mtx_init.c: Likewise.
8228 * nptl/mtx_lock.c: Likewise.
8229 * nptl/mtx_timedlock.c: Likewise.
8230 * nptl/mtx_trylock.c: Likewise.
8231 * nptl/mtx_unlock.c: Likewise.
8232 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8233 (mtx_recursive): Likewise.
8234 (mtx_timed): Likewise.
8235 (mtx_t): New type.
8236 (mtx_init): New prototype.
8237 (mtx_lock): Likewise.
8238 (mtx_timedlock): Likewise.
8239 (mtx_trylock): Likewise.
8240 (mtx_unlock): Likewise.
8241 (mtx_destroy): Likewise.
8242
8243 [BZ #14092]
8244 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8245 (linknamespace-libs-ISO11): Add libpthread.a.
8246 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8247 functions.
8248 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8249 * nptl/Makefile (headers): Add threads.h.
8250 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8251 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8252 thrd_yield.
8253 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8254 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8255 thrd_join, thrd_sleep, and thrd_yield symbols.
8256 * nptl/descr.h (struct pthread): Add c11 field.
8257 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8258 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8259 routine with expected function prototype.
8260 (__pthread_create_2_1): Add C11 threads check based on attribute
8261 value.
8262 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8263 * nptl/thrd_create.c: New file.
8264 * nptl/thrd_current.c: Likewise.
8265 * nptl/thrd_detach.c: Likewise.
8266 * nptl/thrd_equal.c: Likewise.
8267 * nptl/thrd_exit.c: Likewise.
8268 * nptl/thrd_join.c: Likewise.
8269 * nptl/thrd_priv.h: Likewise.
8270 * nptl/thrd_sleep.c: Likewise.
8271 * nptl/thrd_yield.c: Likewise.
8272 * include/threads.h: Likewise.
8273
8274 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8275
8276 * bits/indirect-return.h: New file.
8277 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8278 * sysdeps/x86/bits/indirect-return.h: Likewise.
8279 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8280 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8281 (swapcontext): Add __INDIRECT_RETURN.
8282 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8283 (prepare_test_buffer): Use it.
8284
8285 2018-07-24 Andreas Schwab <schwab@suse.de>
8286
8287 [BZ #23448]
8288 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8289 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8290
8291 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8292
8293 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8294 Redefine if shadow stack is enabled.
8295 (SYSCALL_ERROR_LABEL): Likewise.
8296 (__vfork): Pop shadow stack and jump back to to caller directly
8297 when shadow stack is in use.
8298 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8299 Redefine if shadow stack is enabled.
8300 (SYSCALL_ERROR_LABEL): Likewise.
8301 (__vfork): Pop shadow stack and jump back to to caller directly
8302 when shadow stack is in use.
8303
8304 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8305
8306 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8307 enabled.
8308 (foo): Likewise.
8309 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8310 (foo): Likewise.
8311
8312 2018-07-20 Joseph Myers <joseph@codesourcery.com>
8313
8314 * scripts/build-many-glibcs.py (Context.checkout): Default
8315 binutils version to 2.31 branch.
8316
8317 2018-07-20 Zong Li <zong@andestech.com>
8318
8319 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8320 URL of gcc's tarball.
8321
8322 2018-07-20 Florian Weimer <fweimer@redhat.com>
8323
8324 [BZ #23396]
8325 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8326 not compare an extra byte after the end of the weights.
8327
8328 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8329
8330 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8331 to 1.
8332 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8333 hidden prototypes.
8334 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8335 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8336 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8337 list of libraries whose stack executability is expected.
8338 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8339 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8340 variable.
8341 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8342 libc.so libpthread.so.
8343
8344 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8345
8346 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8347 SOCK_NONBLOCK.
8348 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8349 and SOCK_NONBLOCK.
8350 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8351 implement __pipe2.
8352 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8353
8354 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8355
8356 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8357 library to improve command line parsing.
8358 (__main__): make schema file as optional parameter (--schema),
8359 defaulting to benchtests/scripts/benchout.schema.json.
8360 (main): move out of the parsing stuff to __main_  and leave it
8361 only as caller of main comparison functions.
8362
8363 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8364
8365 * NEWS: Add a note for Intel CET status.
8366 * manual/install.texi: Likewise.
8367 * INSTALL: Regenerated.
8368
8369 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8370
8371 [BZ #23140]
8372 * localedata/locales/oc_FR (mon): Rename to...
8373 (alt_mon): This, then update October (typo fix).
8374 (mon): New content (genitive case, month names preceded by
8375 "de" or "d’").
8376
8377 [BZ #23422]
8378 * localedata/locales/oc_FR (abday): Update all items.
8379 (day): Update Wednesday and Saturday (typo fixes).
8380 (abmon): Update all items, except May.
8381 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8382 (LC_IDENTIFICATION): Bump the revision number and date.
8383 Keep the "category" entries in alphabetic order.
8384 (LC_ADDRESS): Remove no longer needed comment.
8385 (LC_COLLATE): Use “copy "ca_ES"”.
8386 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8387 "name_mrs".
8388
8389 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8390
8391 * grp/tst_fgetgrent.c: Include <unistd.h>.
8392 (main): Use mkstemp instead of tmpnam.
8393 * io/test-utime.c (main): Likewise.
8394 * posix/annexc.c (macrofile): Change to modifiable array.
8395 (main): Remove macrofile here.
8396 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8397 macrofile here.
8398 (check_header): Do not remove macrofile here.
8399 * posix/bug-getopt1.c: Include <stdlib.h>.
8400 (do_test): Use mkstemp instead of tmpnam.
8401 * posix/bug-getopt2.c: Include <stdlib.h>.
8402 (do_test): Use mkstemp instead of tmpnam.
8403 * posix/bug-getopt3.c: Include <stdlib.h>.
8404 (do_test): Use mkstemp instead of tmpnam.
8405 * posix/bug-getopt4.c: Include <stdlib.h>.
8406 (do_test): Use mkstemp instead of tmpnam.
8407 * posix/bug-getopt5.c: Include <stdlib.h>.
8408 (do_test): Use mkstemp instead of tmpnam.
8409 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8410 (main): Use mkstemp instead of tmpnam.
8411 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8412 (main): Use mkstemp instead of tmpnam.
8413 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8414 (main): use mkstemp instead of tmpnam.
8415 * stdlib/isomac.c (macrofile): Change to modifiable array.
8416 (main): Remove macrofile here.
8417 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8418 macrofile here.
8419 (check_header): Do not remove macrofile here.
8420
8421 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8422
8423 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8424 glibc.tune.x86_shstk.
8425
8426 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8427
8428 * NEWS: Mention --enable-cet.
8429 * manual/install.texi: Document --enable-cet.
8430 * INSTALL: Regenerated.
8431
8432 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8433
8434 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8435 Add _CET_NOTRACK before indirect jump to jump table.
8436
8437 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8438
8439 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
8440 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8441 to jump table.
8442
8443 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8444
8445 * sysdeps/i386/i686/multiarch/strcat-sse2.S
8446 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8447 to jump table.
8448
8449 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8450
8451 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
8452 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8453 to jump table.
8454
8455 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8456
8457 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8458 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8459 to jump table.
8460
8461 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8462
8463 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8464 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8465 to jump table.
8466 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8467
8468 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8469
8470 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8471 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8472 to jump table.
8473
8474 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8475
8476 * sysdeps/i386/i686/multiarch/memset-sse2.S
8477 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8478 to jump table.
8479
8480 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8481
8482 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8483 indirect jump to jump table.
8484
8485 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8486
8487 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8488 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8489 to jump table.
8490 (MEMCPY): Likewise.
8491
8492 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8493
8494 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8495 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8496 to jump table.
8497 (MEMCPY): Likewise.
8498
8499 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8500
8501 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8502 _CET_NOTRACK before indirect jump to jump table.
8503
8504 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8505
8506 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8507 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8508 to jump table.
8509
8510 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8511
8512 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8513 indirect jump to jump table.
8514
8515 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8516
8517 [BZ #22241]
8518 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8519 (LOCALES): Likewise.
8520 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8521 * localedata/locales/sah_RU: New file.
8522 * localedata/sah_RU.UTF-8.in: New file.
8523
8524 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8525
8526 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8527 "sysdep.h".
8528 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8529 _CET_ENDBR to indirect jump targets and adjust jump destination
8530 for _CET_ENDBR.
8531 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8532 "sysdep.h".
8533 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8534 _CET_ENDBR to indirect jump targets and adjust jump destination
8535 for _CET_ENDBR.
8536 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8537 "sysdep.h".
8538 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8539 _CET_ENDBR to indirect jump targets and adjust jump destination
8540 for _CET_ENDBR.
8541
8542 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8543
8544 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8545 _CET_ENDBR.
8546
8547 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8548
8549 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8550 _CET_ENDBR.
8551 (_dl_tlsdesc_undefweak): Likewise.
8552 (_dl_tlsdesc_dynamic): Likewise.
8553 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8554 (_dl_tlsdesc_resolve_rel): Likewise.
8555 (_dl_tlsdesc_resolve_rela): Likewise.
8556 (_dl_tlsdesc_resolve_hold): Likewise.
8557 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8558 (_dl_tlsdesc_undefweak): Likewise.
8559 (_dl_tlsdesc_dynamic): Likewise.
8560 (_dl_tlsdesc_resolve_rela): Likewise.
8561 (_dl_tlsdesc_resolve_hold): Likewise.
8562
8563 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8564
8565 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8566 (_fini): Likewise.
8567 * sysdeps/x86_64/crti.S (_init): Likewise.
8568 (_fini): Likewise.
8569
8570 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8571
8572 [BZ #23140]
8573 * localedata/locales/os_RU (mon): Rename to...
8574 (alt_mon): This.
8575 (mon): Import from CLDR (genitive case).
8576
8577 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8578
8579 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8580 cet-tunables.h> when CET is enabled.
8581
8582 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8583
8584 [BZ #21598]
8585 * configure.ac: Add --enable-cet.
8586 * configure: Regenerated.
8587 * elf/Makefille (all-built-dso): Add a comment.
8588 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8589 Include <dl-prop.h>.
8590 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8591 segment.
8592 * elf/dl-open.c: Include <dl-prop.h>.
8593 (dl_open_worker): Call _dl_open_check.
8594 * elf/rtld.c: Include <dl-prop.h>.
8595 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8596 _rtld_main_check.
8597 * sysdeps/generic/dl-prop.h: New file.
8598 * sysdeps/i386/dl-cet.c: Likewise.
8599 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8600 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8601 * sysdeps/x86/cet-tunables.h: Likewise.
8602 * sysdeps/x86/check-cet.awk: Likewise.
8603 * sysdeps/x86/configure: Likewise.
8604 * sysdeps/x86/configure.ac: Likewise.
8605 * sysdeps/x86/dl-cet.c: Likewise.
8606 * sysdeps/x86/dl-procruntime.c: Likewise.
8607 * sysdeps/x86/dl-prop.h: Likewise.
8608 * sysdeps/x86/libc-start.h: Likewise.
8609 * sysdeps/x86/link_map.h: Likewise.
8610 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8611 _CET_ENDBR.
8612 (_dl_runtime_profile): Likewise.
8613 (_dl_runtime_resolve_shstk): New.
8614 (_dl_runtime_profile_shstk): Likewise.
8615 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8616 if CET is enabled.
8617 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8618 (CFLAGS-.os): Likewise.
8619 (CFLAGS-.op): Likewise.
8620 (CFLAGS-.oS): Likewise.
8621 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8622 is enabled.
8623 (tests-special): Add $(objpfx)check-cet.out.
8624 (cet-built-dso): New.
8625 (+$(cet-built-dso:=.note)): Likewise.
8626 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8627 ($(objpfx)check-cet.out): New.
8628 (generated): Add check-cet.out.
8629 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8630 <cet-tunables.h>.
8631 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8632 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8633 (init_cpu_features): Call get_cet_status to check CET status
8634 and update dl_x86_feature_1 with CET status. Call
8635 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8636 (set_x86_shstk). Disable and lock CET in libc.a.
8637 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8638 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8639 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8640 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8641 (_CET_ENDBR): Define if not defined.
8642 (ENTRY): Add _CET_ENDBR.
8643 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8644 x86_shstk.
8645 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8646 _CET_ENDBR.
8647 (_dl_runtime_profile): Likewise.
8648
8649 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8650
8651 [BZ #21895]
8652 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8653 restore r2 on longjmp.
8654 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8655 test list.
8656 Added rules to build test tst-setjmp-bug21895-static.
8657 Added module setjmp-bug21895 and rules to build a shared object from it.
8658 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8659 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8660
8661 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8662
8663 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8664 * benchtests/bench-strstr.c: Likewise.
8665 * string/memmem.c (FASTSEARCH): Define.
8666 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8667 Add support for FASTSEARCH.
8668 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8669 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8670 (FASTSEARCH): Define.
8671 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8672 * string/test-strstr.c: Likewise.
8673
8674 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8675
8676 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8677 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8678
8679 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8680 H.J. Lu <hongjiu.lu@intel.com>
8681
8682 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8683 (__longjmp): Restore shadow stack pointer if shadow stack is
8684 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8685 isn't defined for __longjmp_cancel.
8686 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8687 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8688 and SHADOW_STACK_POINTER_OFFSET is defined.
8689 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8690 (setjmp): Save shadow stack pointer if shadow stack is enabled
8691 and SHADOW_STACK_POINTER_OFFSET is defined.
8692 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8693 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8694 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8695 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8696 <jmp_buf-ssp.h>.
8697 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8698 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8699 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8700 Remove jmp_buf-ssp.sym.
8701 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8702 <jmp_buf-ssp.h>.
8703 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8704 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8705 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8706 jmp_buf-ssp.sym.
8707 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8708 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8709 (__longjmp): Restore shadow stack pointer if shadow stack is
8710 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8711 isn't defined for __longjmp_cancel.
8712 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8713 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8714 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8715
8716 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8717
8718 [BZ #22563]
8719 * nptl/pthread_create.c: Include <tls-setup.h>.
8720 (__pthread_create_2_1): Call tls_setup_tcbhead.
8721 * sysdeps/generic/tls-setup.h: New file.
8722 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8723 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8724 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8725 Likewise.
8726 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8727 to feature_1.
8728 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8729 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8730 (X86_FEATURE_1_SHSTK): Likewise.
8731 (CET_ENABLED): Likewise.
8732 (IBT_ENABLED): Likewise.
8733 (SHSTK_ENABLED): Likewise.
8734
8735 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8736
8737 [BZ #23208]
8738 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8739 (LOCALES): Likewise.
8740 * localedata/dsb_DE.UTF-8.in: New file.
8741 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8742
8743 2018-07-12 Florian Weimer <fweimer@redhat.com>
8744
8745 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8746 __mprotect, not mprotect.
8747
8748 2018-07-11 Florian Weimer <fweimer@redhat.com>
8749
8750 * io/Makefile (headers): Add bits/statx.h.
8751
8752 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8753
8754 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8755 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8756 and headers.
8757 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8758 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8759 for utf8_gen.py
8760
8761 2018-07-10 Florian Weimer <fweimer@redhat.com>
8762
8763 * io/Makefile (routines): Add statx.
8764 (tests-internal): Add tst-statx.
8765 * io/Versions (GLIBC_2.28): Export statx.
8766 * io/bits/statx.h: New file.
8767 * io/sys/stat.h [__USE_GNU]: Include it.
8768 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8769 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8770 Define.
8771 * io/statx.c: New file.
8772 * io/statx_generic.: Likewise.
8773 * io/tst-statx.: Likewise.
8774 * include/bits/statx.h: Likewise.
8775 * sysdeps/unix/sysv/linux/kernel-features.h
8776 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8777 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8778 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8779 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8780 Undefine.
8781 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8782 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8783 * sysdeps/unix/sysv/linux/statx.c: New file.
8784 * manual/filesys.texi: Note that statx is undocumented.
8785 * sysdeps/**/libc*.abilist: Update.
8786
8787 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8788
8789 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8790 a kernel issue which lead to test failure in some cases.
8791
8792 2018-07-10 Florian Weimer <fweimer@redhat.com>
8793
8794 [BZ #23036]
8795 * posix/regexec.c (check_node_accept_bytes): When comparing
8796 weights, do not compare an extra byte after the end of the
8797 weights.
8798
8799 2018-07-10 Florian Weimer <fweimer@redhat.com>
8800
8801 * libio/readline.c: Fix copyright year.
8802 * libio/tst-readline.c Likewise.
8803 * nss/tst-nss-files-hosts-getent.c: Likewise.
8804
8805 2018-07-06 Florian Weimer <fweimer@redhat.com>
8806
8807 [BZ #18991]
8808 * nss/nss_files/files-XXX.c (internal_getent): Use
8809 __libc_readline_unlocked. Seek back to the start of the line if
8810 parsing failes with ERANGE.
8811 (get_contents_ret, get_contents): Remove.
8812 * nss/tst-nss-files-hosts-getent.c: New file.
8813 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8814 (tst-nss-files-hosts-getent): Link with -ldl.
8815
8816 2018-07-06 Florian Weimer <fweimer@redhat.com>
8817
8818 * include/stdio.h (__libc_readline_unlocked): Declare.
8819 (__ftello64, __fseeko64): Declare aliases.
8820 * libio/readline.c: New file.
8821 * libio/tst-readline.c: Likewise.
8822 (routines): Add readline.
8823 (tests-internal): Add tst-readlime.
8824 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8825 __libc_readline_unlocked.
8826 * libio/fseeko.c (__fseeko): Rename from fseeko.
8827 (fseeko): Add alias.
8828 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8829 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8830 (fseeko64): Add alias.
8831 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8832 * libio/ftello64.c (__ftello64): Rename from ftello64.
8833 (ftello64): Add alias.
8834
8835 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8836
8837 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8838 HWCAP_ATOMICS.
8839
8840 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8841
8842 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8843 Use dl_hwcap without masking.
8844 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8845 Remove HWCAP_CPUID.
8846
8847 2018-07-06 Florian Weimer <fweimer@redhat.com>
8848
8849 * conform/conformtest.pl (checknamespace): Escape literal braces
8850 in regular expressions.
8851
8852 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8853
8854 * sysdeps/x86/cpu-features.c (get_common_indeces):
8855 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8856 * sysdeps/x86/cpu-features.c (init_cpu_features):
8857 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8858
8859 2018-07-05 Florian Weimer <fweimer@redhat.com>
8860
8861 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8862 protector.
8863 (CFLAGS-elf-init.oS): Likewise.
8864
8865 2018-07-05 Florian Weimer <fweimer@redhat.com>
8866 Carlos O'Donell <carlos@redhat.com>
8867
8868 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8869 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8870 with stack protector enabled because there is no risk of infinite
8871 recursion.
8872
8873 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8874
8875 [BZ #19818]
8876 [BZ #23307]
8877 * libc-abis (ABSOLUTE): New ABI.
8878 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8879 * NEWS: Mention the new ABI.
8880
8881 2018-07-05 Florian Weimer <fweimer@redhat.com>
8882
8883 [BZ # 17662]
8884 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8885 (RENAME_WHITEOUT): Define.
8886 [__USE_GNU] (renameat2): Declare.
8887 * stdio-common/Makefile (routines): Add renameat2.
8888 (tests): Add tst-renameat2.
8889 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8890 * stdio-common/renameat2.c: New file.
8891 * stdio-common/tst-renameat2.c: Likewise.
8892 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8893 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8894 undocumented.
8895 * sysdeps/unix/sysv/linux/kernel-features.h
8896 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8897 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8898 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8899 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8900 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8901 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8902 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8903 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8904 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8905 * include/stdio.h (__renameat): Add alias for renameat.
8906 * stdio-common/renameat.c (__renameat): Rename from renameat.
8907 Add hidden definition and alias.
8908 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8909 * sysdeps/mach/hurd/renameat.c: Likewise.
8910 * sysdeps/**/libc*.abilist: Add renameat2.
8911
8912 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8913
8914 * posix/bug-regex33.c: Fix build after regex sync.
8915
8916 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8917
8918 [BZ #23164]
8919 * localedata/tst-langinfo-setlocale.c: New file.
8920 * localedata/tst-langinfo-setlocale-static.c: New file.
8921 * localedata/tst-langinfo-newlocale.c: New file.
8922 * localedata/tst-langinfo-newlocale-static.c: New file.
8923 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8924 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8925 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8926 (tests-static): Remove tst-langinfo-static. Add
8927 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8928 (tests-special): Remove $(objpfx)tst-langinfo.out,
8929 $(objpfx)tst-langinfo-static.out. Add
8930 $(objpfx)tst-langinfo-setlocale.out,
8931 $(objpfx)tst-langinfo-newlocale.out,
8932 $(objpfx)tst-langinfo-setlocale-static.out,
8933 $(objpfx)tst-langinfo-newlocale-static.out.
8934 ($(objpfx)tst-langinfo.out): Remove.
8935 ($(objpfx)tst-langinfo-static.out): Remove.
8936 ($(objpfx)tst-langinfo-newlocale.out): New target.
8937 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8938 (test-xfail-tst-langinfo-newlocale-static): Add.
8939 ($(objpfx)tst-langinfo-setlocale.out): New target.
8940 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8941 * localedata/tst-langinfo.c: Call test_locale.
8942 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8943 data.
8944
8945 2018-07-04 Florian Weimer <fweimer@redhat.com>
8946
8947 testrun.sh: Implement --tool=strace, --tool=valgrind
8948 * Makefile (testrun-script): Define variable.
8949 (testrun.sh): Use variable.
8950 * manual/install.texi (Tools for Compilation): make 4.0 or later
8951 is required.
8952 * configure.ac: Check for make 4.0 or later.
8953 * INSTALL: Regenerate.
8954 * configure: Likewise.
8955
8956 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8957
8958 [BZ #23233]
8959 [BZ #21163]
8960 [BZ #18986]
8961 [BZ #13762]
8962 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8963 * posix/PCRE.tests: Remove invalid test.
8964 * posix/bug-regex28.c: Fix expected values for used syntax.
8965 * posix/bug-regex37.c: New file.
8966 * posix/bug-regex38.c: Likewise.
8967 * posix/regcomp.c: Sync with gnulib.
8968 * posix/regex.c: Likewise.
8969 * posix/regex.h: Likewise.
8970 * posix/regex_internal.c: Likewise.
8971 * posix/regex_internal.h: Likewise.
8972 * posix/regexec.c: Likewise.
8973
8974 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8975
8976 [BZ #23308]
8977 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8978 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8979 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8980 * localedata/unicode-gen/PropList.txt: likewise.
8981 * localedata/unicode-gen/UnicodeData.txt: likewise.
8982 * localedata/charmaps/UTF-8: Regenerate.
8983 * localedata/locales/i18n_ctype: likewise.
8984 * localedata/locales/tr_TR: likewise.
8985 * localedata/locales/translit_circle: likewise.
8986 * localedata/locales/translit_cjk_compat: likewise.
8987 * localedata/locales/translit_combining: likewise.
8988 * localedata/locales/translit_compat: likewise.
8989 * localedata/locales/translit_font: likewise.
8990 * localedata/locales/translit_fraction: likewise.
8991
8992 2018-07-03 Florian Weimer <fweimer@redhat.com>
8993
8994 [BZ #23363]
8995 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
8996 * stdio-common/tst-printf.sh: Adjust expected output.
8997 * LICENSES: Update.
8998
8999 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9000
9001 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9002 symbol.
9003
9004 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9005
9006 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9007 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9008 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9009 * stdio-common/tst-printfsz-islongdouble.c: New file.
9010 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9011 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9012 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9013 [subdir == stdio-common] (tests-internal): Add
9014 test-printf-size-ieee128, and test-printf-size-ibm128.
9015 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9016 (CFLAGS-test-printf-size-ibm128.c): New variables.
9017 [subdir == stdio-common] (tests-special): Add
9018 $(objpfx)test-printf-size-ieee128.out and
9019 $(objpfx)test-printf-size-ibm128.out.
9020 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9021 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9022 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9023 __printf_sizeieee128.
9024 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9025 New file.
9026 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9027 Likewise.
9028 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9029 Likewise.
9030
9031 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9032
9033 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9034 (exp2f_inline): Likewise.
9035 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9036 (__math_uflowf): Likewise.
9037 (__math_may_uflowf): Likewise.
9038 (__math_divzerof): Likewise.
9039 (__math_invalidf): Likewise.
9040 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9041 (__math_oflowf): Likewise.
9042 (__math_uflowf): Likewise.
9043 (__math_may_uflowf): Likewise.
9044 (__math_divzerof): Likewise.
9045 (__math_invalidf): Likewise.
9046
9047 2018-06-29 DJ Delorie <dj@redhat.com>
9048 Carlos O'Donell <carlos@redhat.com>
9049
9050 [BZ #23329]
9051 * include/libc-symbols.h: Comment the freeres framework.
9052 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9053 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9054 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9055 * dlfcn/dlerror.c: Include libc-symbols.h
9056 (__dlerror_main_freeres): New function.
9057 * dlfcn/dlfreeres.c: New file.
9058 * dlfcn/sdlfreeres.c: New file.
9059 * include/dlfcn.h: Declare __dlerror_main_freeres.
9060 * malloc/set-freeres.c: Declare __libdl_freeres, and
9061 __libpthread_freeres.
9062 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9063 the releavant libraries are loaded.
9064 * malloc/thread-freeres.c: Add comments.
9065 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9066 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9067 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9068 (__free_stacks): Rename to...
9069 (free_stacks): ...this. Mark static.
9070 (queue_stack): Call free_stacks.
9071 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9072 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9073 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9074 ptr_freeres element from struct.
9075 (pthread_functions): Remove .ptr_freeres from struct initializer.
9076 [SHARED] (nptl_freeres): Remove.
9077 * nptl/nptlfreeres.c: New file.
9078 * nptl/pthreadP.h
9079 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9080 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9081 attribute_hidden.
9082 (__free_stacks): Rename to...
9083 (__nptl_stacks_freeres): ...this.
9084 (__shm_directory_freeres): Declare.
9085 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9086 (__nptl_unwind_freeres): ...this.
9087 * resolv/res-close.c: Add comment.
9088 * resolv/resolv_conf.c: Include libc-symbols.h.
9089 * string/strerror_l.c: Include libc-symbols.h.
9090 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9091 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9092 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9093 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9094
9095 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9096
9097 * stdlib/tst-strfmon_l.c: Add tests for long double.
9098
9099 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
9100
9101 [BZ #23208]
9102 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9103 * localedata/locales/dsb_DE: New file.
9104
9105 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9106
9107 [BZ #23140]
9108 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9109 genitive case).
9110 (alt_mon): New entry, import from CLDR (nominative case).
9111
9112 2018-06-29 Sylvain Lesage <severo@rednegra.net>
9113
9114 [BZ #22996]
9115 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9116
9117 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9118
9119 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9120 Use vector registers.
9121
9122 * sysdeps/aarch64/multiarch/memmove_falkor.S
9123 (__memcpy_falkor): Use vector registers.
9124
9125 2018-06-29 Martin Sebor <msebor@redhat.com>
9126
9127 * manual/stdio.texi (Customizing Printf): Mention interaction
9128 with GCC built-ins.
9129
9130 2018-06-29 Maciej W. Rozycki <macro@mips.com>
9131
9132 [BZ #23307]
9133 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9134 `st_value' is 0 if `st_shndx' is SHN_ABS.
9135 * elf/tst-absolute-zero.c: New file.
9136 * elf/tst-absolute-zero-lib.c: New file.
9137 * elf/tst-absolute-zero-lib.lds: New file.
9138 * elf/Makefile (tests): Add `tst-absolute-zero'.
9139 (modules-names): Add `tst-absolute-zero-lib'.
9140 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9141 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9142 ($(objpfx)tst-absolute-zero: New dependency.
9143
9144 2018-06-29 Zack Weinberg <zackw@panix.com>
9145
9146 * configure.ac: New command-line option --disable-crypt.
9147 Force --disable-nss-crypt when --disable-crypt is given, with a
9148 warning if it was explicitly enabled.
9149 * configure: Regenerate.
9150 * config.make.in: New boolean substitution variable $(build-crypt).
9151 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9152 when $(build-crypt).
9153 * manual/install.texi: Document --disable-crypt.
9154 * INSTALL: Regenerate.
9155
9156 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9157 which is never set.
9158 * conform/Makefile: Only include libcrypt.a in
9159 linknamespace-libs-xsi and linknamespace-libs-XPG4
9160 when $(build-crypt).
9161 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9162 USE_CRYPT to 1 when $(build-crypt).
9163 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9164 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9165 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9166
9167 2018-06-29 Zack Weinberg <zackw@panix.com>
9168
9169 * crypt/crypt.h, posix/unistd.h: Update comments and
9170 prototypes for crypt and crypt_r.
9171
9172 * manual/crypt.texi (Cryptographic Functions): New initial
9173 exposition.
9174 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9175 (Unpredictable Bytes): Improve initial exposition. Clarify error
9176 behavior of getentropy and getrandom.
9177 * manual/examples/genpass.c: Generate a salt using getentropy
9178 instead of the current time. Use hash $5$ (SHA-2-256).
9179 * manual/examples/testpass.c: Demonstrate validation against
9180 hashes generated with three different one-way functions.
9181
9182 * manual/intro.texi: crypt.texi does not need an overview
9183 anymore.
9184
9185 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9186 * manual/terminal.texi: Consistently refer to "passphrases"
9187 * instead of "passwords", and to the "user database" instead
9188 * of the "password database".
9189 * manual/users.texi: Similarly. Add notes about how actual
9190 passphrase hashes are now stored in the shadow database.
9191 Remove 20-year-old junk todo note.
9192
9193 2018-06-29 Zack Weinberg <zackw@panix.com>
9194
9195 * manual/crypt.texi: Use a normal top-level @node declaration.
9196 Move most of the introductory text to the 'crypt' section.
9197 Move the example programs below the @deftypefun for 'crypt_r'.
9198 Move the 'getpass' section...
9199 * manual/terminal.texi: ...here.
9200
9201 2018-06-29 Zack Weinberg <zackw@panix.com>
9202 Florian Weimer <fweimer@redhat.com>
9203
9204 * posix/unistd.h: Do not declare encrypt.
9205 (_XOPEN_CRYPT): Remove macro definition.
9206 (crypt): Declare only for _USE_MISC.
9207 * stdlib/stdlib.h: Do not declare setkey.
9208 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9209 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9210
9211 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9212 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9213 into compat symbols. Don't define initial_perm if it's not
9214 going to be used.
9215 * crypt/cert.c: Link explicitly with the expected versions for
9216 setkey and encrypt. If they are not available at all, mark
9217 the test as unsupported.
9218
9219 * sunrpc/des_crypt.c: Unconditionally block linkage with
9220 cbc_crypt and ecb_crypt for new binaries.
9221 * sunrpc/des_soft.c: Unconditionally block linkage with
9222 des_setparity for new binaries.
9223
9224 * manual/crypt.texi: Remove the entire "DES Encryption"
9225 section. Also remove the paragraph talking about FIPS 140-2
9226 from the introduction.
9227 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9228 of libgcrypt for "real" encryption, not DES.
9229 * manual/conf.texi (Constants for Sysconf): Mention that
9230 _XOPEN_CRYPT is no longer impelemented.
9231
9232 * conform/data/unistd.h-data: Remove crypt function declaration.
9233
9234 2018-06-29 Florian Weimer <fweimer@redhat.com>
9235
9236 [BZ #23351]
9237 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9238 (disallow_malloc_check): Remove variable.
9239 (__malloc_check_init): Adjust.
9240 (malloc_set_state): Update comment.
9241 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9242 declarations.
9243
9244 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9245
9246 [BZ #23140]
9247 * localedata/locales/ast_ES (mon): Rename to...
9248 (alt_mon): This.
9249 (mon): Import from CLDR (genitive case).
9250
9251 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9252 Jakub Sitnicki <jkbs@redhat.com>
9253
9254 [BZ #21812]
9255 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9256 on NLM_F_DUMP_INTR.
9257
9258 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9259
9260 * manual/llio.texi: Remove spurious space.
9261
9262 2018-06-28 Florian Weimer <fweimer@redhat.com>
9263
9264 [BZ #23349]
9265 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9266 _STRUCT_TIMESPEC.
9267
9268 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9269
9270 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9271 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9272 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9273 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9274 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9275 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9276 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9277
9278 2018-06-27 Maciej W. Rozycki <macro@mips.com>
9279
9280 [BZ #23266]
9281 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9282 Copy and null-terminate entries that are not terminated, in
9283 addition to empty ones.
9284
9285 2018-06-27 Florian Weimer <fweimer@redhat.com>
9286
9287 [BZ #18023]
9288 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9289 (extend_alloca_account): Remove.
9290 * manual/stdio.texi (Variable Arguments Output): Update comment.
9291
9292 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9293
9294 * nptl/sockperf.c: Remove file.
9295
9296 2018-06-27 Florian Weimer <fweimer@redhat.com>
9297
9298 [BZ #18023]
9299 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9300 scratch_buffer instead of extend_alloca.
9301
9302 2018-06-27 Florian Weimer <fweimer@redhat.com>
9303
9304 [BZ #18023]
9305 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9306 scratch_buffer instead of extend_alloca. Update comments.
9307
9308 2018-06-27 Florian Weimer <fweimer@redhat.com>
9309
9310 [BZ #18023]
9311 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9312 instead of extend_alloca.
9313
9314 2018-06-26 Joseph Myers <joseph@codesourcery.com>
9315
9316 [BZ #13888]
9317 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9318 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9319 /tmp.
9320 * scripts/test-installation.pl: Put temporary files in build
9321 directory, not /tmp.
9322 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9323 (CFLAGS-bug4.c): Likewise.
9324 (CFLAGS-bug5.c): Likewise.
9325 (CFLAGS-test-fseek.c): Likewise.
9326 (CFLAGS-test-popen.c): Likewise.
9327 (CFLAGS-test_rdwr.c): Likewise.
9328 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9329 /tmp.
9330 * stdio-common/bug4.c (main): Likewise.
9331 * stdio-common/bug5.c (main): Likewise.
9332 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9333 * stdio-common/test-popen.c (do_test): Likewise.
9334 * stdio-common/test_rdwr.c (main): Likewise.
9335
9336 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9337
9338 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9339 (sem_open): Set sem.newsem.pad to zero for valgrind.
9340
9341 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9342
9343 [BZ #20251]
9344 * NEWS: Mention fcntl64 addition.
9345 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9346 * login/utmp_file.c: Likewise.
9347 * sysdeps/posix/fdopendir.c: Likewise.
9348 * sysdeps/posix/opendir.c: Likewise.
9349 * sysdeps/unix/pt-fcntl.c: Likewise.
9350 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9351 __fcntl64_nocancel_adjusted): New prototype.
9352 (__fcntl_nocancel_adjusted): Remove prototype.
9353 * io/Makefile (routines): Add fcntl64.
9354 (CFLAGS-fcntl64.c): New rule.
9355 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9356 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9357 * io/fcntl.h (fcntl64): Add prototype and redirect if
9358 __USE_FILE_OFFSET64 is defined.
9359 * io/fcntl64.c: New file.
9360 * manual/llio.text: Add a note for which commands fcntl acts a
9361 cancellation point.
9362 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9363 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9364 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9365 New symbols.
9366 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9367 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9368 non-LFS case.
9369 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9370 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9371 to __fcntl64_nocancel.
9372 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9373 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9374 to __fcntl64_nocancel.
9375 * sysdeps/generic/not-cancel.h: Likewise.
9376 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9377 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9378 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9379 (fcntl64): New symbol.
9380 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9381 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9382 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9385 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9386 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9387 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9388 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9389 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9390 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9391 fcntl64): Likewise.
9392 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9393 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9394 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9395 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9396 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9397 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9398 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9399 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9400 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9402 Likewise.
9403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9404 Likewise.
9405 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9406 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9407 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9408
9409 2018-06-26 Florian Weimer <fweimer@redhat.com>
9410
9411 Run thread shutdown functions in an explicit order.
9412 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9413 definition.
9414 (__libc_thread_freeres): Call thread shutdown functions
9415 explicitly.
9416 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9417 * include/string.h (__strerror_thread_freeres): Declare.
9418 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9419 arena_thread_freeres. No longer static. Remove thread shutdown
9420 hook registration.
9421 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9422 Declare.
9423 * resolv/res-close.c (__res_thread_freeres): Renamed from
9424 res_thread_freeres. No longer static. Remove thread shutdown
9425 hook registration.
9426 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9427 * resolv/resolv_conf.c (freeres): Remove incorrect section
9428 attribute and use libc_freeres_fn.
9429 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9430 strerror_thread_freeres. No longer static. Remove thread
9431 shutdown hook registration.
9432 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9433 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9434 shutdown hook registration.
9435 * Makerules (shlib.lds): Do not provide section boundary symbols
9436 for __libc_thread_subfreeres.
9437 * manual/memory.texi (Basic Allocation): Update comment.
9438
9439 2018-06-26 Florian Weimer <fweimer@redhat.com>
9440
9441 Remove always-defined _RPC_THREAD_SAFE_ macro.
9442 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9443 Do not define _RPC_THREAD_SAFE_.
9444 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9445 conditional.
9446 * sunrpc/clnt_perr.c: Likewise.
9447 * sunrpc/clnt_raw.c: Likewise.
9448 * sunrpc/clnt_simp.c: Likewise.
9449 * sunrpc/key_call.c: Likewise.
9450 * sunrpc/rpc_common.c: Likewise.
9451 * sunrpc/rpc_main.c: Likewise.
9452 * sunrpc/rpc_thread.c: Likewise.
9453 * sunrpc/svc.c: Likewise.
9454 * sunrpc/svc_raw.c: Likewise.
9455 * sunrpc/svc_simple.c: Likewise.
9456 * sumrpc/svcauth_des.c: Likewise.
9457
9458 2018-06-26 Florian Weimer <fweimer@redhat.com>
9459
9460 * libio/Makefile (tests-internal): Add tst-vtables,
9461 tst-vtables-interposed.
9462 * libio/tst-vtables.c: New file.
9463 * libio/tst-vtables-common.c: Likewise.
9464 * libio/tst-vtables-interposed.c: Likewise.
9465
9466 2018-06-26 Florian Weimer <fweimer@redhat.com>
9467
9468 * support/support_test_main.c (support_test_main): Only call
9469 setvbuf if not disables.
9470 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9471 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9472
9473 2018-06-26 Florian Weimer <fweimer@redhat.com>
9474
9475 [BZ #23313]
9476 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9477
9478 2018-06-25 Florian Weimer <fweimer@redhat.com>
9479
9480 [BZ #18023]
9481 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9482 Use struct scratch_buffer instead of extend_alloca.
9483
9484 2018-06-25 Florian Weimer <fweimer@redhat.com>
9485
9486 [BZ #18023]
9487 * nss/getent.c (initgroups_keys): Use dynarray instead of
9488 extend_alloca.
9489
9490 2018-06-25 Florian Weimer <fweimer@redhat.com>
9491
9492 [BZ #18023]
9493 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9494 Use struct scratch_buffer instead of extend_alloca.
9495
9496 2018-06-25 Florian Weimer <fweimer@redhat.com>
9497
9498 [BZ #18023]
9499 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9500 back to malloc directly, without stack allocations.
9501
9502 2018-06-25 Florian Weimer <fweimer@redhat.com>
9503
9504 [BZ #18023]
9505 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9506 of extend_alloca.
9507
9508 2018-06-25 Florian Weimer <fweimer@redhat.com>
9509
9510 [BZ #18023]
9511 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9512 of extend_alloca.
9513 * nscd/hstcache.c (addhstbyX): Likewise.
9514 * nscd/pwdcache.c (addpwbyX): Likewise.
9515 * nscd/servicescache.c (addservbyX): Likewise.
9516
9517 2018-06-25 Florian Weimer <fweimer@redhat.com>
9518
9519 [BZ #18023]
9520 * nscd/connections.c (read_cmdline): New function.
9521 (restart): Use it. Update comment.
9522
9523 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9524
9525 [BZ #23140]
9526 * localedata/locales/csb_PL (mon): Rename to...
9527 (alt_mon): This.
9528 (abmon): Rename to...
9529 (ab_alt_mon): This.
9530 (mon): Add with proper genitive forms, copy from Wikipedia.
9531 (abmon): Likewise.
9532
9533 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9534
9535 [BZ #19485]
9536 * localedata/locales/csb_PL (mon): Fix typos:
9537 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9538 (yesstr): Add, value is "jo".
9539 (nostr): Add, value is "nié".
9540
9541 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9542
9543 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9544 all log1p and significand functions on m680x0.
9545 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9546 of s_significand.c..
9547 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9548 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9549 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9550 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9551 s_log1p.c and include it..
9552
9553 2018-06-21 Vincent Chen <vincentc@andestech.com>
9554
9555 * elf/elf.h (R_NDS32_NONE): New define.
9556 (R_NDS32_32_RELA): Likewise.
9557 (R_NDS32_COPY): Likewise.
9558 (R_NDS32_GLOB_DAT): Likewise.
9559 (R_NDS32_JUMP_SLOT): Likewise.
9560 (R_NDS32_RELATIVE): Likewise.
9561 (R_NDS32_TLS_TPOFF): Likewise.
9562 (R_NDS32_TLS_DESC): Likewise.
9563
9564 2018-06-21 Mark Wielaard <mark@klomp.org>
9565
9566 * elf/elf.h (R_BPF_MAP_FD): Removed.
9567 (R_BPF_64_64, R_BPF_64_32): New.
9568
9569 2018-06-21 Florian Weimer <fweimer@redhat.com>
9570
9571 [BZ #23253]
9572 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9573 Renamed from libc_feholdsetround_ctx.
9574 (default_libc_feresetround_ctx): Renamed from
9575 libc_feresetround_ctx.
9576 (default_libc_feholdsetround_noex_ctx): Renamed from
9577 libc_feholdsetround_noex_ctx.
9578 (default_libc_feresetround_noex_ctx): Renamed from
9579 libc_feresetround_noex_ctx.
9580 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9581 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9582 forwardning to the old implementations under the new names.
9583 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9584 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9585 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9586 (libc_feresetround_ctx): Forward to default implements for i386
9587 and MATH_SET_BOTH_ROUNDING_MODES.
9588 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9589 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9590
9591 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9592
9593 * string/tst-cmp.c: Include <libc-diag.h>.
9594 (strncmp_max): Disable -Wstringop-overflow= around call to
9595 strncmp.
9596 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9597 strncasecmp.
9598
9599 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9600 (main): Disable -Wunused-value around call to strpbrk.
9601 * string/bug-strspn1.c: Include <libc-diag.h>.
9602 (main): Disable -Wunused-value around call to strspn.
9603
9604 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9605 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9606
9607 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9608 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9609
9610 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9611
9612 * math/Makefile (libm-calls): Move s_significandF to...
9613 (gen-libm-calls): ... here.
9614 * math/s_significand_template.c: New file.
9615 * math/s_significand.c: Removed.
9616 * math/s_significandf.c: Removed.
9617 * math/s_significandl.c: Removed.
9618 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9619 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9620
9621 * math/e_exp2_template.c (declare_mgen_finite_alias,
9622 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9623 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9624 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9625
9626 2018-06-20 Florian Weimer <fweimer@redhat.com>
9627
9628 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9629
9630 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9631
9632 [BZ #23280]
9633 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9634 floating-point number to strtod functions rather than possibly
9635 negating result of those functions.
9636 * stdio-common/tst-scanf-round.c: New file.
9637 * stdio-common/Makefile (tests): Add tst-scanf-round.
9638 ($(objpfx)tst-scanf-round): Depend on $(libm).
9639
9640 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9641
9642 * sysdeps/mach/hurd/localplt.data: Move to...
9643 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9644 R_386_GLOB_DAT like on Linux i386.
9645
9646 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9647
9648 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9649 (SHM_STAT_ANY): New macro.
9650 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9651 (SHM_STAT_ANY): Likewise.
9652 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9653 (SHM_STAT_ANY): Likewise.
9654 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9655 (SHM_STAT_ANY): Likewise.
9656 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9657 (SHM_STAT_ANY): Likewise.
9658 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9659 (SHM_STAT_ANY): Likewise.
9660 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9661 (SHM_STAT_ANY): Likewise.
9662 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9663 (SHM_STAT_ANY): Likewise.
9664 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9665 (SHM_STAT_ANY): Likewise.
9666 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9667 (SHM_STAT_ANY): Likewise.
9668 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9669 (SHM_STAT_ANY): Likewise.
9670 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9671 (SHM_STAT_ANY): Likewise.
9672
9673 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9674 (SEM_STAT_ANY): New macro.
9675 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9676 (SEM_STAT_ANY): Likewise.
9677 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9678 (SEM_STAT_ANY): Likewise.
9679 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9680 (SEM_STAT_ANY): Likewise.
9681 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9682 (SEM_STAT_ANY): Likewise.
9683 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9684 (SEM_STAT_ANY): Likewise.
9685 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9686 (SEM_STAT_ANY): Likewise.
9687 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9688 (SEM_STAT_ANY): Likewise.
9689 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9690 (SEM_STAT_ANY): Likewise.
9691 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9692 (SEM_STAT_ANY): Likewise.
9693
9694 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9695 (MSG_STAT_ANY): New macro.
9696 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9697 (MSG_STAT_ANY): Likewise.
9698 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9699 (MSG_STAT_ANY): Likewise.
9700 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9701 (MSG_STAT_ANY): Likewise.
9702 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9703 (MSG_STAT_ANY): Likewise.
9704 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9705 (MSG_STAT_ANY): Likewise.
9706 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9707 (MSG_STAT_ANY): Likewise.
9708 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9709 (MSG_STAT_ANY): Likewise.
9710 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9711 (MSG_STAT_ANY): Likewise.
9712 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9713 (MSG_STAT_ANY): Likewise.
9714
9715 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9716 (MAP_TYPE): Change value to 0x2b.
9717
9718 2018-06-18 Florian Weimer <fweimer@redhat.com>
9719
9720 [BZ #15722]
9721 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9722 socket with SOCK_CLOEXEC.
9723
9724 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9725
9726 [BZ #23303]
9727 * sysdeps/powerpc/powerpc64/le/Makefile
9728 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9729 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9730 (gnulib-tests): Also add $(f128-loader-link) for
9731 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9732
9733 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9734
9735 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9736 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9737 of sendfile.
9738 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9739 (sendfile64): New strong alias.
9740 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9741 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9742 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9743 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9744 attribute.
9745 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9746 ___pthread_get_cleanup_stack.
9747 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9748 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9749 * mach/shortcut.awk: Make syscall stubs include
9750 <mach-shortcuts-hidden.h> and add hidden definition.
9751 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9752 (__mach_msg): Add hidden prototype.
9753 * mach/msg.c: Include <mach.h>.
9754 (__mach_msg): Add hidden definition.
9755 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9756 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9757 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9758 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9759 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9760 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9761 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9762 prototype and definition.
9763 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9764 hidden target for _hurd_self_sigstate.
9765
9766 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9767
9768 [BZ #23007]
9769 * stdlib/tst-strtod-nan-sign-main.c: New file.
9770 * stdlib/tst-strtod-nan-sign.c: Likewise.
9771 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9772 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9773 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9774 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9775 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9776
9777 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9778
9779 [BZ #23007]
9780 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9781 appropriate sign.
9782
9783 2018-06-14 Florian Weimer <fweimer@redhat.com>
9784
9785 [BZ #23290]
9786 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9787 that the result stays within the ISO-8859-1 range.
9788 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9789 characters are defined in IBM273.
9790
9791 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9792
9793 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9794 __mach_task_self): Remove attribute_hidden.
9795
9796 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9797
9798 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9799 ignore -Wrestrict for one test.
9800
9801 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9802 Szabolcs Nagy <szabolcs.nagy@arm.com>
9803
9804 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9805
9806 2018-06-14 Florian Weimer <fweimer@redhat.com>
9807
9808 * scripts/update-abilist.sh: Accept empty list of files to patch.
9809
9810 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9811
9812 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9813 test-xfail-check-abi-libmachuser): Add.
9814 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9815 __libc_read and __libc_write to __read and __write.
9816 * sysdeps/hurd/include/hurd/port.h: New file.
9817 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9818 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9819 __thread_switch, __evc_wait): Move declarations to...
9820 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9821 attribute_hidden.
9822 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9823 use PLT to call _hurd_self_sigstate.
9824
9825 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9826
9827 [BZ #23279]
9828 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9829 MAX_EXP as overflowing.
9830 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9831 overflow flag.
9832 (round_str): Output also whether result overflows in each rounding
9833 mode.
9834 * stdlib/tst-strtod-round-data: Add more tests.
9835 * stdlib/tst-strtod-round-data.h: Regenerated.
9836 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9837 (TEST): Handle extra arguments for overflow flags.
9838 (struct test_overflow): New type.
9839 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9840 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9841 (test_in_one_mode): Take argument with overflow information.
9842 (do_test): Update calls to test_in_one_mode.
9843
9844 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9845
9846 * elf/dl-load (_dl_dst_substitute): Correct comment.
9847 (_dl_dst_count): Likewise.
9848
9849 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9850 lll_futex_timed_wait.
9851
9852 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9853
9854 [BZ #23277]
9855 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9856 attribute.
9857 * math/test-nan-const.c: New file.
9858 * math/Makefile (tests): Add test-nan-const.
9859 (CFLAGS-test-nan-const.c): New variable.
9860
9861 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9862
9863 * benchtests/scripts/compare_strings.py (process_results): Add
9864 funcs argument. Compare only functions which are selected.
9865 (main): Check if base function is among selected functions.
9866 Pass selected functions to process_results.
9867 (__main__): Add -f/--functions argument.
9868
9869 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9870 Hongbo Zhang <hongbo.zhang@linaro.org>
9871
9872 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9873 __memcpy_falkor for phecda core.
9874 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9875 __memmove_falkor for phecda core.
9876 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9877 __memset_falkor for phecda core.
9878 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9879 for phecda core.
9880 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9881 macro to identify phecda core.
9882
9883 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9884 Andreas Schwab <schwab@suse.de>
9885 Dmitry V. Levin <ldv@altlinux.org>
9886 Florian Weimer <fweimer@redhat.com>
9887
9888 [BZ #23102]
9889 [BZ #21942]
9890 [BZ #18018]
9891 [BZ #23259]
9892 CVE-2011-0536
9893 * elf/dl-dst.h: Remove DL_DST_COUNT.
9894 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9895 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9896 (is_dst): Comment. Support ELF gABI.
9897 (_dl_dst_count): Comment. Simplify and count DSTs.
9898 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9899 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9900 locals.
9901
9902 2018-06-12 Zack Weinberg <zackw@panix.com>
9903
9904 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9905 * sysdeps/unix/sysv/linux/dl-sysdep.c
9906 Include not-cancel.h. Use __close_nocancel instead of __close,
9907 __open64_nocancel instead of __open, __read_nocancel instead of
9908 __libc_read, and __write_nocancel instead of __libc_write.
9909
9910 * csu/check_fds.c (check_one_fd)
9911 * sysdeps/posix/fdopendir.c (__fdopendir)
9912 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9913 instead of __fcntl and/or __libc_fcntl.
9914
9915 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9916 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9917 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9918 Use __open64_nocancel instead of __open_nocancel.
9919
9920 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9921 hidden_proto declarations to the end and issue them if either
9922 IS_IN(libc) or IS_IN(rtld).
9923 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9924 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9925 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9926 read_nocancel, waitpid_nocancel, write_nocancel.
9927
9928 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9929 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9930 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9931
9932 * nptl/pt-fcntl.c: New file.
9933 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9934 (libpthread-routines): Add pt-fcntl.
9935 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9936 (__libc_fcntl): Remove attribute_hidden.
9937 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9938 __fcntl_nocancel_adjusted, not fcntl_common.
9939 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9940 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9941 to fcntl_nocancel.c.
9942 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9945 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9946
9947 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9948 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9949 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9950 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9951 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9952 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9953 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9954 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9955 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9956 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9957 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9958 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9959 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9960 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9961 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9962 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9963 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9964 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9965 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9966 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9967
9968 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9969 libpthread-routines.
9970 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9971 defines nothing.
9972
9973 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9974 __libc_read, and __write instead of __libc_write. Define
9975 __open64 in addition to __open.
9976
9977 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9978
9979 [BZ #23250]
9980 [BZ #10686]
9981 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9982 to _private_tm[3] and add __glibc_reserved2.
9983 Add _Static_assert of offset of __private_ss == 0x30.
9984 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
9985 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
9986
9987 2018-06-12 Florian Weimer <fweimer@redhat.com>
9988
9989 x86: Make strncmp usable from rtld.
9990 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
9991 __strncmp_ia32 if in libc (and not in rtld).
9992 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
9993 strncmp if not in libc (and not to __strncmp_sse2).
9994
9995 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
9996
9997 [BZ #23140]
9998 * localedata/locales/gd_GB (mon): Rename to...
9999 (alt_mon): This.
10000 (mon): Import from CLDR (genitive case).
10001 * localedata/locales/hsb_DE (mon): Rename to...
10002 (alt_mon): This.
10003 (mon): Import from CLDR (genitive case).
10004 * localedata/locales/wa_BE (mon): Rename to...
10005 (alt_mon): This.
10006 (mon): Add, fill with the proper genitive forms, but CLDR data
10007 is incomplete; completed according to the comments in this file.
10008 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10009
10010 * localedata/locales/wa_BE (country_name): Reword
10011 "Beljike" -> "Beldjike".
10012
10013 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10014
10015 [BZ #23272]
10016 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10017 cases of non-finite arguments.
10018 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10019
10020 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10021
10022 [BZ #23174]
10023 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10024
10025 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10026
10027 [BZ #23264]
10028 * include/unistd.h (__execvpex): New prototype.
10029 * posix/Makefile (tests): Add tst-spawn4.
10030 (tests-internal): Add tst-spawn4-compat.
10031 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10032 * posix/tst-spawn4-compat.c: New file.
10033 * posix/tst-spawn4.c: Likewise.
10034 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10035 binaries as shell scripts.
10036 * sysdeps/posix/spawni.c (__spawni): Likewise.
10037
10038 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10039
10040 [BZ #23145]
10041 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10042 ($(all-built-dso:=.dynsym): New target.
10043 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10044 ($(objpfx)check-initfini.out): New target.
10045 (generated): Add check-initfini.out.
10046 * scripts/check-initfini.awk: New file.
10047 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10048 (_fini): Likewise.
10049 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10050 (_fini): Likewise.
10051 * sysdeps/arm/crti.S (_init): Mark as hidden.
10052 (_fini): Likewise.
10053 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10054 (_fini): Likewise.
10055 * sysdeps/i386/crti.S (_init): Mark as hidden.
10056 (_fini): Likewise.
10057 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10058 (_fini): Likewise.
10059 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10060 (_fini): Likewise.
10061 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10062 (_fini): Likewise.
10063 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10064 (_fini): Likewise.
10065 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10066 (_fini): Likewise.
10067 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10068 (_fini): Likewise.
10069 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10070 (_fini): Likewise.
10071 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10072 (_fini): Likewise.
10073 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10074 (_fini): Likewise.
10075 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10076 (_fini): Likewise.
10077 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10078 (_fini): Likewise.
10079 * sysdeps/sh/crti.S (_init): Mark as hidden.
10080 (_fini): Likewise.
10081 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10082 (_fini): Likewise.
10083 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10084 (_fini): Likewise.
10085
10086 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10087
10088 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10089 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10090 and TF redirection to KFtype and KF only when the default
10091 long double type is not the IEEE 128-bit floating point type.
10092
10093 2018-06-05 Joseph Myers <joseph@codesourcery.com>
10094
10095 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10096 macro.
10097 (HWCAP_USCAT): Likewise.
10098 (HWCAP_ILRCPC): Likewise.
10099 (HWCAP_FLAGM): Likewise.
10100 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10101 Increase to 28.
10102 (_dl_aarch64_cap_flags): Add new flag names.
10103
10104 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10105 (MAP_FIXED_NOREPLACE): New macro.
10106 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10107 (MAP_FIXED_NOREPLACE): Likewise.
10108 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10109 (MAP_FIXED_NOREPLACE): Likewise.
10110 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10111 (MAP_FIXED_NOREPLACE): Likewise.
10112 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10113 (MAP_FIXED_NOREPLACE): Likewise.
10114 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10115 (MAP_FIXED_NOREPLACE): Likewise.
10116 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10117 (MAP_FIXED_NOREPLACE): Likewise.
10118 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10119 (MAP_FIXED_NOREPLACE): Likewise.
10120 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10121 (MAP_FIXED_NOREPLACE): Likewise.
10122 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10123 (MAP_FIXED_NOREPLACE): Likewise.
10124 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10125 (MAP_FIXED_NOREPLACE): Likewise.
10126 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10127 (MAP_FIXED_NOREPLACE): Likewise.
10128 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10129 (MAP_FIXED_NOREPLACE): Likewise.
10130 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10131 (MAP_FIXED_NOREPLACE): Likewise.
10132 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10133 (MAP_FIXED_NOREPLACE): Likewise.
10134
10135 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10136 version to 4.17.
10137
10138 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10139
10140 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10141 version to 4.17
10142
10143 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10144
10145 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10146 int.
10147 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10148
10149 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10150
10151 * benchtests/scripts/compare_string.py: (process_results) Catch
10152 exception in non-existent base_func and catch exception in
10153 non-existent attribute.
10154 (parse_file) Catch exception if input file does not exist.
10155
10156 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10157
10158 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10159 options to avoid diff calculation and omit header, respectively.
10160 (main): process --no-diff and --no-header
10161
10162 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10163 H.J. Lu <hongjiu.lu@intel.com>
10164
10165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10166 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10167 wcsncmp-sse2.
10168 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10169 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10170 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10171 and __wcsncmp_sse2.
10172 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10173 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10174 AVX unaligned load is fast and vzeroupper is preferred.
10175 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10176 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10177 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10178 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10179 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10180 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10181 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10182 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10183 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10184 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10185 is undefined.
10186
10187 2018-06-01 Florian Weimer <fweimer@redhat.com>
10188
10189 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10190 configuring with --disable-multi-arch, building with
10191 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10192 Haswell-era CPU.
10193
10194 2018-06-01 Florian Weimer <fweimer@redhat.com>
10195
10196 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10197 results from building with “-march=x86-64 -mtune=generic
10198 -mfpmath=sse” and running on a Haswell-era CPU.
10199
10200 2018-06-01 Joseph Myers <joseph@codesourcery.com>
10201
10202 [BZ #18473]
10203 * soft-fp/sqrttf2.c: Remove file.
10204 * soft-fp/sqrtdf2.c: Move to ....
10205 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10206 <shlib-compat.h>.
10207 (__sqrtdf2): Make conditional on
10208 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10209 symbol.
10210 * soft-fp/sqrtsf2.c: Move to ....
10211 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10212 <shlib-compat.h>.
10213 (__sqrtsf2): Make conditional on
10214 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10215 symbol.
10216 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10217 (gcc-double-routines): Remove sqrtdf2.
10218 (gcc-quad-routines): Remove sqrttf2.
10219 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10220 Do not filter out sqrtsf2 and sqrtdf2.
10221 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10222 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10223
10224 2018-06-01 Florian Weimer <fweimer@redhat.com>
10225
10226 * sysdeps/generic/libcidn.abilist: Remove file.
10227
10228 2018-06-01 Florian Weimer <fweimer@redhat.com>
10229
10230 [BZ #23236]
10231 * libio/strfile.h (struct _IO_str_fields): Rename members to
10232 discourage their use and add comment.
10233 (_IO_STR_DYNAMIC): Remove unused macro.
10234 * libio/strops.c (_IO_str_init_static_internal): Do not use
10235 callback pointers. Call malloc and free.
10236 (_IO_str_overflow): Do not use callback pointers. Call malloc
10237 and free.
10238 (enlarge_userbuf): Likewise.
10239 (_IO_str_finish): Call free.
10240 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10241 _allocate_buffer_unused.
10242 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10243 and free.
10244 (enlarge_userbuf): Likewise.
10245 (_IO_wstr_finish): Call free.
10246 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10247 _allocate_buffer_unused, _free_buffer_unused.
10248 * libio/memstream.c (__open_memstream): Likewise.
10249 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10250 * libio/wmemstream.c (open_wmemstream): Likewise.
10251
10252 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10253
10254 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10255 AMD Ryzen 7 1800X.
10256
10257 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10258
10259 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10260 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10261 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10262 New file.
10263 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10264 Likewise.
10265 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10266
10267 2018-05-29 Florian Weimer <fweimer@redhat.com>
10268
10269 * support/Makefile (libsupport-routines): Add
10270 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10271 xpthread_barrierattr_setpshared.
10272 * support/xpthread_barrierattr_destroy.c: New file.
10273 * support/xpthread_barrierattr_init.c: Likewise.
10274 * support/xpthread_barrierattr_setpshared.c: Likewise.
10275
10276 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10277
10278 [BZ #23206]
10279 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10280 _r_debug and update DT_DEBUG for debugger.
10281
10282 2018-05-29 Florian Weimer <fweimer@redhat.com>
10283
10284 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10285 (tst-strtod5i.out): Likewise.
10286
10287 2018-05-25 Joseph Myers <joseph@codesourcery.com>
10288
10289 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10290 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10291 (sparc64-quad-routines): New variable. Moved from ....
10292 [$(subdir) = soft-fp] (sysdep_routines): Add
10293 $(sparc64-quad-routines). Moved from ....
10294 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10295 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10296 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10297 moved from ....
10298 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10299 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10300 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10301 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10302 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10303 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10304 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10305 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10306 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10307 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10308 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10309 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10310 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10311 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10312 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10313 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10314 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10315 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10316 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10317 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10318 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10319 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10320 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10321 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10322 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10323 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10324 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10325 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10326 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10327 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10328 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10329 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10330 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10331 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10332 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10333 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10334 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10335 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10336 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10337 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10338 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10339 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10340 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10341 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10342 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10343 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10344 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10345 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10346 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10347 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10348 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10349 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10350 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10351 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10352 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10353 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10354 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10355 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10356
10357 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10358 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10359 (sparc32-quad-routines): New variable. Moved from ....
10360 [$(subdir) = soft-fp] (sysdep_routines): Add
10361 $(sparc32-quad-routines). Moved from ....
10362 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10363 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10364 moved from ....
10365 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10366 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10367 * sysdeps/sparc/sparc32/q_add.c: ... here.
10368 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10369 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10370 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10371 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10372 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10373 * sysdeps/sparc/sparc32/q_div.c: ... here.
10374 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10375 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10376 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10377 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10378 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10379 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10380 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10381 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10382 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10383 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10384 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10385 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10386 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10387 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10388 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10389 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10390 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10391 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10392 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10393 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10394 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10395 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10396 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10397 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10398 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10399 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10400 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10401 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10402 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10403 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10404 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10405 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10406 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10407 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10408 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10409 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10410 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10411 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10412 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10413 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10414 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10415 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10416 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10417 * sysdeps/sparc/sparc32/q_util.c: ... here.
10418 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10419 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10420 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10421 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10422
10423 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10424 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10425
10426 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10427 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10428 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10429 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10430
10431 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10432
10433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10434 powerpc/soft-fp.
10435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10436 Likewise.
10437 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10438 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10439
10440 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10441
10442 [BZ #23171]
10443 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10444 double version.
10445
10446 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10447
10448 * sysdeps/sh/Implies: Remove sh/soft-fp.
10449 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10450 * sysdeps/sh/sfp-machine.h: ... here.
10451
10452 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10453
10454 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10455 (__mempcpy_erms): Skip zero length.
10456 (__memmove_erms): Likewise.
10457 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10458 (__memset_erms): Likewise.
10459
10460 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10461
10462 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10463 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10464 Add functions moved from ....
10465 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10466 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10467 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10468 from ....
10469 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10470 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10471 * sysdeps/alpha/e_sqrtl.c: ... here.
10472 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10473 * sysdeps/alpha/local-soft-fp.h: ... here.
10474 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10475 * sysdeps/alpha/ots_add.c: ... here.
10476 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10477 * sysdeps/alpha/ots_cmp.c: ... here.
10478 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10479 * sysdeps/alpha/ots_cmpe.c: ... here.
10480 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10481 * sysdeps/alpha/ots_cvtqux.c: ... here.
10482 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10483 * sysdeps/alpha/ots_cvtqx.c: ... here.
10484 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10485 * sysdeps/alpha/ots_cvttx.c: ... here.
10486 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10487 * sysdeps/alpha/ots_cvtxq.c: ... here.
10488 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10489 * sysdeps/alpha/ots_cvtxt.c: ... here.
10490 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10491 * sysdeps/alpha/ots_div.c: ... here.
10492 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10493 * sysdeps/alpha/ots_mul.c: ... here.
10494 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10495 * sysdeps/alpha/ots_nintxq.c: ... here.
10496 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10497 * sysdeps/alpha/ots_sub.c: ... here.
10498 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10499 * sysdeps/alpha/sfp-machine.h: ... here.
10500
10501 2018-05-23 Florian Weimer <fweimer@redhat.com>
10502
10503 [BZ #19728]
10504 [BZ #19729]
10505 [BZ #22247]
10506 CVE-2016-6261
10507 CVE-2016-6263
10508 CVE-2017-14062
10509 Switch to extern IDNA implementation (libidn2).
10510 * libidn: Remove subdirectory.
10511 * LICENSES: Do not mention licensing conditions for the removed
10512 libidn code.
10513 * config.h.in (HAVE_LIBIDN): Remove.
10514 * include/dlfcn.h (__libc_dlopen): Update comment.
10515 * include/idna.h: Remove file.
10516 * inet/Makefile (routines): Add idna.
10517 (tests-static, tests-internal): Add tst-idna_name_classify.
10518 (LOCALES): Generate locales for tests.
10519 (tst-idna_name_classify.out): Depend on generated locales.
10520 * inet/idna_name_classify.c: New file.
10521 * inet/tst-idna_name_classify.c: Likewise.
10522 * inet/net-internal.h (__idna_to_dns_encoding)
10523 (__idna_from_dns_encoding): Declare.
10524 * inet/net-internal.h (enum idna_name_classification): Define.
10525 (__idna_name_classify): Declare.
10526 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10527 __idna_from_dns_encoding.
10528 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10529 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10530 name as a fallback in case of encoding errors.
10531 (getnameinfo): Use DEPRECATED_NI_IDN.
10532 * inet/idna.c: New file.
10533 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10534 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10535 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10536 (modules-names): Add tst-no-libidn2.
10537 (extra-test-objs): Add tst-no-libidn2.os.
10538 (LDFLAGS-tst-no-libidn2.so): Set soname.
10539 (LOCALES): Set, and generate locales.
10540 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10541 (tst-resolv-ai_idn-latin1): Likewise.
10542 (tst-resolv-ai_idn-nolibidn2): Likewise.
10543 (tst-resolv-ai_idn.out): Depend on locales.
10544 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10545 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10546 tst-no-libidn2.so.
10547 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10548 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10549 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10550 * resolv/tst-resolv-ai_idn.c: New file.
10551 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10552 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10553 * resolv/tst-no-libidn2.c: Likewise.
10554 * support/support_format_addrinfo.c (format_ai_flags): Do not
10555 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10556 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10557 (gaih_inet): Call __idna_to_dns_encoding and
10558 __idna_from_dns_encoding, and use the original (punycode) name if
10559 __idna_from_dns_encoding fails due to an encoding error.
10560 (getaddrinfo): Use DEPRECATED_AI_IDN.
10561 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10562 * sysdeps/unix/inet/configure: Remove file.
10563 * sysdeps/unix/inet/configure.ac: Likewise.
10564
10565 2018-05-23 Florian Weimer <fweimer@redhat.com>
10566
10567 Implement allocate_once.
10568 * include/allocate_once.h: New file.
10569 * misc/allocate_once.c: Likewise.
10570 * misc/tst-allocate_once.c: Likewise.
10571 * misc/Makefile (routines): Add allocate_once.
10572 (tests-internal): Add tst-allocate_once.
10573 (generated): Add tst-allocate_once.mtrace,
10574 tst-allocate_once-mem.out.
10575 (tests-special): Add tst-allocate_once-mem.out.
10576 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10577 (tst-allocate_once-mem.out): Call mtrace.
10578 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10579
10580 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10581
10582 [BZ #23196]
10583 * string/test-memcpy.c (do_test1): New function.
10584 (test_main): Call it.
10585
10586 2018-05-23 Andreas Schwab <schwab@suse.de>
10587
10588 [BZ #23196]
10589 CVE-2018-11237
10590 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10591 (L(preloop_large)): Save initial destination pointer in %r11 and
10592 use it instead of %rax after the loop.
10593 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10594
10595 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10596
10597 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10598 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10599 -I../soft-fp. Moved from ....
10600 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10601 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10602 * sysdeps/aarch64/e_sqrtl.c: ... here.
10603 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10604 * sysdeps/aarch64/sfp-machine.h: ... here.
10605
10606 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10607 -Wmaybe-uninitialized around access to fq[0].
10608 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10609 Likewise.
10610
10611 [BZ #18471]
10612 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10613 aliases for non-libc case of versioned symbols.
10614 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10615 (llseek): Define as compat symbol if
10616 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10617 with link warning.
10618 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10619 Make into a compat symbol, disabled for minimum symbol version
10620 GLIBC_2.28 and later.
10621 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10622
10623 2018-05-22 Florian Weimer <fweimer@redhat.com>
10624
10625 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10626 not add -mpreferred-stack-boundary=4.
10627 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10628 (stack-align-test-flags): Likewise.
10629 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10630 Likewise.
10631 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10632 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10633 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10634 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10635 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10636 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10637 (CFLAGS-tst-align2.c): Likewise.
10638
10639 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10640
10641 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10642 (index_arch_Prefer_FSRM): Likewise.
10643 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10644 Also check Prefer_FSRM.
10645 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10646 Also return OPTIMIZE (erms) for Prefer_FSRM.
10647
10648 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10649
10650 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10651 (index_cpu_FSRM): Likewise.
10652 (reg_FSRM): Likewise.
10653
10654 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10655
10656 * math/gen-tgmath-tests.py: Import sys.
10657 (Tests.__init__): Initialize macros_seen.
10658 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10659 if requested to do so for this macro.
10660 (Tests.add_all_tests): Take argument for macro for which to
10661 generate tests.
10662 (Tests.check_macro_list): New function.
10663 (main): Handle check-list argument and argument specifying macro
10664 for which to generate tests.
10665 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10666 [PYTHON] (tgmath3-macro-tests): Likewise.
10667 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10668 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10669 not test-tgmath3.c.
10670 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10671 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10672 to CFLAGS.
10673 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10674 [PYTHON] ($(foreach
10675 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10676 rule.
10677 [PYTHON] (tests-special): Add
10678 $(objpfx)test-tgmath3-macro-list.out.
10679 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10680
10681 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10682 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10683 later.
10684
10685 [BZ #22639]
10686 * time/tzset.c (SECSPERDAY): Cast to time_t.
10687 * time/tst-y2039.c: New file.
10688 * time/Makefile (tests): Add tst-y2039.
10689
10690 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10691
10692 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10693 (PREFETCH_ONE_SET): Remove duplicate line.
10694
10695 2018-05-17 Florian Weimer <fweimer@redhat.com>
10696
10697 * sysdeps/generic/math-type-macros-double.h: Include
10698 <math-nan-payload-double.h> after <libm-alias-double.h>.
10699 * sysdeps/generic/math-type-macros-float.h: Include
10700 <math-nan-payload-float.h> after <libm-alias-float.h>.
10701 * sysdeps/generic/math-type-macros-float128.h: Include
10702 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10703 * sysdeps/generic/math-type-macros-ldouble.h: Include
10704 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10705
10706 2018-05-17 Andreas Schwab <schwab@suse.de>
10707
10708 * resolv/res_send.c (__res_context_send): Don't set errno when
10709 returing error after malloc failure.
10710
10711 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10712
10713 * nptl/allocatestack.c (allocate_stack): Remove the
10714 !__ASSUME_PRIVATE_FUTEX paths.
10715 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10716 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10717 Likewise.
10718 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10719 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10720 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10721 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10722 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10723 !__ASSUME_PRIVATE_FUTEX path.
10724 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10725 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10726 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10727 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10728 !__ASSUME_PRIVATE_FUTEX macros.
10729 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10730 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10731 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10732 * sysdeps/unix/sysv/linux/kernel-features.h
10733 (__ASSUME_PRIVATE_FUTEX): Removed.
10734
10735 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10736
10737 * math/Makefile (libm-narrow-fns): Add div.
10738 (libm-test-funcs-narrow): Likewise.
10739 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10740 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10741 * math/gen-auto-libm-tests.c (test_functions): Add div.
10742 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10743 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10744 (NARROW_DIV_TRIVIAL): Likewise.
10745 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10746 macro.
10747 (__ddivl): Likewise.
10748 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10749 ddiv.
10750 (CFLAGS-nldbl-ddiv.c): New variable.
10751 (CFLAGS-nldbl-fdiv.c): Likewise.
10752 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10753 __nldbl_ddivl.
10754 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10755 prototype.
10756 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10757 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10758 * math/auto-libm-test-in: Add tests of div.
10759 * math/auto-libm-test-out-narrow-div: New generated file.
10760 * math/libm-test-narrow-div.inc: New file.
10761 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10762 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10764 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10765 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10766 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10767 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10769 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10770 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10771 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10772 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10773 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10774 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10775 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10776 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10777 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10778 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10780 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10781 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10782 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10783 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10784 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10785 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10786 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10787 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10788 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10789 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10790 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10791 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10792 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10797 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10798 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10799 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10800 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10801 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10802 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10803 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10804 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10805
10806 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10807
10808 [BZ #23178]
10809 * nscd/nscd-client.h (sendfileall): Remove prototype.
10810 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10811 (handle_request): Use writeall instead of sendfileall.
10812 * nscd/aicache.c (addhstaiX): Likewise.
10813 * nscd/grpcache.c (cache_addgr): Likewise.
10814 * nscd/hstcache.c (cache_addhst): Likewise.
10815 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10816 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10817 * nscd/pwdcache.c (cache_addpw): Likewise.
10818 * nscd/servicescache.c (cache_addserv): Likewise.
10819 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10820 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10821 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10822 Remove define.
10823
10824 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10825
10826 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10827 Include <string/strncat.c>.
10828 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10829 alias.
10830 (__GI___strncat): New hidden alias.
10831
10832 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10833
10834 * sysdeps/mips/mips32/libm-test-ulps: Update.
10835 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10836
10837 2018-05-16 Florian Weimer <fweimer@redhat.com>
10838
10839 * support/Makefile (libsupport-routines): Add support_quote_blob,
10840 support_test_compare_blob.
10841 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10842 * support/check.h (TEST_COMPARE_BLOB): Define.
10843 (support_test_compare_blob): Declare.
10844 * support/support.h (support_quote_blob): Declare.
10845 * support/support_quote_blob.c: New file.
10846 * support/support_test_compare_blob.c: Likewise.
10847 * support/tst-support_quote_blob.c: Likewise.
10848 * support/tst-test_compare_blob.c: Likewise.
10849
10850 2018-05-16 Florian Weimer <fweimer@redhat.com>
10851
10852 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10853 of <strtod_nan_double.h>.
10854 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10855 instead of SET_MANTISSA.
10856 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10857 of include <strtod_nan_float.h>.
10858 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10859 instead of <strtod_nan_ldouble.h>.
10860 * stdlib/strtod_nan_double.h: Move to ...
10861 * sysdeps/generic/math-nan-payload-double.h: ... here.
10862 (FLOAT): Remove definition.
10863 (SET_MANTISSA): Rename to ...
10864 (SET_NAN_PAYLOAD): ... this.
10865 * stdlib/strtod_nan_float.h: Move to ...
10866 * sysdeps/generic/math-nan-payload-float.h: ... here.
10867 (FLOAT): Remove definition.
10868 (SET_MANTISSA): Rename to ...
10869 (SET_NAN_PAYLOAD): ... this.
10870 * sysdeps/generic/math-type-macros-double.h: Include
10871 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10872 instead of <math-svid-compat.h>.
10873 * sysdeps/generic/math-type-macros-float.h: Include
10874 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10875 instead of <math-svid-compat.h>.
10876 * sysdeps/generic/math-type-macros-float128.h: Include
10877 <math-nan-payload-float128.h>.
10878 * sysdeps/generic/math-type-macros-ldouble.h: Include
10879 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10880 instead of <math-svid-compat.h>.
10881 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10882 check for definition.
10883 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10884 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10885 Include <ieee754_float128.h>.
10886 (FLOAT): Remove definition.
10887 (SET_MANTISSA): Rename to ...
10888 (SET_NAN_PAYLOAD): ... this.
10889 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10890 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10891 Do not include <float128_private.h>.
10892 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10893 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10894 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10895 (FLOAT): Remove definition.
10896 (SET_MANTISSA): Rename to ...
10897 (SET_NAN_PAYLOAD): ... this.
10898 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10899 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10900 (FLOAT): Remove definition.
10901 (SET_MANTISSA): Rename to ...
10902 (SET_NAN_PAYLOAD): ... this.
10903 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10904 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10905 (FLOAT): Remove definition.
10906 (SET_MANTISSA): Rename to ...
10907 (SET_NAN_PAYLOAD): ... this.
10908 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10909 of "../stdlib/strtod_nan_double.h".
10910 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10911 of "../stdlib/strtod_nan_float.h".
10912 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10913 instead of "../stdlib/strtod_nan_ldouble.h".
10914 * manual/arith.texi (Parsing of Floats): Adjust comment.
10915
10916 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10917
10918 * math/Makefile (libm-narrow-fns): Add mul.
10919 (libm-test-funcs-narrow): Likewise.
10920 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10921 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10922 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10923 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10924 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10925 (NARROW_MUL_TRIVIAL): Likewise.
10926 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10927 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10928 macro.
10929 (__dmull): Likewise.
10930 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10931 dmul.
10932 (CFLAGS-nldbl-dmul.c): New variable.
10933 (CFLAGS-nldbl-fmul.c): Likewise.
10934 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10935 __nldbl_dmull.
10936 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10937 prototype.
10938 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10939 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10940 * math/auto-libm-test-in: Add tests of mul.
10941 * math/auto-libm-test-out-narrow-mul: New generated file.
10942 * math/libm-test-narrow-mul.inc: New file.
10943 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10944 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10945 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10946 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10947 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10948 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10949 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10950 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10951 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10952 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10953 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10954 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10955 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10956 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10957 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10958 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10959 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10960 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10962 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10963 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10964 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10965 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10966 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10967 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10968 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10969 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10970 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10971 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10972 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10973 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10974 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10979 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10980 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10981 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10982 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10983 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10984 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10985 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10986 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10987
10988 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10989
10990 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10991 with *%eax in call.
10992
10993 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10994
10995 * sysdeps/i386/ldsodefs.h: Removed.
10996 * sysdeps/x86_64/ldsodefs.h: Moved to ...
10997 * sysdeps/x86/ldsodefs.h: This.
10998 (La_i86_regs): New.
10999 (La_i86_retval): Likewise.
11000 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11001 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11002
11003 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11004
11005 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11006 unnecessary testl.
11007
11008 2018-05-13 Alan Modra <amodra@gmail.com>
11009
11010 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11011 R_PARISC_TLS_DTPOFF32 reloc addend.
11012
11013 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11014
11015 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11016 * math/math.h: Restrict the prototype definition for the functions
11017 issignaling(_Float128) and iszero(_Float128); and template
11018 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11019 __HAVE_FLOAT128_UNLIKE_LDBL.
11020 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11021 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11022 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11023 __f128() constants; define the type _Float128 as long double;
11024 and reuse long double in __CFLOAT128.
11025
11026 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11027
11028 * sysdeps/generic/math_private.h: Do not include
11029 <math-barriers.h>.
11030 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11031 <math_private.h>.
11032 * math/fromfp.h: Include <math-barriers.h>.
11033 * math/math-narrow.h: Likewise.
11034 * math/s_nextafter.c: Likewise.
11035 * math/s_nexttowardf.c: Likewise.
11036 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11037 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11038 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11039 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11040 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11041 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11042 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11043 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11044 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11045 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11046 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11047 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11048 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11049 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11050 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11051 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11052 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11053 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11054 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11055 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11056 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11057 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11058 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11059 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11060 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11061 * sysdeps/ieee754/k_standardl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11063 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11067 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11078 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11079 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11080 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11081 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11082 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11083 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11084
11085 2018-05-11 Florian Weimer <fweimer@redhat.com>
11086
11087 Use 64-bit epoch values in the time zone file parser.
11088 * include/time.h (internal_time_t): Define.
11089 (__tzfile_compute): Use it.
11090 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11091 member.
11092 (transitions): Switch to internal_time_t.
11093 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11094 types.
11095 (__tzfile_compute): Use internal_time_t for timer argument. Check
11096 for truncation before calling __offtime.
11097
11098 2018-05-11 Florian Weimer <fweimer@redhat.com>
11099
11100 [BZ #23166]
11101 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11102 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11103 Likewise.
11104 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11105 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11106 export without --enable-obsolete-rpc.
11107 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11108 symbol. This should not have been exported, ever.
11109
11110 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11111
11112 [BZ #23152]
11113 * localedata/locales/gd_GB (abmon): Fix typo in May:
11114 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11115
11116 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11117
11118 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11119 Use multiple registers to copy data in loop tail.
11120
11121 * sysdeps/aarch64/multiarch/memmove_falkor.S
11122 (__memmove_falkor): Use multiple registers to move data in
11123 loop tail.
11124
11125 2018-05-10 Joseph Myers <joseph@codesourcery.com>
11126
11127 * math/math-underflow.h: New file.
11128 * sysdeps/generic/math_private.h: Do not include <float.h>.
11129 (fabs_tg): Remove macro. Moved to math-underflow.h.
11130 (min_of_type_f): Likewise.
11131 (min_of_type_): Likewise.
11132 (min_of_type_l): Likewise.
11133 (min_of_type_f128): Likewise.
11134 (min_of_type): Likewise.
11135 (math_check_force_underflow): Likewise.
11136 (math_check_force_underflow_nonneg): Likewise.
11137 (math_check_force_underflow_complex): Likewise.
11138 * math/e_exp2_template.c: Include <math-underflow.h>.
11139 * math/k_casinh_template.c: Likewise.
11140 * math/s_catan_template.c: Likewise.
11141 * math/s_catanh_template.c: Likewise.
11142 * math/s_ccosh_template.c: Likewise.
11143 * math/s_cexp_template.c: Likewise.
11144 * math/s_clog10_template.c: Likewise.
11145 * math/s_clog_template.c: Likewise.
11146 * math/s_csin_template.c: Likewise.
11147 * math/s_csinh_template.c: Likewise.
11148 * math/s_csqrt_template.c: Likewise.
11149 * math/s_ctan_template.c: Likewise.
11150 * math/s_ctanh_template.c: Likewise.
11151 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11152 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11153 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11154 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11155 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11156 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11157 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11158 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11159 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11160 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11161 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11162 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11163 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11164 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11165 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11166 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11167 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11168 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11169 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11170 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11171 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11172 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11173 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11174 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11175 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11176 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11177 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11178 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11179 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11180 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11181 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11182 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11183 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11185 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11186 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11187 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11188 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11189 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11190 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11191 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11192 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11193 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11194 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11197 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11198 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11199 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11200 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11201 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11202 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11203 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11204 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11206 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11209 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11211 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11213 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11214 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11215 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11216 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11217 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11218 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11219 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11220 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11221 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11222 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11223 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11224 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11225 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11226 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11227 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11228 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11229 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11230 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11231 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11232 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11233 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11234 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11235
11236 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11237
11238 * sysdeps/generic/math-barriers.h: New file.
11239 * sysdeps/generic/math_private.h [!math_opt_barrier]
11240 (math_opt_barrier): Move to math-barriers.h.
11241 [!math_opt_barrier] (math_force_eval): Likewise.
11242 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11243 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11244 math-barriers.h.
11245 (math_force_eval): Likewise.
11246 * sysdeps/alpha/fpu/math-barriers.h: New file.
11247 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11248 math-barriers.h.
11249 (math_force_eval): Likewise.
11250 * sysdeps/x86/fpu/math-barriers.h: New file.
11251 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11252 math-barriers.h.
11253 (math_force_eval): Likewise.
11254 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11255 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11256 multiple-include guard for rename.
11257 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11258 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11259 math-barriers.h.
11260 (math_force_eval): Likewise.
11261
11262 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11263
11264 [BZ #22786]
11265 CVE-2018-11236
11266 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11267 computation.
11268 * stdlib/Makefile (test-bz22786): New test.
11269 * stdlib/test-bz22786.c: New test.
11270
11271 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11272
11273 * include/math-narrow-eval.h: New file. Contents moved from ....
11274 * sysdeps/generic/math_private.h: ... here.
11275 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11276 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11277 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11278 * stdlib/strtod_l.c: Likewise.
11279 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11280 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11281 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11282 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11283 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11284 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11285 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11286 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11287 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11288 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11289 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11290 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11291 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11292 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11293 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11294 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11295 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11296 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11297 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11298 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11299 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11300 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11301 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11302 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11303 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11304 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11305 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11306 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11307 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11308
11309 2018-05-08 Andreas Schwab <schwab@suse.de>
11310
11311 * sysdeps/nptl/internaltypes.h: Fix comment.
11312
11313 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11314
11315 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11316 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11317 hidden.
11318
11319 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11320
11321 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11322 of I into loop header.
11323 * benchtests/bench-memmove-walk.c
11324 (test_main): Likewise.
11325
11326 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11327
11328 Revert:
11329 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11330 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11331
11332 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11333
11334 [BZ #20419]
11335 * elf/dl-load.c (open_verify): Fix stack overflow.
11336 * elf/Makefile (tst-big-note): New test.
11337 * elf/tst-big-note-lib.S: New.
11338 * elf/tst-big-note.c: New.
11339
11340 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11341
11342 * scripts/abilist.awk: Ignore absolute symbols.
11343 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11344 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11345 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11346 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11347 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11348 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11349 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11350 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11351 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11352 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11353 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11354 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11355 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11356 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11357 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11358 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11359 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11360 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11361 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11362 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11363 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11364 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11365 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11366 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11367 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11368 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11369 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11370 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11371 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11372 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11373 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11374 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11375 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11376 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11377 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11378 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11379 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11380 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11381 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11382 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11383 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11384 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11385 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11386 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11387 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11388 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11389 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11390 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11391 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11392 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11393 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11394 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11395 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11396 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11397 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11398 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11399 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11400 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11401 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11402 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11403 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11404 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11405 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11406 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11407 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11408 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11409 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11410 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11411 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11412 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11413 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11414 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11415 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11416 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11417 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11418 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11419 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11420 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11421 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11422 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11423 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11424 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11425 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11426 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11427 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11428 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11429 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11430 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11431 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11432 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11433 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11434 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11435 Likewise.
11436 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11437 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11438 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11439 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11440 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11441 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11442 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11443 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11444 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11445 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11446 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11447 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11448 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11449 Likewise.
11450 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11451 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11452 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11453 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11454 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11455 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11456 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11457 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11458 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11459 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11460 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11461 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11462 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11463 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11464 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11465 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11466 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11467 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11468 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11469 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11470 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11471 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11472 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11473 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11474 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11475 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11476 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11477 Likewise.
11478 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11479 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11480 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11481 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11482 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11483 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11484 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11485 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11486 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11487 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11488 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11489 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11490 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11491 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11492 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11493 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11494 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11495 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11496 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11497 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11498 Likewise.
11499 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11500 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11501 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11502 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11503 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11504 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11505 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11506 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11507 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11508 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11509 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11510 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11511 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11512 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11513 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11514 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11515 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11516 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11517 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11518 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11519 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11520 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11521 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11522 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11523 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11524 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11525 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11526 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11531 Likewise.
11532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11537 Likewise.
11538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11539 Likewise.
11540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11542 Likewise.
11543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11545 Likewise.
11546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11547 Likewise.
11548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11551 Likewise.
11552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11553 Likewise.
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11555 Likewise.
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11560 Likewise.
11561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11567 Likewise.
11568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11570 Likewise.
11571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11572 Likewise.
11573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11574 Likewise.
11575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11576 Likewise.
11577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11580 Likewise.
11581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11582 Likewise.
11583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11584 Likewise.
11585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11586 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11587 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11588 Likewise.
11589 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11590 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11591 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11592 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11593 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11594 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11595 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11596 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11597 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11598 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11599 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11600 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11601 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11602 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11603 Likewise.
11604 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11605 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11606 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11607 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11608 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11609 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11610 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11611 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11612 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11613 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11614 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11615 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11616 Likewise.
11617 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11618 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11619 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11620 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11621 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11622 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11623 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11624 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11625 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11626 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11627 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11628 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11629 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11630 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11631 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11632 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11633 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11634 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11635 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11636 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11637 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11638 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11639 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11640 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11641 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11642 Likewise.
11643 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11644 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11645 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11646 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11647 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11648 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11649 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11650 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11651 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11652 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11653 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11654 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11655 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11656 Likewise.
11657 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11658 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11659 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11660 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11661 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11662 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11663 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11664 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11665 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11666 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11667 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11668 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11669 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11670 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11671 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11672 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11673 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11674 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11675 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11676 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11677 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11678 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11679 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11680 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11681 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11682 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11683 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11684 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11685 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11686 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11687 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11688 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11689 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11690 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11691 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11692 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11693 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11694 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11695
11696 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11697
11698 [BZ #23137]
11699 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11700 Use atomic_load_acquire to load __tid.
11701
11702 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11703
11704 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11705 Restore the pointer into %rdx, after syscall and use %rdx,
11706 instead of %rsi, to restore context.
11707
11708 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11709
11710 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11711 Pop the pointer into %rdx after syscall and use %rdx, instead
11712 of %rsi, to restore context.
11713
11714 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11715
11716 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11717 handlers after setjmp.
11718 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11719 defined.
11720 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11721 <libc-pointer-arith.h>.
11722 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11723 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11724 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11725 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11726 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11727 * sysdeps/x86/__longjmp_cancel.S: New file.
11728 * sysdeps/x86/longjmp.c: Likewise.
11729 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11730
11731 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11732
11733 * NEWS: Add ustat.h deprecation entry.
11734 * bits/ustat.h: Remove file.
11735 * misc/sys/ustat.h: Likewise.
11736 * misc/ustat.h: Likewise.
11737 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11738 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11739 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11740 compatibility mode.
11741 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11742 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11743 generic Linux implementation.
11744
11745 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11746
11747 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11748 * math/w_expl_compat.c: Likewise.
11749 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11750
11751 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11752
11753 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11754
11755 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11756
11757 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11758 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11759 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11760 Remove.
11761 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11763 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11764 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11765 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11766 and SYSCALL_LL64.
11767
11768 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11769
11770 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11771
11772 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11773 * math/w_asin_template.c: Likewise.
11774 * math/w_atanh_template.c: Likewise.
11775
11776 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11777
11778 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11779 to powerpc/powerpc64/be for big-endian.
11780 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11781 little-endian.
11782
11783 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11784 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11785 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11786 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11787 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11788 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11789 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11790 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11791 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11792 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11793 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11794 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11795 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11796 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11797 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11798 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11799 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11800 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11801 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11802 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11803 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11804 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11805 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11806 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11807 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11808 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11809 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11810 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11811 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11812 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11813 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11814 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11815
11816 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11817 adjusted to imply powerpc64 and older processors on powerpc64/be.
11818 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11819 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11820 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11821 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11822 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11823 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11824 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11825 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11826 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11827 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11828 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11829 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11830 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11831 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11832 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11833 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11834 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11835 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11836 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11837 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11838 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11839 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11840 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11841 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11842 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11843 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11844 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11845 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11846 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11847 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11848 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11849
11850 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11851 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11852 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11853 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11854
11855 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11856 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11857 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11858 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11859
11860 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11861 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11862 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11863 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11864 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11865 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11866 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11867 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11868 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11869 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11870 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11871
11872 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11873 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11874 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11875 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11876 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11877 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11878 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11879 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11880 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11881 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11882 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11883
11884 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11885 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11886 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11887 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11888 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11889 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11890 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11891 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11892 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11893 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11894 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11895 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11896
11897 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11898 and adjusted to imply olders processors.
11899 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11900 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11901 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11902 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11903 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11904 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11905 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11906 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11907 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11908 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11909 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11910
11911 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11912 powerpc64/le.
11913 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11914 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11915
11916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11917 powerpc64le.
11918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11920
11921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11922 powerpc64/be.
11923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11926
11927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11928 powerpc64 and adjusted.
11929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11932 Likewise.
11933
11934 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11935
11936 * sysdeps/tile: Remove.
11937 * sysdeps/unix/sysv/linux/tile: Likewise.
11938 * README (tilegx-*-linux-gnu): Remove from list of supported
11939 configurations.
11940 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11941 contribution of support for generic Linux kernel syscall
11942 interface.
11943 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11944 tilegx configurations.
11945 (Config.install_linux_headers): Do not handle tile.
11946 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11947 in comment.
11948 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11949 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11950 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11951 conditional undefine and redefine.
11952 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11953 in comment.
11954 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11955 conditional undefine and redefine.
11956
11957 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11958
11959 * signal/tst-sigaction.c: New file to test BZ #23069.
11960 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11961
11962 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11963
11964 [BZ #22766]
11965 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11966 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11967 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11968 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11969
11970 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11971
11972 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11973 _DIRENT_MATCHES_DIRENT64 is not defined.
11974 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11975 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11976 is defined.
11977 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11978 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11979
11980 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11981
11982 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11983 version to GCC 8 branch.
11984
11985 2018-04-24 Joseph Myers <joseph@codesourcery.com>
11986
11987 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
11988 (check_no_hidden): Use type of original function when declaring
11989 alias.
11990
11991 * sysdeps/unix/sysv/linux/sys/ptrace.h
11992 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
11993 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
11994 (struct __ptrace_seccomp_metadata): New type.
11995 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11996 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11997 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
11998 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11999 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12000 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12001 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12002 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12003 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12004 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12005 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12006 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12007 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12008 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12009 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12010 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12011
12012 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12013
12014 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12015 defined.
12016 * dirent/versionsort.c (versionsort): Likewise.
12017 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12018 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12019 * dirent/versionsort64.c (versionsort64): Likewise.
12020 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12021 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12022 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12023 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12024 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12025 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12026 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12027 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12028 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12029 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12032 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12033 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12034
12035 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12036
12037 * elf/elf.h (NT_PPC_PKEY): New macro.
12038
12039 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12040
12041 [BZ #23094]
12042 * localedata/locales/hr_HR: fix thousands_sep and
12043 mon_thousands_sep
12044
12045 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12046
12047 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12048 (XTABS): Define to TAB3.
12049
12050 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12051
12052 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12053
12054 * dirent/scandir-tail-common.c: New file.
12055 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12056 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12057 * dirent/scandir.c: Use scandir-tail-common.c.
12058 * dirent/scandirat.c: Likewise.
12059 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12060 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12061 if _DIRENT_MATCHES_DIRENT64 is defined.
12062 * dirent/scandirat64.c (scandirat64): Likewise.
12063 * include/dirent.h (__scandir_tail): Only define iff
12064 _DIRENT_MATCHES_DIRENT64 is not defined.
12065 (__scandir64_tail): Define regardless.
12066 (__scandirat, scandirat64): Remove libc_hidden_proto.
12067 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12068 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12070 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12071 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12072 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12073 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12074
12075 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12076
12077 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12078 New macro.
12079 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12080 Increase to 24.
12081 (_dl_aarch64_cap_flags): Add asimdfhm.
12082
12083 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12084
12085 * sysdeps/nios2/libm-test-ulps: Update.
12086
12087 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12088
12089 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12090 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12091
12092 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12093 requirements.
12094 (_DIRENT_MATCHES_DIRENT64): Undef
12095 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12096 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12097 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12098 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12099 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12100 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12101 use getdents64 syscalls as base.
12102 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12103 symbol if required.
12104 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12105 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12106 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12107 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12108 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12109 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12110 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12111 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12112 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12113 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12114 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12115
12116 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12117
12118 * scripts/test_printers_common.py (init_test): Disable lock elision.
12119
12120 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12121
12122 * math/test-tgmath.c (count_double, count_float,
12123 count_ldouble, count_cdouble, count_cfloat,
12124 count_cldouble): Use volatile int.
12125
12126 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12127
12128 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12129 (conformtest-xfail-conds): Add i386-gnu.
12130 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
12131 i386-gnu.
12132 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12133 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12134 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12135 msqid_ds.msg_lrpid): Likewise.
12136 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12137 Likewise.
12138 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12139 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12140 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12141 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12142 unsigned int.
12143 (struct statvfs64): Likewise.
12144 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12145 Likewise.
12146 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12147 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12148 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12149 instead of wait_queue.
12150 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12151 instead of vm_area_struct.
12152 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12153 struct sched_param definition to it.
12154 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12155 * bits/types/struct_sched_param.h: New file.
12156 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12157 <bits/types/struct_sched_param.h> instead of <sched.h>.
12158 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
12159 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12160 generic version but include <bits/pthreadtypes.h> to make struct
12161 sigevent's sigev_notify_attributes field a pthread_attr_t*.
12162 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12163 non-compliant.
12164 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12165 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12166 [__USE_XOPEN] (OFDEL): New macro.
12167 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
12168 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
12169 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12170 prototypes.
12171 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12172 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
12173 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12174 non-compliant.
12175 * sysdeps/i386/sys/ucontext.h: Likewise.
12176 * sysdeps/m68k/sys/ucontext.h: Likewise.
12177 * sysdeps/mips/sys/ucontext.h: Likewise.
12178 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
12179 * sysdeps/mach/hurd/i386/Makefile
12180 (test-xfail-POSIX/fcntl.h/conform): Add.
12181 (test-xfail-POSIX/signal.h/conform): Add.
12182 (test-xfail-POSIX/semaphore.h/conform): Add.
12183 (test-xfail-POSIX/regex.h/conform): Add.
12184 (test-xfail-POSIX/aio.h/conform): Add.
12185 (test-xfail-POSIX/mqueue.h/conform): Add.
12186 (test-xfail-POSIX/sys/types.h/conform): Add.
12187 (test-xfail-UNIX98/fcntl.h/conform): Add.
12188 (test-xfail-UNIX98/netdb.h/conform): Add.
12189 (test-xfail-UNIX98/signal.h/conform): Add.
12190 (test-xfail-UNIX98/semaphore.h/conform): Add.
12191 (test-xfail-UNIX98/regex.h/conform): Add.
12192 (test-xfail-UNIX98/aio.h/conform): Add.
12193 (test-xfail-UNIX98/ftw.h/conform): Add.
12194 (test-xfail-UNIX98/mqueue.h/conform): Add.
12195 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12196 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12197 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12198 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12199 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12200 (test-xfail-UNIX98/sys/types.h/conform): Add.
12201 (test-xfail-UNIX98/stdlib.h/conform): Add.
12202 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12203 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12204 (test-xfail-POSIX2008/netdb.h/conform): Add.
12205 (test-xfail-POSIX2008/signal.h/conform): Add.
12206 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12207 (test-xfail-POSIX2008/regex.h/conform): Add.
12208 (test-xfail-POSIX2008/aio.h/conform): Add.
12209 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12210 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12211 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12212 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12213 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12214 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12215 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12216 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12217 (test-xfail-XOPEN2K/signal.h/conform): Add.
12218 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12219 (test-xfail-XOPEN2K/regex.h/conform): Add.
12220 (test-xfail-XOPEN2K/aio.h/conform): Add.
12221 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12222 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12223 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12224 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12225 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12226 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12227 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12228 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12229 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12230 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12231 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12232 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12233 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12234 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12235 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12236 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12237 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12238 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12239 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12240 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12241 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12242 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12243 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12244 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12245 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12246 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12247 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12248 i386-gnu.
12249 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12250 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12251
12252 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12253
12254 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12255 --enable-obsolete for powerpc-linux-gnuspe.
12256
12257 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12258
12259 * conform/data/sys/un.h-data: Allow sun_ prefix.
12260 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12261 prototypes.
12262 * sysdeps/mach/include/mach.h: Likewise.
12263 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12264 * sysdeps/mach/include/mach_error.h: Likewise.
12265
12266 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12267
12268 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12269 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12270 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12271 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12272
12273 2018-04-16 Andreas Schwab <schwab@suse.de>
12274
12275 [BZ #19527]
12276 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12277
12278 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12279
12280 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12281 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12282
12283 2018-04-12 DJ Delorie <dj@redhat.com>
12284
12285 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12286 version to 4.16.
12287
12288 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12289
12290 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12291 (struct kernel_sigaction): Use the same definition on 31bit as is used
12292 on 64bit.
12293
12294 2018-04-09 Florian Weimer <fweimer@redhat.com>
12295
12296 [BZ #23037]
12297 * resolv/res_send.c (send_dg): Use designated initializers instead
12298 of assignment to zero-initialize other fields of struct mmsghdr.
12299
12300 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12301
12302 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12303 __READDIR_ALIAS): Undefine after usage.
12304 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12305 __READDIR_R_ALIAS): Likewise.
12306 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12307 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12308 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12309 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12310 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12311 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12312 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12313 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12314 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12315 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12316 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12317 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12318 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12319 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12320 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12321 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12322 * sysdeps/unix/sysv/linux/readdir.c: New file.
12323 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12324 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12325 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12326
12327 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12328
12329 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12330
12331 * manual/charset.texi (Converting a Character): Fix typo.
12332
12333 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12334
12335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12336
12337 * sysdeps/arm/libm-test-ulps: Update.
12338
12339 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12340 as base implementation.
12341 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12342 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12343 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12344 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12345 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12346 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12347 remove unrequired definitions and update comments.
12348 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12349 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12350 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12351 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12352 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12353 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12354 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12355 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12356 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12357 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12358 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12359 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12360 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12361 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12362 and RESET_SA_RESTORER hooks.
12363
12364 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12365
12366 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12367
12368 2018-04-05 Florian Weimer <fweimer@redhat.com>
12369
12370 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12371 integer overflow, memory leak on error, and indeterminate errno
12372 value. Add a null wide character to terminate the result string.
12373 * manual/charset.texi (Converting a Character): Mention embedded
12374 null bytes in the mbrtowc input string. Explain what happens in
12375 the -2 result case. Do not claim that mbrtowc is simple or
12376 obvious to use. Adjust the description of the code example. Use
12377 @code, not @var, for concrete variables.
12378
12379 2018-04-05 Florian Weimer <fweimer@redhat.com>
12380
12381 * manual/examples/mbstouwcs.c: New file.
12382 * manual/charset.texi (Converting a Character): Include it.
12383
12384 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12385
12386 * include/dirent.h (dirfd): Add hidden proto.
12387 * dirent/dirfd.c (dirfd): Add hidden def.
12388 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12389 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12390
12391 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12392
12393 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12394 sin, cos and sincos to 1 ULP.
12395
12396 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12397
12398 [BZ #19818]
12399 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12400 symbols.
12401 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12402 * elf/tst-absolute-sym.c: New file.
12403 * elf/tst-absolute-sym-lib.c: New file.
12404 * elf/tst-absolute-sym-lib.lds: New file.
12405 * elf/Makefile (tests): Add `tst-absolute-sym'.
12406 (modules-names): Add `tst-absolute-sym-lib'.
12407 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12408 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12409 ($(objpfx)tst-absolute-sym): New dependency.
12410
12411 [BZ #19818]
12412 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12413 parameter.
12414 (SYMBOL_ADDRESS): New macro.
12415 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12416 SYMBOL_ADDRESS for symbol address calculation.
12417 * elf/dl-runtime.c (_dl_fixup): Likewise.
12418 (_dl_profile_fixup): Likewise.
12419 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12420 * elf/rtld.c (dl_main): Likewise.
12421 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12422 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12423 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12424 (elf_machine_rela): Likewise.
12425 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12426 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12427 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12428 (elf_machine_rela): Likewise.
12429 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12430 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12431 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12432 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12433 Likewise.
12434 (elf_machine_reloc): Likewise.
12435 (elf_machine_got_rel): Likewise.
12436 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12437 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12438 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12439 Likewise.
12440 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12441 Likewise.
12442 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12443 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12444 Likewise.
12445 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12446 Likewise.
12447 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12448 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12449 Likewise.
12450 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12451 Likewise.
12452 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12453 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12454
12455 2018-04-04 Zack Weinberg <zackw@panix.com>
12456
12457 * sysdeps/generic/internal-signals.h: Include signal.h,
12458 sigsetops.h, and stdbool.h.
12459 (__libc_signal_block_all): Actually block all signals.
12460 (__libc_signal_block_app): Likewise.
12461 (__libc_signal_restore_set): Actually restore the signal mask.
12462
12463 2018-04-04 Florian Weimer <fweimer@redhat.com>
12464
12465 inet: Actually build and run tst-deadline.
12466 * inet/Makefile (tests-internal): Add tst-deadline and do not
12467 overwrite the variable.
12468 (tests-static-internal): Remove variable.
12469
12470 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12471
12472 [BZ #22947]
12473 * bits/uio-ext.h (RWF_APPEND): New.
12474 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12475 * manual/llio.texi: Document RWF_APPEND.
12476 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12477 (RWF_SUPPORTED): Add RWF_APPEND.
12478
12479 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12480
12481 [BZ #22391]
12482 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12483 check for internal nptl signals.
12484 * nptl/sigaction.c (__sigaction): Likewise.
12485 * signal/sigaddset.c (sigaddset): Likewise.
12486 * signal/sigdelset.c (sigdelset): Likewise.
12487 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12488 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12489 value.
12490 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12491 to filter out internal nptl signals.
12492 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12493 also check realtime signals using standard macros.
12494 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12495 __is_internal_signal, __libc_signal_block_all,
12496 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12497 * sysdeps/nptl/sigfillset.c: Remove file.
12498 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12499 Change return to bool.
12500 (__clear_internal_signals): Remove SIGTIMER clean since it is
12501 equal to SIGCANEL on Linux.
12502 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12503 signal set was constructed using standard functions.
12504
12505 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12506
12507 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12508 ifname is too long.
12509 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12510 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12511 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12512 hidden def.
12513 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12514 * signal/sigaddset.c: Include <sigsetopts.h>.
12515 * signal/sigdelset.c: Likewise.
12516
12517 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12518
12519 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12520 (__cos): Likewise.
12521 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12522 logic as sin and cos.
12523
12524 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12525
12526 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12527 inputs. Return correct sign.
12528 (do_sincos): Remove small input check before do_sin, let do_sin set
12529 the sign.
12530 (__sin): Likewise.
12531 (__cos): Likewise.
12532
12533 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12534
12535 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12536 (do_cos_slow): Likewise.
12537 (do_sin_slow): Likewise.
12538 (reduce_and_compute): Likewise.
12539 (slow): Likewise.
12540 (slow1): Likewise.
12541 (slow2): Likewise.
12542 (sloww): Likewise.
12543 (sloww1): Likewise.
12544 (sloww2): Likewise.
12545 (bslow): Likewise.
12546 (bslow1): Likewise.
12547 (bslow2): Likewise.
12548 (cslow2): Likewise.
12549
12550 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12551
12552 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12553 (do_cos): Remove corp parameter and calculations.
12554 (do_sin): Likewise.
12555 (do_sincos): Remove cor variable.
12556 (__sin): Use do_sincos for huge inputs.
12557 (__cos): Likewise.
12558 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12559 (reduce_and_compute_sincos): Remove unused function.
12560
12561 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12562
12563 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12564 reduce_sincos, improve accuracy to 136 bits.
12565 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12566 (__sin): Use improved reduction and simplified do_sincos calculation.
12567 (__cos): Likewise.
12568 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12569
12570 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12571
12572 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12573 (do_sincos_2): Likewise.
12574 (__sin): Remove middle range reduction case.
12575 (__cos): Likewise.
12576 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12577 reduction case.
12578
12579 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12580
12581 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12582 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12583 inputs.
12584 (__cos): Likewise.
12585 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12586
12587 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12588
12589 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12590 version to 4.16
12591
12592 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12593
12594 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12595 Remove definitions.
12596 (opendir_oflags): Use O_DIRECTORY regardless.
12597 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12598 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12599
12600 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12601
12602 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12603 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12604 macros.
12605 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12606 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12607 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12608 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12609 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12610 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12611
12612 * htl/Makefile: Bump licence to LGPL 2.1+.
12613 * htl/alloca_cutoff.c: Likewise.
12614 * htl/cthreads-compat.c: Likewise.
12615 * htl/lockfile.c: Likewise.
12616 * htl/pt-alloc.c: Likewise.
12617 * htl/pt-cancel.c: Likewise.
12618 * htl/pt-cleanup.c: Likewise.
12619 * htl/pt-create.c: Likewise.
12620 * htl/pt-dealloc.c: Likewise.
12621 * htl/pt-detach.c: Likewise.
12622 * htl/pt-exit.c: Likewise.
12623 * htl/pt-getattr.c: Likewise.
12624 * htl/pt-initialize.c: Likewise.
12625 * htl/pt-internal.h: Likewise.
12626 * htl/pt-join.c: Likewise.
12627 * htl/pt-self.c: Likewise.
12628 * htl/pt-setcancelstate.c: Likewise.
12629 * htl/pt-setcanceltype.c: Likewise.
12630 * htl/pt-sigmask.c: Likewise.
12631 * htl/pt-spin-inlines.c: Likewise.
12632 * htl/pt-testcancel.c: Likewise.
12633 * htl/pt-yield.c: Likewise.
12634 * htl/tests/test-1.c: Likewise.
12635 * htl/tests/test-10.c: Likewise.
12636 * htl/tests/test-11.c: Likewise.
12637 * htl/tests/test-12.c: Likewise.
12638 * htl/tests/test-13.c: Likewise.
12639 * htl/tests/test-14.c: Likewise.
12640 * htl/tests/test-15.c: Likewise.
12641 * htl/tests/test-16.c: Likewise.
12642 * htl/tests/test-17.c: Likewise.
12643 * htl/tests/test-2.c: Likewise.
12644 * htl/tests/test-3.c: Likewise.
12645 * htl/tests/test-4.c: Likewise.
12646 * htl/tests/test-5.c: Likewise.
12647 * htl/tests/test-6.c: Likewise.
12648 * htl/tests/test-7.c: Likewise.
12649 * htl/tests/test-8.c: Likewise.
12650 * htl/tests/test-9.c: Likewise.
12651 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12652 * sysdeps/htl/bits/cancelation.h: Likewise.
12653 * sysdeps/htl/bits/pthread-np.h: Likewise.
12654 * sysdeps/htl/bits/pthread.h: Likewise.
12655 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12656 * sysdeps/htl/bits/semaphore.h: Likewise.
12657 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12658 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12659 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12660 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12661 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12662 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12663 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12664 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12665 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12666 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12667 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12668 * sysdeps/htl/old_pt-atfork.c: Likewise.
12669 * sysdeps/htl/pt-atfork.c: Likewise.
12670 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12671 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12672 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12673 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12674 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12675 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12676 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12677 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12678 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12679 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12680 * sysdeps/htl/pt-attr-init.c: Likewise.
12681 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12682 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12683 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12684 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12685 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12686 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12687 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12688 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12689 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12690 * sysdeps/htl/pt-attr.c: Likewise.
12691 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12692 * sysdeps/htl/pt-barrier-init.c: Likewise.
12693 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12694 * sysdeps/htl/pt-barrier.c: Likewise.
12695 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12696 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12697 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12698 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12699 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12700 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12701 * sysdeps/htl/pt-cond-init.c: Likewise.
12702 * sysdeps/htl/pt-cond-signal.c: Likewise.
12703 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12704 * sysdeps/htl/pt-cond-wait.c: Likewise.
12705 * sysdeps/htl/pt-cond.c: Likewise.
12706 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12707 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12708 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12709 * sysdeps/htl/pt-condattr-init.c: Likewise.
12710 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12711 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12712 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12713 * sysdeps/htl/pt-equal.c: Likewise.
12714 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12715 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12716 * sysdeps/htl/pt-getschedparam.c: Likewise.
12717 * sysdeps/htl/pt-getspecific.c: Likewise.
12718 * sysdeps/htl/pt-init-specific.c: Likewise.
12719 * sysdeps/htl/pt-key-create.c: Likewise.
12720 * sysdeps/htl/pt-key-delete.c: Likewise.
12721 * sysdeps/htl/pt-key.h: Likewise.
12722 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12723 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12724 * sysdeps/htl/pt-mutex-init.c: Likewise.
12725 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12726 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12727 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12728 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12729 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12730 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12731 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12732 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12733 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12734 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12735 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12736 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12737 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12738 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12739 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12740 * sysdeps/htl/pt-mutexattr.c: Likewise.
12741 * sysdeps/htl/pt-once.c: Likewise.
12742 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12743 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12744 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12745 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12746 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12747 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12748 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12749 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12750 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12751 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12752 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12753 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12754 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12755 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12756 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12757 * sysdeps/htl/pt-setschedparam.c: Likewise.
12758 * sysdeps/htl/pt-setschedprio.c: Likewise.
12759 * sysdeps/htl/pt-setspecific.c: Likewise.
12760 * sysdeps/htl/pt-spin.c: Likewise.
12761 * sysdeps/htl/pt-startup.c: Likewise.
12762 * sysdeps/htl/pthread.h: Likewise.
12763 * sysdeps/htl/sem-close.c: Likewise.
12764 * sysdeps/htl/sem-destroy.c: Likewise.
12765 * sysdeps/htl/sem-getvalue.c: Likewise.
12766 * sysdeps/htl/sem-init.c: Likewise.
12767 * sysdeps/htl/sem-open.c: Likewise.
12768 * sysdeps/htl/sem-post.c: Likewise.
12769 * sysdeps/htl/sem-timedwait.c: Likewise.
12770 * sysdeps/htl/sem-trywait.c: Likewise.
12771 * sysdeps/htl/sem-unlink.c: Likewise.
12772 * sysdeps/htl/sem-wait.c: Likewise.
12773 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12774 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12775 * sysdeps/mach/htl/pt-block.c: Likewise.
12776 * sysdeps/mach/htl/pt-spin.c: Likewise.
12777 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12778 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12779 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12780 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12781 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12782 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12783 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12784 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12785 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12786 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12787 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12788 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12789 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12790 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12791 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12792 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12793 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12794 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12795 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12796 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12797 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12798 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12799 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12800 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12801 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12802 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12803 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12804 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12805 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12806 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12807 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12808 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12809 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12810 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12811 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12812 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12813 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12814 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12815 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12816 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12817 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12818 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12819 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12820
12821 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12822 * README: Remove the mention of out-of-tree patches needed for
12823 GNU/Hurd.
12824
12825 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12826 (UTIME_NOW, UTIME_OMIT): Define macros.
12827
12828 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12829 instead of pthread_detach.
12830 (__cthread_fork): Call __pthread_create instead of pthread_create.
12831 (__cthread_keycreate): Call __pthread_key_create instead of
12832 pthread_key_create.
12833 (__cthread_getspecific): Call __pthread_getspecific instead of
12834 pthread_getspecific.
12835 (__cthread_setspecific): Call __pthread_setspecific instead of
12836 pthread_setspecific.
12837 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12838 __pthread_mutex_unlock instead of pthread_mutex_lock and
12839 pthread_mutex_unlock.
12840 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12841 ___pthread_get_cleanup_stack.
12842 (__pthread_get_cleanup_stack): New strong alias.
12843 * htl/pt-create.c: Include <pthreadP.h>.
12844 (entry_point): Call __pthread_exit instead of pthread_exit.
12845 (pthread_create): Rename to __pthread_create.
12846 (pthread_create): New strong alias.
12847 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12848 (pthread_detach): New strong alias.
12849 (__pthread_detach): Call __pthread_cond_broadcast instead of
12850 pthread_cond_broadcast.
12851 * htl/pt-exit.c: Include <pthreadP.h>.
12852 (__pthread_exit): Call __pthread_setcancelstate and
12853 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12854 __pthread_get_cleanup_stack.
12855 * htl/pt-testcancel.c: Include <pthreadP.h>.
12856 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12857 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12858 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12859 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12860 pthread_attr_getstacksize.
12861 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12862 Rename to __pthread_attr_getstackaddr.
12863 (pthread_attr_getstackaddr): New strong alias.
12864 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12865 Rename to __pthread_attr_getstacksize.
12866 (pthread_attr_getstacksize): New strong alias.
12867 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12868 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12869 (pthread_attr_setstack): New strong alias.
12870 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12871 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12872 pthread_attr_getstacksize, pthread_attr_setstacksize and
12873 pthread_attr_setstackaddr.
12874 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12875 Rename to __pthread_attr_setstackaddr.
12876 (pthread_attr_setstackaddr): New strong alias.
12877 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12878 Rename to __pthread_attr_setstacksize.
12879 (pthread_attr_setstacksize): New strong alias.
12880 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12881 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12882 pthread_exit.
12883 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12884 (__pthread_key_create): New hidden def.
12885 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12886 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12887 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12888 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12889 __pthread_setspecific, __pthread_setcancelstate,
12890 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12891 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12892 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12893 declarations.
12894 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12895 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12896 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12897 (pthread_attr_setstackaddr): New strong alias.
12898 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12899 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12900 (pthread_attr_setstacksize): New strong alias.
12901 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12902 (call_exit): Call __pthread_exit instead of pthread_exit.
12903 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12904 (_pthread_mutex_init): New hidden definition.
12905 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12906 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12907 instead of pthread_attr_init and pthread_attr_setstack.
12908
12909 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12910 __vm_deallocate instead of vm_allocate and vm_deallocate.
12911 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12912 setenv.
12913 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12914 of geteuid.
12915 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12916 strdup.
12917 * hurd/siginfo.c: Include <libioP.h>.
12918 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12919 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12920 munmap.
12921 * mach/devstream.c: Include <libioP.h>.
12922 (dealloc_ref): Call __mach_port_deallocate instead of
12923 mach_port_deallocate.
12924 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12925 Call __mach_port_deallocate instead of mach_port_deallocate.
12926 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12927 pathconf.
12928 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12929 munmap.
12930 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12931 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12932 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12933 of munmap.
12934 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12935 of close.
12936 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12937 instead of sysconf.
12938 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12939 __clock_gettime instead of clock_gettime.
12940 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12941 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12942 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12943 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12944 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12945 tcgetattr.
12946 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12947 __clock_gettime and __nanosleep instead of clock_gettime and
12948 nanosleep.
12949 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12950 __hurd_catch_signal.
12951 (hurd_catch_signal): New strong alias.
12952 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12953 __hurd_catch_signal instead of hurd_catch_signal.
12954 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12955 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12956 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12957 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12958 (_hurd_thread_sigstate): Add hidden def.
12959 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12960 mutex_unlock.
12961 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12962 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12963 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12964 __hurd_file_name_path_lookup.
12965 (hurd_file_name_path_lookup): New strong alias.
12966 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12967 hurd_file_name_path_lookup.
12968 * mach/errstring.c (mach_error_type): Add hidden def.
12969 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12970 * mach/mutex-init.c (__mutex_init): Add hidden def.
12971 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12972 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12973 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12974 * sysdeps/mach/hurd/getcwd.c
12975 (_hurd_canonicalize_directory_name_internal): Rename to
12976 __hurd_canonicalize_directory_name_internal.
12977 (_hurd_canonicalize_directory_name_internal): New strong alias.
12978 (__canonicalize_directory_name_internal, __getcwd): Call
12979 __hurd_canonicalize_directory_name_internal instead of
12980 _hurd_canonicalize_directory_name_internal.
12981 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12982 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12983 hidden defs.
12984 * sysdeps/hurd/include/hurd.h: New file.
12985 * sysdeps/hurd/include/hurd/fd.h: New file.
12986 * sysdeps/hurd/include/hurd/signal.h: New file.
12987 * sysdeps/mach/include/lock-intern.h: New file.
12988 * sysdeps/mach/include/mach.h: New file.
12989 * sysdeps/mach/include/mach/mig_support.h: New file.
12990 * sysdeps/mach/include/mach_error.h: New file.
12991 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
12992 prototype.
12993 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
12994 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
12995 _HEADER_H_HIDDEN_DEF macro.
12996 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
12997 _hurd_fd_error_signal): Add hidden prototype.
12998 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
12999 hidden def.
13000 * libio/iolibio.h (_IO_puts): New hidden prototype.
13001 * libio/ioputs.c (_IO_puts): New hidden def.
13002 * sysdeps/mach/hurd/localplt.data: New file.
13003
13004 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13005 Amos Jeffries <squid3@treenet.co.nz>
13006 David Michael <fedora.dm0@gmail.com>
13007 Marco Gerards <marco@gnu.org>
13008 Marcus Brinkmann <marcus@gnu.org>
13009 Neal H. Walfield <neal@gnu.org>
13010 Pino Toscano <toscano.pino@tiscali.it>
13011 Richard Braun <rbraun@sceen.net>
13012 Roland McGrath <roland@gnu.org>
13013 Samuel Thibault <samuel.thibault@ens-lyon.org>
13014 Thomas DiModica <ricinwich@yahoo.com>
13015 Thomas Schwinge <tschwinge@gnu.org>
13016
13017 * htl: New directory.
13018 * sysdeps/htl: New directory.
13019 * sysdeps/hurd/htl: New directory.
13020 * sysdeps/i386/htl: New directory.
13021 * sysdeps/mach/htl: New directory.
13022 * sysdeps/mach/hurd/htl: New directory.
13023 * sysdeps/mach/hurd/i386/htl: New directory.
13024 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13025 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13026 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13027
13028 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13029
13030 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13031 signals in thread created for runing timers.
13032
13033 2018-04-01 Florian Weimer <fweimer@redhat.com>
13034
13035 * support/support_format_addrinfo.c (support_format_addrinfo):
13036 Include unknown error number in formatted result.
13037
13038 2018-03-29 Florian Weimer <fweimer@redhat.com>
13039
13040 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13041 capture SIGBUS.
13042
13043 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13044
13045 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13046 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13047 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13048 (__ASSUME_CLONE_BACKWARDS): Define.
13049
13050 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13051
13052 [BZ #23024]
13053 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13054 early when linux sentinel value is set.
13055
13056 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13057
13058 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13059
13060 2018-03-27 Andreas Schwab <schwab@suse.de>
13061
13062 [BZ #23005]
13063 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13064 allocation of private copy of nsaddr_list fails.
13065
13066 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13067
13068 [BZ #16552]
13069 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13070 * sysdeps/unix/sysv/linux/umount.c: ... here.
13071 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13072 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13073 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13074 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13076 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13077 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13078
13079 2018-03-26 Andreas Schwab <schwab@suse.de>
13080
13081 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13082 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13083 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13084 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13085 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13086 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13087 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13088 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13089 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13090 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13091 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13092 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13093 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13094 (R_RISCV_NUM): Define.
13095
13096 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13097
13098 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13099 TLS declaration of errno.
13100 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13101 __libc_setup_tls.
13102 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13103 (ARCH_SETUP_TLS): Likewise.
13104 * sysdeps/mach/hurd/libc-start.h: New file copied from
13105 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
13106 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13107 instead of __libc_setup_tls.
13108 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
13109 __libc_setup_tls before initializing libpthread and running _hurd_init
13110 which starts the signal thread.
13111 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13112 Declare function.
13113 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13114
13115 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13116
13117 [BZ #22998]
13118 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13119 after it is defined.
13120
13121 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13122 Max Horn <max@quendi.de>
13123
13124 [BZ #22644]
13125 CVE-2017-18269
13126 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13127 branch conditions.
13128 * string/test-memmove.c (do_test2): New testcase.
13129
13130 2018-03-22 Joseph Myers <joseph@codesourcery.com>
13131
13132 * sysdeps/generic/frame.h: Remove file.
13133 * sysdeps/arm/frame.h: Likewise.
13134 * sysdeps/hppa/frame.h: Likewise.
13135 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13136 macro.
13137 (GET_FRAME): Likewise.
13138 (GET_STACK): Likewise.
13139 (CALL_SIGHANDLER): Likewise.
13140 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13141 Likewise.
13142 (GET_FRAME): Likewise.
13143 (GET_STACK): Likewise.
13144 (CALL_SIGHANDLER): Likewise.
13145 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13146 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13147 (GET_FRAME): Likewise.
13148 (GET_STACK): Likewise.
13149 (CALL_SIGHANDLER): Likewise.
13150 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13151 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13152 (GET_FRAME): Likewise.
13153 (GET_STACK): Likewise.
13154 (ADVANCE_STACK_FRAME): Likewise.
13155 (CALL_SIGHANDLER): Likewise.
13156 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13157 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13158 (GET_FRAME): Likewise.
13159 (GET_STACK): Likewise.
13160 (CALL_SIGHANDLER): Likewise.
13161 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13162 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13163 (GET_FRAME): Likewise.
13164 (GET_STACK): Likewise.
13165 (CALL_SIGHANDLER): Likewise.
13166 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13167 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13168 (GET_FRAME): Likewise.
13169 (GET_STACK): Likewise.
13170 (CALL_SIGHANDLER): Likewise.
13171 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13172 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13173 (GET_FRAME): Likewise.
13174 (GET_STACK): Likewise.
13175 (CALL_SIGHANDLER): Likewise.
13176 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13177 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13178 (GET_FRAME): Likewise.
13179 (GET_STACK): Likewise.
13180 (CALL_SIGHANDLER): Likewise.
13181 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13182 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13183 (GET_FRAME): Likewise.
13184 (GET_STACK): Likewise.
13185 (CALL_SIGHANDLER): Likewise.
13186 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13187 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13188 (GET_FRAME): Likewise.
13189 (GET_STACK): Likewise.
13190 (CALL_SIGHANDLER): Likewise.
13191 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13192 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13193 (GET_FRAME): Likewise.
13194 (GET_STACK): Likewise.
13195 (CALL_SIGHANDLER): Likewise.
13196 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13197 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13198 (GET_FRAME): Likewise.
13199 (GET_STACK): Likewise.
13200 (CALL_SIGHANDLER): Likewise.
13201 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13202 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13203 (FIRST_FRAME_POINTER): Likewise.
13204 (ADVANCE_STACK_FRAME): Likewise.
13205 (GET_STACK): Likewise.
13206 (GET_FRAME): Likewise.
13207 (CALL_SIGHANDLER): Likewise.
13208 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13209 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13210 (ADVANCE_STACK_FRAME): Likewise.
13211 (GET_STACK): Likewise.
13212 (GET_FRAME): Likewise.
13213 (CALL_SIGHANDLER): Likewise.
13214 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13215 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13216 (GET_FRAME): Likewise.
13217 (GET_STACK): Likewise.
13218 (CALL_SIGHANDLER): Likewise.
13219 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13220 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13221 (GET_FRAME): Likewise.
13222 (GET_STACK): Likewise.
13223 (CALL_SIGHANDLER): Likewise.
13224
13225 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13226
13227 * sysdeps/x86_64/backtrace.c: Move to ....
13228 * debug/backtrace.c: ... here.
13229 * sysdeps/aarch64/backtrace.c: Remove file.
13230 * sysdeps/alpha/backtrace.c: Likewise.
13231 * sysdeps/hppa/backtrace.c: Likewise.
13232 * sysdeps/ia64/backtrace.c: Likewise.
13233 * sysdeps/mips/backtrace.c: Likewise.
13234 * sysdeps/nios2/backtrace.c: Likewise.
13235 * sysdeps/riscv/backtrace.c: Likewise.
13236 * sysdeps/sh/backtrace.c: Likewise.
13237 * sysdeps/tile/backtrace.c: Likewise.
13238
13239 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13240
13241 [BZ #22987]
13242 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13243 function.
13244 (fdimf): Likewise.
13245 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13246
13247 [BZ #17343]
13248 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13249 possibly overflowing computations.
13250
13251 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13252
13253 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13254 values from Linux-specific section now that it is in the GNU section.
13255 * sysdeps/gnu/errlist.c: Regenerate.
13256
13257 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13258
13259 * math/Makefile (libm-narrow-fns): Add sub.
13260 (libm-test-funcs-narrow): Likewise.
13261 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13262 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13263 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13264 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13265 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13266 (NARROW_SUB_TRIVIAL): Likewise.
13267 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13268 macro.
13269 (__dsubl): Likewise.
13270 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13271 dsub.
13272 (CFLAGS-nldbl-dsub.c): New variable.
13273 (CFLAGS-nldbl-fsub.c): Likewise.
13274 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13275 __nldbl_dsubl.
13276 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13277 prototype.
13278 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13279 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13280 * math/auto-libm-test-in: Add tests of sub.
13281 * math/auto-libm-test-out-narrow-sub: New generated file.
13282 * math/libm-test-narrow-sub.inc: New file.
13283 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13284 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13285 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13286 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13287 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13288 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13289 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13290 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13291 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13292 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13293 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13294 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13295 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13296 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13297 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13298 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13299 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13300 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13302 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13303 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13304 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13305 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13306 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13307 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13308 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13309 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13310 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13311 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13312 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13313 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13314 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13319 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13320 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13321 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13322 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13323 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13324 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13325 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13326 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13327 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13328 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13329
13330 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13331
13332 [BZ #20079]
13333 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13334
13335 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13336
13337 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13338
13339 2018-03-18 Richard Braun <rbraun@sceen.net>
13340
13341 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13342 thread reference.
13343
13344 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13345
13346 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13347 (__libc_cleanup_fct): Define function.
13348 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13349 __libc_cleanup_end): Rewrite implementation using
13350 __attribute__ ((__cleanup__)).
13351 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13352 * hurd/Makefile (routines): Add hurdlock.
13353 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13354 interface.
13355 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13356 * hurd/hurdpid.c: Include <lowlevellock.h>
13357 (_S_msg_proc_newids): Use lll_wait to synchronize.
13358 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13359 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13360 * mach/Makefile (lock-headers): Remove machine-lock.h.
13361 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13362 <machine-lock.h>.
13363 (__spin_lock_t): New type.
13364 (__SPIN_LOCK_INITIALIZER): New macro.
13365 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13366 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13367 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13368 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13369 (__mutex_init): Initialize with lll.
13370 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13371 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13372 needing lll.
13373 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13374 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13375 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13376 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13377 (__setpgid): Use lll for synchronization.
13378 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13379 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13380 instead of <cthreads.h>.
13381 (_IO_lock_inexpensive): New macro
13382 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13383 (__libc_lock_self0): New declaration.
13384 (__libc_lock_owner_self): New macro.
13385 (__libc_key_t): Remove type.
13386 (_LIBC_LOCK_INITIALIZER): New macro.
13387 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13388 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13389 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13390 __libc_lock_define_initialized_recursive,
13391 __rtld_lock_define_initialized_recursive,
13392 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13393 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13394 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13395 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13396 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13397 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13398 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13399 New macros.
13400 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13401 * hurd/hurdlock.c: New file.
13402 * hurd/hurdlock.h: New file.
13403 * mach/lowlevellock.h: New file
13404
13405 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13406
13407 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13408 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13409 when opening a symlink with O_NOFOLLOW.
13410 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13411 path when flags contains O_NOFOLLOW.
13412 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13413 if flags contains O_DIRECTORY and the result is a directory.
13414 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13415 oneself when the pointer given in D is nul (as set by ext2fs).
13416 * sysdeps/mach/hurd/mlockall.c: New file.
13417 * sysdeps/mach/hurd/munlockall.c: New file.
13418
13419 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13420
13421 * hurd/hurdsig.c: Include <pthread.h>.
13422 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13423 get the signal thread stack layout.
13424 * hurd/Makefile (headers): Remove threadvar.h.
13425 (inline-headers): Remove threadvar.h.
13426 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13427 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13428 __hurd_threadvar_max, __hurd_errno_location.
13429 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13430 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13431 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13432 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13433 unless TLS is not initialized yet, in which case we do not need a
13434 critical section yet anyway.
13435 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13436 <machine-sp.h>.
13437 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13438 declarations.
13439 (__hurd_threadvar_index): Remove enum.
13440 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13441 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13442 inlines.
13443 (__hurd_reply_port0): New variable declaration.
13444 (__hurd_local_reply_port): New macro.
13445 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13446 (interrupted_reply_port_location): Add thread_t parameter. Use it
13447 with THREAD_TCB to access thread-local variables.
13448 (_hurdsig_abort_rpcs): Pass ss->thread to
13449 interrupted_reply_port_location.
13450 (_hurd_internal_post_signal): Likewise.
13451 (_hurdsig_init): Use presence of cthread_fork instead of
13452 __hurd_threadvar_stack_mask to start signal thread by hand.
13453 Remove signal thread threadvar initialization.
13454 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13455 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13456 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13457 of threadvar.
13458 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13459 __libc_lock_self0.
13460 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13461 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13462 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13463 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13464 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13465 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13466 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13467 define variables.
13468 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13469 <hurd/threadvar.h>.
13470 [IS_IN(rtld)] (rtld_errno): New variable.
13471 [IS_IN(rtld)] (__errno_location): New weak function.
13472 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13473 * sysdeps/mach/hurd/errno.c: Remove file.
13474 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13475 (__fork): Remove THREADVAR_SPACE macro and its use.
13476 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13477 variable.
13478 (init): Do not initialize threadvar.
13479 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13480 symbol.
13481 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13482 __hurd_local_reply_port instead of threadvar.
13483 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13484 _hurd_sigstate fields.
13485 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13486 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13487 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13488 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13489 instead of threadvar.
13490 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13491 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13492 (use_threadvar, global_reply_port): Remove variables.
13493 (__hurd_reply_port0): New variable.
13494 (__mig_get_reply_port): Use __hurd_local_reply_port and
13495 __hurd_reply_port0 instead of threadvar.
13496 (__mig_dealloc_reply_port): Likewise.
13497 (__mig_init): Do not initialize threadvar.
13498 * sysdeps/mach/hurd/profil.c: Fix comment.
13499 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13500 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13501 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13502 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13503 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13504 __cthread_setspecific.
13505 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13506 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13507 __cthread_t instead of cthread_fork, cthread_detach,
13508 pthread_getattr_np, pthread_attr_getstack.
13509 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13510 __cthread_keycreate.
13511 (cthread_getspecific): Rename to __cthread_getspecific.
13512 (cthread_setspecific): Rename to __cthread_setspecific.
13513 (__libc_getspecific): Use __cthread_getspecific instead of
13514 cthread_getspecific.
13515 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13516 __cthread_keycreate instead of cthread_keycreate.
13517 (__libc_setspecific): Use __cthread_setspecific instead of
13518 cthread_setspecific.
13519 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13520 Likewise.
13521 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13522 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13523 testing whether it is defined.
13524
13525 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13526
13527 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13528 Define macro.
13529 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13530 * sysdeps/mach/i386/thread_state.h
13531 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13532 i386_THREAD_STATE.
13533 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13534 i386_THREAD_STATE.
13535 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13536
13537 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13538 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13539
13540 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13541 macros.
13542 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13543 descriptor instead of creating a new one.
13544 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13545
13546 * mach/setup-thread.c: Include <ldsodefs.h>.
13547 (__mach_setup_thread): Call _dl_allocate_tls, pass
13548 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13549 MACHINE_THREAD_STATE_FLAVOR, before getting
13550 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13551 MACHINE_THREAD_STATE_FLAVOR with the result.
13552 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13553 MACHINE_THREAD_STATE_FIX_NEW.
13554 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13555 too. Add original thread parameter.
13556
13557 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13558
13559 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13560 Remove inline function.
13561
13562 * sysdeps/i386/fpu/libm-test-ulps: Update.
13563 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13564
13565 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13566
13567 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13568 commit.
13569
13570 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13571
13572 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13573 (__sincos_code): Remove define and undefine.
13574 [__FAST_MATH__] (__sincos): Remove inline function.
13575 [__FAST_MATH__] (__sincosf): Remove inline function.
13576 [__FAST_MATH__] (__sincosl): Remove inline function.
13577 (__atan2l): Remove inline functions.
13578 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13579 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13580 function.
13581 (floor): Remove inline function.
13582 (ceil): Likewise.
13583 [__FAST_MATH__] (__ldexp_code): Remove macro.
13584 [__FAST_MATH__] (ldexp): Remove inline function.
13585 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13586 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13587 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13588 [__USE_ISOC99] (__lrint_code): Remove macro.
13589 [__USE_ISOC99] (__llrint_code): Likewise.
13590 [__USE_ISOC99] (lrintf): Remove inline function.
13591 [__USE_ISOC99] (lrint): Likewise.
13592 [__USE_ISOC99] (lrintl): Likewise.
13593 [__USE_ISOC99] (llrint): Likewise.
13594 [__USE_ISOC99] (llrintf): Likewise.
13595 [__USE_ISOC99] (llrintl): Likewise.
13596
13597 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13598
13599 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13600 (__ieee754_sqrtf): Remove.
13601 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13602 (__ieee754_sqrtf): Remove.
13603 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13604 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13605 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13606 (__ieee754_sqrtf): Remove.
13607 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13608 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13609 (sqrtf): Remove.
13610 (sqrtl): Remove.
13611 (__ieee754_sqrt): Remove.
13612 (__ieee754_sqrtf): Remove.
13613 (__ieee754_sqrtl): Remove.
13614 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13615 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13616 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13617 (__ieee754_sqrtf): Remove.
13618 (__ieee754_sqrtl): Remove.
13619
13620 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13621
13622 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13623 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13624 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13625 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13626 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13627 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13628 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13629 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13630 Likewise.
13631 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13632 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13633 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13634 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13635 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13636 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13637 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13638 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13639 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13640 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13641 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13642 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13643 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13644 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13645 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13646 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13647 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13648 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13649 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13650 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13651 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13652 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13653 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13654 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13655 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13656 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13657 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13658 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13659 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13660 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13661 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13662 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13663 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13664 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13665 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13666 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13667 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13668 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13669 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13670 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13671
13672 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13673
13674 * include/math.h (sqrt): Declare with asm redirect.
13675 (sqrtf): Likewise.
13676 (sqrtl): Likewise.
13677 (sqrtf128): Likewise.
13678 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13679 nonlib and libnldbl with -fmath-errno.
13680 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13681 * math/w_sqrt_template.c: Likewise.
13682 * math/w_sqrtf_compat.c: Likewise.
13683 * math/w_sqrtl_compat.c: Likewise.
13684 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13685 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13686 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13687 complex.h.
13688
13689 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13690
13691 * benchtests/Makefile: Define _ISOMAC.
13692 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13693 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13694 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13695 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13696 * benchtests/bench-timing.h: Define attribute_hidden.
13697
13698 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13699
13700 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13701 mov + lsr.
13702
13703 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13704
13705 [BZ #22963]
13706 * localedata/locales/cs_CZ (mon): Rename to...
13707 (alt_mon): This.
13708 (mon): Import from CLDR (genitive case).
13709
13710 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13711
13712 [BZ #22937]
13713 * localedata/locales/el_CY (abmon): Rename to...
13714 (ab_alt_mon): This.
13715 (abmon): Import from CLDR (abbreviated genitive case).
13716 * localedata/locales/el_GR (abmon): Rename to...
13717 (ab_alt_mon): This.
13718 (abmon): Import from CLDR (abbreviated genitive case).
13719
13720 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13721
13722 [BZ #22932]
13723 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13724
13725 2018-03-15 Robert Buj <robert.buj@gmail.com>
13726
13727 [BZ #22848]
13728 * localedata/locales/ca_ES (abmon): Rename to...
13729 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13730 (mon): Rename to...
13731 (alt_mon): This.
13732 (abmon): Import from CLDR (genitive case, month names preceded by
13733 "de" or "d’").
13734 (mon): Likewise.
13735 (abday): Synchronize with CLDR.
13736 (d_t_fmt): Likewise.
13737 (d_fmt): Likewise.
13738 (am_pm): Likewise.
13739
13740 (LC_TIME): Improve indentation.
13741 (LC_TELEPHONE): Likewise.
13742 (LC_NAME): Likewise.
13743 (LC_ADDRESS): Likewise.
13744
13745 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13746
13747 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13748 (lrintf): Remove definitions used only with old GCC.
13749 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13750 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13751 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13752 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13753 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13754 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13755 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13756 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13757 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13758 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13759 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13760 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13761 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13762 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13763 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13764 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13765 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13766 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13767 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13768 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13769 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13770 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13771 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13772 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13773 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13774 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13775 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13776 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13777
13778 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13779
13780 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13781 instruction to unbreak builds with binutils 2.26 and older.
13782
13783 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13784
13785 * sysdeps/aarch64/strncmp.S (count): New macro.
13786 (strncmp): Store misaligned length in SRC1 in COUNT.
13787 (mutual_align): Adjust.
13788 (misaligned8): Load dword at a time when it is safe.
13789
13790 2018-03-12 Zack Weinberg <zackw@panix.com>
13791
13792 [BZ #1190]
13793 [BZ #19476]
13794 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13795 if the _IO_EOF_SEEN bit is already set; update commentary.
13796 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13797 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13798
13799 * support/support_openpty.c, support/tty.h: New files.
13800 * support/Makefile (libsupport-routines): Add support_openpty.
13801
13802 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13803 New test cases.
13804 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13805 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13806
13807 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13808
13809 * po/pt_BR.po: Update translations.
13810
13811 2018-03-12 David Michael <fedora.dm0@gmail.com>
13812
13813 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13814 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13815 get a port to the startup server.
13816
13817 2018-03-11 Zack Weinberg <zackw@panix.com>
13818
13819 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13820 before nldbl-compat.h.
13821
13822 2018-03-10 Zack Weinberg <zackw@panix.com>
13823
13824 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13825 math.h or math_private.h.
13826
13827 * sysdeps/alpha/fpu/s_isnan.c
13828 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13829 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13830 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13831 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13832 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13833 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13834 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13835 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13836 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13839 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13840 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13841 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13842 Include math_private.h.
13843
13844 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13845 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13846 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13847 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13848 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13849 * sysdeps/powerpc/power7/fpu/s_logb.c:
13850 Include math.h and math_private.h.
13851
13852 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13853 uses of $at in .set noat / .set at.
13854
13855 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13856
13857 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13858 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13859 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13860 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13861 Likewise.
13862
13863 2018-03-09 Florian Weimer <fweimer@redhat.com>
13864
13865 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13866 in comment.
13867
13868 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13869
13870 [BZ #22919]
13871 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13872 Add nop before __startcontext, add explaining comments.
13873
13874 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13875
13876 [BZ #22926]
13877 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13878 empty for __SPE__.
13879 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13880 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13881 Do not build hardware transactional code for __SPE__.
13882 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13883 (__lll_trylock_elision): Likewise.
13884 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13885 (__lll_unlock_elision): Likewise.
13886
13887 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13888 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13889 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13890 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13891 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13892 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13893 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13894 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13895 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13896 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13897 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13898 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13899 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13900 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13901 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13902 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13903 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13904 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13905 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13906 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13907 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13908 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13909 (__ASSUME_CLONE_BACKWARDS): Define.
13910 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13911 __clone2 if __NR_clone2 is defined.
13912 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13913 (__ASSUME_CLONE_BACKWARDS): Likewise.
13914 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13915 (__ASSUME_CLONE_BACKWARDS): Likewise.
13916 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13917 (__ASSUME_CLONE2): Likewise.
13918 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13919 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13920 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13921 variants and the define architecture can use.
13922 (__ASSUME_CLONE_DEFAULT): Define as default.
13923 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13924 (__ASSUME_CLONE_BACKWARDS): Likewise.
13925 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13926 (__ASSUME_CLONE_BACKWARDS): Likewise.
13927 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13928 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13929
13930 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13931
13932 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13933
13934 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13935 time.
13936
13937 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13938 (do_test_limit): Likewise.
13939
13940 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13941 for every implementation.
13942 (do_test): Likewise.
13943
13944 * benchtests/bench-strncmp.c: Convert output to json.
13945
13946 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13947
13948 * io/futimens.c: Add missing start-of-file descriptive comment.
13949 * io/utime.c: Likewise.
13950 * misc/futimesat.c: Likewise.
13951 * misc/utimes.c: Likewise.
13952 * sysdeps/mach/hurd/futimesat.c: Likewise.
13953 * sysdeps/mach/hurd/utimes.c: Likewise.
13954 * sysdeps/posix/utime.c: Likewise.
13955 * sysdeps/posix/utimes.c: Likewise.
13956 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13957 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13958 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13959 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13960
13961 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13962
13963 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13964 hurd_futimes.
13965 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13966 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13967 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13968 (__futimens): Move implementation to...
13969 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13970 utime_tvalue_from_tspec): ... new helper functions.
13971 (hurd_futimens): New function.
13972 * sysdeps/mach/hurd/futimesat.c: New file.
13973 * sysdeps/mach/hurd/utimensat.c: New file.
13974
13975 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13976
13977 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13978 UTIME_OMIT): New macros.
13979 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13980 before reverting to converting time spec to time value and calling
13981 __file_utimes.
13982 * sysdeps/mach/hurd/utime-helper.c: New file.
13983 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
13984 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
13985 reverting to utime_tvalue_from_tval and __file_utimes.
13986 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
13987 (__lutimes): Just call hurd_futimens after lookup.
13988 * sysdeps/mach/hurd/utimes.c: Likewise.
13989
13990 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13991
13992 * bits/sigaction.h: Add include guard.
13993 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
13994 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
13995 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
13996 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
13997 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
13998 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
13999 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14000 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14001 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14002
14003 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14004
14005 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14006 -Wmaybe-uninitialized for -Os.
14007 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14008 this disabling.
14009
14010 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14011
14012 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14013 __INO_T_MATCHES_INO64_T is defined.
14014 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14015 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14016 of definition.
14017 * dirent/alphasort64.c: Likewise.
14018 * dirent/scandir.c: Likewise.
14019 * dirent/scandir64-tail.c: Likewise.
14020 * dirent/scandir64.c: Likewise.
14021 * dirent/scandirat.c: Likewise.
14022 * dirent/scandirat64.c: Likewise.
14023 * dirent/versionsort.c: Likewise.
14024 * dirent/versionsort64.c: Likewise.
14025 * include/dirent.h: Likewise.
14026
14027 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14028 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14029 for socketpair endpoint.
14030 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14031 WRITE_BUFFER_SIZE as buffer size for sending socket.
14032 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14033 issue on system where send is implemented with sendto syscall.
14034 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14035 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14036 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14037 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14038
14039 [BZ #21269]
14040 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14041 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14042 sa_restorer for vDSO case.
14043 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14044
14045 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14046
14047 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14048 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14049 * hurd/hurd/ioctl.h: Include <mach/port.h>
14050 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14051 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14052 <mach/mach_types.h> and <mach/message.h>.
14053 (headers): Move mach/param.h to bits/mach/param.h.
14054 * sysdeps/mach/i386/mach/param.h: Move file to ...
14055 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14056 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14057 of <mach/param.h>.
14058 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14059 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14060 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14061 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14062 trivial, for C++ conformity.
14063 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14064 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14065 Process mig output through $(migheadersed).
14066 * hurd/Makefile (migheadersed): Define variable.
14067 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14068 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14069 headers.
14070 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14071 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14072 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14073 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14074 <bits/types/sigset_t.h>.
14075 [!defined __USE_GNU]: Do not #error out.
14076 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14077 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14078 Include <stddef.h> and <bits/types/sigset_t.h>
14079 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14080 instead of sighandler_t.
14081 * stdlib/errno.h (error_t): Move definition to...
14082 * bits/types/error_t.h: ... new header.
14083 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14084 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14085 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14086 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14087 * hurd/hurd.h: Include <bits/types/error_t.h>
14088 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14089 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14090 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14091 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14092 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14093 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
14094 * sysdeps/mach/hurd/futimens.c: New file.
14095
14096 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14097
14098 [BZ #22918]
14099 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14100 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14101 * nscd/gai.c (__nss_hosts_database): Readd definition.
14102 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14103 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14104 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14105
14106 2018-03-02 Joseph Myers <joseph@codesourcery.com>
14107
14108 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14109 (ifunc_one): Likewise.
14110
14111 2018-03-01 DJ Delorie <dj@delorie.com>
14112
14113 [BZ #22342]
14114 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14115 key value.
14116
14117 2018-03-01 Maciej W. Rozycki <macro@mips.com>
14118
14119 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14120 `match_pid' parameter.
14121 (td_ta_thr_iter): Update accordingly.
14122
14123 2018-03-01 Florian Weimer <fweimer@redhat.com>
14124
14125 * nptl/Makefile (install-lib-ldscripts): Remove.
14126 (install): Remove rule.
14127 ($(inst_libdir)/libpthread.so): Likewise.
14128
14129 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14130
14131 [BZ #22896]
14132 * localedata/locales/an_ES: update month and day names,
14133 improve d_fmt, improve postal_fmt, add country_post,
14134 add country_isbn
14135
14136 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14137
14138 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14139 Ukrainian instead of Bulgarian.
14140
14141 2018-03-01 Florian Weimer <fweimer@redhat.com>
14142
14143 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14144 reference.
14145
14146 2018-03-01 Florian Weimer <fweimer@redhat.com>
14147
14148 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14149 * nptl/Makefile (routines): Add pthread_atfork.
14150 (static-only-routines): Set to pthread_atfork.
14151 (libpthread-routines): Remove pthread_atfork.
14152 (libpthread-static-only-routines): Remove.
14153 (install): Update comment.
14154 (libpthread.so): Do not install libpthread_nonshared.a.
14155 (tests): Do not link with libpthread_nonshared.a.
14156 (generated): Remove libpthread_nonshared.a.
14157 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14158 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14159 with libpthread_nonshared.a.
14160
14161 2018-02-28 Joseph Myers <joseph@codesourcery.com>
14162
14163 [BZ #22902]
14164 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14165 (libc_feholdexcept_setroundf128): New macro.
14166 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14167
14168 [BZ #15105]
14169 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14170 libc_hidden_def.
14171 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14172 * include/inttypes.h: New file.
14173
14174 2018-02-27 Joseph Myers <joseph@codesourcery.com>
14175
14176 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14177 -Os in two more places.
14178
14179 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14180
14181 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14182 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14183 be sorted correctly at the moment because of a bug.
14184
14185 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14186
14187 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14188 treat ñ as a primary different character, sync the collation
14189 for Spanish with CLDR.
14190 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14191 * localedata/Makefile: Add new test files.
14192 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14193 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14194 collation order.
14195 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14196 * localedata/am_ET.UTF-8.in: New test file.
14197 * localedata/az_AZ.UTF-8.in: Likewise.
14198 * localedata/be_BY.UTF-8.in: Likewise.
14199 * localedata/ber_DZ.UTF-8.in: Likewise.
14200 * localedata/ber_MA.UTF-8.in: Likewise.
14201 * localedata/bg_BG.UTF-8.in: Likewise.
14202 * localedata/br_FR.UTF-8.in: Likewise.
14203 * localedata/cmn_TW.UTF-8.in: Likewise.
14204 * localedata/crh_UA.UTF-8.in: Likewise.
14205 * localedata/csb_PL.UTF-8.in: Likewise.
14206 * localedata/cv_RU.UTF-8.in: Likewise.
14207 * localedata/cy_GB.UTF-8.in: Likewise.
14208 * localedata/dz_BT.UTF-8.in: Likewise.
14209 * localedata/eo.UTF-8.in: Likewise.
14210 * localedata/es_ES.UTF-8.in: Likewise.
14211 * localedata/fa_IR.UTF-8.in: Likewise.
14212 * localedata/fi_FI.UTF-8.in: Likewise.
14213 * localedata/fil_PH.UTF-8.in: Likewise.
14214 * localedata/fur_IT.UTF-8.in: Likewise.
14215 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14216 * localedata/ha_NG.UTF-8.in: Likewise.
14217 * localedata/ig_NG.UTF-8.in: Likewise.
14218 * localedata/ik_CA.UTF-8.in: Likewise.
14219 * localedata/kk_KZ.UTF-8.in: Likewise.
14220 * localedata/ku_TR.UTF-8.in: Likewise.
14221 * localedata/ky_KG.UTF-8.in: Likewise.
14222 * localedata/ln_CD.UTF-8.in: Likewise.
14223 * localedata/mi_NZ.UTF-8.in: Likewise.
14224 * localedata/ml_IN.UTF-8.in: Likewise.
14225 * localedata/mn_MN.UTF-8.in: Likewise.
14226 * localedata/mr_IN.UTF-8.in: Likewise.
14227 * localedata/mt_MT.UTF-8.in: Likewise.
14228 * localedata/nb_NO.UTF-8.in: Likewise.
14229 * localedata/om_KE.UTF-8.in: Likewise.
14230 * localedata/os_RU.UTF-8.in: Likewise.
14231 * localedata/ps_AF.UTF-8.in: Likewise.
14232 * localedata/ro_RO.UTF-8.in: Likewise.
14233 * localedata/ru_RU.UTF-8.in: Likewise.
14234 * localedata/sc_IT.UTF-8.in: Likewise.
14235 * localedata/se_NO.UTF-8.in: Likewise.
14236 * localedata/sq_AL.UTF-8.in: Likewise.
14237 * localedata/sv_SE.UTF-8.in: Likewise.
14238 * localedata/szl_PL.UTF-8.in: Likewise.
14239 * localedata/tg_TJ.UTF-8.in: Likewise.
14240 * localedata/tk_TM.UTF-8.in: Likewise.
14241 * localedata/tt_RU.UTF-8.in: Likewise.
14242 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14243 * localedata/ug_CN.UTF-8.in: Likewise.
14244 * localedata/uz_UZ.UTF-8.in: Likewise.
14245 * localedata/vi_VN.UTF-8.in: Likewise.
14246 * localedata/yi_US.UTF-8.in: Likewise.
14247 * localedata/yo_NG.UTF-8.in: Likewise.
14248 * localedata/zh_CN.UTF-8.in: Likewise.
14249 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14250 file and fix bugs in the collation.
14251 * localedata/locales/az_AZ: Likewise.
14252 * localedata/locales/be_BY: Likewise.
14253 * localedata/locales/ber_DZ: Likewise.
14254 * localedata/locales/ber_MA: Likewise.
14255 * localedata/locales/bg_BG: Likewise.
14256 * localedata/locales/br_FR: Likewise.
14257 * localedata/locales/br_FR@euro: Likewise.
14258 * localedata/locales/ca_ES: Likewise.
14259 * localedata/locales/cns11643_stroke: Likewise.
14260 * localedata/locales/crh_UA: Likewise.
14261 * localedata/locales/cs_CZ: Likewise.
14262 * localedata/locales/csb_PL: Likewise.
14263 * localedata/locales/cv_RU: Likewise.
14264 * localedata/locales/cy_GB: Likewise.
14265 * localedata/locales/da_DK: Likewise.
14266 * localedata/locales/dz_BT: Likewise.
14267 * localedata/locales/en_CA: Likewise.
14268 * localedata/locales/eo: Likewise.
14269 * localedata/locales/es_CU: Likewise.
14270 * localedata/locales/es_EC: Likewise.
14271 * localedata/locales/es_ES: Likewise.
14272 * localedata/locales/es_US: Likewise.
14273 * localedata/locales/et_EE: Likewise.
14274 * localedata/locales/fa_IR: Likewise.
14275 * localedata/locales/fi_FI: Likewise.
14276 * localedata/locales/fil_PH: Likewise.
14277 * localedata/locales/fur_IT: Likewise.
14278 * localedata/locales/gez_ER@abegede: Likewise.
14279 * localedata/locales/ha_NG: Likewise.
14280 * localedata/locales/hr_HR: Likewise.
14281 * localedata/locales/hsb_DE: Likewise.
14282 * localedata/locales/hu_HU: Likewise.
14283 * localedata/locales/ig_NG: Likewise.
14284 * localedata/locales/ik_CA: Likewise.
14285 * localedata/locales/is_IS: Likewise.
14286 * localedata/locales/iso14651_t1_pinyin: Likewise.
14287 * localedata/locales/kk_KZ: Likewise.
14288 * localedata/locales/ku_TR: Likewise.
14289 * localedata/locales/ky_KG: Likewise.
14290 * localedata/locales/ln_CD: Likewise.
14291 * localedata/locales/lt_LT: Likewise.
14292 * localedata/locales/lv_LV: Likewise.
14293 * localedata/locales/mi_NZ: Likewise.
14294 * localedata/locales/ml_IN: Likewise.
14295 * localedata/locales/mn_MN: Likewise.
14296 * localedata/locales/mr_IN: Likewise.
14297 * localedata/locales/mt_MT: Likewise.
14298 * localedata/locales/nb_NO: Likewise.
14299 * localedata/locales/om_KE: Likewise.
14300 * localedata/locales/os_RU: Likewise.
14301 * localedata/locales/pl_PL: Likewise.
14302 * localedata/locales/ps_AF: Likewise.
14303 * localedata/locales/ro_RO: Likewise.
14304 * localedata/locales/ru_RU: Likewise.
14305 * localedata/locales/ru_UA: Likewise.
14306 * localedata/locales/sc_IT: Likewise.
14307 * localedata/locales/se_NO: Likewise.
14308 * localedata/locales/si_LK: Likewise.
14309 * localedata/locales/sq_AL: Likewise.
14310 * localedata/locales/sv_FI: Likewise.
14311 * localedata/locales/sv_FI@euro: Likewise.
14312 * localedata/locales/sv_SE: Likewise.
14313 * localedata/locales/szl_PL: Likewise.
14314 * localedata/locales/tg_TJ: Likewise.
14315 * localedata/locales/ti_ER: Likewise.
14316 * localedata/locales/tk_TM: Likewise.
14317 * localedata/locales/tl_PH: Likewise.
14318 * localedata/locales/tr_TR: Likewise.
14319 * localedata/locales/tt_RU: Likewise.
14320 * localedata/locales/tt_RU@iqtelif: Likewise.
14321 * localedata/locales/ug_CN: Likewise.
14322 * localedata/locales/uk_UA: Likewise.
14323 * localedata/locales/uz_UZ: Likewise.
14324 * localedata/locales/uz_UZ@cyrillic: Likewise.
14325 * localedata/locales/vi_VN: Likewise.
14326 * localedata/locales/yi_US: Likewise.
14327 * localedata/locales/yo_NG: Likewise.
14328
14329 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14330
14331 * gen-locales.mk: Make test files which contain @ modifiers in their
14332 name work.
14333 * localedata/gen-locale.sh: Likewise.
14334
14335 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14336
14337 * posix/tst-fnmatch.input: Fix results for range expressions
14338 for non C locales.
14339 * posix/tst-regexloc.c: Do not use a range expression for
14340 de_DE.ISO-8859-1 locale.
14341
14342 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14343
14344 * posix/bug-regex5.c: Fix test case because with the new
14345 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14346 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14347 file.
14348
14349 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14350
14351 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14352 downloaded from ISO, the collation order of @-. and space has changed.
14353 Therefore, this test file needed to be adapted.
14354 * localedata/fr_CA.UTF-8.in: Likewise.
14355 * localedata/fr_FR.UTF-8.in: Likewise.
14356 * localedata/uk_UA.UTF-8.in: Likewise.
14357
14358 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14359
14360 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14361 order of ȥ in the new iso14651_t1_common file.
14362 * localedata/pl_PL.UTF-8.in: Likewise.
14363
14364 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14365
14366 * localedata/locales/iso14651_t1_common: Add sections for various
14367 scripts to the iso14651_t1_common file.
14368
14369 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14370
14371 * localedata/locales/iso14651_t1_common: Use the code point of a
14372 character in the fourth collation level instead of IGNORE for all
14373 entries which have IGNORE on all 4 levels.
14374
14375 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14376
14377 * localedata/locales/iso14651_t1_common: Add some convenient collation
14378 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14379 rules similar to those in CLDR.
14380
14381 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14382
14383 * localedata/locales/iso14651_t1_common: The new version of this
14384 file downloaded from ISO contained several syntax errors which
14385 are fixed by this patch.
14386
14387 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14388
14389 * localedata/locales/iso14651_t1_common: replace all <U.....>
14390 with <U000.....> because glibc understands only 4 digit or 8 digit
14391
14392 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14393
14394 * localedata/locales/iso14651_t1_common: Necessary changes
14395 to make the file downloaded from ISO usable by glibc.
14396
14397 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14398
14399 [BZ #14095]
14400 * localedata/locales/iso14651_t1_common: Update file to
14401 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14402
14403 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14404
14405 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14406 of <nptl/pthreadP.h>
14407 (thread_attr_compare): Move function to...
14408 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14409 * sysdeps/nptl/timer_routines.h: ... new header.
14410 * sysdeps/mach/hurd/gai_misc.h: New file.
14411
14412 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14413
14414 * string/strcoll_l.c: Include <libc-diag.h>.
14415 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14416 declarations of seq1 and seq2.
14417
14418 [BZ #15105]
14419 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14420 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14421
14422 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14423
14424 [BZ #22433]
14425 [BZ #22807]
14426 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14427 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14428 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14429 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14430 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14431 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14432
14433 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14434
14435 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14436 macros used in __ptrace_request.
14437
14438 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14439
14440 [BZ #22792]
14441 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14442 to $(CC).
14443 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14444 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14445 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14446 <tcb-offsets.h>.
14447
14448 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14449
14450 [BZ #15105]
14451 * ctype/ctype.c (tolower): Use libc_hidden_def.
14452 (toupper): Likewise.
14453 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14454 [!_ISOMAC] (toupper): Likewise.
14455
14456 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14457
14458 * localedata/Makefile: Remove --quiet argument when
14459 installing locales
14460
14461 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14462
14463 [BZ #17438]
14464 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14465 in d_fmt.
14466 * localedata/locales/pt_PT (LC_TIME): likewise
14467
14468 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14469
14470 [BZ #22646]
14471 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14472 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14473 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14474
14475 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14476
14477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14478
14479 * nptl/Makefile (routines): Remove unregister-atfork.
14480 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14481 (fork_handler_alloc): Remove function.
14482 (fork_handlers, fork_handler_init): New variables.
14483 (__fork_lock): Rename to atfork_lock.
14484 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14485 to use a dynamic array to add/remove atfork handlers.
14486 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14487 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14488 Remove declaration.
14489 (fork_handler): Remove next, refcntr, and need_signal member.
14490 (__run_fork_handler_type): New enum.
14491 (__run_fork_handlers): New prototype.
14492 * nptl/register-atfork.c: Remove file.
14493 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14494
14495 * sysdeps/nptl/nptl-signals.h: Move to ...
14496 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14497 comments.
14498 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14499 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14500 unnecessary check for SIGTIMER.
14501 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14502 remove unnecessary removal of SIGTIMER.
14503 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14504 include-signals.h rename.
14505 * nptl/pthreadP.h: Likewise.
14506 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14507 __is_internal_signal instead of __nptl_is_internal_signal.
14508
14509 2018-02-22 Andrew Waterman <andrew@sifive.com>
14510
14511 [BZ # 22884]
14512 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14513 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14514 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14515 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14516
14517 2018-02-22 DJ Delorie <dj@delorie.com>
14518
14519 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14520
14521 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14522
14523 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14524 do_misaligned, not misaligned8.
14525
14526 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14527
14528 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14529 Add memcpy_thunderx2.
14530 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14531 Increment to 4.
14532 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14533 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14534 and IS_THUNDERX2PA checks.
14535 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14536 Use macro to set name appropriately.
14537 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14538 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14539 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14540 New macro.
14541 (IS_THUNDERX2): New macro.
14542
14543 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14544
14545 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14546
14547 2018-02-21 Zack Weinberg <zackw@panix.com>
14548
14549 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14550 Define here, unconditionally.
14551 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14552 * libio/libioP.h: Remove #if 0 blocks.
14553 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14554 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14555 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14556
14557 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14558 Assume weak_alias is always defined.
14559
14560 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14561 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14562 Remove #if 0 and #ifdef TODO blocks.
14563 Assume text_set_element is always defined.
14564
14565 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14566 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14567 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14568
14569 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14570 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14571 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14572 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14573 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14574 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14575 Reformat bit flags for _flags field to make occupancy clearer.
14576 Update commentary.
14577 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14578 Keep definitions consistent with those in libio/libio.h.
14579
14580 * libio/libio.h (_IO_file_flags): Remove macro.
14581 All uses changed to _flags.
14582
14583 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14584 (__HAVE_COLUMN, _IO_BE): Don't define.
14585 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14586 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14587 * libio/libioP.h (EOF): Don't define.
14588 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14589 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14590 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14591 testing _IO_UNIFIED_JUMPTABLES.
14592
14593 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14594 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14595 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14596 (_IO_size_t): Delete; all uses changed to size_t.
14597 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14598 (_IO_off_t): Delete; all uses changed to off_t.
14599 (_IO_off64_t): Delete; all uses changed to off64_t.
14600 (_IO_pid_t): Delete; all uses changed to pid_t.
14601 (_IO_uid_t): Delete; all uses changed to uid_t.
14602 (_IO_wint_t): Delete; all uses changed to wint_t.
14603 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14604 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14605 (_IO_cookie_io_functions_t): Delete; all uses changed to
14606 cookie_io_functions_t.
14607 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14608 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14609 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14610 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14611
14612 * libio/iofopncook.c: Remove unnecessary forward declarations.
14613 * libio/iolibio.h: Correct outdated commentary.
14614 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14615 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14616 Remove unnecessary casts.
14617 * stdio-common/getline.c: Use _IO_getdelim directly.
14618 Don't redefine ssize_t.
14619 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14620 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14621 Remove outdated comments.
14622 * stdio-common/vfscanf.c: Don't redefine va_list.
14623
14624 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14625 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14626 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14627 which are always true, and __cplusplus, which is always false.
14628
14629 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14630
14631 [BZ #15105]
14632 [BZ #19463]
14633 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14634 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14635 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14636 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14637 libc_hidden_proto.
14638 [!_ISOMAC] (putc_unlocked): Likewise.
14639 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14640 define inline if [__USE_EXTERN_INLINES].
14641 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14642 putc_unlocked.
14643
14644 [BZ #15105]
14645 [BZ #19463]
14646 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14647 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14648 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14649 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14650 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14651 getc_unlocked.
14652 * time/tzfile.c (__tzfile_read): Likewise.
14653
14654 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14655
14656 [BZ #22517]
14657 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14658
14659 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14660
14661 * io/fcntl.h: Fix a typo in a comment.
14662
14663 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14664
14665 [BZ #22862]
14666 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14667 define _DEFAULT_SOURCE.
14668 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14669
14670 2018-02-21 Florian Weimer <fweimer@redhat.com>
14671
14672 [BZ #20890]
14673 * elf/cache.c (save_cache): Call fsync on temporary file before
14674 renaming it.
14675 (save_aux_cache): Call fdatasync on temporary file before renaming
14676 it.
14677
14678 2018-02-21 Florian Weimer <fweimer@redhat.com>
14679
14680 [BZ #22787]
14681 * include/caller.h: Remove file.
14682 * elf/dl-caller.c: Likewise.
14683 * elf/Makefile (dl-routines): Remove dl-caller.
14684 (shared-only-routines): Do not add dl-caller.
14685 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14686 __check_caller.
14687 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14688 member.
14689 (dl_open_worker): Do not call __check_caller.
14690 (_dl_open): Do not set caller_dl_open member.
14691 * elf/rtld.c (_rtld_global_ro): Do not initialize
14692 _dl_check_caller member.
14693 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14694 _dl_check_caller member.
14695 (_dl_check_caller): Remove declaration.
14696 * sysdeps/unix/sysv/linux/dl-execstack.c
14697 (_dl_make_stack_executable): Do not call __check_caller.
14698
14699 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14700
14701 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14702 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14703
14704 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14705
14706 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14707 description.
14708
14709 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14710
14711 [BZ #16335]
14712 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14713 of 199606L, 200112L, and 200809L.
14714 (_XOPEN_SOURCE): Document special values of 600 and 700.
14715 (_ISOC11_SOURCE): Document macro.
14716 (_ATFILE_SOURCE): Likewise.
14717 (_FORTIFY_SOURCE): Likewise.
14718
14719 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14720
14721 [BZ #15105]
14722 [BZ #19463]
14723 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14724 and define as weak alias of __ferror_unlocked. Use
14725 libc_hidden_weak.
14726 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14727 libc_hidden_proto.
14728 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14729 function if [__USE_EXTERN_INLINES].
14730 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14731 ferror_unlocked.
14732
14733 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14734
14735 [BZ #6889]
14736 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14737
14738 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14739
14740 [BZ #22818]
14741 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14742 the GLIBC_2.1 version.
14743
14744 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14745
14746 [BZ #21508]
14747 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14748 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14749 intl/tst-gettext-de.po from po/de.po by removing the
14750 POT-Creation-Date line.
14751 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14752 ../po/de.po.
14753 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14754 ../po/de.po.
14755
14756 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14757
14758 * mach/Makefile (headers): Add mach/param.h.
14759 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14760 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14761 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14762 (__ptsname_r): Move implementation to...
14763 (__ptsname_internal): ... new function. Add filling the STP
14764 structure.
14765
14766 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14767
14768 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14769 idouble to 1 ULP.
14770
14771 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14772
14773 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14774 syntax.
14775
14776 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14777
14778 * nptl/Makefile (tst-mutex8-ENV): Delete.
14779 * nptl/tst-mutex8.c (check_type):
14780 Add runtime check if mutex will be elided.
14781
14782 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14783
14784 [BZ #20980]
14785 [BZ #21234]
14786 * manual/install.texi (Configuring and compiling): Describe
14787 passing CC and CFLAGS on configure command line, not as
14788 environment variables. Use @code markup on those variables.
14789 Specify what options go in CC and what go in CFLAGS. Note the
14790 requirement to compile with optimization.
14791 * INSTALL: Regenerated.
14792
14793 [BZ #18124]
14794 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14795 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14796 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14797 __sigprocmask instead of sigprocmask.
14798 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14799 Likewise.
14800 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14801 __sigsetjmp and sigprocmask.
14802
14803 [BZ #15105]
14804 * include/argz.h (argz_next): Use libc_hidden_proto.
14805 (__argz_next): Likewise.
14806 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14807 (argz_next): Use libc_hidden_weak.
14808
14809 [BZ #15105]
14810 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14811 libc_hidden_proto.
14812 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14813 libc_hidden_def.
14814
14815 [BZ #15105]
14816 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14817 libc_hidden_proto.
14818 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14819
14820 [BZ #15105]
14821 [BZ #19463]
14822 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14823 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14824 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14825 (__feof_unlocked): New declaration, and inline function if
14826 [__USE_EXTERN_INLINES].
14827 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14828 instead of feof_unlocked.
14829 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14830 * nss/nsswitch.c (nss_parse_file): Likewise.
14831 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14832 Likewise.
14833 * time/getdate.c (__getdate_r): Likewise.
14834 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14835 Define as macro to call __feof_unlocked.
14836
14837 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14838
14839 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14840
14841 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14842
14843 * math/Makefile: Remove mpexp.c and mplog.c
14844 * sysdeps/i386/fpu/mpexp.c: Delete file.
14845 * sysdeps/i386/fpu/mplog.c: Likewise.
14846 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14847 * sysdeps/ia64/fpu/mplog.c: Likewise.
14848 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14849 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14850 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14851 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14852 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14853 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14854 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14855 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14856 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14857 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14858 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14859 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14860 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14861 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14862 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14863 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14864
14865 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14866
14867 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14868
14869 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14870
14871 * sysdeps/sh/libm-test-ulps: Update.
14872
14873 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14874
14875 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14876 idouble to 1 ULP.
14877
14878 2018-02-12 Zack Weinberg <zackw@panix.com>
14879
14880 [BZ #19239]
14881 * posix/sys/types.h: Don't include sys/sysmacros.h.
14882 * misc/sys/sysmacros.h: Remove the conditional deprecation
14883 warnings for the macros defined by this header.
14884
14885 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14886
14887 * manual/probes.texi: Remove slowexp probes.
14888 * math/Makefile: Remove slowexp.
14889 * sysdeps/generic/math_private.h (__slowexp): Remove.
14890 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14891 document error bounds.
14892 * sysdeps/i386/fpu/slowexp.c: Remove.
14893 * sysdeps/ia64/fpu/slowexp.c: Remove.
14894 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14895 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14896 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14897 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14898 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14899 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14900 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14901 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14902 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14903 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14904 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14905
14906 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14907
14908 [BZ #13932]
14909 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14910 * benchtests/pow-inputs: Update comment for slow path cases.
14911 * manual/probes.texi (slowpow_p10): Delete removed probe.
14912 (slowpow_p10): Likewise.
14913 * math/Makefile: Remove halfulp.c and slowpow.c.
14914 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14915 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14916 (__halfulp): Remove.
14917 (__slowpow): Remove.
14918 * sysdeps/i386/fpu/halfulp.c: Delete file.
14919 * sysdeps/i386/fpu/slowpow.c: Likewise.
14920 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14921 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14922 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14923 improve comments and add error analysis.
14924 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14925 (power1): Remove function:
14926 (log1): Remove error argument, add error analysis.
14927 (my_log2): Remove function.
14928 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14929 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14930 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14931 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14932 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14933 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14934 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14935 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14936 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14937 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14938 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14939 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14940 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14941 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14942
14943 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14944
14945 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14946 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14947
14948 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14949
14950 [BZ #22433]
14951 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14952 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14953 and PTRACE_SETHBPREGS.
14954
14955 2018-02-10 Zack Weinberg <zackw@panix.com>
14956
14957 [BZ #22830]
14958 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14959 correctly.
14960 * malloc/tst-malloc-stats-cancellation.c: New test case.
14961 * malloc/Makefile: Add new test case.
14962
14963 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14964
14965 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14966
14967 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14968
14969 * math/Makefile (libm-narrow-fns): Add add.
14970 (libm-test-funcs-narrow): Likewise.
14971 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14972 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14973 * math/gen-auto-libm-tests.c (test_functions): Add add.
14974 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14975 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14976 (NARROW_ADD_TRIVIAL): Likewise.
14977 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14978 macro.
14979 (__daddl): Likewise.
14980 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14981 dadd.
14982 (CFLAGS-nldbl-dadd.c): New variable.
14983 (CFLAGS-nldbl-fadd.c): Likewise.
14984 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14985 __nldbl_daddl.
14986 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
14987 prototype.
14988 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
14989 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
14990 * math/auto-libm-test-in: Add tests of add.
14991 * math/auto-libm-test-out-narrow-add: New generated file.
14992 * math/libm-test-narrow-add.inc: New file.
14993 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14994 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
14995 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
14996 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
14997 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
14998 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
14999 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15000 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15001 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15003 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15004 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15005 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15006 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15007 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15008 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15009 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15010 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15012 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15013 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15014 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15015 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15016 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15017 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15018 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15019 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15020 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15021 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15022 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15023 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15024 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15029 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15030 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15031 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15032 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15033 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15034 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15035 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15036 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15037 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15038 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15039
15040 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15041 (f128-pairs): New variable.
15042 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15043 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15044 to CFLAGS.
15045 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15046 Also make tests add $(f128-loader-link) to gnulib-tests.
15047
15048 2018-02-09 DJ Delorie <dj@redhat.com>
15049
15050 [BZ #22827]
15051 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15052 64-bit ELF type for 64-bit ELF objects.
15053
15054 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15055
15056 * math/libm-test-driver.c (snan_tests_arg): New variable.
15057 * math/libm-test-support.h (snan_tests_arg): New declaration.
15058 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15059
15060 * math/Makefile (test-type-pairs): New variable.
15061 (test-type-pairs-f64xf128-yes): Likewise.
15062 (tests): Add test-narrow-macros.
15063 (libm-test-funcs-narrow): New variable.
15064 (libm-test-c-narrow): Likewise.
15065 (generated): Add $(libm-test-c-narrow).
15066 (libm-tests-base-narrow): New variable.
15067 (libm-tests-narrow): Likewise.
15068 (libm-tests): Add $(libm-tests-narrow).
15069 (libm-tests-for-type): Handle $(libm-tests-narrow).
15070 (libm-test-c-narrow-obj): New variable.
15071 ($(libm-test-c-narrow-obj)): New rule.
15072 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15073 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15074 $(o-iterator) to set dependencies and CFLAGS.
15075 * math/gen-auto-libm-tests.c: Document use for narrowing
15076 functions.
15077 (output_for_one_input_case): Take argument NARROW.
15078 (generate_output): Likewise. Update call to
15079 output_for_one_input_case.
15080 (main): Take --narrow option. Update call to generate_output.
15081 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15082 (apply_lit): Update call to _apply_lit.
15083 (apply_arglit): New function.
15084 (parse_args): Handle "a" arguments.
15085 (parse_auto_input): Handle format names using ":".
15086 * math/README.libm-test: Document "a" parameter type.
15087 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15088 (ARG_TYPE_TRUE_MIN): Likewise.
15089 (ARG_TYPE_MAX): Likwise.
15090 (ARG_MIN_EXP): Likewise.
15091 (ARG_MAX_EXP): Likewise.
15092 (ARG_MANT_DIG): Likewise.
15093 (TEST_COND_arg_ibm128): Likewise.
15094 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15095 (TEST_COND_arg_fmt): New macro.
15096 (init_max_error): Update prototype.
15097 * math/libm-test-support.c (test_ibm128): New variable.
15098 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15099 instead of using [TEST_COND_ibm128] conditional.
15100 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15101 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15102 [TEST_NARROW] (TEST_MSG): New definition.
15103 (arg_plus_zero): New macro.
15104 (arg_minus_zero): Likewise.
15105 (arg_plus_infty): Likewise.
15106 (arg_minus_infty): Likewise.
15107 (arg_qnan_value_pl): Likewise.
15108 (arg_qnan_value): Likewise.
15109 (arg_snan_value_pl): Likewise.
15110 (arg_snan_value): Likewise.
15111 (arg_max_value): Likewise.
15112 (arg_min_value): Likewise.
15113 (arg_min_subnorm_value): Likewise.
15114 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15115 (RUN_TEST_LOOP_aa_f): New macro.
15116 (TEST_SUFF): New macro.
15117 (TEST_SUFF_STR): Likewise.
15118 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15119 (TEST_COND_any_ibm128): New macro.
15120 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15121 this_func. Update call to init_max_error.
15122 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15123 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15124 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15125 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15126 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15127 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15128 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15129 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15130 * math/test-math-vector.h (TEST_NARROW): Likewise.
15131 * math/test-arg-double.h: New file.
15132 * math/test-arg-float128.h: Likewise.
15133 * math/test-arg-float32x.h: Likewise.
15134 * math/test-arg-float64.h: Likewise.
15135 * math/test-arg-float64x.h: Likewise.
15136 * math/test-arg-ldouble.h: Likewise.
15137 * math/test-math-narrow.h: Likewise.
15138 * math/test-narrow-macros.c: Likewise.
15139 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15140 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15141 test-narrow-macros-ldbl-64.
15142 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15143
15144 * math/bits/mathcalls-narrow.h: New file.
15145 * include/bits/mathcalls-narrow.h: Likewise.
15146 * math/math-narrow.h: Likewise.
15147 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15148 (__MATHCALL_NARROW_ARGS_2): Likewise.
15149 (__MATHCALL_NARROW_ARGS_3): Likewise.
15150 (__MATHCALL_NARROW_NORMAL): Likewise.
15151 (__MATHCALL_NARROW_REDIR): Likewise.
15152 (__MATHCALL_NARROW): Likewise.
15153 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15154 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15155 defined.
15156 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15157 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15158 (libm-narrow-fns): New variable.
15159 (libm-narrow-types-basic): Likewise.
15160 (libm-narrow-types-ldouble-yes): Likewise.
15161 (libm-narrow-types-float128-yes): Likewise.
15162 (libm-narrow-types-float128-alias-yes): Likewise.
15163 (libm-narrow-types): Likewise.
15164 (libm-routines): Add narrowing functions.
15165 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15166 (libc_feholdexcept_setroundf128): New macro.
15167 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15168 * sysdeps/ieee754/float128/float128_private.h: Include
15169 <math/math-narrow.h>.
15170 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15171 Undefine and redefine.
15172 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15173 (libm_alias_float_ldouble): Undefine and redefine.
15174 (libm_alias_double_ldouble): Likewise.
15175
15176 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15177
15178 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15179
15180 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15181 FPCR/FPSR.
15182
15183 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
15184
15185 * manual/creature.texi: Convert references to gcc.info to gcc.
15186 * manual/stdio.texi: Likewise.
15187 * manual/string.texi: Likewise.
15188
15189 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15190
15191 [BZ #17979]
15192 * posix/bits/types.h (__int_least8_t): New typedef.
15193 (__uint_least8_t): Likewise.
15194 (__int_least16_t): Likewise.
15195 (__uint_least16_t): Likewise.
15196 (__int_least32_t): Likewise.
15197 (__uint_least32_t): Likewise.
15198 (__int_least64_t): Likewise.
15199 (__uint_least64_t): Likewise.
15200 * sysdeps/generic/stdint.h (int_least8_t): Define using
15201 __int_least8_t.
15202 (int_least16_t): Define using __int_least16_t.
15203 (int_least32_t): Define using __int_least32_t.
15204 (int_least64_t): Define using __int_least64_t.
15205 (uint_least8_t): Define using __uint_least8_t.
15206 (uint_least16_t): Define using __uint_least16_t.
15207 (uint_least32_t): Define using __uint_least32_t.
15208 (uint_least64_t): Define using __uint_least64_t.
15209 * wcsmbs/uchar.h: Include <bits/types.h>.
15210 (char16_t): Define using __uint_least16_t conditional only on
15211 [!__USE_ISOCXX11].
15212 (char32_t): Define using __uint_least32_t conditional only on
15213 [!__USE_ISOCXX11].
15214 * wcsmbs/test-char-types.c: New file.
15215 * wcsmbs/Makefile (tests): Add test-char-types.
15216
15217 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15218 version to 4.0.1.
15219
15220 2018-02-07 Zack Weinberg <zackw@panix.com>
15221
15222 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15223 Delete all contents except for definitions of _G_HAVE_MMAP and
15224 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15225 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15226 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15227 change as above.
15228
15229 * libio/libio.h: Don't include bits/_G_config.h here.
15230 Include stddef.h with __need_wchar_t defined. Include
15231 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15232 Define _IO_iconv_t here, directly.
15233 Don't define _IO_HAVE_ST_BLKSIZE.
15234 * libio/libioP.h: Include _G_config.h here. Move include of
15235 shlib-compat.h up with rest of includes. Simplify conditionals
15236 controlling definition of _IO_JUMPS_OFFSET.
15237
15238 * csu/init.c: Remove always-true #if around entire file.
15239 Don't include stdio.h. Set _IO_stdin_used to hardwired
15240 constant 0x20001, and update commentary.
15241 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15242 Replace all uses of _G_va_list with __gnuc_va_list.
15243 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15244 instead of #if _IO_HAVE_ST_BLKSIZE.
15245 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15246 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15247 not #ifdef.
15248
15249 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15250 multiple-include guard to match.
15251 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15252 into this file.
15253 Remove preprocessor conditionals that are always true and/or
15254 redundant to other preprocessor conditionals in the same nest.
15255 Include shlib-compat.h unconditionally.
15256 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15257 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15258 defined after including stdio.h.
15259 Use __BEGIN_DECLS/__END_DECLS.
15260
15261 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15262 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15263 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15264
15265 2018-02-07 Zack Weinberg <zackw@panix.com>
15266
15267 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15268 New single-type headers split from _G_config.h.
15269 * libio/bits/types/cookie_io_functions_t.h
15270 * libio/bits/types/struct_FILE.h
15271 New single-type headers split from libio.h.
15272
15273 * libio/Makefile: Install the above new headers. Don't install
15274 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15275 bits/libio-ldbl.h.
15276 * libio/_G_config.h, libio/libio.h: Delete file.
15277
15278 * libio/bits/libio.h: Remove improper-inclusion guard.
15279 Include stdio.h and don't repeat anything that it does.
15280 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15281 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15282 __io_read_fn as cookie_read_function_t,
15283 __io_write_fn as cookie_write_function_t,
15284 __io_seek_fn as cookie_seek_function_t,
15285 __io_close_fn as cookie_close_function_t,
15286 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15287 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15288 here, in the "compatibility defines" section. Remove an #if 0
15289 block. Use the "body" macros from bits/types/struct_FILE.h to
15290 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15291 and _IO_ferror_unlocked.
15292 Move prototypes of __uflow and __overflow...
15293
15294 * libio/stdio.h: ...here. Don't include bits/libio.h.
15295 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15296 directly from stdarg.h. Include bits/types/__fpos_t.h,
15297 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15298 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15299 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15300 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15301 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15302 __ssize_t, not _IO_ssize_t. Unconditionally define
15303 BUFSIZ as 8192 and EOF as (-1).
15304
15305 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15306 macros from bits/types/struct_FILE.h instead of _IO_* macros
15307 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15308 instead of _IO_ssize_t.
15309 * libio/bits/stdio2.h: Similarly.
15310
15311 * libio/iolibio.h: Add multiple-include guard.
15312 Include bits/libio.h after stdio.h.
15313 * libio/libioP.h: Add multiple-include guard.
15314 Include stdio.h and bits/libio.h before iolibio.h.
15315
15316 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
15317 * include/bits/types/cookie_io_functions_t.h
15318 * include/bits/types/struct_FILE.h: New wrappers.
15319
15320 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15321 Get definitions of _G_fpos_t and _G_fpos64_t from
15322 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15323 respectively. Remove improper-inclusion guards.
15324
15325 * conform/data/stdio.h-data: Update expectations of va_list.
15326 * scripts/check-installed-headers.sh: Remove special case for
15327 libio.h and _G_config.h.
15328
15329 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15330
15331 [BZ #15105]
15332 [BZ #19463]
15333 * include/sys/sysmacros.h [!_ISOMAC]
15334 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15335 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15336 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15337 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15338 libc_hidden_proto.
15339 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15340 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15341 Likewise.
15342 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15343 Undefine and redefine to add use __gnu_dev_ prefix.
15344 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15345 Likewise.
15346 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15347 and define as hidden inline function.
15348 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15349 Likewise.
15350 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15351 Likewise.
15352 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15353 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15354 (gnu_dev_minor): Likewise.
15355 (gnu_dev_makedev): Likewise.
15356 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15357 makedev.
15358 * posix/wordexp.c (exec_comm_child): Likewise.
15359 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15360 instead of minor and __gnu_dev_major instead of major.
15361 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15362 __gnu_dev_major instead of major.
15363 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15364 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15365 instead of gnu_dev_minor.
15366 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15367 (SLAVE_P): Likewise.
15368 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15369 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15370 instead of major.
15371
15372 [BZ #21313]
15373 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15374 in another place.
15375 * locale/weightwc.h (findidx): Likewise.
15376
15377 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15378
15379 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15380 (slowlog_inexact): Likewise
15381 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15382 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15383
15384 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15385
15386 [BZ #22797]
15387 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15388 missing second underscore to parameter name.
15389
15390 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15391
15392 [BZ #14508]
15393 [BZ #15512]
15394 [BZ #17082]
15395 [BZ #20530]
15396 * bits/byteswap.h: Update file comment. Do not include
15397 <bits/byteswap-16.h>.
15398 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15399 constant.
15400 (__bswap_16): Define as inline function.
15401 (__bswap_constant_32): Reformat definition.
15402 (__bswap_32): Always define as inline function, not macro, using
15403 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15404 otherwise __bswap_constant_32.
15405 (__bswap_constant_64): Reformat definition. Do not use
15406 __extension__ here.
15407 (__bswap_64): Always define as inline function, not macro. Use
15408 __extension__ on function definition. Use __builtin_bswap64 if
15409 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15410 * string/test-endian-file-scope.c: New file.
15411 * string/test-endian-sign-conversion.c: Likewise.
15412 * string/Makefile (headers): Remove bits/byteswap-16.h.
15413 (tests): Add test-endian-file-scope and
15414 test-endian-sign-conversion.
15415 (CFLAGS-test-endian-sign-conversion.c): New variable.
15416 * bits/byteswap-16.h: Remove file.
15417 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15418 * sysdeps/ia64/bits/byteswap.h: Likewise.
15419 * sysdeps/m68k/bits/byteswap.h: Likewise.
15420 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15421 * sysdeps/s390/bits/byteswap.h: Likewise.
15422 * sysdeps/tile/bits/byteswap.h: Likewise.
15423 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15424 * sysdeps/x86/bits/byteswap.h: Likewise.
15425
15426 [BZ #17721]
15427 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15428 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15429 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15430 199901L] (__restrict): Define to restrict.
15431
15432 [BZ #19667]
15433 * string/testcopy.c: Include <support/support.h>. Do not include
15434 <malloc.h>. Use <support/test-driver.c>.
15435 (main): Rename to do_test. Make static. Use xmalloc instead of
15436 malloc.
15437
15438 [BZ #13575]
15439 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15440 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15441 (SSIZE_MAX): Define to INT_MAX.
15442 * posix/test-ssize-max.c: New file.
15443 * posix/Makefile (tests): Add test-ssize-max.
15444
15445 [BZ #19668]
15446 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15447 <support/support.h>. Do not include <malloc.h>.
15448 (query_auxv): Use xmalloc instead of malloc.
15449
15450 [BZ #14553]
15451 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15452 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15453 instead of loff_t.
15454
15455 2018-02-06 Florian Weimer <fweimer@redhat.com>
15456
15457 [BZ #18023]
15458 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15459 Use scratch_buffer instead of extend_alloca.
15460
15461 2018-02-06 Zack Weinberg <zackw@panix.com>
15462
15463 * libio/stdio.h: Don't define getc or putc as macros.
15464 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15465 not _IO_getc and _IO_putc.
15466
15467 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15468 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15469
15470 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15471
15472 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15473 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15474
15475 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15476
15477 [BZ #14890]
15478 * elf/elf.h (NT_PRFPREG): New macro.
15479 (NT_S390_VXRS_LOW): Likewise.
15480 (NT_S390_VXRS_HIGH): Likewise.
15481 (NT_S390_GS_CB): Likewise.
15482 (NT_S390_GS_BC): Likewise.
15483 (NT_S390_RI_CB): Likewise.
15484
15485 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15486 (MAP_SYNC): New macro.
15487 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15488 Likewise.
15489 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15490 (MAP_SYNC): Likewise.
15491 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15492 (MAP_SYNC): Likewise.
15493 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15494 (MAP_SYNC): Likewise.
15495 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15496 (MAP_SYNC): Likewise.
15497 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15498 (MAP_SYNC): Likewise.
15499 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15500 (MAP_SYNC): Likewise.
15501 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15502 Likewise.
15503 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15504 Likewise.
15505
15506 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15507 (MAP_SHARED_VALIDATE): New macro.
15508 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15509 (MAP_SHARED_VALIDATE): Likewise.
15510
15511 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15512
15513 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15514 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15515 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15516
15517 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15518
15519 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15520 (DT_NUM): Updated to 35.
15521
15522 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15523
15524 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15525 __builtin_expect with __glibc_likely and __glibc_unlikely.
15526 (elf_machine_rela): Likewise.
15527 (elf_machine_lazy_rel): Likewise.
15528
15529 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15530
15531 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15532 __builtin_expect with __glibc_likely and __glibc_unlikely.
15533 (elf_machine_lazy_rel): Likewise.
15534
15535 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15536
15537 [BZ #22638]
15538 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15539 SHARED.
15540 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15541
15542 2018-02-05 Andreas Schwab <schwab@suse.de>
15543
15544 [BZ #22761]
15545 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15546 string.
15547
15548 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15549
15550 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15551 not check against PTHREAD_STACK_MIN.
15552
15553 2018-02-02 Sean McKean <smckean83@gmail.com>
15554
15555 [BZ #22735]
15556 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15557
15558 2018-02-02 Florian Weimer <fweimer@redhat.com>
15559
15560 [BZ #22753]
15561 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15562 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15563 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15564 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15565 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15566 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15567 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15568 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15569 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15570 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15571 * misc/tst-preadvwritev2.c (do_test): Call it.
15572 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15573
15574 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15575
15576 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15577
15578 * benchtests/bench-memcmp.c: Print json instead of plain text.
15579
15580 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15581 every test run.
15582
15583 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15584
15585 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15586 version to 4.15.
15587 (s390_sthyi): New syscall.
15588
15589 * sysdeps/generic/ldbl-classify-compat.h: New file.
15590 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15591 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15592 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15593 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15594 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15595 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15596 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15597 <ldbl-classify-compat.h>.
15598 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15599 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15600 <ldbl-classify-compat.h>.
15601 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15602 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15603 <ldbl-classify-compat.h>.
15604 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15605 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15606 <ldbl-classify-compat.h>.
15607 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15608 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15609 <ldbl-classify-compat.h>.
15610 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15611 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15612 <ldbl-classify-compat.h>.
15613 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15614 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15615 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15616 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15617 * sysdeps/microblaze/math_private.h: Likewise.
15618 * sysdeps/nios2/math_private.h: Likewise.
15619 * sysdeps/sh/math_private.h: Likewise.
15620
15621 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15622 * sysdeps/m68k/coldfire/math_private.h: ... here.
15623 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15624 * sysdeps/tile/math_private.h: Likewise.
15625 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15626 Remove macro.
15627 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15628 Likewise.
15629
15630 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15631 Remove macro.
15632 (libc_fetestexcept): Likewise.
15633 (libc_feupdateenv_test): Likewise.
15634 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15635 (libc_fetestexcept): Likewise.
15636 (libc_feupdateenv_test): Likewise.
15637 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15638 (libc_fetestexcept): Likewise.
15639 (libc_feupdateenv_test): Likewise.
15640 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15641 (libc_fetestexcept): Likewise.
15642 (libc_feupdateenv_test): Likewise.
15643
15644 * sysdeps/generic/math_private.h
15645 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15646 New inline function.
15647 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15648 Likewise.
15649
15650 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15651 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15652 * sysdeps/generic/math_private.h
15653 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15654 inline function.
15655 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15656 Likewise.
15657 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15658 Likewise.
15659 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15660 Likewise.
15661 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15662 Likewise.
15663 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15664 Likewise.
15665 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15666 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15667 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15668 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15669 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15670 (__fegetenv): Likewise.
15671 (fesetenv): Likewise.
15672 (__fesetenv): Likewise.
15673 (feupdateenv): Likewise.
15674 (__feupdateenv): Likewise.
15675 (fegetround): Likewise.
15676 (__fegetround): Likewise.
15677 (fesetround): Likewise.
15678 (__fesetround): Likewise.
15679
15680 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15681 (feraiseexcept): New macro.
15682 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15683 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15684 Remove macro.
15685 (__feraiseexcept): Likewise.
15686 (feclearexcept): Likewise.
15687 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15688 (__feraiseexcept): Likewise.
15689 (feclearexcept): Likewise.
15690 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15691 (__feraiseexcept): Likewise.
15692 (feclearexcept): Likewise.
15693 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15694 (__feraiseexcept): Likewise.
15695 (feclearexcept): Likewise.
15696 (fetestexcept): Likewise.
15697
15698 * sysdeps/m68k/coldfire/math-tests.h: New file.
15699
15700 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15701 * sysdeps/m68k/bits/fenv.h: ... here.
15702 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15703 not define.
15704 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15705 Likewise.
15706 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15707 Likewise.
15708 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15709 Likewise.
15710 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15711 Likewise.
15712 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15713 Define to 0.
15714 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15715 (__FE_UNDEFINED): New enum constant.
15716 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15717 Do not define.
15718 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15719 Likewise.
15720 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15721 Likewise.
15722 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15723 to match generic bits/fenv.h.
15724 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15725 Do not define.
15726
15727 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15728 packed on bits.
15729 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15730 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15731 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15732 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15733
15734 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15735 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15736 Joseph Myers <joseph@codesourcery.com>
15737
15738 [BZ #21314]
15739 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15740 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15741 computation using c.
15742 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15743 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15744 computation using c.
15745
15746 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15747
15748 * version.h (RELEASE): Set to "development".
15749 (VERSION): Set to "2.27.9000".
15750 * NEWS (2.28): New section.
15751
15752 * version.h (RELEASE): Set to "stable".
15753 (VERSION): Set to "2.27".
15754 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15755
15756 * NEWS: Add the list of bugs fixed in 2.27.
15757
15758 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15759
15760 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15761 against PTHREAD_STACK_MIN.
15762
15763 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15764
15765 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15766 New entries.
15767 (Rafal Luzynski, Andreas Schwab): Update.
15768
15769 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15770
15771 [BZ #10871]
15772 * NEWS: List the languages which actually use the alternative
15773 months feature in this release. Also explain that "alt_mon" and
15774 "ab_alt_mon" are optional.
15775
15776 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15777
15778 [BZ #22765]
15779 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15780
15781 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15782
15783 * manual/install.texi (Tools for Compilation): Update the newest
15784 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15785 * INSTALL: Regenerated.
15786
15787 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15788
15789 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15790 instead of __builtin_expect.
15791
15792 2018-01-30 Florian Weimer <fweimer@redhat.com>
15793
15794 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15795 data.
15796 * nss/tst-nss-getpwent.c (do_test): Likewise.
15797
15798 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15799
15800 [BZ #10871]
15801 * localedata/locales/hr_HR (mon): Rename to...
15802 (alt_mon): This.
15803 (mon): Import from CLDR (genitive case).
15804 (d_t_fmt): Update the comment.
15805
15806 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15807
15808 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15809 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15810 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15811
15812 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15813
15814 * mach/Versions: Fix version when __mach_host_self_ was added.
15815 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15816 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15817 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15818 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15819 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15820 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15821 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15822 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15823 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15824 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15825 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15826 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15827 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15828 || to respect codestyle.
15829 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15830 (do_test_bz20181): Rename accordingly.
15831 * malloc/malloc.c: Include <assert.h>.
15832 (assert): Do not define.
15833 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15834 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15835 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15836 * sysdeps/mach/hurd/hp-timing.h: New file.
15837 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15838
15839 2018-01-29 Darius Rad <darius@bluespec.com>
15840
15841 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15842
15843 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15844
15845 * sysdeps/init_array/crti.S (.section .init_array): Add
15846 PREINIT_FUNCTION when defined.
15847 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15848 * config.h.in: Regenerate.
15849 * manual/platform.texi: Add RISC-V documenation for
15850 __riscv_flush_icache.
15851 * sysdeps/riscv/__longjmp.S: New file.
15852 * sysdeps/riscv/backtrace.c: Likewise.
15853 * sysdeps/riscv/bits/endian.h: Likewise.
15854 * sysdeps/riscv/bits/setjmp.h: Likewise.
15855 * sysdeps/riscv/bits/wordsize.h: Likewise.
15856 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15857 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15858 * sysdeps/riscv/dl-trampoline.S: Likewise.
15859 * sysdeps/riscv/gccframe.h: Likewise.
15860 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15861 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15862 * sysdeps/riscv/machine-gmon.h: Likewise.
15863 * sysdeps/riscv/memusage.h: Likewise.
15864 * sysdeps/riscv/setjmp.S: Likewise.
15865 * sysdeps/riscv/sys/asm.h: Likewise.
15866 * sysdeps/riscv/tls-macros.h: Likewise.
15867 * sysdeps/riscv/dl-tls.h: New file.
15868 * sysdeps/riscv/libc-tls.c: Likewise.
15869 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15870 * sysdeps/riscv/nptl/tls.h: Likewise.
15871 * sysdeps/riscv/stackinfo.h: Likewise.
15872 * sysdeps/riscv/bits/fenv.h: New file.
15873 * sysdeps/riscv/e_sqrtl.c: Likewise.
15874 * sysdeps/riscv/fpu_control.h: Likewise.
15875 * sysdeps/riscv/math-tests.h: Likewise.
15876 * sysdeps/riscv/nofpu/Implies: Likewise.
15877 * sysdeps/riscv/sfp-machine.h: Likewise.
15878 * sysdeps/riscv/tininess.h: Likewise.
15879 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15880 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15881 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15882 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15883 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15884 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15885 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15886 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15887 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15888 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15889 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15890 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15891 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15892 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15893 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15894 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15895 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15896 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15897 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15898 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15899 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15900 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15901 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15902 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15903 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15904 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15905 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15906 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15907 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15908 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15909 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15910 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15911 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15912 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15913 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15914 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15915 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15916 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15917 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15918 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15919 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15920 * sysdeps/riscv/rvf/math_private.h: Likewise.
15921 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15922 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15923 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15924 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15925 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15926 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15927 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15928 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15929 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15930 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15931 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15932 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15933 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15934 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15935 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15936 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15937 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15938 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15939 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15940 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15941 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15942 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15943 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15944 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15945 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15946 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15947 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15948 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15949 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15950 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15951 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15952 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15953 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15954 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15955 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15956 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15957 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15958 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15959 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15960 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15961 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15962 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15963 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15964 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15965 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15966 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15967 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15968 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15969 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15970 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15971 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15972 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15973 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15974 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15975 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15976 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15977 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15978 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15979 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15980 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15981 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15982 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15984 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15985 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15986 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15987 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15988 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15989 * sysdeps/riscv/Implies: New file.
15990 * sysdeps/riscv/Makefile: Likewise.
15991 * sysdeps/riscv/configure: Likewise.
15992 * sysdeps/riscv/configure.ac: Likewise.
15993 * sysdeps/riscv/nptl/Makefile: Likewise.
15994 * sysdeps/riscv/preconfigure: Likewise.
15995 * sysdeps/riscv/rv64/Implies-after: Likewise.
15996 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
15997 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
15998 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
15999 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16000 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16001 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16002 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16003 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16004 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16005 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16006 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16007 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16008 (Config): Likewise.
16009
16010 2018-01-29 Florian Weimer <fweimer@redhat.com>
16011
16012 [BZ #22701]
16013 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16014 libnsl_hidden_proto.
16015 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16016 libnsl_hidden_proto.
16017 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16018 * nis/Makefile (libnsl-routines): Add nss-default only for
16019 build-obsolete-nsl.
16020 * nis/nis_defaults.c (__nis_default_ttl): Add
16021 libnsl_hidden_nolink_def.
16022 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16023 declaration.
16024 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16025 * nis/ypclnt.c (yp_maplist): Likewise.
16026
16027 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16028
16029 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16030 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16031
16032 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16033
16034 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16035 clean -dxfq for git updates when replacing sources.
16036
16037 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16038 --disable-libcilkrts unconditionally, not just for the final GCC
16039 build for Hurd.
16040
16041 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16042 version to 4.15.
16043
16044 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16045
16046 [BZ #10871]
16047 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16048 case).
16049
16050 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16051
16052 [BZ #10871]
16053 * localedata/locales/be_BY (mon): Rename to...
16054 (alt_mon): This, then synchronize with CLDR (nominative case).
16055 (abmon): Rename to...
16056 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16057 (mon): Import from CLDR (genitive case).
16058 (abmon): Likewise.
16059 * localedata/locales/be_BY@latin (mon): Rename to...
16060 (alt_mon): This.
16061 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16062
16063 * localedata/locales/be_BY@latin (lang_name): Reworded to
16064 "biełaruskaja mova".
16065
16066 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16067
16068 [BZ #10871]
16069 * localedata/locales/el_CY (mon): Renamed to...
16070 (alt_mon): This.
16071 (mon): Import from CLDR (genitive case).
16072 * localedata/locales/el_GR: Likewise.
16073
16074 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16075
16076 [BZ #10871]
16077 * localedata/locales/ru_RU (mon): Rename to...
16078 (alt_mon): This.
16079 (abmon): Rename to...
16080 (ab_alt_mon): This.
16081 (mon): Import from CLDR (genitive case).
16082 (abmon): Copy from the old content except the 5th month which is
16083 now in the genitive case, even when abbreviated.
16084 * localedata/locales/ru_UA: Likewise.
16085 * time/tst-strptime.c (day_tests): Add an actual example of
16086 a difference between %b and %Ob in Russian.
16087
16088 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16089
16090 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
16091 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16092 a `c' variable.
16093 * resolv/res-close.c: Include <stdlib.h>.
16094 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16095 <sys/wait.h>, <time.h>, <sys/uio.h>.
16096 (NOT_CANCEL_H): Add inclusion guard.
16097 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
16098 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16099 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16100 return 0.
16101 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16102 vm_address_t * to ElfW(Addr) * for dl_main parameter.
16103 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16104 instead of void *.
16105 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16106 timer_ptr2id to cast struct timer_node * to void *.
16107 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16108 --disable-libcilkrts to gcc configure.
16109 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16110 and make them the default for now.
16111 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16112 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
16113 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16114 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16115 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16116 MACH_IPC_COMPAT.
16117 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16118 __task_terminate would ever return successfully.
16119 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16120 to global scope.
16121 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16122 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
16123 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16124 critical section to make code simpler and avoid warning.
16125 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16126 critical section to make code simpler and avoid warning.
16127 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16128 const char * instead of char *.
16129 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16130 __hurd_file_name_split, hurd_file_name_split,
16131 __hurd_directory_name_split, hurd_directory_name_split,
16132 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16133 hurd_file_name_path_lookup): Make lookup function parameter take a
16134 const char *name instead of char *name.
16135 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16136 __hurd_directory_name_split): Likewise.
16137 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16138 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16139 * sysdeps/mach/hurd/check_native.c: New file.
16140 * sysdeps/mach/hurd/check_pf.c: New file.
16141 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16142 (__freeifaddrs): Define macro to freeifaddrs.
16143 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16144 * sysdeps/mach/libmachuser.abilist: New file.
16145 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16146 (do_test_bz20181): Rename accordingly.
16147 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16148 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16149 <sys/mount.h>.
16150 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16151 version only if __USE_EXTERN_INLINES is defined.
16152 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16153 __hurd_sockfail): Likewise.
16154 (_hurd_fd_get): Always declare functions, and provide inline versions
16155 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16156 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16157 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16158 _hurd_port_set): Always declare functions, and provide inline versions
16159 only if __USE_EXTERN_INLINES and _LIBC are defined and
16160 IS_IN(libc).
16161 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16162 _hurd_critical_section_unlock): Likewise.
16163 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16164 * __hurd_threadvar_location): Likewise.
16165 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16166 _hurd_userlink_clear): Likewise.
16167 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16168 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16169 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16170 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16171 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16172 __spin_lock_locked): Likewise.
16173 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16174 __spin_lock_locked): Likewise.
16175 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16176 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16177 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16178 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16179 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
16180 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16181 _POSIX_NO_TRUNC): Define to 0.
16182 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16183 check size against PTHREAD_STACK_MIN.
16184 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16185 IS_IN(libpthread)]: Include <sigsetops.h>.
16186 * mach/Makefile (user-interfaces): Add mach/gnumach.
16187 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16188 * sysdeps/mach/configure (mach_interface_list): Regenerate.
16189 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16190 instead of invalid -1.
16191 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16192 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16193 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16194 <net/ppp_defs.h>.
16195
16196 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
16197
16198 * hurd/fcntl-internal.h: New file.
16199
16200 2018-01-27 James Clarke <jrtc27@jrtc27.com>
16201
16202 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16203
16204 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16205
16206 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16207
16208 [BZ #22701]
16209 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16210 Build only shared objects.
16211
16212 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16213
16214 * README: Update for hppa.
16215
16216 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16217
16218 * sysdeps/sparc/fpu/libm-test-ulps: Update
16219 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16220
16221 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16222
16223 Revert:
16224
16225 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16226
16227 [BZ #22563]
16228 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16229 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16230 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16231 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16232 to feature_1.
16233
16234 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16235
16236 [BZ #22563]
16237 * bits/types/__cancel_jmp_buf_tag.h: New file.
16238 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16239 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16240 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16241 * nptl/Makefile (headers): Add
16242 bits/types/__cancel_jmp_buf_tag.h.
16243 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16244 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16245 * sysdeps/nptl/pthread.h: Include
16246 <bits/types/__cancel_jmp_buf_tag.h>.
16247 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16248 __cancel_jmp_buf.
16249 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16250
16251 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16252
16253 [BZ #10871]
16254 * localedata/locales/uk_UA (mon): Renamed to...
16255 (alt_mon): This.
16256 (alt_digits): "0" removed and then renamed to...
16257 (mon): This.
16258 (date_fmt): Definition changed not to use the alternative
16259 digits hack.
16260
16261 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16262
16263 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16264 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16265 * elf/elf.h (EF_RISCV_RVC): New define.
16266 (EF_RISCV_FLOAT_ABI): Likewise.
16267 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16268 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16269 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16270 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16271 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16272 define.
16273 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16274
16275 2018-01-25 Andreas Schwab <schwab@suse.de>
16276
16277 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16278 single quotes.
16279 * sysdeps/gnu/configure: Regenerate.
16280 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16281 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16283 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16284 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16285 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16286 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16287 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16288
16289 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16290
16291 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16292 URL, and run autoconf, make it the default for now.
16293
16294 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16295
16296 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16297 soft-float ColdFire configuration.
16298
16299 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16300 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16301 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16302
16303 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16304 MicroBlaze file.
16305
16306 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16307 ....
16308 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16309 ... here.
16310 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16311 New file.
16312
16313 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16314 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16315 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16316 file.
16317
16318 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16319
16320 [BZ #22742]
16321 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16322 Rename to __reserved and add comment.
16323 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16324 Rename to __reserved.
16325
16326 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16327
16328 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16329 i686-gnu configurations.
16330 (Context.run_builds): Include mig, gnumach and hurd in components
16331 considered.
16332 (Context.checkout): Add mig, gnumach and hurd to components.
16333 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16334 hurd.
16335 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16336 (Config.build): Install gnumach headers, build mig and install
16337 hurd headers for 'gnu' OS.
16338 (Config.install_gnumach_headers): New function.
16339 (Config.install_hurd_headers): Likewise.
16340 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16341 when building for 'gnu' OS.
16342
16343 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16344
16345 * manual/tunables.texi (Hardware Capability Tunables): Fix
16346 spelling.
16347
16348 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16349
16350 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16351 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16352 (ALTMON_11, ALTMON_12): Improve documentation.
16353 * manual/time.texi (strftime): Likewise.
16354
16355 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16356
16357 [BZ #10871]
16358 * localedata/locales/pl_PL: Alternative month names added,
16359 primary month names are genitive now.
16360 * time/tst-strptime.c (day_tests): Actually use a genitive case
16361 of a month name in Polish language.
16362
16363 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16364
16365 [BZ #10871]
16366 * manual/locale.texi: Document ALTMON_1..12 constants for
16367 nl_langinfo. Specify when to use ALTMON instead of MON.
16368 * manual/time.texi (strftime, strptime): Document GNU extension
16369 permitting O modifier with %B and %b. Specify when to use
16370 %OB instead of %B.
16371
16372 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16373
16374 [BZ #10871]
16375 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16376 names, define them as the same as abbreviated month names explicitly.
16377 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16378 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16379 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16380 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16381 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16382 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16383 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16384 _NL_WABALTMON_12): New enum constants.
16385 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16386 wab_alt_mon, and ab_alt_mon_defined members.
16387 (time_output): Output ab_alt_mon and wab_alt_mon members.
16388 (time_read): Read them, initialize them as copies of abmon and wabmon
16389 respectively if they are missing, initialize ab_alt_mon_defined.
16390 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16391 * locale/programs/locfile-kw.h: Regenerate.
16392 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16393 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16394 and ru_RU.UTF-8.
16395 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16396 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16397 (__strftime_internal): Handle %Ob and %Oh formats.
16398 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16399 (__strptime_internal): Handle %Ob and %Oh formats.
16400 * time/tst-strptime.c (day_tests): Add more tests to parse different
16401 forms of month names including the new %Ob format specifier.
16402
16403 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16404
16405 [BZ #10871]
16406 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16407 define them as the same as primary full month names explicitly.
16408 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16409 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16410 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16411 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16412 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16413 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16414 _NL_WALTMON_12): New enum constants.
16415 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16416 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16417 macros.
16418 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16419 walt_mon, and alt_mon_defined members.
16420 (time_output): Output alt_mon and walt_mon members.
16421 (time_read): Read them, initialize them as copies of mon and wmon
16422 respectively if they are missing, initialize alt_mon_defined.
16423 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16424 * locale/programs/locfile-kw.h: Regenerate.
16425 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16426 * localedata/tst-langinfo.c (map): Add tests for the new constants
16427 ALTMON_1 .. ALTMON_12.
16428 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16429 and pl_PL.UTF-8.
16430 * time/strftime_l.c (f_altmonth): New macro.
16431 (__strftime_internal): Handle %OB format.
16432 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16433 (__strptime_internal): Handle %OB format.
16434 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16435 of month names including the new %OB format specifier.
16436
16437 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16438
16439 [BZ #22685]
16440 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16441 from ABORT_TRANSACTION.
16442 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16443 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16444 ABORT_TRANSACTION_IMPL): Likewise.
16445 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16446 Linux code, but remove the code that aborts transactions.
16447
16448 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16449
16450 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16451
16452 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16453
16454 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16455 in date: "2004-14-09" should be "2004-09-14".
16456 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16457 "2003-15-09" should be "2003-09-15".
16458
16459 2018-01-18 Arjun Shankar <arjun@redhat.com>
16460
16461 [BZ #22343]
16462 [BZ #22774]
16463 CVE-2018-6485
16464 CVE-2018-6551
16465 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16466 after padding.
16467 (_int_memalign): check for integer overflow before calling
16468 _int_malloc.
16469 * malloc/tst-malloc-too-large.c: New test.
16470 * malloc/Makefile: Add tst-malloc-too-large.
16471
16472 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16473
16474 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16475 in date: "2017-24-07" should be "2017-07-24".
16476 * localedata/locales/mai_IN: Likewise.
16477 * localedata/locales/mai_NP: Likewise.
16478
16479 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16480
16481 * po/ru.po: Update translations.
16482
16483 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16484
16485 [BZ #22719]
16486 * sysdeps/hppa/backtrace.c: New file.
16487
16488 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16489
16490 [BZ #22715]
16491 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16492 align La_x86_64_retval to VEC_SIZE.
16493
16494 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16495
16496 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16497 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16498
16499 2018-01-16 Florian Weimer <fweimer@redhat.com>
16500
16501 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16502 Move tst-thread-exit-clobber ...
16503 [$(CXX)] (tests-unsupported): ... to here.
16504
16505 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16506
16507 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16508 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16509 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16510 (_dl_aarch64_cap_flags): Update.
16511 (_DL_HWCAP_COUNT): Update.
16512
16513 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16514
16515 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16516 (_DL_HWCAP_LAST): Remove.
16517 (_DL_HWCAP_COUNT): Move to ...
16518 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16519 (_DL_HWCAP_COUNT): ... here.
16520
16521 2018-01-16 Florian Weimer <fweimer@redhat.com>
16522
16523 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16524 mode with GNU extensions.
16525
16526 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16527
16528 * elf/elf.h (NT_ARM_SVE): Define.
16529
16530 2018-01-15 Florian Weimer <fweimer@redhat.com>
16531
16532 [BZ #22636]
16533 * nptl/tst-minstack-throw.cc: New file.
16534 * nptl/Makefile (tests): Add tst-minstack-throw.
16535 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16536 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16537
16538 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16539
16540 * scripts/build-many-glibcs.py (Context.checkout): Default
16541 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16542 version to 1.1.0.
16543
16544 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16545
16546 [BZ #22707]
16547 * elf/elf.h (DF_1_STUB): Define.
16548 (DF_1_PIE): Define.
16549
16550 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16551
16552 [BZ #22697]
16553 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16554 Do not add 0.5 to integer or out-of-range arguments.
16555
16556 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16557
16558 * po/bg.po: Update translations.
16559 * po/cs.po: Likewise.
16560 * po/de.po: Likewise.
16561 * po/ko.po: Likewise.
16562 * po/pl.po: Likewise.
16563 * po/sv.po: Likewise.
16564 * po/uk.po: Likewise.
16565 * po/vi.po: Likewise.
16566
16567 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16568
16569 * aarch64/start.S (_start): Use __wrap_main.
16570 (__wrap_main): New local symbol.
16571
16572 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16573
16574 [BZ #22679]
16575 CVE-2018-1000001
16576 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16577 generic_getcwd if the path returned by getcwd syscall is not absolute.
16578 * io/tst-getcwd-abspath.c: New test.
16579 * io/Makefile (tests): Add tst-getcwd-abspath.
16580
16581 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16582
16583 * malloc/malloc.c (malloc_consolidate): Add size check.
16584
16585 2018-01-12 Florian Weimer <fweimer@redhat.com>
16586
16587 * support/write_message.c (write_message): Preserve errno.
16588 * support/check.c (print_failure): Likewise.
16589 * support/support_test_verify_impl.c (support_test_verify_impl):
16590 Likewise.
16591 * support/support_test_compare_failure.c
16592 (support_test_compare_failure): Likewise.
16593
16594 2018-01-12 Florian Weimer <fweimer@redhat.com>
16595
16596 [BZ #22701]
16597 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16598 Prevent installation of libnsl.so.
16599 (libnsl-inhibit-o): Do not build (or install) static libraries.
16600
16601 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16602
16603 [BZ #22657]
16604 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16605 before the day number which may produce a double space.
16606 (date_fmt): Likewise.
16607
16608 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16609
16610 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16611 instead of fegetenv.
16612
16613 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16614
16615 [BZ #22702]
16616 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16617 comment to say exceptions are discarded.
16618 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16619 __fegetenv.
16620 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16621 be enabled.
16622
16623 2018-01-11 Florian Weimer <fweimer@redhat.com>
16624
16625 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16626 and error message.
16627
16628 2018-01-11 Florian Weimer <fweimer@redhat.com>
16629
16630 [BZ #22636]
16631 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16632 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16633
16634 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16635
16636 [BZ #22693]
16637 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16638 negative arguments in test for NaN or infinity argument.
16639
16640 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16641
16642 * po/libc.pot: Regenerate.
16643
16644 2018-01-10 Florian Weimer <fweimer@redhat.com>
16645
16646 [BZ #22636]
16647 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16648 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16649
16650 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16651
16652 * hurd/hurd/fd.h: Include <fcntl.h>
16653 (__hurd_at_flags): New function.
16654 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16655 with call to __hurd_at_flags.
16656 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16657 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16658 __faccessat
16659 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16660 (__access_noerrno): Use __faccessat_common instead of access_common.
16661 (__access): Likewise.
16662 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16663 with a call to __faccessat.
16664 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16665 (__faccessat_common): ... this. Move implementation of __access into it when
16666 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16667 reauthenticate_cwdir_at helper to implement AT mechanism.
16668 (__faccessat_noerrno): New function, just calls __faccessat_common.
16669 (__faccessat): New function, just calls __faccessat_common.
16670 (faccessat): Define weak alias.
16671
16672 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16673
16674 [BZ #22691]
16675 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16676 (CFLAGS-s_fmaxmagl.c): New variable.
16677 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16678
16679 [BZ #22690]
16680 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16681 long int for arguments of possibly overflowing addition or
16682 subtraction.
16683 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16684
16685 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16686
16687 [BZ #22688]
16688 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16689 (CFLAGS-e_remainderl.c): New variable.
16690
16691 [BZ #22687]
16692 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16693 variable.
16694 (CFLAGS-s_cacoshl.c): Likewise.
16695 (CFLAGS-s_casinhl.c): Likewise.
16696 (CFLAGS-s_catanl.c): Likewise.
16697 (CFLAGS-s_catanhl.c): Likewise.
16698 (CFLAGS-s_cexpl.c): Likewise.
16699 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16700 (CFLAGS-s_csinhl.c): Likewise.
16701 (CFLAGS-s_clogl.c): Likewise.
16702 (CFLAGS-s_clog10l.c): Likewise.
16703 (CFLAGS-s_csinl.c): Likewise.
16704 (CFLAGS-s_csqrtl.c): Likewise.
16705
16706 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16707 2017-01-09 Svante Signell <svante.signell@gmail.com>
16708
16709 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16710 (_hurd_exec_paths): New function.
16711 * hurd/hurd.h (_hurd_exec): Deprecate function.
16712 (_hurd_exec_paths): Declare function.
16713 * hurd/Versions: Export _hurd_exec_paths.
16714 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16715 (__execve): Use __getcwd to build absolute path, and use
16716 _hurd_exec_paths instead of _hurd_exec.
16717 * sysdeps/mach/hurd/spawni.c: Likewise.
16718 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16719 _hurd_exec.
16720
16721 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16722
16723 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16724 test instead of failing in case of ENOENT returned by posix_openpt.
16725
16726 2018-01-08 Florian Weimer <fweimer@redhat.com>
16727
16728 resolv: Support binary labels in test framework.
16729 * support/resolv_test.c (struct to_be_freed): Remove.
16730 (struct compressed_name): New.
16731 (allocate_compressed_name, ascii_tolower)
16732 (compare_compressed_name): New functions.
16733 (struct resolv_response_builder): Update type of
16734 compression_offsets for use with tsearch. Rempve to_be_freed.
16735 (response_push_pointer_to_free): Remove function.
16736 (resolv_response_add_name): Rewrite using struct compressed_name
16737 and tsearch instead of hsearch_r.
16738 (response_builder_allocate): Remove initialization of
16739 compression_offsets.
16740 (response_builder_free): Update for removal of to_be_freed. Use
16741 tdestroy instead of hdestroy_r.
16742 * resolv/Makefile (tests): Add tst-resolv-binary.
16743 (tst-resolv-binary): Link with -lresolv -lpthread.
16744
16745 2018-01-08 Florian Weimer <fweimer@redhat.com>
16746
16747 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16748 time. Pass positive flag instead of negative flag to
16749 support_test_compare_failure.
16750 (support_test_compare_failure): Change negative parameter to
16751 positive.
16752 * support/support_test_compare_failure.c (report)
16753 (support_test_compare_failure): Likewise.
16754 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16755 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16756
16757 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16758
16759 [BZ #22637]
16760 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16761 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16762 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16763 stacksize.
16764 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16765
16766 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16767
16768 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16769 Add s_sincosf-sse2 and s_sincosf-fma.
16770 (CFLAGS-s_sincosf-fma.c): New.
16771 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16772 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16773 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16774 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16775 __sincosf is defined.
16776
16777 2018-01-08 Florian Weimer <fweimer@redhat.com>
16778
16779 * nptl/tst-thread-exit-clobber.cc: New file.
16780 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16781 C++11 mode.
16782 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16783 (tests): Add tst-thread-exit-clobber.
16784 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16785
16786 2018-01-08 Florian Weimer <fweimer@redhat.com>
16787
16788 * support/check.h (support_static_assert): Define.
16789 (TEST_COMPARE): Use it.
16790
16791 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16792
16793 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16794 [!__RLIM_T_MATCHES_RLIM64_T]
16795 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16796 __getrlimit64. Add libc_hidden_weak.
16797
16798 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16799
16800 * elf/elf.h (R_RISCV_NONE): New define.
16801 (R_RISCV_32): Likewise.
16802 (R_RISCV_64): Likewise.
16803 (R_RISCV_RELATIVE): Likewise.
16804 (R_RISCV_COPY): Likewise.
16805 (R_RISCV_JUMP_SLOT): Likewise.
16806 (R_RISCV_TLS_DTPMOD32): Likewise.
16807 (R_RISCV_TLS_DTPMOD64): Likewise.
16808 (R_RISCV_TLS_DTPREL32): Likewise.
16809 (R_RISCV_TLS_DTPREL64): Likewise.
16810 (R_RISCV_TLS_TPREL32): Likewise.
16811 (R_RISCV_TLS_TPREL64): Likewise.
16812 * Makerules (make-link-multidir): Make directories before linking into
16813 them.
16814 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16815 define.
16816 (VDSO_HASH_LINUX_4_15): Likewise.
16817 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16818 in subdirectories of lib.
16819 * nptl/Makefile (/librt.so): Always depend on
16820 "$(shared-thread-library)".
16821
16822 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16823
16824 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16825 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16826 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16827 (___tls_get_addr).
16828 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16829 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16830 "-O2 -march=i686".
16831 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16832 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16833 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16834 * sysdeps/gnu/glob-lstat-compat.c: New file.
16835 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16836 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16837
16838 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16839
16840 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16841 Reserve 16 chars to reloc_addr before calling _itoa_word.
16842
16843 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16844
16845 [BZ #22678]
16846 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16847 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16848
16849 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16850 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16851
16852 * resource/tst-getrlimit.c: Add copyright header.
16853
16854 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16855 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16856
16857 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16858 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16859 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16860 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16861 instead.
16862 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16863 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16864 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16865 RLIM64_INFINITY): Fix values to match the kernel ones.
16866 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16867 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16868 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16869 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16870 getrlimit64@@GLIBC_2_27.
16871 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16872 and setrlimit64.
16873 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16874 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16875 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16876 setrlimit, getrlimit64 and setrlimit64.
16877
16878 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16879
16880 [BZ #22648]
16881 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16882 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16883
16884 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16885
16886 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16887 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16888 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16889
16890 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16891
16892 [BZ #15479]
16893 [BZ #22666]
16894 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16895 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16896
16897 [BZ #15479]
16898 [BZ #22665]
16899 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16900 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16901 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16902 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16903
16904 2018-01-04 Florian Weimer <fweimer@redhat.com>
16905
16906 [BZ #22667]
16907 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16908 Align the stack before calling exit.
16909 * stdlib/tst-makecontext-align.c: New file.
16910 * stdlib/Makefile (tests): Add tst-makecontext-align.
16911
16912 2018-01-04 Florian Weimer <fweimer@redhat.com>
16913
16914 Add support for calling dlvsym from libc.so.
16915 * include/dlfcn.h (__libc_dlvsym): Declare.
16916 * elf/Makefile (tests-static-internal): Add
16917 tst-libc_dlvsym-static.
16918 (tests-internal): Add tst-libc_dlvsym.
16919 (modules-names): Add tst-libc_dlvsym-dso.
16920 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16921 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16922 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16923 object tst-libc_dlvsym-dso.so needs to be built before running
16924 these tests.
16925 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16926 * elf/Versions: Export __libc_dlvsym.
16927 * elf/dl-libc.c (struct do_dlvsym_args): New.
16928 (do_dlvsym, __libc_dlvsym): New functions.
16929 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16930 (_dl_open_hook2): New variable.
16931 (__libc_register_dl_open_hook): Set it.
16932 * elf/tst-libc_dlvsym-dso.c: New file.
16933 * elf/tst-libc_dlvsym-static.c: Likewise.
16934 * elf/tst-libc_dlvsym.c: Likewise.
16935 * elf/tst-libc_dlvsym.h: Likewise.
16936
16937 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16938
16939 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16940 include <sys/mount.h>.
16941
16942 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16943
16944 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16945 Add __NO_MATH_ERRNO__ check.
16946
16947 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16948
16949 * sysdeps/mips/mips32/libm-test-ulps: Update.
16950 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16951
16952 2018-01-02 Florian Weimer <fweimer@redhat.com>
16953
16954 * misc/tst-pselect.c: Add copyright header.
16955
16956 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16957
16958 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16959 comment.
16960 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16961 comment.
16962 (settrlimit): Rename into setrlimit.
16963 (__sttrlimit): Rename into __setrlimit.
16964
16965 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16966 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16967 never defined in that case.
16968
16969 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16970
16971 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16972
16973 * sysdeps/arm/libm-test-ulps: Update.
16974
16975 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16976 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16977
16978 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16979
16980 * NEWS: Add cosf and sincosf to list of optimized functions.
16981
16982 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16983
16984 [BZ #22660]
16985 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
16986 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
16987 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
16988 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
16989
16990 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
16991
16992 [BZ #22433]
16993 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
16994
16995 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
16996 making a copy of it.
16997
16998 2018-01-01 Joseph Myers <joseph@codesourcery.com>
16999
17000 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17001 trailing whitespace removed.
17002 * scripts/config.guess: Update to version 2018-01-01.
17003 * scripts/config.sub: Update to version 2018-01-01.
17004 * scripts/move-if-change: Update from gnulib.
17005
17006 * NEWS: Update copyright dates.
17007 * catgets/gencat.c (print_version): Likewise.
17008 * csu/version.c (banner): Likewise.
17009 * debug/catchsegv.sh: Likewise.
17010 * debug/pcprofiledump.c (print_version): Likewise.
17011 * debug/xtrace.sh (do_version): Likewise.
17012 * elf/ldconfig.c (print_version): Likewise.
17013 * elf/ldd.bash.in: Likewise.
17014 * elf/pldd.c (print_version): Likewise.
17015 * elf/sotruss.sh: Likewise.
17016 * elf/sprof.c (print_version): Likewise.
17017 * iconv/iconv_prog.c (print_version): Likewise.
17018 * iconv/iconvconfig.c (print_version): Likewise.
17019 * locale/programs/locale.c (print_version): Likewise.
17020 * locale/programs/localedef.c (print_version): Likewise.
17021 * login/programs/pt_chown.c (print_version): Likewise.
17022 * malloc/memusage.sh (do_version): Likewise.
17023 * malloc/memusagestat.c (print_version): Likewise.
17024 * malloc/mtrace.pl: Likewise.
17025 * manual/libc.texinfo: Likewise.
17026 * nptl/version.c (banner): Likewise.
17027 * nscd/nscd.c (print_version): Likewise.
17028 * nss/getent.c (print_version): Likewise.
17029 * nss/makedb.c (print_version): Likewise.
17030 * posix/getconf.c (main): Likewise.
17031 * scripts/test-installation.pl: Likewise.
17032 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17033
17034 * All files with FSF copyright notices: Update copyright dates
17035 using scripts/update-copyrights.
17036 * locale/programs/charmap-kw.h: Regenerated.
17037 * locale/programs/locfile-kw.h: Likewise.
17038
17039 2017-12-31 Zack Weinberg <zackw@panix.com>
17040
17041 * libio/bits/libio-ldbl.h: Correct check for improper
17042 inclusion. Add own multiple include guard.
17043
17044 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17045 Dmitry V. Levin <ldv@altlinux.org>
17046
17047 [BZ #22625]
17048 CVE-2017-16997
17049 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17050 string token expansion. Check for NULL pointer or empty string possibly
17051 returned by expand_dynamic_string_token.
17052 (decompose_rpath): Check for empty path after dynamic string
17053 token expansion.
17054
17055 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17056
17057 [BZ #22433]
17058 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17059
17060 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17061 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17062 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17063 and PTRACE_SYSCALL.
17064 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17065 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17066 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17067 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17068 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17069 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17070
17071 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17072 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17073 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17074 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17075 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17076 bits/ptrace-shared.h.
17077 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17078 <bits/ptrace-shared.h>.
17079 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17080 __ptrace_peeksiginfo_flags, ptrace): Remove.
17081 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17082 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17083 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17084 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17085 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17086
17087 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17088
17089 [BZ #17804]
17090 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17091 end of the loop. Improve comments.
17092
17093 2017-12-29 Zack Weinberg <zackw@panix.com>
17094
17095 [BZ #22615]
17096 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17097 might be set on success.
17098
17099 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17100
17101 [BZ #22611]
17102 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17103 is unchanged on success.
17104
17105 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17106
17107 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17108 updated.
17109 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17110 expand_dynamic_string_token): Likewise.
17111 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17112 is_path argument.
17113
17114 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17115 contains ':'.
17116
17117 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17118 is set and name contains ':', and all code depending on these checks.
17119
17120 2017-12-24 Zack Weinberg <zackw@panix.com>
17121
17122 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17123 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17124 respectively.
17125 * libio/libio.h: Rename the original version of this file to
17126 libio/bits/libio.h. Error out if not included by stdio.h or the
17127 stub libio.h.
17128 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17129 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17130 if not included by bits/libio.h or the stub _G_config.h.
17131 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17132 sysdeps/unix/sysv/linux/bits. Error out if not included by
17133 bits/libio.h or the stub _G_config.h.
17134 * libio/stdio.h: Include bits/libio.h, not libio.h.
17135 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17136 well as libio.h and _G_config.h.
17137
17138 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17139 * libio/strfile.h, stdio-common/vfscanf.c
17140 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17141 Include stdio.h, not _G_config.h nor libio.h.
17142 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17143 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17144
17145 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17146
17147 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17148
17149 [BZ #22347]
17150 * stdlib/getrandom.c (getrandom): Fix comment.
17151 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17152
17153 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
17154
17155 [BZ #21161]
17156 * manual/arith.texi (strtoul): Fix a typo.
17157
17158 [BZ #22596]
17159 * manual/arith.texi (finite): Fix the description of the return
17160 value.
17161
17162 2017-12-22 Eric Blake <ebb9@byu.net>
17163
17164 Avoid gcc warnings on cygwin
17165 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17166 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17167 Avoid unused variable.
17168
17169 2017-12-22 Florian Weimer <fweimer@redhat.com>
17170
17171 * io/Makefile (routines): Add copy_file_range.
17172 (tests): Add tst-copy_file_range.
17173 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17174 * io/Versions (GLIBC_2.27): Export copy_file_range.
17175 * io/copy_file_range-compat.c: New file.
17176 * io/copy_file_range.c: Likewise.
17177 * io/tst-copy_file_range-compat.c: Likewise.
17178 * io/tst-copy_file_range.c: Likewise.
17179 * manual/llio.texi (Copying File Data): New section.
17180 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17181 * support/Makefile (libsupport-routines): Add support-xfstat,
17182 xftruncate, xlseek.
17183 * support/support-xfstat.c: New file.
17184 * support/xftruncate.c: Likewise.
17185 * support/xlseek.c: Likewise.
17186 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17187 * sysdeps/unix/sysv/linux/**.abilist: Update.
17188 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17189
17190 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17191
17192 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17193 disable-multi-arch variant to aarch64-linux-gnu.
17194
17195 2017-12-20 Joseph Myers <joseph@codesourcery.com>
17196
17197 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17198 trailing whitespace removed.
17199 * scripts/config.guess: Update to version 2017-12-17.
17200 * scripts/config.sub: Update to version 2017-11-23.
17201 * scripts/install-sh: Update to version 2017-09-23.17.
17202 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17203
17204 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17205
17206 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17207 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17208 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17209 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17210 * sysdeps/tile/crtn.S: Likewise.
17211 * sysdeps/tile/dl-start.S (_start): Likewise.
17212 * sysdeps/tile/dl-trampoline.S: Likewise.
17213 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17214 * sysdeps/tile/start.S (_start): Likewise.
17215 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17216 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17217 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17218 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17219 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17220 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17221 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17222
17223 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17224 comment.
17225 * sysdeps/tile/preconfigure: Remove tilegx folder.
17226 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17227 * sysdeps/tile/Implies: ... here.
17228 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17229 * sysdeps/tile/Makefile: ... here.
17230 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17231 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17232 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17233 * sysdeps/tile/bits/wordsize.h: ... here.
17234 * sysdeps/tile/tilegx/*: Move to ...
17235 * sysdeps/tile/*: ... here.
17236 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17237 * sysdeps/tile/tilegx32/Implies: ... here.
17238 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17239 * sysdeps/tile/tilegx64/Implies: ... here.
17240 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17241 to ...
17242 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17243 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17244 * sysdeps/unix/sysv/linux/tile/*: ... here.
17245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17246 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17248 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17249
17250 * README: Remove tilepro-*-linux-gnu from supported architecture.
17251 * scripts/build-many-glibcs.py: Likewise.
17252 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17253 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17254 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17255 elf_machine_matches_host, elf_machine_dynamic,
17256 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17257 howto, elf_machine_rela): Likewise.
17258 * sysdeps/tile/dl-start.S (_start): Likewise.
17259 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17260 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17261 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17262 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17263 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17264 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17265 Likewise.
17266 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17267 * sysdeps/tile/preconfigure: Likewise.
17268 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17269 POINTER_CHK_GUARD): Likewise.
17270 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17271 * sysdeps/tile/start.S (_start): Likewise.
17272 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17273 Likewise.
17274 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17275 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17276 CMOVNEZ): Remove.
17277 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17278 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17279 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17280 Likewise.
17281 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17282 * sysdeps/tile/tilepro/Implies: Remove file.
17283 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17284 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17285 * sysdeps/tile/tilepro/memchr.c: Likewise.
17286 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17287 * sysdeps/tile/tilepro/memset.c: Likewise.
17288 * sysdeps/tile/tilepro/memusage.h: Likewise.
17289 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17290 * sysdeps/tile/tilepro/strchr.c: Likewise.
17291 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17292 * sysdeps/tile/tilepro/strlen.c: Likewise.
17293 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17294 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17295 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17296 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17297 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17298 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17299 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17300 Likewise.
17301 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17302 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17303 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17304 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17305 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17306 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17307 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17308 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17309 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17310 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17311 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17312 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17313 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17314 tilepro mention in comment.
17315
17316 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17317 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17318 * nptl/pthread_join_common.c: New file: common function used on
17319 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17320 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17321 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17322 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17323 (cleanup): Move definition to pthread_join_common.c.
17324 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17325 Remove superflous checks.
17326 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17327 Likewise.
17328
17329 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17330
17331 * sysdeps/aarch64/libm-test-ulps: Update.
17332
17333 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17334
17335 * sysdeps/aarch64/memset.S (MEMSET): Define.
17336
17337 2017-12-20 Florian Weimer <fweimer@redhat.com>
17338
17339 [BZ #22635]
17340 nptl: Provide full implementation of pthread_self in libc.so.
17341 * nptl/Makefile (routines): Add pthread_self.
17342 (libpthread-routines): Replace pthread_self with
17343 compat-pthread_self.
17344 * nptl/forward.c (pthread_self): Remove.
17345 * nptl/nptl-init.c (pthread_functions): Do not initialize
17346 ptr_pthread_self.
17347 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17348 * nptl/compat-pthread_self.c: New file.
17349 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17350 Remove ptr_pthread_self.
17351
17352 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17353
17354 * posix/regcomp.c: Fix spelling in comments.
17355 * posix/regex.h: Likewise.
17356 * posix/regex_internal.c: Likewise.
17357 * posix/regexec.c: Likewise.
17358
17359 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17360
17361 [BZ #22377]
17362 * math/Makefile [C++] (tests): Add test for iseqsig.
17363 * math/math.h [C++] (iseqsig): New implementation, which does
17364 not rely on __MATH_TG/__builtin_types_compatible_p.
17365 * math/test-math-iseqsig.cc: New file.
17366 * sysdeps/powerpc/powerpc64le/Makefile
17367 (CFLAGS-test-math-iseqsig.cc): New variable.
17368
17369 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17370
17371 * elf/dl-load.c (is_trusted_path): Remove.
17372 (fillin_rpath): Remove check_trusted argument and its use,
17373 all callers changed.
17374
17375 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17376
17377 [BZ #22630]
17378 * Makeconfig (link-pie-before-libc): Replace -pie with
17379 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17380 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17381 (tst-dlopen-aout-no-pie): New.
17382 (LDFLAGS-tst-prelink): Removed.
17383 (tst-prelink-no-pie): New.
17384 (LDFLAGS-tst-main1): Removed.
17385 (tst-main1-no-pie): New.
17386 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17387 (tst-gmon-no-pie): New.
17388
17389 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17390
17391 * manual/install.texi: Document that --enable-static-pie
17392 implies PIE.
17393 * INSTALL: Regenerated.
17394
17395 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17396
17397 [BZ #21309]
17398 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17399 unsigned.
17400
17401 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17402
17403 Revert:
17404
17405 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17406
17407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17408
17409 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17410
17411 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17412 <errno.h>. Include "eexp.tbl".
17413 (half): New constant.
17414 (one): Likewise.
17415 (__ieee754_exp): Rewrite.
17416 (__slowexp): Remove prototype.
17417 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17418 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17419 * sysdeps/i386/fpu/slowexp.c: Likewise.
17420 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17421 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17422 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17423 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17424 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17425 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17426 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17427 comment.
17428 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17429 (CPPFLAGS-slowexp.c): Remove variable.
17430 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17431 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17432 (CFLAGS-slowexp-fma.c): Remove variable.
17433 (CFLAGS-slowexp-fma4.c): Likewise.
17434 (CFLAGS-slowexp-avx.c): Likewise.
17435 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17436 define as macro.
17437 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17438 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17439 * math/Makefile (type-double-routines): Remove slowexp.
17440 * manual/probes.texi (slowexp_p6): Remove.
17441 (slowexp_p32): Likewise.
17442
17443 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17444
17445 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17446 arithmetic.
17447
17448 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17449
17450 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17451
17452 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17453
17454 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17455
17456 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17457 <errno.h>. Include "eexp.tbl".
17458 (half): New constant.
17459 (one): Likewise.
17460 (__ieee754_exp): Rewrite.
17461 (__slowexp): Remove prototype.
17462 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17463 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17464 * sysdeps/i386/fpu/slowexp.c: Likewise.
17465 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17466 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17467 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17468 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17469 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17470 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17471 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17472 comment.
17473 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17474 (CPPFLAGS-slowexp.c): Remove variable.
17475 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17476 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17477 (CFLAGS-slowexp-fma.c): Remove variable.
17478 (CFLAGS-slowexp-fma4.c): Likewise.
17479 (CFLAGS-slowexp-avx.c): Likewise.
17480 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17481 define as macro.
17482 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17483 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17484 * math/Makefile (type-double-routines): Remove slowexp.
17485 * manual/probes.texi (slowexp_p6): Remove.
17486 (slowexp_p32): Likewise.
17487
17488 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17489 James Clarke <jrtc27@jrtc27.com>
17490
17491 [BZ #22603]
17492 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17493 addition.
17494
17495 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17496
17497 [BZ #22605]
17498 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17499 code.
17500
17501 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17502
17503 [BZ #22563]
17504 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17505 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17506 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17507 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17508 to feature_1.
17509
17510 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17511
17512 [BZ #22563]
17513 * bits/types/__cancel_jmp_buf_tag.h: New file.
17514 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17515 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17516 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17517 * nptl/Makefile (headers): Add
17518 bits/types/__cancel_jmp_buf_tag.h.
17519 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17520 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17521 * sysdeps/nptl/pthread.h: Include
17522 <bits/types/__cancel_jmp_buf_tag.h>.
17523 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17524 __cancel_jmp_buf.
17525 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17526
17527 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17528
17529 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17530 --enable-static-pie variants to x86_64, x32 and i686.
17531
17532 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17533
17534 [BZ #22631]
17535 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17536 argument for attrubutes. All callers changed.
17537 (__inline_mathop1): Likewise. All callers changed.
17538 (__inline_mathop): Likewise. All callers changed.
17539 [__USE_MISC] (scalbn): Use __inline_forward instead of
17540 __inline_forward_c.
17541 [__USE_ISOC99] (scalbln): Likewise.
17542 [__USE_ISOC99] (nearbyint): Likewise.
17543 [__USE_ISOC99] (lrint): Likewise.
17544 [__USE_MISC] (scalbnf): Likewise.
17545 [__USE_ISOC99] (scalblnf): Likewise.
17546 [__USE_ISOC99] (nearbyintf): Likewise.
17547 [__USE_ISOC99] (lrintf): Likewise.
17548 [__USE_MISC] (scalbnl): Likewise.
17549 [__USE_ISOC99] (scalblnl): Likewise.
17550 [__USE_ISOC99] (nearbyintl): Likewise.
17551 [__USE_ISOC99] (lrintl): Likewise.
17552 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17553 __inline_mathop and __m81_defun changed.
17554
17555 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17556 CPU or FPU for ARM hard-float configurations.
17557
17558 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17559
17560 * nptl/tst-attr3.c: Include <libc-diag.h>.
17561 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17562
17563 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17564
17565 * string/tester.c (test_strncat): Also disable -Warray-bounds
17566 warnings for two tests.
17567
17568 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17569
17570 [BZ #22614]
17571 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17572 $(cc-pie-default) == yes.
17573 * config.make.in (cc-pie-default): New.
17574 * configure.ac (libc_cv_pie_default): Renamed to ...
17575 (libc_cv_cc_pie_default): This.
17576 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17577 * configure: Regenerated.
17578
17579 2017-12-18 Florian Weimer <fweimer@redhat.com>
17580
17581 [BZ #20204]
17582 ld.so: Harden dl-libc/libdl hooks.
17583 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17584 (rtld_active): New function.
17585 * dlfcn/dladdr.c (__dladdr): Call it.
17586 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17587 * dlfcn/dlclose.c (__dlcose): Likewise.
17588 * dlfcn/dlerror.c (__dlerror): Likewise.
17589 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17590 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17591 * dlfcn/dlopen.c (__dlopen): Likewise.
17592 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17593 * dlfcn/dlsym.c (__dlsym): Likewise.
17594 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17595 * libio/vtables.c (_IO_vtable_check): Likewise.
17596 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17597 (__libc_dlclose): Likewise.
17598 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17599 assignment.
17600
17601 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17602
17603 [BZ #22446]
17604 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17605 buffers for readlink input and output.
17606
17607 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17608
17609 [BZ #22624]
17610 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17611 inhibit_stack_protector.
17612
17613 [BZ #22624]
17614 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17615 inhibit_stack_protector.
17616
17617 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17618
17619 [BZ #22627]
17620 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17621 code and invocation.
17622
17623 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17624
17625 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17626
17627 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17628
17629 [BZ #22505]
17630 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17631
17632 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17633
17634 * sysdeps/s390/fpu/libm-test-ulps: Update.
17635
17636 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17637
17638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17639
17640 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17641
17642 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17643 constants to s_sincosf.h file.
17644 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17645 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17646 implementation.
17647 * sysdeps/ieee754/flt-32/s_sincosf.h:
17648 New file.
17649
17650 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17651
17652 [BZ #14681]
17653 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17654 before mtrace.
17655
17656 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17657
17658 [BZ #19574]
17659 * INSTALL: Regenerated.
17660 * Makeconfig (real-static-start-installed-name): New.
17661 (pic-default): Updated for --enable-static-pie.
17662 (pie-default): New for --enable-static-pie.
17663 (default-pie-ldflag): Likewise.
17664 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17665 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17666 Replace $(static-start-installed-name) with
17667 $(real-static-start-installed-name).
17668 (+prectorT): Updated for --enable-static-pie.
17669 (+postctorT): Likewise.
17670 (CFLAGS-.o): Add $(pie-default).
17671 (CFLAGS-.op): Likewise.
17672 * NEWS: Mention --enable-static-pie.
17673 * config.h.in (ENABLE_STATIC_PIE): New.
17674 * configure.ac (--enable-static-pie): New configure option.
17675 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17676 (have-static-pie): Likewise.
17677 Enable static PIE if linker supports --no-dynamic-linker.
17678 (ENABLE_STATIC_PIE): New AC_DEFINE.
17679 (enable-static-pie): New LIBC_CONFIG_VAR.
17680 * configure: Regenerated.
17681 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17682 gr$(start-installed-name) for --enable-static-pie.
17683 (extra-objs): Likewise.
17684 (install-lib): Likewise.
17685 (extra-objs): Add static-reloc.o and static-reloc.os
17686 ($(objpfx)$(start-installed-name)): Also depend on
17687 $(objpfx)static-reloc.o.
17688 ($(objpfx)r$(start-installed-name)): New.
17689 ($(objpfx)g$(start-installed-name)): Also depend on
17690 $(objpfx)static-reloc.os.
17691 ($(objpfx)gr$(start-installed-name)): New.
17692 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17693 in libc.a.
17694 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17695 initimage.
17696 * csu/static-reloc.c: New file.
17697 * elf/Makefile (routines): Add dl-reloc-static-pie.
17698 (elide-routines.os): Likewise.
17699 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17700 (tst-tls1-static-non-pie-no-pie): New.
17701 * elf/dl-reloc-static-pie.c: New file.
17702 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17703 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17704 STATIC_PIE_BOOTSTRAP.
17705 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17706 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17707 (tests-static): Likewise.
17708 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17709 (tst-gmon-static-no-pie): New.
17710 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17711 (CRT-tst-gmon-static-pie): Likewise.
17712 (tst-gmon-static-pie-ENV): Likewise.
17713 (tests-special): Likewise.
17714 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17715 (clean-tst-gmon-static-pie-data): Likewise.
17716 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17717 * gmon/tst-gmon-static-pie.c: New file.
17718 * manual/install.texi: Document --enable-static-pie.
17719 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17720 (_dl_get_dl_main_map): Likewise.
17721 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17722 * sysdeps/x86_64/configure.ac: Likewise.
17723 * sysdeps/i386/configure: Regenerated.
17724 * sysdeps/x86_64/configure: Likewise.
17725 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17726 (ASFLAGS-.op): Likewise.
17727
17728 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17729
17730 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17731 * posix/tst-mmap-offset.c (fname): Use /tmp.
17732 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17733
17734 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17735
17736 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17737
17738 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17739
17740 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17741 errno.
17742
17743 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17744
17745 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17746 --with-float=hard for arm-linux-gnueabihf configurations.
17747
17748 [BZ #14121]
17749 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17750 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17751 ($(mo-installed)): Use $(objpfx)%.mo.
17752 (realclean): Remove rule.
17753
17754 * po/Makefile (linguas): Remove rule and dependencies.
17755 (linguas.mo): Likewise.
17756 (.PHONY): Do not depend on linguas and linguas.mo.
17757 (podir): Remove variable.
17758 (pofiles): Likewise.
17759 [$(pofiles)] (%.po): Remove rule.
17760
17761 * sysdeps/sparc/sparc32/Makefile
17762 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17763 start-of-line whitespace in argument of echo.
17764 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17765 with whitespace. Generate __wrap_.udiv alias.
17766 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17767 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17768 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17769 * sysdeps/sparc/sparc32/urem.S: Likewise.
17770
17771 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17772
17773 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17774 for aligned inputs.
17775
17776 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17777
17778 * benchtests/bench-strcmp.c: Print output in JSON format.
17779
17780 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17781
17782 2017-12-14 Florian Weimer <fweimer@redhat.com>
17783
17784 [BZ #22607]
17785 CVE-2017-1000409
17786 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17787 the expanded path string.
17788
17789 2017-12-14 Florian Weimer <fweimer@redhat.com>
17790
17791 [BZ #22606]
17792 CVE-2017-1000408
17793 * elf/dl-load.c (system_dirs): Update comment.
17794 (nsystem_dirs_len): Use array_length.
17795 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17796
17797 2017-12-14 Florian Weimer <fweimer@redhat.com>
17798
17799 Simplify compiling most of support/ outside of glibc.
17800 * support/check_addrinfo.c: Include <string.h>.
17801 * support/check_dns_packet.c: Likewise.
17802 * support/check_hostent.c: Likewise.
17803 * support/support_can_chroot.c: Include <support/xunistd.h>.
17804 * support/support_format_addrinfo.c: Include <stdlib.h>
17805 * support/support_format_dns_packet.c: Include <stdbool.h>.
17806 * support/support_format_hostent.c: Include <stdlib.h>.
17807 * support/support_format_netent.c: Likewise.
17808 * support/support_write_string.c: Include <support/xunistd.h>.
17809 * support/xdlfcn.c: Include <stddef.h>.
17810
17811 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17812
17813 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17814
17815 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17816 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17817
17818 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17819 (sysdeps_routines): Add memset-niagara7.
17820 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17821 Likewise.
17822 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17823 file.
17824 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17825 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17826 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17827 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17828 Add niagara7 option.
17829 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17830 memset.
17831
17832 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17833 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17834 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17835 Likewise.
17836 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17837 New file.
17838 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17839 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17840 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17841 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17842 and __memmove_niagara7.
17843 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17844 Add niagara7 option.
17845 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17846 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17847 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17848 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17849 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17850
17851 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17852
17853 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17854 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17855 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17856 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17857
17858 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17859 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17860 _dl_sparc_cap_flags array.
17861 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17862
17863 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17864
17865 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17866 time whenever possible.
17867
17868 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17869
17870 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17871 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17872
17873 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17874
17875 * soft-fp/fmadf4.c: Move to ....
17876 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17877 * soft-fp/fmasf4.c: Move to ....
17878 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17879 * soft-fp/fmatf4.c: Move to ....
17880 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17881 * sysdeps/ieee754/soft-fp/Makefile: New file.
17882 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17883 * sysdeps/arm/preconfigure: Regenerated.
17884 * sysdeps/arm/nofpu/Implies: New file.
17885 * sysdeps/arm/s_fma.c: Remove file.
17886 * sysdeps/arm/s_fmaf.c: Likewise.
17887 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17888 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17889 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17890 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17891 * sysdeps/microblaze/s_fma.c: Remove file.
17892 * sysdeps/microblaze/s_fmaf.c: Likewise.
17893 * sysdeps/mips/mips32/nofpu/Implies: New file.
17894 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17895 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17896 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17897 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17898 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17899 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17900 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17901 implementation.
17902 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17903 * sysdeps/nios2/s_fma.c: Remove file.
17904 * sysdeps/nios2/s_fmaf.c: Likewise.
17905 * sysdeps/sh/nofpu/Implies: New file.
17906 * sysdeps/sh/s_fma.c: Remove file.
17907 * sysdeps/sh/s_fmaf.c: Likewise.
17908 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17909 * sysdeps/tile/s_fma.c: Remove file.
17910 * sysdeps/tile/s_fmaf.c: Likewise.
17911
17912 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17913
17914 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17915 Add s_cosf-sse2 and s_cosf-fma.
17916 (CFLAGS-s_cosf-fma.c): New.
17917 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17918 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17919 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17920
17921 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17922
17923 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17924
17925 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17926
17927 * libio/Makefile (tests): Add tst-bz22415.
17928 (tst-bz22415-ENV): New rule.
17929 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17930 (tests-special): Add tst-bz22415-mem.out.
17931 ($(objpfx)tst-bz22415-mem.out): New rule.
17932 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17933 in case of a successful seek operation.
17934 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17935 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17936 buffer is required.
17937 * libio/tst-bz22415.c: New test.
17938
17939 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17940
17941 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17942
17943 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17944 __IPC_64 to 0 to avoid IPC_64 being set.
17945
17946 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17947
17948 [BZ #22593]
17949 * math/bits/mathcalls.h (nextafter): Remove const.
17950 (nexttoward): Likewise.
17951
17952 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17953
17954 * configure.ac (--with-fp): Remove configure option.
17955 (with_fp_cond): New variable.
17956 (libc_cv_with_fp): New configure test. Use this variable instead
17957 of with_fp.
17958 * configure: Regenerated.
17959 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17960 * manual/install.texi (Configuring and compiling): Remove
17961 --without-fp.
17962 * INSTALL: Regenerated.
17963 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17964 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17965 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17966 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17967 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17968 use --without-fp to configure glibc.
17969
17970 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17971
17972 * manual/locale.texi (nl_langinfo): Fix a typo.
17973
17974 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17975
17976 [BZ #22588]
17977 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17978
17979 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17980
17981 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17982 (CFLAGS-argp-parse.c): Likewise.
17983 (CFLAGS-argp-fmtstream.c): Likewise.
17984 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
17985 (CPPFLAGS-sha512-crypt.c): Likewise.
17986 (CPPFLAGS-md5-crypt.c): Likewise.
17987 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
17988 (CFLAGS-stack_chk_fail_local.c): Likewise.
17989 (CFLAGS-backtrace.c): Likewise.
17990 (CFLAGS-sprintf_chk.c): Likewise.
17991 (CFLAGS-snprintf_chk.c): Likewise.
17992 (CFLAGS-vsprintf_chk.c): Likewise.
17993 (CFLAGS-vsnprintf_chk.c): Likewise.
17994 (CFLAGS-asprintf_chk.c): Likewise.
17995 (CFLAGS-vasprintf_chk.c): Likewise.
17996 (CFLAGS-obprintf_chk.c): Likewise.
17997 (CFLAGS-dprintf_chk.c): Likewise.
17998 (CFLAGS-vdprintf_chk.c): Likewise.
17999 (CFLAGS-printf_chk.c): Likewise.
18000 (CFLAGS-fprintf_chk.c): Likewise.
18001 (CFLAGS-vprintf_chk.c): Likewise.
18002 (CFLAGS-vfprintf_chk.c): Likewise.
18003 (CFLAGS-gets_chk.c): Likewise.
18004 (CFLAGS-fgets_chk.c): Likewise.
18005 (CFLAGS-fgets_u_chk.c): Likewise.
18006 (CFLAGS-fread_chk.c): Likewise.
18007 (CFLAGS-fread_u_chk.c): Likewise.
18008 (CFLAGS-swprintf_chk.c): Likewise.
18009 (CFLAGS-vswprintf_chk.c): Likewise.
18010 (CFLAGS-wprintf_chk.c): Likewise.
18011 (CFLAGS-fwprintf_chk.c): Likewise.
18012 (CFLAGS-vwprintf_chk.c): Likewise.
18013 (CFLAGS-vfwprintf_chk.c): Likewise.
18014 (CFLAGS-fgetws_chk.c): Likewise.
18015 (CFLAGS-fgetws_u_chk.c): Likewise.
18016 (CFLAGS-read_chk.c): Likewise.
18017 (CFLAGS-pread_chk.c): Likewise.
18018 (CFLAGS-pread64_chk.c): Likewise.
18019 (CFLAGS-recv_chk.c): Likewise.
18020 (CFLAGS-recvfrom_chk.c): Likewise.
18021 (CFLAGS-tst-longjmp_chk.c): Likewise.
18022 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18023 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18024 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18025 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18026 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18027 (CFLAGS-tst-chk1.c): Likewise.
18028 (CFLAGS-tst-chk2.c): Likewise.
18029 (CFLAGS-tst-chk3.c): Likewise.
18030 (CFLAGS-tst-chk4.cc): Likewise.
18031 (CFLAGS-tst-chk5.cc): Likewise.
18032 (CFLAGS-tst-chk6.cc): Likewise.
18033 (CFLAGS-tst-lfschk1.c): Likewise.
18034 (CFLAGS-tst-lfschk2.c): Likewise.
18035 (CFLAGS-tst-lfschk3.c): Likewise.
18036 (CFLAGS-tst-lfschk4.cc): Likewise.
18037 (CFLAGS-tst-lfschk5.cc): Likewise.
18038 (CFLAGS-tst-lfschk6.cc): Likewise.
18039 (CFLAGS-tst-ssp-1.c): Likewise.
18040 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18041 (CFLAGS-scandir64.c): Likewise.
18042 (CFLAGS-scandir-tail.c): Likewise.
18043 (CFLAGS-scandir64-tail.c): Likewise.
18044 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18045 (CFLAGS-dl-tunables.c): Likewise.
18046 (CFLAGS-dl-runtime.c): Likewise.
18047 (CFLAGS-dl-lookup.c): Likewise.
18048 (CFLAGS-dl-iterate-phdr.c): Likewise.
18049 (CFLAGS-vismain.c): Likewise.
18050 (CFLAGS-tst-linkall-static.c): Likewise.
18051 (CFLAGS-tst-linkall-static.c): Likewise.
18052 (CPPFLAGS-dl-load.c): Likewise.
18053 (CFLAGS-ldconfig.c): Likewise.
18054 (CFLAGS-dl-cache.c): Likewise.
18055 (CFLAGS-cache.c): Likewise.
18056 (CFLAGS-rtld.c): Likewise.
18057 (CFLAGS-multiload.c): Likewise.
18058 (CFLAGS-filtmod1.c): Likewise.
18059 (CFLAGS-tst-align.c): Likewise.
18060 (CFLAGS-tst-align2.c): Likewise.
18061 (CFLAGS-tst-alignmod.c): Likewise.
18062 (CFLAGS-tst-alignmod2.c): Likewise.
18063 (CPPFLAGS-tst-execstack.c): Likewise.
18064 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18065 (CFLAGS-tst-latepthreadmod.c): Likewise.
18066 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18067 (CFLAGS-getgrnam_r.c): Likewise.
18068 (CFLAGS-getgrent_r.c): Likewise.
18069 (CFLAGS-getgrent.c): Likewise.
18070 (CFLAGS-fgetgrent.c): Likewise.
18071 (CFLAGS-fgetgrent_r.c): Likewise.
18072 (CFLAGS-putgrent.c): Likewise.
18073 (CFLAGS-initgroups.c): Likewise.
18074 (CFLAGS-getgrgid.c): Likewise.
18075 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18076 (CFLAGS-getsgent.c): Likewise.
18077 (CFLAGS-fgetsgent.c): Likewise.
18078 (CFLAGS-fgetsgent_r.c): Likewise.
18079 (CFLAGS-putsgent.c): Likewise.
18080 (CFLAGS-getsgnam.c): Likewise.
18081 (CFLAGS-getsgnam_r.c): Likewise.
18082 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18083 (CFLAGS-iconv_charmap.c): Likewise.
18084 (CFLAGS-dummy-repertoire.c): Likewise.
18085 (CFLAGS-charmap.c): Likewise.
18086 (CFLAGS-linereader.c): Likewise.
18087 (CFLAGS-simple-hash.c): Likewise.
18088 (CFLAGS-gconv_conf.c): Likewise.
18089 (CFLAGS-iconvconfig.c): Likewise.
18090 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18091 (CFLAGS-gethstbyad.c): Likewise.
18092 (CFLAGS-gethstbynm_r.c): Likewise.
18093 (CFLAGS-gethstbynm.c): Likewise.
18094 (CFLAGS-gethstbynm2_r.c): Likewise.
18095 (CFLAGS-gethstbynm2.c): Likewise.
18096 (CFLAGS-gethstent_r.c): Likewise.
18097 (CFLAGS-gethstent.c): Likewise.
18098 (CFLAGS-rcmd.c): Likewise.
18099 (CFLAGS-getnetbynm_r.c): Likewise.
18100 (CFLAGS-getnetbynm.c): Likewise.
18101 (CFLAGS-getnetbyad_r.c): Likewise.
18102 (CFLAGS-getnetbyad.c): Likewise.
18103 (CFLAGS-getnetent_r.c): Likewise.
18104 (CFLAGS-getnetent.c): Likewise.
18105 (CFLAGS-getaliasent_r.c): Likewise.
18106 (CFLAGS-getaliasent.c): Likewise.
18107 (CFLAGS-getrpcent_r.c): Likewise.
18108 (CFLAGS-getrpcent.c): Likewise.
18109 (CFLAGS-getservent_r.c): Likewise.
18110 (CFLAGS-getservent.c): Likewise.
18111 (CFLAGS-getprtent_r.c): Likewise.
18112 (CFLAGS-getprtent.c): Likewise.
18113 (CFLAGS-either_ntoh.c): Likewise.
18114 (CFLAGS-either_hton.c): Likewise.
18115 (CFLAGS-getnetgrent.c): Likewise.
18116 (CFLAGS-getnetgrent_r.c): Likewise.
18117 (CFLAGS-tst-checks-posix.c): Likewise.
18118 (CFLAGS-tst-sockaddr.c): Likewise.
18119 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18120 (CFLAGS-tst-translit.c): Likewise.
18121 (CFLAGS-tst-gettext2.c): Likewise.
18122 (CFLAGS-tst-codeset.c): Likewise.
18123 (CFLAGS-tst-gettext3.c): Likewise.
18124 (CFLAGS-tst-gettext4.c): Likewise.
18125 (CFLAGS-tst-gettext5.c): Likewise.
18126 (CFLAGS-tst-gettext6.c): Likewise.
18127 * io/Makefile (CFLAGS-open.c): Likewise.
18128 (CFLAGS-open64.c): Likewise.
18129 (CFLAGS-creat.c): Likewise.
18130 (CFLAGS-creat64.c): Likewise.
18131 (CFLAGS-fcntl.c): Likewise.
18132 (CFLAGS-poll.c): Likewise.
18133 (CFLAGS-ppoll.c): Likewise.
18134 (CFLAGS-lockf.c): Likewise.
18135 (CFLAGS-statfs.c): Likewise.
18136 (CFLAGS-fstatfs.c): Likewise.
18137 (CFLAGS-statvfs.c): Likewise.
18138 (CFLAGS-fstatvfs.c): Likewise.
18139 (CFLAGS-fts.c): Likewise.
18140 (CFLAGS-fts64.c): Likewise.
18141 (CFLAGS-ftw.c): Likewise.
18142 (CFLAGS-ftw64.c): Likewise.
18143 (CFLAGS-lockf.c): Likewise.
18144 (CFLAGS-posix_fallocate.c): Likewise.
18145 (CFLAGS-posix_fallocate64.c): Likewise.
18146 (CFLAGS-fallocate.c): Likewise.
18147 (CFLAGS-fallocate64.c): Likewise.
18148 (CFLAGS-read.c): Likewise.
18149 (CFLAGS-write.c): Likewise.
18150 (CFLAGS-test-stat.c): Likewise.
18151 (CFLAGS-test-lfs.c): Likewise.
18152 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18153 (CFLAGS-fputc.c): Likewise.
18154 (CFLAGS-fputwc.c): Likewise.
18155 (CFLAGS-freopen64.c): Likewise.
18156 (CFLAGS-freopen.c): Likewise.
18157 (CFLAGS-fseek.c): Likewise.
18158 (CFLAGS-fseeko64.c): Likewise.
18159 (CFLAGS-fseeko.c): Likewise.
18160 (CFLAGS-ftello64.c): Likewise.
18161 (CFLAGS-ftello.c): Likewise.
18162 (CFLAGS-fwide.c): Likewise.
18163 (CFLAGS-genops.c): Likewise.
18164 (CFLAGS-getc.c): Likewise.
18165 (CFLAGS-getchar.c): Likewise.
18166 (CFLAGS-getwc.c): Likewise.
18167 (CFLAGS-getwchar.c): Likewise.
18168 (CFLAGS-iofclose.c): Likewise.
18169 (CFLAGS-iofflush.c): Likewise.
18170 (CFLAGS-iofgetpos64.c): Likewise.
18171 (CFLAGS-iofgetpos.c): Likewise.
18172 (CFLAGS-iofgets.c): Likewise.
18173 (CFLAGS-iofgetws.c): Likewise.
18174 (CFLAGS-iofputs.c): Likewise.
18175 (CFLAGS-iofputws.c): Likewise.
18176 (CFLAGS-iofread.c): Likewise.
18177 (CFLAGS-iofsetpos64.c): Likewise.
18178 (CFLAGS-iofsetpos.c): Likewise.
18179 (CFLAGS-ioftell.c): Likewise.
18180 (CFLAGS-iofwrite.c): Likewise.
18181 (CFLAGS-iogetdelim.c): Likewise.
18182 (CFLAGS-iogetline.c): Likewise.
18183 (CFLAGS-iogets.c): Likewise.
18184 (CFLAGS-iogetwline.c): Likewise.
18185 (CFLAGS-ioputs.c): Likewise.
18186 (CFLAGS-ioseekoff.c): Likewise.
18187 (CFLAGS-ioseekpos.c): Likewise.
18188 (CFLAGS-iosetbuffer.c): Likewise.
18189 (CFLAGS-iosetvbuf.c): Likewise.
18190 (CFLAGS-ioungetc.c): Likewise.
18191 (CFLAGS-ioungetwc.c): Likewise.
18192 (CFLAGS-oldfileops.c): Likewise.
18193 (CFLAGS-oldiofclose.c): Likewise.
18194 (CFLAGS-oldiofgetpos64.c): Likewise.
18195 (CFLAGS-oldiofgetpos.c): Likewise.
18196 (CFLAGS-oldiofsetpos64.c): Likewise.
18197 (CFLAGS-oldiofsetpos.c): Likewise.
18198 (CFLAGS-peekc.c): Likewise.
18199 (CFLAGS-putc.c): Likewise.
18200 (CFLAGS-putchar.c): Likewise.
18201 (CFLAGS-putwc.c): Likewise.
18202 (CFLAGS-putwchar.c): Likewise.
18203 (CFLAGS-rewind.c): Likewise.
18204 (CFLAGS-wfileops.c): Likewise.
18205 (CFLAGS-wgenops.c): Likewise.
18206 (CFLAGS-oldiofopen.c): Likewise.
18207 (CFLAGS-iofopen.c): Likewise.
18208 (CFLAGS-iofopen64.c): Likewise.
18209 (CFLAGS-oldtmpfile.c): Likewise.
18210 (CFLAGS-tst_putwc.c): Likewise.
18211 * locale/Makefile (CFLAGS-md5.c): Likewise.
18212 (CFLAGS-charmap.c): Likewise.
18213 (CFLAGS-locfile.c): Likewise.
18214 (CFLAGS-charmap-dir.c): Likewise.
18215 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18216 (CFLAGS-getpt.c): Likewise.
18217 (CFLAGS-pt_chown.c): Likewise.
18218 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18219 (CFLAGS-obstack.c): Likewise.
18220 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18221 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18222 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18223 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18224 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18225 (CFLAGS-test-tgmath.c): Likewise.
18226 (CFLAGS-test-tgmath2.c): Likewise.
18227 (CFLAGS-test-tgmath-ret.c): Likewise.
18228 (CFLAGS-test-powl.c): Likewise.
18229 (CFLAGS-test-snan.c): Likewise.
18230 (CFLAGS-test-signgam-finite.c): Likewise.
18231 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18232 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18233 (CFLAGS-test-signgam-uchar.c): Likewise.
18234 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18235 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18236 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18237 (CFLAGS-test-signgam-uint.c): Likewise.
18238 (CFLAGS-test-signgam-uint-init.c): Likewise.
18239 (CFLAGS-test-signgam-uint-static.c): Likewise.
18240 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18241 (CFLAGS-test-signgam-ullong.c): Likewise.
18242 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18243 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18244 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18245 (CFLAGS-test-math-cxx11.cc): Likewise.
18246 (CFLAGS-test-math-isinff.cc): Likewise.
18247 (CFLAGS-test-math-iszero.cc): Likewise.
18248 (CFLAGS-test-math-issignaling.cc): Likewise.
18249 (CFLAGS-test-math-iscanonical.cc): Likewise.
18250 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18251 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18252 (CFLAGS-test-flt-eval-method.c): Likewise.
18253 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18254 (CFLAGS-test-finite-macros.c): Likewise.
18255 * misc/Makefile (CFLAGS-select.c): Likewise.
18256 (CFLAGS-tsearch.c): Likewise.
18257 (CFLAGS-lsearch.c): Likewise.
18258 (CFLAGS-pselect.c): Likewise.
18259 (CFLAGS-readv.c): Likewise.
18260 (CFLAGS-writev.c): Likewise.
18261 (CFLAGS-preadv.c): Likewise.
18262 (CFLAGS-preadv64.c): Likewise.
18263 (CFLAGS-pwritev.c): Likewise.
18264 (CFLAGS-pwritev64.c): Likewise.
18265 (CFLAGS-preadv2.c): Likewise.
18266 (CFLAGS-preadv64v2.c): Likewise.
18267 (CFLAGS-pwritev2.c): Likewise.
18268 (CFLAGS-pwritev64v2.c): Likewise.
18269 (CFLAGS-usleep.c): Likewise.
18270 (CFLAGS-syslog.c): Likewise.
18271 (CFLAGS-error.c): Likewise.
18272 (CFLAGS-getpass.c): Likewise.
18273 (CFLAGS-mkstemp.c): Likewise.
18274 (CFLAGS-mkstemp64.c): Likewise.
18275 (CFLAGS-getsysstats.c): Likewise.
18276 (CFLAGS-getusershell.c): Likewise.
18277 (CFLAGS-err.c): Likewise.
18278 (CFLAGS-tst-tsearch.c): Likewise.
18279 (CFLAGS-msync.c): Likewise.
18280 (CFLAGS-fdatasync.c): Likewise.
18281 (CFLAGS-fsync.c): Likewise.
18282 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18283 (CFLAGS-unwind.c): Likewise.
18284 (CFLAGS-unwind-forcedunwind.c): Likewise.
18285 (CFLAGS-pthread_cancel.c): Likewise.
18286 (CFLAGS-pthread_setcancelstate.c): Likewise.
18287 (CFLAGS-pthread_setcanceltype.c): Likewise.
18288 (CFLAGS-cancellation.c): Likewise.
18289 (CFLAGS-libc-cancellation.c): Likewise.
18290 (CFLAGS-pthread_exit.c): Likewise.
18291 (CFLAGS-forward.c): Likewise.
18292 (CFLAGS-pthread_testcancel.c): Likewise.
18293 (CFLAGS-pthread_join.c): Likewise.
18294 (CFLAGS-pthread_timedjoin.c): Likewise.
18295 (CFLAGS-pthread_once.c): Likewise.
18296 (CFLAGS-pthread_cond_wait.c): Likewise.
18297 (CFLAGS-sem_wait.c): Likewise.
18298 (CFLAGS-sem_timedwait.c): Likewise.
18299 (CFLAGS-fcntl.c): Likewise.
18300 (CFLAGS-lockf.c): Likewise.
18301 (CFLAGS-pread.c): Likewise.
18302 (CFLAGS-pread64.c): Likewise.
18303 (CFLAGS-pwrite.c): Likewise.
18304 (CFLAGS-pwrite64.c): Likewise.
18305 (CFLAGS-wait.c): Likewise.
18306 (CFLAGS-waitpid.c): Likewise.
18307 (CFLAGS-sigwait.c): Likewise.
18308 (CFLAGS-msgrcv.c): Likewise.
18309 (CFLAGS-msgsnd.c): Likewise.
18310 (CFLAGS-tcdrain.c): Likewise.
18311 (CFLAGS-open.c): Likewise.
18312 (CFLAGS-open64.c): Likewise.
18313 (CFLAGS-pause.c): Likewise.
18314 (CFLAGS-recv.c): Likewise.
18315 (CFLAGS-send.c): Likewise.
18316 (CFLAGS-accept.c): Likewise.
18317 (CFLAGS-sendto.c): Likewise.
18318 (CFLAGS-connect.c): Likewise.
18319 (CFLAGS-recvfrom.c): Likewise.
18320 (CFLAGS-recvmsg.c): Likewise.
18321 (CFLAGS-sendmsg.c): Likewise.
18322 (CFLAGS-close.c): Likewise.
18323 (CFLAGS-read.c): Likewise.
18324 (CFLAGS-write.c): Likewise.
18325 (CFLAGS-nanosleep.c): Likewise.
18326 (CFLAGS-sigsuspend.c): Likewise.
18327 (CFLAGS-msync.c): Likewise.
18328 (CFLAGS-fdatasync.c): Likewise.
18329 (CFLAGS-fsync.c): Likewise.
18330 (CFLAGS-pt-system.c): Likewise.
18331 (CFLAGS-tst-cleanup2.c): Likewise.
18332 (CFLAGS-tst-cleanupx2.c): Likewise.
18333 (CFLAGS-flockfile.c): Likewise.
18334 (CFLAGS-ftrylockfile.c): Likewise.
18335 (CFLAGS-funlockfile.c): Likewise.
18336 (CFLAGS-tst-initializers1.c): Likewise.
18337 (CFLAGS-tst-initializers1-c89.c): Likewise.
18338 (CFLAGS-tst-initializers1-c99.c): Likewise.
18339 (CFLAGS-tst-initializers1-c11.c): Likewise.
18340 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18341 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18342 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18343 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18344 (CFLAGS-nscd_getgr_r.c): Likewise.
18345 (CFLAGS-nscd_gethst_r.c): Likewise.
18346 (CFLAGS-nscd_getai.c): Likewise.
18347 (CFLAGS-nscd_initgroups.c): Likewise.
18348 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18349 (CFLAGS-pause.c): Likewise.
18350 (CFLAGS-pread.c): Likewise.
18351 (CFLAGS-pread64.c): Likewise.
18352 (CFLAGS-pwrite.c): Likewise.
18353 (CFLAGS-pwrite64.c): Likewise.
18354 (CFLAGS-sleep.c): Likewise.
18355 (CFLAGS-wait.c): Likewise.
18356 (CFLAGS-waitid.c): Likewise.
18357 (CFLAGS-waitpid.c): Likewise.
18358 (CFLAGS-getopt.c): Likewise.
18359 (CFLAGS-wordexp.c): Likewise.
18360 (CFLAGS-sysconf.c): Likewise.
18361 (CFLAGS-pathconf.c): Likewise.
18362 (CFLAGS-fpathconf.c): Likewise.
18363 (CFLAGS-spawn.c): Likewise.
18364 (CFLAGS-spawnp.c): Likewise.
18365 (CFLAGS-spawni.c): Likewise.
18366 (CFLAGS-glob.c): Likewise.
18367 (CFLAGS-glob64.c): Likewise.
18368 (CFLAGS-getconf.c): Likewise.
18369 (CFLAGS-nanosleep.c): Likewise.
18370 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18371 (CFLAGS-getpwent.c): Likewise.
18372 (CFLAGS-getpw.c): Likewise.
18373 (CFLAGS-fgetpwent_r.c): Likewise.
18374 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18375 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18376 (CFLAGS-mq_timedreceive.c): Likewise.
18377 (CFLAGS-mq_timedsend.c): Likewise.
18378 (CFLAGS-clock_nanosleep.c): Likewise.
18379 (CFLAGS-librt-cancellation.c): Likewise.
18380 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18381 (CFLAGS-getspent.c): Likewise.
18382 (CFLAGS-fgetspent.c): Likewise.
18383 (CFLAGS-fgetspent_r.c): Likewise.
18384 (CFLAGS-putspent.c): Likewise.
18385 (CFLAGS-getspnam.c): Likewise.
18386 (CFLAGS-getspnam_r.c): Likewise.
18387 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18388 (CFLAGS-sigsuspend.c): Likewise.
18389 (CFLAGS-sigtimedwait.c): Likewise.
18390 (CFLAGS-sigwait.c): Likewise.
18391 (CFLAGS-sigwaitinfo.c): Likewise.
18392 (CFLAGS-sigreturn.c): Likewise.
18393 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18394 (CFLAGS-vfwprintf.c): Likewise.
18395 (CFLAGS-tmpfile.c): Likewise.
18396 (CFLAGS-tmpfile64.c): Likewise.
18397 (CFLAGS-tempname.c): Likewise.
18398 (CFLAGS-psignal.c): Likewise.
18399 (CFLAGS-vprintf.c): Likewise.
18400 (CFLAGS-cuserid.c): Likewise.
18401 (CFLAGS-errlist.c): Likewise.
18402 (CFLAGS-siglist.c): Likewise.
18403 (CFLAGS-scanf15.c): Likewise.
18404 (CFLAGS-scanf17.c): Likewise.
18405 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18406 (CFLAGS-msort.c): Likewise.
18407 (CFLAGS-qsort.c): Likewise.
18408 (CFLAGS-system.c): Likewise.
18409 (CFLAGS-fmtmsg.c): Likewise.
18410 (CFLAGS-strfmon.c): Likewise.
18411 (CFLAGS-strfmon_l.c): Likewise.
18412 (CFLAGS-strfromd.c): Likewise.
18413 (CFLAGS-strfromf.c): Likewise.
18414 (CFLAGS-strfroml.c): Likewise.
18415 (CFLAGS-tst-bsearch.c): Likewise.
18416 (CFLAGS-tst-qsort.c): Likewise.
18417 (CFLAGS-tst-makecontext2.c): Likewise.
18418 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18419 (CFLAGS-xnlm_prot.c): Likewise.
18420 (CFLAGS-xrstat.c): Likewise.
18421 (CFLAGS-xyppasswd.c): Likewise.
18422 (CFLAGS-xklm_prot.c): Likewise.
18423 (CFLAGS-xrex.c): Likewise.
18424 (CFLAGS-xsm_inter.c): Likewise.
18425 (CFLAGS-xmount.c): Likewise.
18426 (CFLAGS-xrusers.c): Likewise.
18427 (CFLAGS-xspray.c): Likewise.
18428 (CFLAGS-xnfs_prot.c): Likewise.
18429 (CFLAGS-xrquota.c): Likewise.
18430 (CFLAGS-xkey_prot.c): Likewise.
18431 (CFLAGS-auth_unix.c): Likewise.
18432 (CFLAGS-key_call.c): Likewise.
18433 (CFLAGS-pmap_rmt.c): Likewise.
18434 (CFLAGS-clnt_perr.c): Likewise.
18435 (CFLAGS-openchild.c): Likewise.
18436 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18437 (CFLAGS-msgsnd.c): Likewise.
18438 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18439 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18440 (CFLAGS-tzset.c): Likewise.
18441 (CFLAGS-getdate.c): Likewise.
18442 (CFLAGS-test_time.c): Likewise.
18443 (CPPFLAGS-tst-tzname.c): Likewise.
18444 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18445 (CFLAGS-zic.c): Likewise.
18446 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18447 (CFLAGS-wcswidth.c): Likewise.
18448 (CFLAGS-wcstol.c): Likewise.
18449 (CFLAGS-wcstoul.c): Likewise.
18450 (CFLAGS-wcstoll.c): Likewise.
18451 (CFLAGS-wcstoull.c): Likewise.
18452 (CFLAGS-wcstod.c): Likewise.
18453 (CFLAGS-wcstold.c): Likewise.
18454 (CFLAGS-wcstof128.c): Likewise.
18455 (CFLAGS-wcstof.c): Likewise.
18456 (CFLAGS-wcstol_l.c): Likewise.
18457 (CFLAGS-wcstoul_l.c): Likewise.
18458 (CFLAGS-wcstoll_l.c): Likewise.
18459 (CFLAGS-wcstoull_l.c): Likewise.
18460 (CFLAGS-wcstod_l.c): Likewise.
18461 (CFLAGS-wcstold_l.c): Likewise.
18462 (CFLAGS-wcstof128_l.c): Likewise.
18463 (CFLAGS-wcstof_l.c): Likewise.
18464 (CPPFLAGS-tst-wchar-h.c): Likewise.
18465 (CPPFLAGS-wcstold_l.c): Likewise.
18466
18467 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18468
18469 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18470
18471 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18472 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18473
18474 * manual/tunables.texi (Hardware Capability Tunables): Document
18475 glibc.tune.cached_memopt.
18476 * sysdeps/powerpc/cpu-features.c: New file.
18477 * sysdeps/powerpc/cpu-features.h: New file.
18478 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18479 _dl_powerpc_cpu_features.
18480 * sysdeps/powerpc/dl-tunables.list: New file.
18481 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18482 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18483 (INIT_ARCH): Initialize use_aligned_memopt.
18484 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18485 IS_IN(rtld))]: Restrict dl_platform_init availability and
18486 initialize CPU features used by tunables.
18487 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18488 Add memcpy-power8-cached.
18489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18490 __memcpy_power8_cached.
18491 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18492 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18493 New file.
18494
18495 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18496
18497 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18498 (CFLAGS-noinl-tester.c): Likewise.
18499 (CFLAGS-tst-strlen.c): Likewise.
18500 (CFLAGS-stratcliff.c): Likewise.
18501 (CFLAGS-test-ffs.c): Likewise.
18502 (CFLAGS-tst-inlcall.c): Likewise.
18503 (CFLAGS-tst-xbzero-opt.c): Likewise.
18504 (CFLAGS-memcpy.c): Likewise.
18505 (CFLAGS-wordcopy.c): Likewise.
18506
18507 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18508
18509 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18510 Store r15 on stack and add cfi rule.
18511 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18512 Likewise.
18513
18514 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18515
18516 [BZ #22577]
18517 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18518 call.
18519
18520 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18521
18522 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18523 Add s_sinf-sse2 and s_sinf-fma.
18524 (CFLAGS-s_sinf-fma.c): New.
18525 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18526 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18527 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18528
18529 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18530
18531 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18532
18533 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18534
18535 [BZ #22568]
18536 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18537 part of result to imaginary part of argument if it is zero and the
18538 real part of the argument is not finite.
18539 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18540 of result to real part of argument if it is zero and the imaginary
18541 part of the argument is not finite.
18542
18543 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18544
18545 [BZ #22524]
18546 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18547 and to the list of locales to be built for testing.
18548 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18549 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18550 and build the collation rules upon that.
18551
18552 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18553
18554 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18555 * manual/math.texi (Mathematics): Document support for _Float32.
18556 * math/Makefile (test-types): Add float32.
18557 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18558 * stdlib/Versions (GLIBC_2.27): Likewise.
18559 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18560 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18561 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18562 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18563 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18564 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18565 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18566 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18567 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18568 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18569 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18570 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18571 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18572 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18573 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18574 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18575 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18576 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18577 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18578 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18579 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18580 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18581 Likewise.
18582 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18583 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18584 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18585 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18586 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18588 Likewise.
18589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18590 Likewise.
18591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18592 Likewise.
18593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18594 Likewise.
18595
18596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18597 Likewise.
18598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18599 Likewise.
18600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18601 Likewise.
18602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18603 Likewise.
18604 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18605 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18606 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18607 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18608 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18609 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18610 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18611 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18612 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18613 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18615 Likewise.
18616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18617 Likewise.
18618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18619 Likewise.
18620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18621 Likewise.
18622 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18623 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18624 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18625 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18626 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18627 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18628 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18629 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18630
18631 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18632
18633 * stdlib/strtof.c: Include <bits/floatn.h>
18634 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18635 and later undefine as macro. Define as weak alias if
18636 [!USE_WIDE_CHAR].
18637 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18638 and later undefine as macro. Define as weak alias if
18639 [USE_WIDE_CHAR].
18640 * stdlib/strtof_l.c: Include <bits/floatn.h>
18641 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18642 and later undefine as macro. Define as weak alias if
18643 [!USE_WIDE_CHAR].
18644 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18645 and later undefine as macro. Define as weak alias if
18646 [USE_WIDE_CHAR].
18647
18648 * stdlib/strfromf.c: Include <bits/floatn.h>.
18649 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18650 and later undefine as macro and define as weak alias.
18651
18652 * math/test-float32.h: New file.
18653
18654 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18655 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18656 (libm_alias_float_other_r): Create f32 alias.
18657 (libm_alias_float_r): Use semicolon before call to
18658 libm_alias_float_other_r.
18659
18660 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18661 second argument to libm_alias_float_other.
18662 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18663 second argument to libm_alias_float_other.
18664 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18665 argument to libm_alias_float_other.
18666
18667 [BZ #22561]
18668 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18669 real part of result for argument 0 + i * NaN.
18670 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18671 results for tests of 0 + i * NaN.
18672
18673 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18674
18675 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18676
18677 2017-12-06 David S. Miller <davem@davemloft.net>
18678
18679 * sysdeps/sparc/fpu/libm-test-ulps: Update
18680 exp_{downward,towardzero,upward} ulps.
18681
18682 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18683
18684 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18685 variables static.
18686
18687 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18688 (Y0_2D): Likewise.
18689 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18690 (Y0_2D): Likewise.
18691 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18692 (Y0_2D): Likewise.
18693 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18694 (Y0_2D): Likewise.
18695
18696 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18697
18698 [BZ #22515]
18699 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18700 and to the list of locales to be built for testing.
18701 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18702 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18703 and build the collation rules upon that.
18704
18705 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18706
18707 * NEWS: Add sinf to list of optimized functions.
18708
18709 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18710
18711 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18712 (__HAVE_FLOAT32X): Likewise.
18713 * manual/math.texi (Mathematics): Document support for _Float64
18714 and _Float32x.
18715 * math/Makefile (test-types): Add float64 and float32x.
18716 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18717 functions.
18718 * stdlib/Versions (GLIBC_2.27): Likewise.
18719 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18720 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18721 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18722 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18723 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18724 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18725 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18726 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18727 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18728 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18729 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18730 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18731 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18732 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18733 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18734 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18735 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18736 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18737 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18738 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18739 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18740 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18741 Likewise.
18742 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18743 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18744 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18745 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18746 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18748 Likewise.
18749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18750 Likewise.
18751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18752 Likewise.
18753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18754 Likewise.
18755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18756 Likewise.
18757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18758 Likewise.
18759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18760 Likewise.
18761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18762 Likewise.
18763 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18764 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18765 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18766 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18767 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18768 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18769 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18770 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18771 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18772 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18774 Likewise.
18775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18776 Likewise.
18777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18778 Likewise.
18779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18780 Likewise.
18781 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18782 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18783 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18784 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18785 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18786 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18787 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18788 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18789
18790 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18791
18792 * bits/floatn-common.h: Include <bits/long-double.h>.
18793 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18794 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18795 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18796 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18797 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18798 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18799 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18800 (__builtin_huge_valf64): Use __builtin_huge_vall.
18801 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18802 (__builtin_inff64): Use __builtin_infl.
18803 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18804 (__builtin_nanf64): Use __builtin_nanl.
18805 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18806 (__builtin_nansf64): Use __builtin_nansl.
18807
18808 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18809 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18810 Carlos O'Donnell <carlos@redhat.com>
18811
18812 * elf/dl-tunables.list: Add elision parameters.
18813 * manual/tunables.texi: Add entries about elision tunable.
18814 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18815 Add callback functions to dynamically enable/disable elision.
18816 Add multiple callbacks functions to set elision parameters.
18817 Deleted __libc_enable_secure check.
18818 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18819 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18820 * configure: Regenerated.
18821 * configure.ac: Option enable_lock_elision was deleted.
18822 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18823 * config.make.in: Remove references to enable_lock_elision.
18824 * manual/install.texi: Elision configure option was removed.
18825 * INSTALL: Regenerated to remove enable_lock_elision.
18826 * nptl/Makefile:
18827 Disable elision so it can verify error case for destroying a mutex.
18828 * sysdeps/powerpc/nptl/elide.h:
18829 Cleanup ENABLE_LOCK_ELISION check.
18830 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18831 * sysdeps/s390/configure: Regenerated.
18832 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18833 * nptl/tst-mutex8.c:
18834 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18835 * sysdeps/powerpc/powerpc32/sysdep.h:
18836 Deleted all ENABLE_LOCK_ELISION checks.
18837 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18838 * sysdeps/powerpc/sysdep.h: Likewise.
18839 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18840 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18841 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18842 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18843 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18844 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18845 enable-lock-elision.
18846
18847 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18848
18849 * stdlib/strtod.c: Include <bits/floatn.h>.
18850 (BUILD_DOUBLE): New macro.
18851 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18852 (strtof64): Define and later undefine as macro. Define as weak
18853 alias if [!USE_WIDE_CHAR].
18854 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18855 (wcstof64): Define and later undefine as macro. Define as weak
18856 alias if [USE_WIDE_CHAR].
18857 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18858 (strtof32x): Define and later undefine as macro. Define as weak
18859 alias if [!USE_WIDE_CHAR].
18860 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18861 (wcstof32x): Define and later undefine as macro. Define as weak
18862 alias if [USE_WIDE_CHAR].
18863 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18864 (BUILD_DOUBLE): New macro.
18865 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18866 (strtof64_l): Define and later undefine as macro. Define as weak
18867 alias if [!USE_WIDE_CHAR].
18868 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18869 (wcstof64_l): Define and later undefine as macro. Define as weak
18870 alias if [USE_WIDE_CHAR].
18871 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18872 (strtof32x_l): Define and later undefine as macro. Define as weak
18873 alias if [!USE_WIDE_CHAR].
18874 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18875 (wcstof32x_l): Define and later undefine as macro. Define as weak
18876 alias if [USE_WIDE_CHAR].
18877
18878 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18879
18880 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18881 (reduced): Use ones as double instead of integer.
18882
18883 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18884
18885 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18886
18887 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18888
18889 * stdlib/strfromd.c: Include <bits/floatn.h>.
18890 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18891 and later undefine as macro and define as weak alias.
18892 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18893 Likewise.
18894
18895 * math/test-float32x.h: New file.
18896 * math/test-float64.h: Likewise.
18897
18898 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18899 (libm_alias_double_other_r_f64): New macro.
18900 (libm_alias_double_other_r_f32x): Likewise.
18901 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18902 libm_alias_double_other_r_f32x.
18903 (libm_alias_double_r): Use semicolon before call to
18904 libm_alias_double_other_r.
18905 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18906 <bits/floatn.h>.
18907 (libm_alias_double_other_r_f64): New macro.
18908 (libm_alias_double_other_r_f32x): Likewise.
18909 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18910 libm_alias_double_other_r_f32x.
18911
18912 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18913
18914 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18915 int.
18916 (SINF_FUNC): Likewise. Replace floor with simple casts.
18917
18918 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18919
18920 [BZ #22517]
18921 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18922 and to the list of locales to be built for testing.
18923 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18924 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18925 and build the collation rules upon that.
18926
18927 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18928
18929 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18930 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18931 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18932 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18933 instead of __insn__xxx.
18934 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18935 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18936 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18937 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18938 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18939 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18940
18941 2017-12-05 Florian Weimer <fweimer@redhat.com>
18942
18943 Linux: Implement interfaces for memory protection keys
18944 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18945 xsignal, xsysconf.
18946 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18947 * support/xunistd.h (xsysconf): Declare.
18948 * support/xraise.c: New file.
18949 * support/xsigaction.c: Likewise.
18950 * support/xsignal.c: Likewise.
18951 * support/xsysconf.c: Likewise.
18952 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18953 pkey_set, pkey_get, pkey_mprotect.
18954 [misc] (tests): Add tst-pkey.
18955 (tst-pkey): Link with -lpthread.
18956 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18957 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18958 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18959 (PKEY_DISABLE_WRITE): Define.
18960 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18961 Declare.
18962 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18963 (SEGV_PKUERR): Add.
18964 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18965 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18966 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18967 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18968 Add.
18969 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18970 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18971 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18972 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18973 * sysdeps/unix/sysv/linux/**.abilist: Update.
18974
18975 2017-12-05 Florian Weimer <fweimer@redhat.com>
18976
18977 * support/tst-test_compare.c (subprocess): Use long long instead
18978 of long argument for consistent type width across 32-bit and
18979 64-bit architectures.
18980 (do_test): Adjust expected output.
18981
18982 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18983
18984 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
18985 (cosf): Define using libm_alias_float.
18986 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
18987 (fabsf): Define using libm_alias_float.
18988 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
18989 (fmaf): Define using libm_alias_float.
18990 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
18991 (rintf): Define using libm_alias_float.
18992 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
18993 (sinf): Define using libm_alias_float.
18994 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
18995 <libm-alias-float.h>.
18996 (modff): Define using libm_alias_float.
18997 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
18998 <libm-alias-float.h>.
18999 (logbf): Define using libm_alias_float.
19000 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19001 <libm-alias-float.h>.
19002 (ceilf): Define using libm_alias_float.
19003 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19004 <libm-alias-float.h>.
19005 (copysignf): Define using libm_alias_float.
19006 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19007 <libm-alias-float.h>.
19008 (floorf): Define using libm_alias_float.
19009 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19010 <libm-alias-float.h>.
19011 (llrintf): Define using libm_alias_float.
19012 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19013 <libm-alias-float.h>.
19014 (llroundf): Define using libm_alias_float.
19015 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19016 <libm-alias-float.h>.
19017 (lrintf): Define using libm_alias_float.
19018 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19019 <libm-alias-float.h>.
19020 (lroundf): Define using libm_alias_float.
19021 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19022 <libm-alias-float.h>.
19023 (nearbyintf): Define using libm_alias_float.
19024 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19025 <libm-alias-float.h>.
19026 (rintf): Define using libm_alias_float.
19027 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19028 <libm-alias-float.h>.
19029 (roundf): Define using libm_alias_float.
19030 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19031 <libm-alias-float.h>.
19032 (truncf): Define using libm_alias_float.
19033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19034 Include <libm-alias-float.h>.
19035 (ceilf): Define using libm_alias_float.
19036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19037 Include <libm-alias-float.h>.
19038 (copysignf): Define using libm_alias_float.
19039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19040 Include <libm-alias-float.h>.
19041 (floorf): Define using libm_alias_float.
19042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19043 Include <libm-alias-float.h>.
19044 (llrintf): Define using libm_alias_float.
19045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19046 Include <libm-alias-float.h>.
19047 (llroundf): Define using libm_alias_float.
19048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19049 Include <libm-alias-float.h>.
19050 (logbf): Define using libm_alias_float.
19051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19052 Include <libm-alias-float.h>.
19053 (lrintf): Define using libm_alias_float.
19054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19055 Include <libm-alias-float.h>.
19056 (lroundf): Define using libm_alias_float.
19057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19058 Include <libm-alias-float.h>.
19059 (modff): Define using libm_alias_float.
19060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19061 Include <libm-alias-float.h>.
19062 (roundf): Define using libm_alias_float.
19063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19064 Include <libm-alias-float.h>.
19065 (truncf): Define using libm_alias_float.
19066 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19067 <libm-alias-float.h>.
19068 (llrintf): Define using libm_alias_float.
19069 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19070 <libm-alias-float.h>.
19071 (llroundf): Define using libm_alias_float.
19072 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19073 <libm-alias-float.h>.
19074 (ceilf): Define using libm_alias_float.
19075 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19076 <libm-alias-float.h>.
19077 (floorf): Define using libm_alias_float.
19078 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19079 <libm-alias-float.h>.
19080 (llroundf): Define using libm_alias_float.
19081 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19082 <libm-alias-float.h>.
19083 (lroundf): Define using libm_alias_float.
19084 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19085 <libm-alias-float.h>.
19086 (roundf): Define using libm_alias_float.
19087 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19088 <libm-alias-float.h>.
19089 (truncf): Define using libm_alias_float.
19090 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19091 <libm-alias-float.h>.
19092 (copysignf): Define using libm_alias_float.
19093 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19094 <libm-alias-float.h>.
19095 (llrintf): Define using libm_alias_float.
19096 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19097 <libm-alias-float.h>.
19098 (llroundf): Define using libm_alias_float.
19099 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19100 <libm-alias-float.h>.
19101 (lrintf): Define using libm_alias_float.
19102 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19103 <libm-alias-float.h>.
19104 (lroundf): Define using libm_alias_float.
19105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19106 <libm-alias-float.h>.
19107 (ceilf): Define using libm_alias_float.
19108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19109 <libm-alias-float.h>.
19110 (copysignf): Define using libm_alias_float.
19111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19112 <libm-alias-float.h>.
19113 (cosf): Define using libm_alias_float.
19114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19115 <libm-alias-float.h>.
19116 (floorf): Define using libm_alias_float.
19117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19118 <libm-alias-float.h>.
19119 (llrintf): Define using libm_alias_float.
19120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19121 <libm-alias-float.h>.
19122 (llroundf): Define using libm_alias_float.
19123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19124 <libm-alias-float.h>.
19125 (logbf): Define using libm_alias_float.
19126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19127 <libm-alias-float.h>.
19128 (modff): Define using libm_alias_float.
19129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19130 <libm-alias-float.h>.
19131 (roundf): Define using libm_alias_float.
19132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19133 <libm-alias-float.h>.
19134 (sinf): Define using libm_alias_float.
19135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19136 <libm-alias-float.h>.
19137 (truncf): Define using libm_alias_float.
19138 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19139 <libm-alias-float.h>.
19140 (ceilf): Define using libm_alias_float.
19141 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19142 <libm-alias-float.h>.
19143 (copysignf): Define using libm_alias_float.
19144 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19145 <libm-alias-float.h>.
19146 (floorf): Define using libm_alias_float.
19147 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19148 <libm-alias-float.h>.
19149 (llrintf): Define using libm_alias_float.
19150 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19151 <libm-alias-float.h>.
19152 (llroundf): Define using libm_alias_float.
19153 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19154 <libm-alias-float.h>.
19155 (nearbyintf): Define using libm_alias_float.
19156 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19157 <libm-alias-float.h>.
19158 (rintf): Define using libm_alias_float.
19159 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19160 <libm-alias-float.h>.
19161 (roundf): Define using libm_alias_float.
19162 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19163 <libm-alias-float.h>.
19164 (truncf): Define using libm_alias_float.
19165 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19166 <libm-alias-float.h>.
19167 (ceilf): Define using libm_alias_float.
19168 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19169 <libm-alias-float.h>.
19170 (floorf): Define using libm_alias_float.
19171 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19172 <libm-alias-float.h>.
19173 (llroundf): Define using libm_alias_float.
19174 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19175 <libm-alias-float.h>.
19176 (roundf): Define using libm_alias_float.
19177 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19178 <libm-alias-float.h>.
19179 (truncf): Define using libm_alias_float.
19180 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19181 <libm-alias-float.h>.
19182 (copysignf): Define using libm_alias_float.
19183 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19184 <libm-alias-float.h>.
19185 (llrintf): Define using libm_alias_float.
19186 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19187 <libm-alias-float.h>.
19188 (llroundf): Define using libm_alias_float.
19189 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19190 <libm-alias-float.h>.
19191 (cosf): Define using libm_alias_float.
19192 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19193 <libm-alias-float.h>.
19194 (llrintf): Define using libm_alias_float.
19195 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19196 <libm-alias-float.h>.
19197 (llroundf): Define using libm_alias_float.
19198 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19199 <libm-alias-float.h>.
19200 (sinf): Define using libm_alias_float.
19201
19202 2017-12-04 Florian Weimer <fweimer@redhat.com>
19203
19204 * support/check.h (TEST_COMPARE): Define.
19205 (support_test_compare_failure): Declare.
19206 * support/Makefile (libsupport-routines): Add
19207 support_test_compare_failure.
19208 (tests): Add tst-test_compare.
19209 * support /support_test_compare_failure.c: New file.
19210 * support/tst-test_compare.c: Likewise.
19211
19212 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19213
19214 [BZ #22527]
19215 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19216 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19217 available, this rewrite of the collation rules does reproduce
19218 the test file in the same order.
19219
19220 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19221
19222 [BZ #10580]
19223 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19224 digraphs in the month and day names. Using single code points for
19225 digraphs is deprecated. While there are dedicated Unicode
19226 codepoints, for the digraphs, these are included for backwards
19227 compatibility and modern texts use a sequence of Basic Latin
19228 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19229 This makes the month and day names agree exactly with CLDR now,
19230 CLDR does not use the single code points for the digraphs either.
19231
19232 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19233
19234 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19235
19236 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19237
19238 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19239 of floor.
19240
19241 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19242
19243 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19244 Define only for libc.so.
19245
19246 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19247
19248 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19249 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19250 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19251 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19253
19254 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19255
19256 [BZ #5997]
19257 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19258
19259 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19260
19261 [BZ libc/19170]
19262 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19263 PREINIT_FUNCTION_WEAK is nonzero.
19264 (gmon_initializer): New function. Put procedure label for it in
19265 .init_array section.
19266 (_init): Don't call PREINIT_FUNCTION.
19267 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19268 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19269 value when map argument is null.
19270
19271 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19272 depi instruction from PIC pc-relative sequence.
19273 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19274 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19275 (elf_machine_load_address): Likewise.
19276 (elf_machine_runtime_setup): Likewise.
19277
19278 2017-12-02 Joseph Myers <joseph@codesourcery.com>
19279
19280 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19281 <libm-alias-double.h>.
19282 (logb): Define using libm_alias_double.
19283 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19284 <libm-alias-double.h>.
19285 (copysign): Define using libm_alias_double.
19286 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19287 <libm-alias-double.h>.
19288 (llrint): Define using libm_alias_double.
19289 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19290 <libm-alias-double.h>.
19291 (llround): Define using libm_alias_double.
19292 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19293 <libm-alias-double.h>.
19294 (lrint): Define using libm_alias_double.
19295 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19296 <libm-alias-double.h>.
19297 (lround): Define using libm_alias_double.
19298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19299 Include <libm-alias-double.h>.
19300 (copysign): Define using libm_alias_double.
19301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19302 Include <libm-alias-double.h>.
19303 (llrint): Define using libm_alias_double.
19304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19305 Include <libm-alias-double.h>.
19306 (llround): Define using libm_alias_double.
19307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19308 <libm-alias-double.h>.
19309 (logb): Define using libm_alias_double.
19310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19311 Include <libm-alias-double.h>.
19312 (lrint): Define using libm_alias_double.
19313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19314 Include <libm-alias-double.h>.
19315 (lround): Define using libm_alias_double.
19316 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19317 <libm-alias-double.h>.
19318 (llrint): Define using libm_alias_double.
19319 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19320 <libm-alias-double.h>.
19321 (llround): Define using libm_alias_double.
19322 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19323 <libm-alias-double.h>.
19324 (llround): Define using libm_alias_double.
19325 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19326 <libm-alias-double.h>.
19327 (lround): Define using libm_alias_double.
19328 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19329 <libm-alias-double.h>.
19330 (copysign): Define using libm_alias_double.
19331 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19332 <libm-alias-double.h>.
19333 (llrint): Define using libm_alias_double.
19334 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19335 <libm-alias-double.h>.
19336 (llround): Define using libm_alias_double.
19337 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19338 <libm-alias-double.h>.
19339 (lrint): Define using libm_alias_double.
19340 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19341 <libm-alias-double.h>.
19342 (lround): Define using libm_alias_double.
19343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19344 <libm-alias-double.h>.
19345 (copysign): Define using libm_alias_double.
19346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19347 <libm-alias-double.h>.
19348 (llrint): Define using libm_alias_double.
19349 (lrint): Likewise.
19350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19351 <libm-alias-double.h>.
19352 (llround): Define using libm_alias_double.
19353 (lround): Likewise.
19354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19355 <libm-alias-double.h>.
19356 (logb): Define using libm_alias_double.
19357 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19358 <libm-alias-double.h>.
19359 (copysign): Define using libm_alias_double.
19360 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19361 <libm-alias-double.h>.
19362 (llrint): Define using libm_alias_double.
19363 (lrint): Likewise.
19364 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19365 <libm-alias-double.h>.
19366 (llround): Define using libm_alias_double.
19367 (lround): Likewise.
19368 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19369 <libm-alias-double.h>.
19370 (llround): Define using libm_alias_double.
19371 (lround): Likewise.
19372 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19373 <libm-alias-double.h>.
19374 (copysign): Define using libm_alias_double.
19375 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19376 <libm-alias-double.h>.
19377 (llrint): Define using libm_alias_double.
19378 (lrint): Likewise.
19379 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19380 <libm-alias-double.h>.
19381 (llround): Define using libm_alias_double.
19382 (lround): Likewise.
19383 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19384 <libm-alias-double.h>.
19385 (llrint): Define using libm_alias_double.
19386 (lrint): Likewise.
19387 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19388 <libm-alias-double.h>.
19389 (llround): Define using libm_alias_double.
19390 (lround): Likewise.
19391
19392 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19393
19394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19395 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19396 compat symbol based on llround.
19397
19398 * sysdeps/powerpc/power7/fpu/s_logb.c
19399 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19400 symbol based on __logb, not on logb.
19401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19402 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19404 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19405
19406 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19407 (rint): Define using libm_alias_double.
19408 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19409 <libm-alias-double.h>.
19410 (modf): Define using libm_alias_double.
19411 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19412 <libm-alias-double.h>.
19413 (ceil): Define using libm_alias_double.
19414 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19415 <libm-alias-double.h>.
19416 (floor): Define using libm_alias_double.
19417 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19418 <libm-alias-double.h>.
19419 (nearbyint): Define using libm_alias_double.
19420 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19421 <libm-alias-double.h>.
19422 (rint): Define using libm_alias_double.
19423 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19424 <libm-alias-double.h>.
19425 (round): Define using libm_alias_double.
19426 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19427 <libm-alias-double.h>.
19428 (trunc): Define using libm_alias_double.
19429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19430 <libm-alias-double.h>.
19431 (ceil): Define using libm_alias_double.
19432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19433 Include <libm-alias-double.h>.
19434 (floor): Define using libm_alias_double.
19435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19436 <libm-alias-double.h>.
19437 (modf): Define using libm_alias_double.
19438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19439 Include <libm-alias-double.h>.
19440 (round): Define using libm_alias_double.
19441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19442 Include <libm-alias-double.h>.
19443 (trunc): Define using libm_alias_double.
19444 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19445 <libm-alias-double.h>.
19446 (ceil): Define using libm_alias_double.
19447 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19448 <libm-alias-double.h>.
19449 (floor): Define using libm_alias_double.
19450 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19451 <libm-alias-double.h>.
19452 (round): Define using libm_alias_double.
19453 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19454 <libm-alias-double.h>.
19455 (trunc): Define using libm_alias_double.
19456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19457 <libm-alias-double.h>.
19458 (ceil): Define using libm_alias_double.
19459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19460 <libm-alias-double.h>.
19461 (floor): Define using libm_alias_double.
19462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19463 <libm-alias-double.h>.
19464 (modf): Define using libm_alias_double.
19465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19466 <libm-alias-double.h>.
19467 (round): Define using libm_alias_double.
19468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19469 <libm-alias-double.h>.
19470 (trunc): Define using libm_alias_double.
19471 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19472 <libm-alias-double.h>.
19473 (ceil): Define using libm_alias_double.
19474 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19475 <libm-alias-double.h>.
19476 (floor): Define using libm_alias_double.
19477 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19478 <libm-alias-double.h>.
19479 (nearbyint): Define using libm_alias_double.
19480 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19481 <libm-alias-double.h>.
19482 (rint): Define using libm_alias_double.
19483 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19484 <libm-alias-double.h>.
19485 (round): Define using libm_alias_double.
19486 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19487 <libm-alias-double.h>.
19488 (trunc): Define using libm_alias_double.
19489 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19490 <libm-alias-double.h>.
19491 (ceil): Define using libm_alias_double.
19492 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19493 <libm-alias-double.h>.
19494 (floor): Define using libm_alias_double.
19495 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19496 <libm-alias-double.h>.
19497 (round): Define using libm_alias_double.
19498 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19499 <libm-alias-double.h>.
19500 (trunc): Define using libm_alias_double.
19501
19502 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19503 (fabs): Define using libm_alias_double.
19504 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19505 (fma): Define using libm_alias_double.
19506 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19507 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19508 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19509 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19510
19511 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19512
19513 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19514
19515 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19516 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19517 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19518
19519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19520 due redirect macro.
19521
19522 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19523
19524 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19525
19526 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19527
19528 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19529 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19530 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19531 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19532
19533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19534 (libm-sysdep_routines): Add s_nearbyintf-generic and
19535 s_nearbyint-generic.
19536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19537 New file.
19538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19540 Likewise.
19541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19542 Likewise.
19543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19544 file.
19545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19546 Likewise.
19547
19548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19549 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19551 file.
19552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19554 Likewise.
19555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19558
19559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19560 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19562 file.
19563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19565 Likewise.
19566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19569
19570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19571 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19573 file.
19574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19576 Likewise.
19577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19580
19581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19582 (sysdep_calls): New rule.
19583 (sysdep_routines): Use sysdep_calls as base.
19584 (libm-sysdep_routines): Add generic rule for symbols shared with
19585 libc. Add s_copysign-generic and s_copysign-generic objects.
19586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19587 New file.
19588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19590 Likewise.
19591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19594
19595 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19596
19597 [BZ #22519]
19598 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19599 the list of locales to be built for testing.
19600 * localedata/is_IS.UTF-8.in: New file.
19601 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19602 on iso14651_t1.
19603
19604 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19605
19606 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19607 <libm-alias-float.h>.
19608 (fabsf): Define using libm_alias_float.
19609
19610 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19611
19612 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19613
19614 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19615
19616 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19617 <libm-alias-float.h>.
19618 (fabsf): Define using libm_alias_float.
19619 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19620 <libm-alias-float.h>.
19621 (lrintf): Define using libm_alias_float.
19622 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19623 <libm-alias-float.h>.
19624 (rintf): Define using libm_alias_float.
19625
19626 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19627 <libm-alias-double.h>.
19628 (fabs): Define using libm_alias_double.
19629 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19630 <libm-alias-double.h>.
19631 (lrint): Define using libm_alias_double.
19632 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19633 <libm-alias-double.h>.
19634 (rint): Define using libm_alias_double.
19635
19636 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19637 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19638 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19639 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19640 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19641 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19642 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19643 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19644 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19645 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19646 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19647 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19648 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19649 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19650 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19651 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19652 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19653 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19654 s_atan_template.c.
19655 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19656 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19657 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19658 s_ceil_template.c.
19659 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19660 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19661 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19662 s_cos_template.c.
19663 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19664 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19665 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19666 s_expm1_template.c.
19667 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19668 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19669 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19670 s_fabs_template.c.
19671 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19672 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19673 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19674 s_floor_template.c.
19675 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19676 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19677 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19678 s_frexp_template.c.
19679 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19680 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19681 s_lrint_template.c.
19682 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19683 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19684 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19685 s_modf_template.c.
19686 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19687 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19688 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19689 s_nearbyint_template.c.
19690 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19691 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19692 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19693 s_remquo_template.c.
19694 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19695 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19696 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19697 s_rint_template.c.
19698 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19699 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19700 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19701 s_sin_template.c.
19702 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19703 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19704 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19705 s_sincos_template.c.
19706 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19707 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19708 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19709 s_tan_template.c.
19710 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19711 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19712 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19713 s_tanh_template.c.
19714 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19715 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19716 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19717 s_trunc_template.c.
19718 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19719 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19720 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19721 s_atan.c instead of including s_atan.c.
19722 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19723 s_atanf.c instead of including s_atanf.c.
19724 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19725 s_atanl.c instead of including s_atanl.c.
19726 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19727 instead of s_atan.c.
19728 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19729 instead of s_atanf.c.
19730 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19731 instead of s_atanl.c.
19732
19733 * scripts/update-copyrights: Do not handle intl/plural.c
19734 specially.
19735
19736 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19737
19738 [BZ #22432]
19739 * configure.ac (BISON): Require to be present.
19740 * configure: Regenerated.
19741 * intl/Makefile (generated): Add plural.c.
19742 [$(BISON) != no]: Make code unconditional.
19743 (plural.c): Change rule to $(objpfx)plural.c.
19744 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19745 * intl/plural.c: Remove.
19746 * manual/install.texi (Tools for Compilation): Document bison as
19747 required.
19748 * INSTALL: Regenerated.
19749
19750 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19751
19752 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19753 <libm-alias-double.h>.
19754 (llrint): Define using libm_alias_double.
19755 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19756 <libm-alias-float.h>.
19757 (llrintf): Define using libm_alias_float.
19758 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19759 <libm-alias-ldouble.h>.
19760 (llrintl): Define using libm_alias_ldouble.
19761
19762 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19763 declare_mgen_alias instead of weak_alias.
19764 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19765 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19766 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19767
19768 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19769
19770 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19771 Add add_n-generic.
19772 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19773 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19774 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19775
19776 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19777 Add submul_1-generic.
19778 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19779 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19780 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19781
19782 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19783 Add addmul_1-generic.
19784 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19785 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19786 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19787
19788 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19789 Add sub_n-generic.
19790 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19791 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19792 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19793
19794 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19795 Add mul_1-generic.
19796 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19797 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19798 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19799
19800 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19801
19802 According to CLDR, collation rules for Serbian and Bosnian
19803 should be the same as for Croatian.
19804
19805 [BZ #22534]
19806 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19807 and to the list of locales to be built for testing.
19808 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19809 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19810 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19811 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19812
19813 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19814
19815 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19816 to make test case pass.
19817 * localedata/hr_HR.UTF-8.in: Add more test strings.
19818
19819 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19820
19821 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19822
19823 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19824
19825 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19826 the list of locales to built for testing.
19827 * localedata/hr_HR.UTF-8.in: New file.
19828
19829 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19830
19831 [BZ #10580]
19832 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19833 iso14651_t1.
19834 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19835 CLDR (except use ligatures for the digraphs, CLDR does not use
19836 the ligatures), add first_workday, some fixes in the date and time
19837 formats.
19838 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19839 for Đ and đ.
19840 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19841 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19842 Add int_p_cs_precedes and int_n_cs_precedes.
19843 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19844 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19845 LC_MONETARY now).
19846 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19847 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19848 name_miss.
19849 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19850 and lang_lib. Change postal_fmt.
19851
19852 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19853
19854 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19855 <setjmp.h>.
19856 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19857 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19858 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19859 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19860 * sysdeps/generic/setjmpP.h: New file.
19861 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19862 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19863 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19864 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19865 Add jmp_buf-ssp.sym.
19866 (tests): Add tst-saved_mask-1.
19867
19868 2017-11-30 Arjun Shankar <arjun@redhat.com>
19869
19870 [BZ #22375]
19871 CVE-2017-17426
19872 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19873 instead of request2size.
19874
19875 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19876
19877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19878 (__lllrint): Remove alias.
19879 (lllrint): Likewise.
19880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19881 (__lllrintf): Likewise.
19882 (lllrintf): Likewise.
19883
19884 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19885 <libm-alias-float.h>.
19886 (copysignf): Define using libm_alias_float.
19887 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19888 <libm-alias-float.h>.
19889 (fabsf): Define using libm_alias_float.
19890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19891 Include <libm-alias-float.h>.
19892 (copysignf): Define using libm_alias_float.
19893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19894 <libm-alias-float.h>.
19895 (fabsf): Define using libm_alias_float.
19896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19897 <libm-alias-float.h>.
19898 (fdimf): Define using libm_alias_float.
19899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19900 <libm-alias-float.h>.
19901 (fmaf): Define using libm_alias_float.
19902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19903 <libm-alias-float.h>.
19904 (llrintf): Define using libm_alias_float.
19905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19906 Include <libm-alias-float.h>.
19907 (nearbyintf): Define using libm_alias_float.
19908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19909 <libm-alias-float.h>.
19910 (rintf): Define using libm_alias_float.
19911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19912 <libm-alias-float.h>.
19913 (llrintf): Define using libm_alias_float.
19914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19915 <libm-alias-float.h>.
19916 (lrintf): Define using libm_alias_float.
19917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19918 <libm-alias-float.h>.
19919 (nearbyintf): Define using libm_alias_float.
19920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19921 <libm-alias-float.h>.
19922 (rintf): Define using libm_alias_float.
19923 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19924 <libm-alias-float.h>.
19925 (ceilf): Define using libm_alias_float.
19926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19927 <libm-alias-float.h>.
19928 (floorf): Define using libm_alias_float.
19929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19930 <libm-alias-float.h>.
19931 (fmaf): Define using libm_alias_float.
19932 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19933 <libm-alias-float.h>.
19934 (lrintf): Define using libm_alias_float.
19935 (llrintf): Likewise.
19936 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19937 <libm-alias-float.h>.
19938 (nearbyintf): Define using libm_alias_float.
19939 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19940 <libm-alias-float.h>.
19941 (rintf): Define using libm_alias_float.
19942 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19943 <libm-alias-float.h>.
19944 (truncf): Define using libm_alias_float.
19945 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19946 <libm-alias-float.h>.
19947 (copysignf): Define using libm_alias_float.
19948 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19949 <libm-alias-float.h>.
19950 (fabsf): Define using libm_alias_float.
19951 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19952 <libm-alias-float.h>.
19953 (lrintf): Define using libm_alias_float.
19954 (llrintf): Likewise.
19955 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19956 <libm-alias-float.h>.
19957 (nearbyintf): Define using libm_alias_float.
19958 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19959 <libm-alias-float.h>.
19960 (rintf): Define using libm_alias_float.
19961
19962 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19963
19964 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19965 <libm-alias-double.h>.
19966 (copysign): Define using libm_alias_double.
19967 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19968 <libm-alias-double.h>.
19969 (fabs): Define using libm_alias_double.
19970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19971 Include <libm-alias-double.h>.
19972 (copysign): Define using libm_alias_double.
19973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19974 <libm-alias-double.h>.
19975 (fabs): Define using libm_alias_double.
19976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19977 <libm-alias-double.h>.
19978 (fdim): Define using libm_alias_double.
19979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19980 <libm-alias-double.h>.
19981 (fma): Define using libm_alias_double.
19982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19983 <libm-alias-double.h>.
19984 (llrint): Define using libm_alias_double.
19985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
19986 Include <libm-alias-double.h>.
19987 (nearbyint): Define using libm_alias_double.
19988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
19989 <libm-alias-double.h>.
19990 (rint): Define using libm_alias_double.
19991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19992 <libm-alias-double.h>.
19993 (fabs): Define using libm_alias_double.
19994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
19995 <libm-alias-double.h>.
19996 (llrint): Define using libm_alias_double.
19997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
19998 <libm-alias-double.h>.
19999 (nearbyint): Define using libm_alias_double.
20000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20001 <libm-alias-double.h>.
20002 (rint): Define using libm_alias_double.
20003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20004 <libm-alias-double.h>.
20005 (ceil): Define using libm_alias_double.
20006 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20007 <libm-alias-double.h>.
20008 (floor): Define using libm_alias_double.
20009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20010 <libm-alias-double.h>.
20011 (fma): Define using libm_alias_double.
20012 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20013 <libm-alias-double.h>.
20014 (lrint): Define using libm_alias_double.
20015 (llrint): Likewise.
20016 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20017 <libm-alias-double.h>.
20018 (nearbyint): Define using libm_alias_double.
20019 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20020 <libm-alias-double.h>.
20021 (rint): Define using libm_alias_double.
20022 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20023 <libm-alias-double.h>.
20024 (trunc): Define using libm_alias_double.
20025 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20026 <libm-alias-double.h>.
20027 (copysign): Define using libm_alias_double.
20028 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20029 <libm-alias-double.h>.
20030 (fabs): Define using libm_alias_double.
20031 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20032 <libm-alias-double.h>.
20033 (lrint): Define using libm_alias_double.
20034 (llrint): Likewise.
20035 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20036 <libm-alias-double.h>.
20037 (nearbyint): Define using libm_alias_double.
20038 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20039 <libm-alias-double.h>.
20040 (rint): Define using libm_alias_double.
20041
20042 [BZ #22229]
20043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20044 <math_ldbl_opt.h>.
20045 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20046
20047 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20048 SPARC --disable-multi-arch glibc variants.
20049
20050 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20051 <libm-alias-float.h>.
20052 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20053 if [SHARED].
20054 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20055 <libm-alias-float.h>.
20056 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20057 if [SHARED].
20058 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20059 <libm-alias-float.h>.
20060 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20061 if [SHARED].
20062 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20063 <libm-alias-float.h>.
20064 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20065 if [SHARED].
20066 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20067 <libm-alias-float.h>.
20068 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20069 if [SHARED].
20070 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20071 <libm-alias-float.h>.
20072 (ceilf): Define using libm_alias_float.
20073 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20074 <libm-alias-float.h>.
20075 (floorf): Define using libm_alias_float.
20076 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20077 <libm-alias-float.h>.
20078 (fmaf): Define using libm_alias_float.
20079 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20080 <libm-alias-float.h>.
20081 (nearbyintf): Define using libm_alias_float.
20082 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20083 <libm-alias-float.h>.
20084 (rintf): Define using libm_alias_float.
20085 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20086 <libm-alias-float.h>.
20087 (truncf): Define using libm_alias_float.
20088 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20089 (copysignf): Define using libm_alias_float.
20090 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20091 (cosf): Define using libm_alias_float.
20092 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20093 (fabsf): Define using libm_alias_float.
20094 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20095 (fmaxf): Define using libm_alias_float.
20096 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20097 (fminf): Define using libm_alias_float.
20098 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20099 (llrintf): Define using libm_alias_float.
20100 [!__ILP32__] (lrintf): Likewise.
20101 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20102 (sincosf): Define using libm_alias_float.
20103 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20104 (sinf): Define using libm_alias_float.
20105 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20106 (lrintf): Define using libm_alias_float.
20107
20108 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20109 <libm-alias-double.h>.
20110 (atan): Define using libm_alias_double.
20111 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20112 <libm-alias-double.h>.
20113 (ceil): Define using libm_alias_double.
20114 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20115 <libm-alias-double.h>.
20116 (floor): Define using libm_alias_double.
20117 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20118 <libm-alias-double.h>.
20119 (fma): Define using libm_alias_double.
20120 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20121 <libm-alias-double.h>.
20122 (nearbyint): Define using libm_alias_double.
20123 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20124 <libm-alias-double.h>.
20125 (rint): Define using libm_alias_double.
20126 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20127 <libm-alias-double.h>.
20128 (sin): Define using libm_alias_double.
20129 (cos): Likewise.
20130 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20131 <libm-alias-double.h>.
20132 (tan): Define using libm_alias_double.
20133 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20134 <libm-alias-double.h>.
20135 (trunc): Define using libm_alias_double.
20136 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20137 (copysign): Define using libm_alias_double.
20138 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20139 (fabs): Define using libm_alias_double.
20140 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20141 (fmax): Define using libm_alias_double.
20142 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20143 (fmin): Define using libm_alias_double.
20144 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20145 (llrint): Define using libm_alias_double.
20146 [!__ILP32__] (lrint): Likewise.
20147 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20148 (lrint): Define using libm_alias_double.
20149
20150 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20151
20152 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20153 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20154 objects.
20155 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20156 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20159 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20160 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20161
20162 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20163 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20164 objects.
20165 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20166 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20167 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20168 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20169 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20170 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20171
20172 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20173 (libm-sysdep_routines): Add s_nearbyint-generic and
20174 s_nearbyintf-generic objects.
20175 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20176 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20177 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20178 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20179 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20180 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20181
20182 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20183 Add s_finitef-generic and s_finite-generic objects.
20184 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20185 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20186 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20187 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20188 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20189 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20190
20191 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20192 Add s_isinff-generic and s_isinf-generic objects.
20193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20197 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20199
20200 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20201 Add s_isnanf-generic and s_isnan-generic objects.
20202 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20208
20209 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20210 macro.
20211 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20212 rule.
20213 (sysdep_routines): Use sysdep_calls as base.
20214 (libm-sysdep_routines): Add generic rule for symbols shared with
20215 libc. Add s_signbit-generic and s_signbitf-generic objects.
20216 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20217 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20218 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20219 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20220 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20221 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20222
20223 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20224
20225 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20226 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20227 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20228 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20229 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20230 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20231 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20232 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20233 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20234 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20235 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20236 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20237 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20238 libm_alias_float_r.
20239 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20240 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20241 (logf): Likewise.
20242 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20243 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20244 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20245 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20246 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20247 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20248 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20249 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20250 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20251 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20252 libm_alias_float.
20253 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20254 (cosf): Likewise.
20255 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20256 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20257 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20258 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20259 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20260 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20261 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20262 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20263 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20264 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20265 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20266 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20267 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20268 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20269 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20270 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20271 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20272 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20273 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20274 libm_alias_float.
20275 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20276 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20277 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20278 * sysdeps/ia64/fpu/w_lgammaf_main.c
20279 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20280 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20281
20282 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20283 Alexandre Oliva <aoliva@redhat.com>
20284
20285 [BZ #17750]
20286 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20287 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20288 accents sorting.
20289 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20290 sorting.
20291 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20292 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20293 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20294 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20295 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20296 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20297 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20298 instead of “ifdef DIACRIT_BACKWARD”.
20299
20300 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20301
20302 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20303 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20304 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20305 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20306 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20307 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20312 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20314 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20315 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20316 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20317 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20318 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20319 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20321 ($(have-as-vis3) == yes): Remove conditional.
20322 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20323 Likewise.
20324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20325 file.
20326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20327 file.
20328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20329 file.
20330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20331 file.
20332 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20333 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20334 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20335 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20338 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20339 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20340
20341 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20342
20343 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20344 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20345 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20346 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20347 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20348 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20349 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20350 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20351 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20352 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20353 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20354 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20355 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20356 libm_alias_double_r.
20357 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20358 (log): Likewise.
20359 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20360 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20361 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20362 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20363 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20364 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20365 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20366 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20367 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20368 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20369 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20370 libm_alias_double.
20371 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20372 (cos): Likewise.
20373 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20374 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20375 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20376 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20377 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20378 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20379 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20380 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20381 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20382 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20383 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20384 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20385 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20386 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20387 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20388 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20389 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20390 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20391 libm_alias_double.
20392 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20393 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20394 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20395 * sysdeps/ia64/fpu/w_lgamma_main.c
20396 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20397 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20398
20399 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20400
20401 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20402 address of $global$ into %dp register earlier. Use pc-relative
20403 instruction sequence for PIC case.
20404
20405 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20406
20407 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20408 (asinhf): Define using libm_alias_float.
20409 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20410 (atanf): Define using libm_alias_float.
20411 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20412 (cbrtf): Define using libm_alias_float.
20413 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20414 (ceilf): Define using libm_alias_float.
20415 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20416 (copysignf): Define using libm_alias_float.
20417 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20418 (expm1f): Define using libm_alias_float.
20419 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20420 (fabsf): Define using libm_alias_float.
20421 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20422 (floorf): Define using libm_alias_float.
20423 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20424 (fmaxf): Define using libm_alias_float.
20425 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20426 (fminf): Define using libm_alias_float.
20427 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20428 (frexpf): Define using libm_alias_float.
20429 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20430 (llrintf): Define using libm_alias_float.
20431 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20432 (logbf): Define using libm_alias_float.
20433 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20434 (lrintf): Define using libm_alias_float.
20435 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20436 (nearbyintf): Define using libm_alias_float.
20437 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20438 (remquof): Define using libm_alias_float.
20439 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20440 (rintf): Define using libm_alias_float.
20441 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20442 (truncf): Define using libm_alias_float.
20443 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20444 <libm-alias-float.h>.
20445 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20446 if [SHARED].
20447 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20448 <libm-alias-float.h>.
20449 (expf): Define using libm_alias_float, or libm_alias_float_other
20450 if [SHARED].
20451 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20452 <libm-alias-float.h>.
20453 (log2f): Define using libm_alias_float, or libm_alias_float_other
20454 if [SHARED].
20455 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20456 <libm-alias-float.h>.
20457 (logf): Define using libm_alias_float, or libm_alias_float_other
20458 if [SHARED].
20459 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20460 <libm-alias-float.h>.
20461 (powf): Define using libm_alias_float, or libm_alias_float_other
20462 if [SHARED].
20463 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20464 <libm-alias-float.h>.
20465 (cosf): Define using libm_alias_float.
20466 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20467 <libm-alias-float.h>.
20468 (sincosf): Define using libm_alias_float.
20469 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20470 <libm-alias-float.h>.
20471 (sinf): Define using libm_alias_float.
20472 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20473 (fmaxf): Define using libm_alias_float.
20474 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20475 (fminf): Define using libm_alias_float.
20476 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20477 <libm-alias-float.h>.
20478 (fmaf): Define using libm_alias_float.
20479
20480 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20481 (asinh): Define using libm_alias_double.
20482 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20483 (atan): Define using libm_alias_double.
20484 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20485 (cbrt): Define using libm_alias_double.
20486 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20487 (ceil): Define using libm_alias_double.
20488 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20489 (copysign): Define using libm_alias_double.
20490 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20491 (expm1): Define using libm_alias_double.
20492 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20493 (fabs): Define using libm_alias_double.
20494 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20495 (fdim): Define using libm_alias_double.
20496 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20497 (floor): Define using libm_alias_double.
20498 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20499 (fmax): Define using libm_alias_double.
20500 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20501 (fmin): Define using libm_alias_double.
20502 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20503 (frexp): Define using libm_alias_double.
20504 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20505 (llrint): Define using libm_alias_double.
20506 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20507 (logb): Define using libm_alias_double.
20508 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20509 (lrint): Define using libm_alias_double.
20510 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20511 (nearbyint): Define using libm_alias_double.
20512 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20513 (remquo): Define using libm_alias_double.
20514 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20515 (rint): Define using libm_alias_double.
20516 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20517 (trunc): Define using libm_alias_double.
20518 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20519 (fmax): Define using libm_alias_double.
20520 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20521 (fmin): Define using libm_alias_double.
20522 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20523 (fma): Define using libm_alias_double.
20524
20525 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20526
20527 [BZ #22370]
20528 * elf/dl-hwcaps.c (ROUND): Removed.
20529 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20530 and ELF_NOTE_NEXT_OFFSET.
20531 * elf/dl-load.c (ROUND): Removed.
20532 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20533 * elf/readelflib.c (ROUND): Removed.
20534 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20535 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20536 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20537 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20538
20539 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20540
20541 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20542 [!__fmaf] (fmaf): Define using libm_alias_float.
20543
20544 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20545 [!__fma] (fma): Define using libm_alias_double.
20546 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20547
20548 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20549
20550 [BZ #22336]
20551 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20552 and implement the collation rules for cs from CLDR on top of that.
20553 * Makefile: Add cs_CZ.UTF-8 to test-input.
20554 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20555
20556 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20557
20558 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20559
20560 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20561 Icarus Sparry <icarus.w.sparry@intel.com>
20562
20563 * benchtests/Makefile:Add BENCHSET to allow subsets of
20564 benchmarks to be run.
20565 * benchtests/README: Add documentation for: Running subsets of
20566 benchmarks.
20567
20568 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20569
20570 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20571 range of tests names.
20572
20573 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20574 result from property and remove "max", min" and "mean" from
20575 required properties based on benchtests/bench-skeleton.c.
20576
20577 2017-11-28 Florian Weimer <fweimer@redhat.com>
20578
20579 [BZ #20826]
20580 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20581 due to Internet requirement.
20582 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20583 tst-getaddrinfo5.
20584 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20585
20586 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20587
20588 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20589 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20590 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20591 (sysdep_routines): Add memset-ultra1.
20592 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20593 file.
20594 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20595 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20596 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20597 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20598 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20599 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20600 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20601 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20602
20603 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20604 file.
20605 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20606 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20607 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20608 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20609 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20610 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20611 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20612 macro.
20613 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20614 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20615 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20616 (sysdep_routines): Add memcpy-ultra1.
20617 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20618 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20619
20620 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20621
20622 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20623 (cfloat_versions): Take function argument without trailing 'f'.
20624 Call libm_alias_float_other.
20625 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20626 * sysdeps/alpha/fpu/cargf.c: Likewise.
20627 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20628 * sysdeps/alpha/fpu/conjf.c: Likewise.
20629 * sysdeps/alpha/fpu/crealf.c: Likewise.
20630 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20631 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20632 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20633 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20634 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20635 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20636 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20637 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20638 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20639 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20640 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20641 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20642 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20643 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20644 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20645 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20646 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20647 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20648 (clog10f): Use libm_alias_float_other.
20649 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20650 (ceilf): Define using libm_alias_float.
20651 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20652 (copysignf): Define using libm_alias_float.
20653 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20654 (fabsf): Define using libm_alias_float.
20655 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20656 (floorf): Define using libm_alias_float.
20657 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20658 (fmaxf): Define using libm_alias_float.
20659 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20660 (fminf): Define using libm_alias_float.
20661 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20662 (lrintf): Define using libm_alias_float.
20663 (llrintf): Likewise.
20664 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20665 (lroundf): Define using libm_alias_float.
20666 (llroundf): Likewise.
20667 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20668 (rintf): Define using libm_alias_float.
20669 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20670 (truncf): Define using libm_alias_float.
20671
20672 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20673 (ceilf): Define using libm_alias_float.
20674 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20675 (floorf): Define using libm_alias_float.
20676 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20677 (fmaf): Define using libm_alias_float.
20678 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20679 (fmaxf): Define using libm_alias_float.
20680 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20681 (fminf): Define using libm_alias_float.
20682 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20683 (llrintf): Define using libm_alias_float.
20684 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20685 (llroundf): Define using libm_alias_float.
20686 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20687 (lrintf): Define using libm_alias_float.
20688 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20689 (lroundf): Define using libm_alias_float.
20690 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20691 <libm-alias-float.h>.
20692 (nearbyintf): Define using libm_alias_float.
20693 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20694 (rintf): Define using libm_alias_float.
20695 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20696 (roundf): Define using libm_alias_float.
20697 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20698 (truncf): Define using libm_alias_float.
20699
20700 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20701 (ceil): Define using libm_alias_double.
20702 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20703 (copysign): Define using libm_alias_double.
20704 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20705 (fabs): Define using libm_alias_double.
20706 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20707 (floor): Define using libm_alias_double.
20708 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20709 (fmax): Define using libm_alias_double.
20710 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20711 (fmin): Define using libm_alias_double.
20712 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20713 (lrint): Define using libm_alias_double.
20714 (llrint): Likewise.
20715 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20716 (lround): Define using libm_alias_double.
20717 (llround): Likewise.
20718 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20719 (rint): Define using libm_alias_double.
20720 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20721 (trunc): Define using libm_alias_double.
20722
20723 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20724 (libm_alias_double_r): Add semicolon after weak_alias call.
20725
20726 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20727
20728 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20729 (ceil): Define using libm_alias_double.
20730 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20731 (floor): Define using libm_alias_double.
20732 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20733 (fma): Define using libm_alias_double.
20734 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20735 (fmax): Define using libm_alias_double.
20736 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20737 (fmin): Define using libm_alias_double.
20738 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20739 (llrint): Define using libm_alias_double.
20740 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20741 (llround): Define using libm_alias_double.
20742 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20743 (lrint): Define using libm_alias_double.
20744 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20745 (lround): Define using libm_alias_double.
20746 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20747 (nearbyint): Define using libm_alias_double.
20748 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20749 (rint): Define using libm_alias_double.
20750 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20751 (round): Define using libm_alias_double.
20752 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20753 (trunc): Define using libm_alias_double.
20754
20755 2017-11-27 Florian Weimer <fweimer@redhat.com>
20756
20757 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20758 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20759 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20760 (tests): Add tst-mlock2.
20761 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20762 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20763 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20764 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20765 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20766 for mlock. Document mlock2.
20767
20768 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20769
20770 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20771 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20772 Likewise.
20773 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20774 Likewise.
20775 * sysdeps/x86/Makeconfig: New file.
20776 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20777 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20778 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20779 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20780 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20781 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20782 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20783 Likewise.
20784 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20785 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20786 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20787 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20788 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20789 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20790 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20791 * manual/math.texi (Mathematics): Document support for _Float64x.
20792 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20793 * stdlib/Versions (GLIBC_2.27): Likewise.
20794 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20795 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20796 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20797 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20798 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20799 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20800 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20801 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20802 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20803 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20804 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20805 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20807 Likewise.
20808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20809 Likewise.
20810 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20811 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20812 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20813 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20814 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20815 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20816 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20817 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20818 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20819 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20820 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20821 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20822 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20823 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20824
20825 2017-11-27 Andreas Schwab <schwab@suse.de>
20826
20827 * elf/Makefile (dl-routines): Add dl-sort-maps.
20828 * elf/dl-sort-maps.c: New file.
20829 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20830 (_dl_sort_maps): Declare.
20831 * elf/dl-fini.c (_dl_sort_fini): Remove.
20832 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20833 * elf/dl-close.c (_dl_close_worker): Likewise.
20834 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20835 open-coding it.
20836 * elf/dl-open.c (dl_open_worker): Likewise.
20837
20838 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20839
20840 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20841 using libm_alias_float128.
20842 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20843 Likewise.
20844 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20845 Likewise.
20846 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20847 (setpayloadsigf128): Likewise.
20848 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20849 Likewise.
20850 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20851 Likewise.
20852
20853 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20854 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20855 -mfloat128 to CFLAGS.
20856 ($(foreach
20857 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20858 Likewise.
20859 (CFLAGS-libm-test-support-float64x.c): New variable.
20860 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20861 $(f128-loader-link) to gnulib-tests.
20862
20863 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20864 (libm_alias_float128_other_r): If
20865 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20866 alias.
20867 (libm_alias_float128_r): Add semicolon after weak_alias call.
20868 * sysdeps/generic/libm-alias-ldouble.h
20869 (libm_alias_ldouble_other_r_f128): New macro.
20870 (libm_alias_ldouble_other_r_f64x): Likewise.
20871 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20872 and libm_alias_ldouble_other_r_f64x.
20873 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20874 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20875 (libm_alias_ldouble_other_r_f128): New macro.
20876 (libm_alias_ldouble_other_r_f64x): Likewise.
20877 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20878 and libm_alias_ldouble_other_r_f64x.
20879
20880 * stdlib/strfroml.c: Always include <stdlib.h>.
20881 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20882 undefine as macro and define as weak alias.
20883 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20884 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20885 <stdlib.h>.
20886 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20887 Define and later undefine as macro and define as weak alias.
20888
20889 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20890 Define and later undefine as macro. Define as weak alias if
20891 [!USE_WIDE_CHAR].
20892 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20893 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20894 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20895 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20896 Define and later undefine as macro. Define as weak alias if
20897 [!USE_WIDE_CHAR].
20898 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20899 Define and later undefine as macro. Define as weak alias if
20900 [USE_WIDE_CHAR].
20901 * sysdeps/ieee754/float128/strtof128_l.c
20902 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20903 Define and later undefine as macro. Define as weak alias if
20904 [!USE_WIDE_CHAR].
20905 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20906 Define and later undefine as macro. Define as weak alias if
20907 [USE_WIDE_CHAR].
20908 * sysdeps/ieee754/ldbl-128/strtold_l.c
20909 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20910 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20911 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20912 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20913 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20914 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20915 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20916 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20917 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20918 * sysdeps/ieee754/ldbl-96/strtold_l.c
20919 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20920 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20921 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20922 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20923
20924 * math/test-float64x.h: New file.
20925 * math/Makefile (type-float64x-yes): New variable.
20926 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20927
20928 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20929 function-like macro.
20930 (min_of_type_): Likewise.
20931 (min_of_type_l): Likewise.
20932 (min_of_type_f128): Likewise.
20933 (min_of_type): Pass () as last argument of __MATH_TG.
20934
20935 * stdlib/tst-strtod-round-skeleton.c
20936 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20937 headers.
20938
20939 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20940 for combinations of long double with _Float64 and _Float64x.
20941
20942 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20943 (__DECL_SIMD_cosf32): Likewise.
20944 (__DECL_SIMD_cosf64): Likewise.
20945 (__DECL_SIMD_cosf32x): Likewise.
20946 (__DECL_SIMD_cosf64x): Likewise.
20947 (__DECL_SIMD_cosf128x): Likewise.
20948 (__DECL_SIMD_sinf16): Likewise.
20949 (__DECL_SIMD_sinf32): Likewise.
20950 (__DECL_SIMD_sinf64): Likewise.
20951 (__DECL_SIMD_sinf32x): Likewise.
20952 (__DECL_SIMD_sinf64x): Likewise.
20953 (__DECL_SIMD_sinf128x): Likewise.
20954 (__DECL_SIMD_sincosf16): Likewise.
20955 (__DECL_SIMD_sincosf32): Likewise.
20956 (__DECL_SIMD_sincosf64): Likewise.
20957 (__DECL_SIMD_sincosf32x): Likewise.
20958 (__DECL_SIMD_sincosf64x): Likewise.
20959 (__DECL_SIMD_sincosf128x): Likewise.
20960 (__DECL_SIMD_logf16): Likewise.
20961 (__DECL_SIMD_logf32): Likewise.
20962 (__DECL_SIMD_logf64): Likewise.
20963 (__DECL_SIMD_logf32x): Likewise.
20964 (__DECL_SIMD_logf64x): Likewise.
20965 (__DECL_SIMD_logf128x): Likewise.
20966 (__DECL_SIMD_expf16): Likewise.
20967 (__DECL_SIMD_expf32): Likewise.
20968 (__DECL_SIMD_expf64): Likewise.
20969 (__DECL_SIMD_expf32x): Likewise.
20970 (__DECL_SIMD_expf64x): Likewise.
20971 (__DECL_SIMD_expf128x): Likewise.
20972 (__DECL_SIMD_powf16): Likewise.
20973 (__DECL_SIMD_powf32): Likewise.
20974 (__DECL_SIMD_powf64): Likewise.
20975 (__DECL_SIMD_powf32x): Likewise.
20976 (__DECL_SIMD_powf64x): Likewise.
20977 (__DECL_SIMD_powf128x): Likewise.
20978
20979 * stdlib/Versions (libc): Move entries for wcstof128 and
20980 wcstof128_l to ....
20981 * wcsmbs/Versions (libc): ... here.
20982 Include <float128-abi.h>.
20983
20984 2017-11-24 Florian Weimer <fweimer@redhat.com>
20985
20986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20987 bits/mman-shared.h.
20988 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
20989 <bits/mman-shared.h>.
20990 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
20991 to ...
20992 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
20993 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
20994 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
20995 <bits/mman-shared.h>.
20996
20997 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20998
20999 [BZ #22457]
21000 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21001 posix_memalign/free.
21002 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21003
21004 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21005
21006 [BZ #22469]
21007 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21008 and implement the collation rules for pl from CLDR on top of that.
21009 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21010 of locales to be built for testing.
21011 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21012
21013 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21014
21015 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21016 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21017 libm_alias_ldouble_other.
21018 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21019 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21020 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21021 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21022 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21023 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21024 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21025 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21026 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21027 libm_alias_ldouble_r.
21028 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21029 libm_alias_ldouble_other.
21030 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21031 (log10l): Likewise.
21032 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21033 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21034 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21035 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21036 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21037 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21038 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21039 (atan2l): Likewise.
21040 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21041 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21042 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21043 libm_alias_ldouble.
21044 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21045 (cosl): Likewise.
21046 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21047 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21048 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21049 (expl): Likewise.
21050 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21051 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21052 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21053 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21054 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21055 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21056 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21057 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21058 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21059 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21060 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21061 libm_alias_ldouble.
21062 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21063 libm_alias_ldouble_other.
21064 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21065 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21066 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21067 libm_alias_ldouble.
21068 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21069 libm_alias_ldouble_other.
21070 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21071 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21072 * sysdeps/ia64/fpu/w_lgammal_main.c
21073 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21074 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21075
21076 2017-11-23 Florian Weimer <fweimer@redhat.com>
21077
21078 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21079 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21080 alike. Remove freeres marker.
21081 * malloc/arena.c (arena_thread_freeres): Call
21082 tcache_thread_shutdown.
21083
21084 2017-11-23 Florian Weimer <fweimer@redhat.com>
21085
21086 [BZ #22459]
21087 Export nscd hash function as __nss_hash.
21088 * include/nss.h (__nss_hash): Declare.
21089 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21090 symbol.
21091 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21092 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21093 of __nscd_hash.
21094 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21095 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21096 * nss/Makefiles (routines): Add nss_hash.
21097 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21098 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21099 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21100 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21101
21102 2017-11-23 Florian Weimer <fweimer@redhat.com>
21103
21104 [BZ #22478]
21105 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21106 Return error code, not -1.
21107 * signal/tst-sigwait-eintr.c: New file.
21108 * signal/Makefile (tests): Add tst-sigwait-eintr.
21109
21110 2017-11-23 Florian Weimer <fweimer@redhat.com>
21111
21112 Linux: Add memfd_create system call wrapper
21113 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21114 tst-memfd_create.
21115 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21116 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21117 [__USE_GNU] (memfd_create): Declare.
21118 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21119 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21120 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21121 * sysdeps/unix/sysv/linux/**.abilist: Update.
21122 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21123
21124 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21125
21126 * localedata/gen-locale.sh: Fix typo in variable name.
21127
21128 * resolv/res_debug.c (p_secstodate): Condition definition on
21129 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21130 directly as __p_secstodate, and as a compat symbol. Do not use
21131 libresolv_hidden_def.
21132 * resolv/resolv.h (p_secstodate): Remove macro and function
21133 declaration.
21134 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21135 using p_secstodate.
21136 * include/resolv.h (__p_secstodate): Do not use
21137 libresolv_hidden_proto.
21138 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21139 (tests-internal): ... here.
21140 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21141 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21142 and declare and use __p_secstodate and use compat_symbol_reference
21143 in that case.
21144 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21145 implementation returning 77.
21146
21147 [BZ #22463]
21148 * resolv/res_debug.c: Include <libc-diag.h>.
21149 (p_secstodate): Assert time_t at least as wide as u_long. On
21150 overflow, use integer seconds since the epoch as output, or use
21151 "<overflow>" as output and set errno to EOVERFLOW if integer
21152 seconds since the epoch would be 14 or more characters.
21153 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21154 for sprintf call.
21155 * resolv/tst-p_secstodate.c: New file.
21156 * resolv/Makefile (tests): Add tst-p_secstodate.
21157 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21158
21159 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21160 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21161 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21162
21163 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21164
21165 * posix/regcomp.c (init_word_char): Add comments.
21166
21167 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21168
21169 [BZ #22447]
21170 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21171 strlen to compute length of ut_user and set trailing NUL byte of
21172 result explicitly.
21173
21174 2017-11-21 Mike FABIAN <mfabian@redhat.com>
21175
21176 [BZ #15537]
21177 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21178 using “copy "iso14651_t1"” and then implementing the
21179 collation rules for lv from CLDR on top of that.
21180 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21181 of locales to be built for testing.
21182 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21183 sorting.
21184
21185 2017-11-21 Joseph Myers <joseph@codesourcery.com>
21186
21187 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21188 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21189 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21190 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21191 [__USE_MISC] (MADV_HWPOISON): New macro.
21192 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21193
21194 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21195
21196 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21197 -Wmissing-braces on GCC 4.9.
21198
21199 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21200
21201 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21202 * sysdeps/s390/s390-32/start.S (_start): Likewise
21203 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21204 (thread_start): Likewise.
21205 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21206 (thread_start): Likewise.
21207 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21208 (__makecontext_ret): Likewise.
21209 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21210 (__makecontext_ret): Likewise.
21211
21212 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21213
21214 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21215 __wcschrnul): Remove attribute_hidden.
21216
21217 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21218
21219 regex: don't assume uint64_t or uint32_t
21220 This avoids -Werror=overflow errors for 32-bit systems in
21221 the 64-bit case. Problem reported by Joseph Myers in:
21222 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21223 Also, when this code is used in Gnulib it ports to platforms
21224 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21225 them, and on some 32-bit compilers there is no uint64_t.
21226 Problem reported by Gianluigi Tiesi in:
21227 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21228 * posix/regcomp.c (init_word_char): Don't assume that the types
21229 uint64_t and uint32_t exist. Adapted from Gnulib patch
21230 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21231 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21232
21233 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21234
21235 * sysdeps/aarch64/memset-reg.h: New file.
21236 * sysdeps/aarch64/memset.S: Use it.
21237 (__memset): Rename to MEMSET macro.
21238 [ZVA_MACRO]: Use zva_macro.
21239 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21240 Add memset_generic and memset_falkor.
21241 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21242 (__libc_ifunc_impl_list): Add memset ifuncs.
21243 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21244 local variable zva_size.
21245 * sysdeps/aarch64/multiarch/memset.c: New file.
21246 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21247 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21248 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21249 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21250 (DCZID_DZP_MASK): New macro.
21251 (DCZID_BS_MASK): Likewise.
21252 (init_cpu_features): Read and set zva_size.
21253 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21254 (struct cpu_features): New member zva_size.
21255
21256 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21257 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21258 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21259
21260 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21261 backwards. Fix timing computation.
21262 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21263 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21264 on memset by N at a time. Fix timing computation.
21265
21266 2017-11-20 Florian Weimer <fweimer@redhat.com>
21267
21268 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21269 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21270
21271 2017-11-19 Florian Weimer <fweimer@redhat.com>
21272
21273 manual: Document mprotect
21274 * manual/memory.texi (Memory Protection): New section.
21275 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21276 documentation of PROT_* flags and reference the Memory Protection
21277 section instead.
21278
21279 2017-11-19 Florian Weimer <fweimer@redhat.com>
21280
21281 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21282 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21283 (Scatter-Gather): ... to here. Remove misleading comment.
21284
21285 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
21286
21287 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21288 style.
21289
21290 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21291 when /proc/<pid>/setgroups does not exist.
21292
21293 2017-11-18 Florian Weimer <fweimer@redhat.com>
21294
21295 * sysdeps/unix/sysv/linux/tst-ttyname.c
21296 (become_root_in_mount_ns): Remove.
21297 (do_in_chroot_1): Call support_enter_mount_namespace.
21298 (do_in_chroot_2): Likewise.
21299 (do_test): Call support_become_root early.
21300
21301 2017-11-18 Florian Weimer <fweimer@redhat.com>
21302
21303 * support/namespace.h (support_enter_mount_namespace): Declare.
21304 * support/support_enter_mount_namespace.c: New file.
21305 * support/Makefile (libsupport-routines): Add
21306 support_enter_mount_namespace.
21307
21308 2017-11-18 Florian Weimer <fweimer@redhat.com>
21309
21310 * support/temp_file.c (support_create_temp_directory): Use
21311 test_dir and do not rely on the presence of the XXXXXX suffix.
21312 * support/temp_file.h (support_create_temp_directory): Update
21313 comment.
21314 * support/tst-xreadlink.c (do_test): Adjust.
21315 * support/support_chroot.c (support_chroot_create): Likewise.
21316
21317 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21318
21319 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21320 macro.
21321 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21322 htm-no-suspend.
21323
21324 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21325
21326 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21327 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21328 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21329 (ceill): Define using libm_alias_ldouble.
21330 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21331 <libm-alias-ldouble.h>.
21332 (copysignl): Define using libm_alias_ldouble.
21333 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21334 (fabsl): Define using libm_alias_ldouble.
21335 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21336 (floorl): Define using libm_alias_ldouble.
21337 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21338 (fmaxl): Define using libm_alias_ldouble.
21339 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21340 (fminl): Define using libm_alias_ldouble.
21341 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21342 (llrintl): Define using libm_alias_ldouble.
21343 (lrintl): Likewise.
21344 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21345 <libm-alias-ldouble.h>.
21346 (nearbyintl): Define using libm_alias_ldouble.
21347 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21348 (truncl): Define using libm_alias_ldouble.
21349 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21350 <libm-alias-ldouble.h>.
21351 (lrintl): Define using libm_alias_ldouble.
21352
21353 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21354 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21355 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21356 (asinhl): Define using libm_alias_ldouble.
21357 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21358 (atanl): Define using libm_alias_ldouble.
21359 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21360 (cbrtl): Define using libm_alias_ldouble.
21361 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21362 (ceill): Define using libm_alias_ldouble.
21363 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21364 (copysignl): Define using libm_alias_ldouble.
21365 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21366 (fabsl): Define using libm_alias_ldouble.
21367 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21368 (floorl): Define using libm_alias_ldouble.
21369 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21370 (fmaxl): Define using libm_alias_ldouble.
21371 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21372 (fminl): Define using libm_alias_ldouble.
21373 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21374 (frexpl): Define using libm_alias_ldouble.
21375 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21376 (llrintl): Define using libm_alias_ldouble.
21377 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21378 (logbl): Define using libm_alias_ldouble.
21379 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21380 (lrintl): Define using libm_alias_ldouble.
21381 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21382 (nearbyintl): Define using libm_alias_ldouble.
21383 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21384 (nextafterl): Define using libm_alias_ldouble.
21385 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21386 (remquol): Define using libm_alias_ldouble.
21387 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21388 (rintl): Define using libm_alias_ldouble.
21389 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21390 (truncl): Define using libm_alias_ldouble.
21391 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21392 (fmaxl): Define using libm_alias_ldouble.
21393 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21394 (fminl): Define using libm_alias_ldouble.
21395
21396 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21397 to C syntax instead of availability and properties of types.
21398 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21399 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21400 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21401 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21402 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21403 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21404
21405 2017-11-17 Florian Weimer <fweimer@redhat.com>
21406
21407 support_become_root: Enable file creation in namespaces.
21408 * support/support_become_root.c (setup_mapping): New function.
21409 (support_become_root): Call it.
21410
21411 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21412
21413 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21414 macro.
21415
21416 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21417
21418 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21419 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21420
21421 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21422
21423 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21424
21425 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21426 version to 4.14.
21427
21428 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21429
21430 * INSTALL: Fix botched up regeneration.
21431
21432 * NEWS: Update sourceare link to https.
21433 * configure.ac: Likewise.
21434 * crypt/md5test-giant.c: Likewise.
21435 * dlfcn/bug-atexit1.c: Likewise.
21436 * dlfcn/bug-atexit2.c: Likewise.
21437 * localedata/README: Likewise.
21438 * malloc/tst-mallocfork.c: Likewise.
21439 * manual/install.texi: Likewise.
21440 * nptl/tst-pthread-getattr.c: Likewise.
21441 * stdio-common/tst-fgets.c: Likewise.
21442 * stdio-common/tst-fwrite.c: Likewise.
21443 * sunrpc/Makefile: Likewise.
21444 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21445 * wcsmbs/tst-mbrtowc2.c: Likewise.
21446 * configure: Regenerate.
21447 * INSTALL: Regenerate.
21448
21449 2017-11-15 Martin Sebor <msebor@redhat.com>
21450
21451 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21452 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21453 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21454
21455 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21456
21457 [BZ #22145]
21458 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21459 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21460
21461 [BZ #22145]
21462 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21463 Defer is_pty check until end of the function.
21464 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21465
21466 [BZ #22145]
21467 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21468 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21469 (ttyname): Likewise.
21470 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21471 (__ttyname_r): Likewise.
21472
21473 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21474 int to bool.
21475
21476 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21477
21478 * manual/terminal.texi (Is It a Terminal):
21479 Mention ENODEV for ttyname and ttyname_r.
21480
21481 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21482
21483 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21484 constant and macro.
21485
21486 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21487 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21488 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21489 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21490 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21491 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21492
21493 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21494
21495 * signal/sigrelse.c (sigrelse): Optimize implementation.
21496
21497 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21498 (__sigpause): Rely on __sigsuspend to implement single thread
21499 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21500
21501 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21502
21503 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21504 kernel version to 4.14.
21505
21506 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21507
21508 [BZ #22442]
21509 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21510 Check if ifname is too long.
21511
21512 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21513
21514 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21515
21516 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21517
21518 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21519 was accidentally lost.
21520
21521 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21522
21523 * localedata/locales/az_IR: Add standard copyright header.
21524
21525 2017-11-15 Florian Weimer <fweimer@redhat.com>
21526
21527 [BZ #22439]
21528 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21529 not just the top one. Output a new "subheaps" statistic.
21530
21531 2017-11-15 Florian Weimer <fweimer@redhat.com>
21532
21533 [BZ #22408]
21534 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21535 under the per-arena lock.
21536 * malloc/Makefile (tests): Add tst-malloc_info.
21537 (tst-malloc_info): Link with libpthread.
21538 * malloc/tst-malloc_info.c: New file.
21539
21540 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21541
21542 [BZ #21660]
21543 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21544 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21545 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21546 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21547 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21548 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21549 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21550 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21551 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21552 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21553 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21554 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21555 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21556 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21557 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21558 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21559 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21560 (__floating_type): Likewise.
21561 (__real_integer_type): Likewise.
21562 (__complex_integer_type): Likewise.
21563 (__expr_is_real): Likewise.
21564 (__tgmath_real_type_sub): Likewise.
21565 (__tgmath_real_type): Likewise.
21566 (__tgmath_complex_type_sub): Likewise.
21567 (__tgmath_complex_type): Likewise.
21568 (__TGMATH_F128): Likewise.
21569 (__TGMATH_CF128): Likewise.
21570 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21571 new macros.
21572 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21573 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21574 Likewise.
21575 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21576 Likewise.
21577 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21578 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21579 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21580 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21581 Likewise.
21582 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21583 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21584 Likewise.
21585 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21586 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21587 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21588 Likewise.
21589 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21590 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21591 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21592 (cimag): Likewise.
21593 (creal): Likewise.
21594
21595 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21596
21597 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21598 for stpncpy calls for GCC 8.
21599 (test_strncat): Disable -Wstringop-truncation warning for strncat
21600 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21601 strncat call for GCC 7.
21602 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21603 calls for GCC 8.
21604 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21605 trailing NUL.
21606
21607 * string/bug-strncat1.c: Include <libc-diag.h>.
21608 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21609
21610 2017-11-13 Claude Paroz <claude@2xlibre.net>
21611
21612 [BZ #22387]
21613 * localedata/locales/aa_DJ: Improved readibility by replacing
21614 <Uxxxx> sequences in the ASCII printable range by their ASCII
21615 character equivalents.
21616 * localedata/locales/aa_ER: Likewise.
21617 * localedata/locales/aa_ER@saaho: Likewise.
21618 * localedata/locales/aa_ET: Likewise.
21619 * localedata/locales/af_ZA: Likewise.
21620 * localedata/locales/agr_PE: Likewise.
21621 * localedata/locales/ak_GH: Likewise.
21622 * localedata/locales/am_ET: Likewise.
21623 * localedata/locales/anp_IN: Likewise.
21624 * localedata/locales/ar_AE: Likewise.
21625 * localedata/locales/ar_BH: Likewise.
21626 * localedata/locales/ar_DZ: Likewise.
21627 * localedata/locales/ar_EG: Likewise.
21628 * localedata/locales/ar_IN: Likewise.
21629 * localedata/locales/ar_IQ: Likewise.
21630 * localedata/locales/ar_JO: Likewise.
21631 * localedata/locales/ar_KW: Likewise.
21632 * localedata/locales/ar_LB: Likewise.
21633 * localedata/locales/ar_LY: Likewise.
21634 * localedata/locales/ar_MA: Likewise.
21635 * localedata/locales/ar_OM: Likewise.
21636 * localedata/locales/ar_QA: Likewise.
21637 * localedata/locales/ar_SA: Likewise.
21638 * localedata/locales/ar_SD: Likewise.
21639 * localedata/locales/ar_SS: Likewise.
21640 * localedata/locales/ar_SY: Likewise.
21641 * localedata/locales/ar_TN: Likewise.
21642 * localedata/locales/ar_YE: Likewise.
21643 * localedata/locales/as_IN: Likewise.
21644 * localedata/locales/ast_ES: Likewise.
21645 * localedata/locales/ayc_PE: Likewise.
21646 * localedata/locales/az_AZ: Likewise.
21647 * localedata/locales/az_IR: Likewise.
21648 * localedata/locales/be_BY: Likewise.
21649 * localedata/locales/be_BY@latin: Likewise.
21650 * localedata/locales/bem_ZM: Likewise.
21651 * localedata/locales/ber_DZ: Likewise.
21652 * localedata/locales/ber_MA: Likewise.
21653 * localedata/locales/bg_BG: Likewise.
21654 * localedata/locales/bhb_IN: Likewise.
21655 * localedata/locales/bho_IN: Likewise.
21656 * localedata/locales/bi_VU: Likewise.
21657 * localedata/locales/bn_BD: Likewise.
21658 * localedata/locales/bn_IN: Likewise.
21659 * localedata/locales/bo_CN: Likewise.
21660 * localedata/locales/bo_IN: Likewise.
21661 * localedata/locales/br_FR: Likewise.
21662 * localedata/locales/brx_IN: Likewise.
21663 * localedata/locales/bs_BA: Likewise.
21664 * localedata/locales/byn_ER: Likewise.
21665 * localedata/locales/ca_AD: Likewise.
21666 * localedata/locales/ca_ES: Likewise.
21667 * localedata/locales/ca_FR: Likewise.
21668 * localedata/locales/ca_IT: Likewise.
21669 * localedata/locales/ce_RU: Likewise.
21670 * localedata/locales/chr_US: Likewise.
21671 * localedata/locales/cmn_TW: Likewise.
21672 * localedata/locales/crh_UA: Likewise.
21673 * localedata/locales/cs_CZ: Likewise.
21674 * localedata/locales/csb_PL: Likewise.
21675 * localedata/locales/cv_RU: Likewise.
21676 * localedata/locales/cy_GB: Likewise.
21677 * localedata/locales/da_DK: Likewise.
21678 * localedata/locales/de_AT: Likewise.
21679 * localedata/locales/de_BE: Likewise.
21680 * localedata/locales/de_CH: Likewise.
21681 * localedata/locales/de_DE: Likewise.
21682 * localedata/locales/de_IT: Likewise.
21683 * localedata/locales/de_LI: Likewise.
21684 * localedata/locales/de_LU: Likewise.
21685 * localedata/locales/doi_IN: Likewise.
21686 * localedata/locales/dv_MV: Likewise.
21687 * localedata/locales/dz_BT: Likewise.
21688 * localedata/locales/el_CY: Likewise.
21689 * localedata/locales/el_GR: Likewise.
21690 * localedata/locales/en_AG: Likewise.
21691 * localedata/locales/en_AU: Likewise.
21692 * localedata/locales/en_BW: Likewise.
21693 * localedata/locales/en_CA: Likewise.
21694 * localedata/locales/en_DK: Likewise.
21695 * localedata/locales/en_GB: Likewise.
21696 * localedata/locales/en_HK: Likewise.
21697 * localedata/locales/en_IE: Likewise.
21698 * localedata/locales/en_IL: Likewise.
21699 * localedata/locales/en_IN: Likewise.
21700 * localedata/locales/en_NG: Likewise.
21701 * localedata/locales/en_NZ: Likewise.
21702 * localedata/locales/en_PH: Likewise.
21703 * localedata/locales/en_SG: Likewise.
21704 * localedata/locales/en_US: Likewise.
21705 * localedata/locales/en_ZA: Likewise.
21706 * localedata/locales/en_ZM: Likewise.
21707 * localedata/locales/en_ZW: Likewise.
21708 * localedata/locales/eo: Likewise.
21709 * localedata/locales/es_AR: Likewise.
21710 * localedata/locales/es_BO: Likewise.
21711 * localedata/locales/es_CL: Likewise.
21712 * localedata/locales/es_CO: Likewise.
21713 * localedata/locales/es_CR: Likewise.
21714 * localedata/locales/es_CU: Likewise.
21715 * localedata/locales/es_DO: Likewise.
21716 * localedata/locales/es_EC: Likewise.
21717 * localedata/locales/es_ES: Likewise.
21718 * localedata/locales/es_GT: Likewise.
21719 * localedata/locales/es_HN: Likewise.
21720 * localedata/locales/es_MX: Likewise.
21721 * localedata/locales/es_NI: Likewise.
21722 * localedata/locales/es_PA: Likewise.
21723 * localedata/locales/es_PE: Likewise.
21724 * localedata/locales/es_PR: Likewise.
21725 * localedata/locales/es_PY: Likewise.
21726 * localedata/locales/es_SV: Likewise.
21727 * localedata/locales/es_US: Likewise.
21728 * localedata/locales/es_UY: Likewise.
21729 * localedata/locales/es_VE: Likewise.
21730 * localedata/locales/et_EE: Likewise.
21731 * localedata/locales/eu_ES: Likewise.
21732 * localedata/locales/eu_ES@euro: Likewise.
21733 * localedata/locales/fa_IR: Likewise.
21734 * localedata/locales/ff_SN: Likewise.
21735 * localedata/locales/fi_FI: Likewise.
21736 * localedata/locales/fil_PH: Likewise.
21737 * localedata/locales/fo_FO: Likewise.
21738 * localedata/locales/fr_BE: Likewise.
21739 * localedata/locales/fr_CA: Likewise.
21740 * localedata/locales/fr_CH: Likewise.
21741 * localedata/locales/fr_FR: Likewise.
21742 * localedata/locales/fr_LU: Likewise.
21743 * localedata/locales/fur_IT: Likewise.
21744 * localedata/locales/fy_DE: Likewise.
21745 * localedata/locales/fy_NL: Likewise.
21746 * localedata/locales/ga_IE: Likewise.
21747 * localedata/locales/gd_GB: Likewise.
21748 * localedata/locales/gez_ER: Likewise.
21749 * localedata/locales/gez_ET: Likewise.
21750 * localedata/locales/gl_ES: Likewise.
21751 * localedata/locales/gu_IN: Likewise.
21752 * localedata/locales/gv_GB: Likewise.
21753 * localedata/locales/ha_NG: Likewise.
21754 * localedata/locales/hak_TW: Likewise.
21755 * localedata/locales/he_IL: Likewise.
21756 * localedata/locales/hi_IN: Likewise.
21757 * localedata/locales/hif_FJ: Likewise.
21758 * localedata/locales/hne_IN: Likewise.
21759 * localedata/locales/hr_HR: Likewise.
21760 * localedata/locales/hsb_DE: Likewise.
21761 * localedata/locales/ht_HT: Likewise.
21762 * localedata/locales/hu_HU: Likewise.
21763 * localedata/locales/hy_AM: Likewise.
21764 * localedata/locales/i18n: Likewise.
21765 * localedata/locales/ia_FR: Likewise.
21766 * localedata/locales/id_ID: Likewise.
21767 * localedata/locales/ig_NG: Likewise.
21768 * localedata/locales/ik_CA: Likewise.
21769 * localedata/locales/is_IS: Likewise.
21770 * localedata/locales/it_CH: Likewise.
21771 * localedata/locales/it_IT: Likewise.
21772 * localedata/locales/iu_CA: Likewise.
21773 * localedata/locales/ja_JP: Likewise.
21774 * localedata/locales/ka_GE: Likewise.
21775 * localedata/locales/kk_KZ: Likewise.
21776 * localedata/locales/kl_GL: Likewise.
21777 * localedata/locales/kn_IN: Likewise.
21778 * localedata/locales/ko_KR: Likewise.
21779 * localedata/locales/kok_IN: Likewise.
21780 * localedata/locales/ks_IN: Likewise.
21781 * localedata/locales/ks_IN@devanagari: Likewise.
21782 * localedata/locales/ku_TR: Likewise.
21783 * localedata/locales/kw_GB: Likewise.
21784 * localedata/locales/ky_KG: Likewise.
21785 * localedata/locales/lb_LU: Likewise.
21786 * localedata/locales/lg_UG: Likewise.
21787 * localedata/locales/li_BE: Likewise.
21788 * localedata/locales/li_NL: Likewise.
21789 * localedata/locales/lij_IT: Likewise.
21790 * localedata/locales/ln_CD: Likewise.
21791 * localedata/locales/lo_LA: Likewise.
21792 * localedata/locales/lt_LT: Likewise.
21793 * localedata/locales/lv_LV: Likewise.
21794 * localedata/locales/lzh_TW: Likewise.
21795 * localedata/locales/mag_IN: Likewise.
21796 * localedata/locales/mai_IN: Likewise.
21797 * localedata/locales/mg_MG: Likewise.
21798 * localedata/locales/mhr_RU: Likewise.
21799 * localedata/locales/mi_NZ: Likewise.
21800 * localedata/locales/mk_MK: Likewise.
21801 * localedata/locales/ml_IN: Likewise.
21802 * localedata/locales/mn_MN: Likewise.
21803 * localedata/locales/mni_IN: Likewise.
21804 * localedata/locales/mr_IN: Likewise.
21805 * localedata/locales/ms_MY: Likewise.
21806 * localedata/locales/mt_MT: Likewise.
21807 * localedata/locales/my_MM: Likewise.
21808 * localedata/locales/nan_TW: Likewise.
21809 * localedata/locales/nan_TW@latin: Likewise.
21810 * localedata/locales/nb_NO: Likewise.
21811 * localedata/locales/nds_DE: Likewise.
21812 * localedata/locales/nds_NL: Likewise.
21813 * localedata/locales/ne_NP: Likewise.
21814 * localedata/locales/nhn_MX: Likewise.
21815 * localedata/locales/niu_NU: Likewise.
21816 * localedata/locales/niu_NZ: Likewise.
21817 * localedata/locales/nl_AW: Likewise.
21818 * localedata/locales/nl_BE: Likewise.
21819 * localedata/locales/nl_NL: Likewise.
21820 * localedata/locales/nn_NO: Likewise.
21821 * localedata/locales/nr_ZA: Likewise.
21822 * localedata/locales/nso_ZA: Likewise.
21823 * localedata/locales/oc_FR: Likewise.
21824 * localedata/locales/om_ET: Likewise.
21825 * localedata/locales/om_KE: Likewise.
21826 * localedata/locales/or_IN: Likewise.
21827 * localedata/locales/os_RU: Likewise.
21828 * localedata/locales/pa_IN: Likewise.
21829 * localedata/locales/pa_PK: Likewise.
21830 * localedata/locales/pap_AW: Likewise.
21831 * localedata/locales/pap_CW: Likewise.
21832 * localedata/locales/pl_PL: Likewise.
21833 * localedata/locales/ps_AF: Likewise.
21834 * localedata/locales/pt_BR: Likewise.
21835 * localedata/locales/pt_PT: Likewise.
21836 * localedata/locales/quz_PE: Likewise.
21837 * localedata/locales/raj_IN: Likewise.
21838 * localedata/locales/ro_RO: Likewise.
21839 * localedata/locales/ru_RU: Likewise.
21840 * localedata/locales/ru_UA: Likewise.
21841 * localedata/locales/rw_RW: Likewise.
21842 * localedata/locales/sa_IN: Likewise.
21843 * localedata/locales/sat_IN: Likewise.
21844 * localedata/locales/sc_IT: Likewise.
21845 * localedata/locales/sd_IN: Likewise.
21846 * localedata/locales/sd_IN@devanagari: Likewise.
21847 * localedata/locales/se_NO: Likewise.
21848 * localedata/locales/sgs_LT: Likewise.
21849 * localedata/locales/shs_CA: Likewise.
21850 * localedata/locales/si_LK: Likewise.
21851 * localedata/locales/sid_ET: Likewise.
21852 * localedata/locales/sk_SK: Likewise.
21853 * localedata/locales/sl_SI: Likewise.
21854 * localedata/locales/sm_WS: Likewise.
21855 * localedata/locales/so_DJ: Likewise.
21856 * localedata/locales/so_ET: Likewise.
21857 * localedata/locales/so_KE: Likewise.
21858 * localedata/locales/so_SO: Likewise.
21859 * localedata/locales/sq_AL: Likewise.
21860 * localedata/locales/sq_MK: Likewise.
21861 * localedata/locales/sr_ME: Likewise.
21862 * localedata/locales/sr_RS: Likewise.
21863 * localedata/locales/sr_RS@latin: Likewise.
21864 * localedata/locales/ss_ZA: Likewise.
21865 * localedata/locales/st_ZA: Likewise.
21866 * localedata/locales/sv_FI: Likewise.
21867 * localedata/locales/sv_SE: Likewise.
21868 * localedata/locales/sw_KE: Likewise.
21869 * localedata/locales/sw_TZ: Likewise.
21870 * localedata/locales/szl_PL: Likewise.
21871 * localedata/locales/ta_IN: Likewise.
21872 * localedata/locales/ta_LK: Likewise.
21873 * localedata/locales/tcy_IN: Likewise.
21874 * localedata/locales/te_IN: Likewise.
21875 * localedata/locales/tg_TJ: Likewise.
21876 * localedata/locales/th_TH: Likewise.
21877 * localedata/locales/the_NP: Likewise.
21878 * localedata/locales/ti_ER: Likewise.
21879 * localedata/locales/ti_ET: Likewise.
21880 * localedata/locales/tig_ER: Likewise.
21881 * localedata/locales/tk_TM: Likewise.
21882 * localedata/locales/tl_PH: Likewise.
21883 * localedata/locales/tn_ZA: Likewise.
21884 * localedata/locales/to_TO: Likewise.
21885 * localedata/locales/tpi_PG: Likewise.
21886 * localedata/locales/tr_CY: Likewise.
21887 * localedata/locales/tr_TR: Likewise.
21888 * localedata/locales/ts_ZA: Likewise.
21889 * localedata/locales/tt_RU: Likewise.
21890 * localedata/locales/tt_RU@iqtelif: Likewise.
21891 * localedata/locales/ug_CN: Likewise.
21892 * localedata/locales/uk_UA: Likewise.
21893 * localedata/locales/unm_US: Likewise.
21894 * localedata/locales/ur_IN: Likewise.
21895 * localedata/locales/ur_PK: Likewise.
21896 * localedata/locales/uz_UZ: Likewise.
21897 * localedata/locales/uz_UZ@cyrillic: Likewise.
21898 * localedata/locales/ve_ZA: Likewise.
21899 * localedata/locales/vi_VN: Likewise.
21900 * localedata/locales/wa_BE: Likewise.
21901 * localedata/locales/wae_CH: Likewise.
21902 * localedata/locales/wal_ET: Likewise.
21903 * localedata/locales/wo_SN: Likewise.
21904 * localedata/locales/xh_ZA: Likewise.
21905 * localedata/locales/yi_US: Likewise.
21906 * localedata/locales/yo_NG: Likewise.
21907 * localedata/locales/yue_HK: Likewise.
21908 * localedata/locales/yuw_PG: Likewise.
21909 * localedata/locales/zh_CN: Likewise.
21910 * localedata/locales/zh_HK: Likewise.
21911 * localedata/locales/zh_SG: Likewise.
21912 * localedata/locales/zh_TW: Likewise.
21913 * localedata/locales/zu_ZA: Likewise.
21914
21915 2017-11-13 Florian Weimer <fweimer@redhat.com>
21916
21917 * support/next_to_fault.h, support/next_to_fault.c: New files.
21918 * support/Makefile (libsupport-routines): Add next_to_fault.
21919 * resolv/tst-inet_pton.c (struct next_to_fault)
21920 (next_to_fault_allocate, next_to_fault_free): Remove.
21921 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21922
21923 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21924
21925 * elf/dl-support.c: Include <dl-procruntime.c>.
21926 * include/link.h: Include <link_map.h>.
21927 * sysdeps/generic/dl-procruntime.c: New file.
21928 * sysdeps/generic/link_map.h: Likewise.
21929 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21930 the writable ld.so namespace.
21931
21932 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21933
21934 timezone: pacify GCC -Wstringop-truncation
21935 Problem reported by Martin Sebor in:
21936 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21937 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21938
21939 2017-11-12 Florian Weimer <fweimer@redhat.com>
21940
21941 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21942 tst-xreadlink.
21943 (tests): Add tst-xreadlink.
21944 * support/support.h (xstrndup): Declare.
21945 * support/xunistd.h (xunlink, xreadlink): Declare.
21946 * support/temp_file.h (support_create_temp_directory): Declare.
21947 * support/temp_file.c (support_create_temp_directory): New function.
21948 * support/support_chroot.c (support_chroot_create): Use it.
21949 * support/xreadlink.c: New file.
21950 * support/xstrndup.c: Likewise.
21951 * support/xunlink.c: Likewise.
21952 * support/tst-xreadlink.c: Likewise.
21953
21954 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21955
21956 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21957
21958 2017-11-11 Florian Weimer <fweimer@redhat.com>
21959
21960 [BZ #22409]
21961 [BZ #22412]
21962 * resolv/res_comp.c (printable_string, binary_hnok)
21963 (binary_leading_dash): New functions.
21964 (res_hnok): Reimplement using these functions and ns_name_pton.
21965 (res_ownok): Likewise.
21966 (res_mailok): Reimplement using printable_string, ns_name_pton and
21967 binary_hnok.
21968 (res_dnok): Reimplement using printable_string and ns_name_pton.
21969 * resolv/tst-res_hnok.c (tests): Add additional tests.
21970 (LETTERDIGITS, PRINTABLE): Define.
21971 (do_test): Adjust one_char results.
21972
21973 2017-11-11 Florian Weimer <fweimer@redhat.com>
21974
21975 [BZ #22413]
21976 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21977 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21978
21979 2017-11-11 Florian Weimer <fweimer@redhat.com>
21980
21981 * resolv/tst-ns_name_pton.c: New file.
21982 * resolv/Makefile (tests): Add tst-ns_name_pton.
21983 (tst-ns_name_pton): Link against libresolv.
21984
21985 2017-11-11 Florian Weimer <fweimer@redhat.com>
21986
21987 * resolv/tst-res_hnok.c: New file.
21988 * resolv/Makefile (tests): Add tst-res_hnok.
21989 (tst-res_hnok): Link against libresolv.
21990
21991 2017-11-11 Florian Weimer <fweimer@redhat.com>
21992
21993 * resolv/tst-resolv-network.c: Use test framework instead explicit
21994 main function.
21995
21996 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
21997
21998 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
21999 <jmp_buf-macros.h>.
22000 [!_ISOMAC] (STR_HELPER): New.
22001 [!_ISOMAC] (STR): Likewise.
22002 [!_ISOMAC] (TEST_SIZE): Likewise.
22003 [!_ISOMAC] (TEST_ALIGN): Likewise.
22004 [!_ISOMAC] (TEST_OFFSET): Likewise.
22005 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22006 field offsets of jmp_buf as well as sigjmp_buf.
22007 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22008 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22009 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22010 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22011 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22012 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22013 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22014 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22015 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22016 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22017 Likewise.
22018 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22019 Likewise.
22020 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22022 Likewise.
22023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22024 Likewise.
22025 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22026 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22027 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22028 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22029 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22031 Likewise.
22032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22033 Likewise.
22034 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22035 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22036 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22037
22038 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22039
22040 * include/float.h
22041 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22042 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22043 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22044 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22045 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22046 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22047 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22048 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22049 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22050 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22051 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22052 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22053 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22054 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22055 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22056 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22057 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22058 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22059 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22060 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22061 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22062 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22063 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22064 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22065 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22066 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22067 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22068 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22069 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22070 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22071 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22072 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22073 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22074 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22075 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22076 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22077 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22078 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22079 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22080 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22081 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22082 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22083 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22084 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22085 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22086 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22087 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22088 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22089 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22090 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22091 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22092 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22093 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22094 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22095 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22096 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22097 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22098 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22099 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22100 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22101 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22102 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22103 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22104 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22105 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22106 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22107 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22108 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22109 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22110 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22111 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22112 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22113 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22114 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22115 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22116 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22117 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22118 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22119 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22120 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22121 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22122 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22123 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22124 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22125 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22126 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22127 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22128 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22129
22130 * stdlib/tst-strtod.h (F16): New macro.
22131 (F32): Likewise.
22132 (F64): Likewise.
22133 (F32X): Likewise.
22134 (F64X): Likewise.
22135 (F128X): Likewise.
22136 (IF_FLOAT16): Likewise.
22137 (IF_FLOAT32): Likewise.
22138 (IF_FLOAT64): Likewise.
22139 (IF_FLOAT32X): Likewise.
22140 (IF_FLOAT64X): Likewise.
22141 (IF_FLOAT128X): Likewise.
22142 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22143 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22144 (STRTOD_TEST_FOREACH): Likewise.
22145 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22146 (CHOOSE_f64): Likewise.
22147 (CHOOSE_f32x): Likewise.
22148 (CHOOSE_f64x): Likewise.
22149
22150 2017-11-07 Andreas Schwab <schwab@suse.de>
22151
22152 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22153
22154 2017-11-07 Mike FABIAN <mfabian@redhat.com>
22155
22156 [BZ #22403]
22157 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22158 to be escaped.
22159 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22160 to be escaped.
22161
22162 2017-11-07 Claude Paroz <claude@2xlibre.net>
22163
22164 [BZ #22403]
22165 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22166 to be escaped.
22167 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22168 to be escaped.
22169 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22170 to be escaped.
22171
22172 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22173
22174 [BZ #22298]
22175 * nptl/allocatestack.c (allocate_stack): Check if
22176 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22177 __PTHREAD_MUTEX_HAVE_PREV is defined.
22178 * nptl/descr.h (pthread): Likewise.
22179 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22180 Likewise.
22181 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22182 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22183 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22184 * sysdeps/nptl/bits/thread-shared-types.h
22185 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22186 defines.
22187 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22188 of __WORDSIZE for internal layout.
22189 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22190 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22191 instead of __WORDSIZE whether to use an union for __spins and __list
22192 fields.
22193 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22194 case.
22195 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22196 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22197 defines.
22198 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22199 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22200 Likewise.
22201 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22202 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22203 Likewise.
22204 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22205 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22206 Likewise.
22207 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22208 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22209 Likewise.
22210 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22211 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22212 Likewise.
22213 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22214 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22215 Likewise.
22216 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22217 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22218 Likewise.
22219 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22220 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22221 Likewise.
22222 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22223 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22224 Likewise.
22225 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22226 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22227 Likewise.
22228 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22229 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22230 Likewise.
22231 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22232 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22233 Likewise.
22234 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22235 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22236 Likewise.
22237 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22238 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22239 Likewise.
22240
22241 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22242 New macros.
22243 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22244 checks for expected input type size.
22245 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22246 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22247 Likewise.
22248 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22249 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22250 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22251 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22252 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22253 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22254 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22255 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22256 superflous runtime assert check.
22257 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22258 Likewise.
22259 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22260 Likewise.
22261 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22262 Likewise.
22263 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22264 Likewise.
22265 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22266 Likewise.
22267 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22268 Likewise.
22269 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22270 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22271 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22272 Likewise.
22273 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22274 Likewise.
22275 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22276 Likewise.
22277 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22278 Likewise.
22279 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22280 Likewise.
22281 * nptl/pthread_attr_setinheritsched.c
22282 (__pthread_attr_setinheritsched): Likewise.
22283 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22284 Likewise.
22285 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22286 Likewise.
22287 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22288 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22289 __old_pthread_attr_setstack): Likewise.
22290 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22291 Likewise.
22292 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22293 Likewise.
22294 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22295 Likewise.
22296 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22297 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22298 Likewise.
22299 * nptl/tst-typesizes.c: Remove file.
22300
22301 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22302 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22303 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22304 checks for internal pthread_mutex_t offsets.
22305 * sysdeps/aarch64/nptl/pthread-offsets.h
22306 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22307 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22308 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22309 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22310 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22311 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22312 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22313 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22314 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22315 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22316 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22317 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22318 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22319 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22320 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22321 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22322 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22323 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22324
22325 2017-11-07 Florian Weimer <fweimer@redhat.com>
22326
22327 * bits/mman-linux.h: Move ...
22328 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22329 comment.
22330 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22331 outdated comment.
22332
22333 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22334
22335 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22336 Redefine STRNLEN as __strnlen_power8.
22337
22338 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22339
22340 * signal/sighold.c (sighold): Optimize implementation.
22341
22342 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22343 __NR_rt_sigqueueinfo.
22344
22345 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22346 __sigtimedwait.
22347 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22348 assume __NR_rt_sigtimedwait.
22349 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22350 and add LIBC_CANCEL_HANDLED for cancellation marking.
22351 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22352
22353 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22354 (sysdeps_routines): Add memchr_noneon.
22355 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22356 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22357 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22358 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22359 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22360 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22361 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22362
22363 * sysdeps/arm/arm-ifunc.h: New file.
22364 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22365 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22366 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22367 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22368 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22369 (__memcpy_neon): Avoid create hidden alias.
22370 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22371 (__memcpy_vfp): Likewise.
22372 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22373 (sysdep_routines): Add memcpy_arm.
22374 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22375
22376 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22377
22378 [BZ #22362]
22379 * Makerules (make-link-multidir): New.
22380 * config.make.in (multidir): New.
22381 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22382 * configure: Regenerated.
22383 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22384 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22385 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22386 New target.
22387
22388 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22389
22390 [BZ #22402]
22391 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22392 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22393
22394 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22395
22396 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22397 to be escaped.
22398
22399 2017-11-04 Florian Weimer <fweimer@redhat.com>
22400
22401 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22402
22403 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22404
22405 * math/math.h [__HAVE_DISTINCT_FLOAT16
22406 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22407 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22408 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22409 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22410 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22411 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22412 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22413 (__MATH_TG_F32): New macro.
22414 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22415 (__MATH_TG_F64X): Likewise.
22416 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22417 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22418
22419 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22420
22421 * po/de.po: Update translations.
22422 * po/ru.po: Likewise.
22423
22424 2017-11-03 Florian Weimer <fweimer@redhat.com>
22425
22426 * manual/filesys.texi (Hard Links): Document linkat.
22427
22428 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22429
22430 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22431 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22432 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22433 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22434 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22435 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22436 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22437 the same as _Float128.
22438 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22439 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22440 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22441
22442 * stdlib/stdlib.h
22443 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22444 Declare.
22445 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22446 Likewise.
22447 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22448 Likewise.
22449 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22450 (strtof32x): Likewise.
22451 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22452 (strtof64x): Likewise.
22453 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22454 (strtof128x): Likewise.
22455 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22456 (strfromf16): Likewise.
22457 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22458 (strfromf32): Likewise.
22459 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22460 (strfromf64): Likewise.
22461 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22462 (strfromf32x): Likewise.
22463 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22464 (strfromf64x): Likewise.
22465 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22466 (strfromf128x): Likewise.
22467 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22468 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22469 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22470 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22471 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22472 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22473
22474 2017-11-03 Richard Henderson <rth@twiddle.net>
22475
22476 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22477
22478 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22479
22480 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22481
22482 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22483
22484 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22485 DT_TLSDESC_GOT initialization.
22486 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22487 (_dl_tlsdesc_resolve_hold): Likewise.
22488 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22489 (_dl_tlsdesc_resolve_hold): Likewise.
22490 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22491 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22492
22493 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22494
22495 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22496
22497 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22498
22499 [BZ #18572]
22500 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22501 non-lazily for R_ARM_TLS_DESC.
22502
22503 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22504
22505 [BZ #17078]
22506 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22507 R_ARM_TLS_DESC case.
22508 (elf_machine_lazy_rel): Remove the prelink check.
22509
22510 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22511
22512 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22513 DT_TLSDESC_GOT initialization.
22514 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22515 (_dl_tlsdesc_resolve_rela): Likewise.
22516 (_dl_tlsdesc_resolve_hold): Likewise.
22517 (_dl_tlsdesc_undefweak): Remove ldar.
22518 (_dl_tlsdesc_dynamic): Likewise.
22519 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22520 (_dl_tlsdesc_resolve_rela): Likewise.
22521 (_dl_tlsdesc_resolve_hold): Likewise.
22522 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22523 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22524 (_dl_tlsdesc_resolve_rela): Likewise.
22525 (_dl_tlsdesc_resolve_hold): Likewise.
22526
22527 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22528
22529 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22530 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22531
22532 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22533
22534 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22535 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22536
22537 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22538
22539 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22540 Declare.
22541 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22542 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22543 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22544 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22545 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22546 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22547 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22548 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22549 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22550 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22551 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22552
22553 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22554
22555 [BZ #22382]
22556 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22557 * localedata/locales/tpi_PG: Add standard header.
22558
22559 2017-11-02 Florian Weimer <fweimer@redhat.com>
22560
22561 test-errno-linux: quotactl can fail with EPERM in containers.
22562 * sysdeps/unix/sysv/linux/test-errno-linux.c
22563 (LIST, LIST_FORWARD): New macros.
22564 (check_error_in_list): New function.
22565 (test_wrp_rv): Accept list of permitted error codes.
22566 (test_wrp_rv2): Remove.
22567 (test_wrp): Call test_wrp_rv with list of error codes.
22568 (test_wrp2): Accept list of error codes.
22569 (do_test): Adjust. Allow EPERM for quotactl.
22570
22571 2017-11-02 Florian Weimer <fweimer@redhat.com>
22572
22573 * stdio-common/bug16.c (do_test): Use array_length.
22574 * stdio-common/errlist.c (_sys_nerr): Likewise.
22575 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22576 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22577 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22578 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22579 (do_test): Use array_length.
22580 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22581 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22582 * stdio-common/tst-printf-round.c (do_test): Likewise.
22583 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22584 (CHECK): Use array_length.
22585 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22586 * stdio-common/tstscanf.c (main): Likewise.
22587 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22588
22589 2017-11-02 Florian Weimer <fweimer@redhat.com>
22590
22591 Add array_length and array_end macros.
22592 * include/array_length.h: New file.
22593
22594 2017-11-02 Florian Weimer <fweimer@redhat.com>
22595
22596 [BZ #22332]
22597 * posix/tst-glob-tilde.c (do_noescape): New variable.
22598 (one_test): Process it.
22599 (do_test): Set do_noescape. Add unescaping test case.
22600
22601 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22602
22603 * math/complex.h
22604 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22605 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22606 with appropriate macros defined and undefined.
22607 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22608 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22609 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22610 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22611 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22612 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22613 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22614 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22615 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22616 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22617
22618 * math/complex.h
22619 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22620 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22621 that for long double. Do not condition define and undefine of
22622 _Mdouble_complex_ on [__CFLOAT128].
22623
22624 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22625
22626 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22627 of <sysdeps/generic/sysdep.h>.
22628 (ALIGNARG): Removed.
22629 (ASM_SIZE_DIRECTIVE): Likewise.
22630 (ENTRY): Likewise.
22631 (END): Likewise.
22632 (ENTRY_CHK): Likewise.
22633 (END_CHK): Likewise.
22634 (syscall_error): Likewise.
22635 (mcount): Likewise.
22636 (PSEUDO_END): Likewise.
22637 (L): Likewise.
22638 (atom_text_section): Likewise.
22639 * sysdeps/x86/sysdep.h: New file.
22640 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22641 of <sysdeps/generic/sysdep.h>.
22642 (ALIGNARG): Removed.
22643 (ASM_SIZE_DIRECTIVE): Likewise.
22644 (ENTRY): Likewise.
22645 (END): Likewise.
22646 (ENTRY_CHK): Likewise.
22647 (END_CHK): Likewise.
22648 (syscall_error): Likewise.
22649 (mcount): Likewise.
22650 (PSEUDO_END): Likewise.
22651 (L): Likewise.
22652 (atom_text_section): Likewise.
22653
22654 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22655
22656 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22657 category of LC_CTYPE set to "i18n:2012".
22658 * localedata/locales/i18n_ctype: Regenerate.
22659
22660 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22661
22662 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22663 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22664 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22665 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22666
22667 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22668 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22669 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22670 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22671
22672 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22673
22674 * math/complex.h
22675 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22676 New macro.
22677 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22678 Likewise.
22679 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22680 Likewise.
22681 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22682 (CMPLXF32X): Likewise.
22683 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22684 (CMPLXF64X): Likewise.
22685 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22686 (CMPLXF128X): Likewise.
22687
22688 * math/math.h
22689 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22690 (__MATH_EVAL_FMT2): Define to add 0.0f.
22691
22692 2017-10-31 Alan Modra <amodra@gmail.com>
22693
22694 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22695 include sysdep.h.
22696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22710 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22711 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22712 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22713 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22714 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22715 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22716 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22717 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22718 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22719 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22720 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22721 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22722 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22723 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22724 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22725 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22726 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22727 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22728 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22729 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22730 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22731 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22732 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22733 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22734 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22735 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22736 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22737 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22738 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22739 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22740 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22741 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22742 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22743 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22744 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22745 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22746 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22747 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22748 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22749 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22750 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22751 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22752 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22753 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22754 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22755 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22756 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22757 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22758 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22759 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22760 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22761 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22762 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22763 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22764 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22765
22766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22767 include sysdep.h and math_ldbl_opt.h.
22768
22769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22770 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22795
22796 2017-10-31 Alan Modra <amodra@gmail.com>
22797
22798 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22799 string/strncase_l.c, not string/strncase.c.
22800 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22801 (libc_hidden_def): Redefine.
22802
22803 2017-10-31 Alan Modra <amodra@gmail.com>
22804
22805 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22806 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22807 (__strcasecmp): Don't define.
22808
22809 2017-10-31 Alan Modra <amodra@gmail.com>
22810
22811 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22812 IS_IN (libc).
22813 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22814 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22815 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22816
22817 2017-10-31 Alan Modra <amodra@gmail.com>
22818
22819 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22820 USE_AS_STPNCPY.
22821
22822 2017-10-31 Alan Modra <amodra@gmail.com>
22823
22824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22825 Redefine only when SHARED.
22826
22827 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22828
22829 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22830 Include <bits/math-finite.h> with appropriate macros defined and
22831 undefined.
22832 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22833 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22834 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22835 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22836 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22837
22838 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22839 [!_Mlong_double_] (_Mlong_double_): Likewise.
22840 [!_Mfloat16_] (_Mfloat16_): Likewise.
22841 [!_Mfloat32_] (_Mfloat32_): Likewise.
22842 [!_Mfloat64_] (_Mfloat64_): Likewise.
22843 [!_Mfloat128_] (_Mfloat128_): Likewise.
22844 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22845 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22846 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22847 (_Mdouble_): Define without indirection through those macros.
22848 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22849 [!_Mfloat128_] (_Mfloat128_): Likewise.
22850 [_Mlong_double_] (_Mlong_double_): Likewise.
22851 (_Mdouble_): Define without indirection through those macros.
22852 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22853 not add -D_Mlong_double_=double.
22854 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22855 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22856
22857 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22858
22859 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22860
22861 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22862
22863 * sysdeps/x86/libc-start.c: Reformat.
22864
22865 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22866
22867 [BZ #22353]
22868 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22869 (1): Renamed to ...
22870 (L(Src0)): This.
22871 (L(Src1)): New.
22872 (L(Src2)): Likewise.
22873 (L(1)): Renamed to ...
22874 (L(Src3)): This.
22875
22876 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22877
22878 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22879 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22880 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22881 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22882 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22883 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22884 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22885 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22886 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22887 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22888 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22889 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22890 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22891 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22892 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22893 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22894 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22895 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22896 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22897 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22898 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22899 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22900 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22901 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22902 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22903 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22904 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22905 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22906 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22907 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22908 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22909 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22910 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22911 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22912 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22913 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22914 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22915 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22916 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22917 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22918 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22919 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22920 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22921 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22922 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22923 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22924 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22925 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22926 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22927 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22928 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22929 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22930 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22931 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22932 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22933 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22934 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22935 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22936 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22937 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22938 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22939 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22940 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22941 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22942 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22943 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22944
22945 2017-10-30 Florian Weimer <fweimer@redhat.com>
22946
22947 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22948 always defined.
22949 * io/tst-mkdirat.c (do_test): Likewise.
22950 * io/tst-mkfifoat.c (do_test): Likewise.
22951 * io/tst-mknodat.c (do_test): Likewise.
22952 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22953 * locale/programs/locale.c (select_dirs): Likewise.
22954 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22955 * posix/bug-glob2.c (my_readdir): Likewise.
22956 * posix/tst-dir.c (main): Likewise.
22957 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22958 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22959
22960 2017-10-30 Florian Weimer <fweimer@redhat.com>
22961
22962 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22963 just __USE_GNU.
22964
22965 2017-10-30 Florian Weimer <fweimer@redhat.com>
22966
22967 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22968 Convert to support/test-driver.c.
22969 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22970 New macro parameters.
22971 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22972 * posix/tst-gnuglob.c: New file.
22973 * posix/tst-gnuglob64.c: Likewise.
22974 * posix/Makefile (tests): Add tst-gnuglob64.
22975
22976 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22977
22978 [BZ #19485]
22979 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22980 and use a better translation for March in “mon”.
22981 * localedata/locales/csb_PL: Use more ASCII to improve the
22982 readability of the source.
22983
22984 2017-10-30 Mike FABIAN <mfabian@redhat.com>
22985
22986 [BZ #13953]
22987 * localedata/locales/km_KH: Use ASCII as much
22988 as possible for better readability of the source and
22989 remove useless comments.
22990 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
22991 was commented out and apparently wrong anyway because it was
22992 using Lao characters. If Buddhist era should be used
22993 for km_KH, a native speaker should write the correct formaat
22994 for Khmer.
22995 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
22996 (According to CLDR, the first weekday for Cambodia is Sunday).
22997 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
22998 (These were using Lao characters which must be wrong. If we get
22999 the correct data from a native speaker, we could add it back, until
23000 then it is better not to have name_mr and name_mrs at all than
23001 having it wrong).
23002
23003 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23004
23005 * locale/loadlocale.c: Correct size of
23006 _nl_value_type_LC_<category> arrays.
23007
23008 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23009
23010 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23011 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23012 with appropriate macros defined and undefined.
23013 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23014 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23015 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23016 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23017 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23018
23019 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23020
23021 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23022 "-O2 -march=i586".
23023
23024 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23025
23026 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23027 with lowercase letters to make it agree with CLDR.
23028
23029 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23030
23031 [BZ #15260]
23032 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23033 first letters of yesstr and nostr in yesexpr and noexpr,
23034 not for the full words.
23035 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23036 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23037 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23038 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23039 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23040 first letters of yesstr and nostr in yesexpr and noexpr,
23041 until now only English was matched in yesexpr and noexpr.
23042 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23043 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23044 fil but not for tl. As tl and fil are very similar, using fil
23045 is probably better than using English.
23046
23047 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23048
23049 [BZ #21706]
23050 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23051 in yesstr and nostr.
23052
23053 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23054
23055 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23056 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23057 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23058 Likewise.
23059 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23060 Likewise.
23061 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23062 Likewise.
23063 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23064 Likewise.
23065 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23066 (SNANF128X): Likewise.
23067
23068 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23069 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23070 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23071 (HUGE_VAL_F32): Likewise.
23072 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23073 (HUGE_VAL_F64): Likewise.
23074 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23075 (HUGE_VAL_F32X): Likewise.
23076 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23077 (HUGE_VAL_F64X): Likewise.
23078 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23079 (HUGE_VAL_F128X): Likewise.
23080
23081 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23082
23083 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23084 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23085 for the br_FR locale.
23086
23087 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23088
23089 [BZ #21706]
23090 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23091
23092 2017-10-25 Carlos O'Donell <carlos@redhat.com>
23093
23094 * locale/programs/record-status.h: Define globals, and function
23095 prototypes. Move function bodies...
23096 * locale/programs/record-status.c: ... to here. New file.
23097 * iconv/Makefile (iconv_prog-modules): Add record-status.
23098 * locale/Makefile (lib-modules): Likewise.
23099 * iconv/iconv_prog.c: Remove verbose.
23100 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23101 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23102 record a warning about ASCII compatibility.
23103 * locale/programs/ld-monetary.c (monetary_finish): If
23104 warn_int_curr_symbol is true then record a warning about the symbol
23105 not being in our ISO 4217 list.
23106 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23107 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23108 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23109 (OPT_NO_WARN): Define.
23110 (OPT_WARN): Define.
23111 (options): Add entry for --no-warnings, and --warnings.
23112 (set_warnings): New function to enable/disable warnings.
23113 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23114 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23115 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23116 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23117 Pass flags to generate_locale.
23118 (generate_locale): Accept new flag argument and pass it to localedef
23119 invocation.
23120 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23121 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23122
23123 * localedata/Makefile (test-input-data): Use full file name.
23124 * localedata/da_DK.in: Rename to...
23125 * localedata/da_DK.ISO-8859-1.in: ...this.
23126 * localedata/de_DE.in: Rename to...
23127 * localedata/de_DE.ISO-8859-1.in: ...this.
23128 * localedata/en_US.in: Rename to...
23129 * localedata/en_US.ISO-8859-1.in: ...this.
23130 * localedata/fr_FR.in: Rename to...
23131 * localedata/fr_FR.UTF-8.in: ... this.
23132 * localedata/hr_HR.in: Rename to...
23133 * localedata/hr_HR.ISO-8859-2.in: ...this.
23134 * localedata/hu_HU.in: Rename to...
23135 * localedata/hu_HU.UTF-8.in: ...this.
23136 * localedata/si_LK.in: Rename to...
23137 * localedata/si_LK.UTF-8.in: ...this.
23138 * localedata/sv_SE.in: Rename to...
23139 * localedata/sv_SE.ISO-8859-1.in: ...this.
23140 * localedata/tr_TR.in: Rename to...
23141 * localedata/tr_TR.UTF-8.in: ...this.
23142 * localedata/uk_UA.in: Rename to...
23143 * localedata/uk_UA.UTF-8.in: ...this.
23144 * localedata/sort-test.sh: Test file is locale name with the
23145 suffix.
23146
23147 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23148 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23149 file.
23150 * localedata/locales/i18n_ctype: Regenerate.
23151 * localedata/locales/tr_TR: Likewise.
23152 * localedata/locales/translit_circle: Likewise.
23153 * localedata/locales/translit_cjk_compat: Likewise.
23154 * localedata/locales/translit_combining: Likewise.
23155 * localedata/locales/translit_compat: Likewise.
23156 * localedata/locales/translit_font: Likewise.
23157 * localedata/locales/translit_fraction: Likewise.
23158
23159 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23160
23161 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23162 lxvd2x/stxvd2x with lvx/stvx.
23163 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23164
23165 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23166
23167 * include/alloc_buffer.h: Replace "if if " with "if " in
23168 comments.
23169 * sysdeps/mips/memcpy.S: Likkewise.
23170 * sysdeps/mips/memset.S: Likewise.
23171 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23172 Likewise.
23173 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23174 Likewise.
23175 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23176 Likewise.
23177
23178 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23179
23180 [BZ #15261]
23181 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23182 yesexpr and noexpr.
23183 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23184 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23185 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23186 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23187 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23188 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23189 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23190
23191 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23192
23193 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23194 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23195 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23196 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23197 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23198 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23199 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23200 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23201 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23202 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23203 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23204 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23205
23206 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23207
23208 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23209 as possible for better readability of the source.
23210 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23211 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23212 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23213 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23214 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23215 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23216 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23217 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23218 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23219 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23220 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23221 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23222 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23223 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23224 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23225 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23226 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23227 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23228 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23229 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23230 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23231 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23232 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23233 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23234 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23235 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23236 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23237 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23238 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23239 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23240 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23241 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23242 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23243 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23244 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23245 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23246 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23247 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23248 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23249 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23250 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23251 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23252 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23253 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23254 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23255 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23256 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23257 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23258 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23259 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23260 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23261 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23262 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23263 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23264 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23265 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23266 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23267 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23268 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23269 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23270 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23271 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23272 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23273 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23274 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23275 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23276 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23277 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23278 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23279 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23280 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23281 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23282 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23283 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23284 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23285 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23286 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23287 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23288 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23289 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23290 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23291 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23292 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23293 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23294 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23295 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23296 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23297 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23298 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23299 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23300 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23301 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23302 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23303 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23304 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23305 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23306 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23307 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23308 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23309 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23310 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23311 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23312 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23313 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23314 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23315 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23316 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23317 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23318 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23319 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23320 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23321 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23322 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23323 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23324 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23325 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23326 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23327 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23328 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23329 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23330 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23331 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23332 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23333 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23334 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23335 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23336 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23337 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23338 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23339 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23340 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23341 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23342 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23343 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23344 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23345 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23346 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23347 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23348 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23349 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23350 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23351 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23352 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23353 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23354 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23355 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23356 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23357 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23358 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23359 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23360 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23361 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23362 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23363 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23364 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23365 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23366 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23367 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23368 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23369 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23370 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23371 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23372 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23373 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23374 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23375 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23376 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23377 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23378 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23379 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23380 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23381 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23382 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23383 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23384
23385 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23386
23387 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23388 (Use first letters of yesstr and nostr correctly instead of using
23389 full words).
23390
23391 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23392
23393 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23394 (Use first letters of yesstr and nostr correctly).
23395
23396 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23397
23398 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23399 also check for the first characters of yesstr and nostr.
23400 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23401 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23402
23403 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23404
23405 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23406 also check for Chinese characters.
23407
23408 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23409
23410 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23411 match also for the contents of yesstr and nostr. As the first letter
23412 of yesstr and nostr is equal, checking only for the first letter
23413 is not enough.
23414
23415 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23416
23417 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23418 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23419
23420 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23421
23422 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23423 of main contributor.
23424
23425 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23426
23427 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23428 instead of using English.
23429
23430 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23431
23432 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23433 by including the first letters of nostr and yesexpr in the regexp.
23434 Also make it more readable by using ASCII where possible.
23435
23436 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23437
23438 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23439 the first letter of nostr in the regexp. It agrees with CLDR now.
23440 Also make it more readable by using ASCII where possible.
23441
23442 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23443
23444 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23445 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23446 these strings contain a U+17D6 (which somewhat looks like a colon)
23447 instead of a real colon to separate the full words for “yes”
23448 and “no” from the single letter responses.
23449
23450 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23451
23452 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23453 it agree with CLDR (include the first letter of yesstr).
23454 Also make it more readable by using ASCII where possible.
23455
23456 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23457
23458 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23459 and improve yesexpr and noexpr. The yesstr and nostr apparently
23460 came from CLDR. And CLDR has a bug there: these strings contain
23461 a U+0903 (which looks like a colon) instead of a real colon
23462 to separate the full words for “yes” and “no” from the single
23463 letter responses.
23464
23465 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23466
23467 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23468 letters of the full yesstr and nostr in yesexpr and noexpr.
23469
23470 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23471
23472 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23473 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23474 * localedata/locales/an_ES: Make source more readable by using ASCII
23475 where possible.
23476
23477 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23478
23479 [BZ #20952]
23480 * localedata/locales/yuw_PG: New file.
23481 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23482 * locale/iso-639.def: Add Yau (Uruwa).
23483
23484 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23485
23486 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23487
23488 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23489
23490 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23491 (__libc_realloc): Likewise.
23492 (_mid_memalign): Likewise.
23493 (__libc_calloc): Likewise.
23494
23495 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23496
23497 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23498 by adding the generic +1 and -0 as in all other locales.
23499 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23500 day names and make it more readable by using ASCII where possible.
23501
23502 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23503
23504 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23505 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23506
23507 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23508
23509 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23510 WNOHANG in waitpid call.
23511
23512 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23513
23514 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23515 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23516
23517 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23518 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23519 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23520 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23521 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23522 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23523 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23524 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23525 variables.
23526
23527 2017-10-23 Michael Collison <michael.collison@arm.com>
23528
23529 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23530 with __builtin_sqrt.
23531 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23532 with __builtin_sqrtf.
23533 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23534 with __builtin_ceil.
23535 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23536 with __builtin_ceilf.
23537 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23538 with __builtin_floor.
23539 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23540 with __builtin_floorf.
23541 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23542 with __builtin_fma.
23543 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23544 with __builtin_fmaf.
23545 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23546 with __builtin_fmax.
23547 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23548 with __builtin_fmaxf.
23549 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23550 with __builtin_fmin.
23551 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23552 with __builtin_fminf.
23553 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23554 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23555 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23556 with builtin_rint and conversion to int.
23557 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23558 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23559 with builtin_llround.
23560 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23561 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23562 with builtin_rint and conversion to long int.
23563 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23564 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23565 with builtin_lround.
23566 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23567 with builtin_lroundf.
23568 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23569 statements with __builtin_nearbyint.
23570 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23571 statements with __builtin_nearbyintf.
23572 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23573 with __builtin_rint.
23574 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23575 with __builtin_rintf.
23576 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23577 with __builtin_round.
23578 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23579 with __builtin_roundf.
23580 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23581 with __builtin_trunc.
23582 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23583 with __builtin_truncf.
23584 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23585 and s_l[l]round[f].c too.
23586
23587 2017-10-23 Alan Modra <amodra@gmail.com>
23588
23589 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23590 Adjust stack after restoring regs. Add missing LR cfi_restore.
23591
23592 2017-10-23 Alan Modra <amodra@gmail.com>
23593
23594 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23595 Move LR save and frame setup/teardown and LR restore to
23596 immediately around memset call. Provide cfi.
23597
23598 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23599
23600 * sysdeps/i386/fpu/e_powf.S: Removed.
23601 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23602 * sysdeps/i386/fpu/w_powf.c: Likewise.
23603 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23604 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23605 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23606 Add e_powf-sse2.
23607 (CFLAGS-e_powf-sse2.c): New.
23608 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23609 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23610
23611 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23612
23613 * sysdeps/i386/fpu/e_log2f.S: Removed.
23614 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23615 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23616 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23617 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23618 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23619 Add e_log2f-sse2.
23620 (CFLAGS-e_log2f-sse2.c): New.
23621 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23622 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23623
23624 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23625
23626 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23627 Add e_powf-fma.
23628 (CFLAGS-e_powf-fma.c): New.
23629 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23630 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23631
23632 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23633
23634 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23635 Add e_log2f-fma.
23636 (CFLAGS-e_log2f-fma.c): New.
23637 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23638 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23639
23640 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23641
23642 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23643 Add e_logf-fma.
23644 (CFLAGS-e_logf-fma.c): New.
23645 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23646 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23647
23648 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23649
23650 * sysdeps/i386/fpu/e_logf.S: Removed.
23651 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23652 * sysdeps/i386/fpu/w_logf.c: Likewise.
23653 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23654 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23655 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23656 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23657 Add e_logf-sse2.
23658 (CFLAGS-e_logf-sse2.c): New.
23659 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23660 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23661
23662 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23663
23664 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23665 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23666 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23667 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23668 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23669 Add e_exp2f-sse2.
23670 (CFLAGS-e_exp2f-sse2.c): New.
23671 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23672 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23673
23674 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23675
23676 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23677 Add e_exp2f-fma.
23678 (CFLAGS-e_exp2f-fma.c): New.
23679 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23680 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23681
23682 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23683
23684 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23685 * sysdeps/i386/fpu/e_expf.S: Likewise.
23686 * sysdeps/i386/fpu/math_errf.c: Likewise.
23687 * sysdeps/i386/fpu/w_expf.c: Likewise.
23688 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23689 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23690 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23691 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23692 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23693 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23694 Remove e_expf-ia32.
23695 (CFLAGS-e_expf-sse2.c): New.
23696 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23697 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23698
23699 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23700
23701 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23702 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23703 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23704 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23705 e_expf.c.
23706 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23707 New.
23708 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23709 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23710 Renamed to ...
23711 (__redirect_expf): This.
23712 (SYMBOL_NAME): Changed to expf.
23713 (__ieee754_expf): Renamed to ...
23714 (__expf): This.
23715 (__GI___expf): This.
23716 (__ieee754_expf): Add strong_alias.
23717 (__expf_finite): Likewise.
23718 (__expf): New.
23719 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23720
23721 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23722
23723 [BZ #22332]
23724 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23725 unescaping.
23726
23727 2017-10-21 Florian Weimer <fweimer@redhat.com>
23728
23729 * posix/Makefile (tests): Add tst-glob-tilde.
23730 (tests-special): Add tst-glob-tilde-mem.out
23731 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23732 (tst-glob-tilde-mem.out): Add mtrace check.
23733 * posix/tst-glob-tilde.c: New file.
23734
23735 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23736
23737 * bits/floatn-common.h: New file.
23738 * math/Makefile (headers): Add bits/floatn-common.h.
23739 * bits/floatn.h: Include <bits/floatn-common.h>.
23740 * sysdeps/ia64/bits/floatn.h: Likewise.
23741 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23742 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23743 * sysdeps/powerpc/bits/floatn.h: Likewise.
23744 * sysdeps/x86/bits/floatn.h: Likewise.
23745
23746 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23747
23748 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23749 indicates whether compiler emits an warning for alias for
23750 functions with incompatible types.
23751
23752 [BZ #22273]
23753 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23754 the auxiliary process is terminated by a signal before calling _exit
23755 or execve.
23756
23757 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23758
23759 [BZ #21265]
23760 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23761 New.
23762 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23763 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23764 and bit_arch_XSAVEC_Usable if needed.
23765 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23766 and bit_arch_Use_dl_runtime_resolve_opt.
23767 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23768 Removed.
23769 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23770 (bit_arch_Prefer_No_AVX512): Updated.
23771 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23772 (bit_arch_XSAVEC_Usable): New.
23773 (STATE_SAVE_OFFSET): Likewise.
23774 (STATE_SAVE_MASK): Likewise.
23775 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23776 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23777 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23778 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23779 (index_arch_XSAVEC_Usable): New.
23780 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23781 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23782 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23783 is enabled.
23784 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23785 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23786 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23787 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23788 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23789 _dl_runtime_resolve_xsavec.
23790 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23791 Removed.
23792 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23793 instead of VEC_SIZE.
23794 (REGISTER_SAVE_BND0): Removed.
23795 (REGISTER_SAVE_BND1): Likewise.
23796 (REGISTER_SAVE_BND3): Likewise.
23797 (REGISTER_SAVE_RAX): Always defined to 0.
23798 (VMOV): Removed.
23799 (_dl_runtime_resolve_avx): Likewise.
23800 (_dl_runtime_resolve_avx_slow): Likewise.
23801 (_dl_runtime_resolve_avx_opt): Likewise.
23802 (_dl_runtime_resolve_avx512): Likewise.
23803 (_dl_runtime_resolve_avx512_opt): Likewise.
23804 (_dl_runtime_resolve_sse): Likewise.
23805 (_dl_runtime_resolve_sse_vex): Likewise.
23806 (USE_FXSAVE): New.
23807 (_dl_runtime_resolve_fxsave): Likewise.
23808 (USE_XSAVE): Likewise.
23809 (_dl_runtime_resolve_xsave): Likewise.
23810 (USE_XSAVEC): Likewise.
23811 (_dl_runtime_resolve_xsavec): Likewise.
23812 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23813 Removed.
23814 (_dl_runtime_resolve_avx512_opt): Likewise.
23815 (_dl_runtime_resolve_avx): Likewise.
23816 (_dl_runtime_resolve_avx_opt): Likewise.
23817 (_dl_runtime_resolve_sse): Likewise.
23818 (_dl_runtime_resolve_sse_vex): Likewise.
23819 (_dl_runtime_resolve_fxsave): New.
23820 (_dl_runtime_resolve_xsave): Likewise.
23821 (_dl_runtime_resolve_xsavec): Likewise.
23822
23823 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23824
23825 [BZ #22320]
23826 CVE-2017-15670
23827 * posix/glob.c (__glob): Fix one-byte overflow.
23828
23829 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23830
23831 * malloc/malloc.c (sysdep-cancel.h): Add include.
23832
23833 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23834
23835 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23836
23837 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23838
23839 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23840 (tests): Remove $(objpfx)ga_test depdendency.
23841 * resolv/ga_test.c: Remove file.
23842
23843 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23844
23845 [BZ #18812]
23846 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23847 * localedata/locales/kab_DZ: New file.
23848
23849 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23850
23851 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23852 _dl_relocate_static_pie instead of _dl_start to compute load
23853 address in static PIE.
23854
23855 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23856
23857 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23858
23859 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23860
23861 [BZ #13605]
23862 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23863 * localedata/locales/shn_MM: New file.
23864
23865 2017-10-20 Florian Weimer <fweimer@redhat.com>
23866
23867 [BZ #22321]
23868 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23869 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23870 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23871 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23872 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23873 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23874
23875 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23876
23877 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23878
23879 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23880
23881 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23882
23883 [BZ #22322]
23884 * sysdeps/mips/bits/long-double.h: Move to ....
23885 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23886
23887 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23888
23889 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23890
23891 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23892 H.J. Lu <hongjiu.lu@intel.com>
23893
23894 [BZ #22299]
23895 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23896 GLRO(dl_platform) to NULL.
23897 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23898 (modules-names): Add tst-platformmod-1 and
23899 x86_64/tst-platformmod-2.
23900 (CFLAGS-tst-platform-1.c): New.
23901 (CFLAGS-tst-platformmod-1.c): Likewise.
23902 (CFLAGS-tst-platformmod-2.c): Likewise.
23903 (LDFLAGS-tst-platformmod-2.so): Likewise.
23904 ($(objpfx)tst-platform-1): Likewise.
23905 ($(objpfx)tst-platform-1.out): Likewise.
23906 (tst-platform-1-ENV): Likewise.
23907 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23908 * sysdeps/x86_64/tst-platform-1.c: New file.
23909 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23910 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23911
23912 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23913
23914 [BZ #13994]
23915 * locale/iso-639.def: Add Karbi.
23916 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23917 * localedata/locales/mjw_IN: New file.
23918
23919 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23920
23921 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23922 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23923 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23924 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23925 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23926 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23927 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23928 <bits/floatn.h>.
23929 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23930 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23931 * manual/math.texi (Mathematics): Document additional architecture
23932 support for _Float128.
23933 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23934 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23935 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23936 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23937 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23938 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23939 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23940 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23941 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23942 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23943 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23944 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23945 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23946 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23947 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23948
23949 2017-10-18 Renlin Li <renlin.li@arm.com>
23950
23951 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23952 _DYNAMIC symbol to calculate load address.
23953
23954 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23955
23956 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23957 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23958 summary bits.
23959 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23960 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23961
23962 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23963
23964 [BZ #16777]
23965 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23966 and improve readability by using more ASCII.
23967 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23968 and improve readability by using more ASCII.
23969
23970 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23971
23972 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23973 not all targets support atomics on bool.
23974
23975 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23976
23977 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23978 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23979 __f128.
23980 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23981 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23982 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23983 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
23984 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23985 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
23986
23987 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23988
23989 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
23990 defines.
23991
23992 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23993
23994 [BZ #22159]
23995 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
23996 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
23997 (do_check_remalloced_chunk): Fix build bug.
23998 (do_check_malloc_state): Add assert that checks arena->top.
23999 (malloc_consolidate): Remove initialization.
24000 (int_mallinfo): Remove call to malloc_consolidate.
24001 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24002
24003 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24004
24005 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24006 (have_fastchunks): Remove.
24007 (clear_fastchunks): Remove.
24008 (set_fastchunks): Remove.
24009 (malloc_state): Add have_fastchunks.
24010 (malloc_init_state): Use have_fastchunks.
24011 (do_check_malloc_state): Remove incorrect invariant checks.
24012 (_int_malloc): Use have_fastchunks.
24013 (_int_free): Likewise.
24014 (malloc_consolidate): Likewise.
24015
24016 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24017
24018 * malloc/malloc.c (tcache_put): Inline.
24019 (tcache_get): Inline.
24020
24021 2017-10-17 Jordi Mallach <jordi@gnu.org>
24022
24023 Aurelien Jarno <aurelien@aurel32.net>
24024 [BZ #2522]
24025 * localedata/locales/ca_ES@valencia: New file.
24026 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24027
24028 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24029
24030 [BZ #22296]
24031 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24032 < 6.x
24033
24034 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24035
24036 * scripts/build-many-glibcs.py (Context.add_all_configs):
24037 Add arm-linux-gnueabihf multiarch extra_glibcs.
24038
24039 * sysdeps/generic/ifunc-init.h: New file.
24040 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24041
24042 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24043
24044 [BZ #22019]
24045 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24046 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24047 * stdlib/tst-strfmon_l.c: adapt test case.
24048
24049 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24050
24051 * sysdeps/generic/float128-abi.h: New file.
24052 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24053 non-__prefixed symbols to ....
24054 * math/Versions: ... here. Include <float128-abi.h>.
24055 * stdlib/Versions ... and here. Include <float128-abi.h>
24056
24057 2017-10-16 Florian Weimer <fweimer@redhat.com>
24058
24059 * version.h (VERSION): Switch to ".9000" as the development
24060 version suffix.
24061
24062 2017-10-16 Florian Weimer <fweimer@redhat.com>
24063
24064 [BZ #22050]
24065 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24066 compat_symbol_reference to access non-default version.
24067
24068 2017-10-16 Florian Weimer <fweimer@redhat.com>
24069
24070 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24071
24072 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24073
24074 * include/shlib-compat.h (compat_symbol_reference): Update
24075 comment.
24076
24077 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24078
24079 * math/Makefile (test-types): Add
24080 $(type-float128-$(float128-alias-fcts)).
24081 * math/test-float128.h (TYPE_STR): Define conditional on
24082 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24083 (ULP_IDX): Likewise.
24084 (ULP_I_IDX): Likewise.
24085
24086 * stdlib/strtold.c: Include <bits/floatn.h>
24087 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24088 and later undefine as macro. Define as weak alias if
24089 [!USE_WIDE_CHAR].
24090 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24091 and later undefine as macro. Define as weak alias if
24092 [USE_WIDE_CHAR].
24093 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24094 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24095 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24096 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24097 Define and later undefine as macro. Define as weak alias if
24098 [USE_WIDE_CHAR].
24099 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24100 <bits/floatn.h>.
24101 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24102 Define and later undefine as macro. Define as weak alias if
24103 [!USE_WIDE_CHAR].
24104 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24105 Define and later undefine as macro. Define as weak alias if
24106 [USE_WIDE_CHAR].
24107
24108 2017-10-15 Carlos O'Donell <carlos@redhat.com>
24109
24110 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24111 record_verbose messages.
24112
24113 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24114
24115 [BZ #22052]
24116 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24117 to silence -O3 -Wall warning with GCC 7.
24118
24119 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24120
24121 * Makeconfig (+link-static-before-libc): Use the first of
24122 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24123 * gmon/Makefile (tests): Add tst-gmon-static.
24124 (tests-static): Likewise.
24125 (CFLAGS-tst-gmon-static.c): New.
24126 (CRT-tst-gmon-static): Likewise.
24127 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24128 (tst-gmon-static-ENV): Likewise.
24129 (tests-special): Likewise.
24130 ($(objpfx)tst-gmon-static.out): Likewise.
24131 (clean-tst-gmon-static-data): Likewise.
24132 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24133 * gmon/tst-gmon-static-gprof.sh: New file.
24134 * gmon/tst-gmon-static.c: Likewise.
24135
24136 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24137
24138 [BZ #22295]
24139 * locale/programs/linereader.c (get_string): Don't warn on
24140 non-symbolic character.
24141
24142 [BZ #22294]
24143 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24144 int_curr_symbol.
24145
24146 [BZ #22292]
24147 * locale/programs/record-status.h: New file
24148 * locale/programs/locale.c: Add comment.
24149 * locale/programs/charmap-dir.c: Don't include error.h.
24150 (charmap_opendir): Use record_error.
24151 * locale/programs/charmap.c: Don't include error.h.
24152 (charmap_read): Use record_error, and record_warning.
24153 (parse_charmap): Likewise.
24154 * locale/programs/ld-address.c: Don't include error.h.
24155 (address_finish): Use record_error, and record_warning.
24156 * locale/programs/ld-collate.c: Don't include error.h.
24157 (collate_finish): Use record_error, and record_error_at_line.
24158 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24159 (ctype_class_new): Likewise.
24160 (ctype_map_new): Likewise.
24161 (set_one_default): Likewise.
24162 (set_class_defaults): Likewise.
24163 (translit_flatten): Likewise.
24164 (allocate_arrays): Use record_error, and record_verbose.
24165 * locale/programs/ld-identification.c: Don't include error.h.
24166 (indentation_finish): Use record_error and record_warning.
24167 * locale/programs/ld-measurement.c: Don't include error.h.
24168 (measurement_finish): Use record_error.
24169 * locale/programs/ld-messages.c
24170 (message_finish): Likewise.
24171 * locale/programs/ld-monetary.c
24172 (monetary_finish): Likewise.
24173 * locale/programs/ld-name.c (name_finish): Use record_error
24174 and record_warning.
24175 * locale/programs/ld-numeric.c
24176 (numeric_finish): Use record_error.
24177 * locale/programs/ld-paper.c: Don't include error.h.
24178 (paper_finish): Use record_error.
24179 * locale/programs/ld-telephone.c: Don't include error.h.
24180 (telephone_finish): Use record_error.
24181 * locale/programs/ld-time.c (time_finish): Likewise.
24182 * locale/programs/linereader.h (lr_error): Make inline func.
24183 * locale/programs/localedef.c: Define recorded_warning_count,
24184 and recorded_error_count.
24185 (main): Use record_error. Use recorded_error_count and
24186 recorded_warning_count to issue correct error returns.
24187 (add_to_readlist): Use record_error.
24188 (find_locale): Likewise.
24189 (load_locale): Likewise.
24190 * locale/programs/localedef.h: Remove be_quiet
24191 and WITH_CUR_LOCALE.
24192 * locale/programs/locarchive.c (compare_from_file): Use
24193 record_error.
24194 * locale/programs/locfile.c (write_locale_data): Use
24195 record_error.
24196 * locale/programs/repertoire.c: Dont include error.h.
24197 (repertoire_complain): Use record_error.
24198 * localedata/tst-fmon.sh: Expect failures from localedef.
24199 * localedata/tst-locale.sh: Likewise.
24200 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24201
24202 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24203 (REPORTS): Likewise.
24204 (check): Likewise.
24205 (i18n): Rename to...
24206 (i18n_ctype): ...this.
24207 (i18n-report): Rename to...
24208 (i18n_ctype-report): ...this.
24209 * localedata/locales/i18n_ctype: Regenerate.
24210 * localedata/locales/i18n: copy i18n_ctype.
24211
24212 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24213
24214 * stdlib/strfroml.c: Include <bits/floatn.h>.
24215 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24216 Define before include of <stdlib.h> and undefine afterwards, then
24217 define as weak alias.
24218
24219 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24220 Undefine and restore default definition. Use
24221 libm_alias_ldouble_other.
24222
24223 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24224
24225 [BZ #22153]
24226 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24227 in coredumps.
24228
24229 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24230
24231 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24232 Assign sym_map to be map for local symbols, as TLS relocations
24233 use sym_map to determine whether the symbol is defined and to
24234 extract the TLS information.
24235 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24236 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24237
24238 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24239
24240 [BZ #22189]
24241 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24242 (math_force_eval): Add powerpc version.
24243
24244 [BZ #22142]
24245 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24246 -DBL_MAX.
24247 (do_test): Likewise.
24248 * stdio-common/tst-printf.sh: Likewise.
24249 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24250 ifdef clause in order to set the carry bit right. Replace r0 by
24251 0 without changing the behavior.
24252
24253 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24254
24255 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24256 <libm-alias-ldouble.h>.
24257 (fabsl): Define using libm_alias_ldouble.
24258 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24259 <libm-alias-ldouble.h>.
24260 (fabsl): Define using libm_alias_ldouble.
24261
24262 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24263 Remove conditional code.
24264
24265 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24266 Rename to __clog10_internal_l.
24267 (__clog10_internal_l): Define aliases using
24268 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24269 with __clog10.
24270
24271 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24272
24273 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24274 * benchtests/sincosf-inputs: New file.
24275 * benchtests/cosf-inputs: New file.
24276 * benchtests/sinf-inputs: New file.
24277
24278 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24279
24280 * posix/tst-spawn.c (do_test): Wait for both children.
24281
24282 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24283
24284 [BZ #22284]
24285 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24286 tests-pie): Add tst-gmon-pie.
24287 (CFLAGS-tst-gmon-pie.c): New.
24288 (CRT-tst-gmon-pie): Likewise.
24289 (tst-gmon-pie-ENV): Likewise.
24290 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24291 ($(objpfx)tst-gmon-pie.out): Likewise.
24292 (clean-tst-gmon-pie-data): Likewise.
24293 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24294 * gmon/gmon.c [PIC]: Include <link.h>.
24295 [PIC] (callback): New function.
24296 (write_hist): Add an argument for load address. Subtract load
24297 address from PCs.
24298 (write_call_graph): Likewise.
24299 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24300 it to write_hist and write_call_graph.
24301 * gmon/tst-gmon-pie.c: New file.
24302
24303 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24304
24305 * math/Makefile (test-types-basic): New variable.
24306 (test-types): Likewise.
24307 (libm-test-support): Use $(test-types) instead of $(types).
24308 (libm-tests-base-normal): Likewise.
24309 (libm-tests-base-finite): Likewise.
24310 (libm-tests-base-inline): Likewise.
24311 (generated): Likewise.
24312 ($(objpfx)libm-test-support-$(t).c): Likewise.
24313 (libm-tests-for-type iterator): Likewise.
24314 (libm-test-support iterator): Likewise.
24315 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24316 (ulp_idx): Use ULP_IDX.
24317 * math/test-ldouble.h: Include <float.h>.
24318 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24319 (ULP_IDX): New macro.
24320 (ULP_I_IDX): Likewise.
24321 * math/test-double.h (ULP_IDX): Likewise.
24322 (ULP_I_IDX): Likewise.
24323 * math/test-float.h (ULP_IDX): Likewise.
24324 (ULP_I_IDX): Likewise.
24325 * math/test-float128.h (ULP_IDX): Likewise.
24326 (ULP_I_IDX): Likewise.
24327
24328 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24329
24330 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24331 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24332 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24333 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24334 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24335 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24336 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24337 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24338 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24339 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24340 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24341 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24342 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24343 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24344 (SINGLE_THREAD_BY_GLOBAL): Define.
24345 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24346 Likewise.
24347 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24348 Likewise.
24349 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24350 Likewise.
24351 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24352 Likewise.
24353 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24354 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24355 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24356 Likewise.
24357
24358 2017-10-11 Andreas Schwab <schwab@suse.de>
24359
24360 * nis/Makefile (aux): Remove.
24361 * nscd/Makefile (aux): Add nscd_hash.
24362 (nscd-modules): Likewise.
24363 ($(objpfx)nscd): Don't depend on libnsl.
24364 * nscd/nscd_hash.c: New file.
24365 * nscd/nscd_hash.h: Likewise.
24366 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24367 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24368 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24369 instead of <nis/rpcsvc/nis.h>.
24370 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24371
24372 2017-10-11 Florian Weimer <fweimer@redhat.com>
24373
24374 [BZ #22078]
24375 Avoid large NSS buffers with many addresses, aliases.
24376 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24377 using dynarrays and struct alloc_buffer.
24378 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24379 (tst-nss-files-hosts-multi): Link with -ldl.
24380 * nss/tst-nss-files-hosts-multi.c: New file.
24381
24382 2017-10-11 Florian Weimer <fweimer@redhat.com>
24383
24384 [BZ #18023]
24385 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24386 scratch_buffer. Eliminate gotos.
24387
24388 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24389
24390 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24391 libm_alias_ldouble_other.
24392 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24393 undefine and redefine.
24394 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24395 (exp10l): Do not define here.
24396 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24397 (weak_alias): Undefine and redefine.
24398 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24399 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24400 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24401 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24402
24403 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24404 [!__fma] (fma): Define using libm_alias_double.
24405 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24406 [!__fmaf] (fmaf): Define using libm_alias_float.
24407 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24408 (fmal): Define using libm_alias_ldouble.
24409
24410 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24411
24412 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24413 New macro.
24414 (libm_alias_double_other): Likewise.
24415 (libm_alias_double_r): Use libm_alias_double_other_r.
24416 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24417 New macro.
24418 (libm_alias_float_other): Likewise.
24419 (libm_alias_float_r): Use libm_alias_float_other_r.
24420 * sysdeps/generic/libm-alias-float128.h
24421 (libm_alias_float128_other_r): New macro.
24422 (libm_alias_float128_other): Likewise.
24423 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24424 * sysdeps/generic/libm-alias-ldouble.h
24425 (libm_alias_ldouble_other_r): New macro.
24426 (libm_alias_ldouble_other): Likewise.
24427 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24428 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24429 (libm_alias_double_other_r): New macro.
24430 (libm_alias_double_other): Likewise.
24431 (libm_alias_double_r): Use libm_alias_double_other_r.
24432 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24433 (libm_alias_ldouble_other_r): New macro.
24434 (libm_alias_ldouble_other): Likewise.
24435 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24436 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24437 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24438 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24439 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24440 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24441 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24442 * math/w_exp2f.c: Use libm_alias_float_other.
24443 * math/w_expf.c: Likewise.
24444 * math/w_log2f.c: Likewise.
24445 * math/w_logf.c: Likewise.
24446 * math/w_powf.c: Likewise.
24447 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24448 [!__exp2f]: Use libm_alias_float_other.
24449 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24450 [!__expf]: Use libm_alias_float_other.
24451 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24452 [!__log2f]: Use libm_alias_float_other.
24453 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24454 [!__logf]: Use libm_alias_float_other.
24455 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24456 [!__powf]: Use libm_alias_float_other.
24457
24458 2017-10-10 Florian Weimer <fweimer@redhat.com>
24459
24460 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24461 function.
24462 (_nss_files_gethostbyname3_r): Call it.
24463
24464 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24465
24466 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24467 error. Remove default definition of declare_mgen_alias.
24468 [!declare_mgen_alias_r]: Likewise.
24469 * sysdeps/generic/math-type-macros-double.h
24470 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24471 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24472 (declare_mgen_alias_r): Likewise.
24473 * sysdeps/generic/math-type-macros-float128.h
24474 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24475 * sysdeps/generic/math-type-macros-ldouble.h
24476 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24477 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24478 macro.
24479 (declare_mgen_alias_r_s): Likewise.
24480 (declare_mgen_alias_r): Likewise.
24481 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24482 (lgamma_r): Define using libm_alias_double_r.
24483 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24484 (lgammaf_r): Define using libm_alias_float_r.
24485 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24486 (lgammal_r): Define using libm_alias_ldouble_r.
24487 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24488 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24489
24490 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24491
24492 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24493 extern declaration.
24494
24495 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24496
24497 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24498
24499 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24500
24501 [BZ #21326]
24502 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24503 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24504 * math/Makefile (test-math-cxx11): New test.
24505 * math/test-math-cxx11.cc: New file.
24506
24507 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24508
24509 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24510
24511 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24512 call to allocate the slave pty file descriptor.
24513
24514 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24515
24516 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24517 [!__fma] (fma): Define using libm_alias_double.
24518 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24519 [!__fma] (fma): Define using libm_alias_double.
24520
24521 * sysdeps/ieee754/float128/float128_private.h: Include
24522 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24523 (libm_alias_ldouble_r): Undefine and redefine.
24524 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24525 <libm-alias-ldouble.h>.
24526 (asinhl): Define using libm_alias_ldouble.
24527 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24528 <libm-alias-ldouble.h>.
24529 (atanl): Define using libm_alias_ldouble.
24530 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24531 <libm-alias-ldouble.h>.
24532 (cbrtl): Define using libm_alias_ldouble.
24533 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24534 <libm-alias-ldouble.h>.
24535 (ceill): Define using libm_alias_ldouble.
24536 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24537 <libm-alias-ldouble.h>.
24538 (copysignl): Define using libm_alias_ldouble.
24539 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24540 <libm-alias-ldouble.h>.
24541 (cosl): Define using libm_alias_ldouble.
24542 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24543 <libm-alias-ldouble.h>.
24544 (erfl): Define using libm_alias_ldouble.
24545 (erfcl): Likewise.
24546 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24547 <libm-alias-ldouble.h>.
24548 (expm1l): Define using libm_alias_ldouble.
24549 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24550 <libm-alias-ldouble.h>.
24551 (fabsl): Define using libm_alias_ldouble.
24552 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24553 <libm-alias-ldouble.h>.
24554 (floorl): Define using libm_alias_ldouble.
24555 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24556 <libm-alias-ldouble.h>.
24557 (fmal): Define using libm_alias_ldouble.
24558 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24559 <libm-alias-ldouble.h>.
24560 (frexpl): Define using libm_alias_ldouble.
24561 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24562 libm_alias_ldouble.
24563 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24564 <libm-alias-ldouble.h>.
24565 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24566 libm_alias_ldouble.
24567 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24568 <libm-alias-ldouble.h>.
24569 (getpayloadl): Define using libm_alias_ldouble.
24570 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24571 <libm-alias-ldouble.h>.
24572 (llrintl): Define using libm_alias_ldouble.
24573 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24574 <libm-alias-ldouble.h>.
24575 (llroundl): Define using libm_alias_ldouble.
24576 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24577 <libm-alias-ldouble.h>.
24578 (logbl): Define using libm_alias_ldouble.
24579 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24580 <libm-alias-ldouble.h>.
24581 (lrintl): Define using libm_alias_ldouble.
24582 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24583 <libm-alias-ldouble.h>.
24584 (lroundl): Define using libm_alias_ldouble.
24585 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24586 <libm-alias-ldouble.h>.
24587 (modfl): Define using libm_alias_ldouble.
24588 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24589 <libm-alias-ldouble.h>.
24590 (nearbyintl): Define using libm_alias_ldouble.
24591 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24592 <libm-alias-ldouble.h>.
24593 (nextafterl): Define using libm_alias_ldouble.
24594 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24595 <libm-alias-ldouble.h>.
24596 (nextupl): Define using libm_alias_ldouble.
24597 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24598 <libm-alias-ldouble.h>.
24599 (remquol): Define using libm_alias_ldouble.
24600 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24601 <libm-alias-ldouble.h>.
24602 (rintl): Define using libm_alias_ldouble.
24603 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24604 <libm-alias-ldouble.h>.
24605 (roundevenl): Define using libm_alias_ldouble.
24606 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24607 <libm-alias-ldouble.h>.
24608 (roundl): Define using libm_alias_ldouble.
24609 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24610 using libm_alias_ldouble.
24611 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24612 <libm-alias-ldouble.h>.
24613 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24614 Define using libm_alias_ldouble.
24615 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24616 <libm-alias-ldouble.h>.
24617 (sincosl): Define using libm_alias_ldouble.
24618 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24619 <libm-alias-ldouble.h>.
24620 (sinl): Define using libm_alias_ldouble.
24621 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24622 <libm-alias-ldouble.h>.
24623 (tanhl): Define using libm_alias_ldouble.
24624 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24625 <libm-alias-ldouble.h>.
24626 (tanl): Define using libm_alias_ldouble.
24627 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24628 <libm-alias-ldouble.h>.
24629 (totalorderl): Define using libm_alias_ldouble.
24630 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24631 <libm-alias-ldouble.h>.
24632 (totalordermagl): Define using libm_alias_ldouble.
24633 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24634 <libm-alias-ldouble.h>.
24635 (truncl): Define using libm_alias_ldouble.
24636 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24637 libm_alias_ldouble.
24638 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24639 libm_alias_ldouble.
24640 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
24641 <libm-alias-ldouble.h>.
24642 (weak_alias): Do not undefine and redefine.
24643 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24644 (copysignl): Define with long_double_symbol only if [IS_IN
24645 (libc)].
24646 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24647 <libm-alias-ldouble.h>.
24648 (weak_alias): Do not undefine and redefine.
24649 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24650 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24651 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
24652 <libm-alias-ldouble.h>.
24653 (weak_alias): Do not undefine and redefine.
24654 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24655 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24656 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24657 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24658 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24659 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24660 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24661 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24662 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24663 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24664 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24665 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24666 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24667 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24668 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24669 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24670 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24671 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24672 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24673 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24674 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24675 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24676 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24677 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24678 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24679 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24680
24681 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24682
24683 [BZ #22111]
24684 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24685 (tcache_thread_freeres): Set tcache_shutting_down before
24686 freeing the tcache.
24687 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24688 * malloc/tst-malloc-tcache-leak.c: New file.
24689
24690 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24691
24692 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24693 back to powerpc32 file.
24694 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24695 (memrchr): Add __memrchr_power8 to ifunc list.
24696 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24697 extra bytes for unaligned inputs.
24698
24699 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24700
24701 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24702 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24703 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24704 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24705 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24706
24707 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24708
24709 * sysdeps/arm/libm-test-ulps: Update.
24710
24711 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24712 <libm-alias-ldouble.h>.
24713 (asinhl): Define using libm_alias_ldouble.
24714 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24715 <libm-alias-ldouble.h>.
24716 (cbrtl): Define using libm_alias_ldouble.
24717 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24718 <libm-alias-ldouble.h>.
24719 (copysignl): Define using libm_alias_ldouble.
24720 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24721 <libm-alias-ldouble.h>.
24722 (cosl): Define using libm_alias_ldouble.
24723 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24724 <libm-alias-ldouble.h>.
24725 (erfl): Define using libm_alias_ldouble.
24726 (erfcl): Likewise.
24727 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24728 <libm-alias-ldouble.h>.
24729 (fmal): Define using libm_alias_ldouble.
24730 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24731 <libm-alias-ldouble.h>.
24732 (frexpl): Define using libm_alias_ldouble.
24733 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24734 libm_alias_ldouble.
24735 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24736 <libm-alias-ldouble.h>.
24737 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24738 libm_alias_ldouble.
24739 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24740 <libm-alias-ldouble.h>.
24741 (getpayloadl): Define using libm_alias_ldouble.
24742 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24743 <libm-alias-ldouble.h>.
24744 (llrintl): Define using libm_alias_ldouble.
24745 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24746 <libm-alias-ldouble.h>.
24747 (llroundl): Define using libm_alias_ldouble.
24748 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24749 <libm-alias-ldouble.h>.
24750 (lrintl): Define using libm_alias_ldouble.
24751 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24752 <libm-alias-ldouble.h>.
24753 (lroundl): Define using libm_alias_ldouble.
24754 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24755 <libm-alias-ldouble.h>.
24756 (modfl): Define using libm_alias_ldouble.
24757 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24758 <libm-alias-ldouble.h>.
24759 (nextupl): Define using libm_alias_ldouble.
24760 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24761 <libm-alias-ldouble.h>.
24762 (remquol): Define using libm_alias_ldouble.
24763 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24764 <libm-alias-ldouble.h>.
24765 (roundevenl): Define using libm_alias_ldouble.
24766 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24767 <libm-alias-ldouble.h>.
24768 (roundl): Define using libm_alias_ldouble.
24769 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24770 using libm_alias_ldouble.
24771 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24772 <libm-alias-ldouble.h>.
24773 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24774 <libm-alias-ldouble.h>.
24775 (setpayloadsigl): Define using libm_alias_ldouble.
24776 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24777 <libm-alias-ldouble.h>.
24778 (sincosl): Define using libm_alias_ldouble.
24779 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24780 <libm-alias-ldouble.h>.
24781 (sinl): Define using libm_alias_ldouble.
24782 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24783 <libm-alias-ldouble.h>.
24784 (tanhl): Define using libm_alias_ldouble.
24785 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24786 <libm-alias-ldouble.h>.
24787 (tanl): Define using libm_alias_ldouble.
24788 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24789 <libm-alias-ldouble.h>.
24790 (totalorderl): Define using libm_alias_ldouble.
24791 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24792 <libm-alias-ldouble.h>.
24793 (totalordermagl): Define using libm_alias_ldouble.
24794 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24795 libm_alias_ldouble.
24796 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24797 libm_alias_ldouble.
24798
24799 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24800
24801 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24802 memmove_falkor.
24803 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24804 (__libc_ifunc_impl_list): Likewise.
24805 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24806 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24807
24808 * benchtests/bench-memmove-walk.c: New file.
24809 * benchtests/Makefile (string-benchset): Add it.
24810
24811 * benchtests/bench-memset-walk.c: New file.
24812 * benchtests/Makefile (string-benchset): Add it.
24813
24814 * benchtests/bench-memcpy-walk.c: New file.
24815 * benchtests/Makefile (string-benchset): Add it.
24816
24817 2017-10-05 Florian Weimer <fweimer@redhat.com>
24818
24819 nscd: Eliminate compilation time dependency in the build output.
24820 * nscd/nscd_stat.c (STATDATA_VERSION)
24821 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24822 (STATDATA_VERSION_FULL): New macro definitions.
24823 (compilation): Remove.
24824 (struct statdata): Adjust version member.
24825 (send_stats): Set version from STATDATA_VERSION_FULL.
24826 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24827
24828 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24829
24830 * configure.ac (--enable-add-ons): Remove option.
24831 (machine): Do not mention add-ons in comment.
24832 (LIBC_PRECONFIGURE): Likewise.
24833 (add_ons): Remove variable and sanity checks and logic to locate
24834 add-ons.
24835 (add_ons_automatic): Remove variable.
24836 (configured_add_ons): Likewise.
24837 (add_ons_sfx): Likewise.
24838 (add_ons_pfx): Likewise.
24839 (add_on_subdirs): Likewise.
24840 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24841 consideration of add-ons in Implies handling.
24842 (sysdeps_add_ons): Likewise.
24843 * configure: Regenerated.
24844 * libidn/configure.ac: Remove.
24845 * libidn/configure: Likewise.
24846 * sysdeps/unix/inet/configure.ac: New file.
24847 * sysdeps/unix/inet/configure: New generated file.
24848 * sysdeps/unix/inet/Subdirs: Add libidn.
24849 * Makeconfig (sysdeps-srcdirs): Remove variable.
24850 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24851 ($(common-objpfx)config.status): Do not depend on add-on files.
24852 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24853 comment.
24854 (all-subdirs): Do not include $(add-on-subdirs).
24855 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24856 * config.make.in (add-ons): Remove variable.
24857 (add-on-subdirs): Likewise.
24858 (sysdeps-add-ons): Likewise.
24859 * manual/Makefile (add-chapters): Remove.
24860 ($(objpfx)texis): Do not depend on $(add-chapters).
24861 (nonexamples): Do not handle $(add-chapters).
24862 (examples): Do not handle $(add-ons).
24863 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24864 libc-texinfo.sh.
24865 * manual/install.texi (Installation): Do not mention add-ons.
24866 (--enable-add-ons): Do not document configure option.
24867 * INSTALL: Regenerated.
24868 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24869 * manual/maint.texi (Hierarchy Conventions): Do not mention
24870 add-ons.
24871 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24872 --enable-add-ons.
24873 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24874 add-ons.
24875 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24876 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24877
24878 2017-10-05 Andreas Schwab <schwab@suse.de>
24879
24880 [BZ #15142]
24881 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24882 (_IO_flush_all_lockp): Always lock list_all_lock.
24883 (_IO_flush_all_linebuffered): Likewise.
24884 (_IO_unbuffer_all): Likewise.
24885
24886 2017-10-05 Florian Weimer <fweimer@redhat.com>
24887
24888 [BZ #15436]
24889 Do not flush stdio streams on abort.
24890 * stdlib/abort.c (fflush): Remove macro definition.
24891 (abort): Remove stages related to stdio flushing.
24892
24893 2017-10-05 Florian Weimer <fweimer@redhat.com>
24894
24895 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24896
24897 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24898
24899 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24900
24901 2017-10-05 Florian Weimer <fweimer@redhat.com>
24902
24903 * support/support_format_hostent.c (support_format_hostent): Add
24904 more error information for NETDB_INTERNAL.
24905
24906 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24907
24908 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24909 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24910 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24911 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24912 AC_DEFINE if multi-arch is enabled.
24913 * sysdeps/i386/configure: Regenerated.
24914
24915 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24916
24917 * Makeconfig (+link-static-before-libc): Use
24918 $(DEFAULT-LDFLAGS-$(@F)).
24919 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24920 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24921 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24922
24923 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24924
24925 * elf/Makefile (tests): Add tst-main1.
24926 (modules-names): Add tst-main1mod.
24927 ($(objpfx)tst-main1): New.
24928 (CRT-tst-main1): Likewise.
24929 (LDFLAGS-tst-main1): Likewise.
24930 (LDLIBS-tst-main1): Likewise.
24931 (tst-main1mod.so-no-z-defs): Likewise.
24932 * elf/tst-main1.c: New file.
24933 * elf/tst-main1mod.c: Likewise.
24934
24935 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24936
24937 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24938
24939 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24940
24941 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24942 (fma): Define using libm_alias_double.
24943 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24944 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24945 <math_ldbl_opt.h>.
24946 (fmal): Do not define as compat symbol here.
24947 * sysdeps/alpha/fpu/s_fma.c: New file.
24948
24949 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24950
24951 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24952
24953 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24954
24955 [BZ #22229]
24956 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24957 <math_ldbl_opt.h>
24958 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24959 and libc.
24960 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24961 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24962 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24963 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24965 Include <math_ldbl_opt.h>
24966 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24967 and libc.
24968 (compat_symbol): Undefine and redefine.
24969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24970 <math_ldbl_opt.h>
24971 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24972 (compat_symbol): Undefine and redefine.
24973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24974 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24975 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24976 GLIBC_2_1 for libm.
24977 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24978 GLIBC_2.0 copysignl symbol.
24979 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24980 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24981
24982 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24983
24984 2017-10-04 Florian Weimer <fweimer@redhat.com>
24985
24986 * scripts/check-local-headers.sh: Ignore nspr4 header file
24987 directory in addition to nspr.
24988
24989 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
24990
24991 [BZ #17956]
24992 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
24993 * configure: Regenerate.
24994 * crypt/Makefile (nss-cpp-flags): New variable.
24995 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
24996 (CPPFLAGS-md5-crypt.c): Use it.
24997 * scripts/check-local-headers.sh: Ignore nspr header file
24998 directory.
24999
25000 2017-10-04 Andreas Schwab <schwab@suse.de>
25001
25002 * nis/Makefile (services): Remove compat.
25003 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25004 ($(objpfx)libnss_compat.so): Remove rule.
25005 * nis/Versions (libnss_compat): Remove.
25006 * nss/Makefile (services): Add compat.
25007 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25008 * nss/Versions (libnss_compat): Define.
25009 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25010 Don't include <rpc/types.h>. Replace bool_t by bool.
25011 * nss/nss_compat/compat-initgroups.c: Likewise.
25012 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25013 instead of <rpcsrv/ypclnt.h>.
25014 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25015 yp_get_default_domain.
25016 * nss/nss_compat/compat-pwd.c: Likewise.
25017 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25018 yp_get_default_domain.
25019 * nss/nss_compat/nisdomain.c: New file.
25020 * nss/nss_compat/nisdomain.h: Likewise.
25021
25022 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25023
25024 [BZ #22244]
25025 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25026 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25027
25028 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25029
25030 [BZ #22243]
25031 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25032 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25033
25034 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25035
25036 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25037 "movl main@GOTOFF(%ebx), %eax".
25038
25039 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25040
25041 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25042 allow undefined _DYNAMIC in PIE libc.a.
25043 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25044 Likewse.
25045
25046 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25047
25048 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25049 check _DYNAMIC.
25050
25051 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25052
25053 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25054 check _DYNAMIC.
25055
25056 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25057
25058 * math/test-math-iscanonical.cc (error): Replace bool with int.
25059
25060 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25061
25062 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25063 (modf): Define using libm_alias_double, only if [!__modf].
25064 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25065 <libm-alias-double.h>.
25066 (modf): Define using libm_alias_double, only if [!__modf].
25067 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25068 compat symbol here.
25069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25070 (weak_alias): Do not undefine and redefine.
25071 (strong_alias): Likewise.
25072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25073 (weak_alias): Likewise.
25074 (strong_alias): Likewise.
25075
25076 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25077 (logb): Define using libm_alias_double, only if [!__logb].
25078 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25079 <libm-alias-double.h>.
25080 (logb): Define using libm_alias_double, only if [!__logb].
25081 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25083 (weak_alias): Do not undefine and redefine.
25084 (strong_alias): Likewise.
25085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25086 (weak_alias): Likewise.
25087 (strong_alias): Likewise.
25088
25089 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25090
25091 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25092 Check SHARED instead PIC.
25093
25094 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25095
25096 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25097 [!__fmaf] (fmaf): Define using libm_alias_float.
25098
25099 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25100 (frexp): Define using libm_alias_double.
25101 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25102 <libm-alias-double.h>.
25103 (frexp): Define using libm_alias_double.
25104 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25105 compat symbol here.
25106
25107 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25108
25109 [BZ #22235]
25110 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25111 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25112 (CFLAGS-test-math-iscanonical.cc): New variable.
25113 * math/test-math-iscanonical.cc: New file.
25114 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25115 Provide a C++ implementation based on function overloading,
25116 rather than using __MATH_TG, which uses C-only builtins.
25117 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25118 Likewise.
25119 * sysdeps/powerpc/powerpc64le/Makefile
25120 (CFLAGS-test-math-iscanonical.cc): New variable.
25121
25122 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25123
25124 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25125 (ceil): Define using libm_alias_double.
25126 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25127 (floor): Define using libm_alias_double.
25128 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25129 <libm-alias-double.h>.
25130 (llround): Define using libm_alias_double.
25131 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25132 <libm-alias-double.h>.
25133 (lround): Define using libm_alias_double.
25134 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25135 <libm-alias-double.h>.
25136 (nearbyint): Define using libm_alias_double.
25137 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25138 <libm-alias-double.h>.
25139 (remquo): Define using libm_alias_double.
25140 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25141 (rint): Define using libm_alias_double.
25142 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25143 (round): Define using libm_alias_double.
25144 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25145 (trunc): Define using libm_alias_double.
25146 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25147 <libm-alias-double.h>.
25148 (ceil): Define using libm_alias_double.
25149 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25150 <libm-alias-double.h>.
25151 (floor): Define using libm_alias_double.
25152 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25153 <libm-alias-double.h>.
25154 (llround): Define using libm_alias_double.
25155 [_LP64] (lround): Likewise.
25156 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25157 <libm-alias-double.h>.
25158 [!_LP64] (lround): Define using libm_alias_double.
25159 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25160 <libm-alias-double.h>.
25161 (nearbyint): Define using libm_alias_double.
25162 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25163 <libm-alias-double.h>.
25164 (remquo): Define using libm_alias_double.
25165 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25166 <libm-alias-double.h>.
25167 (rint): Define using libm_alias_double.
25168 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25169 <libm-alias-double.h>.
25170 (round): Define using libm_alias_double.
25171 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25172 <libm-alias-double.h>.
25173 (trunc): Define using libm_alias_double.
25174 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25175 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25176 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25177 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25178 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25179 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25180 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25181 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25182 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25183
25184 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25185
25186 * math/w_remainder.c: New file.
25187 * math/w_remainderf.c: New file.
25188 * math/w_remainderl.c: New file.
25189
25190 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25191
25192 * elf/rtld.c (BOOTSTRAP_MAP): New.
25193 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25194 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25195 Likewise.
25196 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25197 Likewise.
25198 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25199 Likewise.
25200
25201 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25202
25203 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25204 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25205 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25206 rtld_hidden_data_ver): Define to empty.
25207 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25208 __assert_perror_fail): Likewise.
25209 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25210 (__rewinddir): Likewise.
25211 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25212 (__profile_frequency): Likewise.
25213 * include/setjmp.h (__sigsetjmp): Likewise.
25214 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25215 __libc_sigaction): Likewise.
25216 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25217 not set hidden attribute.
25218 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25219 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25220 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25221 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25222 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25223 __fxstatat64): Likewise.
25224 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25225 (__uname): Likewise.
25226 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25227 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25228 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25229 (NO_RTLD_HIDDEN): Set.
25230 * sysdeps/mach/hurd/configure: Refresh.
25231 * config.h.in: Refresh.
25232
25233 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25234
25235 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25236 (atan): Define using libm_alias_double.
25237 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25238 (tan): Define using libm_alias_double.
25239 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25240 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25241
25242 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25243 define as weak alias of __atan. Do not define any aliases if
25244 [__atan].
25245 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25246 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25247 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25248 as weak alias of __tan. Do not define any aliases if [__tan].
25249 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25250 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25251 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25252 __atan.
25253 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25254 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25255 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25256 and define as weak alias of __atan.
25257 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25258 __atan.
25259 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25260 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25261 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25262 define as weak alias of __tan.
25263
25264 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25265
25266 * math/w_lgamma.c: New file.
25267 * math/w_lgammaf.c: New file.
25268 * math/w_lgammal.c: New file.
25269
25270 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25271
25272 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25273 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25274 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25275 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25276 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25277 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25278 * sysdeps/i386/fpu/w_log2f.c: New file.
25279 * sysdeps/i386/fpu/w_logf.c: New file.
25280 * sysdeps/i386/fpu/w_powf.c: New file.
25281 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25282 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25283 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25284
25285 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25286 H.J. Lu <hongjiu.lu@intel.com>
25287
25288 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25289 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25290 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25291 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25292 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25293 the new expf code.
25294 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25295 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25296 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25297 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25298 * sysdeps/i386/fpu/w_exp2f.c: New file.
25299 * sysdeps/i386/fpu/w_expf.c: New file.
25300 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25301 * sysdeps/x86_64/fpu/w_expf.c: New file.
25302
25303 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25304
25305 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25306 (log2f): Likewise.
25307 (powf): Likewise.
25308 * math/w_log2f.c: New file.
25309 * math/w_logf.c: New file.
25310 * math/w_powf.c: New file.
25311 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25312 * math/w_logf_compat.c (__logf_compat): Likewise.
25313 * math/w_powf_compat.c (__powf_compat): Likewise.
25314 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25315 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25316 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25317 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25318 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25319 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25320 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25321 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25322 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25323 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25324 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25325 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25326 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25327 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25328 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25330 Likewise.
25331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25332 Likewise.
25333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25334 Likewise.
25335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25336 Likewise.
25337 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25338 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25339 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25340 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25341 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25343 Likewise.
25344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25345 Likewise.
25346 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25347 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25348 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25349
25350 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25351
25352 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25353 (sysdep_routines): Add memrchr_power8.
25354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25355 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25356 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25357 New file.
25358 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25359 (memrchr): Add __memrchr_power8 to ifunc list.
25360 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25361
25362 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25363
25364 [BZ #18822]
25365 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25366 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25367 libc_hidden_def.
25368 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25369 (__posix_fallocate64_l64): Likewise.
25370
25371 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25372
25373 [BZ #18822]
25374 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25375 (__sched_setaffinity_new): Add libc_hidden_proto and
25376 libc_hidden_def.
25377
25378 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25379
25380 [BZ #18822]
25381 * include/glob.h (__glob64): Add libc_hidden_proto.
25382 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25383 libc_hidden_def.
25384
25385 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25386
25387 [BZ #18822]
25388 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25389 attribute_hidden.
25390
25391 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25392
25393 [BZ #18822]
25394 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25395
25396 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25397
25398 [BZ #18822]
25399 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25400 libc_hidden_def.
25401
25402 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25403
25404 [BZ #18822]
25405 * csu/version.c (__libc_print_version): Add attribute_hidden.
25406
25407 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25408
25409 [BZ #18822]
25410 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25411
25412 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25413
25414 [BZ #18822]
25415 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25416
25417 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25418
25419 [BZ #18822]
25420 * nscd/nscd_helper.c (__nis_hash): New prototype.
25421
25422 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25423
25424 [BZ #18822]
25425 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25426 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25427 libc_hidden_def.
25428 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25429 * termios/tcgetattr.c (__tcgetattr): Likewise.
25430
25431 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25432
25433 [BZ #18822]
25434 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25435 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25436 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25437 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25438 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25439
25440 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25441
25442 [BZ #18822]
25443 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25444
25445 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25446
25447 [BZ #18822]
25448 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25449 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25450
25451 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25452
25453 [BZ #18822]
25454 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25455
25456 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25457
25458 [BZ #18822]
25459 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25460 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25461
25462 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25463
25464 [BZ #18822]
25465 * include/ifreq.h: New file.
25466 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25467 (__ifreq): Likewise.
25468 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25469 (__ifreq): Likewise.
25470
25471 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25472
25473 [BZ #18822]
25474 * include/idna.h: New file.
25475 * inet/getnameinfo.c: Include <idna.h> instead of
25476 <libidn/idna.h>.
25477 (__idna_to_unicode_lzlz): Removed.
25478 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25479 <libidn/idna.h>.
25480 (__idna_to_ascii_lz): Removed.
25481 (__idna_to_unicode_lzlz): Likewise.
25482
25483 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25484
25485 [BZ #18822]
25486 * include/plural-exp.h: New file.
25487 * intl/plural-exp.c: Include <plural-exp.h> instead of
25488 "plural-exp.h".
25489
25490 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25491
25492 [BZ #18822]
25493 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25494 "getsourcefilter.h".
25495 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25496 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25497 "getsourcefilter.h".
25498 (__get_sol): Removed.
25499
25500 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25501
25502 [BZ #18822]
25503 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25504 to ...
25505 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25506
25507 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25508
25509 [BZ #18822]
25510 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25511 attribute_hidden.
25512
25513 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25514
25515 [BZ #18822]
25516 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25517
25518 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25519
25520 [BZ #18822]
25521 * include/search.h (__tdestroy): Add libc_hidden_proto.
25522 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25523
25524 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25525
25526 [BZ #18822]
25527 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25528
25529 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25530
25531 [BZ #18822]
25532 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25533 attribute_hidden.
25534
25535 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25536
25537 [BZ #18822]
25538 * include/signal.h (__kill): Add libc_hidden_proto.
25539 (__sigblock): Likewise.
25540 (__sigprocmask): Likewise.
25541 (__sigaltstack): Likewise.
25542 * signal/kill.c (__kill): Add libc_hidden_def.
25543 * signal/sigblock.c (__sigblock): Likewise.
25544 * signal/sigprocmask.c (__sigprocmask): Likewise.
25545 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25546 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25547 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25548 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25549 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25550 Likewise.
25551 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25552 Likewise.
25553 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25554 (__sigprocmask): Likewise.
25555 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25556 Likewise.
25557 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25558 (__sigprocmask): Likewise.
25559 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25560 Likewise.
25561
25562 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25563
25564 [BZ #18822]
25565 * include/string.h (__strsep): Add libc_hidden_proto.
25566 * string/strsep.c (__strsep): Add libc_hidden_def.
25567
25568 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25569
25570 [BZ #18822]
25571 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25572 attribute_hidden.
25573 (__spawni): Likewise.
25574
25575 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25576
25577 [BZ #18822]
25578 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25579 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25580 libc_hidden_def.
25581
25582 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25583
25584 [BZ #18822]
25585 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25586
25587 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25588
25589 [BZ #18822]
25590 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25591 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25592 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25593 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25594 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25595 Likewise.
25596 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25597 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25598
25599 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25600
25601 [BZ #18822]
25602 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25603 (__dcigettext): Likewise.
25604
25605 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25606
25607 [BZ #18822]
25608 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25609 libc_hidden_proto.
25610 (__get_nprocs): Likewise.
25611 (__get_phys_pages): Likewise.
25612 (__get_avphys_pages): Likewise.
25613 (__get_child_max): Add attribute_hidden.
25614 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25615 (__get_nprocs): Likewise.
25616 (__get_phys_pages): Likewise.
25617 (__get_avphys_pages): Likewise.
25618 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25619 libc_hidden_def.
25620 (__get_nprocs): Likewise.
25621 (__get_phys_pages): Likewise.
25622 (__get_avphys_pages): Likewise.
25623 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25624 libc_hidden_def.
25625 (__get_nprocs_conf): Likewise.
25626 (__get_phys_pages): Likewise.
25627 (__get_avphys_pages): Likewise.
25628
25629 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25630
25631 [BZ #18822]
25632 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25633 attribute_hidden.
25634 (__netlink_close): Likewise.
25635 (__netlink_free_handle): Likewise.
25636 (__netlink_request): Likewise.
25637
25638 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25639
25640 [BZ #18822]
25641 * include/rpc/rpc.h (__rpc_thread_variables): Add
25642 attribute_hidden.
25643 (__rpc_thread_svc_cleanup): Likewise.
25644 (__rpc_thread_clnt_cleanup): Likewise.
25645 (__rpc_thread_key_cleanup): Likewise.
25646
25647 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25648
25649 [BZ #18822]
25650 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25651 (__writev): Likewise.
25652 * misc/readv.c (__readv): Add libc_hidden_def.
25653 * misc/writev.c (__writev): Likewise.
25654 * sysdeps/posix/readv.c (__readv): Likewise.
25655 * sysdeps/posix/writev.c (__writev): Likewise.
25656 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25657 (__readv): Likewise.
25658 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25659 (__writev): Likewise.
25660
25661 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25662
25663 [BZ #18822]
25664 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25665 (__regcomp): Add libc_hidden_proto.
25666 (__regexec): Likewise.
25667 (__regfree): Likewise.
25668 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25669 (__regfree): Likewise.
25670 * posix/regexec.c (__regexec): Likewise.
25671
25672 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25673
25674 [BZ #18822]
25675 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25676 (__getutent): Likewise.
25677 (__getutid): Likewise.
25678 (__getutline): Likewise.
25679 (__pututline): Likewise.
25680 (__getutent_r): Likewise.
25681 (__getutid_r): Likewise.
25682 (__getutline_r): Likewise.
25683 (__utmpname): Add attribute_hidden.
25684 (__setutent): Likewise.
25685 (__endutent): Likewise.
25686 * login/getutent.c (__getutent): Add libc_hidden_def.
25687 * login/getutent_r.c (__getutent_r): Likewise.
25688 (__pututline): Likewise.
25689 * login/getutid.c (__getutid): Likewise.
25690 * login/getutid_r.c (__getutid_r): Likewise.
25691 * login/getutline.c (__getutline): Likewise.
25692 * login/getutline_r.c (__getutline_r): Likewise.
25693 * login/updwtmp.c (__updwtmp): Likewise.
25694
25695 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25696
25697 [BZ #18822]
25698 * include/dirent.h (__opendir): Always add attribute_hidden.
25699 (__fdopendir): Likewise.
25700 (__closedir): Likewise.
25701 (__readdir): Likewise.
25702 (__readdir64): Add libc_hidden_proto.
25703 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25704 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25705 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25706 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25707 New alias.
25708
25709 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25710
25711 [BZ #18822]
25712 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25713 * include/netdb.h (__gethostbyaddr_r): Likewise.
25714 (__gethostbyname_r): Likewise.
25715 (__gethostbyname2_r): Likewise.
25716 (__getnetbyaddr_r): Likewise.
25717 (__getnetbyname_r): Likewise.
25718 (__getservbyname_r): Likewise.
25719 (__getservbyport_r): Likewise.
25720 (__getprotobyname_r): Likewise.
25721 (__getprotobynumber_r): Likewise.
25722 (__getnetgrent_r): Likewise.
25723 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25724 (__getrpcbynumber_r): Likewise.
25725 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25726
25727 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25728
25729 [BZ #18822]
25730 * include/stdio.h (__fcloseall): Add attribute_hidden.
25731 (__getline): Likewise.
25732 (__path_search): Likewise.
25733 (__gen_tempname): Likewise.
25734 (__libc_message): Likewise.
25735 (__flockfile): Likewise.
25736 (__funlockfile): Likewise.
25737 (__fxprintf): Likewise.
25738 (__fxprintf_nocancel): Likewise.
25739
25740 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25741
25742 [BZ #18822]
25743 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25744 (__sgetsgent_r): Likewise.
25745
25746 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25747
25748 [BZ #18822]
25749 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25750 (__statfs64): Likewise.
25751 (__fstatfs64): Likewise.
25752 * include/sys/statvfs.h (__statvfs64): Likewise.
25753 (__fstatvfs64): Likewise.
25754 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25755 (__statfs_filesize_max): Likewise.
25756 (__statfs_symlinks): Likewise.
25757 (__statfs_chown_restricted): Likewise.
25758
25759 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25760
25761 [BZ #18822]
25762 * include/time.h (__tzstring): Add attribute_hidden.
25763 (__tzfile_read): Likewise.
25764 (__tzfile_compute): Likewise.
25765 (__tzfile_default): Likewise.
25766 (__tzset_parse_tz): Likewise.
25767 (__offtime): Likewise.
25768 (__asctime_r): Likewise.
25769 (__tzset): Likewise.
25770 (__tz_convert): Likewise.
25771 (__getdate_r): Likewise.
25772 (__getclktck): Likewise.
25773
25774 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25775
25776 [BZ #18822]
25777 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25778 (__nscd_unmap): Likewise.
25779 (__nscd_cache_search): Likewise.
25780 (__nscd_get_nl_timestamp): Likewise.
25781 (__nscd_getpwnam_r): Likewise.
25782 (__nscd_getpwuid_r): Likewise.
25783 (__nscd_getgrnam_r): Likewise.
25784 (__nscd_getgrgid_r): Likewise.
25785 (__nscd_gethostbyname_r): Likewise.
25786 (__nscd_gethostbyname2_r): Likewise.
25787 (__nscd_gethostbyaddr_r): Likewise.
25788 (__nscd_getai): Likewise.
25789 (__nscd_getgrouplist): Likewise.
25790 (__nscd_getservbyname_r): Likewise.
25791 (__nscd_getservbyport_r): Likewise.
25792 (__nscd_innetgr): Likewise.
25793 (__nscd_setnetgrent): Likewise.
25794
25795 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25796
25797 [BZ #18822]
25798 * include/gmp.h: Declare internal functions only if _ISOMAC is
25799 undefined.
25800 (__mpn_extract_double): Add attribute_hidden.
25801 (__mpn_extract_long_double): Likewise.
25802 (__mpn_extract_float128): Likewise.
25803 (__mpn_construct_float): Likewise.
25804 (__mpn_construct_double): Likewise.
25805 (__mpn_construct_long_double): Likewise.
25806 (__mpn_construct_float128): Likewise.
25807 (mpn_add_1): Likewise.
25808 (mpn_addmul_1): Likewise.
25809 (mpn_add_n): Likewise.
25810 (mpn_cmp): Likewise.
25811 (mpn_divrem): Likewise.
25812 (mpn_lshift): Likewise.
25813 (mpn_mul): Likewise.
25814 (mpn_mul_1): Likewise.
25815 (mpn_rshift): Likewise.
25816 (mpn_sub_1): Likewise.
25817 (mpn_submul_1): Likewise.
25818 (mpn_sub_n): Likewise.
25819
25820 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25821
25822 [BZ #18822]
25823 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25824 (__wcscat): Likewise.
25825 (__btowc): Likewise.
25826 (__wcrtomb): Likewise.
25827 (__mbsrtowcs): Likewise.
25828 (__wcsrtombs): Likewise.
25829 (__mbsnrtowcs): Likewise.
25830 (__wcsnrtombs): Likewise.
25831 (__wcsncpy): Likewise.
25832 (__wcpncpy): Likewise.
25833 (__wmemcpy): Likewise.
25834 (__wmempcpy): Likewise.
25835 (__wmemmove): Likewise.
25836 (__wcschrnul): Likewise.
25837 (__vfwscanf): Likewise.
25838 (__vswprintf): Likewise.
25839 (__fwprintf): Likewise.
25840 (__vfwprintf): Likewise.
25841
25842 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25843
25844 [BZ #18822]
25845 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25846 (__getgrgid_r): Likewise.
25847 (__getgrnam_r): Likewise.
25848 * include/pwd.h (__getpwuid_r): Likewise.
25849 (__getpwnam_r): Likewise.
25850 (__fgetpwent_r): Likewise.
25851 * include/shadow.h (__getspnam_r): Likewise.
25852 (__sgetspent_r): Likewise.
25853 (__fgetspent_r): Likewise.
25854
25855 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25856
25857 [BZ #18822]
25858 * include/unistd.h (__access): Add attribute_hidden.
25859 (__lseek64): Likewise.
25860 (__libc_pread64): Likewise.
25861 (__pipe2): Likewise.
25862 (__sleep): Likewise.
25863 (__chdir): Likewise.
25864 (__fchdir): Likewise.
25865 (__getcwd): Likewise.
25866 (__rmdir): Likewise.
25867 (__execvpe): Likewise.
25868 (__execve): Likewise.
25869 (__setsid): Likewise.
25870 (__getuid): Likewise.
25871 (__geteuid): Likewise.
25872 (__getgid): Likewise.
25873 (__getegid): Likewise.
25874 (__getgroups): Likewise.
25875 (__group_member): Likewise.
25876 (__ttyname_r): Likewise.
25877 (__isatty): Likewise.
25878 (__readlink): Likewise.
25879 (__unlink): Likewise.
25880 (__gethostname): Likewise.
25881 (__profil): Likewise.
25882 (__getdtablesize): Likewise.
25883 (__brk): Likewise.
25884 (__ftruncate): Likewise.
25885 (__ftruncate64): Likewise.
25886
25887 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25888
25889 [BZ #18822]
25890 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25891 * argp/argp-fs-xinl.c: Likewise.
25892 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25893 * argp/argp-parse.c: Include <argp.h>.
25894 * argp/argp-xinl.c: Likewise.
25895 * include/argp-fmtstream.h: New file.
25896 * include/argp.h (__argp_error): Add attribute_hidden.
25897 (__argp_failure): Likewise.
25898 (__argp_input): Likewise.
25899 (__argp_state_help): Likewise.
25900
25901 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25902
25903 [BZ #18822]
25904 * include/wchar.h (____wcstof_l_internal): New prototype.
25905 (____wcstod_l_internal): Likewise.
25906 (____wcstold_l_internal): Likewise.
25907 (____wcstol_l_internal): Likewise.
25908 (____wcstoul_l_internal): Likewise.
25909 (____wcstoll_l_internal): Likewise.
25910 (____wcstoull_l_internal): Likewise.
25911 (____wcstof128_l_internal): Likewise.
25912 * sysdeps/ieee754/float128/wcstof128.c
25913 (____wcstof128_l_internal): Removed.
25914 * sysdeps/ieee754/float128/wcstof128_l.c
25915 (____wcstof128_l_internal): Likewise.
25916 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25917 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25918 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25919 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25920 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25921 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25922 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25923 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25924 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25925 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25926
25927 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25928
25929 [BZ #18822]
25930 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25931 instead of <sys/statvfs.h>.
25932 (__internal_statvfs): Removed.
25933 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25934 instead of <sys/statvfs.h>.
25935 (__internal_statvfs64): Removed.
25936 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25937 "internal_statvfs.h" instead of <sys/statvfs.h>.
25938 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25939 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25940 instead of <sys/statvfs.h>.
25941 (__internal_statvfs): Removed.
25942 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25943 instead of <sys/statvfs.h>.
25944 (__internal_statvfs64): Removed.
25945
25946 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25947
25948 [BZ #18822]
25949 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25950 (__gconv_close): Likewise.
25951 (__gconv): Likewise.
25952 (__gconv_find_transform): Likewise.
25953 (__gconv_lookup_cache): Likewise.
25954 (__gconv_compare_alias_cache): Likewise.
25955 (__gconv_load_cache): Likewise.
25956 (__gconv_get_path): Likewise.
25957 (__gconv_close_transform): Likewise.
25958 (__gconv_release_cache): Likewise.
25959 (__gconv_find_shlib): Likewise.
25960 (__gconv_release_shlib): Likewise.
25961 (__gconv_get_builtin_trans): Likewise.
25962 (__gconv_compare_alias): Likewise.
25963 * include/dlfcn.h (_dlerror_run): Likewise.
25964 * include/stdio.h (__fortify_fail_abort): Likewise.
25965 * include/time.h (__tz_compute): Likewise.
25966 (__strptime_internal): Likewise.
25967 * intl/gettextP.h (_nl_find_domain): Likewise.
25968 (_nl_load_domain): Likewise.
25969 (_nl_find_msg): Likewise.
25970 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25971 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25972 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25973 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25974 (__gai_find_request): Likewise.
25975 (__gai_remove_request): Likewise.
25976 (__gai_notify): Likewise.
25977 (__gai_notify_only): Likewise.
25978 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25979 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25980 (_dl_non_dynamic_init): Likewise.
25981 (_dl_aux_init): Likewise.
25982 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25983 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25984 Likewise.
25985 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
25986 (__wcsmbs_clone_conv): Likewise.
25987 (__wcsmbs_named_conv): Likewise.
25988
25989 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25990
25991 [BZ #18822]
25992 * include/stdlib.h (__random): Add attribute_hidden.
25993 (__random_r): Likewise.
25994 (__srandom_r): Likewise.
25995 (__initstate_r): Likewise.
25996 (__setstate_r): Likewise.
25997 (__erand48_r): Likewise.
25998 (__nrand48_r): Likewise.
25999 (__jrand48_r): Likewise.
26000 (__srand48_r): Likewise.
26001 (__seed48_r): Likewise.
26002 (__lcong48_r): Likewise.
26003 (__drand48_iterate): Likewise.
26004 (__setenv): Likewise.
26005 (__unsetenv): Likewise.
26006 (__clearenv): Likewise.
26007 (__ptsname_r): Likewise.
26008 (__posix_openpt): Likewise.
26009 (__add_to_environ): Likewise.
26010 (__realpath): Add libc_hidden_proto.
26011 (__ecvt_r): Likewise.
26012 (__fcvt_r): Likewise.
26013 (__qecvt_r): Likewise.
26014 (__qfcvt_r): Likewise.
26015 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26016 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26017
26018 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26019
26020 [BZ #18822]
26021 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26022 * include/time.h (__mktime_internal): Likewise.
26023 * libio/iolibio.h (__fopen_internal): Likewise.
26024
26025 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26026
26027 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26028 pointer in frame.
26029 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26030 Correct offset used to restore PIC register.
26031
26032 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26033
26034 [BZ libc/22165]
26035 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26036 code to load address of __getcontext_ret when generating PIC code.
26037
26038 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26039
26040 * elf/Makefile (tests-static-internal): Add
26041 tst-tls1-static-non-pie.
26042 (LDFLAGS-tst-tls1-static-non-pie): New.
26043 * elf/tst-tls1-static-non-pie.c: New file.
26044
26045 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26046
26047 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26048 (asinh): Define using libm_alias_double.
26049 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26050 (cbrt): Define using libm_alias_double.
26051 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26052 <libm-alias-double.h>.
26053 (copysign): Define using libm_alias_double.
26054 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26055 (erf): Define using libm_alias_double.
26056 (erfc): Likewise.
26057 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26058 (expm1): Define using libm_alias_double.
26059 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26060 (fabs): Define using libm_alias_double.
26061 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26062 libm_alias_double.
26063 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26064 <libm-alias-double.h>.
26065 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26066 libm_alias_double.
26067 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26068 <libm-alias-double.h>.
26069 (getpayload): Define using libm_alias_double.
26070 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26071 <libm-alias-double.h>.
26072 (llrint): Define using libm_alias_double.
26073 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26074 (lrint): Define using libm_alias_double.
26075 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26076 <libm-alias-double.h>.
26077 (nextup): Define using libm_alias_double.
26078 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26079 <libm-alias-double.h>.
26080 (roundeven): Define using libm_alias_double.
26081 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26082 libm_alias_double.
26083 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26084 <libm-alias-double.h>.
26085 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26086 using libm_alias_double.
26087 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26088 (cos): Define using libm_alias_double.
26089 (sin): Likewise.
26090 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26091 <libm-alias-double.h>.
26092 (sincos): Define using libm_alias_double.
26093 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26094 (tanh): Define using libm_alias_double.
26095 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26096 <libm-alias-double.h>.
26097 (totalorder): Define using libm_alias_double.
26098 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26099 <libm-alias-double.h>.
26100 (totalordermag): Define using libm_alias_double.
26101 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26102 libm_alias_double.
26103 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26104 libm_alias_double.
26105 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26106 <libm-alias-double.h>.
26107 (getpayload): Define using libm_alias_double.
26108 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26109 <libm-alias-double.h>.
26110 (roundeven): Define using libm_alias_double.
26111 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26112 <libm-alias-double.h>.
26113 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26114 <libm-alias-double.h>.
26115 (totalorder): Define using libm_alias_double.
26116 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26117 <libm-alias-double.h>.
26118 (totalordermag): Define using libm_alias_double.
26119 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26120 libc compat symbol here.
26121 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26122 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26123 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26124 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26125 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26126 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26127 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26128 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26129 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26130 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26131
26132 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26133
26134 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26135 _dl_relocate_static_pie instead of _dl_start to compute load
26136 address in static PIE. Return 0 if _DYNAMIC is undefined for
26137 static executable.
26138
26139 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26140
26141 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26142 _DYNAMIC is undefined for static executable.
26143
26144 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26145
26146 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26147
26148 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26149
26150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26151
26152 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26153
26154 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26155 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26156 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26157 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26158 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26159 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26160 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26161 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26162 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26163 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26164 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26165 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26166 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26167 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26168 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26169 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26170 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26171
26172 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26173
26174 * math/bits/cmathcalls.h (cimag): Remove inline.
26175 (creal): Remove inline.
26176 (conj): Remove inline.
26177
26178 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26179
26180 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26181 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26182 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26183 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26184 (issignalingf_inline): Likewise.
26185 (POWF_LOG2_TABLE_BITS): Likewise.
26186 (POWF_LOG2_POLY_ORDER): Likewise.
26187 (POWF_SCALE_BITS): Likewise.
26188 (POWF_SCALE): Likewise.
26189 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26190 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26191 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26192
26193 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26194
26195 * math/Makefile (type-float-routines): Add e_log2f_data.
26196 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26197 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26198 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26199 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26200 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26201 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26202 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26203
26204 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26205
26206 * math/Makefile (type-float-routines): Add e_logf_data.
26207 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26208 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26209 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26210 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26211 * sysdeps/i386/fpu/e_logf_data.c: New file.
26212 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26213 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26214
26215 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26216
26217 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26218 undefined _DYNAMIC in PIE libc.a.
26219 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26220 Likewse.
26221
26222 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26223
26224 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26225 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26226 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26227 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26228 (__signbit): Remove.
26229 (__signbitl): Remove.
26230 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26231 (__signbit): Remove.
26232 (__signbitl): Remove.
26233 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26234 (__signbit): Remove.
26235 (__signbitl): Remove.
26236 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26237 (__signbit): Remove.
26238 (__signbitl): Remove.
26239 * sysdeps/tile/bits/mathinline.h: Delete file.
26240 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26241 (__signbit): Remove.
26242 (__signbitl): Remove.
26243
26244 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26245
26246 * math/math.h: Improve handling of C99 isgreater macros.
26247 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26248 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26249 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26250 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26251 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26252
26253 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26254
26255 * sysdeps/aarch64/libm-test-ulps: Update.
26256
26257 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26258
26259 [BZ #22225]
26260 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26261 math_opt_barrier on argument when doing arithmetic on it.
26262 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26263 Likewise. Use math_force_eval not math_opt_barrier after
26264 arithmetic.
26265 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26266 math_opt_barrier on argument when doing arithmetic on it.
26267 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26268 Likewise.
26269
26270 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26271
26272 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26273 libc_hidden_def.
26274 (__freeifaddrs): Likewise.
26275
26276 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26277
26278 * include/dirent.h (__dirfd): New declaration.
26279 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26280 alias.
26281 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26282 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26283 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
26284 * include/unistd.h (__revoke): New declaration.
26285 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26286 alias.
26287 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26288 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26289 revoke.
26290 * include/dirent.h (__seekdir): New declaration.
26291 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26292 redefine as weak alias.
26293 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26294 of seekdir.
26295 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26296 and use libc_hidden_def on them.
26297 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26298 them.
26299 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26300 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26301 instead of getifaddrs and freeifaddrs.
26302
26303 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26304
26305 [BZ #18822]
26306 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26307 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26308 (__dso_handle): Remove declaration.
26309 * dlfcn/tstatexit.c (__dso_handle): Removed.
26310 (main): Don't check __dso_handle.
26311 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26312 (main): Don't check __dso_handle.
26313 * include/dso_handle.h: New file.
26314 * malloc/mtrace.c: Include <dso_handle.h>.
26315 (mtrace): Pass __dso_handle directly.
26316 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26317 (__dso_handle): Remove declaration.
26318 (__pthread_atfork): Pass __dso_handle directly.
26319 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26320 (__dso_handle): Removed.
26321 * posix/wordexp-test.c: Include <dso_handle.h>.
26322 (__dso_handle): Remove declaration.
26323 (__app_register_atfork): Pass __dso_handle directly.
26324 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26325 (__dso_handle): Remove declaration.
26326 (at_quick_exit): Pass __dso_handle directly.
26327 * stdlib/atexit.c: Include <dso_handle.h>.
26328 (__dso_handle): Remove declaration.
26329 (atexit): Pass __dso_handle directly.
26330 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26331 (__dso_handle): Removed.
26332
26333 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26334
26335 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26336 using VDSO.
26337
26338 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26339
26340 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26341 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26342 values to correct default value for given type.
26343
26344 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26345
26346 [BZ #22101]
26347 * elf/Makefile (tests): Add tst-debug1.
26348 ($(objpfx)tst-debug1): New.
26349 ($(objpfx)tst-debug1.out): Likewise.
26350 ($(objpfx)tst-debug1mod1.so): Likewise.
26351 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26352 with p_filesz == 0.
26353 * elf/tst-debug1.c: New file.
26354
26355 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26356
26357 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26358 Define using __ifunc.
26359
26360 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26361
26362 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26363 exp2f() values.
26364
26365 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26366
26367 [BZ #22156]
26368 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26369
26370 2017-09-26 Florian Weimer <fweimer@redhat.com>
26371
26372 * resolv/Makefile (tests-internal): Fix typo in comment.
26373
26374 2017-09-26 Florian Weimer <fweimer@redhat.com>
26375
26376 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26377
26378 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26379
26380 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26381 Use an union instead of a max_align_t array for __space,
26382 so that __space is the same size on all platforms.
26383 * malloc/scratch_buffer_grow_preserve.c
26384 (__libc_scratch_buffer_grow_preserve): Likewise.
26385
26386 [BZ #22183]
26387 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26388 version to 2.
26389 * posix/Makefile (routines): Add glob-lstat-compat and
26390 glob64-lstat-compat.
26391 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26392 * posix/glob-lstat-compat.c: New file.
26393 * posix/glob64-lstat-compat.c: Likewise.
26394 * posix/tst-glob_lstat_compat.c: Likewise.
26395 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26396 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26397 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26398 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26399 Likewise.
26400 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26401 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26402 * posix/glob.c (glob_lstat): New function.
26403 (glob): Rename to __glob and add versioned symbol to 2.27.
26404 (glob_in_dir): Use glob_lstat.
26405 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26406 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26407 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26408 2.27.
26409 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26410 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26411 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26412 gl_lstat on glob call.
26413 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26414 and glob64 symbols.
26415 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26416 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26417 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26418 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26419 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26420 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26421 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26422 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26423 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26424 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26425 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26426 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26428 Likewise.
26429 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26431 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26432 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26433 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26434 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26435 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26438 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26439 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26440 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26441
26442 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26443
26444 * configure.ac (AS): Require binutils 2.25 or later.
26445 * configure: Regenerated.
26446
26447 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26448
26449 [BZ #22207]
26450 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26451 VM size.
26452
26453 2017-09-25 DJ Delorie <dj@redhat.com>
26454
26455 [BZ #22161]
26456 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26457 resetting timeout.
26458
26459 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26460
26461 * sysdeps/ieee754/dbl-64/sincos32.h
26462 [SINCCOS32_H]: Remove define.
26463 [SINCOS32_H]: Define.
26464
26465 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26466
26467 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26468 (exp2f): Likewise.
26469 * math/w_exp2f.c: New file.
26470 * math/w_expf.c: New file.
26471 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26472 * math/w_expf_compat.c (__expf_compat): Likewise.
26473 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26474 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26475 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26476 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26477 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26478 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26479 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26480 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26481 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26482 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26483 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26484 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26485 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26486 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26488 Likewise.
26489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26490 Likewise.
26491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26492 Likewise.
26493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26494 Likewise.
26495 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26496 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26497 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26498 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26499 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26501 Likewise.
26502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26503 Likewise.
26504 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26505 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26506 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26507
26508 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26509
26510 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26511 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26512 (roundtoint, converttoint): Likewise.
26513 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26514 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26515 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26516 * sysdeps/ieee754/flt-32/math_config.h: New file.
26517 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26518 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26519 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26520 * sysdeps/i386/fpu/math_errf.c: New file.
26521 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26522 * sysdeps/ia64/fpu/math_errf.c: New file.
26523 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26524 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26525
26526 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26527
26528 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26529 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26530 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26531 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26532 to make sure that these symbols are defined.
26533 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26534 of <limits.h>
26535 (__need_NULL): Do not define.
26536 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26537 alignment.
26538 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26539 CMGROUP_MAX, cmsgcred): Do not define.
26540 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26541 NULL.
26542 * bits/socket.h: Likewise.
26543 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26544 __gettimeofday instead of gettimeofday.
26545 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26546 instead of settimeofday.
26547
26548 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26549
26550 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26551 (asinhf): Define using libm_alias_float.
26552 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26553 (atanf): Define using libm_alias_float.
26554 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26555 (cbrtf): Define using libm_alias_float.
26556 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26557 (ceilf): Define using libm_alias_float.
26558 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26559 <libm-alias-float.h>.
26560 (copysignf): Define using libm_alias_float.
26561 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26562 (cosf): Define using libm_alias_float.
26563 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26564 (erff): Define using libm_alias_float.
26565 (erfcf): Likewise.
26566 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26567 (expm1f): Define using libm_alias_float.
26568 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26569 (fabsf): Define using libm_alias_float.
26570 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26571 (floorf): Define using libm_alias_float.
26572 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26573 (frexpf): Define using libm_alias_float.
26574 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26575 libm_alias_float.
26576 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26577 <libm-alias-float.h>.
26578 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26579 libm_alias_float.
26580 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26581 <libm-alias-float.h>.
26582 (getpayloadf): Define using libm_alias_float.
26583 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26584 <libm-alias-float.h>.
26585 (llrintf): Define using libm_alias_float.
26586 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26587 <libm-alias-float.h>.
26588 (llroundf): Define using libm_alias_float.
26589 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26590 (logbf): Define using libm_alias_float.
26591 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26592 (lrintf): Define using libm_alias_float.
26593 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26594 (lroundf): Define using libm_alias_float.
26595 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26596 (modff): Define using libm_alias_float.
26597 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26598 <libm-alias-float.h>.
26599 (nearbyintf): Define using libm_alias_float.
26600 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26601 <libm-alias-float.h>.
26602 (nextafterf): Define using libm_alias_float.
26603 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26604 <libm-alias-float.h>.
26605 (nextupf): Define using libm_alias_float.
26606 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26607 <libm-alias-float.h>.
26608 (remquof): Define using libm_alias_float.
26609 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26610 (rintf): Define using libm_alias_float.
26611 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26612 <libm-alias-float.h>.
26613 (roundevenf): Define using libm_alias_float.
26614 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26615 (roundf): Define using libm_alias_float.
26616 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26617 using libm_alias_float.
26618 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26619 <libm-alias-float.h>.
26620 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26621 Define using libm_alias_float.
26622 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26623 <libm-alias-float.h>.
26624 (sincosf): Define using libm_alias_float.
26625 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26626 (sinf): Define using libm_alias_float.
26627 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26628 (tanf): Define using libm_alias_float.
26629 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26630 (tanhf): Define using libm_alias_float.
26631 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26632 <libm-alias-float.h>.
26633 (totalorderf): Define using libm_alias_float.
26634 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26635 <libm-alias-float.h>.
26636 (totalordermagf): Define using libm_alias_float.
26637 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26638 (truncf): Define using libm_alias_float.
26639 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26640 libm_alias_float.
26641 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26642 libm_alias_float.
26643
26644 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26645
26646 [BZ #22146]
26647 math/math.h: Let fpclassify use the builtin in C++ mode, even
26648 when optimazing for size.
26649
26650 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26651
26652 * csu/Makefile (generated): Do not add version-info.h.
26653 (before-compile): Likewise.
26654 (all-Banner-files): Remove variable.
26655 ($(objpfx)version-info.h): Remove rule.
26656 * csu/version.c (banner): Do not include "version-info.h".
26657 * libidn/Banner: Remove.
26658 * manual/contrib.texi (Simon Josefsson): New entry.
26659
26660 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26661
26662 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26663 Remove conditionals on LDBL_MANT_DIG.
26664 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26665 (__ieee754_lgammal_r): Likewise.
26666
26667 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26668
26669 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26670 _Float128 and L().
26671 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26672 _Float128 and L(). Replace _Float128 with long double and L(x)
26673 with xL, throughout the file.
26674 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26675 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26676 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26677 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26678
26679 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26680
26681 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26682 sysdeps/ieee754/ldbl-128ibm.
26683 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26684 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26685 of including it. Keep _Float128 and L() intact. These will be
26686 reviewed by a separate patch.
26687 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26688 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26689 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26690 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26691
26692 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26693
26694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26695 (__finitef128): Define to __redirect___finitef128.
26696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26697 (__isinff128): Define to __redirect___isinff128.
26698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26699 (__isnanf128): Define to __redirect___isnanf128.
26700
26701 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26702
26703 * sysdeps/powerpc/powerpc64le/Makefile
26704 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26705 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26706
26707 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26708 Carlos O'Donell <carlos@redhat.com>
26709
26710 [BZ #22180]
26711 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26712 * stdlib/test-dlclose-exit-race.c: New file.
26713 * stdlib/test-dlclose-exit-race-helper.c: New file.
26714 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26715
26716 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26717
26718 * crypt/Banner: Remove file.
26719 * nptl/Banner: Likewise.
26720 * resolv/Banner: Likewise.
26721 * soft-fp/Banner: Likewise.
26722 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26723 ($(objpfx)version.d): Remove dependency on banner.h.
26724 ($(objpfx)version.os): Likewise.
26725 * nptl/version.c (banner): Do not include banner.h.
26726 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26727 Jelinek and BIND code.
26728
26729 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26730 Carlos O'Donell <carlos@redhat.com>
26731
26732 * support/xdlfcn.h: New file.
26733 * support/xdlfcn.c: New file.
26734 * support/Makefile (libsupport-routines): Add xdlfcn.
26735 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26736
26737 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26738
26739 [BZ #20142]
26740 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26741 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26742 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26743 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26744 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26745 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26746 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26747 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26748
26749 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26750 Ricky Zhou <rickyz@google.com>
26751 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26752
26753 [BZ #14333]
26754 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26755 Remove atomics.
26756 (__new_exitfn): Fail registration when we finished at_exit processing.
26757 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26758 * stdlib/on_exit.c (__on_exit): Likewise.
26759 * stdlib/exit.c (__exit_funcs_done): New variable.
26760 (__run_exit_handlers): Use __exit_funcs_lock.
26761 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26762 declarations.
26763 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26764 (test-cxa_atexit-race, test-on_exit-race): New tests.
26765 * stdlib/test-atexit-race-common.c: New file.
26766 * stdlib/test-atexit-race.c: New file.
26767 * stdlib/test-at_quick_exit-race.c: New file.
26768 * stdlib/test-cxa_atexit-race.c: New file.
26769 * stdlib/test-on_exit-race.c: New file.
26770
26771 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26772
26773 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26774 * benchtests/exp2f-inputs: Copy of expf-inputs.
26775 * benchtests/log2f-inputs: Copy of logf-inputs.
26776
26777 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26778
26779 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26780 Explicitly take address of first element of array arguments in
26781 call to INLINE_SYSCALL.
26782
26783 2017-09-19 Andreas Schwab <schwab@suse.de>
26784
26785 [BZ #22134]
26786 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26787 execveat first.
26788 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26789 unimplemented.
26790 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26791 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26792 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26793 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26794 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26795 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26796 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26797 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26798 * posix/Makefile (tests): Add tst-fexecve.
26799 * posix/tst-fexecve.c: New file.
26800
26801 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26802
26803 * benchtests/Makefile: Add logf benchmark.
26804 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26805
26806 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26807
26808 * benchtests/Makefile: Add expf benchmark.
26809 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26810
26811 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26812
26813 * csu/Makefile: Add -funwind-tables to libc-start.c.
26814 * debug/Makefile: Add -funwind-tables to backtrace.c.
26815 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26816 * sysdeps/arm/Makefile: Likewise.
26817 * sysdeps/i386/Makefile: Likewise.
26818 * sysdeps/m68k/Makefile: Likewise.
26819 * sysdeps/mips/Makefile: Likewise.
26820 * sysdeps/nios2/Makefile: Likewise.
26821 * sysdeps/sh/Makefile: Likewise.
26822 * sysdeps/sparc/Makefile: Likewise.
26823
26824 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26825
26826 * benchtests/Makefile (bench-math): Add trunc and truncf.
26827 (CFLAGS-bench-trunc.c): New variable.
26828 (CFLAGS-bench-truncf.c): Likewise.
26829 * benchtests/trunc-inputs: New file.
26830 * benchtests/truncf-inputs: Likewise.
26831
26832 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26833
26834 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26835
26836 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26837
26838 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26839 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26840 redefine.
26841 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26842 (exp10l): Define as weak alias.
26843 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26844 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26845 and redefine.
26846 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26847 (remainderl): Define as weak alias.
26848
26849 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26850 (fmal): Define using libm_alias_ldouble.
26851 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26852 (acoshl): Define using libm_alias_ldouble.
26853 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26854 (acosl): Define using libm_alias_ldouble.
26855 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26856 (asinl): Define using libm_alias_ldouble.
26857 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26858 (atan2l): Define using libm_alias_ldouble.
26859 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26860 (atanhl): Define using libm_alias_ldouble.
26861 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26862 (coshl): Define using libm_alias_ldouble.
26863 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26864 (exp10l): Define using libm_alias_ldouble.
26865 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26866 (exp2l): Define using libm_alias_ldouble.
26867 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26868 (expl): Define using libm_alias_ldouble.
26869 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26870 (fmodl): Define using libm_alias_ldouble.
26871 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26872 (hypotl): Define using libm_alias_ldouble.
26873 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26874 (j0l): Define using libm_alias_ldouble.
26875 (y0l): Likewise.
26876 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26877 (j1l): Define using libm_alias_ldouble.
26878 (y1l): Likewise.
26879 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26880 (jnl): Define using libm_alias_ldouble.
26881 (ynl): Likewise.
26882 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26883 (log10l): Define using libm_alias_ldouble.
26884 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26885 (log2l): Define using libm_alias_ldouble.
26886 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26887 (logl): Define using libm_alias_ldouble.
26888 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26889 (powl): Define using libm_alias_ldouble.
26890 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26891 (remainderl): Define using libm_alias_ldouble.
26892 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26893 (sinhl): Define using libm_alias_ldouble.
26894 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26895 (sqrtl): Define using libm_alias_ldouble.
26896 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26897 (tgammal): Define using libm_alias_ldouble.
26898 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26899 (exp10l): Do not use long_double_symbol here.
26900 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26901 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26902 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26903 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26904 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26905 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26906 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26907 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26908 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26909 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26910 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26911 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26912 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26913 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26914 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26915 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26916 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26917 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26918 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26919 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26920 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26921 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26922
26923 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26924
26925 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26926 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26927
26928 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26929
26930 * io/read.c (read): Add libc_hidden_weak.
26931 * sysdeps/mach/hurd/read.c (read): Likewise.
26932 * io/write.c (write): Likewise.
26933 * sysdeps/mach/hurd/write.c (write): Likewise.
26934 * io/pread64.c (__pread64): Likewise.
26935 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26936 * posix/pread64.c (__pread64): Add libc_hidden_def.
26937
26938 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26939
26940 * benchtests/scripts/compare_strings.py: New option -g.
26941 (draw_graph): Print a message that a graph is being generated.
26942 (process_results): Generate graph only if -g is passed.
26943 (main): Process option -g.
26944
26945 * benchtests/scripts/compare_strings.py (process_results):
26946 Better spacing for output.
26947
26948 * benchtests/scripts/compare_strings.py: Use argparse.
26949 * benchtests/README: Document existence of compare_strings.py.
26950
26951 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26952
26953 * math/s_fma.c: Include <libm-alias-double.h>.
26954 (fma): Define using libm_alias_double.
26955 * math/s_nextafter.c: Include <libm-alias-double.h>.
26956 (nextafter): Define using libm_alias_double.
26957 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26958 (acos): Define using libm_alias_double.
26959 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26960 (aocsh): Define using libm_alias_double.
26961 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26962 (asin): Define using libm_alias_double.
26963 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26964 (atan2): Define using libm_alias_double.
26965 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26966 (atanh): Define using libm_alias_double.
26967 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26968 (cosh): Define using libm_alias_double.
26969 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26970 (exp10): Define using libm_alias_double.
26971 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26972 (exp2): Define using libm_alias_double.
26973 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26974 (exp): Define using libm_alias_double.
26975 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26976 (fmod): Define using libm_alias_double.
26977 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26978 (hypot): Define using libm_alias_double.
26979 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26980 (j0): Define using libm_alias_double.
26981 (y0): Likewise.
26982 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26983 (j1): Define using libm_alias_double.
26984 (y1): Likewise.
26985 * math/w_jn_compat.c: Include <libm-alias-double.h>.
26986 (jn): Define using libm_alias_double.
26987 (yn): Likewise.
26988 * math/w_log10_compat.c: Include <libm-alias-double.h>.
26989 (log10): Define using libm_alias_double.
26990 * math/w_log2_compat.c: Include <libm-alias-double.h>.
26991 (log2): Define using libm_alias_double.
26992 * math/w_log_compat.c: Include <libm-alias-double.h>.
26993 (log): Define using libm_alias_double.
26994 * math/w_pow_compat.c: Include <libm-alias-double.h>.
26995 (pow): Define using libm_alias_double.
26996 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
26997 (remainder): Define using libm_alias_double.
26998 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
26999 (sinh): Define using libm_alias_double.
27000 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27001 (sqrt): Define using libm_alias_double.
27002 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27003 (tgamma): Define using libm_alias_double.
27004 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27005 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27006 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27007 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27008 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27009 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27010 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27011 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27012 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27013 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27014 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27015 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27016 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27017 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27018 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27019 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27020 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27021 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27022 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27023 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27024 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27025 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27026 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27027 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27028 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27029
27030 * math/e_acoshl.c: Remove.
27031 * math/e_acosl.c: Likewise.
27032 * math/e_asinl.c: Likewise.
27033 * math/e_atan2l.c: Likewise.
27034 * math/e_atanhl.c: Likewise.
27035 * math/e_coshl.c: Likewise.
27036 * math/e_expl.c: Likewise.
27037 * math/e_fmodl.c: Likewise.
27038 * math/e_gammal_r.c: Likewise.
27039 * math/e_hypotl.c: Likewise.
27040 * math/e_j0l.c: Likewise.
27041 * math/e_j1l.c: Likewise.
27042 * math/e_jnl.c: Likewise.
27043 * math/e_lgammal_r.c: Likewise.
27044 * math/e_log10l.c: Likewise.
27045 * math/e_log2l.c: Likewise.
27046 * math/e_logl.c: Likewise.
27047 * math/e_powl.c: Likewise.
27048 * math/e_rem_pio2l.c: Likewise.
27049 * math/e_sinhl.c: Likewise.
27050 * math/e_sqrtf128.c: Likewise.
27051 * math/e_sqrtl.c: Likewise.
27052 * math/k_cosl.c: Likewise.
27053 * math/k_sinl.c: Likewise.
27054 * math/k_tanl.c: Likewise.
27055 * math/s_asinhl.c: Likewise.
27056 * math/s_atanl.c: Likewise.
27057 * math/s_cbrtl.c: Likewise.
27058 * math/s_erfl.c: Likewise.
27059 * math/s_expm1l.c: Likewise.
27060 * math/s_log1pl.c: Likewise.
27061 * math/s_tanhl.c: Likewise.
27062
27063 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27064
27065 [BZ #21745]
27066 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27067 [$(subdir) = math] (sysdep_calls): New variable. Has the
27068 previous contents of sysdep_routines, but re-sorted..
27069 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27070 sysdep_calls.
27071 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27072 defined in sysdep_calls and replace by the respective m_* names.
27073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27074 (compat_symbol): Undefine to avoid duplicated compat symbols in
27075 libc.
27076
27077 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27078
27079 * math/s_fmaf.c: Include <libm-alias-float.h>.
27080 (fmaf): Define using libm_alias_float.
27081 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27082 (acosf): Define using libm_alias_float.
27083 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27084 (acoshf): Define using libm_alias_float.
27085 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27086 (asinf): Define using libm_alias_float.
27087 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27088 (atan2f): Define using libm_alias_float.
27089 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27090 (atanhf): Define using libm_alias_float.
27091 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27092 (coshf): Define using libm_alias_float.
27093 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27094 (exp10f): Define using libm_alias_float.
27095 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27096 (fmodf): Define using libm_alias_float.
27097 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27098 (hypotf): Define using libm_alias_float.
27099 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27100 (j0f): Define using libm_alias_float.
27101 (y0f): Likewise.
27102 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27103 (j1f): Define using libm_alias_float.
27104 (y1f): Likewise.
27105 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27106 (jnf): Define using libm_alias_float.
27107 (ynf): Likewise.
27108 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27109 (log10f): Define using libm_alias_float.
27110 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27111 (log2f): Define using libm_alias_float.
27112 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27113 (logf): Define using libm_alias_float.
27114 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27115 (powf): Define using libm_alias_float.
27116 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27117 (remainderf): Define using libm_alias_float.
27118 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27119 (sinhf): Define using libm_alias_float.
27120 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27121 (sqrtf): Define using libm_alias_float.
27122 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27123 (tgammaf): Define using libm_alias_float.
27124
27125 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27126
27127 * include/math.h (roundeven): Change hidden_proto call to
27128 __roundeven.
27129 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27130 alias.
27131 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27132 (y0): Rename to __y0 and define as weak alias.
27133 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27134 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27135 alias.
27136 (y0f): Rename to __y0f and define as weak alias.
27137 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27138 alias.
27139 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27140 (y1): Rename to __y1 and define as weak alias.
27141 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27142 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27143 alias.
27144 (y1f): Rename to __y1f and define as weak alias.
27145 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27146 alias.
27147 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27148 (yn): Rename to __yn and define as weak alias.
27149 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27150 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27151 alias.
27152 (ynf): Rename to __ynf and define as weak alias.
27153 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27154 (fromfp): Define as weak alias.
27155 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27156 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27157 (fromfpx): Define as weak alias.
27158 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27159 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27160 __getpayload and define as weak alias.
27161 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27162 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27163 __roundeven and define as weak alias.
27164 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27165 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27166 __setpayload.
27167 (setpayload): Define as weak alias.
27168 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27169 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27170 __setpayloadsig.
27171 (setpayloadsig): Define as weak alias.
27172 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27173 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27174 __totalorder and define as weak alias.
27175 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27176 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27177 to __totalordermag and define as weak alias.
27178 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27179 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27180 (ufromfp): Define as weak alias.
27181 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27182 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27183 __ufromfpx.
27184 (ufromfpx): Define as weak alias.
27185 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27186 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27187 Rename to __getpayload and define as weak alias.
27188 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27189 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27190 Rename to __roundeven and define as weak alias.
27191 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27192 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27193 Rename to __totalorder and define as weak alias.
27194 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27195 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27196 (totalordermag): Rename to __totalordermag and define as weak
27197 alias.
27198 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27199 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27200 macro.
27201 (__roundevenl): Likewise.
27202 (__totalorderl): Likewise.
27203 (__totalordermagl): Likewise
27204 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27205 __fromfpf128.
27206 (fromfpf128): Define as weak alias.
27207 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27208 __fromfpxf128.
27209 (fromfpxf128): Define as weak alias.
27210 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27211 __setpayloadf128.
27212 (setpayloadf128): Define as weak alias.
27213 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27214 __setpayloadsigf128.
27215 (setpayloadsigf128): Define as weak alias.
27216 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27217 __ufromfpf128.
27218 (ufromfpf128): Define as weak alias.
27219 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27220 __ufromfpxf128.
27221 (ufromfpxf128): Define as weak alias.
27222 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27223 (fromfpf): Define as weak alias.
27224 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27225 __fromfpxf.
27226 (fromfpxf): Define as weak alias.
27227 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27228 __getpayloadf and define as weak alias.
27229 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27230 __roundevenf and define as weak alias.
27231 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27232 __setpayloadf.
27233 (setpayloadf): Define as weak alias.
27234 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27235 __setpayloadsigf.
27236 (setpayloadsigf): Define as weak alias.
27237 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27238 __totalorderf and define as weak alias.
27239 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27240 Rename to __totalordermagf and define as weak alias.
27241 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27242 __ufromfpf.
27243 (ufromfpf): Define as weak alias.
27244 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27245 __ufromfpxf.
27246 (ufromfpxf): Define as weak alias.
27247 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27248 __fromfpl.
27249 (fromfpl): Define as weak alias.
27250 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27251 __fromfpxl.
27252 (fromfpxl): Define as weak alias.
27253 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27254 to __getpayloadl and define as weak alias.
27255 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27256 __roundevenl and define as weak alias.
27257 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27258 __setpayloadl.
27259 (setpayloadl): Define as weak alias.
27260 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27261 __setpayloadsigl.
27262 (setpayloadsigl): Define as weak alias.
27263 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27264 to __totalorderl and define as weak alias.
27265 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27266 Rename to __totalordermagl and define as weak alias.
27267 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27268 __ufromfpl.
27269 (ufromfpl): Define as weak alias.
27270 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27271 __ufromfpxl.
27272 (ufromfpxl): Define as weak alias.
27273 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27274 __fromfpl.
27275 (fromfpl): Define as weak alias.
27276 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27277 __fromfpxl.
27278 (fromfpxl): Define as weak alias.
27279 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27280 Rename to __getpayloadl and define as weak alias.
27281 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27282 to __roundevenl and define as weak alias. Call __roundeven
27283 instead of roundeven.
27284 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27285 __setpayloadl.
27286 (setpayloadl): Define as weak alias.
27287 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27288 __setpayloadsigl.
27289 (setpayloadsigl): Define as weak alias.
27290 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27291 Rename to __totalorderl and define as weak alias.
27292 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27293 Rename to __totalordermagl and define as weak alias.
27294 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27295 __ufromfpl.
27296 (ufromfpl): Define as weak alias.
27297 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27298 __ufromfpxl.
27299 (ufromfpxl): Define as weak alias.
27300 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27301 __fromfpl.
27302 (fromfpl): Define as weak alias.
27303 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27304 __fromfpxl.
27305 (fromfpxl): Define as weak alias.
27306 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27307 __getpayloadl and define as weak alias.
27308 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27309 __roundevenl and define as weak alias.
27310 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27311 __setpayloadl.
27312 (setpayloadl): Define as weak alias.
27313 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27314 __setpayloadsigl.
27315 (setpayloadsigl): Define as weak alias.
27316 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27317 __totalorderl and define as weak alias.
27318 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27319 Rename to __totalordermagl and define as weak alias.
27320 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27321 __ufromfpl.
27322 (ufromfpl): Define as weak alias.
27323 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27324 __ufromfpxl.
27325 (ufromfpxl): Define as weak alias.
27326
27327 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27328
27329 * benchtests/bench-string.h (realloc_bufs): New function.
27330 (test_init): Call it.
27331 * benchtests/bench-memset-large.c (do_test): Likewise.
27332 * benchtests/bench-memset.c (do_test): Likewise.
27333
27334 * benchtests/bench-memset-large.c: Print output in JSON
27335 format.
27336 * benchtests/bench-memset.c: Likewise.
27337
27338 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27339
27340 [BZ #21084]
27341 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27342 * iconvdata/Makefile: Add IBM858.
27343 * iconvdata/gconv-modules: Likewise.
27344 * iconvdata/tst-tables.sh: Likewise.
27345 * iconvdata/ibm858.c: New file.
27346 * localedata/charmaps/IBM858: Likewise.
27347
27348 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27349
27350 [BZ #22023]
27351 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27352 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27353
27354 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27355
27356 [BZ #22112]
27357 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27358 and add tel_int_fmt.
27359
27360 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27361
27362 * sysdeps/generic/libm-alias-float128.h: New file.
27363 * sysdeps/generic/math-type-macros-float128.h: Include
27364 <libm-alias-float128.h>.
27365 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27366
27367 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27368
27369 * sysdeps/generic/libm-alias-ldouble.h: New file.
27370 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27371 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27372 * sysdeps/generic/math-type-macros-ldouble.h: Include
27373 <libm-alias-ldouble.h>.
27374 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27375 libm_alias_ldouble.
27376
27377 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27378
27379 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27380 * math/w_exp_compat.c: ... here.
27381 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27382 * math/w_expf_compat.c: ... here.
27383 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27384 * math/w_expl_compat.c: ... here.
27385 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27386 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27387 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27388 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27389
27390 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27391
27392 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27393 redefine.
27394 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27395 macro.
27396 (ldexpl): Only define as compat symbol for libc, not libm.
27397 (scalbnl): Define as compat symbol for libc here.
27398 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27399 define for [IS_IN (libc)].
27400 (__ldexpl_2): Remove alias.
27401 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27402 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27403 name in long_double_symbol call.
27404 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27405 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27406 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27407 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27408 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27409 Remove macro.
27410 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27411 Define as compat symbol.
27412
27413 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27414
27415 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27416 * sysdeps/unix/sysv/linux/alpha/Makefile
27417 [$(subdir) = csu] (sysdep_routines): Remove rule.
27418
27419 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27420
27421 * sysdeps/generic/libm-alias-double.h: New file.
27422 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27423 * sysdeps/generic/math-type-macros-double.h: Include
27424 <libm-alias-double.h>.
27425 [declare_mgen_alias] (declare_mgen_alias): Define to use
27426 libm_alias_double.
27427 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27428 (M_LIBM_NEED_COMPAT): Remove macro.
27429 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27430 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27431 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27432 code.
27433 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27434 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27435 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27436 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27437 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27438 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27439 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27440 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27441 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27442 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27443 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27444 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27445 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27446 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27447 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27448 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27449 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27450 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27451 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27452 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27453 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27454 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27455 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27456 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27457 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27458 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27459 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27460 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27461 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27462 macro.
27463 (declare_mgen_alias): New macro.
27464 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27465 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27467 (M_LIBM_NEED_COMPAT): Remove macro.
27468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27469 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27470 <first-versions.h>.
27471 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27472 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27473
27474 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27475
27476 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27477 (declare_mgen_alias_2): Remove.
27478 * sysdeps/generic/math-type-macros-double.h
27479 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27480 Likewise.
27481 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27482 alias.
27483 (ldexp): Define with declare_mgen_alias.
27484 (scalbn): Likewise.
27485
27486 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27487
27488 * grp/initgroups.c: Include config.h.
27489 (DEFAULT_CONFIG): New macro.
27490 (internal_getgrouplist): Use DEFAULT_CONFIG.
27491 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27492 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27493 (DEFAULT_DEFCONFIG): New macro.
27494 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27495 * nss/grp-lookup.c: Include config.h
27496 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27497 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27498 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27499 * manual/nss.texi: Update default values section.
27500
27501 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27502
27503 [BZ #21967]
27504 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27505 New.
27506 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27507 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27508 Handle MathVec_Prefer_No_AVX512.
27509 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27510 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27511 is set.
27512
27513 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27514
27515 * posix/sched_primax.c (__sched_get_priority_max): Add
27516 libc_hidden_def.
27517 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27518 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27519 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27520 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27521 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27522 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27523 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27524 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27525 Add aliases.
27526
27527 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27528
27529 * sysdeps/generic/libm-alias-float.h: New file.
27530 * sysdeps/generic/math-type-macros-float.h: Include
27531 <libm-alias-float.h>.
27532 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27533
27534 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27535
27536 [BZ #22093]
27537 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27538 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27539 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27540 (HWCAP_IMPORTANT): Likewise.
27541 (HWCAP_X86_64): New enum.
27542 (HWCAP_X86_AVX512_1): Updated.
27543 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27544 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27545 (modules-names): Add x86_64/tst-x86_64mod-1.
27546 (LDFLAGS-tst-x86_64mod-1.so): New.
27547 ($(objpfx)tst-x86_64-1): Likewise.
27548 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27549 (tst-x86_64-1-clean): Likewise.
27550 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27551 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27552
27553 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27554
27555 * po/sv.po: Update translations.
27556 * po/fr.po: Likewise.
27557
27558 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27559
27560 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27561 seconds.
27562 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27563 seconds.
27564 * elf/rtld-Rules: Fix $(error) use.
27565
27566 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27567
27568 [BZ #14925]
27569 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27570 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27571 * localedata/locales/bn_BD: “Bengali” was still used in some
27572 comments. Change it to “Bangla”.
27573
27574 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27575
27576 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27577
27578 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27579
27580 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27581 thunderx2t99p1 to list of cpu names.
27582 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27583 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27584
27585 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27586
27587 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27588 Use strcmp instead of tunable_is_name.
27589
27590 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27591
27592 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27593 (F_GET_RW_HINT): New macro.
27594 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27595 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27596 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27597 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27598 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27599 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27600 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27601 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27602 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27603
27604 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27605 (F_ADD_SEALS): New macro.
27606 [__USE_GNU] (F_GET_SEALS): Likewise.
27607 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27608 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27609 [__USE_GNU] (F_SEAL_GROW): Likewise.
27610 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27611
27612 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27613
27614 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27615 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27616 * posix/glob_internal.h (__glob_pattern_type):
27617 * posix/glob.c (glob):
27618 * posix/glob_pattern_p.c (__glob_pattern_p):
27619 Use them.
27620
27621 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27622 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27623 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27624 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27625 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27627 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27628 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27629 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27630 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27631 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27632 * sysdeps/wordsize-64/glob.c: Likewise.
27633 * sysdeps/wordsize-64/glob64.c: Likewise.
27634 * sysdeps/wordsize-64/globfree.c: Likewise.
27635 * sysdeps/wordsize-64/globfree64.c: Likewise.
27636 * sysdeps/unix/sysv/linux/glob.c: New file.
27637 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27638 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27639 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27640 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27641 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27642 adds !GLOB_NO_OLD_VERSION as an extra condition.
27643 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27644 using relative path instead of absolute one.
27645 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27646 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27647 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27648 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27649 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27650 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27651
27652 [BZ #1062]
27653 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27654 (glob): Use the same scratch buffer for both getlogin_r and
27655 getpwnam_r. Don’t require preallocation of the login name. This
27656 simplifies storage allocation, and corrects the handling of
27657 long login names.
27658
27659 [BZ #1062]
27660 * posix/glob.c (glob): Port recent patches to platforms
27661 lacking getpwnam_r.
27662 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27663 returns an error number rather than setting errno.
27664
27665 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27666 instead of GCC extension.
27667 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27668 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27669 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27670
27671 [BZ #866]
27672 [BZ #1062]
27673 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27674 * posix/bug-glob1.c: Remove file.
27675 * posix/tst-glob_symlinks.c: New file.
27676 * posix/glob.c (__lstat64): New macro.
27677 (is_dir): New function.
27678 (glob, glob_in_dir): Match symlinks even if they are dangling.
27679 (link_stat, link_exists_p): Remove. All uses removed.
27680
27681 [BZ #1062]
27682 [BZ #19971]
27683 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27684 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27685 All uses removed.
27686
27687 [BZ #1062]
27688 CVE-2017-15671
27689 * posix/Makefile (routines): Add globfree, globfree64, and
27690 glob_pattern_p.
27691 * posix/flexmember.h: New file.
27692 * posix/glob_internal.h: Likewise.
27693 * posix/glob_pattern_p.c: Likewise.
27694 * posix/globfree.c: Likewise.
27695 * posix/globfree64.c: Likewise.
27696 * sysdeps/gnu/globfree64.c: Likewise.
27697 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27698 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27699 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27700 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27701 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27702 * sysdeps/wordsize-64/globfree.c: Likewise.
27703 * sysdeps/wordsize-64/globfree64.c: Likewise.
27704 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27705 [NDEBUG): Remove comments.
27706 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27707 (dirent_type): New type. Use uint_fast8_t not
27708 uint8_t, as C99 does not require uint8_t.
27709 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27710 (struct readdir_result): Use dirent_type. Do not define skip_entry
27711 unless it is needed; this saves a byte on platforms lacking d_ino.
27712 (readdir_result_type, readdir_result_skip_entry):
27713 New functions, replacing ...
27714 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27715 these functions, which were removed. This makes the callers
27716 easier to read. All callers changed.
27717 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27718 (size_add_wrapv, glob_use_alloca): New static functions.
27719 (glob, glob_in_dir): Check for size_t overflow in several places,
27720 and fix some size_t checks that were not quite right.
27721 Remove old code using SHELL since Bash no longer
27722 uses this.
27723 (glob, prefix_array): Separate MS code better.
27724 (glob_in_dir): Remove old Amiga and VMS code.
27725 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27726 separate files.
27727 (glob_in_dir): Do not rely on undefined behavior in accessing
27728 struct members beyond their bounds. Use a flexible array member
27729 instead
27730 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27731 0/1. Caller changed.
27732 (glob): Fix memory leaks.
27733 * posix/glob64 (globfree64): Move to separate file.
27734 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27735 (globfree64): Remove hidden alias.
27736 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27737 oldglob.
27738 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27739 separate file.
27740 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27741 define.
27742 Move compat code to separate file.
27743 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27744 separate file.
27745
27746 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27747
27748 * resolv/tst-resolv-qtypes.c (domain): Changed to
27749 "const char domain[] =".
27750
27751 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27752
27753 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27754 version to 3.1.6.
27755
27756 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27757 (TCP_MD5SIG_EXT): Likewise.
27758 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27759 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27760 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27761
27762 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27763
27764 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27765
27766 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27767
27768 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27769
27770 [BZ #22100]
27771 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27772
27773 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27774
27775 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27776 before assuming that the file is empty. Avoid testing buffer content
27777 when nread == 0.
27778
27779 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27780
27781 [BZ #18858]
27782 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27783 Remove define.
27784 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27785 Likewise.
27786 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27787 Likewise.
27788 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27789 Likewise.
27790 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27791 Likewise.
27792 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27793 Likewise.
27794 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27795 Likewise.
27796
27797 2017-09-06 Florian Weimer <fweimer@redhat.com>
27798
27799 * malloc/dynarray_emplace_enlarge.c
27800 (__libc_dynarray_emplace_enlarge): Add missing else.
27801
27802 2017-09-06 Florian Weimer <fweimer@redhat.com>
27803
27804 [BZ #22096]
27805 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27806 case of failure to obtain the global conf object.
27807
27808 2017-09-06 Florian Weimer <fweimer@redhat.com>
27809
27810 [BZ #22095]
27811 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27812 dynarray allocation failure.
27813
27814 2017-09-06 Florian Weimer <fweimer@redhat.com>
27815
27816 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27817 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27818 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27819 New functions.
27820 (response): Call them. Add 'p', '6' flag processing.
27821 (test_reverse): New function.
27822 (test_get2_any): Call it.
27823 (test_no_inet6): Add 'p' test.
27824 (test_inet6): Likewise.
27825
27826 2017-09-06 Florian Weimer <fweimer@redhat.com>
27827
27828 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27829 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27830 the QNAME.
27831 (test_gai): Adjust query names. Add additional tests.
27832 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27833 test_get2. Adjust query names. Add additional tests.
27834 (test_no_inet6): New function, extracted from threadfunc.
27835 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27836 Add additional tests.
27837
27838 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27839
27840 [BZ #22070]
27841 * localedata/unicode-gen/utf8_gen.py: Set the width for
27842 characters with Prepended_Concatenation_Mark property to 1
27843 * localedata/charmaps/UTF-8: Updated using the improved script.
27844
27845 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27846
27847 [BZ #21750]
27848 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27849 use the range notation for all ranges of neighbouring characters
27850 with the same width.
27851
27852 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27853
27854 * sysdeps/generic/math-type-macros-double.h: Include
27855 <math-svid-compat.h>.
27856 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27857 * sysdeps/generic/math-type-macros-float.h: Include
27858 <math-svid-compat.h>.
27859 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27860 * sysdeps/generic/math-type-macros-ldouble.h: Include
27861 <math-svid-compat.h>.
27862 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27863 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27864 condition.
27865 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27866 * math/w_acosf_compat.c: Likewise.
27867 * math/w_acosh_compat.c: Likewise.
27868 * math/w_acoshf_compat.c: Likewise.
27869 * math/w_acoshl_compat.c: Likewise.
27870 * math/w_acosl_compat.c: Likewise.
27871 * math/w_asin_compat.c: Likewise.
27872 * math/w_asinf_compat.c: Likewise.
27873 * math/w_asinl_compat.c: Likewise.
27874 * math/w_atan2_compat.c: Likewise.
27875 * math/w_atan2f_compat.c: Likewise.
27876 * math/w_atan2l_compat.c: Likewise.
27877 * math/w_atanh_compat.c: Likewise.
27878 * math/w_atanhf_compat.c: Likewise.
27879 * math/w_atanhl_compat.c: Likewise.
27880 * math/w_cosh_compat.c: Likewise.
27881 * math/w_coshf_compat.c: Likewise.
27882 * math/w_coshl_compat.c: Likewise.
27883 * math/w_exp10_compat.c: Likewise.
27884 * math/w_exp10f_compat.c: Likewise.
27885 * math/w_exp10l_compat.c: Likewise.
27886 * math/w_exp2_compat.c: Likewise.
27887 * math/w_exp2f_compat.c: Likewise.
27888 * math/w_exp2l_compat.c: Likewise.
27889 * math/w_fmod_compat.c: Likewise.
27890 * math/w_fmodf_compat.c: Likewise.
27891 * math/w_fmodl_compat.c: Likewise.
27892 * math/w_hypot_compat.c: Likewise.
27893 * math/w_hypotf_compat.c: Likewise.
27894 * math/w_hypotl_compat.c: Likewise.
27895 * math/w_j0_compat.c: Likewise.
27896 * math/w_j0f_compat.c: Likewise.
27897 * math/w_j0l_compat.c: Likewise.
27898 * math/w_j1_compat.c: Likewise.
27899 * math/w_j1f_compat.c: Likewise.
27900 * math/w_j1l_compat.c: Likewise.
27901 * math/w_jn_compat.c: Likewise.
27902 * math/w_jnf_compat.c: Likewise.
27903 * math/w_jnl_compat.c: Likewise.
27904 * math/w_lgamma_r_compat.c: Likewise.
27905 * math/w_lgammaf_r_compat.c: Likewise.
27906 * math/w_lgammal_r_compat.c: Likewise.
27907 * math/w_log10_compat.c: Likewise.
27908 * math/w_log10f_compat.c: Likewise.
27909 * math/w_log10l_compat.c: Likewise.
27910 * math/w_log2_compat.c: Likewise.
27911 * math/w_log2f_compat.c: Likewise.
27912 * math/w_log2l_compat.c: Likewise.
27913 * math/w_log_compat.c: Likewise.
27914 * math/w_logf_compat.c: Likewise.
27915 * math/w_logl_compat.c: Likewise.
27916 * math/w_pow_compat.c: Likewise.
27917 * math/w_powf_compat.c: Likewise.
27918 * math/w_powl_compat.c: Likewise.
27919 * math/w_remainder_compat.c: Likewise.
27920 * math/w_remainderf_compat.c: Likewise.
27921 * math/w_remainderl_compat.c: Likewise.
27922 * math/w_sinh_compat.c: Likewise.
27923 * math/w_sinhf_compat.c: Likewise.
27924 * math/w_sinhl_compat.c: Likewise.
27925 * math/w_sqrt_compat.c: Likewise.
27926 * math/w_sqrtf_compat.c: Likewise.
27927 * math/w_sqrtl_compat.c: Likewise.
27928 * math/w_tgamma_compat.c: Likewise.
27929 * math/w_tgammaf_compat.c: Likewise.
27930 * math/w_tgammal_compat.c: Likewise.
27931 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27932 [LIBM_SVID_COMPAT].
27933 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27934 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27935 [LIBM_SVID_COMPAT].
27936 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27937 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27938 [LIBM_SVID_COMPAT].
27939 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27940 * sysdeps/i386/fpu/w_sqrt.c: New file.
27941 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27942 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27943 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27944 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27945 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27946 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27947 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27948 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27949 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27950 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27951 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27952 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27953 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27954 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27955 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27956 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27957 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27958 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27959 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27960 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27961 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27962 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27963 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27964 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27965 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27966 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27967 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27968 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27969 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27970 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27971 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27972 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27973 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27974 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27975 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27976 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27977 * sysdeps/ia64/fpu/w_log.c: Likewise.
27978 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27979 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27980 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27981 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27982 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27983 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
27984 * sysdeps/ia64/fpu/w_logf.c: Likewise.
27985 * sysdeps/ia64/fpu/w_logl.c: Likewise.
27986 * sysdeps/ia64/fpu/w_pow.c: Likewise.
27987 * sysdeps/ia64/fpu/w_powf.c: Likewise.
27988 * sysdeps/ia64/fpu/w_powl.c: Likewise.
27989 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
27990 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
27991 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
27992 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
27993 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
27994 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
27995 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
27996 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
27997 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
27998 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
27999 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28000 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28001 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28002 [LIBM_SVID_COMPAT].
28003 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28004 * sysdeps/ieee754/k_standard.c: Likewise.
28005 * sysdeps/ieee754/k_standardf.c: Likewise.
28006 * sysdeps/ieee754/k_standardl.c: Likewise.
28007 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28008 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28009 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28010 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28011 long_double_symbol call on [LIBM_SVID_COMPAT].
28012 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28013 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28014 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28015 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28016 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28017 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28018 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28019 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28020 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28021 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28022 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28023 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28024 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28025 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28026 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28027 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28028 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28029 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28030 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28031 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28032 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28033 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28034
28035 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28036
28037 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28038 * malloc/tst-mallocstate.c: Convert from test-skeleton
28039 to test-driver. Ifdef code using TEST_COMPAT macro.
28040 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28041 * math/test-matherr.c: Likewise.
28042
28043 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28044
28045 [BZ #22086]
28046 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28047 comparing word with byte-swapped constant.
28048
28049 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28050
28051 [BZ #20498]
28052 * locale/iso-639.def: add Miskito.
28053 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28054 * localedata/locales/miq_NI: New file.
28055
28056 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28057
28058 [BZ #18822]
28059 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28060 (__mkdir): Likewise.
28061 * io/chmod.c (__chmod): Add libc_hidden_def.
28062 * io/mkdir.c (__mkdir): Likewise.
28063 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28064 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28065 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28066 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28067
28068 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28069
28070 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28071 version to 4.13.
28072
28073 [BZ #22082]
28074 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28075 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28076
28077 2017-09-04 Florian Weimer <fweimer@redhat.com>
28078
28079 * math/math.h: Issue warning if log is defined.
28080
28081 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28082
28083 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28084 kernel version to 4.13.
28085
28086 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28087
28088 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28089 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28090 parameter.
28091 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28092 just <bits/types.h>.
28093 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
28094 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
28095 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
28096 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
28097 * misc/preadv2.c: Include <errno.h>.
28098 * misc/preadv64v2.c: Include <errno.h>.
28099 * misc/pwritev2.c: Include <errno.h>.
28100 * misc/pwritev64v2.c: Include <errno.h>.
28101 * sysdeps/posix/preadv2.c: Include <errno.h>.
28102 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28103 Fix <unistd.h> inclusion.
28104 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28105 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
28106 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28107 __strtoul_internal): New functions.
28108 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28109 * sysdeps/posix/system.c: Include <sigsetops.h>.
28110 * sysdeps/mach/hurd/i386/Makefile
28111 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28112 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28113 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
28114 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28115 __feraiseexcept_renamed to feraiseexcept instead of
28116 __GI_feraiseexcept.
28117 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
28118 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
28119 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28120 RWF_NOWAIT): Define to 0 if undefined already.
28121 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28122 boils down to 0.
28123 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28124 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
28125
28126 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28127
28128 * manual/math.texi (pow10): Do not document.
28129 (pow10f): Likewise.
28130 (pow10l): Likewise.
28131 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28132 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28133 * math/libm-test-exp10.inc (pow10_test): Remove.
28134 (do_test): Do not call pow10.
28135 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28136 [NO_LONG_DOUBLE] (pow10l): Likewise.
28137 * math/w_exp10f_compat.c (pow10f): Likewise.
28138 * math/w_exp10l_compat.c (pow10l): Likewise.
28139 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28140 (pow10): Make into compat symbol.
28141 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28142 (pow10f): Make into compat symbol.
28143 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28144 (pow10l): Make into compat symbol.
28145 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28146 pow10.
28147 (CFLAGS-nldbl-pow10.c): Remove variable..
28148 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28149 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28150 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28151 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28152 Undefine and redefine.
28153 (pow10l): Make into compat symbol.
28154 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28155 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28156 * sysdeps/arm/libm-test-ulps: Likewise.
28157 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28158 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28159 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28160 * sysdeps/microblaze/libm-test-ulps: Likewise.
28161 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28162 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28163 * sysdeps/nios2/libm-test-ulps: Likewise.
28164 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28165 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28166 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28167 * sysdeps/sh/libm-test-ulps: Likewise.
28168 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28169 * sysdeps/tile/libm-test-ulps: Likewise.
28170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28171
28172 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28173
28174 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28175
28176 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28177
28178 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28179 "../ChangeLog.old/ChangeLog.8".
28180 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28181 "../ChangeLog.old/ChangeLog.14".
28182
28183 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28184
28185 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28186 Threads Library.
28187
28188 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28189
28190 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28191
28192 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28193
28194 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28195 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28196
28197 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28198
28199 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28200 32 atexit handlers.
28201
28202 2017-09-01 Zack Weinberg <zackw@panix.com>
28203
28204 * math/math.h (HUGE_VAL): Improve commentary.
28205
28206 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28207 Andreas Schwab <schwab@suse.de>
28208
28209 [BZ #21530]
28210 * include/stdio.h (__gen_tempfd): New function.
28211 * stdio-common/Makefile (routines): Add gentempfd.
28212 * stdio-common/gentempfd.c: New file.
28213 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28214 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28215 unnamed file first.
28216
28217 2017-09-01 Florian Weimer <fweimer@redhat.com>
28218
28219 [BZ #21915]
28220 [BZ #21922]
28221 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28222 result to determine success or failure, not the errno value.
28223 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28224 (tst-nss-files-hosts-erange): Link with -ldl.
28225 * nss/tst-nss-files-hosts-erange.c: New file.
28226 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28227 (do_test): Add NO_DATA tests.
28228 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28229 (do_test): Call it.
28230
28231 2017-09-01 Florian Weimer <fweimer@redhat.com>
28232
28233 [BZ #21922]
28234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28235 coming from gethostbyname2_r.
28236
28237 2017-09-01 Florian Weimer <fweimer@redhat.com>
28238
28239 * support/namespace.h (struct support_chroot_configuration): Add
28240 hosts, host_conf.
28241 (struct support_chroot): Add path_hosts, path_host_conf.
28242 * support/support_chroot.c (write_file): New function.
28243 (support_chroot_create): Call it to process /etc/resolv.conf,
28244 /etc/hosts, /etc/host.conf.
28245 (support_chroot_free): Update.
28246
28247 2017-09-01 Florian Weimer <fweimer@redhat.com>
28248
28249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28250 status indicates it is set.
28251
28252 2017-09-01 Florian Weimer <fweimer@redhat.com>
28253
28254 [BZ #20532]
28255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28256 function lookup failures more reliable.
28257
28258 2017-09-01 Florian Weimer <fweimer@redhat.com>
28259
28260 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28261 (getcanonname): Likewise.
28262 (gaih_inet): Likewise.
28263
28264 2017-09-01 Florian Weimer <fweimer@redhat.com>
28265
28266 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28267 (getcanonname): Likewise.
28268 (gaih_inet): Likewise.
28269
28270 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28271 Richard Henderson <rth@twiddle.net>
28272
28273 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28274 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28275 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28276 (IREG_SIZE, OREG_SIZE): New macros.
28277 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28278 (IREG_SIZE, OREG_SIZE): New macros.
28279 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28280 (IREG_SIZE): New macro.
28281 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28282 (IREG_SIZE): New macro.
28283 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28284 New includes.
28285 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28286 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28287 (__CONCATX): Handle exceptions correctly on large values that may
28288 set FE_INVALID.
28289 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28290 Initialize if not already set.
28291 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28292
28293 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28294
28295 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28296 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28297 Likewise.
28298 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28299 Likewise.
28300 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28301 Likewise.
28302 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28303 Likewise.
28304 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28305 Likewise.
28306 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28307 Likewise.
28308 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28309 Likewise.
28310 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28311 (NO_CANCELLATION): Likewise.
28312 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28313 Likewise.
28314 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28315 Likewise.
28316 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28317 Likewise.
28318 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28319 (NO_CANCELLATION): Likewise.
28320 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28321 (NO_CANCELLATION): Likewise.
28322 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28323 Likewise
28324 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28325 Likewise.
28326 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28327 Likewise.
28328 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28329 Likewise.
28330 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28331 hidden prototype.
28332 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28333 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28334
28335 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28336
28337 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28338 in resolver call.
28339
28340 2017-08-31 Florian Weimer <fweimer@redhat.com>
28341
28342 * include/libc-symbols.h (internal_function): Remove.
28343
28344 2017-08-31 Florian Weimer <fweimer@redhat.com>
28345
28346 * stdlib/fmtmsg.c (internal_addseverity): Remove
28347 internal_function.
28348
28349 2017-08-31 Florian Weimer <fweimer@redhat.com>
28350
28351 * stdio-common/printf_fp.c (group_number): Remove
28352 internal_function.
28353 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28354
28355 2017-08-31 Florian Weimer <fweimer@redhat.com>
28356
28357 * posix/fnmatch.c (internal_function): Remove definition.
28358 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28359 * posix/regcomp.c (peek_token, init_word_char)
28360 (duplicate_node_closure, fetch_token, peek_token)
28361 (peek_token_bracket, build_range_exp, build_collating_symbol):
28362 Likewise.
28363 * posix/regex_internal.c (re_string_construct_common)
28364 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28365 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28366 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28367 (re_string_translate_buffer, re_string_reconstruct)
28368 (re_string_peek_byte_case, re_string_fetch_byte_case)
28369 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28370 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28371 (re_node_set_add_intersect, re_node_set_init_union)
28372 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28373 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28374 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28375 (re_acquire_state_context): Likewise.
28376 * posix/regex_internal.h (internal_function): Remove definition.
28377 (re_string_realloc_buffers, build_wcs_buffer)
28378 (build_wcs_upper_buffer, build_upper_buffer)
28379 (re_string_translate_buffer, re_string_context_at)
28380 (re_string_char_size_at, re_string_wchar_at)
28381 (re_string_elem_size_at): Likewise.
28382 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28383 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28384 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28385 (re_search_internal, re_search_2_stub, re_search_stub)
28386 (re_copy_regs, prune_impossible_nodes, check_matching)
28387 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28388 (free_fail_stack_return, sift_states_iter_mb)
28389 (sift_states_backward, build_sifted_states)
28390 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28391 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28392 (check_subexp_limits, sift_states_bkref, merge_state_array)
28393 (find_recover_state, transit_state, merge_state_with_log)
28394 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28395 (transit_state_mb, transit_state_bkref, get_subexp)
28396 (get_subexp_sub, find_subexp_node, check_arrival)
28397 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28398 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28399 (check_node_accept_bytes, find_collation_sequence_value)
28400 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28401 (acquire_init_state_context, check_halt_node_context)
28402 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28403 (sub_epsilon_src_nodes): Likewise.
28404 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28405 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28406 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28407 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28408 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28409 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28410 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28411 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28412 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28413 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28414 (PREADV): Likewise.
28415 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28416 (PREADV): Likewise.
28417 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28418 (PWRITEV): Likewise.
28419 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28420 (PWRITEV): Likewise.
28421 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28422 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28423
28424 2017-08-31 Florian Weimer <fweimer@redhat.com>
28425
28426 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28427 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28428 Remove internal_function.
28429 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28430 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28431 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28432 (__deallocate_stack, __libc_pthread_init)
28433 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28434 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28435 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28436 Likewise.
28437 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28438 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28439 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28440 Likewise.
28441 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28442 (__pthread_mutex_unlock_usercnt): Likewise.
28443
28444 2017-08-31 Florian Weimer <fweimer@redhat.com>
28445
28446 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28447 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28448 (fts_safe_changedir): Remove internal_function.
28449 * io/ftw.c (internal_function): Remove definition.
28450 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28451
28452 2017-08-31 Florian Weimer <fweimer@redhat.com>
28453
28454 * inet/deadline.c (__deadline_current_time)
28455 (__deadline_from_timeval, __deadline_to_ms): Remove
28456 internal_function.
28457 * inet/getnameinfo.c (nrl_domainname): Likewise.
28458 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28459 * inet/inet6_option.c (add_pad): Likewise.
28460 * inet/net-internal.h (__deadline_current_time)
28461 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28462 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28463 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28464 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28465
28466 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28467
28468 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28469 include <bits/nan.h>.
28470 * math/Makefile (headers): Remove bits/nan.h.
28471 * bits/nan.h: Remove.
28472 * sysdeps/ieee754/bits/nan.h: Likewise.
28473 * sysdeps/mips/bits/nan.h: Likewise.
28474
28475 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28476 not include <bits/inf.h>.
28477 * math/Makefile (headers): Remove bits/inf.h.
28478 * bits/inf.h: Remove.
28479 * sysdeps/ieee754/bits/inf.h: Likewise.
28480
28481 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28482 bits/huge_vall.h or bits/huge_val_flt128.h.
28483 (HUGE_VAL): Define directly here.
28484 [__USE_ISOC99] (HUGE_VALF): Likewise.
28485 [__USE_ISOC99] (HUGE_VALL): Likewise.
28486 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28487 (HUGE_VAL_F128): Likewise.
28488 * math/Makefile (headers): Remove bits/huge_val.h,
28489 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28490 * bits/huge_val.h: Remove.
28491 * bits/huge_val_flt128.h: Likewise.
28492 * bits/huge_valf.h: Likewise.
28493 * bits/huge_vall.h: Likewise.
28494 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28495 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28496 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28497 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28498 * sysdeps/sh/bits/huge_val.h: Likewise.
28499 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28500 * sysdeps/x86/bits/huge_vall.h: Likewise.
28501
28502 2017-08-31 Florian Weimer <fweimer@redhat.com>
28503
28504 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28505 internal_function.
28506 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28507 Likewise.
28508 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28509 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28510 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28511 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28512 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28513 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28514 * elf/dl-libc.c (dlerror_run): Likewise.
28515 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28516 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28517 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28518 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28519 Likewise.
28520 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28521 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28522 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28523 * elf/dl-profile.c (_dl_start_profile): Likewise.
28524 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28525 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28526 Likewise.
28527 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28528 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28529 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28530 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28531 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28532 (_dl_allocate_tls_storage): Likewise.
28533 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28534 (_dl_check_all_versions): Likewise.
28535 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28536 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28537 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28538 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28539 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28540 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28541 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28542 internal_function from __dl_start.
28543 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28544 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28545 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28546 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28547 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28548 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28549 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28550 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28551 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28552 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28553 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28554 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28555 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28556 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28557 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28558 Likewise.
28559 (struct rtld_global_ro): Remove internal_function from the
28560 _dl_lookup_symbol_x member.
28561 (_dl_symbol_value): Remove. No longer defined anywhere.
28562 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28563 internal_function.
28564 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28565 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28566 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28567 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28568 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28569 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28570 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28571 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28572 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28573 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28574 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28575 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28576
28577 2017-08-31 Florian Weimer <fweimer@redhat.com>
28578
28579 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28580 Remove internal_function.
28581 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28582 Likewise.
28583 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28584 Likewise.
28585
28586 2017-08-31 Florian Weimer <fweimer@redhat.com>
28587
28588 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28589 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28590 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28591
28592 2017-08-31 Florian Weimer <fweimer@redhat.com>
28593
28594 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28595 (__gai_enqueue_request): Remove internal_function.
28596 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28597 (__gai_remove_request, __gai_notify, __gai_notify_only)
28598 (__gai_sigqueue): Likewise.
28599 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28600 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28601 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28602 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28603 Likewise.
28604
28605 2017-08-31 Florian Weimer <fweimer@redhat.com>
28606
28607 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28608 * include/dirent.h (__opendirat, __getdents, __getdents64)
28609 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28610 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28611 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28612 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28613 Likewise.
28614 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28615
28616 2017-08-31 Florian Weimer <fweimer@redhat.com>
28617
28618 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28619 internal_function.
28620 (GETCWD_RETURN_TYPE): Likewise.
28621
28622 2017-08-31 Florian Weimer <fweimer@redhat.com>
28623
28624 * include/time.h (__tz_compute, __strptime_internal): Remove
28625 internal_function.
28626 * time/strptime_l.c (__strptime_internal): Likewise.
28627 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28628
28629 2017-08-31 Florian Weimer <fweimer@redhat.com>
28630
28631 * iconv/gconv.c (__gconv): Remove internal_function.
28632 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28633 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28634 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28635 (__gconv_release_cache): Likewise.
28636 * iconv/gconv_close.c (__gconv_close): Likewise.
28637 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28638 (read_conf_file, __gconv_get_path): Likewise.
28639 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28640 (__gconv_release_step, gen_steps, increment_counter)
28641 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28642 (__gconv_close_transform, free_modules_db): Likewise.
28643 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28644 Likewise.
28645 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28646 (__gconv_find_transform, __gconv_lookup_cache)
28647 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28648 (__gconv_close_transform, __gconv_release_cache)
28649 (__gconv_loaded_object, __gconv_release_shlib)
28650 (__gconv_compare_alias): Likewise.
28651 * iconv/gconv_open.c (__gconv_open): Likewise.
28652 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28653 * iconv/iconvconfig.c (add_module): Likewise.
28654 * intl/dcigettext.c (plural_lookup, guess_category_value)
28655 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28656 * intl/eval-plural.h (plural_eval): Likewise.
28657 * intl/finddomain.c (_nl_find_domain): Likewise.
28658 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28659 (_nl_load_domain, _nl_find_msg): Likewise.
28660 (internal_function): Remove definition.
28661 * intl/loadinfo.h (internal_function): Likewise.
28662 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28663 internal_function.
28664 * intl/localealias.c (internal_function): Remove definition.
28665 (read_alias_file): Remove internal_function.
28666 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28667 * intl/plural-exp.h (internal_function): Remove definition.
28668 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28669 internal_function.
28670 * intl/plural.c: Regenerate.
28671 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28672 * locale/coll-lookup.c (__collidx_table_lookup)
28673 (__collseq_table_lookup): Likewise.
28674 * locale/coll-lookup.h (__collidx_table_lookup)
28675 (__collseq_table_lookup): Likewise.
28676 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28677 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28678 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28679 (_nl_unload_locale): Likewise.
28680 * locale/localeinfo.h (struct __locale_data): Remove
28681 internal_function from cleanup member.
28682 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28683 (_nl_remove_locale, _nl_load_locale_from_archive)
28684 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28685 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28686 (_nl_cleanup_time): Remove internal_function.
28687 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28688 (_nl_parse_alt_digit): Likewise.
28689 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28690 (_nl_select_era_entry): Likewise.
28691 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28692 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28693 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28694 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28695 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28696
28697 2017-08-31 Florian Weimer <fweimer@redhat.com>
28698
28699 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28700 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28701 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28702 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28703 Likewise.
28704 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28705 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28706 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28707 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28708 Likewise.
28709 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28710
28711 2017-08-31 Florian Weimer <fweimer@redhat.com>
28712
28713 * misc/getttyent.c (skip, value): Remove internal_function.
28714 * misc/syslog.c (openlog_internal): Likewise.
28715 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28716
28717 2017-08-31 Florian Weimer <fweimer@redhat.com>
28718
28719 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28720 (__nss_rewrite_field): Remove internal_function.
28721 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28722 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28723 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28724 * nss/nsswitch.c (nss_parse_file, nss_getline)
28725 (nss_parse_service_list, nss_new_service): Likewise.
28726 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28727 * nss/valid_field.c (__nss_valid_field): Likewise.
28728 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28729
28730 2017-08-31 Florian Weimer <fweimer@redhat.com>
28731
28732 * malloc/arena.c (__malloc_fork_lock_parent)
28733 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28734 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28735 internal_function from defintions.
28736 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28737 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28738 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28739 internal_function from declarations.
28740 * malloc/malloc.c (internal_function): Do not define.
28741 (mem2mem_check): Remove internal_function from declaration.
28742 (munmap_chunk, mremap_chunk): Remove internal_function.
28743 * malloc/mtrace.c (tr_where): Likewise.
28744
28745 2017-08-31 Florian Weimer <fweimer@redhat.com>
28746
28747 * include/rpc/pmap_clnt.h (__get_socket): Remove
28748 internal_function.
28749 * sunrpc/auth_des.c (synchronize): Likewise.
28750 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28751 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28752 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28753 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28754 (key_call): Likewise.
28755 * sunrpc/pm_getport.c (__get_socket): Likewise.
28756 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28757 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28758 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28759 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28760 (invalidate): Likewise.
28761 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28762 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28763 (set_input_fragment, get_input_bytes): Likewise.
28764
28765 2017-08-31 Florian Weimer <fweimer@redhat.com>
28766
28767 * malloc/malloc.c (_int_free): Remove locked variable and related
28768 asserts.
28769
28770 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28771
28772 [BZ #22051]
28773 * Makerules (build-module-helper-objlist): Filter out
28774 $(elf-objpfx)sofini.os.
28775 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28776 needed.
28777
28778 2017-08-31 Florian Weimer <fweimer@redhat.com>
28779
28780 * libio/fcloseall.c: Assume weak_alias is defined.
28781 * libio/feof.c: Likewise.
28782 * libio/fileno.c: Likewise.
28783 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28784 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28785 definitions.
28786 (_IO_file_open): Call __open directly.
28787 (_IO_new_file_sync): Assume ESPIPE is defined.
28788 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28789 (_IO_new_file_write): Call __write directly.
28790 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28791 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28792 * libio/genops.c: Assume _LIBC is defined.
28793 (save_for_backup): Remove internal_function.
28794 * libio/getc.c: Assume weak_alias is defined.
28795 * libio/getwc.c: Likewise.
28796 * libio/iofclose.c: Assume _LIBC is defined.
28797 * libio/iofdopen.c: Likewise.
28798 (_IO_fcntl): Remove macro definition.
28799 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28800 Call __fcntl directly.
28801 * libio/iofflush.c: Assume weak_alias is defined.
28802 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28803 defined.
28804 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28805 * libio/iofgets.c: Likewise.
28806 * libio/iofopen.c: Assume _LIBC is defined.
28807 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28808 * libio/iofputs.c: Assume weak_alias is defined.
28809 * libio/iofread.c: Likewise.
28810 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28811 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28812 * libio/ioftell.c: Assume weak_alias is defined.
28813 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28814 * libio/iofwide.c: Assume _LIBC is defined.
28815 (_IO_fwide): Drop SHARED conditional because it is implied by
28816 SHLIB_COMPAT.
28817 * libio/iofwrite.c: Assume weak_alias is defined.
28818 * libio/iogetdelim.c: Likewise.
28819 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28820 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28821 (_IO_getwline): Call __wmemcpy directly.
28822 * libio/iopopen.c: Assume _LIBC is defined.
28823 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28824 (_IO_close): Remove macro definitions.
28825 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28826 _exit directly.
28827 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28828 directly.
28829 * libio/ioputs.c: Assume weak_alias is defined.
28830 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28831 * libio/iosetbuffer.c: Assume weak_alias is defined.
28832 * libio/iosetvbuf.c: Likewise.
28833 * libio/ioungetc.c: Likewise.
28834 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28835 libc_hidden_def, libc_hidden_weak, NULL are defined.
28836 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28837 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28838 defined.
28839 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28840 definitions.
28841 (_IO_old_file_init_internal): Drop SHARED conditional because it
28842 is implied by SHLIB_COMPAT.
28843 (_IO_old_file_fopen): Call __open directly.
28844 (_IO_old_file_sync): Assume ESPIPE is defined.
28845 (_IO_old_file_write): Call __write directly.
28846 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28847 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28848 Call __fcntl directly.
28849 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28850 (_IO_old_fgetpos): Assume EIO is defined.
28851 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28852 (_IO_old_fgetpos64): Assume EIO is defined.
28853 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28854 (_IO_old_fsetpos): Assume EIO is defined.
28855 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28856 (_IO_old_fsetpos64): Assume EIO is defined.
28857 * libio/oldiopopen.c: Assume _LIBC is defined.
28858 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28859 (_IO_close): Remove macro definitions.
28860 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28861 directly.
28862 (_IO_old_proc_close): Call __close, __waitpid directly.
28863 * libio/put.c: Assume weak_alias is defined.
28864 * libio/stdfiles.c: Assume _LIBC is defined.
28865 * libio/stdio.c: Likewise.
28866 * libio/wfileops.c: Likewise.
28867 (_IO_wfile_sync): Assume ESPIPE is defined.
28868 * libio/wgenops.c: Assume _LIBC is defined.
28869 (save_for_wbackup): Remove internal_function.
28870
28871 2017-08-31 Florian Weimer <fweimer@redhat.com>
28872
28873 * malloc/malloc.c (top_check): Change return type to void. Remove
28874 internal_function.
28875 * malloc/hooks.c (top_check): Likewise.
28876 (malloc_check, realloc_check, memalign_check): Adjust.
28877
28878 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28879
28880 [BZ #21457]
28881 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28882 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28883 sigcontext and namespace requirements.
28884 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28885 * sysdeps/m68k/sys/ucontext.h: Likewise.
28886 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28887 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28888 <bits/sigcontext.h>.
28889 (__ctx): Define earlier.
28890 (mcontext_t): Define structure contents rather than using struct
28891 sigcontext.
28892 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28893 __glibc_reserved1 instead of __reserved.
28894 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28895 <bits/sigcontext.h>.
28896 (__ctx): Define earlier.
28897 (mcontext_t): Define structure contents rather than using struct
28898 sigcontext.
28899 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28900 mcontext_t instead of struct sigcontext.
28901 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28902 <bits/sigcontext.h>.
28903 (__ctx): Define earlier.
28904 (mcontext_t): Define structure contents rather than using struct
28905 sigcontext.
28906 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28907 <bits/sigcontext.h>.
28908 (__ctx): Define earlier.
28909 (mcontext_t): Define structure contents rather than using struct
28910 sigcontext.
28911 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28912 mcontext_t instead of struct sigcontext.
28913 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28914 mcontext_t instead of struct sigcontext.
28915 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28916 <bits/sigcontext.h>.
28917 (__ctx): New macro.
28918 (struct __ia64_fpreg_mcontext): New type.
28919 (mcontext_t): Define structure contents rather than using struct
28920 sigcontext.
28921 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28922 (uc_sigmask): Define using __ctx.
28923 (uc_stack): Likewise.
28924 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28925 <bits/sigcontext.h>.
28926 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28927 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28928 <bits/sigcontext.h>.
28929 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28930 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28931 <bits/sigcontext.h>.
28932 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28933 <bits/sigcontext.h>.
28934 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28935 <bits/sigcontext.h>.
28936 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28937 <bits/sigcontext.h>.
28938 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28939 <bits/sigcontext.h>.
28940 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28941 <bits/sigcontext.h>.
28942 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28943 <bits/sigcontext.h>.
28944 (__ctx): Define earlier.
28945 (mcontext_t): Define structure contents rather than using struct
28946 sigcontext.
28947 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28948 <bits/sigcontext.h>. Include <bits/types.h>.
28949 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28950 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28951 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28952 (test-xfail-UNIX98/signal.h/conform): Likewise.
28953 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28954 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28955 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28956 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28957 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28958 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28959 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28960 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28961 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28962
28963 2017-08-30 Florian Weimer <fweimer@redhat.com>
28964
28965 * malloc/dynarray_emplace_enlarge.c
28966 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28967 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28968 * malloc/tst-dynarray.c (test_long_overflow): New function.
28969 (do_test): Call it.
28970
28971 2017-08-30 Florian Weimer <fweimer@redhat.com>
28972
28973 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28974 (set_arena_corrupt): Remove definitions.
28975 (mtrim): Do not check for corrupt arena.
28976 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28977 Likewise.
28978
28979 2017-08-30 Florian Weimer <fweimer@redhat.com>
28980
28981 [BZ #21754]
28982 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28983 check_action.
28984 (ptmalloc_init): Do not set or use check_action.
28985 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
28986 call to malloc_printerr. Remove return statement.
28987 (free_check): Likewise. Remove arena unlock.
28988 (top_check): Update comment. Adjust call to malloc_printerr.
28989 Remove heap repair code.
28990 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
28991 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
28992 (sysmalloc): Adjust call to malloc_printerr.
28993 (munmap_chunk, __libc_realloc): Likewise. Remove return
28994 statement.
28995 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
28996 Remove errout label and corresponding gotos.
28997 (_int_free): Likewise. Remove arena unlock.
28998 (do_set_mallopt_check): Do not set check_action.
28999 (malloc_printerr): Adjust parameter list. Do not mark arena as
29000 corrupt.
29001 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29002 comment.
29003 * manual/probes.texi (Memory Allocation Probes): Remove
29004 memory_mallopt_check_action.
29005
29006 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29007
29008 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29009 Use pointer to uint64_t instead of long int for sp.
29010
29011 2017-08-30 Florian Weimer <fweimer@redhat.com>
29012
29013 [BZ #21754]
29014 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29015 without printing a backtrace. Do not leak any information in the
29016 error message.
29017 * manual/memory.texi (Heap Consistency Checking): Update.
29018 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29019
29020 2017-08-30 Florian Weimer <fweimer@redhat.com>
29021
29022 Do not scale NPTL tests with available number of CPUs.
29023 * nptl/tst-cond16.c (count): Set to constant value of 8.
29024 * nptl/tst-cond18.c (count): Likewise.
29025
29026 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29027
29028 [BZ #22035]
29029 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29030 Define to take a second argument that is a macro that
29031 concatentates a suffix, not the suffix itself.
29032 (__CONCAT_d): New macro.
29033 (__CONCAT_f): Likewise.
29034 (__CONCAT_l): Likewise.
29035
29036 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29037
29038 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29039 by child.
29040
29041 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29042 Aurelien Jarno <aurelien@aurel32.net>
29043 Maciej W. Rozycki <macro@imgtec.com>
29044
29045 [BZ #21956]
29046 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29047 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29048 `mips16-syscall6' and `mips16-syscall7'.
29049 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29050 (CFLAGS-mips16-syscall7.c): Remove.
29051 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29052 Remove `__mips16_syscall5', `__mips16_syscall6' and
29053 `__mips16_syscall7'.
29054 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29055 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29056 `__mips_syscall_return'.
29057 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29058 (__mips16_syscall1): Likewise.
29059 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29060 (__mips16_syscall2): Likewise.
29061 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29062 (__mips16_syscall3): Likewise.
29063 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29064 (__mips16_syscall4): Likewise.
29065 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29066 Remove.
29067 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29068 Remove.
29069 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29070 Remove.
29071 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29072 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29073 `__mips16_syscall5'. Remove prototype.
29074 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29075 `__mips16_syscall6'. Remove prototype.
29076 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29077 `__mips16_syscall7'. Remove prototype.
29078 (__nomips16, __mips16_syscall_return): Move to...
29079 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29080 (__nomips16, __mips_syscall_return): ... here.
29081 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29082 `__mips16_syscall_return' to `__mips_syscall_return'.
29083 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29084 `internal_syscall##nr'.
29085 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29086 `internal_syscall##nr'.
29087 (FORCE_FRAME_POINTER): Remove.
29088 (__mips_syscall5): New prototype.
29089 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29090 (__mips_syscall6): New prototype.
29091 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29092 (__mips_syscall7): New prototype.
29093 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29094 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29095 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29096 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29097 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29098 (sysdep_routines): Add libc-do-syscall.
29099 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29100 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29101
29102 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29103
29104 [BZ #21672]
29105 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29106 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29107 (advise_stack_range): New function.
29108 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29109 stack non required to advise_stack_range at allocatestack.c
29110
29111 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29112
29113 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29114
29115 2017-08-29 Florian Weimer <fweimer@redhat.com>
29116
29117 [BZ #22026]
29118 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29119 __end_fct. Mangle __end_fct after setting it to NULL.
29120 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29121 (modules-names, modules-names-tests): Add
29122 tst-gconv-init-failure-mod.
29123 (gconv-modules): New target.
29124 (tst-gconv-init-failure-mod.so): Link against libsupport.
29125 (tst-gconv-init-failure): Depend on gconv-modules,
29126 tst-gconv-init-failure-mod.so.
29127 * iconv/tst-gconv-init-failure-mod.c: New file.
29128 * iconv/tst-gconv-init-failure.c: Likewise.
29129 * iconv/test-gconv-modules: Likewise.
29130
29131 2017-08-29 Florian Weimer <fweimer@redhat.com>
29132
29133 [BZ #22025]
29134 * iconv/gconv_db.c (free_derivation): Remove redundant
29135 parentheses.
29136 (gen_steps): Unconditionally mangle __btowc_fct after
29137 initialization.
29138 (increment_counter): Likewise. Do not call init_fct for internal
29139 modules.
29140
29141 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29142
29143 [BZ #22028]
29144 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29145 (_MSUF_): Remove macro.
29146 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29147 Likewise.
29148 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29149 (__REDIRFROM_X): New macro.
29150 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29151 Likewise.
29152 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29153 (__REDIRTO_X): Likewise.
29154 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29155 arguments.
29156 (__MATH_REDIRCALL_2): Likewise.
29157 (__MATH_REDIRCALL_INTERNAL): Likewise.
29158 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29159 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29160 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29161 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29162 * math/test-finite-macros.c: New file.
29163 * math/Makefile (tests): Add test-finite-macros.
29164 (CFLAGS-test-finite-macros.c): New variable.
29165
29166 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
29167 Jeff Law <law@redhat.com>
29168
29169 [BZ #22025]
29170 Mangle NULL pointers in iconv/gconv.
29171 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29172 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29173 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29174 is non-NULL before demangling the end_fct. Check for NULL
29175 end_fct after demangling.
29176 (__gconv_release_step): Demangle the end_fct before checking
29177 it for NULL. Remove assert on __shlibc_handle != NULL.
29178 (gen_steps): Don't check btowc_fct for NULL before mangling.
29179 Demangle init_fct before checking for NULL.
29180 (increment_counter): Likewise.
29181 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29182 end_fct for NULL before mangling.
29183 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29184 for NULL.
29185
29186 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
29187
29188 [BZ #21971]
29189 * locale/iso-639.def: add Morisyen.
29190
29191 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29192
29193 [BZ #21930]
29194 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29195 (iszero): New C++ implementation that does not use
29196 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29197 signaling nans are enabled, since __builtin_types_compatible_p
29198 is a C-only feature.
29199 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29200 defined, include ieee754_float128.h for access to the union and
29201 member ieee854_float128.ieee.
29202 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29203 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29204 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29205 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29206 options of test-math-zero on powerpc64le.
29207
29208 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29209
29210 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29211 Change double to float.
29212
29213 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29214
29215 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29216 unconditional.
29217 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29218 conditional code; define contents only for [LIBM_SVID_COMPAT].
29219
29220 2017-08-28 Florian Weimer <fweimer@redhat.com>
29221
29222 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29223 (abi-lp64_be-options): Remove.
29224 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29225 (abi-hard-options): Likewise.
29226 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29227 (abi-o32_hard-options, abi-o32_soft_2008-options)
29228 (abi-o32_hard_2008-options, abi-n32_soft-options)
29229 (abi-n32_hard-options, abi-n32_soft_2008-options)
29230 (abi-n32_hard_2008-options, abi-n64_soft-options)
29231 (abi-n64_hard-options, abi-n64_soft_2008-options)
29232 (abi-n64_hard_2008-options): Likewise.
29233 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29234 (abi-64-v1-options, abi-64-v2-options): Likewise.
29235 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29236 (abi-64-options): Likewise.
29237 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29238 (abi-64-options): Likewise.
29239 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29240 (abi-64-options): Likewise.
29241 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29242 (abi-64-options, abi-x32-options): Likewise.
29243
29244 2017-08-28 Florian Weimer <fweimer@redhat.com>
29245
29246 Store supported list of SYS_* system calls in the source tree.
29247 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29248 (bits/syscall.h): Generate from list file.
29249 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29250 [$(subdir) = misc] (tests): Add tst-syscall-list.
29251 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29252 [$(subdir) = misc] (tst-syscall-list-macros.list)
29253 [$(subdir) = misc] (tst-syscall-list-nr.list)
29254 (tst-syscall-list-sys.list): Helper targets for new
29255 tst-syscall-list test.
29256 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29257 tst-syscall-list.sh.
29258 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29259 target. Do not include bits/syscall.d.
29260 [$(subdir) = misc] (generated): Do not update.
29261 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29262 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29263 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29264 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29265
29266 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29267
29268 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29269 (tst-cxa_atexit, tst-on_exit): Likewise.
29270 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29271 tst-cxa_atexit, and tst-on_exit.
29272 * stdlib/tst-atexit-common.c: New file.
29273 * stdlib/tst-atexit.c: New file.
29274 * stdlib/tst-at_quick_exit.c: New file.
29275 * stdlib/tst-cxa_atexit.c: New file.
29276 * stdlib/tst-on_exit.c: New file.
29277
29278 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29279
29280 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
29281 * mach/stack_chk_fail_local.c: New file.
29282 * hurd/stack_chk_fail_local.c: New file.
29283 * mach/Machrules ($(interface-library)-routines): Add
29284 stack_chk_fail_local.
29285 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29286 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29287 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29288 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29289 * hurd/Makefile (CFLAGS-hurdstartup.o,
29290 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29291
29292 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29293
29294 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29295 (index_cpu_*, index_arch_*): Removed.
29296
29297 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29298
29299 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29300 Use uint64_t instead of unsigned long.
29301
29302 2017-08-25 Joseph Myers <joseph@codesourcery.com>
29303
29304 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29305 [__HAVE_DISTINCT_FLOAT128].
29306
29307 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29308 of <bits/math-finite.h>.
29309 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29310 inclusion of <bits/math-finite.h>.
29311 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29312 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29313 __NO_LONG_DOUBLE_MATH].
29314 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29315 (__MATH_REDIRCALL_2): Likewise.
29316 (__MATH_REDIRCALL_INTERNAL): Likewise.
29317 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29318 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29319 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29320
29321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29322 Remove file.
29323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29324 Likewise.
29325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29326 Likewise.
29327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29328 Likewise.
29329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29330 Likewise.
29331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29332 Likewise.
29333 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29334 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29335 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29336 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29338 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29339 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29340 w_sqrtf_compat-ppc32.
29341
29342 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29343
29344 * math/math.h [defined __cplusplus] (issignaling): In the long
29345 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29346 is not defined. Call __issignaling, otherwise.
29347
29348 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29349
29350 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29351 syscall definitions and replace __builtin_expect with __glibc_likely.
29352 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29353 syscall.
29354 (SYSCALL_CANCELLABLE): Removedefinition
29355 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29356 definition.
29357 (PSEUDO_END): Likewise.
29358 [IS_IN (libpthread)] (CENABLE): Likewise.
29359 [IS_IN (libpthread)] (CDISABLE): Likewise.
29360 [IS_IN (libc)] (CENABLE): Likewise.
29361 [IS_IN (libc)] (CENABLE): Likewise.
29362 [IS_IN (librt)] (CDISABLE): Likewise.
29363 [IS_IN (librt)] (CDISABLE): Likewise.
29364 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29365 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29366 definition.
29367 (PSEUDO_END): Likewise.
29368 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29369 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29370 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29371 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29372 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29373 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29374 (CENABLE): Likewise.
29375 (CDISABLE): Likewise.
29376 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29377 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29378 defintion.
29379 (PSEUDO_END): Likewise.
29380 [IS_IN (libpthread)] (CENABLE): Likewise.
29381 [IS_IN (libpthread)] (CDISABLE): Likewise.
29382 [IS_IN (libc)] (CENABLE): Likewise.
29383 [IS_IN (libc)] (CENABLE): Likewise.
29384 [IS_IN (librt)] (CDISABLE): Likewise.
29385 [IS_IN (librt)] (CDISABLE): Likewise.
29386 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29387 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29388 definition.
29389 (PSEUDO_END): Likewise.
29390 [IS_IN (libpthread)] (CENABLE): Likewise.
29391 [IS_IN (libpthread)] (CDISABLE): Likewise.
29392 [IS_IN (libc)] (CENABLE): Likewise.
29393 [IS_IN (libc)] (CENABLE): Likewise.
29394 [IS_IN (librt)] (CDISABLE): Likewise.
29395 [IS_IN (librt)] (CDISABLE): Likewise.
29396 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29397 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29398 definition.
29399 (PSEUDO_END): Likewise.
29400 [IS_IN (libpthread)] (CENABLE): Likewise.
29401 [IS_IN (libpthread)] (CDISABLE): Likewise.
29402 [IS_IN (libc)] (CENABLE): Likewise.
29403 [IS_IN (libc)] (CENABLE): Likewise.
29404 [IS_IN (librt)] (CDISABLE): Likewise.
29405 [IS_IN (librt)] (CDISABLE): Likewise.
29406 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29407 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29408 definition.
29409 (PSEUDO_END): Likewise.
29410 [IS_IN (libpthread)] (CENABLE): Likewise.
29411 [IS_IN (libpthread)] (CDISABLE): Likewise.
29412 [IS_IN (libc)] (CENABLE): Likewise.
29413 [IS_IN (libc)] (CENABLE): Likewise.
29414 [IS_IN (librt)] (CDISABLE): Likewise.
29415 [IS_IN (librt)] (CDISABLE): Likewise.
29416 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29417 * sysdeps/unix/sysv/linux/m68k/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/microblaze/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/mips/mips64/sysdep-cancel.h (PSEUDO):
29438 Remove 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 (SINGLE_THREAD_P): Likewise.
29447 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
29448 definition.
29449 (PSEUDO_END): Likewise.
29450 [IS_IN (libpthread)] (CENABLE): Likewise.
29451 [IS_IN (libpthread)] (CDISABLE): Likewise.
29452 [IS_IN (libc)] (CENABLE): Likewise.
29453 [IS_IN (libc)] (CENABLE): Likewise.
29454 [IS_IN (librt)] (CDISABLE): Likewise.
29455 [IS_IN (librt)] (CDISABLE): Likewise.
29456 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29457 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
29458 definition.
29459 (PSEUDO_END): Likewise.
29460 [IS_IN (libpthread)] (CENABLE): Likewise.
29461 [IS_IN (libpthread)] (CDISABLE): Likewise.
29462 [IS_IN (libc)] (CENABLE): Likewise.
29463 [IS_IN (libc)] (CENABLE): Likewise.
29464 [IS_IN (librt)] (CDISABLE): Likewise.
29465 [IS_IN (librt)] (CDISABLE): Likewise.
29466 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29467 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29468 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29469 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29470 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
29471 definition.
29472 (PSEUDO_END): Likewise.
29473 [IS_IN (libpthread)] (CENABLE): Likewise.
29474 [IS_IN (libpthread)] (CDISABLE): Likewise.
29475 [IS_IN (libc)] (CENABLE): Likewise.
29476 [IS_IN (libc)] (CENABLE): Likewise.
29477 [IS_IN (librt)] (CDISABLE): Likewise.
29478 [IS_IN (librt)] (CDISABLE): Likewise.
29479 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29480 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29481 definition.
29482 (PSEUDO_END): Likewise.
29483 [IS_IN (libpthread)] (CENABLE): Likewise.
29484 [IS_IN (libpthread)] (CDISABLE): Likewise.
29485 [IS_IN (libc)] (CENABLE): Likewise.
29486 [IS_IN (libc)] (CENABLE): Likewise.
29487 [IS_IN (librt)] (CDISABLE): Likewise.
29488 [IS_IN (librt)] (CDISABLE): Likewise.
29489 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29490 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29491 definition.
29492 (PSEUDO_END): Likewise.
29493 [IS_IN (libpthread)] (CENABLE): Likewise.
29494 [IS_IN (libpthread)] (CDISABLE): Likewise.
29495 [IS_IN (libc)] (CENABLE): Likewise.
29496 [IS_IN (libc)] (CENABLE): Likewise.
29497 [IS_IN (librt)] (CDISABLE): Likewise.
29498 [IS_IN (librt)] (CDISABLE): Likewise.
29499 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29500 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29502 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29503 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
29504 definition.
29505 (PSEUDO_END): Likewise.
29506 [IS_IN (libpthread)] (CENABLE): Likewise.
29507 [IS_IN (libpthread)] (CDISABLE): Likewise.
29508 [IS_IN (libc)] (CENABLE): Likewise.
29509 [IS_IN (libc)] (CENABLE): Likewise.
29510 [IS_IN (librt)] (CDISABLE): Likewise.
29511 [IS_IN (librt)] (CDISABLE): Likewise.
29512 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29513 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29514 definition.
29515 (PSEUDO_END): Likewise.
29516 [IS_IN (libpthread)] (CENABLE): Likewise.
29517 [IS_IN (libpthread)] (CDISABLE): Likewise.
29518 [IS_IN (libc)] (CENABLE): Likewise.
29519 [IS_IN (libc)] (CENABLE): Likewise.
29520 [IS_IN (librt)] (CDISABLE): Likewise.
29521 [IS_IN (librt)] (CDISABLE): Likewise.
29522 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29523
29524 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29525
29526 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29527
29528 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29529
29530 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29531
29532 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29533
29534 [BZ #21982]
29535 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29536 middle and outer with size_t instead of int. Repleace %d and
29537 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29538 "MAX (outer, nchars - 64)" to support unsigned outer and
29539 nchars. Also exit loop when outer == 0.
29540
29541 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29542
29543 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29544 * include/signal.h (__sigsuspend_nocancel): Likewise.
29545 * include/time.h (__nanosleep_nocancel): Likewise.
29546 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29547 * login/utmp_file.c: Include non cancellable syscall header.
29548 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29549 prototype.
29550
29551 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29552
29553 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29554 .byte sequences with AVX512F instructions.
29555 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29556 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29557 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29558 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29559 Likewise.
29560 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29561 Likewise.
29562
29563 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29564 Steve Ellcey <sellcey@cavium.com>
29565
29566 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29567 Use PTR_REG macro in cmp instruction.
29568
29569 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29570
29571 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29572 Change the return type of the ifunc resolver to match the return
29573 type of the target function.
29574
29575 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29576
29577 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29578 (preadv64): Likewise.
29579 (pwrite64(: Likewise.
29580 (pwritev64): Likewise.
29581
29582 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29583 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29584 (LOAD_ARGS_0): Likewise.
29585 (LOAD_ARGS_1): Likewise.
29586 (LOAD_ARGS_2): Likewise.
29587 (LOAD_ARGS_3): Likewise.
29588 (LOAD_ARGS_4): Likewise.
29589 (LOAD_ARGS_5): Likewise.
29590 (LOAD_ARGS_6): Likewise.
29591 (LOAD_REGS_0): Likewise.
29592 (LOAD_REGS_1): Likewise.
29593 (LOAD_REGS_2): Likewise.
29594 (LOAD_REGS_3): Likewise.
29595 (LOAD_REGS_4): Likewise.
29596 (LOAD_REGS_5): Likewise.
29597 (LOAD_REGS_6): Likewise.
29598 (ASM_ARGS_0): Likewise.
29599 (ASM_ARGS_1): Likewise.
29600 (ASM_ARGS_2): Likewise.
29601 (ASM_ARGS_3): Likewise.
29602 (ASM_ARGS_4): Likewise.
29603 (ASM_ARGS_5): Likewise.
29604 (ASM_ARGS_6): Likewise.
29605 (LOAD_ARGS_TYPES_1): Likewise.
29606 (LOAD_ARGS_TYPES_2): Likewise.
29607 (LOAD_ARGS_TYPES_3): Likewise.
29608 (LOAD_ARGS_TYPES_4): Likewise.
29609 (LOAD_ARGS_TYPES_5): Likewise.
29610 (LOAD_ARGS_TYPES_6): Likewise.
29611 (LOAD_REGS_TYPES_1): Likewise.
29612 (LOAD_REGS_TYPES_2): Likewise.
29613 (LOAD_REGS_TYPES_3): Likewise.
29614 (LOAD_REGS_TYPES_4): Likewise.
29615 (LOAD_REGS_TYPES_5): Likewise.
29616 (LOAD_REGS_TYPES_6): Likewise.
29617 (TYPEFY): New define.
29618 (ARGIFY): Likewise.
29619 (internal_syscall0): Likewise.
29620 (internal_syscall1): Likewise.
29621 (internal_syscall2): Likewise.
29622 (internal_syscall3): Likewise.
29623 (internal_syscall4): Likewise.
29624 (internal_syscall5): Likewise.
29625 (internal_syscall6): Likewise.
29626 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29627 (INTERNAL_SYSCALL_NCS): Remove define.
29628 (internal_syscall1): Add define.
29629
29630 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29631
29632 * math/w_remainder_compat.c: Remove duplicate inclusion of
29633 math-svid-compat.h.
29634 * math/w_remainderf_compat.c: Likewise.
29635 * math/w_remainderl_compat.c: Likewise.
29636
29637 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29638
29639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29640
29641 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29642
29643 [BZ #21684]
29644 * math/tgmath.h (__floating_type): Simplify definitions.
29645 (__real_integer_type): New macro.
29646 (__complex_integer_type): Likewise.
29647 (__expr_is_real): Likewise.
29648 (__tgmath_real_type_sub): Update comment to describe handling of
29649 complex types.
29650 (__tgmath_complex_type_sub): New macro.
29651 (__tgmath_complex_type): Likewise.
29652 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29653 (__TGMATH_CF128): Use __expr_is_real.
29654 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29655 __expr_is_real.
29656 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29657 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29658 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29659 integer types.
29660
29661 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29662
29663 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29664 macro.
29665 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29666 alias.
29667 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29668 Likewise.
29669
29670 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29671 nanosleep_not_cancel with __nanosleep_nocancel.
29672 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29673 (__nanosleep_nocancel): New macro.
29674 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29675 function.
29676 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29677 macro.
29678 (__nanosleep_nocancel): New prototype.
29679
29680 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29681 pause_not_cancel with __pause_nocancel.
29682 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29683 (__pause_nocancel): New macro.
29684 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29685 macro.
29686 (__pause_nocancel): New prototype.
29687 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29688
29689 2017-08-22 Martin Sebor <msebor@redhat.com>
29690
29691 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29692 to return a pointer to the same type as the target function.
29693
29694 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29695
29696 [BZ #18822]
29697 [BZ #21986]
29698 * include/printf.h (__printf_fphex): Add attribute_hidden.
29699 (__guess_grouping): New prototype.
29700 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29701 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29702 libc_hidden_proto and libc_hidden_def.
29703 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29704 (__vstrfmon_l): Remove the third argument passed to
29705 __guess_grouping.
29706
29707 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29708
29709 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29710 definition for issignaling that does not rely on __MATH_TG,
29711 since __MATH_TG uses __builtin_types_compatible_p, which is only
29712 available in C mode.
29713 (CFLAGS-test-math-issignaling.cc): New variable.
29714 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29715 * math/test-math-issignaling.cc: New test for C++ implementation
29716 of type-generic issignaling.
29717 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29718 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29719 options of test-math-issignaling on powerpc64le.
29720
29721 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29722
29723 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29724 building libc.a.
29725 (hidden_proto): Likewise.
29726 (hidden_tls_proto): Likewise.
29727 (__hidden_proto): Likewise.
29728
29729 2017-08-22 Florian Weimer <fweimer@redhat.com>
29730
29731 math: Statically link tests of internal functionality.
29732 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29733 atest-exp2.
29734 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29735 (gmp-objs): Remove assignment.
29736 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29737
29738 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29739
29740 [BZ #21987]
29741 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29742 and copy to ...
29743 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29744 ... here.
29745 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29746 ... and here.
29747
29748 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29749 variable definitions above inclusion of ../Rules.
29750
29751 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29752
29753 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29754 case calling __builtin_unreachable.
29755
29756 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29757
29758 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29759 __waitpid_nocancel.
29760 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29761 (__waitpid_nocancel): New macro.
29762 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29763 macro.
29764 (__waitpid_nocancel): Replace macro with a function.
29765 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29766 function.
29767
29768 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29769 __fcntl_nocancel.
29770 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29771 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29772
29773 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29774 __writev_nocancel_nostatus.
29775 (write_call_graph): Likewise.
29776 (write_bb_counts): Likewise.
29777 * resolv/herror.c (herror): Likewise.
29778 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29779 macro.
29780 (__writev_nocancel_nostatus): New macro.
29781 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29782 Remove macro.
29783 (__writev_nocancel_nostatus): New function.
29784
29785 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29786
29787 Revert:
29788 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29789
29790 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29791 building libc.a.
29792 (hidden_proto): Likewise.
29793 (hidden_tls_proto): Likewise.
29794 (__hidden_proto): Likewise.
29795
29796 [BZ #21973]
29797 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29798 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29800 Likewise.
29801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29802 Likewise.
29803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29804 Likewise.
29805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29806 Likewise.
29807 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29808 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29809 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29810 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29811 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29812 GLIBC_2.0 sqrtl symbol.
29813
29814 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29815 [__USE_MISC] (_LIB_VERSION): Likewise.
29816 [__USE_MISC] (struct exception): Likewise.
29817 [__USE_MISC] (matherr): Likewise.
29818 [__USE_MISC] (DOMAIN): Likewise.
29819 [__USE_MISC] (SING): Likewise.
29820 [__USE_MISC] (OVERFLOW): Likewise.
29821 [__USE_MISC] (UNDERFLOW): Likewise.
29822 [__USE_MISC] (TLOSS): Likewise.
29823 [__USE_MISC] (PLOSS): Likewise.
29824 [__USE_MISC] (HUGE): Likewise.
29825 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29826 * math/math-svid-compat.h: New file.
29827 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29828 and matherrl.
29829 * include/math.h [!_ISOMAC] (__matherr): Remove.
29830 * manual/arith.texi (FP Exceptions): Do not document matherr.
29831 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29832 (tests-internal): New variable.
29833 (install-lib): Do not add libieee.a.
29834 (non-lib.a): Likewise.
29835 (extra-objs): Do not add libieee.a and ieee-math.o.
29836 (CPPFLAGS-s_lib_version.c): Remove variable.
29837 ($(objpfx)libieee.a): Remove rule.
29838 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29839 * math/ieee-math.c: Remove.
29840 * math/libm-test-support.c (matherr): Remove.
29841 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29842 and license notices. Include <math-svid-compat.h> and
29843 <shlib-compat.h>.
29844 (matherr): Undefine as macro. Use compat_symbol_reference.
29845 (_LIB_VERSION): Likewise.
29846 * math/test-matherr-2.c: New file.
29847 * math/test-matherr-3.c: Likewise.
29848 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29849 declaration.
29850 (__kernel_standard_f): Likewise.
29851 (__kernel_standard_l): Likewise.
29852 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29853 <math_private.h>. Include <math-svid-compat.h>.
29854 (_LIB_VERSION): Undefine as macro.
29855 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29856 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29857 [LIBM_SVID_COMPAT], use compat_symbol.
29858 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29859 <math_private.h>. Include <math-svid-compat.h>.
29860 (matherr): Undefine as macro.
29861 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29862 compat_symbol.
29863 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29864 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29865 compat_symbol_reference.
29866 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29867 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29868 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29869 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29870 (MATHERR_D): Remove declaration.
29871 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29872 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29873 [LIBM_BUILD] (pmatherrf): Likewise.
29874 [LIBM_BUILD] (pmatherr): Likewise.
29875 [LIBM_BUILD] (pmatherrl): Likewise.
29876 (DOMAIN): Likewise.
29877 (SING): Likewise.
29878 (OVERFLOW): Likewise.
29879 (UNDERFLOW): Likewise.
29880 (TLOSS): Likewise.
29881 (PLOSS): Likewise.
29882 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29883 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29884 compat_symbol.
29885 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29886 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29887 compat_symbol.
29888 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29889 * math/w_acos_compat.c: Likewise.
29890 * math/w_acosf_compat.c: Likewise.
29891 * math/w_acosh_compat.c: Likewise.
29892 * math/w_acoshf_compat.c: Likewise.
29893 * math/w_acoshl_compat.c: Likewise.
29894 * math/w_acosl_compat.c: Likewise.
29895 * math/w_asin_compat.c: Likewise.
29896 * math/w_asinf_compat.c: Likewise.
29897 * math/w_asinl_compat.c: Likewise.
29898 * math/w_atan2_compat.c: Likewise.
29899 * math/w_atan2f_compat.c: Likewise.
29900 * math/w_atan2l_compat.c: Likewise.
29901 * math/w_atanh_compat.c: Likewise.
29902 * math/w_atanhf_compat.c: Likewise.
29903 * math/w_atanhl_compat.c: Likewise.
29904 * math/w_cosh_compat.c: Likewise.
29905 * math/w_coshf_compat.c: Likewise.
29906 * math/w_coshl_compat.c: Likewise.
29907 * math/w_exp10_compat.c: Likewise.
29908 * math/w_exp10f_compat.c: Likewise.
29909 * math/w_exp10l_compat.c: Likewise.
29910 * math/w_exp2_compat.c: Likewise.
29911 * math/w_exp2f_compat.c: Likewise.
29912 * math/w_exp2l_compat.c: Likewise.
29913 * math/w_fmod_compat.c: Likewise.
29914 * math/w_fmodf_compat.c: Likewise.
29915 * math/w_fmodl_compat.c: Likewise.
29916 * math/w_hypot_compat.c: Likewise.
29917 * math/w_hypotf_compat.c: Likewise.
29918 * math/w_hypotl_compat.c: Likewise.
29919 * math/w_j0_compat.c: Likewise.
29920 * math/w_j0f_compat.c: Likewise.
29921 * math/w_j0l_compat.c: Likewise.
29922 * math/w_j1_compat.c: Likewise.
29923 * math/w_j1f_compat.c: Likewise.
29924 * math/w_j1l_compat.c: Likewise.
29925 * math/w_jn_compat.c: Likewise.
29926 * math/w_jnf_compat.c: Likewise.
29927 * math/w_jnl_compat.c: Likewise.
29928 * math/w_lgamma_main.c: Likewise.
29929 * math/w_lgamma_r_compat.c: Likewise.
29930 * math/w_lgammaf_main.c: Likewise.
29931 * math/w_lgammaf_r_compat.c: Likewise.
29932 * math/w_lgammal_main.c: Likewise.
29933 * math/w_lgammal_r_compat.c: Likewise.
29934 * math/w_log10_compat.c: Likewise.
29935 * math/w_log10f_compat.c: Likewise.
29936 * math/w_log10l_compat.c: Likewise.
29937 * math/w_log2_compat.c: Likewise.
29938 * math/w_log2f_compat.c: Likewise.
29939 * math/w_log2l_compat.c: Likewise.
29940 * math/w_log_compat.c: Likewise.
29941 * math/w_logf_compat.c: Likewise.
29942 * math/w_logl_compat.c: Likewise.
29943 * math/w_pow_compat.c: Likewise.
29944 * math/w_powf_compat.c: Likewise.
29945 * math/w_powl_compat.c: Likewise.
29946 * math/w_remainder_compat.c: Likewise.
29947 * math/w_remainderf_compat.c: Likewise.
29948 * math/w_remainderl_compat.c: Likewise.
29949 * math/w_scalb_compat.c: Likewise.
29950 * math/w_scalbf_compat.c: Likewise.
29951 * math/w_scalbl_compat.c: Likewise.
29952 * math/w_sinh_compat.c: Likewise.
29953 * math/w_sinhf_compat.c: Likewise.
29954 * math/w_sinhl_compat.c: Likewise.
29955 * math/w_sqrt_compat.c: Likewise.
29956 * math/w_sqrtf_compat.c: Likewise.
29957 * math/w_sqrtl_compat.c: Likewise.
29958 * math/w_tgamma_compat.c: Likewise.
29959 * math/w_tgammaf_compat.c: Likewise.
29960 * math/w_tgammal_compat.c: Likewise.
29961 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29962 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29963 * sysdeps/ieee754/k_standard.c: Likewise.
29964 * sysdeps/ieee754/k_standardf.c: Likewise.
29965 * sysdeps/ieee754/k_standardl.c: Likewise.
29966 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29967 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29968 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29969 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29970 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29971 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29972 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29973 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29974 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29976 Likewise.
29977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29978 Likewise.
29979 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29980 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29981 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29982 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29983
29984 2017-08-21 Florian Weimer <fweimer@redhat.com>
29985
29986 [BZ #21864]
29987 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
29988 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
29989 Move before inclusion of ../Rules.
29990
29991 2017-08-21 Florian Weimer <fweimer@redhat.com>
29992
29993 [BZ #21972]
29994 * assert/assert.h (assert): Use static_cast (bool) for C++.
29995 Use the ternary operator in the warning branch for GNU C.
29996 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
29997 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
29998 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
29999 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30000 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30001
30002 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30003
30004 [BZ #18822]
30005 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30006 (__syscall_clock_gettime): Add attribute_hidden.
30007 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30008 (__start_context): Likewise.
30009
30010 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30011
30012 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30013 building libc.a.
30014 (hidden_proto): Likewise.
30015 (hidden_tls_proto): Likewise.
30016 (__hidden_proto): Likewise.
30017
30018 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30019
30020 * include/libc-symbols.h (attribute_hidden): Enable hidden
30021 visibility in libc.a compiled with PIE.
30022
30023 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30024
30025 [BZ #18822]
30026 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30027 Add attribute_hidden.
30028
30029 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30030
30031 [BZ #21864]
30032 * Makerules (all-nonlib): Add $(others-extras).
30033 * catgets/Makefile (others-extras): New.
30034 * elf/Makefile (others-extras): Likewise.
30035 * nss/Makefile (others-extras): Likewise.
30036
30037 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30038
30039 [BZ #18822]
30040 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30041 * elf/dl-open.c: Include <libc-internal.h>.
30042 (__libc_multiple_libcs): Removed.
30043 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30044 <hp-timing.h>.
30045 * include/libc-internal.h (__libc_multiple_libcs): New.
30046 * misc/sbrk.c: Include <libc-internal.h>.
30047 (__libc_multiple_libcs): Removed.
30048
30049 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30050
30051 [BZ #18822]
30052 * grp/initgroups.c (__nss_group_database): Removed.
30053 (__nss_initgroups_database): Likewise.
30054 * nscd/gai.c (__nss_hosts_database): Likewise.
30055 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30056 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30057 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30058 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30059 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30060 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30061 attribute_hidden.
30062 * nss/nsswitch.c (__nss_database_custom): Define only if
30063 USE_NSCD is defined.
30064 (__nss_configure_lookup): Use __nss_database_custom only if
30065 USE_NSCD is defined.
30066 * nss/nsswitch.h (__nss_database_custom): Declare only if
30067 USE_NSCD is defined. Add attribute_hidden.
30068 (__nss_setent): Add attribute_hidden.
30069 (__nss_endent): Likewise.
30070 (__nss_getent_r): Likewise.
30071 (__nss_getent): Likewise.
30072 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30073
30074 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30075
30076 [BZ #18822]
30077 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30078 libc_hidden_proto and libc_hidden_def.
30079
30080 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30081
30082 [BZ #18822]
30083 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30084 Add libc_hidden_proto.
30085 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30086 Add libc_hidden_def.
30087
30088 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30089
30090 [BZ #21974]
30091 * gmon/Makefile (routines): Remove bb_init_func and
30092 bb_exit_func.
30093 (elide-routines.os): Removed.
30094 * gmon/bb_exit_func.c: Likewise.
30095 * gmon/bb_init_func.c: Likewise.
30096 * include/sys/gmon.h (__bb): Likewise.
30097 (__bb_init_func): Likewise.
30098 (__bb_exit_func): Likewise.
30099 * sysdeps/alpha/bb_init_func.S: Likewise.
30100
30101 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30102
30103 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30104 * include/setjmp.h (____longjmp_chk): Here. Add
30105 attribute_hidden.
30106
30107 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30108
30109 [BZ #18822]
30110 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30111 attribute_hidden.
30112 (__strspn_sse2): Likewise.
30113
30114 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30115
30116 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30117 (close_not_cancel_no_status): Likewise.
30118 (__close_nocancel): New macro.
30119 (__close_nocancel_nostatus): Likewise.
30120 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30121 macro.
30122 (close_not_cancel): Likewise.
30123 (close_not_cancel_no_status): Likewise.
30124 (__close_nocancel): New prototype.
30125 (__close_nocancel_nostatus): New function.
30126 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30127 * catgets/open_catalog.c (__open_catalog): Replace
30128 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30129 * gmon/gmon.c (write_gmon): Likewise.
30130 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30131 * intl/loadmsgcat.c (close): Likewise.
30132 * io/ftw.c (open_dir_stream): Likewise.
30133 (ftw_startup): Likewise.
30134 * libio/fileops.c (_IO_file_open): Likewise.
30135 (_IO_file_close_mmap): Likewise.
30136 (_IO_file_close): Likewise.
30137 * libio/iopopen.c (_IO_dup2): Likewise.
30138 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30139 * locale/loadlocale.c (_nl_load_locale): Likewise.
30140 * login/utmp_file.c (pututline_file): Likewise.
30141 (endutent_file): Likewise.
30142 * misc/daemon.c (daemon): Likewise.
30143 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30144 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30145 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30146 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30147 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30148 * nscd/nscd_helper.c (open_socket): Likewise.
30149 (__nscd_open_socket): Likewise.
30150 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30151 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30152 (__nscd_innetgr): Likewise.
30153 * nss/nss_db/db-open.c (internal_setent): Likewise.
30154 * resolv/res-close.c (__res_iclose): Likewise.
30155 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30156 * sysdeps/posix/closedir.c (__closedir): Likewise.
30157 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30158 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30159 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30160 (opendir_tail): Likewise.
30161 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30162 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30163 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30164 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30165 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30166 (gethostid): Likewise.
30167 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30168 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30169 Likewise.
30170 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30171 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30172 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30173 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30174 Likewise.
30175 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30176 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30177 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30178 Likewise.
30179 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30180 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30181 Likewise.
30182 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30183 Likewise.
30184 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30185 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30186 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30187 __close_nocancel.
30188
30189 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30190 (openat_not_cancel_3): Likewise.
30191 (openat64_not_cancel_3): Likewise).
30192 (openat_not_cancel_3): Likewise).
30193 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30194 macro.
30195 (openat_not_cancel_3): Likewise.
30196 (openat64_not_cancel): Likewise.
30197 (openat64_not_cancel_3): Likewise.
30198 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30199 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30200 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30201 __open{64}_nocancel.
30202 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30203 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30204 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30205
30206 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30207
30208 [BZ #18822]
30209 * include/argz.h (__argz_create_sep): New function prototype.
30210 (__argz_append): Likewise.
30211 (__argz_add): Likewise.
30212 (__argz_add_sep): Likewise.
30213 (__argz_delete): Likewise.
30214 (__argz_insert): Likewise.
30215 (__argz_replace): Likewise.
30216 * string/argz.h (__argz_create_sep): Removed.
30217 (__argz_append): Likewise.
30218 (__argz_add): Likewise.
30219 (__argz_add_sep): Likewise.
30220 (__argz_delete): Likewise.
30221 (__argz_insert): Likewise.
30222 (__argz_replace): Likewise.
30223
30224 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30225
30226 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30227 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30228 (GNU_PROPERTY_STACK_SIZE): Likewie.
30229 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30230 (GNU_PROPERTY_LOPROC): Likewise.
30231 (GNU_PROPERTY_HIPROC): Likewise.
30232 (GNU_PROPERTY_LOUSER): Likewise.
30233 (GNU_PROPERTY_HIUSER): Likewise.
30234 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30235 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30236 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30237 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30238 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30239 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30240 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30241 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30242 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30243 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30244 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30245 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30246 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30247 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30248 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30249 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30250 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30251 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30252 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30253 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30254 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30255 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30256 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30257
30258 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30259
30260 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30261 in C++ mode.
30262
30263 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30264
30265 [BZ #21930]
30266 * math/math.h (isinf): Check if in C or C++ mode before using
30267 __builtin_types_compatible_p, since this is a C mode feature.
30268
30269 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30270
30271 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30272 (__write_nocancel): New macro.
30273 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30274 Rewrite as a function prototype.
30275 (write_not_cancel): Remove macro.
30276 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30277 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30278 (write_gmon): Likewise.
30279 * libio/fileops.c (_IO_new_file_write): Likewise.
30280 * login/utmp_file.c (pututline_file): Likewise.
30281 (updwtmp_file): Likewise.
30282 * stdio-common/psiginfo.c (psiginfo): Likewise.
30283 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30284 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30285 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30286 Likewise.
30287 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30288 Likewise.
30289
30290 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30291 (__read_nocancel): New macro.
30292 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30293 __read_nocancel.
30294 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30295 macro.
30296 (__read_nocancel): New prototype.
30297 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30298 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30299 with __read_nocancel.
30300 * intl/loadmsgcat.c (read): Likewise.
30301 * libio/fileops.c (_IO_file_read): Likewise.
30302 * locale/loadlocale.c (_nl_load_locale): Likewise.
30303 * login/utmp_file.c (getutent_r_file): Likewise.
30304 (internal_getut_r): Likewise.
30305 (getutline_r_file): Likewise.
30306 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30307 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30308 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30309 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30310 Likewise.
30311 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30312 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30313 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30314 Likewise.
30315 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30316 Likewise.
30317 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30318 Likewise.
30319 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30320 Likewise.
30321 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30322
30323 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30324
30325 [BZ #21966]
30326 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30327 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30328 usable.
30329
30330 2017-08-17 DJ Delorie <dj@redhat.com>
30331
30332 * bug17079.c: Update to new test harness.
30333 * test-digits-dots.c: Likewise.
30334 * test-netdb.c: Likewise.
30335 * tst-field.c: Likewise.
30336 * tst-nss-getpwent.c: Likewise.
30337 * tst-nss-static.c: Likewise.
30338 * tst-nss-test1.c: Likewise.
30339 * tst-nss-test2.c: Likewise.
30340 * tst-nss-test3.c: Likewise.
30341 * tst-nss-test4.c: Likewise.
30342 * tst-nss-test5.c: Likewise.
30343
30344 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30345
30346 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30347 (open_not_cancel_2): Likewise.
30348 (open_nocancel): New macro.
30349 (open64_nocancel): Likewise.
30350 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30351 (open_not_cancel_2): Likewise.
30352 (__open_nocancel): New prototype.
30353 (__open64_nocancel): Likewise.
30354 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30355 __open_nocancel.
30356 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30357 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30358 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30359 with __open_nocancel.
30360 * csu/check_fds.c (check_one_fd): Likewise.
30361 * gmon/gmon.c (write_gmon): Likewise.
30362 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30363 * intl/loadmsgcat.c (open): Likewise.
30364 * libio/fileops.c (_IO_file_open): Likewise.
30365 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30366 * locale/loadlocale.c (_nl_load_locale): Likewise.
30367 * login/utmp_file.c (setutent_file): Likewise.
30368 * misc/daemon.c (daemon): Likewise.
30369 * nss/nss_db/db-open.c (internal_setent): Likewise.
30370 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30371 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30372 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30373 (__opendir): Likewise.
30374 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30375 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30376 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30377 (gethostid): Likewise.
30378 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30379 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30380 Likewise.
30381 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30382 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30383 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30384 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30385 Likewise.
30386 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30387 Likewise.
30388 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30389 Likewise.
30390 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30391 Likewise.
30392 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30393 Likewise.
30394 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30395 Likewise.
30396 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30397 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30398
30399 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30400
30401 * benchtests/bench-skeleton.c (main): Add support for
30402 latency benchmarking.
30403 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30404
30405 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30406
30407 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30408 the startup object.
30409
30410 2017-08-17 Florian Weimer <fweimer@redhat.com>
30411
30412 * include/sys/socket.h (__opensock): Remove internal_function.
30413 * socket/opensock.c (__opensock): Likewise.
30414 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30415
30416 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30417
30418 [BZ #21944]
30419 * signal/bits/types/__sigval_t.h: New file.
30420 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30421 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30422 and define sigval_t using __sigval_t.
30423 * include/bits/types/__sigval_t.h: New file.
30424 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30425 instead of <bits/types/__sigval_t.h>.
30426 (struct sigevent): Use __sigval_t instead of sigval_t.
30427 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30428 instead of <bits/types/__sigval_t.h>.
30429 (siginfo_t): Use __sigval_t instead of sigval_t.
30430 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30431 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30432 (struct sigevent): Use __sigval_t instead of sigval_t.
30433 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30434 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30435 (siginfo_t): Use __sigval_t instead of sigval_t.
30436 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30437
30438 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30439
30440 * NEWS: Remove "[Add new features here]" for 2.27.
30441
30442 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30443
30444 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30445 libc.so.
30446
30447 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30448
30449 * NEWS: Mention x86-64 FMA optimization.
30450
30451 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30452
30453 [BZ #21912]
30454 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30455 Add e_expf-fma.
30456 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30457 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30458 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30459
30460 2017-08-16 Andreas Schwab <schwab@suse.de>
30461
30462 [BZ #16750]
30463 CVE-2009-5064
30464 * elf/ldd.bash.in: Never run file directly.
30465
30466 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30467
30468 [BZ #21955]
30469 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30470 (L(SP_INF_0)): Likewise.
30471
30472 2017-08-15 Florian Weimer <fweimer@redhat.com>
30473
30474 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30475 run-built-tests.
30476
30477 2017-08-15 Florian Weimer <fweimer@redhat.com>
30478
30479 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30480 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30481 BROKEN_THREAD_SIGNALS code.
30482 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30483 request_list): Remove caller_pid member used for
30484 BROKEN_THREAD_SIGNALS.
30485 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30486 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30487 Remove BROKEN_THREAD_SIGNALS support.
30488 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30489 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30490
30491 2017-08-15 Florian Weimer <fweimer@redhat.com>
30492
30493 * gmon/Makefile (tests): Add tst-gmon.
30494 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30495 Set.
30496 (tests-special): Add tst-gmon-prof.out.
30497 (tst-gmon.out): Depend on clean-tst-gmon-data.
30498 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30499 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30500 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30501 startup object.
30502 * aclocal.m4 (GPROF): Set and substitute.
30503 * config.amke.in (GPROF): Set.
30504 * configure: Regenerate.
30505
30506 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30507
30508 * elf/elf.h A (NT_PPC_TAR): New macro.
30509 (NT_PPC_PPR): Likewise.
30510 (NT_PPC_DSCR): Likewise.
30511 (NT_PPC_EBB): Likewise.
30512 (NT_PPC_PMU): Likewise.
30513 (NT_PPC_TM_CGPR): Likewise.
30514 (NT_PPC_TM_CFPR): Likewise.
30515 (NT_PPC_TM_CVMX): Likewise.
30516 (NT_PPC_TM_CVSX): Likewise.
30517 (NT_PPC_TM_SPR): Likewise.
30518 (NT_PPC_TM_CTAR): Likewise.
30519 (NT_PPC_TM_CPPR): Likewise.
30520 (NT_PPC_TM_CDSCR): Likewise.
30521
30522 2017-08-15 Florian Weimer <fweimer@redhat.com>
30523
30524 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30525 regparm (2) instead of internal_function.
30526 (_MCOUNT_DECL): Adjust.
30527
30528 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30529
30530 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30531 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30532
30533 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30534
30535 * conform/data/sys/wait.h-data (si_value): Do not expect for
30536 XPG42.
30537
30538 2017-08-14 Florian Weimer <fweimer@redhat.com>
30539
30540 [BZ #21962]
30541 NSS: Create stubs for accidentally exported lookup functions.
30542 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30543 Remove declaration.
30544 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30545 (ether_hostton): Call __nss_ethers_lookup2 instead.
30546 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30547 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30548 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30549 (setup): Call __nss_netgroup_lookup2 instead.
30550 * nss/Makefile (routines): Add compat-lookup.
30551 * nss/Versions (GLIBC_2.27): Add symbol version.
30552 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30553 (DB_COMPAT_FCT): Remove.
30554 * nss/compat-lookup.c: New file.
30555 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30556 from databases.def.
30557 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30558 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30559 (netname2user): Call __nss_publickey_lookup2 instead.
30560 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30561 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30562 instead.
30563
30564 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30565 Sergei Trofimovich <slyfox@inbox.ru>
30566
30567 [BZ #21908]
30568 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30569 Rename to MMAP2_PAGE_UNIT.
30570 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30571 __OFF_T_MATCHES_OFF64_T is not defined.
30572 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30573 uint64_t.
30574 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30575 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30576
30577 2017-08-14 Florian Weimer <fweimer@redhat.com>
30578
30579 i386: Do not set internal_function.
30580 * config.h.in (USE_REGPARMS, internal_function): Remove.
30581 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30582 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30583
30584 2017-08-14 Florian Weimer <fweimer@redhat.com>
30585
30586 * elf/dl-init.c (_dl_init): Remove internal_function.
30587 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30588 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30589
30590 2017-08-14 Florian Weimer <fweimer@redhat.com>
30591
30592 * elf/rtld.c (_dl_start): Remove internal_function.
30593 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30594 _dl_start.
30595
30596 2017-08-14 Florian Weimer <fweimer@redhat.com>
30597
30598 * elf/dl-fini.c (_dl_fini): Remove internal_function
30599 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30600
30601 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30602
30603 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30604 (bit_cpu_SHSTK): Likewise.
30605 (index_cpu_IBT): Likewise.
30606 (index_cpu_SHSTK): Likewise.
30607 (reg_IBT): Likewise.
30608 (reg_SHSTK): Likewise.
30609 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30610 Handle index_cpu_IBT and index_cpu_SHSTK.
30611
30612 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30613
30614 [BZ #19982]
30615 * po/fr.po: Fix spelling mistake.
30616
30617 2017-08-13 Florian Weimer <fweimer@redhat.com>
30618
30619 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30620 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30621 (_dl_catch_error, _dl_receive_error): Likewise.
30622 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30623 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30624 (_dl_deallocate_tls): Likewise.
30625 * include/dlfcn.h (_dl_addr): Likewise.
30626 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30627 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30628 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30629 Likewise.
30630
30631 2017-08-13 Florian Weimer <fweimer@redhat.com>
30632
30633 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30634 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30635 internal_function.
30636 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30637
30638 2017-08-13 Florian Weimer <fweimer@redhat.com>
30639
30640 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30641 internal_function.
30642 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30643 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30644 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30645 internal_function from _dl_make_stack_executable_hook member.
30646 (_dl_make_stack_executable): Remove internal_function.
30647 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30648 Likewise.
30649 * sysdeps/unix/sysv/linux/dl-execstack.c
30650 (_dl_make_stack_executable): Likewise.
30651
30652 2017-08-13 Florian Weimer <fweimer@redhat.com>
30653
30654 * sysdeps/unix/sysv/linux/netlinkaccess.h
30655 (__netlink_assert_response): Remove internal_function.
30656 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30657 (__netlink_assert_response): Likewise.
30658
30659 2017-08-13 Florian Weimer <fweimer@redhat.com>
30660
30661 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30662 internal_function.
30663 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30664
30665 2017-08-13 Florian Weimer <fweimer@redhat.com>
30666
30667 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30668 internal_function.
30669 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30670 * inet/netgroup.h (__internal_setnetgrent)
30671 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30672 * inet/getnetgrent_r.c (__internal_setnetgrent)
30673 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30674 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30675 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30676 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30677 * nss/nsswitch.h (db_lookup_function): Likewise.
30678
30679 2017-08-13 Florian Weimer <fweimer@redhat.com>
30680
30681 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30682 Remove internal_function.
30683 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30684 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30685 message argument on the stack.
30686 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30687 Likeweise.
30688
30689 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30690
30691 Adapt test case data to the changes in the thousands
30692 separators.
30693
30694 [BZ #20756]
30695 * localedata/tst-langinfo.sh: Adapt test case data.
30696 * stdlib/tst-strfmon_l.c: Likewise.
30697 * stdlib/tst-strtod4.c: Likewise.
30698 * stdlib/tst-strtod5i.c: Likewise.
30699
30700 2017-08-11 Florian Weimer <fweimer@redhat.com>
30701
30702 [BZ #21242]
30703 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30704 Suppress pedantic warning resulting from statement expression.
30705 (__ASSERT_FUNCTION): Add missing __extension__.
30706
30707 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30708
30709 * benchtests/bench-memmove-large.c: Print output in JSON
30710 format.
30711 * benchtests/bench-memmove.c: Likewise.
30712
30713 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30714 * benchtests/bench-memchr.c (do_one_test): Likewise.
30715 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30716 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30717 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30718 * benchtests/bench-memmove.c (do_one_test): Likewise.
30719 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30720 * benchtests/bench-memset.c (do_one_test): Likewise.
30721 * benchtests/bench-string.h (test_init): Remove memsets.
30722
30723 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30724
30725 * manual/lang.texi
30726 (Computing the Width of an Integer Data Type): Rename section to
30727 "Width of an Integer Type". Remove inaccurate statement regarding
30728 lack of C language facilities for determining width of integer
30729 types, and reorder content to improve flow and context of
30730 discussion.
30731
30732 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30733
30734 * lang.texi (va_copy): Change standard from ISO to C99.
30735 (__va_copy): Add standard and header annotation.
30736 Update description for clarity of origins and current use.
30737
30738 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30739
30740 [BZ #21941]
30741 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30742 xssqrtqp requires operands to be in Vector Registers
30743 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30744 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30745 (__ieee754_sqrtf128): Likewise.
30746
30747 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30748
30749 * sysdeps/aarch64/memcmp.S (memcmp):
30750 Rewrite of optimized memcmp.
30751
30752 2017-08-10 Florian Weimer <fweimer@redhat.com>
30753
30754 Introduce ld.so exceptions.
30755 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30756 (_dl_exception_create, _dl_exception_create_format)
30757 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30758 (_dl_catch_exception): Declare.
30759 (_dl_catch_error): Update comment.
30760 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30761 errstring, malloced members with exception member.
30762 (_dl_out_of_memory): Remove.
30763 (fatal_error): New function, extracted from _dl_signal_error.
30764 (_dl_signal_exception, _dl_signal_cexception): New functions.
30765 (_dl_signal_error): Call _dl_exception_create to allocate an
30766 exception object.
30767 (_dl_catch_exception): New function, based on _dl_catch_error.
30768 (_dl_catch_error): Implement using _dl_catch_exception.
30769 * elf/dl-exception.c: New file.
30770 * elf/Makefile (dl-routines): Add dl-exception.
30771 (elide-routines.os): Likewise.
30772 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30773 _dl_exception_create_format, _dl_exception_free.
30774 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30775 _dl_signal_exception.
30776 * elf/dl-lookup.c (make_string): Remove.
30777 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30778 _dl_signal_cexception, _dl_exception_free.
30779 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30780 _dl_signal_exception.
30781 * elf/dl-sym.c (do_sym): Likewise.
30782 * elf/dl-version.c (make_string): Remove.
30783 (match_symbol): Use _dl_exception_create_format,
30784 _dl_signal_cexception, _dl_exception_free.
30785 (_dl_check_map_versions): Likewise.
30786 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30787 _dl_catch_exception.
30788 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30789 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30790 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30791 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30792 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30793 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30794 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30795 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30796 Likewise.
30797 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30799 (ld.so): Likewise.
30800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30801 (ld.so): Likewise.
30802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30803 Likewise.
30804 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30805 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30806 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30807 Likewise.
30808 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30809 Likewise.
30810 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30811
30812 2017-08-10 Florian Weimer <fweimer@redhat.com>
30813
30814 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30815 attribute_hidden, internal_function.
30816 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30817 internal_function.
30818
30819 2017-08-10 Florian Weimer <fweimer@redhat.com>
30820
30821 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30822 function which calls __builtin_unreachable.
30823
30824 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30825
30826 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30827 Indian monetary formatting
30828 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30829 test cases.
30830
30831 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30832
30833 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30834 Fix typo in comment.
30835
30836 [BZ #21928]
30837 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30838 PTRACE_SEIZE_DEVEL): Remove.
30839 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30840 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30841 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30842 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30843 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30844
30845 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30846
30847 * posix/bits/types.h (__qaddr_t): Remove.
30848
30849 [BZ #21457]
30850 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30851 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30852 __glibc_reserved1.
30853 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30854 (ucontext_t): Use __ctx with uc_flags.
30855 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30856 (__ctxt): Likewise.
30857 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30858 __glibc_reserved1.
30859 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30860 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30861 __glibc_reserved1.
30862 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30863 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30864 __glibc_reserved1.
30865 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30866 macro.
30867 (ucontext_t): Use __ctx with uc_flags.
30868 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30869 (ucontext_t): Use __ctx with uc_flags.
30870 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30871 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30872 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30873 (ucontext_t): Use __ctx with uc_flags.
30874 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30875 undefine further down.
30876 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30877 __glibc_reserved1.
30878 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30879 undefine further down.
30880 (ucontext_t): Use __ctx with uc_flags.
30881 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30882 undefine further down.
30883 (ucontext_t): Use __ctx with uc_flags.
30884 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30885 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30886 Rename uc_pad to __glibc_reserved1.
30887 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30888 undefine further down.
30889 (ucontext_t): Use __ctx with uc_flags.
30890 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30891 further down.
30892 (ucontext_t): Use __ctx with uc_flags.
30893 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30894 __ctx with uc_flags.
30895 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30896 (ucontext_t): Use __ctx with uc_flags.
30897 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30898 __ctx with uc_flags.
30899
30900 2017-08-09 Florian Weimer <fweimer@redhat.com>
30901
30902 [BZ #21932]
30903 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30904 before early return.
30905
30906 2017-08-09 Andreas Schwab <schwab@suse.de>
30907
30908 [BZ #21041]
30909 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30910 renamed alias.
30911
30912 [BZ #21041]
30913 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30914 tst-compat-forwarder.
30915 (modules-names): Add tst-compat-forwarder-mod.
30916 ($(objpfx)tst-compat-forwarder): Depend on
30917 $(objpfx)tst-compat-forwarder-mod.so.
30918 * nptl/tst-compat-forwarder.c: New file.
30919 * nptl/tst-compat-forwarder-mod.c: New file.
30920
30921 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30922
30923 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30924 comments.
30925
30926 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30927 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30928 memcpy_falkor.
30929 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30930 Bump.
30931 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30932 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30933 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30934 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30935 Add falkor.
30936 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30937 New macro.
30938
30939 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30940
30941 [BZ #759]
30942 * manual/setjmp.texi (getcontex): Document uc_stack value
30943 compatibility differences.
30944
30945 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30946
30947 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30948 (old_malloc_hook): Likewise.
30949 (old_memalign_hook): Likewise.
30950 (old_realloc_hook): Likewise.
30951 (struct hdr): Likewise.
30952 (flood): Likewise.
30953 (freehook): Likewise.
30954 (mallochook): Likewise.
30955 (memalignhook): Likewise.
30956 (reallochook): Likewise.
30957 (mprobe): Likewise.
30958 * malloc/mtrace.c (mallwatch): Likewise.
30959 (tr_old_free_hook): Likewise.
30960 (tr_old_malloc_hook): Likewise.
30961 (tr_old_realloc_hook): Likewise.
30962 (tr_old_memalign_hook): Likewise.
30963 (tr_where): Likewise.
30964 (lock_and_info): Likewise.
30965 (tr_freehook): Likewise.
30966 (tr_mallochook): Likewise.
30967 (tr_reallochook): Likewise.
30968 (tr_memalignhook): Likewise.
30969 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30970 * misc/mmap.c (__mmap): Likewise.
30971 * misc/mmap64.c (__mmap64): Likewise.
30972 * misc/mprotect.c (__mprotect): Likewise.
30973 * misc/msync.c (msync): Likewise.
30974 * misc/munmap.c (__munmap): Likewise.
30975 * posix/posix_madvise.c (posix_madvise): Likewise.
30976 * socket/send.c (__send): Likewise.
30977 * socket/sendto.c (__sendto): Likewise.
30978 * socket/setsockopt.c (__setsockopt): Likewise.
30979 * string/memcmp.c (__ptr_t): Remove macro.
30980 (MEMCMP): Use void * instead of ptr_t.
30981 * string/memrchr.c (__ptr_t): Remove macro.
30982 (__memrchr): Use void * instead of ptr_t.
30983 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
30984 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30985 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30986 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
30987 * sysdeps/mach/msync.c (msync): Likewise.
30988 * sysdeps/mach/munmap.c (__munmap): Likewise.
30989 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
30990 Likewise.
30991 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30992 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
30993 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
30994 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
30995 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30996 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30997 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
30998 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
30999 Likewise.
31000 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31001 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31002 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31003 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31004 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31005 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31006 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31007 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31008 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31009 Likewise.
31010 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31011 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31012 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31013 (MEMCMP): Use void * instead of ptr_t.
31014 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31015 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31016
31017 2017-08-08 Florian Weimer <fweimer@redhat.com>
31018
31019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31020 return statement.
31021
31022 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31023
31024 [BZ #21913]
31025 * csu/libc-tls.c: Include <startup.h> first.
31026 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31027 * elf/dl-tunables.c: Include <startup.h> first.
31028 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31029 * sysdeps/generic/startup.h: New file.
31030 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31031 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31032 (I386_USE_SYSENTER): New. Defined to 0.
31033
31034 2017-08-08 Andreas Schwab <schwab@suse.de>
31035
31036 [BZ #21041]
31037 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31038 * nptl/pt-system.c (system): Likewise.
31039
31040 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31041
31042 [BZ #21780]
31043 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31044 EOPNOTSUPP.
31045 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31046 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31047 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31048 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31049 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31050 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31051 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31052
31053 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31054
31055 [BZ #21899]
31056 * bits/sigaction.h (struct sigaction): Define sa_handler and
31057 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31058 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31059 [__USE_XOPEN_EXTENDED].
31060 (SA_RESTART): Likewise.
31061 (SA_NODEFER): Likewise.
31062 (SA_RESETHAND): Likewise.
31063 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31064 (struct sigaction): Define sa_handler and sa_sigaction using union
31065 also for [__USE_XOPEN_EXTENDED].
31066 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31067 [__USE_XOPEN_EXTENDED].
31068 (SA_RESTART): Likewise.
31069 (SA_NODEFER): Likewise.
31070 (SA_RESETHAND): Likewise.
31071 * sysdeps/unix/sysv/linux/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 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31080 (struct sigaction): Define sa_handler and sa_sigaction using union
31081 also for [__USE_XOPEN_EXTENDED].
31082 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31083 [__USE_XOPEN_EXTENDED].
31084 (SA_RESTART): Likewise.
31085 (SA_NODEFER): Likewise.
31086 (SA_RESETHAND): Likewise.
31087 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31088 (struct sigaction): Define sa_handler and sa_sigaction using union
31089 also for [__USE_XOPEN_EXTENDED].
31090 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31091 [__USE_XOPEN_EXTENDED].
31092 (SA_RESTART): Likewise.
31093 (SA_NODEFER): Likewise.
31094 (SA_RESETHAND): Likewise.
31095 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31096 (struct sigaction): Define sa_handler and sa_sigaction using union
31097 also for [__USE_XOPEN_EXTENDED].
31098 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31099 [__USE_XOPEN_EXTENDED].
31100 (SA_RESTART): Likewise.
31101 (SA_NODEFER): Likewise.
31102 (SA_RESETHAND): Likewise.
31103 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31104 (struct sigaction): Define sa_handler and sa_sigaction using union
31105 also for [__USE_XOPEN_EXTENDED].
31106 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31107 [__USE_XOPEN_EXTENDED].
31108 (SA_RESTART): Likewise.
31109 (SA_NODEFER): Likewise.
31110 (SA_RESETHAND): Likewise.
31111 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31112 (struct sigaction): Define sa_handler and sa_sigaction using union
31113 also for [__USE_XOPEN_EXTENDED].
31114 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31115 [__USE_XOPEN_EXTENDED].
31116 (SA_RESTART): Likewise.
31117 (SA_NODEFER): Likewise. Define directly rather than as alias.
31118 (SA_RESETHAND): Likewise.
31119 (SA_INTERRUPT): Define only for [__USE_MISC].
31120 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31121 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31122 [__USE_MISC].
31123 (SA_STACK): Define only for [__USE_MISC].
31124 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31125 (struct sigaction): Define sa_handler and sa_sigaction using union
31126 also for [__USE_XOPEN_EXTENDED].
31127 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31128 [__USE_XOPEN_EXTENDED].
31129 (SA_RESTART): Likewise.
31130 (SA_NODEFER): Likewise.
31131 (SA_RESETHAND): Likewise.
31132 (SA_NOPTRACE): Define only for [__USE_MISC].
31133
31134 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31135 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31136 (struct catalog_info): Likewise.
31137 * inet/htontest.c (lo): Likewise.
31138 (foo): Likewise.
31139 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31140 * inet/inet_net.c (inet_network): Likewise.
31141 * inet/inet_netof.c (inet_netof): Likewise.
31142 * inet/rcmd.c (__ivaliduser): Likewise.
31143 (iruserok): Likewise.
31144 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31145 * locale/programs/locale-spec.c (locale_special): Likewise.
31146 * nis/nis_findserv.c (struct findserv_req): Likewise.
31147 (__nis_findfastest_with_timeout): Likewise.
31148 * nss/test-netdb.c (test_network): Likewise.
31149 * resolv/inet_neta.c (inet_neta): Likewise.
31150 * resolv/ns_date.c (ns_datetosecs): Likewise.
31151 (SECS_PER_DAY): Likewise.
31152 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31153 Likewise.
31154 * resolv/res_comp.c (__putlong): Likewise.
31155 (__putshort): Likewise.
31156 (_getlong): Likewise.
31157 (_getshort): Likewise.
31158 * resolv/res_debug.c (p_time): Likewise.
31159 (precsize_ntoa): Likewise.
31160 (precsize_aton): Likewise.
31161 (latlon2ul): Likewise.
31162 (loc_aton): Likewise.
31163 (loc_ntoa): Likewise.
31164 * resolv/res_hconf.c (struct netaddr): Likewise.
31165 (_res_hconf_reorder_addrs): Likewise.
31166 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31167 (clnttcp_control): Likewise.
31168 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31169 (clntudp_control): Likewise.
31170 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31171 (clntunix_control): Likewise.
31172 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31173 * sunrpc/rpc/auth.h (union des_block): Likewise.
31174 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31175 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31176 (xdrrec_create): Likewise.
31177 (xdrrec_endofrecord): Likewise.
31178 (flush_out): Likewise.
31179 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31180 (xdrstdio_putlong): Likewise.
31181 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31182 Likewise.
31183
31184 * misc/sys/cdefs.h (__long_double_t): Remove.
31185 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31186 instead of __long_double_t,
31187 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31188
31189 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31190
31191 * benchtests/scripts/compare_strings.py: Avoid display error when
31192 running on a text terminal.
31193
31194 * benchtests/scripts/compare_strings.py (main): Add an
31195 optional -base option.
31196 (process_results): New argument base_func.
31197
31198 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31199 hardcoding memcpy.
31200 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31201 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31202
31203 2017-08-07 Andreas Schwab <schwab@suse.de>
31204
31205 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31206 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31207 * intl/Makefile ($(objpfx)tst-gettext.out)
31208 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31209 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31210 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31211 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31212 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31213 * posix/Makefile ($(objpfx)globtest.out)
31214 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31215 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31216 ($(objpfx)tst-printf.out): Likewise.
31217 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31218 ($(objpfx)tst-setcontext3.out): Likewise.
31219
31220 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31221
31222 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31223 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31224 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31225 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31226 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31227 and mptan-fma.
31228 (CFLAGS-doasin-fma.c): New.
31229 (CFLAGS-dosincos-fma.c): Likewise.
31230 (CFLAGS-e_asin-fma.c): Likewise.
31231 (CFLAGS-e_atan2-fma.c): Likewise.
31232 (CFLAGS-e_exp-fma.c): Likewise.
31233 (CFLAGS-e_log-fma.c): Likewise.
31234 (CFLAGS-e_pow-fma.c): Likewise.
31235 (CFLAGS-halfulp-fma.c): Likewise.
31236 (CFLAGS-mpa-fma.c): Likewise.
31237 (CFLAGS-mpatan-fma.c): Likewise.
31238 (CFLAGS-mpatan2-fma.c): Likewise.
31239 (CFLAGS-mpexp-fma.c): Likewise.
31240 (CFLAGS-mplog-fma.c): Likewise.
31241 (CFLAGS-mpsqrt-fma.c): Likewise.
31242 (CFLAGS-mptan-fma.c): Likewise.
31243 (CFLAGS-s_atan-fma.c): Likewise.
31244 (CFLAGS-sincos32-fma.c): Likewise.
31245 (CFLAGS-slowexp-fma.c): Likewise.
31246 (CFLAGS-slowpow-fma.c): Likewise.
31247 (CFLAGS-s_sin-fma.c): Likewise.
31248 (CFLAGS-s_tan-fma.c): Likewise.
31249 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31250 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31251 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31252 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31253 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31254 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31255 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31256 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31257 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31258 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31259 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31260 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31261 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31262 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31263 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31264 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31265 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31266 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31267 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31268 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31269 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31270 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31271 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31272 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31273 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31274 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31275 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31276 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31277 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31278 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31279 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31280
31281 2017-08-04 Joseph Myers <joseph@codesourcery.com>
31282
31283 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31284 (min_of_type_f): New macro.
31285 (min_of_type_): Likewise.
31286 (min_of_type_l): Likewise.
31287 (min_of_type_f128): Likewise.
31288 (min_of_type): Define using __MATH_TG and taking an expression
31289 argument.
31290 (math_check_force_underflow): Pass expression instead of type to
31291 min_of_type.
31292 (math_check_force_underflow_nonneg): Likewise.
31293
31294 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31295
31296 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31297 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31298 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31299
31300 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31301
31302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31303 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31304 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31305 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31306 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31307 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31308 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31309 memmove_chk-nonshared and memset_chk-nonshared
31310 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31311 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31312 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31313 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31314 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31315 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31316 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31317 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31318 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31319 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31320 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31321 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31322 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31323 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31324 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31325 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31326 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31327 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31328 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31329 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31330 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31331 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31332 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31333 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31334 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31335 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31336 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31337 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31338 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31339 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31340 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31341 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31342 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31343 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31344 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31345 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31346 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31347 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31348 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31349 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31350 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31351 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31352 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31353 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31354 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31355 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31356 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31357 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31358 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31359 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31360 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31361 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31362 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31363 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31364 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31365 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31366 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31367 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31368 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31369 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31370 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31371 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31372 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31373 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31374 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31375 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31376 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31377 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31378 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31379 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31380 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31381 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31382 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31383 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31384 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31385 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31386 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31387 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31388 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31389 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31390 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31391 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31392 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31393 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31394 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31395 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31396 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31397 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31398 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31399 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31400 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31401 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31402 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31403 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31404 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31405 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31406 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31407 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31408 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31409 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31410 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31411 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31412 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31413 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31414 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31415 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31416 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31417 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31418
31419 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31420
31421 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31422 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31423 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31424 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31425 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31426 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31427 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31428 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31429 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31430 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31431 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31432 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31433 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31434 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31435 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31436 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31437 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31438 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31439 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31440 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31441 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31442 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31443 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31444 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31445 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31446 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31447 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31448 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31449 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31450 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31451 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31452 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31453 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31454 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31455 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31456 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31457 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31458 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31459 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31460 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31461 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31462 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31463 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31464 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31465 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31466 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31467 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31468 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31469 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31470 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31471 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31472 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31473 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31474 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31475 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31476 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31477 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31478 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31479 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31480 ...
31481 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31482 Don't include <sysdep.h> nor <init-arch.h>.
31483 (_ZGVbN2v_cos): Removed.
31484 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31485 ...
31486 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31487 Don't include <sysdep.h> nor <init-arch.h>.
31488 (_ZGVdN4v_cos): Removed.
31489 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31490 ...
31491 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31492 Don't include <sysdep.h> nor <init-arch.h>.
31493 (_ZGVeN8v_cos): Removed.
31494 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31495 ...
31496 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31497 Don't include <sysdep.h> nor <init-arch.h>.
31498 (_ZGVbN2v_exp): Removed.
31499 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31500 ...
31501 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31502 Don't include <sysdep.h> nor <init-arch.h>.
31503 (_ZGVdN4v_exp): Removed.
31504 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31505 ...
31506 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31507 Don't include <sysdep.h> nor <init-arch.h>.
31508 (_ZGVeN8v_exp): Removed.
31509 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31510 ...
31511 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31512 Don't include <sysdep.h> nor <init-arch.h>.
31513 (_ZGVbN2v_log): Removed.
31514 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31515 ...
31516 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31517 Don't include <sysdep.h> nor <init-arch.h>.
31518 (_ZGVdN4v_log): Removed.
31519 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31520 ...
31521 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31522 Don't include <sysdep.h> nor <init-arch.h>.
31523 (_ZGVeN8v_log): Removed.
31524 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31525 ...
31526 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31527 Don't include <sysdep.h> nor <init-arch.h>.
31528 (_ZGVbN2vv_pow): Removed.
31529 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31530 ...
31531 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31532 Don't include <sysdep.h> nor <init-arch.h>.
31533 (_ZGVdN4vv_pow): Removed.
31534 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31535 ...
31536 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31537 Don't include <sysdep.h> nor <init-arch.h>.
31538 (_ZGVeN8vv_pow): Removed.
31539 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31540 ...
31541 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31542 Don't include <sysdep.h> nor <init-arch.h>.
31543 (_ZGVbN2v_sin): Removed.
31544 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31545 ...
31546 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31547 Don't include <sysdep.h> nor <init-arch.h>.
31548 (_ZGVbN4v_sin): Removed.
31549 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31550 ...
31551 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31552 Don't include <sysdep.h> nor <init-arch.h>.
31553 (_ZGVbN8v_sin): Removed.
31554 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31555 ...
31556 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31557 Don't include <sysdep.h> nor <init-arch.h>.
31558 (_ZGVbN2vvv_sincos): Removed.
31559 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31560 ...
31561 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31562 Don't include <sysdep.h> nor <init-arch.h>.
31563 (_ZGVdN4vvv_sincos): Removed.
31564 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31565 ...
31566 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31567 Don't include <sysdep.h> nor <init-arch.h>.
31568 (_ZGVeN8vvv_sincos): Removed.
31569 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31570 ...
31571 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31572 Don't include <sysdep.h> nor <init-arch.h>.
31573 (_ZGVeN16v_cosf): Removed.
31574 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31575 ...
31576 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31577 Don't include <sysdep.h> nor <init-arch.h>.
31578 (_ZGVbN4v_cosf): Removed.
31579 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31580 ...
31581 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31582 Don't include <sysdep.h> nor <init-arch.h>.
31583 (_ZGVdN8v_cosf): Removed.
31584 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31585 ...
31586 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31587 Don't include <sysdep.h> nor <init-arch.h>.
31588 (_ZGVeN16v_expf): Removed.
31589 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31590 ...
31591 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31592 Don't include <sysdep.h> nor <init-arch.h>.
31593 (_ZGVbN4v_expf): Removed.
31594 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31595 ...
31596 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31597 Don't include <sysdep.h> nor <init-arch.h>.
31598 (_ZGVdN8v_expf): Removed.
31599 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31600 ...
31601 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31602 Don't include <sysdep.h> nor <init-arch.h>.
31603 (_ZGVeN16v_logf): Removed.
31604 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31605 ...
31606 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31607 Don't include <sysdep.h> nor <init-arch.h>.
31608 (_ZGVbN4v_logf): Removed.
31609 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31610 ...
31611 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31612 Don't include <sysdep.h> nor <init-arch.h>.
31613 (_ZGVdN8v_logf): Removed.
31614 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31615 ...
31616 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31617 Don't include <sysdep.h> nor <init-arch.h>.
31618 (_ZGVeN16vv_powf): Removed.
31619 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31620 ...
31621 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31622 Don't include <sysdep.h> nor <init-arch.h>.
31623 (_ZGVbN4vv_powf): Removed.
31624 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31625 ...
31626 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31627 Don't include <sysdep.h> nor <init-arch.h>.
31628 (_ZGVdN8vv_powf): Removed.
31629 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31630 ...
31631 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31632 Don't include <sysdep.h> nor <init-arch.h>.
31633 (_ZGVeN16vvv_sincosf): Removed.
31634 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31635 ...
31636 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31637 Don't include <sysdep.h> nor <init-arch.h>.
31638 (_ZGVbN4vvv_sincosf): Removed.
31639 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31640 ...
31641 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31642 Don't include <sysdep.h> nor <init-arch.h>.
31643 (_ZGVdN8vvv_sincosf): Removed.
31644 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31645 ...
31646 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31647 Don't include <sysdep.h> nor <init-arch.h>.
31648 (_ZGVeN16v_sinf): Removed.
31649 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31650 ...
31651 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31652 Don't include <sysdep.h> nor <init-arch.h>.
31653 (_ZGVbN4v_sinf): Removed.
31654 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31655 ...
31656 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31657 Don't include <sysdep.h> nor <init-arch.h>.
31658 (_ZGVdN8v_sinf): Removed.
31659
31660 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31661
31662 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31663 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31664 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31665 s_rint-sse4_1 and s_rintf-sse4_1.
31666 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31667 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31668 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31669 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31670 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31671 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31672 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31673 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31674 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31675 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31676 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31677 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31678 (__ceil): Removed.
31679 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31680 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31681 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31682 (__ceilf): Removed.
31683 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31684 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31685 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31686 (__floor): Removed.
31687 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31688 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31689 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31690 (__floorf): Removed.
31691 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31692 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31693 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31694 (__nearbyint): Removed.
31695 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31696 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31697 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31698 (__nearbyintf): Removed.
31699 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31700 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31701 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31702 (__rint): Removed.
31703 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31704 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31705 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31706 (__rintf): Removed.
31707
31708 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31709
31710 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31711 SHARED. Avoid dynamic relocation against main in static PIE.
31712
31713 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31714
31715 [BZ #21815]
31716 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31717 (LDFLAGS-tst-prelink): Likewise.
31718
31719 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31720
31721 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31722 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31723 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31724 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31725 (INTERNAL_SYSCALL_NCS): Likewise.
31726 (LOADARGS_1): Likewise.
31727 (LOADARGS_5): Likewise.
31728 (RESTOREARGS_1): Likewise.
31729 (RESTOREARGS_5): Likewise.
31730
31731 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31732
31733 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31734 (MEMPCPY_SYMBOL): Likewise.
31735 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31736 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31737 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31738 in libc.a.
31739 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31740 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31741 Likewise.
31742 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31743 (__hidden_ver1): Don't use in libc.a.
31744 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31745 (__mempcpy): Don't create a weak alias in libc.a.
31746 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31747 libc.a.
31748 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31749 (__hidden_ver1): Don't use in libc.a.
31750
31751 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31752
31753 * config.make.in (have-insert): New.
31754 * configure.ac (libc_cv_insert): New. Set to yes if linker
31755 supports INSERT in linker script.
31756 (AC_SUBST(libc_cv_insert): New.
31757 * configure: Regenerated.
31758 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31759 if $(have-insert) == yes.
31760
31761 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31762
31763 * elf/Makefile (tests): Add vismain only if
31764 $(have-protected-data) == yes.
31765 (tests-pie): Likewise.
31766
31767 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31768
31769 [BZ #21871]
31770 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31771 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31772
31773 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31774
31775 [BZ #21790]
31776 * sysdeps/i386/i586/memset.S
31777 (__memset_zero_constant_len_parameter): Removed.
31778 * sysdeps/i386/i686/memset.S
31779 (__memset_zero_constant_len_parameter): Likewise.
31780 * sysdeps/i386/i686/multiarch/memset_chk.S
31781 (__memset_zero_constant_len_parameter): Likewise.
31782 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31783 Likewise.
31784
31785 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31786
31787 * stdlib/getentropy.c (getentropy): Change return type to int.
31788
31789 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31790
31791 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31792
31793 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31794
31795 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31796 u_intN_t.
31797 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31798 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31799 Likewise.
31800 (ieee_float_shape_type): Likewise.
31801 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31802 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31803 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31804 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31805 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31806 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31807 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31808 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31809 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31810 Likewise.
31811 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31812 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31813 (__ieee754_yn): Likewise.
31814 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31815 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31816 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31817 Likewise.
31818 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31819 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31820 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31821 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31822 (__erfc): Likewise.
31823 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31824 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31825 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31826 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31827 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31828 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31829 Likewise.
31830 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31831 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31832 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31833 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31834 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31835 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31836 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31837 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31838 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31839 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31840 (__issignaling): Likewise.
31841 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31842 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31843 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31844 Likewise.
31845 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31846 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31847 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31848 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31849 Likewise.
31850 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31851 Likewise.
31852 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31853 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31854 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31855 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31856 (__erfcf): Likewise.
31857 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31858 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31859 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31860 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31861 Likewise.
31862 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31863 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31864 Likewise.
31865 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31866 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31867 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31868 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31869 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31870 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31871 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31872 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31873 Likewise.
31874 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31875 Likewise.
31876 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31877 Likewise.
31878 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31879 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31880 Likewise.
31881 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31882 Likewise.
31883 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31884 (__ieee754_ynl): Likewise.
31885 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31886 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31887 Likewise.
31888 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31889 Likewise.
31890 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31891 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31892 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31893 Likewise.
31894 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31895 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31896 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31897 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31898 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31899 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31900 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31901 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31902 Likewise.
31903 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31904 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31905 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31906 Likewise.
31907 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31908 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31909 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31910 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31911 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31912 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31913 Likewise.
31914 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31915 Likewise.
31916 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31917 Likewise.
31918 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31919 Likewise.
31920 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31921 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31922 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31923 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31924 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31925 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31926 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31927 Likewise.
31928 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31929 Likewise.
31930 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31931 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31932 Likewise.
31933 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31934 (__ieee754_remainderl): Likewise.
31935 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31936 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31937 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31938 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31939 Likewise.
31940 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31941 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31942 Likewise.
31943 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31944 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31945 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31946 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31947 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31948 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31949 Likewise.
31950 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31951 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31952 (__ieee754_y0l): Likewise.
31953 (pzero): Likewise.
31954 (qzero): Likewise.
31955 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31956 (__ieee754_y1l): Likewise.
31957 (pone): Likewise.
31958 (qone): Likewise.
31959 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31960 (__ieee754_ynl): Likewise.
31961 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31962 (__ieee754_lgammal_r): Likewise.
31963 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31964 Likewise.
31965 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31966 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31967 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31968 (__erfcl): Likewise.
31969 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31970 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31971 Likewise.
31972 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31973 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31974 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31975 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31976 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31977 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31978 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31979 Likewise.
31980 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31981 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31982 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31983 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
31984 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31985 Likewise.
31986 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
31987 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
31988 Likewise.
31989 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
31990 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
31991 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
31992 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31993 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
31994
31995 2017-08-03 Florian Weimer <fweimer@redhat.com>
31996
31997 [BZ #21885]
31998 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
31999 on memory allocation failure.
32000
32001 2017-08-03 Alan Modra <amodra@gmail.com>
32002
32003 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32004 tst-tlsopt-powerpc.c with function name change and no test harness.
32005 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32006 Call tls_get_addr_opt_test.
32007 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32008 (modules-names): Add mod-tlsopt-powerpc.
32009 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32010 (tst-tlsopt-powerpc): Depend on .so.
32011 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32012 define. Expand use in TLS_GD and TLS_LD.
32013
32014 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32015
32016 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32017 function.
32018 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32019
32020 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32021
32022 [BZ #21686]
32023 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32024 comparing size with that of double.
32025 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32026 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32027 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32028 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32029 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32030 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32031 unsigned __int128 types.
32032
32033 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32034
32035 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32036 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32037 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32038 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32039 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32040
32041 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32042
32043 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32044
32045 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32046
32047 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32048 of SHARED.
32049 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32050 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32051 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32052 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32053 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32054 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32055 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32056
32057 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32058
32059 [BZ #21685]
32060 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32061 bit-field expressions passed to sizeof or typeof.
32062 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32063 (__TGMATH_F128): Likewise.
32064 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32065 (__TGMATH_CF128): Likewise.
32066 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32067 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32068 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32069 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32070 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32071 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32072 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32073 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32074 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32075 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32076 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32077 (__TGMATH_UNARY_IMAG): Likewise.
32078 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32079 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32080 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32081 type.
32082 (define_vars_for_type): Handle bit_field type specially.
32083 (Tests.__init__): Declare structure with bit-field element.
32084
32085 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32086
32087 [BZ #21791]
32088 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32089 (MEMCPY_CHK): Define only if SHARED is defined.
32090 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32091 Likewise.
32092 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32093 Likewise.
32094
32095 See ChangeLog.18 for earlier changes.