1 2019-04-09 Carlos O'Donell <carlos@redhat.com>
2 Kwok Cheung Yeung <kcy@codesourcery.com>
5 * malloc/mtrace.c: Define prototypes for all hooks.
6 (set_default_hooks): New function.
7 (set_trace_hooks): Likewise.
8 (save_default_hooks): Likewise.
9 (tr_freehook): Use new s*_hooks functions.
10 (tr_mallochook): Likewise.
11 (tr_reallochook): Likewise.
12 (tr_memalignhook): Likewise.
16 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
18 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
19 (generic_stpcpy): New function.
20 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
21 (generic_stpncpy): New function.
22 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
23 (generic_strcat): New function.
24 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
25 (generic_strcpy): New function.
26 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
27 (STUPID_STRNCAT): Remove function.
28 (generic_strncat): New function.
29 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
30 (STUPID_STRNCPY): Remove function.
31 (generic_strncpy): New function.
32 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
33 (generic_strnlen): New function.
34 (memchr_strnlen): New function.
35 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
36 (memchr_strlen): Likewise.
38 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
40 * benchtests/bench-strstr.c (input): Add realistic input text.
41 (stupid_strstr): Remove function.
42 (basic_strstr): Add function.
43 (twoway_strstr): Add function.
44 (do_one_test): Add result checking.
45 (do_test): Use new input text. Remove accidental early matches.
46 (test_main): Improve range of tests, reduce unaligned cases.
48 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
50 * benchtests/bench-memmem.c (simple_memmem): Remove function.
51 (basic_memmem): Add function.
52 (twoway_memmem): Add function.
54 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
56 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
57 * benchtests/bench-malloc-thread.c: Likewise.
58 * benchtests/bench-skeleton.c: Likewise.
59 * benchtests/bench-strtod.c: Likewise.
60 * benchtests/bench-timing.h: Likewise.
62 2019-04-08 Florian Weimer <fweimer@redhat.com>
64 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
66 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
67 RES_INSECURE2 security checks.
68 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
69 RES_INSECURE2 handling.
71 2019-04-08 Florian Weimer <fweimer@redhat.com>
73 resolv: Remove support for RES_USE_INET6 and the inet6 option.
74 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
75 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
77 * resolv/Makefile (tests): Remove tst-res_use_inet6.
78 (tests-internal): Update justification for tst-resolv-res_init,
79 tst-resolv-res_init-thread.
80 (tst-res_use_inet6): Remove target.
81 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
82 * resolv/res_debug.c (p_option): Remove "inet6" support.
83 * resolv/res_init.c (res_setoptions): Likewise.
84 * resolv/res_use_inet6.h: Remove file.
85 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
87 (res_use_inet6): Always return false.
88 * resolv/resolv.h (RES_USE_INET6): Remove definition.
89 * resolv/resolv_context.h: Adjust file comment.
90 (struct resolv_context): Update comment on __next field.
91 (__resolv_context_put): Update comment.
92 * resolv/tst-res_use_inet6.c: Remove file.
93 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
95 (test_cases): Adjust test case.
96 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
97 (thread_byname2_af_inet6): Use old byname_inet6 code.
98 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
99 (gai): Remove do_inet6 argument.
100 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
101 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
102 (thread_gai_unspec_inet6): Remove functions.
103 (do_test): Adjust thread_funcs.
104 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
106 (gaih_inet): Do not disable RES_USE_INET6 flag.
108 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
110 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
111 and remove redundant code.
113 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
115 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
117 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
118 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
120 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
122 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
124 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
125 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
126 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
127 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
128 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
129 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
130 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
131 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
133 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
135 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
136 Remove wcsrchr optimizations.
137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
139 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
142 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
144 * sysdeps/powerpc/power6/wcschr.c: Remove file.
145 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
147 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
149 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
151 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
152 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
153 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
154 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
155 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
156 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
157 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
158 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
160 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
162 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
163 Remove wcschr optimizations.
164 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
166 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
169 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
171 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
176 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
178 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
179 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
180 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
181 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
182 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
183 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
185 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
187 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
190 Remove wcscpy optimizations.
191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
193 * include/loop_unroll.h: New file.
194 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
195 besides generic implementation.
197 2019-04-03 DJ Delorie <dj@redhat.com>
199 * time/tst-strftime3.c (tm_to_printed): Disable warning about
200 snprintf truncating output.
202 2019-04-02 DJ Delorie <dj@redhat.com>
204 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
207 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
210 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
212 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
213 (mkreftable): Add rules for the new Japanese era and the new dates.
215 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
216 Rafal Luzynski <digitalfreak@lingonborough.com>
218 * time/tst-strftime2.c (date_t): Explicitly define the type.
219 (dates): Use natural month and year numbers to express a date.
220 (is_before): New function to compare dates.
221 (mkreftable): Minor improvements to simplify maintenance.
222 (do_test): Reflect the changes in dates array.
225 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
226 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
227 * time/tst-strftime2.c (locales): Likewise.
228 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
229 2010-04-01, and 2011-04-01.
230 (mkreftable): Add rules for the new locales and the new dates.
232 2019-04-01 Carlos O'Donell <carlos@redhat.com>
234 * localedata/locales/ja_JP: Add comments to era entries.
236 2019-04-01 DJ Delorie <dj@redhat.com>
239 * time/strptime_l.c (%Ey): Fix fencepost error.
240 * time/tst-strftime3.c: New.
241 * time/Makefile (tests): Add tst-strftime3.
243 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
245 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
246 conditional branch to DIVBYZERO. Fix unwind info.
247 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
248 excb after conditional branch to $powerof2. Add missing unop
249 instructions and .align directives and reorder instructions to
252 2019-04-01 Richard Henderson <rth@twiddle.net>
254 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
256 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
259 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
261 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
262 $libc_cv_riscv_float_abi in `test' invocation.
263 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
265 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
267 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
269 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
271 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
272 (_GET_SI_FPSCR): Likewise.
273 (_SET_SI_FPSCR): Likewise.
275 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
277 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
279 (signbit): Use builtin for clang 3.3.
280 (isinf): Use builtin for clang 3.7.
282 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
284 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
286 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
288 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
291 2019-03-25 Mike Crowe <mac@mcrowe.com>
293 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
294 pthread_rwlock_timedrdlock with calls to
295 pthread_rwlock_timedwrlock to ensure that the latter is tested
296 too. Use new function name in diagnostic messages too.
298 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
299 (do_test) Use libsupport test macros rather than hand-coded
300 conditionals and error messages. Ensure that sem_init returns zero
301 rather than not -1. Use <support/test-driver.c> rather than
304 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
305 test macros rather than hand-coded conditionals and error messages.
306 Use <support/test-driver.c> rather than test-skeleton.c.
308 2019-03-25 Joseph Myers <joseph@codesourcery.com>
310 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
312 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
313 (NT_MIPS_MSA): Likewise.
315 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
317 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
318 * benchtests/README: Update description.
319 * benchtests/bench-timing.h: Default to hp-timing.
320 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
321 HP_TIMING_PRINT): Remove.
322 (HP_TIMING_NOW): Add generic implementation.
323 (hp_timing_t): Change to uint64_t.
325 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
327 * nptl/descr.h: Likewise.
328 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
329 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
330 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
331 Abstract hp-timing usage with RTLD_* macros.
332 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
333 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
334 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
335 HP_TIMING_NONAVAIL): Likewise.
336 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
338 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
339 HP_SMALL_TIMING_AVAIL): Likewise.
340 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
341 HP_SMALL_TIMING_AVAIL): Likewise.
342 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
343 HP_SMALL_TIMING_AVAIL): Likewise.
344 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
345 HP_SMALL_TIMING_AVAIL): Likewise.
346 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
348 * sysdeps/generic/hp-timing-common.h: Update comment with
349 HP_TIMING_AVAIL removal.
351 * include/random-bits.h: New file.
352 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
353 (__res_context_mkquery): Remove usage hp-timing usage and replace with
355 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
356 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
359 * include/libc-internal.h (__get_clockfreq): Remove prototype.
360 * rt/Makefile (clock-routines): Remove get_clockfreq.
361 * rt/get_clockfreq.c: Remove file.
362 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
363 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
364 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
365 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
366 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
368 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
369 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
370 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
371 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
372 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
374 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
375 pthread_clock_settime.
376 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
377 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
378 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
379 * elf/rtld.c (_dl_start_final): Likewise.
380 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
381 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
383 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
384 (_dl_cpuclock_offset): Remove.
385 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
386 cpuclock_offset_ununsed.
387 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
389 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
390 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
391 * nptl/pthread_clock_gettime.c: Remove file.
392 * nptl/pthread_clock_settime.c: Likewise.
393 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
394 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
395 and CLOCK_PROCESS_CPUTIME_ID support.
396 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
397 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
398 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
399 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
400 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
402 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
404 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
406 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
407 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
408 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
410 * sysdeps/s390/memmem-arch13.S: New file.
411 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
412 if it is only used as fallback.
413 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
414 * sysdeps/s390/multiarch/ifunc-impl-list.c
415 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
417 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
419 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
420 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
421 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
423 * sysdeps/s390/multiarch/ifunc-impl-list.c
424 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
425 * sysdeps/s390/strstr-arch13.S: New file.
426 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
427 if it is only used as fallback.
428 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
430 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
432 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
433 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
434 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
435 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
437 * sysdeps/s390/multiarch/ifunc-impl-list.c
438 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
439 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
440 S390_IS_ARCH13_MIE3): New defines.
442 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
444 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
445 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
446 * sysdeps/s390/configure.ac: Add checks for arch13 support.
447 * sysdeps/s390/configure: Regenerated.
449 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
451 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
452 Add vxe2, vxp, dflt, sort flags.
453 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
454 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
456 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
457 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
458 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
459 HWCAP_S390_DFLT): Define.
461 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
464 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
466 * locale/programs/ld-collate.c (collate_output): Likewise.
468 2019-03-21 DJ Delorie <dj@redhat.com>
471 * iconv/iconvconfig.c (write_output): Replace floating point math
472 with integer math to avoid imprecise results.
473 * locale/programs/ld-collate.c (collate_output): Likewise.
475 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
477 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
478 Add HWCAP_S390_VX and HWCAP_S390_VXE.
480 2019-03-20 mansayk <6688000@gmail.com>
483 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
484 (abday): Likewise, but remove the trailing dots.
486 2019-03-19 Joseph Myers <joseph@codesourcery.com>
488 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
490 (HWCAP_PACA): Likewise.
491 (HWCAP_PACG): Likewise.
492 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
494 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
496 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
498 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
501 2019-03-15 Joseph Myers <joseph@codesourcery.com>
503 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
505 (old_getpagesize): New syscall.
507 2019-03-15 Felix Yan <felixonmars@archlinux.org>
510 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
511 * localedata/locales/cmn_TW (era): Likewise.
512 * localedata/locales/hak_TW (era): Likewise.
513 * localedata/locales/lzh_TW (era): Likewise.
514 * localedata/locales/nan_TW (era): Likewise.
516 2019-03-14 Florian Weimer <fweimer@redhat.com>
518 Remove obsolete, never-implemented XSI STREAMS declarations.
519 * manual/terminal.texi (Allocation): Remove portability note and
521 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
523 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
524 * sysdeps/unix/inet/Subdirs (streams): Remove.
525 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
526 (conformtest-headers-UNIX98): Likewise.
527 (conformtest-headers-XOPEN2K): Likewise.
528 (conformtest-headers-POSIX2008): Likewise.
529 * posix/compat-streams.c: New file.
530 * posix/Makefile (routines): Add it.
531 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
532 getpmsg, isastream, putmsg, putpmsg.
533 (GLIBC_2.30): New section.
534 * bits/stropts.h: Remove file.
535 * bits/xtitypes.h: Likewise.
536 * conform/data/stropts.h-data: Likewise.
537 * include/stropts.h: Likewise.
538 * include/sys/stropts.h: Likewise.
539 * include/xtitypes.h: Likewise.
540 * streams/Makefile: Likewise.
541 * streams/fattach.c: Likewise.
542 * streams/fdetach.c: Likewise.
543 * streams/getmsg.c: Likewise.
544 * streams/getpmsg.c: Likewise.
545 * streams/isastream.c: Likewise.
546 * streams/putmsg.c: Likewise.
547 * streams/putpmsg.c: Likewise.
548 * streams/stropts.h: Likewise.
549 * streams/sys/stropts.h: Likewise.
550 * sysdeps/ia64/bits/xtitypes.h: Likewise.
551 * sysdeps/s390/bits/xtitypes.h: Likewise.
552 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
553 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
554 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
555 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
556 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
557 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
558 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
559 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
560 * sysdeps/x86/bits/xtitypes.h: Likewise.
562 2019-03-14 Florian Weimer <fweimer@redhat.com>
564 * nss/tst-nss-files-alias-truncated.c (do_test): Load
566 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
567 but not with libnss_files.
568 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
570 2019-03-14 Zack Weinberg <zackw@panix.com>
572 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
573 Specify encoding="utf-8" when opening headers to check.
575 2019-03-13 Joseph Myers <joseph@codesourcery.com>
577 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
579 (Context.checkout_tar): Handle variable major version for Linux
582 2019-03-13 Florian Weimer <fweimer@redhat.com>
585 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
587 2019-03-13 Zack Weinberg <zackw@panix.com>
589 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
591 * include/inttypes.h: Adjust to match.
592 * include/stdint.h: New wrapper.
594 2019-03-13 Zack Weinberg <zackw@panix.com>
596 * scripts/check-obsolete-constructs.py: New test script.
597 * scripts/check-installed-headers.sh: Remove tests for
598 obsolete typedefs, superseded by check-obsolete-constructs.py.
599 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
600 as a special test. Update commentary.
601 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
602 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
604 * posix/sys/types.h (__u_intN_t): Remove.
605 (u_int8_t): Typedef using __uint8_t.
606 (u_int16_t): Typedef using __uint16_t.
607 (u_int32_t): Typedef using __uint32_t.
608 (u_int64_t): Typedef using __uint64_t.
610 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
612 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
614 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
615 Ignore types other than AT_HWCAP.
616 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
617 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
619 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
620 in the case of falling back to generic output mechanism.
621 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
624 2019-03-12 Florian Weimer <fweimer@redhat.com>
626 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
628 2019-03-12 Florian Weimer <fweimer@redhat.com>
631 resolv: Enable full ICMP errors for UDP DNS sockets
632 * resolv/res_enable_icmp.c: New file.
633 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
634 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
635 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
638 2019-03-11 Mao Han <han_mao@c-sky.com>
640 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
641 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
643 2019-03-11 Mao Han <han_mao@c-sky.com>
645 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
646 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
647 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
649 2019-03-11 Mao Han <han_mao@c-sky.com>
651 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
653 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
656 2019-03-11 Mao Han <han_mao@c-sky.com>
658 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
659 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
662 2019-03-08 Mike FABIAN <mfabian@redhat.com>
665 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
666 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
668 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
669 * localedata/unicode-gen/PropList.txt: Likewise.
670 * localedata/unicode-gen/UnicodeData.txt: Likewise.
671 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
672 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
673 * localedata/charmaps/UTF-8: Regenerate.
674 * localedata/locales/i18n_ctype: Likewise.
675 * localedata/locales/tr_TR: Likewise.
676 * localedata/locales/translit_circle: Likewise.
677 * localedata/locales/translit_cjk_compat: Likewise.
678 * localedata/locales/translit_combining: Likewise.
679 * localedata/locales/translit_compat: Likewise.
680 * localedata/locales/translit_font: Likewise.
681 * localedata/locales/translit_fraction: Likewise.
683 2019-03-07 Joseph Myers <joseph@codesourcery.com>
685 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
686 than after operators.
687 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
688 (setitimer_locked): Likewise.
689 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
690 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
691 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
692 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
693 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
694 (PPC_CPU_SUPPORTED): Likewise.
695 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
696 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
697 (stat_overflow): Likewise.
698 (statfs_overflow): Likewise.
699 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
700 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
701 (eq_ttyname_r): Likewise.
702 (run_chroot_tests): Likewise.
704 2019-03-07 Florian Weimer <fweimer@redhat.com>
706 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
709 2019-03-07 Martin Liska <mliska@suse.cz>
711 * math/Makefile: Change location where math-vector-fortran.h is
713 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
714 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
715 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
716 * scripts/check-installed-headers.sh: Skip Fortran header files.
717 * scripts/check-wrapper-headers.py: Likewise.
719 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
721 * nptl/nptl-init.c (__have_futex_clock_realtime,
722 __have_futex_clock_realtime): Remove definition.
723 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
724 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
725 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
726 __ASSUME_FUTEX_CLOCK_REALTIME support.
727 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
728 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
729 * sysdeps/unix/sysv/linux/kernel-features.h
730 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
731 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
734 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
736 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
737 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
738 __GI___wcscpy and wcscpy.
740 2019-03-04 Florian Weimer <fweimer@redhat.com>
742 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
744 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
747 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
749 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
750 * sysdeps/s390/s390-32/sysdep.h: Likewise.
752 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
755 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
756 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
758 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
760 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
763 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
764 (do_test_call_varg): Likewise.
765 (do_test_call_rarg): Likewise.
766 * sysdeps/ieee754/ldbl-opt/Makefile
767 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
769 ($(objpfx)tst-nldbl-warn.c): New rule.
770 ($(objpfx)tst-nldbl-error.c): Likewise.
771 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
774 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
777 * include/bits/error-ldbl.h: New file.
778 * include/error.h: Include stdarg.h. Declare internal functions
779 __error_internal and __error_at_line_internal.
780 * misc/Makefile (headers): Add bits/error-ldbl.h.
781 * misc/bits/error-ldbl.h: New file.
782 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
783 avoid the inclusion of bits/error.h.
784 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
785 and __nldbl_error_at_line.
786 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
787 (__nldbl_error, __ndlbl_error_at_line): New functions.
788 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
789 Redirect error and error_at_line.
790 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
799 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
800 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
801 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
803 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
806 * include/bits/err-ldbl.h: New file.
807 * include/err.h: Add prototypes for the internal functions:
808 __vwarnx_internal and __vwarn_internal.
809 * misc/Makefile (headers): Add bits/err-ldbl.h.
810 * misc/bits/err-ldbl.h: New file.
811 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
812 defined, i.e.: when -mlong-double-64 is in use.
813 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
814 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
815 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
816 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
817 (VA_CALL): New macro.
818 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
819 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
821 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
822 declare prototypes for the new functions.
823 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
832 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
833 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
834 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
836 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
838 * sysdeps/ieee754/ldbl-opt/Makefile
839 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
840 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
841 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
843 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
846 * argp/Makefile (headers): Add bits/argp-ldbl.h.
847 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
848 * argp/bits/argp-ldbl.h: New file.
849 * include/argp.h: Include stdarg.h. Add prototypes for internal
850 functions: __argp_error_internal and __argp_failure_internal.
851 * include/bits/argp-ldbl.h: New file.
852 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
853 __nldbl_argp_error and __nldbl_argp_failure.
854 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
855 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
856 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
857 Redirect argp_error and argp_failure calls.
858 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
867 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
868 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
869 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
871 2019-03-01 Florian Weimer <fweimer@redhat.com>
874 * elf/tst-big-note-lib.S: Create a syntactically valid note.
875 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
876 code, to avoid creating an ABI tag note.
877 (modules-names-nobuild): Add tst-big-note-lib.
879 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
881 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
882 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
884 2019-03-01 Florian Weimer <fweimer@redhat.com>
887 * sysdeps/unix/sysv/linux/netlink_assert_response.c
888 (__netlink_assert_response): Add additional missing newlines.
890 2019-02-28 Joseph Myers <joseph@codesourcery.com>
892 * sysdeps/powerpc/powerpc32/dl-machine.c
893 (__elf_machine_fixup_plt): Use space before '('.
894 (__process_machine_rela): Likewise.
895 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
897 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
899 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
901 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
904 (check_result): Likewise.
905 (check_excepts): Likewise.
906 (check_op): Likewise.
908 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
909 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
911 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
914 (__makecontext): Likewise.
915 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
918 2019-02-28 Florian Weimer <fweimer@redhat.com>
921 elf: Add test with a local IFUNC resolver.
922 * elf/ifuncmain9.c: New file.
923 * elf/ifuncmain9pic.c: Likewise.
924 * elf/ifuncmain9picstatic.c: Likewise.
925 * elf/ifuncmain9pie.c: Likewise.
926 * elf/ifuncmain9static.c: Likewise.
927 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
928 ifuncmain9static, ifuncmain9picstatic.
929 * elf/Makefile [multi-arch && build-shared] (tests-internal):
930 Add ifuncmain9, ifuncmain9pic.
931 * elf/Makefile [multi-arch && build-shared && have-fpie]
932 (ifunc-pie-tests): Add ifuncmain9pie.
933 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
934 (CFLAGS-ifuncmain9picstatic.c): Likewise.
935 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
937 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
939 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
940 * configure: Regenerated.
941 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
943 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
945 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
946 symbol as __wcspcy instead of wcscpy.
948 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
950 * include/stdio.h (__renameat2): New hidden prototype.
951 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
952 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
953 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
954 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
956 2019-02-27 Joseph Myers <joseph@codesourcery.com>
958 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
961 * benchtests/bench-strcpy.c (do_test): Use space before '('.
962 * benchtests/bench-string.h (cmdline_process_function): Likewise.
963 * benchtests/bench-strlen.c (do_test): Likewise.
964 (test_main): Likewise.
965 * catgets/gencat.c (read_old): Likewise.
966 * elf/cache.c (load_aux_cache): Likewise.
967 * iconvdata/bug-iconv8.c (do_test): Likewise.
968 * math/test-tgmath-ret.c (do_test): Likewise.
969 * nis/nis_call.c (rec_dirsearch): Likewise.
970 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
971 * nptl/tst-audit-threads.c (do_test): Likewise.
972 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
973 * nss/nss_test1.c (init): Likewise.
974 * nss/test-netdb.c (test_hosts): Likewise.
975 * posix/execvpe.c (maybe_script_execute): Likewise.
976 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
977 * stdio-common/tst-printf.c (do_test): Likewise.
978 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
979 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
980 * stdlib/qsort.c (STACK_SIZE): Likewise.
981 * stdlib/test-canon.c (do_test): Likewise.
982 * stdlib/tst-swapcontext1.c (do_test): Likewise.
983 * string/memcmp.c (OPSIZ): Likewise.
984 * string/test-strcpy.c (do_test): Likewise.
985 (do_random_tests): Likewise.
986 * string/test-strlen.c (do_test): Likewise.
987 (test_main): Likewise.
988 * string/test-strrchr.c (do_test): Likewise.
989 (do_random_tests): Likewise.
990 * string/tester.c (test_memrchr): Likewise.
991 (test_memchr): Likewise.
992 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
993 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
994 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
995 (read_encoded_value_with_base): Likewise.
996 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
997 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
998 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
999 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1000 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1001 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1003 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1005 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1006 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1007 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1009 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1011 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1013 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1015 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1016 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1017 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1018 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1019 * time/test_time.c (main): Likewise.
1021 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1023 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1025 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1028 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1031 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1033 * include/wchar.h (__wcscpy): New prototype.
1034 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1035 (__wcscpy): Route internal symbol to generic implementation.
1036 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1037 Add internal __wcscpy alias.
1038 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1039 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1040 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1041 * wcsmbs/wcscpy.c (wcscpy): Add
1042 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1043 use generic implementation.
1044 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1046 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1049 * sysdeps/m68k/wcpcpy.c: Remove file.
1050 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1052 2019-02-26 Joseph Myers <joseph@codesourcery.com>
1054 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1055 than after operators.
1056 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1057 * sysdeps/mach/hurd/getcwd.c
1058 (__hurd_canonicalize_directory_name_internal): Likewise.
1059 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1060 (pthread_mutex_consistent): Likewise.
1061 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1063 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1064 (__pthread_mutex_transfer_np): Likewise.
1065 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1066 (__pthread_mutex_unlock): Likewise.
1067 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1068 (mtx_owned_p): Likewise.
1069 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1070 (pthread_mutexattr_getrobust): Likewise.
1071 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1072 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1074 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1075 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1076 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1077 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1078 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1079 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1080 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1082 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1084 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1085 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1086 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1087 (____longjmp_chk): Likewise.
1088 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1090 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1091 (INTERNAL_SYSCALL): Likewise.
1092 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1093 (INTERNAL_SYSCALL): Likewise.
1094 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1095 (__get_clockfreq_via_cpuinfo): Likewise.
1097 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1099 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1100 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1101 (WORD_COPY_BWD): Likewise.
1102 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1103 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1105 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1106 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1108 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1110 2019-02-25 Joseph Myers <joseph@codesourcery.com>
1112 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1113 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1114 rather than after operators.
1115 * elf/cache.c (print_cache): Likewise.
1116 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1117 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1118 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1119 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1120 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1121 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1122 (reauth_proc): Likewise.
1123 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1124 (__file_name_split_at): Likewise.
1125 (__directory_name_split_at): Likewise.
1126 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1127 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1128 * iconv/gconv_dl.c (do_print): Likewise.
1129 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1130 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1131 * locale/setlocale.c (new_composite_name): Likewise.
1132 * malloc/memusagestat.c (main): Likewise.
1133 * misc/fstab.c (fstab_convert): Likewise.
1134 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1136 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1137 (getgrent_next_file): Likewise.
1138 (internal_getgrnam_r): Likewise.
1139 (internal_getgrgid_r): Likewise.
1140 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1142 (internal_getgrent_r): Likewise.
1143 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1144 (getpwent_next_nss): Likewise.
1145 (getpwent_next_file): Likewise.
1146 (internal_getpwnam_r): Likewise.
1147 (internal_getpwuid_r): Likewise.
1148 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1150 (getspent_next_nss): Likewise.
1151 (internal_getspnam_r): Likewise.
1152 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1153 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1154 * string/strchr.c (STRCHR): Likewise.
1155 * string/strchrnul.c (STRCHRNUL): Likewise.
1156 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1157 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1158 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1159 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1160 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1162 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1163 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1164 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1165 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1166 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1167 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1168 (open_file): Likewise.
1169 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1170 (pthread_mutexattr_setprotocol): Likewise.
1171 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1172 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1173 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1174 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1175 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1177 (elf_machine_rela): Likewise.
1178 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1179 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1180 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1181 * sysdeps/posix/rename.c (rename): Likewise.
1182 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1183 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1184 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1185 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1186 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1187 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1188 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1190 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1192 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1193 * time/tzfile.c (__tzfile_compute): Likewise.
1195 2019-02-22 Joseph Myers <joseph@codesourcery.com>
1197 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1198 rather than after operators.
1199 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1200 * crypt/md5.c (md5_finish_ctx): Likewise.
1201 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1202 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1203 * elf/cache.c (load_aux_cache): Likewise.
1204 * elf/dl-load.c (open_verify): Likewise.
1205 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1206 * elf/readelflib.c (process_elf_file): Likewise.
1207 * elf/rtld.c (dl_main): Likewise.
1208 * elf/sprof.c (generate_call_graph): Likewise.
1209 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1210 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1211 * hurd/dtable.c (reauth_dtable): Likewise.
1212 * hurd/getdport.c (__getdport): Likewise.
1213 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1214 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1215 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1217 * hurd/hurdioctl.c (fioctl): Likewise.
1218 * hurd/hurdselect.c (_hurd_select): Likewise.
1219 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1220 (STOPSIGS): Likewise.
1221 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1222 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1223 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1224 * hurd/msgportdemux.c (msgport_server): Likewise.
1225 * hurd/setauth.c (_hurd_setauth): Likewise.
1226 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1227 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1228 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1229 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1230 * login/tst-utmp.c (do_check): Likewise.
1231 (simulate_login): Likewise.
1232 * mach/lowlevellock.h (lll_lock): Likewise.
1233 (lll_trylock): Likewise.
1234 * math/test-fenv.c (ALL_EXC): Likewise.
1235 * math/test-fenvinline.c (ALL_EXC): Likewise.
1236 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
1237 * nis/nis_call.c (__do_niscall3): Likewise.
1238 * nis/nis_callback.c (cb_prog_1): Likewise.
1239 * nis/nis_defaults.c (searchaccess): Likewise.
1240 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1241 * nis/nis_ismember.c (internal_ismember): Likewise.
1242 * nis/nis_local_names.c (nis_local_principal): Likewise.
1243 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
1244 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
1246 * nis/ypclnt.c (yp_match): Likewise.
1247 (yp_first): Likewise.
1248 (yp_next): Likewise.
1249 (yp_master): Likewise.
1250 (yp_order): Likewise.
1251 * nscd/hstcache.c (cache_addhst): Likewise.
1252 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1253 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1254 (internal_getpwuid_r): Likewise.
1255 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1256 * posix/glob.h (__GLOB_FLAGS): Likewise.
1257 * posix/regcomp.c (peek_token): Likewise.
1258 (peek_token_bracket): Likewise.
1259 (parse_expression): Likewise.
1260 * posix/regexec.c (sift_states_iter_mb): Likewise.
1261 (check_node_accept_bytes): Likewise.
1262 * posix/tst-spawn3.c (do_test): Likewise.
1263 * posix/wordexp-test.c (testit): Likewise.
1264 * posix/wordexp.c (parse_tilde): Likewise.
1265 (exec_comm): Likewise.
1266 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1267 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1268 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1269 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1270 * stdio-common/tst-fileno.c (do_test): Likewise.
1271 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1272 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1273 * stdlib/strtod_l.c (round_and_return): Likewise.
1274 (____STRTOF_INTERNAL): Likewise.
1275 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1276 * string/strcspn.c (STRCSPN): Likewise.
1277 * string/test-memmem.c (simple_memmem): Likewise.
1278 * termios/tcsetattr.c (tcsetattr): Likewise.
1279 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1280 * time/asctime.c (asctime_internal): Likewise.
1281 * time/strptime_l.c (__strptime_internal): Likewise.
1282 * time/sys/time.h (timercmp): Likewise.
1283 * time/tzfile.c (__tzfile_compute): Likewise.
1285 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1288 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
1290 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1292 * argp/argp-help.c (__argp_error_internal): New function,
1293 renamed from __argp_error, but that takes a 'mode_flags'
1294 parameter to control the format of long double parameters.
1295 (__argp_error): Converted into a call __argp_error_internal.
1296 (__argp_failure_internal): New function, renamed from
1297 __argp_failure, but that takes a 'mode_flags' parameter.
1298 (__argp_failure): Converted into a call __argp_failure_internal.
1299 * misc/err.c (__vwarnx_internal): New function, renamed from
1300 vwarnx, but that takes a 'mode_flags' parameter.
1301 (vwarnx): Converted into a call to __vwarnx_internal.
1302 (__vwarn_internal): New function, renamed from vwarn, but that
1303 takes a 'mode_flags' parameter.
1304 (vwarn): Converted into a call to __vwarn_internal.
1305 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
1306 call to __vfxprintf with 'mode_flags'.
1307 (__error_internal): New function, renamed from error, but that
1308 takes a 'mode_flags' parameter.
1309 (error): Converted into a call to __error_internal.
1310 (__error_at_line_internal): New function, renamed from
1311 error_at_line, but that takes a 'mode_flags' parameter.
1312 (error_at_line): Converted into a call to
1313 __error_at_line_internal.
1314 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1315 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
1318 2019-02-20 Martin Liska <mliska@suse.cz>
1320 * math/Makefile: Install math-vector-fortran.h.
1321 * bits/math-vector-fortran.h: New file.
1322 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
1324 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1326 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
1327 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
1329 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
1331 * nptl/pthread_mutex_trylock.c: Fix comment.
1333 2019-02-19 Carlos O'Donell <carlos@redhat.com>
1335 * nptl/pthread_tryjoin.c: Fix comment.
1337 2019-02-18 Joseph Myers <joseph@codesourcery.com>
1340 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
1341 after R_SPARC_H34 case.
1343 2019-02-18 Florian Weimer <fweimer@redhat.com>
1345 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
1346 (getanswer): Do not call Dprintf.
1347 (res_gethostbyname2_context): Likewise.
1348 (res_gethostbyaddr_context): Likewise.
1350 2019-02-18 Florian Weimer <fweimer@redhat.com>
1352 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
1354 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1356 * libio/stdfiles.c: Update comment.
1357 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1358 set _IO_stdin, _IO_stdout, _IO_stderr.
1359 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1360 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1362 (_IO_deallocate_file): New inline function.
1363 * libio/iolibio.h (_IO_vprintf): Remove definition.
1364 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1365 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1366 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1368 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1369 __builtin_expect. Use _IO_legacy_file.
1371 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
1373 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1374 Initialize ctid with a known value and remove update of ctid
1376 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1377 as assumed current value of ctid_ptr.
1379 2019-02-16 Florian Weimer <fweimer@redhat.com>
1381 Check that non-sysdeps headers have wrapper headers.
1382 * scripts/check-wrapper-headers.py: New file.
1383 * Makefile (tests-special): Add check-wrapper-headers.out.
1384 (check-wrapper-headers.out): New target.
1385 * Rules (tests-special): Add check-wrapper-headers.out.
1386 (check-wrapper-headers.out): New target.
1388 2019-02-16 Florian Weimer <fweimer@redhat.com>
1390 Add missing header wrappers under include/.
1391 * include/ar.h: New file.
1392 * include/bits/mqueue2.h: Likewise.
1393 * include/bits/stdio.h: Likewise.
1394 * include/bits/stdio2.h: Likewise.
1395 * include/fstab.h: Likewise.
1396 * include/fts.h: Likewise.
1397 * include/lastlog.h: Likewise.
1398 * include/netinet/icmp6.h: Likewise.
1399 * include/netinet/igmp.h: Likewise.
1400 * include/netinet/ip6.h: Likewise.
1401 * include/re_comp.h: Likewise.
1402 * include/regexp.h: Likewise.
1403 * include/rpcsvc/bootparam.h: Likewise.
1404 * include/rpcsvc/yp_prot.h: Likewise.
1405 * include/sys/random.h: Likewise.
1406 * include/sys/stropts.h: Likewise.
1407 * include/sys/ttychars.h: Likewise.
1408 * include/sys/vfs.h: Likewise.
1409 * include/wait.h: Likewise.
1411 2019-02-16 Florian Weimer <fweimer@redhat.com>
1413 * nptl_db/proc_service.h: Move to ...
1414 * sysdeps/nptl/proc_service.h: ... here.
1415 * nptl_db/thread_db.h: Move to ...
1416 * sysdeps/nptl/thread_db.h: ... here.
1417 * nptl/descr.h: Include <thread_db.h>.
1419 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1421 * io/Makefile (tests): Add tst-lockf.
1422 * io/lockf.c (lockf): Use __fcntl and only define for
1423 !__OFF_T_MATCHES_OFF64_T.
1424 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1425 __OFF_T_MATCHES_OFF64_T case.
1426 * io/tst-lockf.c: New file.
1427 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1428 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1429 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1430 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1431 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1433 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1434 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1435 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1437 2019-02-15 Florian Weimer <fweimer@redhat.com>
1440 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1441 pd->result after the thread descriptor has been freed.
1443 2019-02-15 Joseph Myers <joseph@codesourcery.com>
1445 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1446 from function return type.
1448 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1450 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1452 * scripts/test_printers_common.py: Set TERM to a known harmless
1455 2019-02-14 Joseph Myers <joseph@codesourcery.com>
1457 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1458 (xdr_u_int): Likewise.
1459 (xdr_enum): Likewise.
1460 (xdr_bytes): Reword fall-through comment.
1461 (xdr_string): Likewise.
1463 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1466 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1467 (tests): Add tst-join8 tst-join9.
1468 * nptl/lll_timedwait_tid.c: Remove file.
1469 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1470 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1471 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1472 * nptl/pthread_join_common.c (timedwait_tid): New function.
1473 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1475 * nptl/tst-join5.c (thread_join): New function.
1476 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1478 * nptl/tst-join8.c: New file.
1479 * nptl/tst-join9.c: Likewise.
1480 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1481 lll_futex_timed_wait_cancel): Add generic macros.
1482 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1484 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1485 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1486 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1487 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1489 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1491 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1492 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1493 (lll_futex_timed_wait_cancel): New macro.
1495 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1497 * benchtests/Makefile: Add malloc-simple benchmark.
1498 * benchtests/bench-malloc-simple.c: New benchmark.
1500 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1502 * benchtests/bench-memmove.c (do_one_test): Remove unused
1505 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1509 2019-01-13 Jim Wilson <jimw@sifive.com>
1512 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1513 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1515 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1517 * nptl/Makefile (tests): Add tst-unwind-thread.
1518 (CFLAGS-tst-unwind-thread.c): Define.
1519 * nptl/tst-unwind-thread.c: New file.
1520 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1523 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1525 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1527 * nis/nis_call.c (__do_niscall3): Likewise.
1529 * catgets/gencat.c (normalize_line): Use braces around empty
1531 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1532 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1533 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1534 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1535 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1536 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1537 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1540 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1543 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1545 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1546 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1547 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1548 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1549 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1550 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1551 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1552 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1553 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1554 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1555 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1556 * benchtests/bench-bcopy.c: Delete file.
1557 * benchtests/bench-bzero.c: Likewise.
1558 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1559 (simple_memccpy): Remove.
1560 (generic_memccpy): Add function.
1561 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1562 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1563 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1564 (generic_mempcpy): Add new function.
1565 * benchtests/bench-memset.c (simple_bzero): Remove.
1566 (builtin_bzero): Remove.
1567 (builtin_memset): Remove.
1568 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1569 (generic_rawmemchr): Add new function.
1571 2019-02-12 Florian Weimer <fweimer@redhat.com>
1573 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1575 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1578 * elf/Makefile (tests): Add tst-audit13.
1579 (modules-names): Add tst-audit13mod1.
1580 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1582 * elf/tst-audit13.c: New file.
1583 * elf/tst-audit13mod1.c: Likewise.
1585 2019-02-12 Florian Weimer <fweimer@redhat.com>
1588 * elf/rtld.c (unload_audit_module): New function.
1589 (report_audit_module_load_error): Likewise.
1590 (load_audit_module): Likewise. Extracted from dl_main. Call
1591 _dl_close if the laversion symbol cannot be found. Use early
1592 returns for error handling. Add malloc error check. Check for a
1593 zero return value from la_version. Remove spurious comment about
1594 static TLS initialization. Remove useless casts.
1595 (notify_audit_modules_of_loaded_object): New function. Extracted
1597 (load_audit_module): Likewise.
1598 (dl_main): Call load_audit_modules.
1600 2019-02-12 Joseph Myers <joseph@codesourcery.com>
1602 * elf/dl-exception.c (_dl_exception_create_format): Add
1603 fall-through comments.
1604 * elf/ldconfig.c (parse_conf_include): Likewise.
1605 * elf/rtld.c (print_statistics): Likewise.
1606 * locale/programs/charmap.c (parse_charmap): Likewise.
1607 * misc/mntent_r.c (__getmntent_r): Likewise.
1608 * posix/wordexp.c (parse_arith): Likewise.
1609 (parse_backtick): Likewise.
1610 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1611 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1612 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1614 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
1616 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1617 Use float instead of double.
1619 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1621 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1623 2019-02-08 Joseph Myers <joseph@codesourcery.com>
1625 * sysdeps/powerpc/bits/mathinline.h: Remove.
1627 2019-02-08 Florian Weimer <fweimer@redhat.com>
1629 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1630 * math/bits/math-finite.h: Move to ...
1631 * bits/math-finite.h: ... here.
1633 2019-02-08 Florian Weimer <fweimer@redhat.com>
1635 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1636 * bits/unistd_ext.h: here.
1638 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1641 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1642 * nss/tst-nss-files-hosts-long.c: New file.
1643 * nss/tst-nss-files-hosts-long.root: New directory.
1644 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1645 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1647 2019-02-08 Florian Weimer <fweimer@redhat.com>
1649 * include/bits/unistd_ext.h: Remove file.
1650 * posix/bits/unistd_ext.h: Move to ...
1651 * sysdeps/generic/bits/unistd_ext.h: ... here.
1653 2019-02-08 Florian Weimer <fweimer@redhat.com>
1655 * include/bits/unistd_ext.h: New file.
1657 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1659 * time/tst-strftime2.c: Use array_length macros instead of magic
1662 2019-02-08 Florian Weimer <fweimer@redhat.com>
1665 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1667 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1668 locking if the new do_locking argument is true.
1669 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1670 __run_fork_handlers.
1672 2019-02-08 Florian Weimer <fweimer@redhat.com>
1675 Linux: Add gettid system call wrapper.
1676 * posix/Makefile (headers): Add bits/unistd_ext.h.
1677 * posix/bits/unistd_ext.h: New file.
1678 * posix/unistd.h: Include it.
1679 * manual/process.texi (Process Identification): Document gettid.
1680 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1681 tst-gettid, tst-gettid-kill.
1682 (tst-gettid): Link with $(shared-thread-library).
1683 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1684 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1685 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1686 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1687 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1688 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1690 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1692 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1693 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1695 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1697 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1699 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1701 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1703 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1705 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1707 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1708 (GLIBC_2.30): Likewise.
1709 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1710 (GLIBC_2.30): Likewise.
1711 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1712 (GLIBC_2.30): Likewise.
1713 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1714 (GLIBC_2.30): Likewise.
1715 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1718 (GLIBC_2.30): Likewise.
1719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1720 (GLIBC_2.30): Likewise.
1721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1722 (GLIBC_2.30): Likewise.
1723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1724 (GLIBC_2.30): Likewise.
1725 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1727 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1729 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1731 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1732 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1734 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1736 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1738 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1740 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1742 2019-02-08 Florian Weimer <fweimer@redhat.com>
1744 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1745 compatibility symbols.
1747 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
1750 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1751 Add compiler barriers and comments.
1753 2019-02-07 Florian Weimer <fweimer@redhat.com>
1755 * include/array_length.h (array_length): Do not use a statement
1756 expression and _Static_assert, so that array_length can be used at
1757 file scope and as a constant expression.
1759 2019-02-07 Florian Weimer <fweimer@redhat.com>
1761 * support/xdlfcn.h (xdlmopen): Declare.
1762 * support/xdlmopen.c: New file.
1763 * support/Makefile (libsupport-routines): Add xdlmopen.
1765 2019-02-06 Joseph Myers <joseph@codesourcery.com>
1767 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1768 before return type, without separate inline.
1769 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1770 * elf/dl-tunables.h (tunable_is_name): Likewise.
1771 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1772 (do_set_top_pad): Likewise.
1773 (do_set_mmap_threshold): Likewise.
1774 (do_set_mmaps_max): Likewise.
1775 (do_set_mallopt_check): Likewise.
1776 (do_set_perturb_byte): Likewise.
1777 (do_set_arena_test): Likewise.
1778 (do_set_arena_max): Likewise.
1779 (do_set_tcache_max): Likewise.
1780 (do_set_tcache_count): Likewise.
1781 (do_set_tcache_unsorted_limit): Likewise.
1782 * nis/nis_subr.c (count_dots): Likewise.
1783 * nptl/allocatestack.c (advise_stack_range): Likewise.
1784 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1786 (reduce_sincos): Likewise.
1787 (do_sincos): Likewise.
1788 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1789 (do_set_elision_enable): Likewise.
1790 (TUNABLE_CALLBACK_FNDECL): Likewise.
1792 2019-02-06 Florian Weimer <fweimer@redhat.com>
1794 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1795 (xdlsym): Use dlerror to detect a NULL symbol.
1797 2019-02-06 Florian Weimer <fweimer@redhat.com>
1799 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1801 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1803 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1805 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1807 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1809 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1810 __wmemcmp and weak alias to wmemcmp.
1812 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1815 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1816 TLS_TCB_AT_TP tls variant.
1817 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1818 Add alignment checks.
1819 * support/Makefile (libsupport-routines): Add xposix_memalign and
1821 * support/support.h: Add xposix_memalign.
1822 * support/xthread.h: Add xpthread_attr_setstack.
1823 * support/xposix_memalign.c: New File.
1824 * support/xpthread_attr_setstack.c: Likewise.
1826 2019-02-05 Florian Weimer <fweimer@redhat.com>
1829 arm: Use "nr" constraint for Systemtap probes, to avoid the
1830 compiler using memory operands for constants, due to the "o"
1831 alternative in the default "nor" constraint.
1832 * include/stap-probe.h [USE_STAP_PROBE]: Include
1833 <stap-probe-machine.h>
1834 * sysdeps/generic/stap-probe-machine.h: New file.
1835 * sysdeps/arm/stap-probe-machine.h: Likewise.
1837 2019-02-04 Joseph Myers <joseph@codesourcery.com>
1839 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1840 with 0, not tcache->entries[tc_idx].
1842 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1845 2019-02-04 Andreas Schwab <schwab@suse.de>
1849 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1850 looking up collating elements match against (wide) character
1851 sequence instead of name. Correct alignment adjustment.
1852 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1853 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1854 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1855 (LOCALES): Add cs_CZ.ISO-8859-2.
1856 * posix/tst-fnmatch4.c: New file.
1857 * posix/tst-fnmatch5.c: New file.
1858 * include/wchar.h (__wmemcmp): Declare.
1859 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1860 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1861 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1862 * sysdeps/s390/wmemcmp.c: Likewise.
1864 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1868 * NEWS: Updated for CVE-2019-7309.
1869 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1870 upper 32 bits of RDX register for x32. Use unsigned Jcc
1871 instructions, instead of signed.
1872 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1873 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1875 2019-02-04 Florian Weimer <fweimer@redhat.com>
1877 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1878 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1879 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1881 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1882 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1883 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1884 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1886 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1888 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1890 (posix_spawn_file_actions_addopen): Likewise.
1891 (posix_spawn_file_actions_addclose): Likewise.
1892 (posix_spawn_file_actions_adddup2): Likewise.
1893 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1895 (posix_spawn_file_actions_addfchdir_np): Likewise.
1897 2019-02-04 David Newall <glibc@davidnewall.com>
1899 elf: Implement --preload option for the dynamic linker.
1900 * elf/rtld.c (preloadarg): New variable.
1901 (handle_preload_list): Pass through “where” argument to
1903 (dl_main): Handle "--preload" and add second call to
1904 handle_preload_list.
1905 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1906 (tst-rtld-preload-OBJS): Set variable.
1907 (tst-rtld-preload.out): New target.
1908 * elf/tst-rtld-preload.sh: New file.
1910 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1912 * Makefile (testrun.sh): Exit in case of incorrect argument.
1914 2019-02-04 Florian Weimer <fweimer@redhat.com>
1916 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1919 2019-02-03 Florian Weimer <fweimer@redhat.com>
1921 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1922 implicit overflow checks.
1924 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1926 * stdlib/isomac.c: Include <unistd.h>.
1928 2019-02-03 Florian Weimer <fweimer@redhat.com>
1930 * include/time.h (__tzfile_default): Use int, not long int, for
1932 * time/tzfile.c (struct ttinfo): Change type of the offset member
1934 (__tzfile_read): Remove useless cast.
1935 (__tzfile_default): Adjust prototype.
1936 * time/tzset.c (tz_rule): Change type of the offset member to int.
1937 (parse_offset): Change the type of the sign variable to int.
1939 2019-02-03 Florian Weimer <fweimer@redhat.com>
1942 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1943 * libio/getchar.c (getchar): Likewise.
1944 * libio/getchar_u.c (getchar_unlocked): Likewise.
1945 * libio/getwchar.c (getwchar): Likewise.
1946 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1947 * libio/iogets.c (_IO_gets): Likewise.
1948 * libio/vscanf.c (_IO_vscanf): Likewise.
1949 * libio/vwscanf.c (__vwscanf): Likewise.
1950 * libio/tst-bz24153.c: New file.
1951 * libio/Makefile (tests): Add it.
1953 2019-02-02 Florian Weimer <fweimer@redhat.com>
1956 * manual/resource.texi (Basic Scheduling Functions): Add
1957 portability note. Change process to task throughout the section.
1958 Remove incorrect comment about sched_yield as it affects
1959 tasks/threads, not entire processes.
1960 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1961 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1963 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1965 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1966 * configure: Regenerated.
1967 * manual/install.texi (Tools for Compilation): Update minimum GCC
1969 * INSTALL: Regenerated.
1971 2019-02-01 Florian Weimer <fweimer@redhat.com>
1973 * support/support_test_compare_string.c
1974 (support_test_compare_string): Use "string" in error message.
1975 * support/tst-test_compare_string.c (do_test): Adjust.
1977 2019-02-01 Florian Weimer <fweimer@redhat.com>
1979 * support/support_format_address_family.c
1980 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1982 2019-02-01 Florian Weimer <fweimer@redhat.com>
1984 * manual/socket.texi (Internet Address Formats): Clarify the byte
1985 order of struct sockaddr_in, struct sockaddr_in6. Document
1986 sin6_flowinfo and sin6_scope_id.
1988 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1990 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1991 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1992 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1993 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1994 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1995 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1997 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1999 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2000 [!MEMCHR](MEMCHR): Set to __memchr.
2001 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2002 Add memchr_generic and memchr_nosimd.
2003 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2004 (__libc_ifunc_impl_list): Add memchr ifuncs.
2005 * sysdeps/aarch64/multiarch/memchr.c: New file.
2006 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2007 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2009 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2011 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2013 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2014 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2015 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2016 Add IS_EMAG check for ifunc dispatch.
2017 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2018 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2020 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2022 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2023 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2025 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2028 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
2030 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2032 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
2034 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2035 syscall-template file.
2037 2019-01-31 Carlos O'Donell <carlos@redhat.com>
2038 Torvald Riegel <triegel@redhat.com>
2039 Rik Prohaska <prohaska7@gmail.com>
2042 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2043 tst-rwlock-trywrlock-stall.
2044 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2045 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2046 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2047 Set __wrphase_fute to 1 only if we started the write phase.
2048 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2049 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2050 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2051 * support/xpthread_rwlock_destroy.c: New file.
2052 * support/xthread.h: Declare xpthread_rwlock_destroy.
2054 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2056 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2059 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2062 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2063 * libio/fileops.c (_IO_new_file_underflow): Likewise
2064 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2065 * libio/putchar.c (putchar): Likewise.
2066 * libio/putchar_u.c (putchar_unlocked): Likewise.
2067 * libio/putwchar.c (putchar): Likewise.
2068 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2069 * libio/tst-bz24051.c: New test.
2070 * libio/Makefile (tests): Add tst-bz24051
2072 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2075 regex: fix read overrun [BZ #24114]
2076 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2077 https://debbugs.gnu.org/34140
2078 * posix/regexec.c (proceed_next_node):
2079 Do not read past end of input buffer.
2081 2019-01-31 Florian Weimer <fweimer@redhat.com>
2084 * nss/nss_files/files-alias.c (get_next_alias): Handle
2085 continuation line without newline at the end.
2086 * nss/tst-nss-files-alias-truncated.c: New file.
2087 * nss/Makefile [$(build-shared)] (tests): Add
2088 tst-nss-files-alias-truncated.
2089 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2090 * support/namespace.h (struct support_chroot_configuration): Add
2092 (struct support_chroot): Add path_aliases member.
2093 * support/support_chroot.c (support_chroot_create): Handle
2095 (support_chroot_free): Free path_aliases.
2097 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2099 * version.h (RELEASE): Set to "development".
2100 (VERSION): Set to "2.29.9000".
2101 * NEWS: Add section for 2.30.
2103 * version.h (RELEASE): Set to "stable".
2104 (VERSION): Set to "2.29".
2105 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2107 * NEWS: Add the list of bugs fixed in 2.29.
2108 * manual/contrib.texi: Update contributors list with some more
2110 * manual/install.texi: Update latest versions of packages
2112 * INSTALL: Regenerated.
2114 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2116 * po/be.po: Update translations.
2117 * po/bg.po: Likewise.
2118 * po/ca.po: Likewise.
2119 * po/cs.po: Likewise.
2120 * po/da.po: Likewise.
2121 * po/de.po: Likewise.
2122 * po/el.po: Likewise.
2123 * po/eo.po: Likewise.
2124 * po/es.po: Likewise.
2125 * po/fi.po: Likewise.
2126 * po/fr.po: Likewise.
2127 * po/gl.po: Likewise.
2128 * po/hr.po: Likewise.
2129 * po/hu.po: Likewise.
2130 * po/ia.po: Likewise.
2131 * po/id.po: Likewise.
2132 * po/it.po: Likewise.
2133 * po/ja.po: Likewise.
2134 * po/ko.po: Likewise.
2135 * po/lt.po: Likewise.
2136 * po/nb.po: Likewise.
2137 * po/nl.po: Likewise.
2138 * po/pl.po: Likewise.
2139 * po/pt_BR.po: Likewise.
2140 * po/ru.po: Likewise.
2141 * po/rw.po: Likewise.
2142 * po/sk.po: Likewise.
2143 * po/sl.po: Likewise.
2144 * po/sv.po: Likewise.
2145 * po/tr.po: Likewise.
2146 * po/uk.po: Likewise.
2147 * po/vi.po: Likewise.
2148 * po/zh_CN.po: Likewise.
2149 * po/zh_TW.po: Likewise.
2151 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2154 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2155 of $f3 register on $y_is_neg path.
2157 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2160 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2161 sigaltstack.ss_flags.
2163 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2166 * manual/time.texi (strftime): Document "%Ey".
2167 * time/strftime_l.c (__strftime_internal): Set the default width
2168 padding with zero of "%Ey" to 2.
2171 * manual/time.texi (strftime): Document "%EC" and "%EY".
2172 * time/Makefile (tests): Add tst-strftime2.
2173 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2174 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2175 override padding for "%Ey".
2176 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2177 "%Ey" in the subformat as if decorated with that flag.
2178 * time/tst-strftime2.c: New file.
2180 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2182 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2186 * elf/Makefile (tests): Add tst-audit13.
2187 (modules-names): Add tst-audit13mod1.
2188 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2190 * elf/rtld.c (dl_main): Handle invalid audit module version.
2191 * elf/tst-audit13.c: New file.
2192 * elf/tst-audit13mod1.c: Likewise.
2194 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2196 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2197 returned by __hurd_at_flags.
2198 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2199 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2200 directly instead of __hurd_file_name_lookup.
2202 2019-01-21 Joseph Myers <joseph@codesourcery.com>
2204 * scripts/build-many-glibcs.py (Context.checkout): Default
2205 binutils version to 2.32 branch.
2207 2019-01-21 Florian Weimer <fweimer@redhat.com>
2211 resolv: Reject trailing characters in host names
2212 * include/arpa/inet.h (__inet_aton_exact): Declare.
2213 (inet_aton): Remove hidden prototype. No longer used internally.
2214 * nscd/gai.c (__inet_aton): Do not define.
2215 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2216 * nss/digits_dots.c (__inet_aton): Likewise.
2217 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2218 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2219 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2220 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2221 (tst-resolv-trailing): Likewise.
2222 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2224 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2225 Make static. Add endp parameter.
2226 (__inet_aton_exact): New function.
2227 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2228 (__inet_addr): Call inet_aton_end.
2229 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2230 not just IPv6. Call __inet_aton_exact.
2231 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
2232 (tests): Make const. Add additional test cases with trailing
2234 (do_test): Use array_length.
2235 * resolv/tst-inet_aton_exact.c: New file.
2236 * resolv/tst-resolv-trailing.c: Likewise.
2237 * resolv/tst-resolv-nondecimal.c: Likewise.
2238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
2240 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2244 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
2245 Clear the upper 32 bits of RSI register.
2246 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
2247 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
2248 and tst-size_t-wcsnlen.
2249 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
2250 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2252 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2256 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2257 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2258 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2259 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2260 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2262 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2266 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2267 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2268 * sysdeps/x86_64/strcmp.S: Likewise.
2269 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2270 tst-size_t-strncmp and tst-size_t-wcsncmp.
2271 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2272 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2273 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2275 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2279 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2280 RDX_LP for length. Clear the upper 32 bits of RDX register.
2281 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2282 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2283 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2284 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2286 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2290 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2291 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2292 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2293 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2295 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2299 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2300 length. Clear the upper 32 bits of RDX register.
2301 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2302 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2304 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2306 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
2308 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2310 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2314 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2315 length. Clear the upper 32 bits of RDX register.
2316 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2317 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2318 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
2320 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
2321 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
2323 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2327 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
2328 upper 32 bits of RDX register.
2329 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2330 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
2332 * sysdeps/x86_64/x32/test-size_t.h: New file.
2333 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
2334 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
2336 2019-01-18 Florian Weimer <fweimer@redhat.com>
2339 resolv: Do not send queries for non-host-names in nss_dns.
2340 * resolv/nss_dns/dns-host.c (check_name): New function.
2341 (_nss_dns_gethostbyname2_r): Use it.
2342 (_nss_dns_gethostbyname_r): Likewise.
2343 (_nss_dns_gethostbyname4_r): Likewise.
2345 2019-01-21 Florian Weimer <fweimer@redhat.com>
2347 * resolv/inet_addr.c: Reformat to GNU style.
2348 (__inet_addr, __inet_aton): Update comment.
2350 2019-01-18 Florian Weimer <fweimer@redhat.com>
2352 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
2353 ("malloc: Use current (C11-style) atomics for fastbin access").
2354 This commit introduces a substantial performance regression on
2356 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2357 (REMOVE_FB): Define.
2358 (_int_malloc): Use it and reindent.
2359 (_int_free): Use CAS loop with
2360 catomic_compare_and_exchange_val_rel.
2361 (malloc_consolidate): Use atomic_exchange_acq.
2364 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2366 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2368 (LDFLAGS-tst-minsigstksz-2): Likewise.
2369 (LDFLAGS-tst-minsigstksz-3): Likewise.
2370 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2371 (LDFLAGS-tst-minsigstksz-4): Likewise.
2373 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2375 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2378 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
2380 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2382 2019-01-16 Zack Weinberg <zackw@panix.com>
2384 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2385 (xget_sigstack_location): New test support functions.
2386 * support/xsigstack.c: New file, implementing them.
2387 * support/tst-xsigstack.c: New test for them.
2388 * support/Makefile: Update.
2390 * signal/tst-minsigstksz-1.c
2391 * signal/tst-minsigstksz-2.c
2392 * signal/tst-minsigstksz-3.c
2393 * signal/tst-minsigstksz-3a.c
2394 * signal/tst-minsigstksz-4.c: New tests.
2395 * signal/Makefile: Run them.
2397 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2399 * po/libc.pot: Regenerate.
2401 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2403 * math/libm-test-fma.inc (fma_test_data): Set
2404 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2406 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2408 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2409 (do_test): Changed __vector __int128_t to __vector unsigned int.
2411 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2414 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2415 stpcpy-avx2 and stpncpy-avx2.
2416 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2417 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2418 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2420 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2421 ifunc-strcpy.h}: rename header for a more generic name.
2422 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2423 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2424 AVX unaligned load is fast and vzeroupper is preferred.
2425 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2426 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2427 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2428 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2429 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2430 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2432 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2434 * argp/argp-help.c: Fix typo in comment.
2435 * misc/sys/cdefs.h: Likewise.
2436 * posix/regexec.c (sift_states_iter_mb): Likewise.
2437 * socket/sockatmark.c: Likewise.
2438 * socket/sys/socket.h: Likewise.
2439 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2440 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2441 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2442 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2443 * sysdeps/unix/sockatmark.c: Likewise.
2444 * time/strptime_l.c: Likewise.
2446 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2448 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2449 missing space after the cast of "_NL_CURRENT".
2451 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2453 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2454 ifdef to fix read of VSCR.
2455 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2456 tst-ucontext-ppc64-vscr.c to test list.
2457 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2459 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2461 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2464 2019-01-09 Jim Wilson <jimw@sifive.com>
2466 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2468 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2470 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2471 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2472 __memcpy_falkor for ares.
2473 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2475 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2478 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2481 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2482 4_FP_W_TYPEs are used for IEEE quad precision.
2483 * soft-fp/extendhftf2.c: Likewise.
2484 * soft-fp/extendsftf2.c: Likewise.
2485 * soft-fp/extendxftf2.c: Likewise.
2486 * soft-fp/trunctfdf2.c: Likewise.
2487 * soft-fp/trunctfhf2.c: Likewise.
2488 * soft-fp/trunctfsf2.c: Likewise.
2489 * soft-fp/trunctfxf2.c: Likewise.
2490 * sysdeps/alpha/ots_cvttx.c: Likewise.
2491 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2492 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2493 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2494 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2495 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2496 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2497 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2498 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2499 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2500 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2501 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2502 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2503 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2504 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2505 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2506 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2507 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2509 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2512 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2513 code with -fmath-errno.
2514 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2515 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2516 * string/test-strerror-errno.c: New file.
2518 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2521 * localedata/locales/en_US (date_fmt): Add, set to
2522 "%a %d %b %Y %r %Z".
2524 2019-01-07 Florian Weimer <fweimer@redhat.com>
2527 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2528 instead of @var{errno}.
2529 (Parsing of Integers): Likewise.
2530 (Parsing of Floats): Likewise.
2531 * manual/filesys.texi (Working with Directory Trees): Likewise.
2532 (Temporary Files): Likewise.
2533 * manual/job.texi (Terminal Access Functions): Likewise.
2534 * manual/llio.texi (Synchronizing I/O): Likewise.
2535 * manual/math.texi (SVID Random): Likewise.
2536 * manual/message.texi (The catgets Functions): Likewise.
2537 (Translation with gettext): Likewise.
2538 (Locating gettext catalog): Likewise.
2539 (Charset conversion in gettext): Likewise.
2540 * manual/nss.texi (NSS Module Function Internals): Likewise.
2541 * manual/search.texi (Hash Search Function): Likewise.
2542 * manual/setjmp.texi (System V contexts): Likewise.
2543 * manual/time.texi (Sleeping): Likewise.
2544 * manual/users.texi (Lookup User): Likewise.
2545 (Lookup Group): Likewise.
2547 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2549 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2552 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
2555 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2556 __builtin_unreachable for default case in switch.
2557 (__ieee754_yn): Likewise.
2558 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2559 (__ieee754_ynl): Likewise.
2560 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2561 (__ieee754_ynl): Likewise.
2562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2563 (__ieee754_ynl): Likewise.
2565 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2567 * manual/maint.texi: Use @{ and @}.
2569 2019-01-04 Florian Weimer <fweimer@redhat.com>
2571 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2573 (do_in_chroot_1): Call it.
2575 Improve error reporting in case it is not possible to create a
2576 collision for the PTY name required by the test.
2578 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2580 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2581 lll_wait_tid with timeout.
2582 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2583 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2584 futex_reltimed_wait_cancelable for cancelabla mode.
2585 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2586 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2588 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2589 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2590 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2591 SYSCALL_CANCEL_NCS): New macro.
2592 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2593 (lll_timedwait_tid): Remove macro.
2594 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2596 (lll_timedwait_tid): Likewise.
2597 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2599 (lll_timedwait_tid): Likewise.
2600 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2602 (lll_timedwait_tid): Likewise.
2603 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2604 Use INTERNAL_SYSCALL_CANCEL.
2605 * sysdeps/unix/sysv/linux/futex-internal.h
2606 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2607 instead of __pthread_{enable,disable}_asynccancel.
2608 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2609 (lll_futex_wait_cancel): New macro.
2611 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2612 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2614 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2615 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2617 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2618 in backtrace analysis.
2619 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2621 (tf_send): Likewise.
2623 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2624 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2625 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2626 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2627 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2628 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2629 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2630 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2631 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2632 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2633 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2634 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2636 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2637 tst-cancel-wrappers.sh.
2638 (generated): Remove tst-cancel-wrappers.out.
2639 (tst-cancel-wrappers.out): Remove rule.
2640 * nptl/tst-cancel-wrappers.sh: Remove file.
2642 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2644 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2645 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2648 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2651 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2652 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2653 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2654 close-on-exec reset for adddup2 file action.
2655 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2657 2019-01-03 Zack Weinberg <zackw@panix.com>
2659 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2660 parameter. Only use deprecated scanf when __USE_GNU is defined
2661 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2662 than 201103L, whichever is relevant for the language being compiled.
2664 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2665 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2666 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2667 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2668 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2672 * libio/iovswscanf.c
2677 * stdio-common/fscanf.c
2678 * stdio-common/scanf.c
2679 * stdio-common/vfscanf.c
2680 * stdio-common/vfwscanf.c
2681 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2682 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2683 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2684 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2685 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2686 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2687 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2688 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2689 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2690 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2691 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2692 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2693 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2694 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2695 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2697 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2698 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2699 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2701 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2702 with a preprocessor macro.
2704 * stdio-common/bug21.c, stdio-common/scanf14.c:
2705 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2706 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2707 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2708 to xscanf, xfscanf, xsscanf.
2710 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2711 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2712 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2713 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2715 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2716 override feature selection macros or provide definitions of u_char etc.
2717 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2718 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2719 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2722 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2725 bits/termios-misc.h.
2726 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2727 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2728 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2729 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2730 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2731 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2733 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2734 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2735 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2736 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2737 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2738 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2740 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2741 (sysdep_headers): Add termios-misc.h.
2743 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2744 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2745 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2749 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2750 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2751 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2752 TCSAFLUSH): Move to termios-tcflow.h.
2753 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2754 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2755 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2756 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2760 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2761 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2762 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2763 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2764 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2765 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2766 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2767 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2769 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2770 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2771 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2772 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2774 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2776 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2777 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2778 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2779 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2780 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2782 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2783 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2784 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2785 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2788 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2790 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2791 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2792 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2793 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2794 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2795 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2796 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2797 __MAX_BAUD): Move to termios-baud.h.
2798 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2799 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2800 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2801 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2802 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2804 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2806 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2807 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2808 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2809 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2810 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2811 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2813 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2814 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2816 [USE_MISC] (XTABS): Likewise.
2817 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2818 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2819 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2820 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2822 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2824 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2825 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2826 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2827 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2828 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2829 IUTF8): Move to termios-c_iflag.h.
2830 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2831 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2832 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2833 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2835 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2837 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2838 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2839 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2840 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2841 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2842 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2843 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2844 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2845 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2846 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2847 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2848 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2850 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2851 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2852 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2853 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2856 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2858 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2860 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2862 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2864 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2866 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2867 _HAVE_C_OSPEED): Define.
2868 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2869 _HAVE_C_OSPEED): Likewise.
2870 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2871 _HAVE_C_OSPEED): Likewise.
2872 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2873 (cfsetospeed): Check for define value instead of existence.
2874 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2875 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2876 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2877 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2878 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2881 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2883 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2884 (TIOCSER_TEMT): Likewise.
2885 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2886 (TEOCSER_TEMT): Likewise.
2888 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2891 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2893 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2895 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2897 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2899 * sysdeps/htl/pt-barrierattr-setpshared.c
2900 (pthread_barrierattr_setpshared): Add stub warning.
2901 * sysdeps/htl/pt-condattr-setpshared.c
2902 (pthread_condattr_setpshared): Likewise.
2903 * sysdeps/htl/pt-mutexattr-setpshared.c
2904 (pthread_mutexattr_setpshared): Likewise.
2905 * sysdeps/htl/pt-rwlockattr-setpshared.c
2906 (pthread_rwlockattr_setpshared): Likewise.
2907 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2908 (pthread_mutexattr_setpshared): Likewise.
2910 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2912 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2913 constants to match with Linux 4.20.
2915 * sysdeps/mips/mips32/libm-test-ulps: Update.
2916 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2918 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2921 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2922 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2923 than __typeof (...) for the a_ptr variable.
2925 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2927 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2928 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2929 * libio/Makefile (tests): Add tst-sprintf-ub and
2931 (CFLAGS-tst-sprintf-ub.c): New variable.
2932 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2933 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2934 destination buffer and check for overflows in fortified mode.
2935 * libio/libioP.h (PRINTF_CHK): New macro.
2936 * libio/tst-sprintf-chk-ub.c: New file.
2937 * libio/tst-sprintf-ub.c: Likewise.
2939 2019-01-02 Florian Weimer <fweimer@redhat.com>
2942 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2945 2019-01-02 Florian Weimer <fweimer@redhat.com>
2947 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2949 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2951 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2954 * sysdeps/unix/sysv/linux/netpacket/packet.h
2955 (PACKET_IGNORE_OUTGOING): New macro.
2957 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2960 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2962 (riscv_flush_icache): New syscall.
2964 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2965 trailing whitespace removed.
2966 * scripts/config.guess: Update to version 2019-01-01.
2967 * scripts/config.sub: Update to version 2019-01-01.
2968 * scripts/move-if-change: Update from gnulib.
2970 * NEWS: Update copyright dates.
2971 * catgets/gencat.c (print_version): Likewise.
2972 * csu/version.c (banner): Likewise.
2973 * debug/catchsegv.sh: Likewise.
2974 * debug/pcprofiledump.c (print_version): Likewise.
2975 * debug/xtrace.sh (do_version): Likewise.
2976 * elf/ldconfig.c (print_version): Likewise.
2977 * elf/ldd.bash.in: Likewise.
2978 * elf/pldd.c (print_version): Likewise.
2979 * elf/sotruss.sh: Likewise.
2980 * elf/sprof.c (print_version): Likewise.
2981 * iconv/iconv_prog.c (print_version): Likewise.
2982 * iconv/iconvconfig.c (print_version): Likewise.
2983 * locale/programs/locale.c (print_version): Likewise.
2984 * locale/programs/localedef.c (print_version): Likewise.
2985 * login/programs/pt_chown.c (print_version): Likewise.
2986 * malloc/memusage.sh (do_version): Likewise.
2987 * malloc/memusagestat.c (print_version): Likewise.
2988 * malloc/mtrace.pl: Likewise.
2989 * manual/libc.texinfo: Likewise.
2990 * nptl/version.c (banner): Likewise.
2991 * nscd/nscd.c (print_version): Likewise.
2992 * nss/getent.c (print_version): Likewise.
2993 * nss/makedb.c (print_version): Likewise.
2994 * posix/getconf.c (main): Likewise.
2995 * scripts/test-installation.pl: Likewise.
2996 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2998 * All files with FSF copyright notices: Update copyright dates
2999 using scripts/update-copyrights.
3000 * locale/programs/charmap-kw.h: Regenerated.
3001 * locale/programs/locfile-kw.h: Likewise.
3003 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3005 * timezone/zdump.c: Update from tzcode 2018i.
3006 * timezone/zic.c: Likewise.
3008 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3010 regex: improve Gnulib port to AIX
3011 From the glibc point of view, this removes duplicate macro
3012 definitions and is obviously safe.
3013 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3014 * posix/regex_internal.h:
3015 (__attribute__, __attribute_warn_unused_result__):
3016 Remove; already defined elsewhere.
3018 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
3021 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3022 copying operation. (ncopies had the wrong type, resulting in an
3023 integer wraparound and too few elements being copied.)
3025 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3028 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3029 <asm/syscalls.h> exists with __has_include__ before including it.
3031 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3033 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3036 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
3038 * hurd/lookup-retry: Include <unistd.h>.
3039 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3040 Release it on return. Handle "pid" magical lookup retry.
3042 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3045 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3046 (t_fmt_ampm): Likewise.
3047 * localedata/locales/aa_ER (t_fmt): Likewise.
3048 (t_fmt_ampm): Likewise.
3049 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3050 (t_fmt_ampm): Likewise.
3051 * localedata/locales/aa_ET (t_fmt): Likewise.
3052 (t_fmt_ampm): Likewise.
3053 * localedata/locales/am_ET (t_fmt): Likewise.
3054 (t_fmt_ampm): Likewise.
3055 * localedata/locales/byn_ER (t_fmt): Likewise.
3056 (t_fmt_ampm): Likewise.
3057 * localedata/locales/om_ET (t_fmt): Likewise.
3058 (t_fmt_ampm): Likewise.
3059 * localedata/locales/sid_ET (t_fmt): Likewise.
3060 (t_fmt_ampm): Likewise.
3061 * localedata/locales/so_DJ (t_fmt): Likewise.
3062 (t_fmt_ampm): Likewise.
3063 * localedata/locales/so_ET (t_fmt): Likewise.
3064 (t_fmt_ampm): Likewise.
3065 * localedata/locales/so_SO (t_fmt): Likewise.
3066 (t_fmt_ampm): Likewise.
3067 * localedata/locales/ti_ER (t_fmt): Likewise.
3068 (t_fmt_ampm): Likewise.
3069 * localedata/locales/ti_ET (t_fmt): Likewise.
3070 (t_fmt_ampm): Likewise.
3071 * localedata/locales/tig_ER (t_fmt): Likewise.
3072 (t_fmt_ampm): Likewise.
3073 * localedata/locales/wal_ET (t_fmt): Likewise.
3074 (t_fmt_ampm): Likewise.
3076 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3077 * localedata/locales/ar_IN (t_fmt): Likewise.
3078 * localedata/locales/bhb_IN (t_fmt): Likewise.
3079 * localedata/locales/bho_IN (t_fmt): Likewise.
3080 * localedata/locales/bi_VU (t_fmt): Likewise.
3081 * localedata/locales/bn_BD (t_fmt): Likewise.
3082 * localedata/locales/bn_IN (t_fmt): Likewise.
3083 * localedata/locales/brx_IN (t_fmt): Likewise.
3084 * localedata/locales/doi_IN (t_fmt): Likewise.
3085 * localedata/locales/en_HK (t_fmt): Likewise.
3086 (t_fmt_ampm): Likewise.
3087 * localedata/locales/en_IN (t_fmt): Likewise.
3088 * localedata/locales/en_PH (t_fmt): Likewise.
3089 * localedata/locales/gu_IN (t_fmt): Likewise.
3090 * localedata/locales/hi_IN (t_fmt): Likewise.
3091 * localedata/locales/hif_FJ (t_fmt): Likewise.
3092 * localedata/locales/hne_IN (t_fmt): Likewise.
3093 * localedata/locales/kn_IN (t_fmt): Likewise.
3094 * localedata/locales/kok_IN (t_fmt): Likewise.
3095 * localedata/locales/ks_IN (t_fmt): Likewise.
3096 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3097 * localedata/locales/mag_IN (t_fmt): Likewise.
3098 * localedata/locales/mai_IN (t_fmt): Likewise.
3099 * localedata/locales/mjw_IN (t_fmt): Likewise.
3100 * localedata/locales/ml_IN (t_fmt): Likewise.
3101 * localedata/locales/mni_IN (t_fmt): Likewise.
3102 * localedata/locales/mr_IN (t_fmt): Likewise.
3103 * localedata/locales/ms_MY (t_fmt): Likewise.
3104 * localedata/locales/pa_IN (t_fmt): Likewise.
3105 * localedata/locales/raj_IN (t_fmt): Likewise.
3106 * localedata/locales/sa_IN (t_fmt): Likewise.
3107 * localedata/locales/sat_IN (t_fmt): Likewise.
3108 * localedata/locales/sd_IN (t_fmt): Likewise.
3109 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3110 * localedata/locales/tcy_IN (t_fmt): Likewise.
3111 * localedata/locales/the_NP (t_fmt): Likewise.
3112 * localedata/locales/to_TO (t_fmt): Likewise.
3113 * localedata/locales/ur_IN (t_fmt): Likewise.
3115 * localedata/locales/hif_FJ (d_t_fmt): Set to
3116 "%A %d %b %Y %I:%M:%S %p".
3117 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3119 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3120 * localedata/locales/ar_BH (t_fmt): Likewise.
3121 * localedata/locales/ar_DZ (t_fmt): Likewise.
3122 * localedata/locales/ar_EG (t_fmt): Likewise.
3123 * localedata/locales/ar_IQ (t_fmt): Likewise.
3124 * localedata/locales/ar_JO (t_fmt): Likewise.
3125 * localedata/locales/ar_KW (t_fmt): Likewise.
3126 * localedata/locales/ar_LB (t_fmt): Likewise.
3127 * localedata/locales/ar_LY (t_fmt): Likewise.
3128 * localedata/locales/ar_OM (t_fmt): Likewise.
3129 * localedata/locales/ar_QA (t_fmt): Likewise.
3130 * localedata/locales/ar_SD (t_fmt): Likewise.
3131 * localedata/locales/ar_SS (t_fmt): Likewise.
3132 * localedata/locales/ar_SY (t_fmt): Likewise.
3133 * localedata/locales/ar_TN (t_fmt): Likewise.
3134 * localedata/locales/ar_YE (t_fmt): Likewise.
3136 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3137 (t_fmt_ampm): Likewise.
3138 * localedata/locales/gez_ET (t_fmt): Likewise.
3139 (t_fmt_ampm): Likewise.
3141 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3142 (t_fmt_ampm): Likewise.
3143 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3145 * localedata/locales/zh_HK (t_fmt):
3146 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3148 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3149 because this locale does not use the 12-hour clock.
3150 (t_fmt): Set to "%Z %H:%M:%S".
3151 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3153 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3154 because this locale does not use the 12-hour clock.
3155 (t_fmt): Set to "%H:%M:%S %Z".
3156 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3158 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3159 because this locale does not use the 12-hour clock.
3160 (t_fmt): Set to "%T".
3161 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3162 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3164 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3165 because this locale does not use the 12-hour clock.
3166 (t_fmt): Set to "%H:%M:%S %Z".
3167 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3169 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3170 because this locale does not use the 12-hour clock.
3171 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3172 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3174 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3178 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3179 (t_fmt_ampm): Likewise.
3180 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3181 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3182 (d_fmt): Set to "%-d.%-m.%y".
3184 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3186 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3187 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3188 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3190 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3191 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3192 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3194 * support/blob_repeat.c (check_mul_overflow_size_t,
3195 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3197 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3199 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3201 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3203 regex: simplify Gnulib port
3204 This simplifies the code, by removing stuff intended for porting
3205 to Gnulib but no longer needed there.
3206 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3207 uses of libc_hidden_def, weak_alias.
3208 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3209 _Restrict_ except for public-facing headers.
3210 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3211 Remove; already defined elsewhere.
3212 * posix/regex.c, posix/regex_internal.h:
3213 Use __GNUC_PREREQ instead of rolling our own.
3214 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3216 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3218 * benchtests/bench-strlen.c (generic_strlen): New function.
3219 (memchr_strlen): New function.
3221 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3223 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3224 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3225 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3227 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3229 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3231 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3233 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
3234 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
3235 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
3236 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
3237 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
3238 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
3239 <sysdeps/ieee754/flt-32/s_sincosf.c>.
3241 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3244 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
3245 PLT reference in libc.so.
3246 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
3247 _Q_lltoq and _Q_qtod PLT references in libc.so.
3249 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3251 * benchtests/bench-memchr.c: Cleanup defines.
3252 * benchtests/bench-memcmp.c: Likewise.
3253 * benchtests/bench-memset.c: Likewise.
3254 * benchtests/bench-memset-large.c: Likewise.
3255 * benchtests/bench-memset-walk.c: Likewise.
3256 * benchtests/bench-stpcpy.c: Likewise.
3257 * benchtests/bench-stpncpy.c: Likewise.
3258 * benchtests/bench-strcat.c: Likewise.
3259 * benchtests/bench-strchr.c: Likewise.
3260 * benchtests/bench-strcmp.c: Likewise.
3261 * benchtests/bench-strcpy.c: Likewise.
3262 * benchtests/bench-strcspn.c: Likewise.
3263 * benchtests/bench-string.h: Likewise.
3264 * benchtests/bench-strlen.c: Likewise.
3265 * benchtests/bench-strncat.c: Likewise.
3266 * benchtests/bench-strncmp.c: Likewise.
3267 * benchtests/bench-strncpy.c: Likewise.
3268 * benchtests/bench-strnlen.c: Likewise.
3269 * benchtests/bench-strpbrk.c: Likewise.
3270 * benchtests/bench-strrchr.c: Likewise.
3271 * benchtests/bench-strspn.c: Likewise.
3273 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3275 * stdlib/longlong.h: Update from GCC.
3278 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3279 * configure: Regenerated.
3280 * manual/install.texi (Tools for Compilation): Update minimum GCC
3282 * INSTALL: Regenerated.
3284 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
3286 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3288 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
3290 * malloc/malloc.c (mremap_chunk): Additional checks.
3292 2018-12-21 Mao Han <han_mao@c-sky.com>
3294 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3295 * scripts/build-many-glibcs.py: Add C-SKY targets.
3296 * sysdeps/csky/Implies: New file.
3297 * sysdeps/csky/Makefile: Likewise.
3298 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3299 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3300 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3301 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3302 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3303 * sysdeps/csky/abiv2/memmove.S: Likewise.
3304 * sysdeps/csky/abiv2/memset.S: Likewise.
3305 * sysdeps/csky/abiv2/setjmp.S: Likewise.
3306 * sysdeps/csky/abiv2/start.S: Likewise.
3307 * sysdeps/csky/abiv2/strcmp.S: Likewise.
3308 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3309 * sysdeps/csky/abiv2/strlen.S: Likewise.
3310 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3311 * sysdeps/csky/abort-instr.h: Likewise.
3312 * sysdeps/csky/atomic-machine.h: Likewise.
3313 * sysdeps/csky/bits/endian.h: Likewise.
3314 * sysdeps/csky/bits/fenv.h: Likewise.
3315 * sysdeps/csky/bits/link.h: Likewise.
3316 * sysdeps/csky/bits/setjmp.h: Likewise.
3317 * sysdeps/csky/bsd-_setjmp.S: Likewise.
3318 * sysdeps/csky/bsd-setjmp.S: Likewise.
3319 * sysdeps/csky/configure: Likewise.
3320 * sysdeps/csky/configure.ac: Likewise.
3321 * sysdeps/csky/dl-machine.h: Likewise.
3322 * sysdeps/csky/dl-procinfo.c: Likewise.
3323 * sysdeps/csky/dl-procinfo.h: Likewise.
3324 * sysdeps/csky/dl-sysdep.h: Likewise.
3325 * sysdeps/csky/dl-tls.h: Likewise.
3326 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
3327 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
3328 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
3329 * sysdeps/csky/fpu/fegetenv.c: Likewise.
3330 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
3331 * sysdeps/csky/fpu/fegetmode.c: Likewise.
3332 * sysdeps/csky/fpu/fegetround.c: Likewise.
3333 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
3334 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
3335 * sysdeps/csky/fpu/fenv_private.h: Likewise.
3336 * sysdeps/csky/fpu/fesetenv.c: Likewise.
3337 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
3338 * sysdeps/csky/fpu/fesetmode.c: Likewise.
3339 * sysdeps/csky/fpu/fesetround.c: Likewise.
3340 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
3341 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
3342 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
3343 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
3344 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
3345 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
3346 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
3347 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
3348 * sysdeps/csky/fpu_control.h: Likewise.
3349 * sysdeps/csky/gccframe.h: Likewise.
3350 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
3351 * sysdeps/csky/ldsodefs.h: Likewise.
3352 * sysdeps/csky/libc-tls.c: Likewise.
3353 * sysdeps/csky/linkmap.h: Likewise.
3354 * sysdeps/csky/machine-gmon.h: Likewise.
3355 * sysdeps/csky/memusage.h: Likewise.
3356 * sysdeps/csky/nofpu/Implies: Likewise.
3357 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3358 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3359 * sysdeps/csky/nptl/Makefile: Likewise.
3360 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3361 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3362 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3363 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3364 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3365 * sysdeps/csky/nptl/tls.h: Likewise.
3366 * sysdeps/csky/preconfigure: Likewise.
3367 * sysdeps/csky/sfp-machine.h: Likewise.
3368 * sysdeps/csky/sotruss-lib.c: Likewise.
3369 * sysdeps/csky/stackinfo.h: Likewise.
3370 * sysdeps/csky/sysdep.h: Likewise.
3371 * sysdeps/csky/tininess.h: Likewise.
3372 * sysdeps/csky/tst-audit.h: Likewise.
3373 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3374 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3375 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3376 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3377 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3378 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3379 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3380 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3381 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3382 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3383 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3384 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3385 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3386 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3387 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3388 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3389 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3390 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3391 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3392 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3393 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3394 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3395 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3396 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3397 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3398 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3399 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3400 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3401 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3402 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3403 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3404 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3405 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3406 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3407 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3408 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3409 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3410 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3411 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3412 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3413 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3414 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3415 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3416 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3418 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3420 * include/time.h (__difftime64): Add.
3421 * time/difftime.c (subtract): convert to 64-bit time.
3422 * time/difftime.c (__difftime64): Add.
3423 * time/difftime.c (__difftime): Wrap around __difftime64.
3425 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3427 * manual/examples/add.c: Remove redundant "if not".
3428 * manual/examples/argp-ex1.c: Likewise.
3429 * manual/examples/argp-ex2.c: Likewise.
3430 * manual/examples/argp-ex3.c: Likewise.
3431 * manual/examples/argp-ex4.c: Likewise.
3432 * manual/examples/atexit.c: Likewise.
3433 * manual/examples/db.c: Likewise.
3434 * manual/examples/dir.c: Likewise.
3435 * manual/examples/dir2.c: Likewise.
3436 * manual/examples/execinfo.c: Likewise.
3437 * manual/examples/filecli.c: Likewise.
3438 * manual/examples/filesrv.c: Likewise.
3439 * manual/examples/fmtmsgexpl.c: Likewise.
3440 * manual/examples/genpass.c: Likewise.
3441 * manual/examples/inetcli.c: Likewise.
3442 * manual/examples/inetsrv.c: Likewise.
3443 * manual/examples/isockad.c: Likewise.
3444 * manual/examples/longopt.c: Likewise.
3445 * manual/examples/memopen.c: Likewise.
3446 * manual/examples/memstrm.c: Likewise.
3447 * manual/examples/mkdirent.c: Likewise.
3448 * manual/examples/mkfsock.c: Likewise.
3449 * manual/examples/mkisock.c: Likewise.
3450 * manual/examples/mygetpass.c: Likewise.
3451 * manual/examples/pipe.c: Likewise.
3452 * manual/examples/popen.c: Likewise.
3453 * manual/examples/rprintf.c: Likewise.
3454 * manual/examples/search.c: Likewise.
3455 * manual/examples/select.c: Likewise.
3456 * manual/examples/setjmp.c: Likewise.
3457 * manual/examples/sigh1.c: Likewise.
3458 * manual/examples/sigusr.c: Likewise.
3459 * manual/examples/stpcpy.c: Likewise.
3460 * manual/examples/strdupa.c: Likewise.
3461 * manual/examples/strftim.c: Likewise.
3462 * manual/examples/subopt.c: Likewise.
3463 * manual/examples/swapcontext.c: Likewise.
3464 * manual/examples/termios.c: Likewise.
3465 * manual/examples/testopt.c: Likewise.
3466 * manual/examples/testpass.c: Likewise.
3467 * manual/examples/timeval_subtract.c: Likewise.
3469 2018-12-19 Joseph Myers <joseph@codesourcery.com>
3471 * sysdeps/x86/fpu/math_private.h: New file.
3472 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3474 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3479 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3481 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3482 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3483 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3484 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3486 (_dl_show_auxv): Give a special treatment to
3487 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3488 and AT_L3_CACHEGEOMETRY.
3489 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3490 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3491 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3492 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3494 2018-12-19 Andreas Schwab <schwab@suse.de>
3496 * nscd/connections.c (check_use): Don't abort on invalid len.
3498 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3500 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3501 values in the 64bit value cases.
3503 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3509 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3515 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3518 (__gmtime64_r): Add.
3520 (__gmtime64_r): Add.
3521 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3527 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3530 (__localtime64_r): Add.
3532 (__localtime64_r): Add.
3533 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3535 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3537 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3538 kernel_sigction definition.
3540 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3542 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3544 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3545 __syscall_rt_sigaction.
3546 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3547 (kernel_sigaction): Use Linux generic defintion.
3549 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3550 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3551 (__syscall_rt_sigaction): Remove implementation.
3552 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3554 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3555 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3556 INTERNAL_SYSCALL): Remove definitions.
3557 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3558 action and signal set size.
3559 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3560 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3562 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3563 James Clarke <jrtc27@jrtc27.com>
3566 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3567 Define if SA_RESTORER is defined.
3568 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3569 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3571 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3572 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3574 (HAS_SA_RESTORER): Define.
3575 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3576 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3577 (HAS_SA_RESTORER): Define.
3578 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3579 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3580 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3581 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3582 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3584 2018-12-18 Joseph Myers <joseph@codesourcery.com>
3586 * sysdeps/unix/sysv/linux/kernel-features.h
3587 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3588 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3589 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3590 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3591 (__ASSUME_ST_INO_64_BIT): Likewise.
3592 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3593 <kernel-features.h>.
3594 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3595 Remove conditional code.
3596 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3597 <kernel-features.h>.
3598 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3599 Remove conditional code.
3600 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3601 <kernel-features.h>.
3602 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3603 Remove conditional code.
3604 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3605 <kernel-features.h>.
3606 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3607 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3609 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3611 * sysdeps/s390/multiarch/ifunc-resolve.h
3612 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3613 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3614 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3615 Delete macro definition.
3616 (s390_libc_ifunc_init): Rename to
3617 s390_libc_ifunc_expr_stfle_init.
3618 * sysdeps/s390/bzero: Use
3619 s390_libc_ifunc_expr_stfle_init instead of
3620 s390_libc_ifunc_init.
3621 * sysdeps/s390/memcmp.c: Likewise.
3622 * sysdeps/s390/memcpy.c: Likewise.
3623 * sysdeps/s390/mempcpy.c: Likewise.
3624 * sysdeps/s390/memset.c: Likewise.
3626 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3628 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3629 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3631 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3633 * sysdeps/s390/multiarch/Makefile
3634 (sysdep_routines): Remove wmemcmp variants.
3635 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3636 * sysdeps/s390/multiarch/ifunc-impl-list.c
3637 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3638 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3639 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3640 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3641 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3642 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3643 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3644 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3646 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3648 * sysdeps/s390/multiarch/Makefile
3649 (sysdep_routines): Remove wmemset variants.
3650 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3651 * sysdeps/s390/multiarch/ifunc-impl-list.c
3652 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3653 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3654 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3655 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3656 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3657 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3658 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3659 * sysdeps/s390/ifunc-wmemset.h: New file.
3661 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3663 * sysdeps/s390/multiarch/Makefile
3664 (sysdep_routines): Remove wmemchr variants.
3665 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3666 * sysdeps/s390/multiarch/ifunc-impl-list.c
3667 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3668 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3669 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3670 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3671 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3672 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3673 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3674 * sysdeps/s390/ifunc-wmemchr.h: New file.
3676 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3678 * sysdeps/s390/multiarch/Makefile
3679 (sysdep_routines): Remove wcscspn variants.
3680 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3681 * sysdeps/s390/multiarch/ifunc-impl-list.c
3682 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3683 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3684 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3685 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3686 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3687 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3688 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3689 * sysdeps/s390/ifunc-wcscspn.h: New file.
3691 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3693 * sysdeps/s390/multiarch/Makefile
3694 (sysdep_routines): Remove wcspbrk variants.
3695 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3696 * sysdeps/s390/multiarch/ifunc-impl-list.c
3697 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3698 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3699 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3700 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3701 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3702 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3703 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3704 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3706 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3708 * sysdeps/s390/multiarch/Makefile
3709 (sysdep_routines): Remove wcsspn variants.
3710 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3711 * sysdeps/s390/multiarch/ifunc-impl-list.c
3712 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3713 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3714 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3715 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3716 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3717 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3718 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3719 * sysdeps/s390/ifunc-wcsspn.h: New file.
3721 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3723 * sysdeps/s390/multiarch/Makefile
3724 (sysdep_routines): Remove wcsrchr variants.
3725 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3726 * sysdeps/s390/multiarch/ifunc-impl-list.c
3727 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3728 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3729 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3730 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3731 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3732 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3733 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3734 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3736 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3738 * sysdeps/s390/multiarch/Makefile
3739 (sysdep_routines): Remove wcschrnul variants.
3740 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3741 * sysdeps/s390/multiarch/ifunc-impl-list.c
3742 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3743 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3744 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3745 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3746 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3747 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3748 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3749 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3751 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3753 * sysdeps/s390/multiarch/Makefile
3754 (sysdep_routines): Remove wcschr variants.
3755 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3756 * sysdeps/s390/multiarch/ifunc-impl-list.c
3757 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3758 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3759 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3760 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3761 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3762 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3763 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3764 * sysdeps/s390/ifunc-wcschr.h: New file.
3766 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3768 * sysdeps/s390/multiarch/Makefile
3769 (sysdep_routines): Remove wcsncmp variants.
3770 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3771 * sysdeps/s390/multiarch/ifunc-impl-list.c
3772 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3773 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3774 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3775 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3776 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3777 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3778 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3779 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3781 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3783 * sysdeps/s390/multiarch/Makefile
3784 (sysdep_routines): Remove wcscmp variants.
3785 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3786 * sysdeps/s390/multiarch/ifunc-impl-list.c
3787 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3788 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3789 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3790 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3791 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3792 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3793 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3794 * sysdeps/s390/ifunc-wcscmp.h: New file.
3796 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3798 * sysdeps/s390/multiarch/Makefile
3799 (sysdep_routines): Remove wcsncat variants.
3800 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3801 * sysdeps/s390/multiarch/ifunc-impl-list.c
3802 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3803 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3804 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3805 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3806 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3807 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3808 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3809 * sysdeps/s390/ifunc-wcsncat.h: New file.
3811 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3813 * sysdeps/s390/multiarch/Makefile
3814 (sysdep_routines): Remove wcscat variants.
3815 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3816 * sysdeps/s390/multiarch/ifunc-impl-list.c
3817 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3818 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3819 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3820 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3821 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3822 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3823 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3824 * sysdeps/s390/ifunc-wcscat.h: New file.
3826 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3828 * sysdeps/s390/multiarch/Makefile
3829 (sysdep_routines): Remove wcpncpy variants.
3830 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3831 * sysdeps/s390/multiarch/ifunc-impl-list.c
3832 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3833 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3834 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3835 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3836 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3837 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3838 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3839 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3841 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3843 * sysdeps/s390/multiarch/Makefile
3844 (sysdep_routines): Remove wcsncpy variants.
3845 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3846 * sysdeps/s390/multiarch/ifunc-impl-list.c
3847 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3848 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3849 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3850 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3851 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3852 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3853 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3854 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3856 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3858 * sysdeps/s390/multiarch/Makefile
3859 (sysdep_routines): Remove wcpcpy variants.
3860 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3861 * sysdeps/s390/multiarch/ifunc-impl-list.c
3862 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3863 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3864 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3865 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3866 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3867 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3868 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3869 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3871 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3873 * sysdeps/s390/multiarch/Makefile
3874 (sysdep_routines): Remove wcscpy variants.
3875 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3876 * sysdeps/s390/multiarch/ifunc-impl-list.c
3877 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3878 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3879 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3880 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3881 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3882 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3883 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3884 * sysdeps/s390/ifunc-wcscpy.h: New file.
3886 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3888 * sysdeps/s390/multiarch/Makefile
3889 (sysdep_routines): Remove wcsnlen variants.
3890 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3891 * sysdeps/s390/multiarch/ifunc-impl-list.c
3892 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3893 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3894 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3895 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3896 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3897 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3898 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3899 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3901 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3903 * sysdeps/s390/multiarch/Makefile
3904 (sysdep_routines): Remove wcslen variants.
3905 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3906 * sysdeps/s390/multiarch/ifunc-impl-list.c
3907 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3908 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3909 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3910 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3911 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3912 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3913 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3914 * sysdeps/s390/ifunc-wcslen.h: New file.
3916 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3918 * sysdeps/s390/multiarch/Makefile
3919 (sysdep_routines): Remove memrchr variants.
3920 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3921 * sysdeps/s390/multiarch/ifunc-impl-list.c
3922 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3923 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3924 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3925 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3926 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3927 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3928 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3929 * sysdeps/s390/ifunc-memrchr.h: New file.
3931 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3933 * sysdeps/s390/multiarch/Makefile
3934 (sysdep_routines): Remove memccpy variants.
3935 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3936 * sysdeps/s390/multiarch/ifunc-impl-list.c
3937 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3938 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3939 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3940 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3941 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3942 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3943 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3944 * sysdeps/s390/ifunc-memccpy.h: New file.
3946 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3948 * sysdeps/s390/multiarch/Makefile
3949 (sysdep_routines): Remove rawmemchr variants.
3950 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3951 * sysdeps/s390/multiarch/ifunc-impl-list.c
3952 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3953 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3954 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3955 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3956 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3957 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3958 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3959 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3961 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3963 * sysdeps/s390/multiarch/Makefile
3964 (sysdep_routines): Remove memchr variants.
3965 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3966 * sysdeps/s390/multiarch/ifunc-impl-list.c
3967 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3968 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3969 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3970 * sysdeps/s390/multiarch/memchr.c: Move to ...
3971 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3972 * sysdeps/s390/ifunc-memchr.h: New file.
3973 * sysdeps/s390/s390-64/memchr.S: Move to ...
3974 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3975 for 31/64bit and ifunc handling.
3976 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3977 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3978 * sysdeps/s390/s390-32/memchr.S: Likewise.
3980 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3982 * sysdeps/s390/multiarch/Makefile
3983 (sysdep_routines): Remove strcspn variants.
3984 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3985 * sysdeps/s390/multiarch/ifunc-impl-list.c
3986 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3987 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3988 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3989 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3990 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3991 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3992 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3993 * sysdeps/s390/ifunc-strcspn.h: New file.
3995 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3997 * sysdeps/s390/multiarch/Makefile
3998 (sysdep_routines): Remove strpbrk variants.
3999 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4000 * sysdeps/s390/multiarch/ifunc-impl-list.c
4001 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4002 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4003 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4004 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4005 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4006 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4007 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4008 * sysdeps/s390/ifunc-strpbrk.h: New file.
4010 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4012 * sysdeps/s390/multiarch/Makefile
4013 (sysdep_routines): Remove strspn variants.
4014 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4015 * sysdeps/s390/multiarch/ifunc-impl-list.c
4016 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4017 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4018 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4019 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4020 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4021 * sysdeps/s390/multiarch/strspn.c: Move to ...
4022 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4023 * sysdeps/s390/ifunc-strspn.h: New file.
4025 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4027 * sysdeps/s390/multiarch/Makefile
4028 (sysdep_routines): Remove strrchr variants.
4029 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4030 * sysdeps/s390/multiarch/ifunc-impl-list.c
4031 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4032 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4033 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4034 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4035 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4036 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4037 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4038 * sysdeps/s390/ifunc-strrchr.h: New file.
4040 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4042 * sysdeps/s390/multiarch/Makefile
4043 (sysdep_routines): Remove strchrnul variants.
4044 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4045 * sysdeps/s390/multiarch/ifunc-impl-list.c
4046 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4047 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4048 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4049 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4050 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4051 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4052 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4053 * sysdeps/s390/ifunc-strchrnul.h: New file.
4055 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4057 * sysdeps/s390/multiarch/Makefile
4058 (sysdep_routines): Remove strchr variants.
4059 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4060 * sysdeps/s390/multiarch/ifunc-impl-list.c
4061 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4062 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4063 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4064 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4065 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4066 * sysdeps/s390/multiarch/strchr.c: Move to ...
4067 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4068 * sysdeps/s390/ifunc-strchr.h: New file.
4070 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4072 * sysdeps/s390/multiarch/Makefile
4073 (sysdep_routines): Remove strncmp variants.
4074 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4075 * sysdeps/s390/multiarch/ifunc-impl-list.c
4076 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4077 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4078 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4079 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4080 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4081 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4082 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4083 * sysdeps/s390/ifunc-strncmp.h: New file.
4085 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4087 * sysdeps/s390/multiarch/Makefile
4088 (sysdep_routines): Remove strcmp variants.
4089 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4090 * sysdeps/s390/multiarch/ifunc-impl-list.c
4091 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4092 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4093 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4094 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4095 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4096 * sysdeps/s390/ifunc-strcmp.h: New file.
4097 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4098 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4099 for 31/64bit and ifunc handling.
4100 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4101 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4102 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4104 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4106 * sysdeps/s390/multiarch/Makefile
4107 (sysdep_routines): Remove strncat variants.
4108 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4109 * sysdeps/s390/multiarch/ifunc-impl-list.c
4110 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4111 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4112 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4113 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4114 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4115 * sysdeps/s390/multiarch/strncat.c: Move to ...
4116 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4117 * sysdeps/s390/ifunc-strncat.h: New file.
4119 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4121 * sysdeps/s390/multiarch/Makefile
4122 (sysdep_routines): Remove strcat variants.
4123 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4124 * sysdeps/s390/multiarch/ifunc-impl-list.c
4125 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4126 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4127 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4128 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4129 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4130 * sysdeps/s390/multiarch/strcat.c: Move to ...
4131 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4132 * sysdeps/s390/ifunc-strcat.h: New file.
4134 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4136 * sysdeps/s390/multiarch/Makefile
4137 (sysdep_routines): Remove stpncpy variants.
4138 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4139 * sysdeps/s390/multiarch/ifunc-impl-list.c
4140 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4141 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4142 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4143 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4144 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4145 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4146 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4147 * sysdeps/s390/ifunc-stpncpy.h: New file.
4149 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4151 * sysdeps/s390/multiarch/Makefile
4152 (sysdep_routines): Remove strncpy variants.
4153 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4154 * sysdeps/s390/multiarch/ifunc-impl-list.c
4155 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4156 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4157 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4158 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4159 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4160 * sysdeps/s390/ifunc-strncpy.h: New file.
4161 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4162 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4163 and adjust ifunc handling.
4164 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4165 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4166 and adjust ifunc handling.
4167 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4168 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4170 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4172 * sysdeps/s390/multiarch/Makefile
4173 (sysdep_routines): Remove stpcpy variants.
4174 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4175 * sysdeps/s390/multiarch/ifunc-impl-list.c
4176 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4177 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4178 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4179 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4180 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4181 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4182 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4183 * sysdeps/s390/ifunc-stpcpy.h: New file.
4185 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4187 * sysdeps/s390/multiarch/Makefile
4188 (sysdep_routines): Remove strcpy variants.
4189 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4190 * sysdeps/s390/multiarch/ifunc-impl-list.c
4191 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4192 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4193 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4194 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4195 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4196 * sysdeps/s390/ifunc-strcpy.h: New file.
4197 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4198 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4199 for 31/64bit and ifunc handling.
4200 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4201 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4202 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4204 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4206 * sysdeps/s390/multiarch/Makefile
4207 (sysdep_routines): Remove strnlen variants.
4208 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4209 * sysdeps/s390/multiarch/ifunc-impl-list.c
4210 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4211 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4212 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4213 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4214 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4215 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4216 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4217 * sysdeps/s390/ifunc-strnlen.h: New file.
4219 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4221 * sysdeps/s390/multiarch/Makefile
4222 (sysdep_routines): Remove strlen variants.
4223 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4224 * sysdeps/s390/multiarch/ifunc-impl-list.c
4225 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4226 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4227 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4228 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4229 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4230 * sysdeps/s390/multiarch/strlen.c: Move to ...
4231 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
4232 * sysdeps/s390/ifunc-strlen.h: New file.
4234 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4236 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
4237 * sysdeps/s390/multiarch/ifunc-impl-list.c
4238 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
4239 * sysdeps/s390/ifunc-memmem.h: New file.
4240 * sysdeps/s390/memmem.c: Likewise.
4241 * sysdeps/s390/memmem-c.c: Likewise.
4242 * sysdeps/s390/memmem-vx.c: Likewise.
4244 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4246 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
4247 * sysdeps/s390/multiarch/ifunc-impl-list.c
4248 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
4249 * sysdeps/s390/ifunc-strstr.h: New file.
4250 * sysdeps/s390/strstr.c: Likewise.
4251 * sysdeps/s390/strstr-c.c: Likewise.
4252 * sysdeps/s390/strstr-vx.c: Likewise.
4254 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4256 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4257 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4258 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4259 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4261 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4262 * sysdeps/s390/memmove-c.c: New file.
4263 * sysdeps/s390/memmove.c: Likewise.
4264 * sysdeps/s390/multiarch/ifunc-impl-list.c
4265 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4267 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4269 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4270 * sysdeps/s390/configure.ac: Add check for z13 support.
4271 * sysdeps/s390/configure: Regenerated.
4273 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4275 * sysdeps/s390/memcopy.h: New file.
4277 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4279 * sysdeps/s390/s390-32/bcopy.S: Remove.
4280 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4282 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4284 * sysdeps/s390/ifunc-memcpy.h: New File.
4285 * sysdeps/s390/memcpy.S: Move to ...
4286 * sysdeps/s390/memcpy-z900.S ... here.
4287 Move implementations from memcpy-s390x.s to here.
4288 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4289 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4290 Remove memcpy/mempcpy variants.
4291 * sysdeps/s390/Makefile (sysdep_routines):
4292 Add memcpy/mempcpy variants.
4293 * sysdeps/s390/multiarch/ifunc-impl-list.c
4294 (__libc_ifunc_impl_list): Adjust ifunc variants for
4296 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4298 * sysdeps/s390/memcpy.c: ... here.
4299 Adjust ifunc variants for memcpy.
4300 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4301 * sysdeps/s390/mempcpy.c: ... here.
4302 Adjust ifunc variants for mempcpy.
4303 * sysdeps/s390/mempcpy.S: Delete file.
4305 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4307 * sysdeps/s390/s390-64/memcpy.S: Move to ...
4308 * sysdeps/s390/memcpy.S: ... here.
4309 Adjust to be usable for 31/64bit.
4310 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4311 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4312 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4313 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4314 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4315 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4316 Adjust to be usable for 31/64bit.
4317 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
4318 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
4319 * sysdeps/s390/multiarch/memcpy.c: ... here.
4320 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
4322 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4324 * sysdeps/s390/ifunc-memcmp.h: New File.
4325 * sysdeps/s390/memcmp.S: Move to ...
4326 * sysdeps/s390/memcmp-z900.S ... here.
4327 Move implementations from memcmp-s390x.s to here.
4328 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
4329 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4330 Remove memcmp variants.
4331 * sysdeps/s390/Makefile (sysdep_routines):
4332 Add memcmp variants.
4333 * sysdeps/s390/multiarch/ifunc-impl-list.c
4334 (__libc_ifunc_impl_list): Adjust ifunc variants for
4336 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
4338 * sysdeps/s390/memcmp.c: ... here.
4339 Adjust ifunc variants for memcmp.
4341 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4343 * sysdeps/s390/s390-64/memcmp.S: Move to ...
4344 * sysdeps/s390/memcmp.S: ... here.
4345 Adjust to be usable for 31/64bit.
4346 * sysdeps/s390/s390-32/memcmp.S: Delete File.
4347 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
4348 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4350 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4351 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
4352 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
4353 Adjust to be usable for 31/64bit.
4354 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
4355 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4356 * sysdeps/s390/multiarch/memcmp.c: ... here.
4357 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4359 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4361 * sysdeps/s390/s390-32/bzero.S: Delete file.
4362 * sysdeps/s390/s390-64/bzero.S: Likewise.
4363 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4364 * sysdeps/s390/bzero.c: New file.
4365 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4366 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4367 * sysdeps/s390/multiarch/ifunc-impl-list.c
4368 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4370 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4372 * sysdeps/s390/ifunc-memset.h: New File.
4373 * sysdeps/s390/memset.S: Move to ...
4374 * sysdeps/s390/memset-z900.S ... here.
4375 Move implementations from memset-s390x.s to here.
4376 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4377 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4378 Remove memset variants.
4379 * sysdeps/s390/Makefile (sysdep_routines):
4380 Add memset variants.
4381 * sysdeps/s390/multiarch/ifunc-impl-list.c
4382 (__libc_ifunc_impl_list): Adjust ifunc variants for
4384 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4386 * sysdeps/s390/memset.c: ... here.
4387 Adjust ifunc variants for memset.
4389 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4391 * sysdeps/s390/s390-64/memset.S: Move to ...
4392 * sysdeps/s390/memset.S: ... here.
4393 Adjust to be usable for 31/64bit.
4394 * sysdeps/s390/s390-32/memset.S: Delete File.
4395 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4396 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4398 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4399 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4400 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4401 Adjust to be usable for 31/64bit.
4402 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4403 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4404 * sysdeps/s390/multiarch/memset.c: ... here.
4405 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4407 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4409 * sysdeps/s390/multiarch/ifunc-resolve.h
4410 (s390_libc_ifunc_init, s390_libc_ifunc,
4411 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4413 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4415 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4416 * sysdeps/s390/configure.ac: Add check for z10 support.
4417 * sysdeps/s390/configure: Regenerated.
4419 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4421 * sysdeps/i386/atomic-machine.h: Merged with ...
4422 * sysdeps/x86_64/atomic-machine.h: To ...
4423 * sysdeps/x86/atomic-machine.h: This. New file.
4425 2018-12-18 Florian Weimer <fweimer@redhat.com>
4427 Rewrite locale/gen-translit.pl in Python.
4428 * locale/Makefile (generated): Add C-translit.h.
4429 (before-compile): Add $(objpfx)C-translit.h.
4430 (C-translit.h): Move to $(objpfx). Create target directory.
4431 Build using Python script.
4432 * locale/gen-translit.py: New file.
4433 * locale/gen-translit.pl: Remove file.
4434 * locale/C-translit.h.in: Change comment character to '#' for
4435 easier parsing without a C preprocessor.
4436 * locale/C-translit.h: Remove generated file.
4437 * manual/install.texi (Tools for Compilation): Do not mention
4439 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4440 Remove locale/C-translit.h.
4441 * scripts/update-copyrights: Likewise.
4442 * INSTALL: Regenerate.
4444 2018-12-18 Florian Weimer <fweimer@redhat.com>
4447 * localedata/locales/bi_VU: Remove executable bit from file.
4449 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4452 (__localtime64): Add.
4453 * manual/maint.texi: Document Y2038 symbol handling.
4455 (__localtime64): Add.
4456 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
4458 2018-12-17 Joseph Myers <joseph@codesourcery.com>
4460 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4463 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4464 to allow extra macros from first or second sources.
4465 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4466 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4467 (tests-special): Add $(objpfx)tst-mman-consts.out.
4468 ($(objpfx)tst-mman-consts.out): New makefile target.
4470 2018-12-17 Mao Han <han_mao@c-sky.com>
4472 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4473 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4474 without stat64 system call support.
4475 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4476 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4477 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4478 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4479 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4480 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4481 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4482 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4483 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4484 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4485 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4487 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4489 regex: fix storage-exhaustion error
4491 * posix/regexec.c (get_subexp):
4492 Do not continue if storage is exhausted.
4494 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
4496 regex: fix heap-use-after-free error
4498 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4499 https://debbugs.gnu.org/32592
4500 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4501 call extend_buffers which reallocates the re_string_t internal buffer.
4502 Local variable 'buf' was not updated in such case, resulting in
4504 * posix/regexec.c (get_subexp): Update 'buf' after call to
4507 2018-12-15 Florian Weimer <fweimer@redhat.com>
4509 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4510 (minimum_stride_size): Use it.
4511 (support_blob_repeat_allocate): Likewise.
4513 2018-12-14 Joseph Myers <joseph@codesourcery.com>
4515 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4520 2018-12-14 Florian Weimer <fweimer@redhat.com>
4522 * manual/process.texi (Process Creation Concepts): Remove
4523 documentation of process (ID) lifetime. List more process
4524 creation functions. Reference Process Identification section.
4525 (Process Identification): Add information about process ID
4526 lifetime. Describe Linux thread/task IDs.
4527 * manual/signal.texi (Signaling Another Process): Mention that the
4528 signal is always sent to the process.
4530 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4532 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4533 and tst-ldbl-efgcvt.
4534 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4535 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4536 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4537 (fcvt_tests, output_error, output_r_error, do_test): Use the
4538 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4539 select the type of floating-point variables and arguments; to
4540 produce extra tests for double and conversion specifiers for
4541 printf; and to set the names of called functions.
4542 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4543 in tst-efgcvt-template.c.
4544 * misc/tst-ldbl-efgcvt.c: Likewise.
4546 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
4548 * nss/Makefile (tst-nss-test3.out): New rule.
4550 2018-12-13 Joseph Myers <joseph@codesourcery.com>
4552 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4555 2018-12-13 fanjinke <fanjinke@hygon.cn>
4557 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4560 2018-12-13 Andreas Schwab <schwab@suse.de>
4563 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
4564 (__pthread_rwlock_rdlock_full): Update expected value for
4565 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4566 * nptl/tst-rwlock-pwn.c: New file.
4567 * nptl/Makefile (tests): Add tst-rwlock-pwn.
4569 2018-12-12 Joseph Myers <joseph@codesourcery.com>
4571 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4574 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4576 * benchtests/scripts/compare_bench.py (do_compare): write to
4577 stderr in casestat is not present.
4578 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4579 stderr in case timings field is not present. Also string showing
4580 the output filename goes into the stderr.
4582 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4584 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4585 and ZeroDivisorError exceptions.
4586 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4587 argument to loop through user provided statistics.
4588 * benchtests/scripts/compare_bench.py (main): Include the --stats
4591 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4593 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4596 2018-12-12 Florian Weimer <fweimer@redhat.com>
4598 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4599 clause to copyright header.
4601 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4604 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4605 registers saved in the stack frame.
4606 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4607 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4609 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4611 * include/bits/monetary-ldbl.h: New file.
4612 * include/bits/printf-ldbl.h: Likewise.
4613 * include/bits/stdio-ldbl.h: Likewise.
4614 * include/bits/stdlib-ldbl.h: Likewise.
4615 * include/bits/syslog-ldbl.h: Likewise.
4616 * include/bits/wchar-ldbl.h: Likewise.
4618 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4620 * libio/libio.h: Remove redirection for _IO_vfprintf.
4622 2018-12-11 Andreas Schwab <schwab@suse.de>
4624 * Makerules: Remove all references to abilist-pattern.
4625 (update-all-abi): Simplify find expression.
4627 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4630 * math/auto-libm-test-in: Add new test case.
4631 * math/auto-libm-test-out-pow: Regenerated.
4632 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4634 2018-12-10 DJ Delorie <dj@redhat.com>
4637 * support/test-container.c: Move postclean step to before we
4640 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4642 * scripts/gen-as-const.py (main): Handle --python option.
4643 * scripts/gen-py-const.awk: Remove.
4644 * Makerules (py-const-script): Use gen-as-const.py.
4645 ($(py-const)): Likewise.
4646 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4647 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4648 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4649 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4650 ~PTHREAD_MUTEX_NO_ELISION_NP.
4651 * manual/README.pretty-printers: Update reference to
4654 * scripts/glibcextract.py: New file.
4655 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4656 or tempfile. Import glibcexctract.
4657 (compute_c_consts): Remove. Moved to glibcextract.py.
4658 (gen_test): Update reference to compute_c_consts.
4660 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4661 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4662 * sysdeps/unix/sysv/linux/Makefile
4663 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4664 Redirect stderr as well as stdout.
4666 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4669 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4670 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4671 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4672 ALWAYS_USE_VSYSCALL.
4673 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4674 ALWAYS_USE_VSYSCALL.
4675 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4676 ALWAYS_USE_VSYSCALL.
4678 2018-12-10 Florian Weimer <fweimer@redhat.com>
4681 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4682 offset instead of count for clarity. Fix typo in comment.
4683 (__old_getdents64): Keep track of previous offset. Use it to call
4685 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4686 that d_off is never zero.
4688 2018-12-10 Andreas Schwab <schwab@suse.de>
4690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4691 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4693 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4694 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4696 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4698 * timezone/private.h: Update from tzcode 2018g.
4699 * timezone/tzfile.h: Likewise.
4700 * timezone/tzselect.ksh: Likewise.
4701 * timezone/zdump.c: Likewise.
4702 * timezone/zic.c: Likewise.
4704 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4707 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4708 (do_test): Adjust buffer size and fix format.
4710 2018-12-07 DJ Delorie <dj@redhat.com>
4713 * malloc/tst-tcfree3.c: New.
4714 * malloc/Makefile: Add it.
4716 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4718 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4720 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4722 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4723 used as a mask for the mode argument of __vfscanf_internal and
4724 __vfwscanf_internal.
4725 * stdio-common/vfscanf-internal.c
4726 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4727 (__strtof128_internal): Define to __wcstof128_internal.
4728 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4729 __strtof128_internal or __wcstof128_internal when the format of
4730 long double is the same as _Float128.
4732 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4734 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4735 * posix/confstr.c (confstr): Rename to __confstr.
4736 (__confstr): Add hidden def.
4737 (confstr): Add weak alias for __confstr.
4738 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4741 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4743 * NEWS: Mention getcpu.
4744 * include/sched.h (__getcpu): New libc_hidden_proto.
4745 * manual/resource.texi: Document getcpu.
4746 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4747 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4748 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4749 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4750 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4751 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4752 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4753 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4754 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4755 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4756 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4757 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4758 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4760 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4761 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4762 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4771 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4772 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4773 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4774 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4775 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4776 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4777 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4778 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4779 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4780 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4781 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4784 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4786 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4788 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4790 2018-12-07 Florian Weimer <fweimer@redhat.com>
4793 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4794 * posix/Versions (GLIBC_2.29): Export
4795 posix_spawn_file_actions_addfchdir_np.
4796 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4797 * posix/spawn_faction_destroy.c
4798 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4799 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4800 and the field action.fchdir_action.
4801 * posix/tst-spawn-chdir.c (add_chdir): New function.
4802 (do_test): Add do_fchdir loop. Call add_chdir.
4803 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4804 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4805 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4806 posix_spawn_file_actions_addfchdir_np.
4807 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4809 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4811 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4812 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4814 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4816 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4818 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4820 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4822 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4824 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4825 (GLIBC_2.29): Likewise.
4826 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4827 (GLIBC_2.29): Likewise.
4828 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4829 (GLIBC_2.29): Likewise.
4830 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4831 (GLIBC_2.29): Likewise.
4832 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4835 (GLIBC_2.29): Likewise.
4836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4837 (GLIBC_2.29): Likewise.
4838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4839 (GLIBC_2.29): Likewise.
4840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4841 (GLIBC_2.29): Likewise.
4842 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4844 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4846 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4848 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4849 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4851 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4853 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4855 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4858 2018-12-06 Joseph Myers <joseph@codesourcery.com>
4860 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4861 trailing whitespace removed.
4862 * scripts/config.guess: Update to version 2018-11-28.
4863 * scripts/config.sub: Update to version 2018-11-28.
4864 * scripts/install-sh: Update to version 2018-03-11.20.
4865 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4866 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4868 2018-12-07 Florian Weimer <fweimer@redhat.com>
4872 * inet/tst-if_index-long.c: New file.
4873 * inet/Makefile (tests): Add tst-if_index-long.
4875 2018-12-07 Florian Weimer <fweimer@redhat.com>
4877 * support/check.h (support_record_failure_is_failed): Declare.
4878 * support/descriptors.h: New file.
4879 * support/support_descriptors.c: Likewise.
4880 * support/tst-support_descriptors.c: Likewise.
4881 * support/support_record_failure.c
4882 (support_record_failure_is_failed): New function.
4883 * support/Makefile (libsupport-routines): Add support_descriptors.
4884 (tests): Add tst-support_descriptors.
4886 2018-12-05 Zack Weinberg <zackw@panix.com>
4887 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4889 * stdio-common/vfprintf-internal.c
4890 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4891 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4892 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4893 and __no_long_double.
4894 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4895 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4896 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4897 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4898 and __nldbl_*syslog* functions.
4899 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4900 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4901 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4902 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4903 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4904 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4905 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4906 (__nldbl_vwprintf, __nldbl_wprintf):
4907 Directly call the appropriate __v*printf_internal routine, passing
4908 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4910 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4911 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4912 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4913 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4914 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4915 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4916 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4917 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4918 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4919 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4920 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4921 (__nldbl_syslog, __nldbl_vsyslog):
4922 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4923 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4925 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4928 2018-12-05 Zack Weinberg <zackw@panix.com>
4929 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4932 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4933 Moved here from debug/vsprintf_chk.c.
4934 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4935 and completion logic for the strfile to match exactly what
4936 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4937 _IO_str_init_static_internal instead of maxlen-1.
4938 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4939 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4940 __vsprintf_internal.
4942 * debug/vsprintf_chk.c (__vsprintf_chk)
4943 * debug/sprintf_chk.c (__sprintf_chk):
4944 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4945 'flags' argument is positive, and slen as maxlen. No need to lock
4946 the FILE and/or construct a temporary FILE. Minimize and normalize
4947 header inclusions and variable names. Do not libc_hidden_def anything.
4949 * debug/asprintf_chk.c (__asprintf_chk)
4950 * debug/dprintf_chk.c (__dprintf_chk)
4951 * debug/fprintf_chk.c (__fprintf_chk)
4952 * debug/fwprintf_chk.c (__fwprintf_chk)
4953 * debug/printf_chk.c (__printf_chk)
4954 * debug/snprintf_chk.c (__snprintf_chk)
4955 * debug/swprintf_chk.c (__swprintf_chk)
4956 * debug/vasprintf_chk.c (__vasprintf_chk)
4957 * debug/vdprintf_chk.c (__vdprintf_chk)
4958 * debug/vfprintf_chk.c (__vfprintf_chk)
4959 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4960 * debug/vprintf_chk.c (__vprintf_chk)
4961 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4962 * debug/vswprintf_chk.c (__vswprintf_chk)
4963 * debug/vwprintf_chk.c (__vwprintf_chk)
4964 * debug/wprintf_chk.c (__wprintf_chk):
4965 Directly call the corresponding vxxprintf_internal function, passing
4966 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4967 the FILE and/or construct a temporary FILE. Minimize and normalize
4968 header inclusions and variable names. Do not libc_hidden_def anything.
4970 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4971 __obstack_vprintf_internal.
4972 (__obstack_vprintf_chk): Convert into a wrapper that calls
4973 __obstack_vprintf_internal (these two functions already had the
4974 same code) and move to new file...
4975 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4977 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4978 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4979 * debug/Makefile (routines): Add vobprintf_chk.
4981 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4982 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4983 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4984 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4985 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4986 (__nldbl___obstack_vfprintf_chk):
4987 Directly call the corresponding vxxprintf_internal function,
4988 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4989 duplicate comparison of slen with 0 or maxlen from the corresponding
4990 non-__nldbl function.
4992 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4993 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4994 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4995 Remove libc_hidden_proto.
4997 * stdio-common/vfprintf-internal.c
4998 (__vfprintf_internal, __vfwprintf_internal):
4999 Do not check _IO_FLAGS2_FORTIFY.
5000 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5001 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5002 a comment explaining why it has the maxlen argument.
5003 (_IO_acquire_lock_clear_flags2_fct): Remove.
5004 (_IO_acquire_lock_clear_flags2): Remove.
5005 (_IO_release_lock): Remove conditional statement which will
5007 (_IO_acquire_lock): Remove variable which is now unused.
5008 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5009 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5011 * stdio-common/Makefile (tests): Add tst-bz11319 and
5012 tst-bz11319-fortify2.
5013 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5014 * stdio-common/tst-bz11319-fortify2.c: New file.
5015 * stdio-common/tst-bz11319.c: Likewise.
5017 2018-12-05 Zack Weinberg <zackw@panix.com>
5018 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5020 * misc/syslog.c: Include libioP.h, not iolibio.h.
5021 (__vsyslog_internal): New function with the former body of
5022 __vsyslog_chk; takes mode_flags argument same as
5023 __v*printf_internal. Call __vfprintf_internal directly.
5025 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5026 Remove libc_hidden_def.
5027 (__syslog, __syslog_chk): Use __vsyslog_internal.
5028 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5030 * include/sys/syslog.h: Add multiple inclusion guard.
5031 Add prototype for __vsyslog_internal.
5032 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5034 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5035 Use __vsyslog_internal.
5037 2018-12-05 Zack Weinberg <zackw@panix.com>
5038 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5040 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5041 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5042 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5044 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5045 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5047 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5048 Include wctype.h here if COMPILE_WPRINTF is defined.
5049 Define __vfprintf_internal or __vfwprintf_internal, depending
5051 Temporarily, on entry to this function, update mode_flags
5052 according to the environmental settings corresponding to
5053 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5054 Throughout, check mode_flags instead of __ldbl_is_dbl and
5055 _IO_FLAGS2_FORTIFY on the destination FILE.
5056 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5057 Include vfprintf-internal.c. Don't include wctype.h.
5058 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5059 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5061 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5062 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5064 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5066 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5067 and add mode_flags argument; use __vfprintf_internal.
5068 (__vdprintf): New function. Alias vdprintf to this.
5069 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5070 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5071 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5072 (__obstack_printf): Use __obstack_printf_internal.
5073 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5074 public aliases __vsnprintf and vsnprintf.
5075 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5077 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5078 public aliases _IO_vsprintf and vsprintf.
5079 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5080 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5081 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5082 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5083 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5085 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5086 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5087 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5088 * stdio-common/printf.c: Use __vfprintf_internal.
5090 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5091 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5092 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5094 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5095 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5096 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5097 __vfwprintf_internal.
5099 * libio/libio.h: Remove libc_hidden_proto and declaration for
5101 Remove declaration of _IO_vfwprintf.
5102 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5104 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5106 * include/stdio.h: Add prototype for __vasprintf.
5107 (__vsnprintf): Remove declaration, because there are no more
5109 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5110 declaration, because there are no more internal calls.
5112 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5113 __vsnprintf_internal, instead of _IO_vsnprintf.
5114 * argp/argp-help.c (__argp_error, __argp_failure): Use
5115 __vasprintf_internal, instead of _IO_vasprintf.
5116 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5117 redefine, because there are no more internal calls.
5119 2018-12-05 Zack Weinberg <zackw@panix.com>
5120 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5122 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5123 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5124 Include libio/strfile.h instead of libioP.h.
5125 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5126 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5127 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5128 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5129 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5130 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5131 necessary. Do not set __no_long_double. Normalize variable names.
5132 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5133 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5134 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5135 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5136 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5137 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5138 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5139 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5140 Do not set __no_long_double. Normalize variable names.
5142 2018-12-05 Zack Weinberg <zackw@panix.com>
5143 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5145 * stdio-common/isoc99_scanf.c
5146 * stdio-common/isoc99_fscanf.c
5147 * stdio-common/isoc99_sscanf.c
5148 * stdio-common/isoc99_vscanf.c
5149 * stdio-common/isoc99_vfscanf.c
5150 * stdio-common/isoc99_vsscanf.c
5151 * wcsmbs/isoc99_wscanf.c
5152 * wcsmbs/isoc99_fwscanf.c
5153 * wcsmbs/isoc99_swscanf.c
5154 * wcsmbs/isoc99_vwscanf.c
5155 * wcsmbs/isoc99_vfwscanf.c
5156 * wcsmbs/isoc99_vswscanf.c:
5157 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5158 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5159 No need to lock and unlock the FILE passed to that function.
5161 * stdio-common/vfscanf-internal.c
5162 (__vfscanf_internal, __vfwscanf_internal):
5163 Don't look at _IO_FLAGS2_SCANF_STD.
5164 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5165 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5166 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5168 2018-12-05 Zack Weinberg <zackw@panix.com>
5169 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5171 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5172 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5173 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5174 * libio/strfile.h: Add multiple inclusion guard.
5175 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5177 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5178 consistency with the other version of this file.
5179 (ldbl_compat_symbol): New macro.
5180 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5183 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5184 Define __vfscanf_internal or __vfwscanf_internal, depending on
5185 COMPILE_WSCANF; don't define any other public symbols.
5186 Remove errval and code to set errp.
5187 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5188 as the mode_flags argument.
5189 (encode_error, conv_error, input_error): Don't set errval.
5190 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5191 Include vfscanf-internal.c.
5192 * stdio-common/vfscanf.c: New file defining the public entry
5193 point vfscanf, which calls __vfscanf_internal.
5194 * stdio-common/vfwscanf.c: New file defining the public entry
5195 point vfwscanf, which calls __vfwscanf_internal.
5197 * stdio-common/iovfscanf.c: New file.
5198 * stdio-common/iovfwscanf.c: Likewise.
5200 * stdio-common/Makefile (routines): Add vfscanf-internal,
5201 vfwscanf-internal, iovfscanf, iovfwscanf.
5202 * stdio-common/Versions: Mention GLIBC_2.29, so that
5203 it can be used in SHLIB_COMPAT expressions.
5204 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5205 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5206 Call __vfscanf_internal, instead of _IO_vfscanf.
5207 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5209 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5212 * libio/iovsscanf.c: Clean up includes, when possible. Use
5213 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5214 __vfscanf_internal or __vfwscanf_internal directly.
5215 * libio/iovswscanf.c: Likewise.
5216 * libio/swscanf.c: Likewise.
5217 * libio/vscanf.c: Likewise.
5218 * libio/vwscanf.c: Likewise.
5219 * libio/wscanf.c: Likewise.
5220 * stdio-common/isoc99_fscanf.c: Likewise.
5221 * stdio-common/isoc99_scanf.c: Likewise.
5222 * stdio-common/isoc99_sscanf.c: Likewise.
5223 * stdio-common/isoc99_vfscanf.c: Likewise.
5224 * stdio-common/isoc99_vscanf.c: Likewise.
5225 * stdio-common/isoc99_vsscanf.c: Likewise.
5226 * stdio-common/scanf.c: Likewise.
5227 * stdio-common/sscanf.c: Likewise.
5228 * wcsmbs/isoc99_fwscanf.c: Likewise.
5229 * wcsmbs/isoc99_swscanf.c: Likewise.
5230 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5231 * wcsmbs/isoc99_vswscanf.c: Likewise.
5232 * wcsmbs/isoc99_vwscanf.c: Likewise.
5233 * wcsmbs/isoc99_wscanf.c: Likewise.
5235 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
5238 (__tz_compute): Replace time_t with __time64_t.
5239 (__tz_convert): Replace time_t* with __time64_t.
5240 (__offtime): Replace time_t* with __time64_t.
5242 (__gmtime_r): Adjust call to __tz_convert.
5245 (__localtime_r): Likewise.
5246 (localtime): Likewise.
5247 * time/offtime.c: Replace time_t with __time64_t.
5248 * time/tzset.c: Likewise.
5250 2018-12-04 Joseph Myers <joseph@codesourcery.com>
5252 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5253 dynamic linker unless [$(run-built-tests) = yes].
5255 2018-12-03 DJ Delorie <dj@delorie.com>
5257 * support/test-container.c (check_for_unshare_hints): New.
5258 (main): Call it if unshare fails. Add support for "su" scriptlet
5261 2018-12-03 Joseph Myers <joseph@codesourcery.com>
5263 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5264 'START' to indicate that start text should be output.
5265 (gen_test): Likewise.
5266 (main): Generate 'START' for first symbol or '--' line, or at end
5267 of input if not previously generated.
5269 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5272 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5273 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5274 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5275 ALWAYS_USE_VSYSCALL.
5277 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5280 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5283 2018-12-03 Carlos O'Donell <carlos@redhat.com>
5286 * locale/programs/localedef.c: Declare boolean hard_links default true.
5287 (options): Add --no-hard-links option.
5288 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5289 * locale/programs/localedef.h: Declare prototype for hard_links.
5290 * locale/programs/locfile.c (write_locale_data): Don't use hard
5291 links if hard_links is false.
5293 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5295 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5297 (__cache_sysconf): Likewise.
5298 (init_cacheinfo): Likewise.
5299 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5300 populate COMMON_CPUID_INDEX_80000007 and
5301 COMMON_CPUID_INDEX_80000008.
5302 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5303 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5304 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5305 (init_cpu_features): Use _Static_assert on
5306 index_arch_Fast_Unaligned_Load.
5307 __get_cpuid_registers and __get_arch_feature. Updated for
5308 cpu_features_basic. Set stepping in cpu_features.
5309 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5310 (FEATURE_INDEX_2): New.
5311 (FEATURE_INDEX_MAX): Changed to enum.
5312 (COMMON_CPUID_INDEX_D_ECX_1): New.
5313 (COMMON_CPUID_INDEX_80000007): Likewise.
5314 (COMMON_CPUID_INDEX_80000008): Likewise.
5315 (cpuid_registers): Likewise.
5316 (cpu_features_basic): Likewise.
5317 (CPU_FEATURE_USABLE): Likewise.
5318 (bit_arch_XXX_Usable): Likewise.
5319 (cpu_features): Use cpuid_registers and cpu_features_basic.
5320 (bit_arch_XXX): Reweritten.
5321 (bit_cpu_XXX): Likewise.
5322 (index_cpu_XXX): Likewise.
5323 (reg_XXX): Likewise.
5324 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
5326 (CHECK_CPU_FEATURE): New.
5327 (CHECK_CPU_FEATURE_USABLE): Likewise.
5328 (cpu_kinds): Likewise.
5329 (do_test): Print vendor, family, model and stepping. Check
5330 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
5331 (TEST_FUNCTION): Removed.
5332 Include <support/test-driver.c> instead of
5333 "../../test-skeleton.c".
5334 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
5335 Check POPCNT instead of POPCOUNT.
5336 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
5338 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5340 * scripts/gen-as-const.py (main): Avoid emitting empty line when
5341 there is no element in `consts'.
5343 2018-12-01 Florian Weimer <fweimer@redhat.com>
5345 * support/support_capture_subprocess.c
5346 (support_capture_subprocess): Check that pipe descriptors have
5347 expected values. Close original pipe descriptors in subprocess.
5349 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5352 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
5353 attr with __pthread_default_barrierattr.
5354 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
5355 attr with __pthread_default_condattr.
5356 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5357 attr with __pthread_default_mutexattr.
5358 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5359 attr with __pthread_default_rwlockattr.
5361 2018-12-01 Kemi Wang <kemi.wang@intel.com>
5363 * manual/tunables.texi (POSIX Thread Tunables): New node.
5364 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5365 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5366 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5367 __pthread_tunables_init.
5368 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5369 (max_adaptive_count): Define.
5370 * nptl/pthread_mutex_conf.c: New file.
5371 * nptl/pthread_mutex_conf.h: New file.
5372 * sysdeps/generic/adaptive_spin_count.h: New file.
5373 * sysdeps/nptl/dl-tunables.list: New file.
5374 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5375 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5376 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5379 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5382 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5383 * stdlib/on_exit.c (__on_exit): Likewise.
5384 * stdlib/Makefile (tests): Add tst-bz20544.
5385 * stdlib/tst-bz20544.c: New test.
5387 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5390 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5391 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5394 2018-11-30 Florian Weimer <fweimer@redhat.com>
5396 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5397 Extend error logging.
5398 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5401 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5403 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5404 __sigismember instead of sigismember.
5405 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5406 cancel_handler): New definitions.
5407 (do_system): Use posix_spawn instead of fork and execl and remove
5409 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5410 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5411 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5412 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5413 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5414 * sysdeps/unix/sysv/linux/system.c: Likewise.
5418 * NEWS: Add new semantic for atfork with popen and system.
5419 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5422 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5425 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5426 modification order when accessing reloc_result->addr.
5427 * include/link.h (reloc_result): Add field init.
5428 * nptl/Makefile (tests): Add tst-audit-threads.
5429 (modules-names): Add tst-audit-threads-mod1 and
5430 tst-audit-threads-mod2.
5431 Add rules to build tst-audit-threads.
5432 * nptl/tst-audit-threads-mod1.c: New file.
5433 * nptl/tst-audit-threads-mod2.c: Likewise.
5434 * nptl/tst-audit-threads.c: Likewise.
5435 * nptl/tst-audit-threads.h: Likewise.
5437 2018-11-30 Joseph Myers <joseph@codesourcery.com>
5439 * scripts/gen-as-const.py: New file.
5440 * scripts/gen-as-const.awk: Remove.
5441 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5443 ($(objpfx)test-as-const-%.c): Likewise.
5445 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5447 * elf/dl-exception.c: Include <_itoa.h>.
5449 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5451 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5452 returned by __f_setlk.
5454 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5455 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5457 * elf/Makefile (tests-internal): Add tst-create_format1.
5458 * elf/dl-exception.c (_dl_exception_create_format): Support
5460 * elf/tst-create_format1.c: New file.
5462 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5464 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5465 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5467 * argp/argp-help.c (__argp_failure): Likewise.
5469 2018-11-29 Mao Han <han_mao@c-sky.com>
5471 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5472 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5473 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5474 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5475 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5476 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5477 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5478 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5479 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5480 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5481 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5482 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5483 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5484 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5485 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5486 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5487 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5488 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5489 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5490 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5491 (R_CKCORE_TLS_TPOFF32): New defines.
5493 2018-11-29 Florian Weimer <fweimer@redhat.com>
5495 * posix/Makefile (before-compile): Remove testcases.h and
5497 (generated): Add testcases.h and ptestcases.h.
5498 (testcases.h, ptestcases.h): Move to $(objpfx).
5499 (runtests.o): Add dependency on testcases.h.
5500 (runptests.o): Add dependency on ptestcases.h.
5501 * posix/testcases.h, posix/ptestcases.h: Remove files.
5502 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5503 not touch posix/testcases.h and posix/ptestcases.h.
5505 2018-11-28 Florian Weimer <fweimer@redhat.com>
5507 support: Add signal support to support_capture_subprocess_check.
5508 * support/capture_subprocess.h (support_capture_subprocess_check):
5509 Adjust comment and rename parameter.
5510 * support/support_capture_subprocess_check.c
5511 (print_actual_status): New function.
5512 (support_capture_subprocess_check): Support negative
5513 status_or_signal. Call print_actual_status.
5514 * support/tst-support_capture_subprocess.c (do_test): Call
5515 support_capture_subprocess_check.
5516 * libio/tst-vtables-common.c (termination_status)
5517 (init_termination_status): Remove.
5518 (check_for_termination): Adjust support_capture_subprocess_check
5520 (do_test): Remove call to init_termination_status.
5522 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5524 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5525 source directory instead of a copy.
5526 (CommandList.create_copy_dir): Remove.
5528 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
5530 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5532 2018-11-28 Florian Weimer <fweimer@redhat.com>
5534 * support/support.h (support_quote_string): Do not use str
5537 2018-11-27 Joseph Myers <joseph@codesourcery.com>
5539 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5540 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5542 2018-11-27 Florian Weimer <fweimer@redhat.com>
5544 * support/support.h (support_quote_string): Declare.
5545 * support/support_quote_string.c: New file.
5546 * support/tst-support_quote_string.c: Likewise.
5547 * support/Makefile (libsupport-routines): Add
5548 support_quote_string.
5549 (tests): Add tst-support_quote_string.
5551 2018-11-27 Florian Weimer <fweimer@redhat.com>
5555 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5556 descriptor leak in case of ENODEV error.
5558 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5561 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5562 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5563 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5565 2018-11-26 Carlos O'Donell <carlos@redhat.com>
5567 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5568 Error for unknown lines.
5570 2018-11-26 Joseph Myers <joseph@codesourcery.com>
5572 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5573 Touch additional files.
5575 2018-11-26 Florian Weimer <fweimer@redhat.com>
5578 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5581 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5584 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5585 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5586 SHARED. Include sysdep.h.
5587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5588 ALWAYS_USE_VSYSCALL.
5589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5590 ALWAYS_USE_VSYSCALL.
5592 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5595 * nptl/Makefile (tests-static): Add tst-cond11-static.
5597 * nptl/tst-cond11-static.c: New File.
5598 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5599 tst-affinity-static.
5601 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5603 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5604 (USE_VSYSCALL): Likewise.
5605 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5606 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5608 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5613 2018-11-23 Joseph Myers <joseph@codesourcery.com>
5616 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5617 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5620 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5622 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5623 (tst-cet-legacy-1a-ARGS): New.
5624 ($(objpfx)tst-cet-legacy-1a): New target.
5625 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5627 2018-11-22 Joseph Myers <joseph@codesourcery.com>
5629 * conform/conformtest.py (CompileSubTest.__init__): Set
5630 self.run_early to False.
5631 (ExecuteSubTest.__init__): Likewise.
5632 (HeaderTests.run): Try running all non-optional, non-XFAILed
5633 compilation tests in a single execution of the compiler.
5635 * conform/conformtest.py (CompileSubTest): New class.
5636 (ExecuteSubTest): Likewise.
5637 (ElementTest.run): Rename to gen_subtests. Append tests to
5638 self.subtests instead of running them.
5639 (ConstantTest.run): Likewise.
5640 (SymbolTest.run): Likewise.
5641 (TypeTest.run): Likewise.
5642 (TagTest.run): Likewise.
5643 (FunctionTest.run): Likewise.
5644 (VariableTest.run): Likewise.
5645 (MacroFunctionTest.run): Likewise.
5646 (MacroStrTest.run): Likewise.
5647 (HeaderTests.handle_test_line): Generate subtests for tests.
5648 (HeaderTests.run): Run subtests for tests.
5650 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5652 * math/Versions (GLIBC_2.29): Add pow.
5653 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5655 * math/w_pow.c: New file.
5656 * sysdeps/i386/fpu/w_pow.c: New file.
5657 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5658 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5659 and add necessary aliases.
5660 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5661 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5662 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5663 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5664 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5665 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5666 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5667 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5668 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5669 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5670 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5671 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5672 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5673 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5674 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5679 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5680 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5681 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5682 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5683 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5684 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5685 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5686 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5688 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5689 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5690 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5692 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5694 * math/Versions (GLIBC_2.29): Add log2.
5695 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5697 * math/w_log2.c: New file.
5698 * sysdeps/i386/fpu/w_log2.c: New file.
5699 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5700 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5701 and add necessary aliases.
5702 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5703 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5704 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5705 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5706 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5707 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5708 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5709 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5710 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5711 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5712 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5713 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5714 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5715 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5716 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5721 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5722 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5723 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5724 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5725 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5726 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5727 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5729 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5731 * math/Versions (GLIBC_2.29): Add log.
5732 * math/w_log_compat.c (__log_compat): Change to versioned compat
5734 * math/w_log.c: New file.
5735 * sysdeps/i386/fpu/w_log.c: New file.
5736 * sysdeps/ia64/fpu/e_log.S: Update.
5737 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5738 and add necessary aliases.
5739 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5740 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5741 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5742 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5743 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5744 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5745 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5746 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5747 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5748 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5749 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5750 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5751 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5752 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5753 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5758 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5759 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5760 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5761 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5762 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5763 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5764 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5765 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5767 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5768 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5769 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5770 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5772 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5774 * math/Versions (GLIBC_2.29): Add exp and exp2.
5775 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5776 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5777 * math/w_exp_compat.c (__exp_compat): Likewise.
5778 * math/w_exp.c: New file.
5779 * math/w_exp2.c: New file.
5780 * sysdeps/i386/fpu/w_exp.c: New file.
5781 * sysdeps/i386/fpu/w_exp2.c: New file.
5782 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5783 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5784 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5785 and add necessary aliases.
5786 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5787 and add necessary aliases.
5788 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5789 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5790 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5791 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5792 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5793 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5794 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5795 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5796 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5797 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5798 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5799 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5800 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5801 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5802 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5803 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5804 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5809 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5810 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5811 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5812 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5813 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5814 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5815 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5816 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5817 (__ieee754_exp): Rename to __exp.
5818 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5819 (__ieee754_exp): Rename to __exp.
5820 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5821 (__ieee754_exp): Rename to __exp.
5822 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5824 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5826 2018-11-20 DJ Delorie <dj@redhat.com>
5828 * malloc/malloc.c (tcache_entry): Add key field.
5829 (tcache_put): Set it.
5830 (tcache_get): Likewise.
5831 (_int_free): Check for double free in tcache.
5832 * malloc/tst-tcfree1.c: New.
5833 * malloc/tst-tcfree2.c: New.
5834 * malloc/Makefile: Run the new tests.
5835 * manual/probes.texi: Document memory_tcache_double_free probe.
5837 * dlfcn/dlerror.c (check_free): Prevent double frees.
5839 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5841 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5843 2018-11-20 Joseph Myers <joseph@codesourcery.com>
5845 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5846 in tests. Use names for format arguments.
5847 (ConstantTest.run): Likewise.
5848 (SymbolTest.run): Likewise.
5849 (TypeTest.run): Likewise.
5850 (TagTest.run): Likewise.
5851 (FunctionTest.run): Likewise.
5852 (VariableTest.run): Likewise.
5853 (MacroFunctionTest.run): Likewise.
5854 (MacroStrTest.run): Likewise.
5855 (HeaderTests.__init__): Set self.num_tests.
5856 (HeaderTests.handle_test_line): Set test.num. Increment
5859 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5861 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5862 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5865 2018-11-19 Mao Han <han_mao@c-sky.com>
5867 * scripts/config.guess: Update to version 2018-08-29.
5868 * scripts/config.sub: Update to version 2018-08-29.
5870 2018-11-19 Florian Weimer <fweimer@redhat.com>
5872 support: Print timestamps in timeout handler.
5873 * support/support_test_main.c (print_timestamp): New function.
5874 (signal_handler): Use it to print the termination time and the
5875 time of the last write to standard output.
5877 2018-11-16 Zack Weinberg <zackw@panix.com>
5878 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5880 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5881 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5883 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5884 and add flags argument. Check flags instead of __ldbl_is_dbl when
5885 deciding whether to set is_long_double.
5886 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5887 passing zero for flags argument.
5888 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5890 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5891 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5892 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5893 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5894 variable names. Remove libc_hidden_def/libc_hidden_proto from
5895 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5896 longer called from within the library.
5897 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5898 for __nldbl___vstrfmon_l, declare it explicitly.
5900 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5902 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5904 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5906 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5907 F_SETLK64, F_SETLKW64, respectively.
5908 * sysdeps/mach/hurd/f_setlk.c: New file.
5909 * sysdeps/mach/hurd/f_setlk.h: New file.
5910 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5912 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5913 (__libc_fcntl): Move non-flock operations to...
5914 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5915 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5917 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5919 mktime: DEBUG_MKTIME cleanup
5920 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5921 And it’s no longer needed now that glibc and Gnulib both have
5922 their own testing mechanisms for mktime.
5923 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5925 mktime: fix non-EOVERFLOW errno handling
5927 mktime was not properly reporting failures when the underlying
5928 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5929 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5930 The problem could happen on non-glibc platforms, with Gnulib.
5931 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5932 (tm_diff): ... this simpler function, which does not change errno.
5933 All callers changed to deal with errno themselves.
5934 (ranged_convert, __mktime_internal): Return failure immediately if
5935 the underlying function reports any failure other than EOVERFLOW.
5936 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5939 mktime: fix bug with Y2038 DST transition
5941 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5942 mishandle a DST transition that jumps over the Y2038 boundary.
5943 No such DST transitions are known so this is only a theoretical
5944 bug, but we might as well do things right.
5946 mktime: make more room for overflow
5948 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5949 This is so that we can add tm_diff results to a previous guess,
5950 which will be useful in a later patch.
5952 mktime: simplify offset guess
5954 * time/mktime.c (__mktime_internal): Omit excess precision.
5956 mktime: new test for mktime failure
5958 Based on a test suggested by Albert Aribaud in:
5959 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5960 * time/Makefile (tests): Add bug-mktime4.
5961 * time/bug-mktime4.c: New file.
5963 mktime: fix EOVERFLOW bug
5965 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5966 Include libc-config.h, not config.h, for __set_errno.
5967 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5969 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5971 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5972 __attribute_copy__ to copy attributes from name. Drop static qualifier
5973 to avoid warnings about leaf attribute not having effect on static
5976 2018-11-13 Florian Weimer <fweimer@redhat.com>
5978 * malloc/malloc.c (fastbin_push_entry): New function.
5979 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5980 (REMOVE_FB): Remove macro.
5981 (_int_malloc): Use fastbin_pop_entry and reindent.
5982 (_int_free): Use fastbin_push_entry.
5983 (malloc_consolidate): Use atomic_exchange_acquire.
5985 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5987 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5988 alias attribute, not with strong_alias.
5990 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5991 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5992 with additional parameter thread.
5993 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5994 in terms of __hidden_ver2.
5995 (hidden_tls_def): New macro.
5996 (libc_hidden_tls_def): Likewise.
5997 (rtld_hidden_tls_def): Likewise.
5998 (libm_hidden_tls_def): Likewise.
5999 (libmvec_hidden_tls_def): Likewise.
6000 (libresolv_hidden_tls_def): Likewise.
6001 (librt_hidden_tls_def): Likewise.
6002 (libdl_hidden_tls_def): Likewise.
6003 (libnss_files_hidden_tls_def): Likewise.
6004 (libnsl_hidden_tls_def): Likewise.
6005 (libnss_nisplus_hidden_tls_def): Likewise.
6006 (libutil_hidden_tls_def): Likewise.
6007 (libutil_hidden_tls_def): Likweise.
6008 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6009 libc_hidden_tls_def.
6010 (__sim_disabled_exceptions_thread): Likewise.
6011 (__sim_round_mode_thread): Likewise.
6013 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6014 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6015 copy attributes from name.
6017 2018-11-12 Joseph Myers <joseph@codesourcery.com>
6019 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6020 Use __attribute_copy__ to copy attributes from name.
6022 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6023 with __hidden_ver1 call.
6024 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6025 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6026 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6027 (__cosf): Do not declare here.
6028 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6029 (__sincosf): Do not declare here.
6030 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6031 (__sinf): Do not declare here.
6033 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6034 (__BIG_ENDIAN): Likewise.
6035 (__BYTE_ORDER): Likewise.
6036 (strong_alias): Likewise.
6037 (_strong_alias): Likewise.
6039 2018-11-12 Florian Weimer <fweimer@redhat.com>
6041 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6042 function. Move after the definition of in_smallbin_range. Do not
6043 use __builtin_expect for paths that lead to a noreturn function.
6044 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6045 because it is unclear whether this is in fact an unlikely
6047 (_int_malloc, _int_free): Adjust.
6048 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6050 * malloc/arena.c (heap_trim): Likewise.
6052 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6054 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6055 it, free it if needed.
6056 (reauthenticate): Test and use ccwdir.
6057 (child_init_port): In non-resetids case, test and use ccwdir.
6058 (child_chdir): New nested function to set ccwdir.
6059 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6060 * hurd/hurd/port.h (_hurd_port_move): New function.
6061 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6062 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
6063 * hurd/Versions (_hurd_port_move): Export function.
6064 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6066 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6067 of dtablesize for allocating dtable_cloexec.
6069 2018-11-09 Martin Sebor <msebor@redhat.com>
6071 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6072 it's already defined.
6073 (_strong_alias): Use __attribute_copy__.
6074 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6075 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6076 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6077 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6078 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6079 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6080 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6081 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6082 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6083 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6084 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6085 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6086 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6087 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6088 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6089 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6090 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6091 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6092 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6094 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6096 * misc/tst-efgcvt.c: Include support/check.h and
6097 support/test-driver.c. Do not include test-skeleton.c.
6098 (error_count): Remove.
6099 (output_error): Replace increments to error_count with calls to
6100 support_record_failure.
6101 (output_r_error): Likewise.
6102 (special): Likewise.
6103 (do_test): Unconditionally return zero.
6104 (TEST_FUNCTION): Remove.
6106 2018-11-09 Joseph Myers <joseph@codesourcery.com>
6108 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6110 ($(linknamespace-header-tests)): Likewise.
6112 * conform/conformtest.py: New file.
6113 * conform/conformtest.pl: Remove.
6114 * conform/GlibcConform.pm: Likewise.
6115 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6116 (KEYWORDS_C99): Likewise.
6117 (KEYWORDS): Likewise.
6118 * conform/Makefile ($(conformtest-header-tests)): Use
6119 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6120 option. Use --header instead of --headers.
6121 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6123 * conform/data/spawn.h-data: Likewise.
6124 * conform/data/fcntl.h-data (openat): Add space after function
6126 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6127 (wcscasecmp_l): Likewise.
6128 * conform/data/termios.h-data (c_cc): Add space after element
6131 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6133 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6134 instead of manually comparing and reporting mismatching strings.
6135 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6136 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6138 2018-11-08 Joseph Myers <joseph@codesourcery.com>
6140 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6141 __ASSUME_SOCKETCALL.
6142 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6143 (__ASSUME_SOCKETCALL): Remove.
6144 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6145 (__ASSUME_SOCKETCALL): Likewise.
6146 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6147 (__ASSUME_SOCKETCALL): Likewise.
6148 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6149 (__ASSUME_SOCKETCALL): Likewise.
6150 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6151 (__ASSUME_SOCKETCALL): Likewise.
6152 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6153 (__ASSUME_SOCKETCALL): Likewise.
6154 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6155 (__ASSUME_SOCKETCALL): Likewise.
6157 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6160 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6161 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6162 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6163 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6164 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6167 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6170 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6172 2018-11-07 Joseph Myers <joseph@codesourcery.com>
6175 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6176 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6177 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6178 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6180 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6182 * support/support_test_compare_string.c
6183 (support_test_compare_string): Fix printf format.
6185 2018-11-07 Florian Weimer <fweimer@redhat.com>
6187 Implement TEST_COMPARE_STRING.
6188 * support/check.h (TEST_COMPARE_STRING): Define.
6189 (support_test_compare_string): Declare.
6190 * support/Makefile (libsupport-routines): Add
6191 support_test_compare_string.
6192 (tests): Add tst-test_compare_string.
6193 * support/support_test_compare_string.c: New file.
6194 * support/tst-test_compare_string.c: Likewise.
6196 2018-11-07 Andreas Schwab <schwab@suse.de>
6199 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6200 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6203 2018-11-06 Joseph Myers <joseph@codesourcery.com>
6206 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6207 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6208 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6209 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6212 2018-11-06 Florian Weimer <fweimer@redhat.com>
6215 * posix/Makefile (routines): Add spawn_faction_addchdir.
6216 (tests): Add tst-spawn-chdir.
6217 * posix/Versions (GLIBC_2.29): Add
6218 posix_spawn_file_actions_addchdir_np.
6219 * posix/spawn_faction_addchdir.c: New file.
6220 * posix/spawn_faction_destroy.c
6221 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6222 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6223 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6225 * posix/tst-spawn-chdir.c: New file.
6226 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6227 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6228 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6229 posix_spawn_file_actions_addchdir_np.
6230 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6232 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6234 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6235 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6237 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6239 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6241 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6243 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6245 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6247 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6248 (GLIBC_2.29): Likewise.
6249 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6250 (GLIBC_2.29): Likewise.
6251 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6252 (GLIBC_2.29): Likewise.
6253 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6254 (GLIBC_2.29): Likewise.
6255 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6258 (GLIBC_2.29): Likewise.
6259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6260 (GLIBC_2.29): Likewise.
6261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6262 (GLIBC_2.29): Likewise.
6263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6264 (GLIBC_2.29): Likewise.
6265 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6267 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6269 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6271 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6272 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6274 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6276 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6278 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6281 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6283 * misc/Makefile (tests): Add tst-ldbl-error.
6284 * misc/tst-ldbl-error.c: New file.
6286 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6288 * misc/Makefile (tests): Add tst-ldbl-warn.
6289 * misc/tst-ldbl-warn.c: New file.
6291 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6293 * argp/Makefile (tests): Add tst-ldbl-argp.
6294 * argp/tst-ldbl-argp.c: New file.
6296 2018-11-05 Arjun Shankar <arjun@redhat.com>
6298 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6299 __gconv_path_elem and call __gconv_get_path unconditionally.
6301 2018-11-05 Andreas Schwab <schwab@suse.de>
6304 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6305 creating the first helper thread failed.
6307 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6309 * sysdeps/mach/hurd/msync.c: New file.
6311 2018-11-02 Florian Weimer <fweimer@redhat.com>
6313 * support/shell-container.c (copy_func): Call
6314 support_copy_file_range instead of copy_file_range to support
6315 cross-device copies.
6317 2018-11-02 Florian Weimer <fweimer@redhat.com>
6319 * support/test-container.c: Include <libc-pointer-arith.h> for
6322 2018-11-01 Zong Li <zong@andestech.com>
6324 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
6325 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
6326 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
6327 (__FP_FRAC_SET_8): Add implementation for RV32 use.
6329 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
6330 variable to avoid overlap arguments.
6332 2018-11-01 Joseph Myers <joseph@codesourcery.com>
6334 * posix/bug-regex22.c (main): Use puts with distinct error
6335 messages for unexpected success of re_compile_pattern, not printf
6336 with NULL argument to %s.
6338 * stdio-common/bug22.c: Include <libc-diag.h>.
6339 (do_test): Disable -Wformat-overflow= warnings around fprintf
6340 calls outputting more than INT_MAX characters.
6341 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
6342 around printf call with NULL %s argument.
6345 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
6346 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
6348 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6349 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6350 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6351 (__ASSUME_SENDTO_SYSCALL): Likewise.
6352 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6353 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
6355 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6356 (__ASSUME_CONNECT_SYSCALL): Likewise.
6357 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6358 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6359 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6361 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6363 [__LINUX_KERNEL_VERSION >= 0x040400]
6364 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6365 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6368 (setsockopt): Likewise.
6370 2018-11-01 Fredrik Noring <noring@nocrew.org>
6372 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6373 with the ISA override.
6375 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6377 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6380 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6382 * manual/errno.texi (EIEIO): Document how translators should
6383 translate the error message.
6384 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6385 printing trailing whitespaces refused by git.
6386 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6387 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6388 * hurd/Makefile (user-interfaces): Add pci.
6390 2018-10-30 Joseph Myers <joseph@codesourcery.com>
6392 * conform/linknamespace.py: New file.
6393 * conform/linknamespace.pl: Remove file.
6394 * conform/Makefile ($(linknamespace-header-tests)): Use
6395 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6398 2018-10-30 Florian Weimer <fweimer@redhat.com>
6400 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6403 2018-10-30 Florian Weimer <fweimer@redhat.com>
6405 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6407 2018-10-30 Florian Weimer <fweimer@redhat.com>
6409 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6410 support_blob_repeat.
6412 2018-10-30 Florian Weimer <fweimer@redhat.com>
6414 Avoid spurious test failures in stdlib/test-bz22786.
6415 * support/Makefile (libsupport-routines): Add blob_repeat.
6416 (tests): Add tst-support_blob_repeat.
6417 * support/blob_repeat.h: New file.
6418 * support/blob_repeat.c: Likewise.
6419 * support/tst-support_blob_repeat.c: Likewise.
6420 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6421 support_blob_repeat_allocate.
6423 2018-10-30 Andreas Schwab <schwab@suse.de>
6426 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6427 Don't use tail call.
6428 * elf/tst-unwind-main.c: New file.
6429 * elf/Makefile (tests): Add tst-unwind-main.
6430 (CFLAGS-tst-unwind-main.c): Define.
6432 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6435 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6437 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6439 2018-10-29 Joseph Myers <joseph@codesourcery.com>
6441 * conform/glibcconform.py: Do not import shutil.
6442 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6445 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6446 critic_missing for versions before 3.4.
6447 * configure: Regenerated.
6448 * manual/install.texi (Tools for Compilation): Document
6449 requirement for Python to build glibc.
6450 * INSTALL: Regenerated.
6451 * Rules [PYTHON]: Make code unconditional.
6452 * benchtests/Makefile [PYTHON]: Likewise.
6453 * conform/Makefile [PYTHON]: Likewise.
6454 * manual/Makefile [PYTHON]: Likewise.
6455 * math/Makefile [PYTHON]: Likewise.
6457 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6459 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
6460 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
6461 answer to interrupt_operation, return EIEIO instead of EINTR.
6462 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6463 _hurd_intr_rpc_msg_about_to global point to start of controlled
6464 assembly snippet. Make it check canceled flag.
6465 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6466 the _hurd_intr_rpc_msg_about_to point.
6467 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6468 issue, remove cancel flag check.
6470 2018-10-26 Joseph Myers <joseph@codesourcery.com>
6472 * scripts/build-many-glibcs.py: Remove compatibility for missing
6473 os.cpu_count and re.fullmatch.
6475 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6478 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6479 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6480 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6482 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6484 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6487 2018-10-25 Florian Weimer <fweimer@redhat.com>
6491 XFAIL siginfo_t si_band conform test on sparc64.
6492 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6493 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6494 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6495 (conformtest-xfail-conds): Add sparc64-linux.
6496 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6498 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6500 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6502 * elf/elf.h (NT_MIPS_DSP): New macro.
6503 (NT_MIPS_FP_MODE): Likewise.
6505 2018-10-25 Zong Li <zong@andestech.com>
6507 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6508 name by adding the file extension (.so).
6510 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6512 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6513 (test-xfail-ISO11/threads.h/linknamespace,
6514 test-xfail-ISO11/threads.h/conform): Add.
6516 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6518 * math/gen-libm-test.py: Import os.
6519 (ALL_FLOATS_MANUAL): New constant.
6520 (ALL_FLOATS_SUFFIX): Likewise.
6521 (Ulps.all_functions): New function.
6522 (real_all_ulps): Likewise.
6523 (generate_err_table_sub): Likewise.
6524 (generate_err_table): Likewise.
6525 (main): Handle -s and -m options.
6526 * manual/libm-err-tab.pl: Remove.
6527 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6528 instead of libm-err-tab.pl.
6529 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6531 * manual/install.texi (Tools for Compilation): Document
6532 requirement for Python to build manual.
6533 * INSTALL: Regenerated.
6535 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6537 * bits/time64.h: New file.
6538 * include/time.h: Replace internal_time_t with __time64_t.
6539 * posix/bits/types (__time64_t): Add.
6540 * stdlib/Makefile: Add bits/time64.h to includes.
6541 * time/tzfile.c: Replace internal_time_t with __time64_t.
6543 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6545 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6546 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6547 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6548 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6549 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6551 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6552 * posix/spawn_faction_addclose.c
6553 (__posix_spawn_file_actions_addclose): Add hidden definition.
6554 * posix/spawn_faction_adddup2.c
6555 (__posix_spawn_file_actions_adddup2): Likewise.
6556 * posix/spawn_faction_destroy.c
6557 (__posix_spawn_file_actions_destroy): Likewise.
6558 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6560 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6561 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6562 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6564 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6565 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6568 2018-10-24 Andreas Schwab <schwab@suse.de>
6571 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6573 * elf/cache.c (print_cache): Likewise.
6575 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6577 * bits/timesize.h: New file.
6578 * stdlib/Makefile (headers): Add bits/timesize.h.
6579 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6580 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6581 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6582 (__SEM_PAD_AFTER_TIME): Likewise.
6583 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6584 (__SHM_PAD_AFTER_TIME): Likewise.
6585 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6586 (__MSQ_PAD_BEFORE_TIME): Likewise.
6587 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6588 (__SEM_PAD_BEFORE_TIME): Likewise.
6589 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6590 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6591 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6592 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6593 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6594 (__MSQ_PAD_BEFORE_TIME): Likewise.
6595 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6596 (__SEM_PAD_BEFORE_TIME): Likewise.
6597 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6598 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6599 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6600 (__MSQ_PAD_BEFORE_TIME): Likewise.
6601 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6602 (__SEM_PAD_BEFORE_TIME): Likewise.
6603 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6604 (__SHM_PAD_BEFORE_TIME): Likewise.
6605 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6606 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6607 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6609 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6611 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6612 USE_RDTSCP is defined.
6613 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6614 USE_RDTSCP is defined.
6616 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6618 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6622 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6623 independently of other flags.
6625 2018-10-23 Florian Weimer <fweimer@redhat.com>
6627 * time/tst-mktime2.c (N_STRINGS): Remove.
6628 (set_timezone): New function.
6629 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6630 (mktime_test1): Report localtime failure and check errno value.
6632 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6633 (do_test): Remove alarm call. Use set_timezone and array_length.
6635 2018-10-23 Andreas Schwab <schwab@suse.de>
6637 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6638 (__start_context): Use END instead of PSEUDO_END.
6640 2018-10-22 Joseph Myers <joseph@codesourcery.com>
6642 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6645 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6649 * wcsmbs/c32rtomb.c: New file.
6650 * wcsmbs/mbrtoc32.c: Likewise.
6651 * wcsmbs/tst-c32-state.c: Likewise.
6652 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6653 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6654 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6655 (tests): Add tst-c32-state.
6656 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6659 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6661 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6662 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6664 2018-10-19 Joseph Myers <joseph@codesourcery.com>
6667 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6668 pair and return 0 in that case, and use saved character to
6669 interpret following character.
6670 * wcsmbs/tst-c16-surrogate.c: New file.
6671 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6672 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6673 Depend on $(gen-locales)
6675 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6678 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6679 (struct siginfo_t): Use correct type for si_band.
6681 2018-10-19 Florian Weimer <fweimer@redhat.com>
6684 * resource/bits/types/struct_rusage.h (struct rusage): Update
6685 comment on struct. Remove extraneous field comment.
6687 2018-10-18 David S. Miller <davem@davemloft.net>
6689 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6690 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6691 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6692 sysdep_routines in subdir elf.
6693 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6694 version for __vdso_clock_gettime.
6695 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6697 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6698 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6700 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6702 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6704 * sysdeps/i386/init-arch.h: Removed.
6705 * sysdeps/i386/i586/init-arch.h: Likewise.
6706 * sysdeps/i386/i686/init-arch.h: Likewise.
6707 * sysdeps/i386/i686/hp-timing.h: Likewise.
6708 * sysdeps/x86_64/hp-timing.h: Likewise.
6709 * sysdeps/i386/isa.h: New file.
6710 * sysdeps/i386/i586/isa.h: Likewise.
6711 * sysdeps/i386/i686/isa.h: Likewise.
6712 * sysdeps/x86_64/isa.h: Likewise.
6713 * sysdeps/x86/hp-timing.h: New file.
6714 * sysdeps/x86/init-arch.h: Include <isa.h>.
6716 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6718 * math/libm-test-pow.inc (pow_test_data): Do not allow
6719 divide-by-zero exception for pow(+/- 0, -Inf).
6721 2018-10-17 Zack Weinberg <zackw@panix.com>
6723 * manual/job.texi (Job Control is Optional): Remove node, as
6724 job control has not been optional in quite some time.
6725 (Job Control): Mention briefly that systems older than
6726 POSIX.1-2001 might not support job control.
6727 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6728 defined on systems conforming to POSIX.1-2001.
6730 2018-10-17 Arjun Shankar <arjun@redhat.com>
6733 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6735 * (__gconv_read_conf): Mark function static.
6736 * (once): New static variable.
6737 * (__gconv_load_conf): New function.
6738 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6739 * iconv/gconv_db.c (once): Remove static variable.
6740 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6742 * (__gconv_find_transform): Likewise.
6743 * iconv/tst-iconv-mt.c: New test.
6744 * iconv/Makefile: Add tst-iconv_mt.
6746 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6750 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6751 (shmatt_t): Define as __syscall_ulong_t.
6752 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6753 and [__SHM_PAD_AFTER_TIME].
6754 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6755 Define shm_segsz and associated padding based on
6756 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6757 Use __syscall_ulong_t instead of unsigned long int.
6758 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6760 [__USE_MISC] (struct shm_info): Likewise.
6761 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6762 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6763 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6764 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6765 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6766 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6767 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6768 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6769 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6770 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6771 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6775 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6776 (SHMLBA): Remove macro.
6777 (__getpagesize): Remove function declaration.
6778 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6780 (SHMLBA): Remove macro.
6781 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6783 (SHMLBA): Remove macro.
6784 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6786 (SHMLBA): Remove macro.
6787 (__getpagesize): Remove function declaration.
6788 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6790 (SHMLBA): Remove macro.
6791 (__getshmlba): Remove function declaration.
6792 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6793 (SHMLBA): Remove macro.
6794 (__getpagesize): Remove function declaration.
6795 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6796 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6797 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6798 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6799 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6800 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6801 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6802 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6803 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6804 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6806 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
6809 * nptl/tst-mutex10.c: New File.
6810 * nptl/Makefile (tests): Add tst-mutex10.
6811 (tst-mutex10-ENV): New variable.
6812 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6813 Ensure that elision path is used if elision is available.
6814 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6816 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6818 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6819 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6820 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6821 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6823 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6824 (__pthread_mutex_cond_lock_adjust): Likewise.
6825 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6827 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6828 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6829 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6830 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6832 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6833 Use atomic_load_relaxed and atomic_store_relaxed.
6834 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6835 Use atomic_store_relaxed.
6837 2018-10-17 Andreas Schwab <schwab@suse.de>
6839 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6840 * crypt/badsalttest.c (TIMEOUT): Likewise.
6841 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6842 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6843 * io/test-lfs.c (TIMEOUT): Likewise.
6844 * libio/tst-atime.c (TIMEOUT): Likewise.
6845 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6846 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6847 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6848 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6849 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6850 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6851 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6852 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6853 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6854 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6855 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6856 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6857 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6858 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6859 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6860 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6861 * nptl/tst-once2.c (TIMEOUT): Likewise.
6862 * nptl/tst-once3.c (TIMEOUT): Likewise.
6863 * nptl/tst-once4.c (TIMEOUT): Likewise.
6864 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6865 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6866 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6867 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6868 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6869 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6870 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6871 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6872 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6873 * posix/tst-chmod.c (TIMEOUT): Likewise.
6874 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6875 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6876 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6877 * posix/tst-regex2.c (TIMEOUT): Likewise.
6878 * posix/tst-waitid.c (TIMEOUT): Likewise.
6879 * rt/tst-aio.c (TIMEOUT): Likewise.
6880 * rt/tst-aio10.c (TIMEOUT): Likewise.
6881 * rt/tst-aio4.c (TIMEOUT): Likewise.
6882 * rt/tst-aio5.c (TIMEOUT): Likewise.
6883 * rt/tst-aio6.c (TIMEOUT): Likewise.
6884 * rt/tst-aio64.c (TIMEOUT): Likewise.
6885 * rt/tst-aio7.c (TIMEOUT): Likewise.
6886 * rt/tst-aio9.c (TIMEOUT): Likewise.
6887 * rt/tst-clock.c (TIMEOUT): Likewise.
6888 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6889 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6890 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6891 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6892 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6893 * rt/tst-timer4.c (TIMEOUT): Likewise.
6894 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6895 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6896 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6897 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6898 * time/tst-ftime.c (TIMEOUT): Likewise.
6899 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6901 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6903 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6904 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6907 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6911 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6912 instead of <bits/wordsize.h>.
6913 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6914 and [__SEM_PAD_AFTER_TIME].
6915 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6916 __syscall_ulong_t instead of unsigned long int.
6917 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6918 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6919 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6920 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6921 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6922 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6923 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6924 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6925 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6926 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6927 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6929 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6931 regex: simplify by using intprops.h
6933 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6934 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6935 intprops.h defines them.
6937 regex: __builtin_expect → __glibc_unlikely
6939 This refactoring was prompted by a problem when the regex code is
6940 used as part of Gnulib and when the builder’s compiler does not grok
6941 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6942 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6943 Although this refactoring does not fix the problem directly,
6944 we might as well have Gawk use the now-preferred glibc style for when
6945 __builtin_expect is unavailable.
6946 * posix/regex_internal.h (BE): Remove.
6947 All uses replaced by __glibc_unlikely or __glibc_likely.
6949 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6953 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6954 instead of <bits/wordsize.h>.
6955 (msgqnum_t): Define as __syscall_ulong_t.
6956 (msglen_t): Likewise.
6957 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6958 and [__MSQ_PAD_AFTER_TIME].
6959 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6960 __syscall_ulong_t instead of unsigned long int.
6961 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6962 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6963 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6964 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6965 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6966 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6967 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6968 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6969 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6970 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6971 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6973 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6975 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6976 (struct shmid_ds): Condition padding after time fields on
6978 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6979 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6980 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6982 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6983 (struct semid_ds): Condition padding after time fields on
6985 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6986 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6987 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6988 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6990 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6991 (struct msqid_ds): Condition padding after time fields on
6993 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6994 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6995 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6996 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6998 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7000 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7002 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7004 * libio/tst-readline.c (TIMEOUT): Define.
7006 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7008 mktime fix for Gnulib + coreutils
7010 This fix affects only Gnulib. Problem discovered when
7011 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7013 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7014 Do not define since it is not used. Defining an unused static
7015 function prompts a warning from GCC when Coreutils is configured
7016 with --enable-gcc-warnings.
7018 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7020 * benchtests/scripts/compare_bench.py (main): set float type on
7023 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7026 * localedata/locales/kl_GL (mon): Update, the relative case.
7027 (alt_mon): Add, fill with month names in the nominative case.
7028 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7029 (d_fmt): Set to "%b %d %Y".
7031 2018-10-04 Joseph Myers <joseph@codesourcery.com>
7033 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7034 <bits/mman-linux.h>.
7035 (PROT_READ): Don't define here.
7036 (PROT_WRITE): Likewise.
7037 (PROT_EXEC): Likewise.
7038 (PROT_NONE): Likewise.
7039 (PROT_GROWSDOWN): Likewise.
7040 (PROT_GROWSUP): Likewise.
7041 (MAP_SHARED): Likewise.
7042 (MAP_PRIVATE): Likewise.
7043 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7044 [__USE_MISC] (MAP_FILE): Likewise.
7045 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7046 [__USE_MISC] (MAP_ANON): Likewise.
7047 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7048 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7049 (MCL_CURRENT): Likewise.
7050 (MCL_FUTURE): Likewise.
7051 (MCL_ONFAULT): Likewise.
7052 [__USE_MISC] (MADV_NORMAL): Likewise.
7053 [__USE_MISC] (MADV_RANDOM): Likewise.
7054 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7055 [__USE_MISC] (MADV_WILLNEED): Likewise.
7056 [__USE_MISC] (MADV_DONTNEED): Likewise.
7057 [__USE_MISC] (MADV_FREE): Likewise.
7058 [__USE_MISC] (MADV_REMOVE): Likewise.
7059 [__USE_MISC] (MADV_DONTFORK): Likewise.
7060 [__USE_MISC] (MADV_DOFORK): Likewise.
7061 [__USE_MISC] (MADV_HWPOISON): Likewise.
7062 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7063 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7064 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7065 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7066 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7067 (__MAP_ANONYMOUS): New macro.
7068 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7069 <bits/mman-linux.h> inclusion.
7070 (MAP_FIXED): Likewise.
7071 (MS_SYNC): Likewise.
7072 (MS_ASYNC): Likewise.
7073 (MS_INVALIDATE): Likewise.
7074 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7075 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7076 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7077 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7078 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7079 [__USE_MISC] (MADV_DODUMP): Likewise.
7080 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7081 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7084 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7086 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7087 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7088 Add test-nldbl-redirect.
7089 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7090 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7091 $(objpfx)libnldbl_nonshared.a.
7093 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
7095 * support/support.h (support_objdir_elf_ldso): New variable.
7096 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7097 * support/Makefile (CFLAGS-support_paths.c): Add definition
7098 for OBJDIR_ELF_LDSO_PATH.
7099 * support/test-container.c (main): Search for the ld.so
7100 which is also used by the testsuite.
7102 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7105 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7106 should be "sap" rather than "sab".
7107 (day): Fix spelling of Sunday, should be "sapaat" rather than
7110 2018-10-02 Joseph Myers <joseph@codesourcery.com>
7112 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7114 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7117 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7118 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7119 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7121 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7123 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7125 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7127 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7129 (CFLAGS-elision-unlock.c): Likewise.
7130 (CFLAGS-elision-timed.c): Likewise.
7131 (CFLAGS-elision-trylock.c): Likewise.
7132 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7134 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7137 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7138 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7139 new fd_to_filename interface.
7140 * libio/freopen64.c (freopen64): Likewise.
7141 * libio/tst-memstream.h: New file.
7142 * libio/tst-memstream4.c: Likewise.
7143 * libio/tst-wmemstream4.c: Likewise.
7144 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7145 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7146 and remove internal dynamic allocation.
7148 2018-10-01 Joseph Myers <joseph@codesourcery.com>
7150 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7151 (MREMAP_MAYMOVE): Do not define here.
7152 [__USE_GNU] (MREMAP_FIXED): Likewise.
7153 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7154 (MREMAP_MAYMOVE): Define here instead.
7155 [__USE_GNU] (MREMAP_FIXED): Likewise.
7156 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7157 (MREMAP_MAYMOVE): Remove.
7158 [__USE_GNU] (MREMAP_FIXED): Likewise.
7160 2018-09-28 Joseph Myers <joseph@codesourcery.com>
7162 * math/fromfp.h: Do not include <math_private.h>.
7163 * math/s_cacosh_template.c: Likewise.
7164 * math/s_casin_template.c: Likewise.
7165 * math/s_casinh_template.c: Likewise.
7166 * math/s_ccos_template.c: Likewise.
7167 * math/s_cproj_template.c: Likewise.
7168 * math/s_fdim_template.c: Likewise.
7169 * math/s_fmaxmag_template.c: Likewise.
7170 * math/s_fminmag_template.c: Likewise.
7171 * math/s_iseqsig_template.c: Likewise.
7172 * math/s_ldexp_template.c: Likewise.
7173 * math/s_nextdown_template.c: Likewise.
7174 * math/w_log1p_template.c: Likewise.
7175 * math/w_scalbln_template.c: Likewise.
7176 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7177 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7178 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7179 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7180 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7181 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7182 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7183 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7184 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7185 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7186 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7187 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7188 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7189 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7190 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7191 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7192 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7193 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7194 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7195 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7196 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7197 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7198 * sysdeps/ieee754/k_standardf.c: Likewise.
7199 * sysdeps/ieee754/k_standardl.c: Likewise.
7200 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7201 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7202 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7203 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7204 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7205 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7206 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7207 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7208 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7209 * sysdeps/ieee754/s_signgam.c: Likewise.
7210 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7211 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7212 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7213 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7214 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7215 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7216 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7217 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7218 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7219 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7220 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7221 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7222 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7223 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7224 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7225 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7226 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7227 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7228 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7229 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7230 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7231 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7232 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7233 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7234 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7235 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7236 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7237 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7238 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7239 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7240 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7241 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7242 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7243 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7244 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7245 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7246 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
7248 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7250 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7253 * sysdeps/i386/dl-cet.c: Removed.
7254 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7256 (_dl_runtime_profile_shstk): Likewise.
7257 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7258 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7260 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7263 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7264 do_test_with_invalid_iov): New tests.
7265 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7266 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7267 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7269 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7270 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7271 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7273 2018-09-27 Joseph Myers <joseph@codesourcery.com>
7275 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7276 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7277 (MATH_REDIRECT_BINARY_ARGS): New macro.
7278 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7279 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7280 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7282 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7283 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7284 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7285 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7288 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7295 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7296 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7301 * sysdeps/generic/math_private_calls.h
7302 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7303 Do not declare and define as an inline function.
7304 * math/divtc3.c (__divtc3): Use copysign functions instead of
7305 __copysign variants.
7306 * math/multc3.c (__multc3): Likewise.
7307 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
7308 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7309 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7310 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7312 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7313 (__ieee754_yn): Likewise.
7314 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7315 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7316 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7317 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7318 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
7320 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
7321 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7323 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7325 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7327 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7328 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7330 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7331 (__ieee754_ynf): Likewise.
7332 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7333 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7334 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7335 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7337 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7338 (__ieee754_ynl): Likewise.
7339 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7340 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7341 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7343 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7344 (__ieee754_ynl): Likewise.
7345 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
7346 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7347 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7348 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7350 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7352 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
7353 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7354 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
7355 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7356 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7358 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7359 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7360 using MATH_REDIRECT.
7361 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7363 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7364 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7365 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7366 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7367 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7368 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7369 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7374 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7375 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7376 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7377 (round): Redirect to __round.
7378 (__roundl): Call round instead of __round.
7379 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7381 [_ARCH_PWR5X] (__roundf): Likewise.
7382 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7383 functions instead of __round variants.
7384 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7385 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7387 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7389 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7391 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7392 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7394 (__ieee754_expl): Call roundl instead of __roundl.
7396 2018-09-27 Andreas Schwab <schwab@suse.de>
7399 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7400 (do_test): Make st1 static.
7402 2018-09-26 Andreas Schwab <schwab@suse.de>
7405 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7406 * elf/Makefile (tests): Add tst-unwind-ctor.
7407 (modules-names): Add tst-unwind-ctor-lib.
7408 ($(objpfx)tst-unwind-ctor): Depend on
7409 $(objpfx)tst-unwind-ctor-lib.so.
7411 2018-09-26 Joseph Myers <joseph@codesourcery.com>
7413 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7414 file. Most contents moved from ....
7415 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7416 and include <bits/mman-map-flags-generic.h>.
7417 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7418 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7419 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7420 <bits/mman-map-flags-generic.h>.
7421 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7422 macros defined in <bits/mman-map-flags-generic.h>.
7423 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7424 <bits/mman-map-flags-generic.h>.
7425 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7426 defined in <bits/mman-map-flags-generic.h>.
7428 2018-09-26 Andreas Schwab <schwab@suse.de>
7430 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7433 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7434 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7435 Fangrui Song <maskray@google.com>
7438 * config.make.in (have-textrel_ifunc): New define.
7439 * configure.ac: Add check if linker supports textrel relocation with
7441 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7443 (CFLAGS-tst-ifunc-textrel.c): New rule.
7444 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7445 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7446 * elf/tst-ifunc-textrel.c: New file.
7448 2018-09-25 Joseph Myers <joseph@codesourcery.com>
7450 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7451 <bits/procfs-prregset.h>.
7452 (prgregset_t): Define using __prgregset_t.
7453 (prfpregset_t): Define using __prfpregset_t.
7454 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7455 (sysdep_headers): Add bits/procfs-prregset.h.
7456 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7457 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7458 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7459 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7461 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7462 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7463 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7465 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7466 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7467 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7468 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7469 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7470 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7471 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7472 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7473 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7474 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7475 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7476 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7477 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7478 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7479 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7480 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7481 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7482 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7483 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7484 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7485 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7486 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7487 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7488 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7490 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7491 AArch64 version. Include <bits/procfs.h>.
7492 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7493 (sysdep_headers): Add bits/procfs.h.
7494 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7495 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7496 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7497 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7498 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7499 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7500 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7501 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7502 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7503 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7504 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7505 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7506 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7507 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7508 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7509 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7510 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7512 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7514 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7517 2018-09-25 Arjun Shankar <arjun@redhat.com>
7519 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7520 (__gconv_max_path_elem_len): Likewise.
7521 (__gconv_nmodules): Likewise.
7522 (__gconv_get_path): Likewise.
7523 (path_elem): Move to ...
7524 * iconv/gconv_conf.c: ... here.
7525 (__gconv_get_path): Mark function static.
7526 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7527 * iconv/gconv_open.c: ... here.
7529 2018-09-24 Andreas Schwab <schwab@suse.de>
7531 * scripts/haveversions.awk: New file.
7532 * Makerules ($(common-objpfx)Versions.def)
7533 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7534 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7536 * Makeconfig ($(common-objpfx)Versions.def)
7537 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7538 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7540 ($(common-objpfx)Versions.mk): New rule. Include it.
7541 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7542 Emit error if build-obsolete-nsl = yes.
7543 * manual/install.texi (Configuring and compiling): Describe
7544 --enable-obsolete-nsl as unavaiable after version 2.28.
7545 * INSTALL: Regenerate.
7547 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7549 * NEWS: Add note about new TLE support on powerpc64le.
7550 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7551 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7553 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7554 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7555 * sysdeps/powerpc/powerpc32/sysdep.h,
7556 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7557 ABORT_TRANSACTION): Remove macros.
7558 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7559 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7560 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7562 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7563 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7565 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7567 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7570 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7571 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7572 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7573 which is the same as in it_IT.
7574 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7575 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7577 2018-09-20 Joseph Myers <joseph@codesourcery.com>
7579 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7580 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7581 using MATH_REDIRECT.
7582 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7584 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7585 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7586 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7587 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7588 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7589 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7594 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7595 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7596 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7597 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7598 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7599 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7600 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7601 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7602 (ceil): Redirect to __ceil.
7603 (floor): Redirect to __floor.
7604 (trunc): Redirect to __trunc.
7605 (__truncl): Call trunc instead of __trunc.
7606 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7608 [_ARCH_PWR5X] (__truncf): Likewise.
7609 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7610 trunc functions instead of __trunc variants.
7611 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7613 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7615 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7617 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7620 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7621 [__i586__ || __pentium__].
7622 [__i486__]: Handle explicitly.
7623 (HAS_CPUID): Define to 1 if above macros are undefined.
7624 (HAS_I586): Likewise.
7625 (HAS_I686): Likewise.
7627 2018-09-20 Florian Weimer <fweimer@redhat.com>
7629 * misc/tst-gethostid.c: New file.
7630 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7631 (tst-gethostid): Link with -ldl.
7633 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7635 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7636 value from gethostbyname_r.
7638 2018-09-19 Carlos O'Donell <carlos@redhat.com>
7640 * stdlib/tst-setcontext9.c (f1): Rename to...
7642 (f1b): New function implementing lower half of f1 in alternate stack.
7644 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7646 Fix mktime localtime offset confusion
7648 * include/time.h (__mktime_internal): The localtime offset is now
7649 of type long int instead of time_t. This is the longstanding type
7650 in glibc, and it is more than enough to represent difference
7651 between localtime and gmtime even if it is 32 bits and time_t is
7652 64. Changing it now will let us avoid an unnecessary change when
7653 time_t is widened to 64 bits on 32-bit platforms.
7654 * time/mktime-internal.h (mktime_offset_t): Now long int.
7656 Merge mktime, timegm from upstream Gnulib
7657 [BZ #23603][BZ #16346]
7658 This fixes some obscure problems with integer overflow.
7659 Although it looks scary, it is almost all a byte-for-byte copy
7660 from Gnulib, and the Gnulib code has been tested reasonably well.
7661 * include/intprops.h: New file, copied from Gnulib.
7662 * include/verify.h, time/mktime-internal.h:
7663 New tiny files, simplified from Gnulib.
7664 * time/mktime.c: Copy from Gnulib. This has the following changes:
7665 Do not include config.h if DEBUG_MKTIME is nonzero.
7666 Include stdbool.h, intprops.h, verify.h.
7667 Include string.h only if needed.
7668 Include stdlib.h on MS-Windows.
7669 Include mktime-internal.h.
7670 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7671 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7672 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7673 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7674 simplify later conditionals; default the others to zero. Use
7675 these conditionals to express only the code needed on the current
7676 platform. In uses of these conditionals, explicitly spell out how
7677 _LIBC affects things, so it’s easier to review from a glibc
7679 (WRAPV): Remove; no longer needed now that we have
7680 systematic overflow checking.
7681 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7682 compartmentalize tzset issues. Move system-dependent tzsettish
7683 code here from mktime.
7684 (verify): Remove; now done by verify.h. All uses changed.
7685 (long_int): Use a more-conservative definition, to avoid
7687 (SHR): Remove, replacing with ...
7688 (shr): New function, which means we needn’t worry about side
7689 effects in args, and conversion analysis is simpler.
7690 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7691 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7692 (time_t_avg, time_t_add_ok): Remove.
7693 (mktime_min, mktime_max): New constants.
7694 (leapyear, isdst_differ): Use bool for booleans.
7695 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7696 Use long_int, not time_t, for mktime differences.
7697 (long_int_avg): New function, replacing time_t_avg.
7698 INT_ADD_WRAPV replaces time_t_add_ok.
7699 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7701 (convert_time): New function.
7702 (ranged_convert): Use it.
7703 (__mktime_internal): Last arg now points to mktime_offset_t, not
7704 time_t. All uses changed. This is a no-op on glibc, where
7705 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7706 offset guess. Directly check for integer overflow instead of
7707 using a heuristic that works only 99.9...% of the time.
7708 Access *OFFSET only once, to avoid an unlikely race if the
7709 compiler delays a load and if this cascades into a signed integer
7711 (mktime): Move tzsettish code to my_tzset, and move
7712 localtime_offset to within mktime so that it doesn’t
7713 need a separate ifdef.
7714 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7715 instead of localtime.
7716 * time/timegm.c: Copy from Gnulib. This has the following changes:
7717 Include mktime-internal.h.
7718 [!_LIBC]: Include config.h and time.h. Do not include
7719 timegm.h or time_r.h. Make __mktime_internal a macro,
7720 and include mktime-internal.h to get its declaration.
7721 (timegm): Temporary is now mktime_offset_t, not time_t.
7722 This affects only Gnulib.
7724 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7727 * string/test-strstr.c (pr23637): New function.
7728 (test_main): Add tests with longer needles.
7729 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7730 * string/strstr.c (AVAILABLE): Likewise.
7732 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7734 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7736 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7738 * NEWS: Mention pow improvements.
7739 * math/Makefile (type-double-routines): Add e_pow_log_data.
7740 * sysdeps/generic/math_private.h (__exp1): Remove.
7741 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7742 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7743 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7745 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7746 (exp_inline): Remove.
7747 (__ieee754_exp): Only single double input is handled.
7748 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7749 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7750 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7751 (__pow_log_data): Define.
7752 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7753 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7754 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7755 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7757 (CFLAGS-e_pow-fma4.c): Likewise.
7759 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7761 Simplify tzfile fstat failure code
7763 * time/tzfile.c (__tzfile_read): Simplify slightly.
7765 Fix tzfile low-memory assertion failure
7767 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7768 when registering time zone abbreviations.
7770 2018-09-18 Joseph Myers <joseph@codesourcery.com>
7772 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7773 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7774 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7775 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7776 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7777 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7778 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7779 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7780 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7782 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7784 (__ceill): Call ceil instead of __ceil.
7785 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7787 (__floorl): Call floor instead of __floor.
7789 2018-09-17 Joseph Myers <joseph@codesourcery.com>
7791 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7792 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7793 using MATH_REDIRECT.
7794 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7796 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7797 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7798 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7799 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7800 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7801 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7802 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7803 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7808 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7809 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7812 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7813 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7814 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7816 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7817 functions instead of __ceil variants.
7818 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7819 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7821 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7823 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7824 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7826 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7827 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7830 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7832 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7833 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7834 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7835 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7836 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7837 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7838 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7839 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7840 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7841 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7842 (ILL_BADIADDR): Remove constant.
7843 (TRAP_BRANCH): Likewise.
7844 (TRAP_HWBKPT): Likewise.
7846 2018-09-14 Joseph Myers <joseph@codesourcery.com>
7849 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7850 Remove [_MIPS_SIM = _ABIN32] conditional case.
7851 (struct elf_prpsinfo): Likewise.
7854 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7855 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7856 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7858 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7859 elf_prpsinfo): Likewise.
7860 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7861 elf_prpsinfo): Likewise.
7862 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7865 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7866 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7867 using MATH_REDIRECT.
7868 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7870 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7871 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7872 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7873 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7874 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7875 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7876 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7877 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7878 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7879 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7880 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7881 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7882 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7883 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7884 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7885 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7886 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7887 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7888 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7891 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7892 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7893 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7894 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7895 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7896 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7898 * math/e_scalbf.c (invalid_fn): Likewise.
7899 * math/e_scalbl.c (invalid_fn): Likewise.
7900 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7902 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7904 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7905 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7906 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7908 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7910 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7912 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7913 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7915 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7916 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7918 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7919 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7920 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7921 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7922 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7923 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7924 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7925 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7926 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7927 && !NO_MATH_REDIRECT] (floor): Likewise.
7928 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7930 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7931 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7932 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7933 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7934 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7935 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7936 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7937 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7942 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7943 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7946 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7947 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7948 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7950 [_ARCH_PWR5X] (__floorf): Likewise.
7951 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7953 [__SSE4_1__] (__floorf): Likewise.
7954 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7955 instead of __floor variants.
7956 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7957 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7958 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7959 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7960 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7961 * math/w_tgamma_compat.c (__tgamma): Likewise.
7962 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7963 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7964 * math/w_tgammal_compat.c (__tgammal): Likewise.
7965 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7966 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7968 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7969 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7970 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7971 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7973 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7974 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7976 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7977 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7979 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7980 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7982 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7983 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7984 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7985 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7986 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7987 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7989 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7991 * elf/Makefile (modules-names-tests): New variable.
7993 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7995 * NEWS: Mention log2 improvements.
7996 * math/Makefile (type-double-routines): Add e_log2_data.
7997 * sysdeps/i386/fpu/e_log2_data.c: New file.
7998 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7999 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8000 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8001 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8002 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8003 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8005 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8007 * NEWS: Mention log improvement.
8008 * math/Makefile (type-double-routines): Add e_log_data.
8009 * sysdeps/i386/fpu/e_log_data.c: New file.
8010 * sysdeps/ia64/fpu/e_log_data.c: New file.
8011 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8012 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8013 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8014 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8015 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8016 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8018 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8019 Xuepeng Guo <xuepeng.guo@intel.com>
8022 * sysdeps/i386/start.S: Include <sysdep.h>
8023 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8024 enabled. Add cfi_undefined (eip).
8026 2018-09-11 Joseph Myers <joseph@codesourcery.com>
8028 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8030 (EXTRACT_WORDS64): Likewise.
8031 (INSERT_WORDS64): Likewise.
8032 (GET_FLOAT_WORD): Likewise.
8033 (SET_FLOAT_WORD): Likewise.
8035 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8037 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8038 build, but not for second build if --full-gcc. Use
8039 --enable-languages=all for second build if --full-gcc.
8040 (get_parser): Add --full-gcc option.
8041 (main): Update call to Context.
8043 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8046 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8047 Single Quotation Mark).
8048 (thousands_sep): Likewise.
8049 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8050 * localedata/locales/it_IT (thousands_sep): Use ".".
8051 (grouping): Use "3;3".
8053 2018-09-10 Joseph Myers <joseph@codesourcery.com>
8055 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8056 x86_64 and i686 configs using --enable-obsolete-rpc
8057 --enable-obsolete-nsl.
8059 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8061 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8063 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8065 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8066 Increment size of new_argv by one.
8068 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8071 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8072 * localedata/locales/ar_IN (d_fmt): Likewise.
8073 * localedata/locales/bhb_IN (d_fmt): Likewise.
8074 * localedata/locales/bho_IN (d_fmt): Likewise.
8075 * localedata/locales/bn_BD (d_fmt): Likewise.
8076 * localedata/locales/bn_IN (d_fmt): Likewise.
8077 * localedata/locales/doi_IN (d_fmt): Likewise.
8078 * localedata/locales/gu_IN (d_fmt): Likewise.
8079 * localedata/locales/hi_IN (d_fmt): Likewise.
8080 * localedata/locales/hne_IN (d_fmt): Likewise.
8081 * localedata/locales/kn_IN (d_fmt): Likewise.
8082 * localedata/locales/mag_IN (d_fmt): Likewise.
8083 * localedata/locales/mai_IN (d_fmt): Likewise.
8084 * localedata/locales/mjw_IN (d_fmt): Likewise.
8085 * localedata/locales/ml_IN (d_fmt): Likewise.
8086 * localedata/locales/mni_IN (d_fmt): Likewise.
8087 * localedata/locales/mr_IN (d_fmt): Likewise.
8088 * localedata/locales/pa_IN (d_fmt): Likewise.
8089 * localedata/locales/raj_IN (d_fmt): Likewise.
8090 * localedata/locales/sat_IN (d_fmt): Likewise.
8091 * localedata/locales/sd_IN (d_fmt): Likewise.
8092 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8093 * localedata/locales/ta_IN (d_fmt): Likewise.
8094 * localedata/locales/ta_LK (d_fmt): Likewise.
8095 * localedata/locales/tcy_IN (d_fmt): Likewise.
8096 * localedata/locales/ur_IN (d_fmt): Likewise.
8098 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8099 * localedata/locales/ks_IN (d_fmt): Likewise.
8100 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8102 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8103 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8104 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8105 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8107 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8109 * NEWS: Mention exp and exp2 improvements.
8110 * math/Makefile (libm-support): Remove t_exp.
8111 (type-double-routines): Add math_err and e_exp_data.
8112 * sysdeps/aarch64/libm-test-ulps: Update.
8113 * sysdeps/arm/libm-test-ulps: Update.
8114 * sysdeps/i386/fpu/e_exp_data.c: New file.
8115 * sysdeps/i386/fpu/math_err.c: New file.
8116 * sysdeps/i386/fpu/t_exp.c: Remove.
8117 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8118 * sysdeps/ia64/fpu/math_err.c: New file.
8119 * sysdeps/ia64/fpu/t_exp.c: Remove.
8120 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8121 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8122 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8123 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8124 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8125 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8126 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8127 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8128 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8129 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8130 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8131 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8132 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8133 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8137 2018-09-05 Joseph Myers <joseph@codesourcery.com>
8139 * sysdeps/alpha/fpu/math_private.h: Remove.
8141 * sysdeps/generic/math_private.h
8142 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8143 Move this inline function ....
8144 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8145 * include/math.h [!_ISOMAC]: To here....
8147 2018-09-04 Joseph Myers <joseph@codesourcery.com>
8149 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8151 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8152 * include/fenv.h [!_ISOMAC]: ... to here.
8153 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8154 (feraiseexcept): Likewise.
8155 * math/fromfp.h: Do not include <fenv_private.h>.
8156 * math/s_cexp_template.c: Likewise.
8157 * math/s_csin_template.c: Likewise.
8158 * math/s_csinh_template.c: Likewise.
8159 * math/s_ctan_template.c: Likewise.
8160 * math/s_ctanh_template.c: Likewise.
8161 * math/s_iseqsig_template.c: Likewise.
8162 * math/w_acos_compat.c: Likewise.
8163 * math/w_acosf_compat.c: Likewise.
8164 * math/w_acosl_compat.c: Likewise.
8165 * math/w_asin_compat.c: Likewise.
8166 * math/w_asinf_compat.c: Likewise.
8167 * math/w_asinl_compat.c: Likewise.
8168 * math/w_j0_compat.c: Likewise.
8169 * math/w_j0f_compat.c: Likewise.
8170 * math/w_j0l_compat.c: Likewise.
8171 * math/w_j1_compat.c: Likewise.
8172 * math/w_j1f_compat.c: Likewise.
8173 * math/w_j1l_compat.c: Likewise.
8174 * math/w_jn_compat.c: Likewise.
8175 * math/w_jnf_compat.c: Likewise.
8176 * math/w_log10_compat.c: Likewise.
8177 * math/w_log10f_compat.c: Likewise.
8178 * math/w_log10l_compat.c: Likewise.
8179 * math/w_log2_compat.c: Likewise.
8180 * math/w_log2f_compat.c: Likewise.
8181 * math/w_log2l_compat.c: Likewise.
8182 * math/w_log_compat.c: Likewise.
8183 * math/w_logf_compat.c: Likewise.
8184 * math/w_logl_compat.c: Likewise.
8185 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8186 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8187 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8188 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8189 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8190 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8191 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8192 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8193 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8194 * sysdeps/ieee754/k_standardl.c: Likewise.
8195 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8196 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8197 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8198 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8199 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8200 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8201 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8202 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8203 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8204 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8205 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8206 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8207 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8208 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8209 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8210 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8211 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8212 * math/w_ilogb_template.c: Include <fenv.h> instead of
8214 * math/w_llogb_template.c: Likewise.
8215 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8216 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8218 2018-09-03 Joseph Myers <joseph@codesourcery.com>
8220 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8221 * math/fromfp.h: Include <fenv_private.h>.
8222 * math/math-narrow.h: Likewise.
8223 * math/s_cexp_template.c: Likewise.
8224 * math/s_csin_template.c: Likewise.
8225 * math/s_csinh_template.c: Likewise.
8226 * math/s_ctan_template.c: Likewise.
8227 * math/s_ctanh_template.c: Likewise.
8228 * math/s_iseqsig_template.c: Likewise.
8229 * math/w_acos_compat.c: Likewise.
8230 * math/w_acosf_compat.c: Likewise.
8231 * math/w_acosl_compat.c: Likewise.
8232 * math/w_asin_compat.c: Likewise.
8233 * math/w_asinf_compat.c: Likewise.
8234 * math/w_asinl_compat.c: Likewise.
8235 * math/w_ilogb_template.c: Likewise.
8236 * math/w_j0_compat.c: Likewise.
8237 * math/w_j0f_compat.c: Likewise.
8238 * math/w_j0l_compat.c: Likewise.
8239 * math/w_j1_compat.c: Likewise.
8240 * math/w_j1f_compat.c: Likewise.
8241 * math/w_j1l_compat.c: Likewise.
8242 * math/w_jn_compat.c: Likewise.
8243 * math/w_jnf_compat.c: Likewise.
8244 * math/w_llogb_template.c: Likewise.
8245 * math/w_log10_compat.c: Likewise.
8246 * math/w_log10f_compat.c: Likewise.
8247 * math/w_log10l_compat.c: Likewise.
8248 * math/w_log2_compat.c: Likewise.
8249 * math/w_log2f_compat.c: Likewise.
8250 * math/w_log2l_compat.c: Likewise.
8251 * math/w_log_compat.c: Likewise.
8252 * math/w_logf_compat.c: Likewise.
8253 * math/w_logl_compat.c: Likewise.
8254 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8255 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8256 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8257 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8258 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8259 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8260 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8261 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8262 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8263 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8264 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8265 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8266 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8267 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8268 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8269 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8270 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8271 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8272 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8273 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8274 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8275 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8276 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8277 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8280 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8282 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8283 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8284 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8285 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8286 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8287 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8288 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8289 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8290 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8291 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8292 * sysdeps/ieee754/k_standardl.c: Likewise.
8293 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8294 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8295 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8296 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8298 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8299 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8300 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8301 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8302 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8303 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8304 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8305 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8306 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8307 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8308 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8309 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8310 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8311 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8312 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8313 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8314 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8315 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8316 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8317 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8318 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8319 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8320 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8321 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8322 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8323 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8324 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8325 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8326 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8329 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8330 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8331 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8332 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8333 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8334 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8335 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8336 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8337 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8338 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8339 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8340 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8341 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8342 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8343 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8344 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8345 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8346 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8347 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8348 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8349 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8350 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8351 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8352 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8353 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8354 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8355 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8356 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8357 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8358 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8359 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8360 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8361 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8362 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8363 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8365 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8368 * include/stdio.h (__libc_fatal): Mention newline in comment.
8369 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8370 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8371 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8372 * nss/nsswitch.c (__nss_next2): Likewise.
8373 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8374 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8375 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8376 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8377 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8378 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8379 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8380 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8381 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8382 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8383 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8384 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8385 (__netlink_assert_response): Likewise.
8387 2018-08-31 Joseph Myers <joseph@codesourcery.com>
8389 * conform/glibcconform.py: New file.
8390 * conform/list-header-symbols.py: Likewise.
8391 * conform/list-header-symbols.pl: Remove.
8392 * conform/Makefile (tests-special): Only add linknamespace tests
8394 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8396 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8399 * support/Makefile (libsupport-routines): Add
8400 support_copy_file_range and xcopy_file_range.
8401 * support/support.h: Include <sys/types.h>.
8402 (support_copy_file_range): New prototype.
8403 * support/support_copy_file_range.c: New file. Copied and
8404 modified from io/copy_file_range-compat.c.
8405 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8406 instead of copy_file_range.
8407 * support/xcopy_file_range.c: New file.
8408 * support/xunistd.h (xcopy_file_range): New prototype.
8410 2018-08-30 Carlos O'Donell <carlos@redhat.com>
8412 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8413 xpthread_create and xpthread_join.
8415 2018-08-30 Florian Weimer <fweimer@redhat.com>
8417 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8419 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
8421 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8424 2018-08-29 Joseph Myers <joseph@codesourcery.com>
8426 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8427 and minus_oflow as non-finite.
8429 2018-08-28 Joseph Myers <joseph@codesourcery.com>
8431 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8432 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8433 moved to fenv_private.h except for ...
8434 (TOINT_INTRINSICS): Kept in math_private.h.
8435 (roundtoint): Likewise.
8436 (converttoint): Likewise.
8437 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8438 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8439 * sysdeps/arm/math_private.h: Remove.
8440 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8442 * sysdeps/generic/math_private.h: ... this file. Include
8443 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8444 Include <fenv_private.h>. Remove functions and macros moved to
8446 * sysdeps/i386/fpu/math_private.h: Remove.
8447 * sysdeps/mips/math_private.h: Move to ....
8448 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8449 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8450 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8451 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8452 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8453 * sysdeps/powerpc/fpu/math_private.h: Do not include
8455 * sysdeps/riscv/rvf/math_private.h: Move to ....
8456 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8457 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8459 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8460 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8461 * sysdeps/sparc/fpu/math_private.h: Remove.
8462 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8463 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8464 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8466 * sysdeps/x86_64/fpu/math_private.h: Do not include
8467 <sysdeps/i386/fpu/fenv_private.h>.
8469 2018-08-28 Florian Weimer <fweimer@redhat.com>
8472 * posix/tst-regcomp-truncated.c: New file.
8473 * posix/Makefile (tests): Add it.
8474 (tst-regcomp-truncated.out): Depend on generated locales.
8476 2018-08-28 Florian Weimer <fweimer@redhat.com>
8478 * support/test-container.c (main): Treat unshare failure with
8479 EPERM as an unsupported test.
8481 2018-08-28 Florian Weimer <fweimer@redhat.com>
8484 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8485 * nscd/netgroupcache.c
8486 (addgetnetgrentX): Add tofreep parameter. Do not free
8487 heap-allocated buffer.
8488 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8489 (addgetnetgrentX_ignore): New function.
8490 (addgetnetgrent): Call it.
8491 (readdgetnetgrent): Likewise.
8493 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8495 * string/memmem.c: Use memcmp for first match.
8497 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8500 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8502 2018-08-27 DJ Delorie <dj@redhat.com>
8504 * support/Makefile (others): Don't list programs explicitly as a
8505 dependency of "others".
8507 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8509 * sysdeps/generic/math-tests-trap-force.h: New file.
8510 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8511 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8512 * sysdeps/powerpc/math-tests.h: Remove file.
8513 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8515 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8516 Torvald Riegel <triegel@redhat.com>
8519 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8520 Update r to include the set wake-request flag if waiters are
8521 remaining after spinning.
8523 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8525 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8527 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8530 regex: fix uninitialized memory access
8531 I introduced this bug into gnulib in commit
8532 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8533 eventually it was merged into glibc. The bug was found by
8534 project-repo <bugs@feusi.co> and reported here:
8535 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8536 Diagnosis and draft fix reported by Assaf Gordon here:
8537 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8538 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8539 * posix/regex_internal.c (build_wcs_upper_buffer):
8540 Fix bug when mbrtowc returns 0.
8542 2018-08-24 Carlos O'Donell <carlos@redhat.com>
8544 * po/be.po: Update translation.
8546 2018-08-24 DJ Delorie <dj@delorie.com>
8548 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8551 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8554 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8555 create temporary files in source tree.
8557 2018-08-24 Joseph Myers <joseph@codesourcery.com>
8559 * sysdeps/generic/math-tests-trap.h: New file.
8560 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8561 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8562 * sysdeps/aarch64/math-tests.h: Remove file.
8563 * sysdeps/arm/math-tests.h: Likewise.
8564 * sysdeps/riscv/math-tests.h: Likewise.
8565 * sysdeps/aarch64/math-tests-trap.h: New file.
8566 * sysdeps/arm/math-tests-trap.h: Likewise.
8567 * sysdeps/riscv/math-tests-trap.h: Likewise.
8569 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8571 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8572 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8573 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8574 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8575 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8576 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8577 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8578 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8579 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8580 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8581 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8582 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8583 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8584 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8585 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8586 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8587 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8588 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8590 2018-08-23 Joseph Myers <joseph@codesourcery.com>
8592 * sysdeps/generic/math-tests-exceptions.h: New file.
8593 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8594 (EXCEPTION_TESTS_float): Do not define here.
8595 (EXCEPTION_TESTS_double): Likewise.
8596 (EXCEPTION_TESTS_long_double): Likewise.
8597 (EXCEPTION_TESTS_float128): Likewise.
8598 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8600 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8601 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8602 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8603 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8604 * sysdeps/mips/math-tests.h: Likewise.
8605 * sysdeps/nios2/math-tests.h: Likewise.
8606 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8607 (EXCEPTION_TESTS_float): Do not define here.
8608 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8609 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8610 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8612 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8614 * NEWS: Move optimized sinf entry to 2.29.
8616 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8618 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8620 2018-08-22 DJ Delorie <dj@redhat.com>
8622 * Makefile (testroot.pristine): New rules to initialize the
8623 test-in-container "testroot".
8624 * Makerules (all-testsuite): Add tests-container.
8625 * Rules (tests-expected): Add tests-container.
8626 (binaries-all-tests): Likewise.
8627 (tests-container): New, run these tests in the testroot container.
8628 * support/Makefile (others): Add *-container, support_paths.c,
8629 xmkdirp, and links-dso-program.
8630 * support/links-dso-program-c.c: New.
8631 * support/links-dso-program.cc: New.
8632 * support/test-container.c: New.
8633 * support/shell-container.c: New.
8634 * support/echo-container.c: New.
8635 * support/true-container.c: New.
8636 * support/xmkdirp.c: New.
8637 * support/xsymlink.c: New.
8638 * support/support_paths.c: New.
8639 * support/support.h: Add support paths prototypes.
8640 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8642 * nss/tst-nss-test3.c: Convert to test-in-container.
8643 * nss/tst-nss-test3.root/: New.
8645 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8647 regex: port Gnulib code to z/OS POSIX environment
8648 Problem reported by Arnold Robbins in:
8649 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8650 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8653 2018-08-22 Joseph Myers <joseph@codesourcery.com>
8655 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8656 (ROUNDING_TESTS_double): Remove.
8657 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8658 (ROUNDING_TESTS_double): Remove.
8659 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8660 (ROUNDING_TESTS_double): Remove.
8661 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8662 (ROUNDING_TESTS_float): Remove.
8663 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8664 (ROUNDING_TESTS_float): Remove.
8665 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8666 (ROUNDING_TESTS_float): Remove.
8667 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8669 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8670 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8672 * sysdeps/generic/math-tests-rounding.h: New file.
8673 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8674 (ROUNDING_TESTS_float): Do not define here.
8675 (ROUNDING_TESTS_double): Likewise.
8676 (ROUNDING_TESTS_long_double): Likewise.
8677 (ROUNDING_TESTS_float128): Likewise.
8678 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8679 (ROUNDING_TESTS_double): Undefine before defining.
8680 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8681 (ROUNDING_TESTS_double): Undefine before defining.
8682 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8683 (ROUNDING_TESTS_double): Undefine before defining.
8684 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8685 (ROUNDING_TESTS_float): Undefine before defining.
8686 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8687 (ROUNDING_TESTS_float): Undefine before defining.
8688 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8689 (ROUNDING_TESTS_float): Undefine before defining.
8690 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8691 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8693 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8694 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8695 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8696 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8697 (ROUNDING_TESTS_float): Do not define here.
8698 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8699 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8700 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8701 (ROUNDING_TESTS_float): Likewise.
8702 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8703 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8704 * sysdeps/mips/math-tests.h [__mips_soft_float]
8705 (ROUNDING_TESTS_float): Likewise.
8706 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8707 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8708 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8709 (ROUNDING_TESTS_double): Likewise.
8710 (ROUNDING_TESTS_long_double): Likewise.
8712 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8714 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8715 (PF_XDP): New macro.
8716 (AF_XDP): New macro.
8717 (SOL_XDP): New macro.
8719 2018-08-21 Joseph Myers <joseph@codesourcery.com>
8721 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8722 (TCP_INQ): Likewise.
8723 (TCP_CM_INQ): Likewise.
8724 (TCP_REPAIR_ON): Likewise.
8725 (TCP_REPAIR_OFF): Likewise.
8726 (TCP_REPAIR_OFF_NO_WP): Likewise.
8727 (struct tcp_zerocopy_receive): New type.
8729 2018-08-21 Florian Weimer <fweimer@redhat.com>
8731 * support/support.h (support_descriptor_supports_holes): Declare.
8732 * support/Makefile (libsupport-routines): Add
8733 support_descriptor_supports_holes.
8734 * support/support_descriptor_supports_holes.c: New file.
8735 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8736 and stop testing if holes are not supported.
8737 * io/test-lfs.c (do_prepare): Likewise.
8738 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8740 * timezone/tst-tzset.c (create_tz_file): Likewise.
8741 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8743 (do_prepare): Set it.
8744 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8746 2018-08-21 Florian Weimer <fweimer@redhat.com>
8749 * Makeconfig (+cflags): Do not sort (and deduplicate).
8751 2018-08-21 Florian Weimer <fweimer@redhat.com>
8753 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8754 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8756 2018-08-20 Florian Weimer <fweimer@redhat.com>
8758 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8759 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8761 2018-08-20 Joseph Myers <joseph@codesourcery.com>
8763 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8764 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8765 and ssi_arch members.
8767 * elf/elf.c (NT_VMCOREDD): New macro.
8768 (AT_MINSIGSTKSZ): Likewise.
8770 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8772 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8773 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8774 s_cosf-ppc64 and s_cosf-power8.
8775 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8776 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8777 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8778 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8785 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8786 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8788 2018-08-17 Florian Weimer <fweimer@redhat.com>
8790 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8792 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8794 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8796 2018-08-16 Florian Weimer <fweimer@redhat.com>
8798 * configure.ac: Add --with-nonshared-cflags option.
8799 * config.make.in (extra-nonshared-cflags): Set variable.
8800 * Makeconfig (CFLAGS-.oS): Use it.
8801 * manual/install.texi (Configuring and compiling): Document
8802 --with-nonshared-cflags.
8803 * configure: Regenerate.
8804 * INSTALL: Likewise.
8806 2018-08-16 Florian Weimer <fweimer@redhat.com>
8808 * Makeconfig (ASFLAGS): Always append required assembler flags.
8810 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
8812 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8813 (malloc_consolidate): Likewise.
8815 2018-08-16 Pochang Chen <johnchen902@gmail.com>
8817 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8819 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8821 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8824 * benchtests/bench-strlen.c: Print performance numbers in json.
8826 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8828 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8829 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8830 only for little endian.
8831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8832 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8833 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8834 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8835 Add check for little endian.
8836 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8837 (__strcmp_power9): Add check for little endian.
8838 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8839 Add check for little endian.
8840 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8841 (__strncmp_power9): Add check for little endian.
8842 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8843 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8844 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8845 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8846 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8848 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8850 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8851 [!STRLEN](STRLEN): Set to __strlen.
8852 * sysdeps/aarch64/multiarch/strlen.c: New file.
8853 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8854 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8855 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8856 (__libc_ifunc_impl_list): Add strlen.
8857 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8858 strlen_generic and strlen_asimd.
8860 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8862 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8863 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8864 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8866 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8868 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8870 2018-08-14 Florian Weimer <fweimer@redhat.com>
8873 * include/stdio.h (__vfxprintf): Declare.
8874 * stdio-common/fxprintf.c (__vfxprintf): New function.
8875 (__fxprintf): Call it.
8876 * misc/err.c (convert_and_print): Remove function.
8877 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8878 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8879 * misc/Makefile (tests): Add tst-warn-wide.
8880 * misc/tst-warn-wide.c: New file.
8882 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8883 Szabolcs Nagy <szabolcs.nagy@arm.com>
8885 * NEWS: Mention sinf, cosf, sincosf.
8886 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8887 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8888 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8889 constants rather than including generic sincosf.h.
8890 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8891 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8892 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8893 (reduced_cos): Remove.
8894 (sinf_poly): New function.
8895 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8897 2018-08-14 Florian Weimer <fweimer@redhat.com>
8901 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8902 processing, bail out if no room, and close the stream before
8904 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8905 (tst-nss-files-alias-leak): Link with libdl.
8906 (tst-nss-files-alias-leak.out): Depend on nss_files.
8908 * nss/tst-nss-files-alias-leak.c: New file.
8910 2018-08-14 Florian Weimer <fweimer@redhat.com>
8912 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8913 server_user, stat_user.
8915 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8917 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8919 (io_pgetevents): New syscall.
8922 * manual/install.texi (Configuring and compiling): Do not list
8923 tools used for testing pretty printers here.
8924 (Tools for Compilation): List Python, PExpect and GDB here.
8925 Update descriptions of uses of Perl and Python.
8926 * INSTALL: Regenerate.
8928 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8931 2018-08-13 Florian Weimer <fweimer@redhat.com>
8933 * misc/error.c (error): Add missing va_end call.
8934 (error_at_line): Likewise.
8936 2018-08-13 Florian Weimer <fweimer@redhat.com>
8938 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8940 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8942 * benchtests/scripts/benchout.schema.json (properties): Add
8945 * benchtests/bench-skeleton.c (main): Add duration and
8946 iterations attributes.
8948 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8950 regex: Gnulib unibyte RRI uses bytes not chars
8951 Adjust the non-glibc code to agree with what Gawk needs for
8952 rational range interpretation (RRI) for regular expression ranges.
8953 In unibyte locales, Gawk wants ranges to use the underlying byte
8954 rather than the character code point. This change does not affect
8956 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8957 In unibyte locales, use the byte value rather than
8958 running it through btowc.
8960 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8962 * sysdeps/generic/math-tests-snan.h: New file.
8963 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8964 (SNAN_TESTS_float): Do not define here.
8965 (SNAN_TESTS_double): Likewise.
8966 (SNAN_TESTS_long_double): Likewise.
8967 (SNAN_TESTS_float128): Likewise.
8968 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8969 * sysdeps/i386/fpu/math-tests.h: Remove file.
8970 * sysdeps/ia64/math-tests-snan.h: New file.
8971 * sysdeps/ia64/math-tests.h: Remove file.
8972 * sysdeps/x86/math-tests.h: Likewise.
8973 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8975 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8976 Szabolcs Nagy <szabolcs.nagy@arm.com>
8978 * math/Makefile: Add s_sincosf_data.c.
8979 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8980 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8981 (sincosf_poly): Likewise.
8982 (reduce_small): Likewise.
8983 (reduce_large): Likewise.
8984 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8985 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8986 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8987 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8989 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8990 Szabolcs Nagy <szabolcs.nagy@arm.com>
8992 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8993 (converttoint): Use lround.
8994 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8995 document the semantics when TOINT_INTRINSICS is set.
8996 (converttoint): Likewise.
8997 (TOINT_RINT): Remove.
8998 (TOINT_SHIFT): Remove.
8999 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9002 2018-08-10 Florian Weimer <fweimer@redhat.com>
9005 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9007 (__old_getdents64): Use getdents64. Convert entries without
9009 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9010 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9011 tst-readdir64-compat.
9013 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9015 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9018 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9020 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9021 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9022 code to s390x-mcount.h and #include it.
9023 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9024 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9027 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9029 * stdlib/Versions: Remove __fentry__.
9030 * sysdeps/i386/Versions: Add __fentry__.
9031 * sysdeps/x86_64/Versions: Add __fentry__.
9033 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9035 * sysdeps/s390/Makefile: Register the new tests.
9036 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9037 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9038 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9039 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9040 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9041 * sysdeps/s390/tst-dl-runtime.c: New file.
9043 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9045 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9048 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9050 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9053 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9055 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9058 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9060 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9063 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9065 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9066 Use symbolic offsets for stack variables.
9068 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9070 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9071 Use symbolic offsets for stack variables.
9073 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9075 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9076 Use symbolic offsets for stack variables.
9078 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9080 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9081 Use symbolic offsets for stack variables.
9083 2018-08-09 Joseph Myers <joseph@codesourcery.com>
9085 * math/gen-libm-test.py: New file.
9086 * math/gen-libm-test.pl: Remove.
9087 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9088 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9090 ($(libm-test-c-noauto-obj)): Likewise.
9091 ($(libm-test-c-auto-obj)): Likewise.
9092 ($(libm-test-c-narrow-obj)): Likewise.
9093 (regen-ulps): Likewise.
9094 * math/README.libm-test: Update references to gen-libm-test.pl.
9095 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9096 referencing gen-libm-test.pl.
9097 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9098 * math/libm-test-support.c: Likewise.
9099 * math/libm-test-support.h: Likewise.
9100 * sysdeps/generic/libm-test-ulps: Likewise.
9102 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9104 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9107 2018-08-08 Joseph Myers <joseph@codesourcery.com>
9109 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9110 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9112 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9114 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9116 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9117 __pthread_setspecific): Add hidden proto.
9118 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9119 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
9121 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9123 * benchtests/bench-string.h (buf1_size, buf2_size): New
9125 (init_sizes): New function.
9126 (test_init): Use it.
9127 (alloc_buf, exit_error): New functions.
9128 (alloc_bufs): Use ALLOC_BUF.
9129 (realloc_bufs): Remove.
9130 * benchtests/bench-memcmp.c (do_test): Adjust.
9131 * benchtests/bench-memset-large.c (do_test): Likewise.
9132 * benchtests/bench-memset-walk.c (do_test): Likewise.
9133 * benchtests/bench-memset.c (do_test): Likewise.
9134 * benchtests/bench-strncmp.c (do_test): Likewise.
9136 2018-08-06 Andreas Schwab <schwab@suse.de>
9138 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9139 of CONST_THREAD_AREA.
9141 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9143 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9144 (STATE_SAVE_MASK): Likewise.
9145 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9146 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9147 (STATE_SAVE_MASK): Likewise.
9148 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9149 instead of <cpu-features.h>.
9151 2018-08-03 DJ Delorie <dj@redhat.com>
9153 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
9154 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
9156 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9158 2018-08-03 Joseph Myers <joseph@codesourcery.com>
9160 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9162 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9163 * math/libm-test-logb.inc (logb_test_data): Likewise.
9165 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9167 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9168 * string/strstr.c (AVAILABLE): Likewise.
9170 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9172 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9174 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9175 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9176 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9178 2018-08-03 Carlos O'Donell <carlos@redhat.com>
9180 * po/be.po: Update translation.
9182 * po/be.po: Update translation.
9184 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9186 * sysdeps/x86/cpu-features-offsets.sym
9187 (rtld_global_ro_offsetof): Removed.
9188 (CPU_FEATURES_SIZE): Likewise.
9189 (CPUID_OFFSET): Likewise.
9190 (CPUID_SIZE): Likewise.
9191 (CPUID_EAX_OFFSET): Likewise.
9192 (CPUID_EBX_OFFSET): Likewise.
9193 (CPUID_ECX_OFFSET): Likewise.
9194 (CPUID_EDX_OFFSET): Likewise.
9195 (FAMILY_OFFSET): Likewise.
9196 (MODEL_OFFSET): Likewise.
9197 (FEATURE_OFFSET): Likewise.
9198 (FEATURE_SIZ): Likewise.
9199 (COMMON_CPUID_INDEX_1): Likewise.
9200 (COMMON_CPUID_INDEX_7): Likewise.
9201 (FEATURE_INDEX_1): Likewise.
9202 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9204 2018-08-02 Carlos O'Donell <carlos@redhat.com>
9206 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9207 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9208 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9209 (install-locales): Depend on install-locale-archive.
9210 (install-locale-archive): Define.
9211 (install-locale-files): Define.
9212 (build-one-locale): Define macro.
9213 * manual/install.texi (Running make install): Document.
9214 * manual/INSTALL: Regenerate.
9216 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9218 * benchtests/scripts/compare_strings.py: Import traceback.
9219 (parse_file): Pretty-print error.
9221 * NEWS: Mention the change.
9222 * elf/dl-tunables.list: Rename tune namespace to cpu.
9223 * sysdeps/powerpc/dl-tunables.list: Likewise.
9224 * sysdeps/x86/dl-tunables.list: Likewise.
9225 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9227 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9228 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9229 * manual/README.tunables: Likewise.
9230 * manual/tunables.texi: Likewise.
9231 * sysdeps/powerpc/cpu-features.c: Likewise.
9232 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9233 (init_cpu_features): Likewise.
9234 * sysdeps/x86/cpu-features.c: Likewise.
9235 * sysdeps/x86/cpu-features.h: Likewise.
9236 * sysdeps/x86/cpu-tunables.c: Likewise.
9237 * sysdeps/x86_64/Makefile: Likewise.
9238 * sysdeps/x86/dl-cet.c: Likewise.
9240 2018-08-02 Joseph Myers <joseph@codesourcery.com>
9243 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
9244 [__mips_hard_float].
9245 (FE_UNDERFLOW): Likewise.
9246 (FE_OVERFLOW): Likewise.
9247 (FE_DIVBYZERO): Likewise.
9248 (FE_INVALID): Likewise.
9249 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
9250 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9251 (FE_UPWARD): Likewise.
9252 (FE_DOWNWARD): Likewise.
9253 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9254 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9255 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9256 [__mips_hard_float].
9257 (FP_ROUNDMODE): Likewise.
9258 (FP_RND_NEAREST): Likewise.
9259 (FP_RND_ZERO): Likewise.
9260 (FP_RND_PINF): Likewise.
9261 (FP_RND_MINF): Likewise.
9262 (FP_EX_INVALID): Likewise.
9263 (FP_EX_OVERFLOW): Likewise.
9264 (FP_EX_UNDERFLOW): Likewise.
9265 (FP_EX_DIVZERO): Likewise.
9266 (FP_EX_INEXACT): Likewise.
9267 (FP_INIT_ROUNDMODE): Likewise.
9268 * sysdeps/mips/nofpu/fesetenv.c: New file.
9269 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9271 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9273 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9274 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9275 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9276 conditional on [FE_UPWARD].
9278 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9280 regex: fix memory leak in Gnulib
9281 Problem and fix reported by Assaf Gordon in:
9282 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9283 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9284 range_ends members too, as they are defined in 'struct
9285 re_charset_t' even if not _LIBC. This affects only Gnulib.
9287 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9289 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9291 (get_common_indices): This.
9292 (init_cpu_features): Updated.
9294 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9296 * sysdeps/generic/math-tests-snan-payload.h: New file.
9297 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9298 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9299 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9300 * sysdeps/generic/math-tests.h: Include
9301 <math-tests-snan-payload.h>.
9302 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9303 * sysdeps/hppa/math-tests.h: Remove file.
9304 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9305 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9306 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
9309 * sysdeps/generic/math-tests-snan-cast.h: New file.
9310 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9311 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9312 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9313 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9315 2018-08-01 Carlos O'Donel <carlos@redhat.com>
9317 * version.h (RELEASE): Set to "development".
9318 (VERSION): Set to "2.28.9000".
9319 * NEWS (2.29): New section.
9321 * version.h (RELEASE): Set to "stable".
9322 (VERSION): Set to "2.28".
9323 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
9324 * NEWS: Add the list of bugs fixed in 2.28.
9326 * po/ca.po: Update to latest version.
9327 * po/cs.po: Likewise
9328 * po/da.po: Likewise
9329 * po/el.po: Likewise
9330 * po/eo.po: Likewise
9331 * po/es.po: Likewise
9332 * po/fi.po: Likewise
9333 * po/fr.po: Likewise
9334 * po/gl.po: Likewise
9335 * po/hu.po: Likewise
9336 * po/ia.po: Likewise
9337 * po/id.po: Likewise
9338 * po/it.po: Likewise
9339 * po/ja.po: Likewise
9340 * po/ko.po: Likewise
9341 * po/lt.po: Likewise
9342 * po/nb.po: Likewise
9343 * po/nl.po: Likewise
9344 * po/pt_BR.po: Likewise
9345 * po/ru.po: Likewise
9346 * po/rw.po: Likewise
9347 * po/sk.po: Likewise
9348 * po/sl.po: Likewise
9349 * po/tr.po: Likewise
9350 * po/zh_CN.po: Likewise
9351 * po/zh_TW.po: Likewise
9353 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9355 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9357 (init): ... before initializing libpthread.
9359 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9360 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9361 (__mach_setup_tls): ... new function.
9362 (mach_setup_tls): New alias.
9363 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9364 __mach_setup_thread.
9365 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9366 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9367 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9368 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9370 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9372 * manual/install.texi: Update versions.
9373 * INSTALL: Regenerate.
9375 * manual/contrib.texi (Contributors): Update contributions.
9377 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9379 * po/be.po: Update translations.
9381 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9383 * sysdeps/sh/libm-test-ulps: Update.
9385 2018-07-30 Carlos O'Donell <carlos@redhat.com>
9387 * po/bg.po: Update translations.
9388 * po/de.po: Likewise.
9389 * po/hr.po: Likewise.
9390 * po/pt_BR.po: Likewise.
9391 * po/sv.po: Likewise.
9392 * po/vi.po: Likewise.
9394 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9397 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9398 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9399 (CFLAGS-tst-cet-property-1.o): New.
9400 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9401 ($(objpfx)tst-cet-property-2): Likewise.
9402 ($(objpfx)tst-cet-property-2.out): Likewise.
9403 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9404 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9405 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9406 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9407 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9409 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9412 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9414 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9416 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9417 __sbrk): Do not set attribute_hidden.
9418 * sysdeps/mach/hurd/not-errno.h: New file.
9419 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9420 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9422 2018-07-27 Carlos O'Donell <carlos@redhat.com>
9424 * po/uk.po: Update translations.
9425 * po/cs.po: Likewise.
9426 * po/pl.po: Likewise.
9428 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9430 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9431 parse beyond the note end.
9433 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9435 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9436 kernel does not support OFD locks.
9437 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9439 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9441 * sysdeps/mach/hurd/Versions (libc): Make __access and
9442 __access_noerrno external so they can override the ld symbols.
9443 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9444 __writev, __open64, __access_noerrno extern so they can be overrided.
9445 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9446 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9448 2018-07-26 Carlos O'Donell <carlos@redhat.com>
9450 * po/libc.pot: Regenerate.
9452 2018-07-26 Joseph Myers <joseph@codesourcery.com>
9454 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9456 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9459 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9461 (init_cpu_features): Call get_extended_indices for both Intel
9463 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9464 Remove "for AMD" comment.
9466 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9469 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9470 COMMON_CPUID_INDEX_80000001.
9472 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
9474 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9475 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9477 2018-07-26 Florian Weimer <fweimer@redhat.com>
9479 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9480 aliases for symbols not in the implementation namespace.
9482 2018-07-25 Carlos O'Donell <carlos@redhat.com>
9485 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9486 lowercase in LATIN script.
9487 * localedata/Makefile (test-input): Add en_US.UTF-8.
9488 * localedata/en_US.UTF-8.in: New file.
9489 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9490 and restore old tests.
9491 * posix/tst-regexloc.c (do_test): Add back range expression test.
9493 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9495 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9497 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9499 * nptl/threads.h: Move to ...
9500 * sysdeps/nptl/threads.h: ... here.
9501 * sysdeps/hurd/stdc-predef.h: New file.
9503 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9505 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9506 tst-cet-setcontext-1 if CET is enabled.
9507 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9508 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9510 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9512 * include/threads.h: Move to ...
9513 * sysdeps/nptl/threads.h: ... here.
9514 * sysdeps/htl/threads.h: New file.
9515 * conform/Makefile (linknamespace-libs-ISO11): Use
9516 static-thread-library instead of linking libpthread.
9517 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9519 2018-07-25 Florian Weimer <fweimer@redhat.com>
9521 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9522 nanoseconds into seconds.
9523 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9524 (do_test): Likewise.
9525 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9526 (do_test): Likewise. Avoid nanosecond overflow and spurious
9527 timeouts due to system load.
9528 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9529 (child_wait): Increment it.
9530 (do_test): Wait as long as necessary until all expected threads
9533 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9534 H.J. Lu <hongjiu.lu@intel.com>
9536 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9538 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9539 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9540 (__push___start_context): New.
9541 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9543 (__getcontext): Record the current shadow stack base. Save the
9544 caller's shadow stack pointer and base.
9545 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9546 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9547 (__push___start_context): New prototype.
9548 (__makecontext): Call __push___start_context to allocate a new
9549 shadow stack, push __start_context onto the new stack as well
9550 as the new shadow stack.
9551 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9553 (__setcontext): Restore the target shadow stack.
9554 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9556 (__swapcontext): Record the current shadow stack base. Save
9557 the caller's shadow stack pointer and base. Restore the target
9559 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9560 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9561 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9563 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9565 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9566 tst-setcontext8 and tst-setcontext9.
9567 * stdlib/tst-setcontext6.c: New file.
9568 * stdlib/tst-setcontext7.c: Likewise.
9569 * stdlib/tst-setcontext8.c: Likewise.
9570 * stdlib/tst-setcontext9.c: Likewise.
9572 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9574 * stdlib/Makefile ((tests): Add tst-setcontext5.
9575 * stdlib/tst-setcontext5.c: New file.
9577 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9579 * stdlib/Makefile (tests): Add tst-setcontext4.
9580 * stdlib/tst-setcontext4.c: New file.
9582 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9584 * stdlib/Makefile (tests): Add tst-swapcontext1.
9585 * stdlib/tst-swapcontext1.c: New test.
9587 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9589 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9590 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9591 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9592 and tst-cet-legacy-4c.
9593 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9594 and tst-cet-legacy-mod-4.
9595 (CFLAGS-tst-cet-legacy-2.c): New.
9596 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9597 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9598 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9599 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9600 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9601 ($(objpfx)tst-cet-legacy-1): Likewise.
9602 ($(objpfx)tst-cet-legacy-2): Likewise.
9603 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9604 ($(objpfx)tst-cet-legacy-2a): Likewise.
9605 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9606 ($(objpfx)tst-cet-legacy-4): Likewise.
9607 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9608 ($(objpfx)tst-cet-legacy-4a): Likewise.
9609 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9610 (tst-cet-legacy-4a-ENV): Likewise.
9611 ($(objpfx)tst-cet-legacy-4b): Likewise.
9612 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9613 (tst-cet-legacy-4b-ENV): Likewise.
9614 ($(objpfx)tst-cet-legacy-4c): Likewise.
9615 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9616 (tst-cet-legacy-4c-ENV): Likewise.
9617 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9618 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9619 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9620 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9621 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9622 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9623 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9624 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9625 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9626 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9627 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9629 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9631 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9632 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9634 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9635 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9638 2018-07-25 Andreas Schwab <schwab@suse.de>
9641 * locale/weightwc.h (findidx): Handle the case where usrc is a
9642 prefix of cp but one character too short.
9644 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9646 * NEWS: Add ISO C threads addition.
9648 2018-07-24 Florian Weimer <fweimer@redhat.com>
9650 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9651 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9652 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9655 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9657 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9658 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9659 <sys/prctl.h> and <asm/prctl.h>.
9660 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9661 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9663 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9664 ARCH_CET_LEGACY_BITMAP.
9665 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9666 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9667 * sysdeps/x86/libc-start.c: Include <startup.h>.
9669 2018-07-24 Florian Weimer <fweimer@redhat.com>
9671 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9672 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9674 2018-07-24 Rical Jasan <rj@2c3t.io>
9675 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9676 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9679 * manual/debug.texi: Update adjacent chapter name.
9680 * manual/probes.texi: Likewise.
9681 * manual/threads.texi (ISO C Threads): New section.
9682 (POSIX Threads): Convert to a section.
9684 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9685 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9688 * nptl/Makefile (tests): Add new test files.
9689 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9690 * nptl/tst-cnd-basic.c: Likewise.
9691 * nptl/tst-cnd-broadcast.c: Likewise.
9692 * nptl/tst-cnd-timedwait.c: Likewise.
9693 * nptl/tst-mtx-basic.c: Likewise.
9694 * nptl/tst-mtx-recursive.c: Likewise.
9695 * nptl/tst-mtx-timedlock.c: Likewise.
9696 * nptl/tst-mtx-trylock.c: Likewise.
9697 * nptl/tst-thrd-basic.c: Likewise.
9698 * nptl/tst-thrd-detach.c: Likewise.
9699 * nptl/tst-thrd-sleep.c: Likewise.
9700 * nptl/tst-tss-basic.c: Likewise.
9702 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9705 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9706 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9708 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9709 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9710 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9711 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9712 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9713 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9714 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9715 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9716 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9717 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9718 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9719 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9727 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9728 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9729 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9730 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9731 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9732 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9733 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9734 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9735 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9736 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9737 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9738 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9739 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9741 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9742 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9743 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9744 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9745 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9746 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9747 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9748 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9749 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9750 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9751 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9752 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9759 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9760 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9761 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9762 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9763 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9764 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9765 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9766 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9769 * conform/data/threads.h-data (thread_local): New macro.
9770 (TSS_DTOR_ITERATIONS): Likewise.
9772 (tss_dtor_t): Likewise.
9773 (tss_create): New function.
9774 (tss_get): Likewise.
9775 (tss_set): Likewise.
9776 (tss_delete): Likewise.
9777 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9778 tss_get, and tss_set objects.
9779 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9780 * nptl/tss_create.c: New file.
9781 * nptl/tss_delete.c: Likewise.
9782 * nptl/tss_get.c: Likewise.
9783 * nptl/tss_set.c: Likewise.
9784 * sysdeps/nptl/threads.h (thread_local): New define.
9785 (TSS_DTOR_ITERATIONS): Likewise.
9786 (tss_t): New typedef.
9787 (tss_dtor_t): Likewise.
9788 (tss_create): New prototype.
9789 (tss_get): Likewise.
9790 (tss_set): Likewise.
9791 (tss_delete): Likewise.
9794 * conform/data/threads.h-data (cnd_t): New type.
9795 (cnd_init): New function.
9796 (cnd_signal): Likewise.
9797 (cnd_broadcast): Likewise.
9798 (cnd_wait): Likewise.
9799 (cnd_timedwait): Likewise.
9800 (cnd_destroy): Likewise.
9801 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9802 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9804 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9805 * nptl/cnd_broadcast.c: New file.
9806 * nptl/cnd_destroy.c: Likewise.
9807 * nptl/cnd_init.c: Likewise.
9808 * nptl/cnd_signal.c: Likewise.
9809 * nptl/cnd_timedwait.c: Likewise.
9810 * nptl/cnd_wait.c: Likewise.
9811 * sysdeps/nptl/threads.h (cnd_t): New type.
9812 (cnd_init): New prototype.
9813 (cnd_signa): Likewise.
9814 (cnd_broadcast): Likewise.
9815 (cnd_wait): Likewise.
9816 (cnd_timedwait): Likewise.
9817 (cnd_destroy): Likewise.
9820 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9821 (once_flag): New type.
9822 (call_once): New function.
9823 * nptl/Makefile (libpthread-routines): Add call_once object.
9824 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9825 * nptl/call_once.c: New file.
9826 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9827 (once_flag): New type.
9828 (call_once): New prototype.
9831 * conform/data/threads.h-data (mtx_plain): New constant.
9832 (mtx_recursive): Likewise.
9833 (mtx_timed): Likewise.
9835 (mtx_init): New function.
9836 (mtx_lock): Likewise.
9837 (mtx_timedlock): Likewise.
9838 (mtx_trylock): Likewise.
9839 (mtx_unlock): Likewise.
9840 (mtx_destroy): Likewise.
9841 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9842 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9843 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9844 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9845 * nptl/mtx_destroy.c: New file.
9846 * nptl/mtx_init.c: Likewise.
9847 * nptl/mtx_lock.c: Likewise.
9848 * nptl/mtx_timedlock.c: Likewise.
9849 * nptl/mtx_trylock.c: Likewise.
9850 * nptl/mtx_unlock.c: Likewise.
9851 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9852 (mtx_recursive): Likewise.
9853 (mtx_timed): Likewise.
9855 (mtx_init): New prototype.
9856 (mtx_lock): Likewise.
9857 (mtx_timedlock): Likewise.
9858 (mtx_trylock): Likewise.
9859 (mtx_unlock): Likewise.
9860 (mtx_destroy): Likewise.
9863 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9864 (linknamespace-libs-ISO11): Add libpthread.a.
9865 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9867 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9868 * nptl/Makefile (headers): Add threads.h.
9869 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9870 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9872 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9873 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9874 thrd_join, thrd_sleep, and thrd_yield symbols.
9875 * nptl/descr.h (struct pthread): Add c11 field.
9876 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9877 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9878 routine with expected function prototype.
9879 (__pthread_create_2_1): Add C11 threads check based on attribute
9881 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9882 * nptl/thrd_create.c: New file.
9883 * nptl/thrd_current.c: Likewise.
9884 * nptl/thrd_detach.c: Likewise.
9885 * nptl/thrd_equal.c: Likewise.
9886 * nptl/thrd_exit.c: Likewise.
9887 * nptl/thrd_join.c: Likewise.
9888 * nptl/thrd_priv.h: Likewise.
9889 * nptl/thrd_sleep.c: Likewise.
9890 * nptl/thrd_yield.c: Likewise.
9891 * include/threads.h: Likewise.
9893 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9895 * bits/indirect-return.h: New file.
9896 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9897 * sysdeps/x86/bits/indirect-return.h: Likewise.
9898 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9899 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9900 (swapcontext): Add __INDIRECT_RETURN.
9901 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9902 (prepare_test_buffer): Use it.
9904 2018-07-24 Andreas Schwab <schwab@suse.de>
9907 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9908 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9910 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9912 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9913 Redefine if shadow stack is enabled.
9914 (SYSCALL_ERROR_LABEL): Likewise.
9915 (__vfork): Pop shadow stack and jump back to to caller directly
9916 when shadow stack is in use.
9917 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9918 Redefine if shadow stack is enabled.
9919 (SYSCALL_ERROR_LABEL): Likewise.
9920 (__vfork): Pop shadow stack and jump back to to caller directly
9921 when shadow stack is in use.
9923 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9925 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9928 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9931 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9933 * scripts/build-many-glibcs.py (Context.checkout): Default
9934 binutils version to 2.31 branch.
9936 2018-07-20 Zong Li <zong@andestech.com>
9938 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9939 URL of gcc's tarball.
9941 2018-07-20 Florian Weimer <fweimer@redhat.com>
9944 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9945 not compare an extra byte after the end of the weights.
9947 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9949 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9951 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9953 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9954 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9955 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9956 list of libraries whose stack executability is expected.
9957 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9958 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9960 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9961 libc.so libpthread.so.
9963 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9965 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9967 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9969 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9971 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9973 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9975 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9976 library to improve command line parsing.
9977 (__main__): make schema file as optional parameter (--schema),
9978 defaulting to benchtests/scripts/benchout.schema.json.
9979 (main): move out of the parsing stuff to __main_ and leave it
9980 only as caller of main comparison functions.
9982 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9984 * NEWS: Add a note for Intel CET status.
9985 * manual/install.texi: Likewise.
9986 * INSTALL: Regenerated.
9988 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9991 * localedata/locales/oc_FR (mon): Rename to...
9992 (alt_mon): This, then update October (typo fix).
9993 (mon): New content (genitive case, month names preceded by
9997 * localedata/locales/oc_FR (abday): Update all items.
9998 (day): Update Wednesday and Saturday (typo fixes).
9999 (abmon): Update all items, except May.
10000 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10001 (LC_IDENTIFICATION): Bump the revision number and date.
10002 Keep the "category" entries in alphabetic order.
10003 (LC_ADDRESS): Remove no longer needed comment.
10004 (LC_COLLATE): Use “copy "ca_ES"”.
10005 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10008 2018-07-18 Joseph Myers <joseph@codesourcery.com>
10010 * grp/tst_fgetgrent.c: Include <unistd.h>.
10011 (main): Use mkstemp instead of tmpnam.
10012 * io/test-utime.c (main): Likewise.
10013 * posix/annexc.c (macrofile): Change to modifiable array.
10014 (main): Remove macrofile here.
10015 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10017 (check_header): Do not remove macrofile here.
10018 * posix/bug-getopt1.c: Include <stdlib.h>.
10019 (do_test): Use mkstemp instead of tmpnam.
10020 * posix/bug-getopt2.c: Include <stdlib.h>.
10021 (do_test): Use mkstemp instead of tmpnam.
10022 * posix/bug-getopt3.c: Include <stdlib.h>.
10023 (do_test): Use mkstemp instead of tmpnam.
10024 * posix/bug-getopt4.c: Include <stdlib.h>.
10025 (do_test): Use mkstemp instead of tmpnam.
10026 * posix/bug-getopt5.c: Include <stdlib.h>.
10027 (do_test): Use mkstemp instead of tmpnam.
10028 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10029 (main): Use mkstemp instead of tmpnam.
10030 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10031 (main): Use mkstemp instead of tmpnam.
10032 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10033 (main): use mkstemp instead of tmpnam.
10034 * stdlib/isomac.c (macrofile): Change to modifiable array.
10035 (main): Remove macrofile here.
10036 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10038 (check_header): Do not remove macrofile here.
10040 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10042 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10043 glibc.tune.x86_shstk.
10045 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10047 * NEWS: Mention --enable-cet.
10048 * manual/install.texi: Document --enable-cet.
10049 * INSTALL: Regenerated.
10051 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10053 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10054 Add _CET_NOTRACK before indirect jump to jump table.
10056 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10058 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10059 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10062 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10064 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10065 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10068 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10070 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10071 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10074 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10076 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10077 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10080 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10082 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10083 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10085 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10087 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10089 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10090 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10093 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10095 * sysdeps/i386/i686/multiarch/memset-sse2.S
10096 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10099 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10101 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10102 indirect jump to jump table.
10104 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10106 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10107 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10109 (MEMCPY): Likewise.
10111 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10113 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10114 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10116 (MEMCPY): Likewise.
10118 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10120 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10121 _CET_NOTRACK before indirect jump to jump table.
10123 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10125 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10126 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10129 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10131 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10132 indirect jump to jump table.
10134 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10137 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10138 (LOCALES): Likewise.
10139 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10140 * localedata/locales/sah_RU: New file.
10141 * localedata/sah_RU.UTF-8.in: New file.
10143 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10145 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10147 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10148 _CET_ENDBR to indirect jump targets and adjust jump destination
10150 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10152 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10153 _CET_ENDBR to indirect jump targets and adjust jump destination
10155 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10157 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10158 _CET_ENDBR to indirect jump targets and adjust jump destination
10161 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10163 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10166 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10168 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10170 (_dl_tlsdesc_undefweak): Likewise.
10171 (_dl_tlsdesc_dynamic): Likewise.
10172 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10173 (_dl_tlsdesc_resolve_rel): Likewise.
10174 (_dl_tlsdesc_resolve_rela): Likewise.
10175 (_dl_tlsdesc_resolve_hold): Likewise.
10176 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10177 (_dl_tlsdesc_undefweak): Likewise.
10178 (_dl_tlsdesc_dynamic): Likewise.
10179 (_dl_tlsdesc_resolve_rela): Likewise.
10180 (_dl_tlsdesc_resolve_hold): Likewise.
10182 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10184 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10186 * sysdeps/x86_64/crti.S (_init): Likewise.
10189 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10192 * localedata/locales/os_RU (mon): Rename to...
10194 (mon): Import from CLDR (genitive case).
10196 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10198 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10199 cet-tunables.h> when CET is enabled.
10201 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10204 * configure.ac: Add --enable-cet.
10205 * configure: Regenerated.
10206 * elf/Makefille (all-built-dso): Add a comment.
10207 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10208 Include <dl-prop.h>.
10209 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10211 * elf/dl-open.c: Include <dl-prop.h>.
10212 (dl_open_worker): Call _dl_open_check.
10213 * elf/rtld.c: Include <dl-prop.h>.
10214 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10216 * sysdeps/generic/dl-prop.h: New file.
10217 * sysdeps/i386/dl-cet.c: Likewise.
10218 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10219 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10220 * sysdeps/x86/cet-tunables.h: Likewise.
10221 * sysdeps/x86/check-cet.awk: Likewise.
10222 * sysdeps/x86/configure: Likewise.
10223 * sysdeps/x86/configure.ac: Likewise.
10224 * sysdeps/x86/dl-cet.c: Likewise.
10225 * sysdeps/x86/dl-procruntime.c: Likewise.
10226 * sysdeps/x86/dl-prop.h: Likewise.
10227 * sysdeps/x86/libc-start.h: Likewise.
10228 * sysdeps/x86/link_map.h: Likewise.
10229 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10231 (_dl_runtime_profile): Likewise.
10232 (_dl_runtime_resolve_shstk): New.
10233 (_dl_runtime_profile_shstk): Likewise.
10234 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
10236 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
10237 (CFLAGS-.os): Likewise.
10238 (CFLAGS-.op): Likewise.
10239 (CFLAGS-.oS): Likewise.
10240 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
10242 (tests-special): Add $(objpfx)check-cet.out.
10243 (cet-built-dso): New.
10244 (+$(cet-built-dso:=.note)): Likewise.
10245 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
10246 ($(objpfx)check-cet.out): New.
10247 (generated): Add check-cet.out.
10248 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
10250 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10251 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10252 (init_cpu_features): Call get_cet_status to check CET status
10253 and update dl_x86_feature_1 with CET status. Call
10254 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10255 (set_x86_shstk). Disable and lock CET in libc.a.
10256 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10257 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10258 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10259 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10260 (_CET_ENDBR): Define if not defined.
10261 (ENTRY): Add _CET_ENDBR.
10262 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10264 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10266 (_dl_runtime_profile): Likewise.
10268 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10271 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10272 restore r2 on longjmp.
10273 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10275 Added rules to build test tst-setjmp-bug21895-static.
10276 Added module setjmp-bug21895 and rules to build a shared object from it.
10277 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10278 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10280 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10282 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10283 * benchtests/bench-strstr.c: Likewise.
10284 * string/memmem.c (FASTSEARCH): Define.
10285 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10286 Add support for FASTSEARCH.
10287 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10288 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10289 (FASTSEARCH): Define.
10290 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10291 * string/test-strstr.c: Likewise.
10293 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10295 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10296 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10298 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10299 H.J. Lu <hongjiu.lu@intel.com>
10301 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10302 (__longjmp): Restore shadow stack pointer if shadow stack is
10303 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10304 isn't defined for __longjmp_cancel.
10305 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
10306 (_setjmp): Save shadow stack pointer if shadow stack is enabled
10307 and SHADOW_STACK_POINTER_OFFSET is defined.
10308 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10309 (setjmp): Save shadow stack pointer if shadow stack is enabled
10310 and SHADOW_STACK_POINTER_OFFSET is defined.
10311 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
10312 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10313 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10314 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10316 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10317 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10318 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
10319 Remove jmp_buf-ssp.sym.
10320 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10322 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10323 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10324 * sysdeps/x86/Makefile (gen-as-const-headers): Add
10326 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
10327 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
10328 (__longjmp): Restore shadow stack pointer if shadow stack is
10329 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10330 isn't defined for __longjmp_cancel.
10331 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
10332 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10333 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10335 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
10338 * nptl/pthread_create.c: Include <tls-setup.h>.
10339 (__pthread_create_2_1): Call tls_setup_tcbhead.
10340 * sysdeps/generic/tls-setup.h: New file.
10341 * sysdeps/x86/nptl/tls-setup.h: Likewise.
10342 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10343 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
10345 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
10347 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10348 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
10349 (X86_FEATURE_1_SHSTK): Likewise.
10350 (CET_ENABLED): Likewise.
10351 (IBT_ENABLED): Likewise.
10352 (SHSTK_ENABLED): Likewise.
10354 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10357 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10358 (LOCALES): Likewise.
10359 * localedata/dsb_DE.UTF-8.in: New file.
10360 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10362 2018-07-12 Florian Weimer <fweimer@redhat.com>
10364 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10365 __mprotect, not mprotect.
10367 2018-07-11 Florian Weimer <fweimer@redhat.com>
10369 * io/Makefile (headers): Add bits/statx.h.
10371 2018-07-10 Mike FABIAN <mfabian@redhat.com>
10373 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10374 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10376 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10377 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10380 2018-07-10 Florian Weimer <fweimer@redhat.com>
10382 * io/Makefile (routines): Add statx.
10383 (tests-internal): Add tst-statx.
10384 * io/Versions (GLIBC_2.28): Export statx.
10385 * io/bits/statx.h: New file.
10386 * io/sys/stat.h [__USE_GNU]: Include it.
10387 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10388 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10390 * io/statx.c: New file.
10391 * io/statx_generic.: Likewise.
10392 * io/tst-statx.: Likewise.
10393 * include/bits/statx.h: Likewise.
10394 * sysdeps/unix/sysv/linux/kernel-features.h
10395 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10396 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10397 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10398 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10400 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10401 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10402 * sysdeps/unix/sysv/linux/statx.c: New file.
10403 * manual/filesys.texi: Note that statx is undocumented.
10404 * sysdeps/**/libc*.abilist: Update.
10406 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10408 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10409 a kernel issue which lead to test failure in some cases.
10411 2018-07-10 Florian Weimer <fweimer@redhat.com>
10414 * posix/regexec.c (check_node_accept_bytes): When comparing
10415 weights, do not compare an extra byte after the end of the
10418 2018-07-10 Florian Weimer <fweimer@redhat.com>
10420 * libio/readline.c: Fix copyright year.
10421 * libio/tst-readline.c Likewise.
10422 * nss/tst-nss-files-hosts-getent.c: Likewise.
10424 2018-07-06 Florian Weimer <fweimer@redhat.com>
10427 * nss/nss_files/files-XXX.c (internal_getent): Use
10428 __libc_readline_unlocked. Seek back to the start of the line if
10429 parsing failes with ERANGE.
10430 (get_contents_ret, get_contents): Remove.
10431 * nss/tst-nss-files-hosts-getent.c: New file.
10432 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10433 (tst-nss-files-hosts-getent): Link with -ldl.
10435 2018-07-06 Florian Weimer <fweimer@redhat.com>
10437 * include/stdio.h (__libc_readline_unlocked): Declare.
10438 (__ftello64, __fseeko64): Declare aliases.
10439 * libio/readline.c: New file.
10440 * libio/tst-readline.c: Likewise.
10441 (routines): Add readline.
10442 (tests-internal): Add tst-readlime.
10443 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10444 __libc_readline_unlocked.
10445 * libio/fseeko.c (__fseeko): Rename from fseeko.
10446 (fseeko): Add alias.
10447 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10448 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10449 (fseeko64): Add alias.
10450 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10451 * libio/ftello64.c (__ftello64): Rename from ftello64.
10452 (ftello64): Add alias.
10454 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10456 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10459 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10461 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10462 Use dl_hwcap without masking.
10463 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10464 Remove HWCAP_CPUID.
10466 2018-07-06 Florian Weimer <fweimer@redhat.com>
10468 * conform/conformtest.pl (checknamespace): Escape literal braces
10469 in regular expressions.
10471 2018-07-06 Amit Pawar <amit.pawar@amd.com>
10473 * sysdeps/x86/cpu-features.c (get_common_indeces):
10474 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10475 * sysdeps/x86/cpu-features.c (init_cpu_features):
10476 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10478 2018-07-05 Florian Weimer <fweimer@redhat.com>
10480 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10482 (CFLAGS-elf-init.oS): Likewise.
10484 2018-07-05 Florian Weimer <fweimer@redhat.com>
10485 Carlos O'Donell <carlos@redhat.com>
10487 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10488 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10489 with stack protector enabled because there is no risk of infinite
10492 2018-07-05 Maciej W. Rozycki <macro@mips.com>
10496 * libc-abis (ABSOLUTE): New ABI.
10497 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10498 * NEWS: Mention the new ABI.
10500 2018-07-05 Florian Weimer <fweimer@redhat.com>
10503 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10504 (RENAME_WHITEOUT): Define.
10505 [__USE_GNU] (renameat2): Declare.
10506 * stdio-common/Makefile (routines): Add renameat2.
10507 (tests): Add tst-renameat2.
10508 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10509 * stdio-common/renameat2.c: New file.
10510 * stdio-common/tst-renameat2.c: Likewise.
10511 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10512 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10514 * sysdeps/unix/sysv/linux/kernel-features.h
10515 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10516 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10517 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10518 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10519 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10520 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10521 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10522 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10523 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10524 * include/stdio.h (__renameat): Add alias for renameat.
10525 * stdio-common/renameat.c (__renameat): Rename from renameat.
10526 Add hidden definition and alias.
10527 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10528 * sysdeps/mach/hurd/renameat.c: Likewise.
10529 * sysdeps/**/libc*.abilist: Add renameat2.
10531 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10533 * posix/bug-regex33.c: Fix build after regex sync.
10535 2018-07-04 Carlos O'Donell <carlos@redhat.com>
10538 * localedata/tst-langinfo-setlocale.c: New file.
10539 * localedata/tst-langinfo-setlocale-static.c: New file.
10540 * localedata/tst-langinfo-newlocale.c: New file.
10541 * localedata/tst-langinfo-newlocale-static.c: New file.
10542 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10543 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10544 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10545 (tests-static): Remove tst-langinfo-static. Add
10546 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10547 (tests-special): Remove $(objpfx)tst-langinfo.out,
10548 $(objpfx)tst-langinfo-static.out. Add
10549 $(objpfx)tst-langinfo-setlocale.out,
10550 $(objpfx)tst-langinfo-newlocale.out,
10551 $(objpfx)tst-langinfo-setlocale-static.out,
10552 $(objpfx)tst-langinfo-newlocale-static.out.
10553 ($(objpfx)tst-langinfo.out): Remove.
10554 ($(objpfx)tst-langinfo-static.out): Remove.
10555 ($(objpfx)tst-langinfo-newlocale.out): New target.
10556 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10557 (test-xfail-tst-langinfo-newlocale-static): Add.
10558 ($(objpfx)tst-langinfo-setlocale.out): New target.
10559 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10560 * localedata/tst-langinfo.c: Call test_locale.
10561 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10564 2018-07-04 Florian Weimer <fweimer@redhat.com>
10566 testrun.sh: Implement --tool=strace, --tool=valgrind
10567 * Makefile (testrun-script): Define variable.
10568 (testrun.sh): Use variable.
10569 * manual/install.texi (Tools for Compilation): make 4.0 or later
10571 * configure.ac: Check for make 4.0 or later.
10572 * INSTALL: Regenerate.
10573 * configure: Likewise.
10575 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10581 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10582 * posix/PCRE.tests: Remove invalid test.
10583 * posix/bug-regex28.c: Fix expected values for used syntax.
10584 * posix/bug-regex37.c: New file.
10585 * posix/bug-regex38.c: Likewise.
10586 * posix/regcomp.c: Sync with gnulib.
10587 * posix/regex.c: Likewise.
10588 * posix/regex.h: Likewise.
10589 * posix/regex_internal.c: Likewise.
10590 * posix/regex_internal.h: Likewise.
10591 * posix/regexec.c: Likewise.
10593 2018-06-26 Mike FABIAN <mfabian@redhat.com>
10596 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10597 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10598 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10599 * localedata/unicode-gen/PropList.txt: likewise.
10600 * localedata/unicode-gen/UnicodeData.txt: likewise.
10601 * localedata/charmaps/UTF-8: Regenerate.
10602 * localedata/locales/i18n_ctype: likewise.
10603 * localedata/locales/tr_TR: likewise.
10604 * localedata/locales/translit_circle: likewise.
10605 * localedata/locales/translit_cjk_compat: likewise.
10606 * localedata/locales/translit_combining: likewise.
10607 * localedata/locales/translit_compat: likewise.
10608 * localedata/locales/translit_font: likewise.
10609 * localedata/locales/translit_fraction: likewise.
10611 2018-07-03 Florian Weimer <fweimer@redhat.com>
10614 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10615 * stdio-common/tst-printf.sh: Adjust expected output.
10616 * LICENSES: Update.
10618 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10620 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10623 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10625 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10626 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10627 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10628 * stdio-common/tst-printfsz-islongdouble.c: New file.
10629 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10630 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10631 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10632 [subdir == stdio-common] (tests-internal): Add
10633 test-printf-size-ieee128, and test-printf-size-ibm128.
10634 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10635 (CFLAGS-test-printf-size-ibm128.c): New variables.
10636 [subdir == stdio-common] (tests-special): Add
10637 $(objpfx)test-printf-size-ieee128.out and
10638 $(objpfx)test-printf-size-ibm128.out.
10639 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10640 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10641 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10642 __printf_sizeieee128.
10643 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10645 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10647 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10650 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10652 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10653 (exp2f_inline): Likewise.
10654 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10655 (__math_uflowf): Likewise.
10656 (__math_may_uflowf): Likewise.
10657 (__math_divzerof): Likewise.
10658 (__math_invalidf): Likewise.
10659 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10660 (__math_oflowf): Likewise.
10661 (__math_uflowf): Likewise.
10662 (__math_may_uflowf): Likewise.
10663 (__math_divzerof): Likewise.
10664 (__math_invalidf): Likewise.
10666 2018-06-29 DJ Delorie <dj@redhat.com>
10667 Carlos O'Donell <carlos@redhat.com>
10670 * include/libc-symbols.h: Comment the freeres framework.
10671 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10672 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10673 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10674 * dlfcn/dlerror.c: Include libc-symbols.h
10675 (__dlerror_main_freeres): New function.
10676 * dlfcn/dlfreeres.c: New file.
10677 * dlfcn/sdlfreeres.c: New file.
10678 * include/dlfcn.h: Declare __dlerror_main_freeres.
10679 * malloc/set-freeres.c: Declare __libdl_freeres, and
10680 __libpthread_freeres.
10681 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10682 the releavant libraries are loaded.
10683 * malloc/thread-freeres.c: Add comments.
10684 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10685 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10686 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10687 (__free_stacks): Rename to...
10688 (free_stacks): ...this. Mark static.
10689 (queue_stack): Call free_stacks.
10690 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10691 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10692 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10693 ptr_freeres element from struct.
10694 (pthread_functions): Remove .ptr_freeres from struct initializer.
10695 [SHARED] (nptl_freeres): Remove.
10696 * nptl/nptlfreeres.c: New file.
10698 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10699 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10701 (__free_stacks): Rename to...
10702 (__nptl_stacks_freeres): ...this.
10703 (__shm_directory_freeres): Declare.
10704 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10705 (__nptl_unwind_freeres): ...this.
10706 * resolv/res-close.c: Add comment.
10707 * resolv/resolv_conf.c: Include libc-symbols.h.
10708 * string/strerror_l.c: Include libc-symbols.h.
10709 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10710 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10711 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10712 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10714 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10716 * stdlib/tst-strfmon_l.c: Add tests for long double.
10718 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
10721 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10722 * localedata/locales/dsb_DE: New file.
10724 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10727 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10729 (alt_mon): New entry, import from CLDR (nominative case).
10731 2018-06-29 Sylvain Lesage <severo@rednegra.net>
10734 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10736 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10738 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10739 Use vector registers.
10741 * sysdeps/aarch64/multiarch/memmove_falkor.S
10742 (__memcpy_falkor): Use vector registers.
10744 2018-06-29 Martin Sebor <msebor@redhat.com>
10746 * manual/stdio.texi (Customizing Printf): Mention interaction
10747 with GCC built-ins.
10749 2018-06-29 Maciej W. Rozycki <macro@mips.com>
10752 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10753 `st_value' is 0 if `st_shndx' is SHN_ABS.
10754 * elf/tst-absolute-zero.c: New file.
10755 * elf/tst-absolute-zero-lib.c: New file.
10756 * elf/tst-absolute-zero-lib.lds: New file.
10757 * elf/Makefile (tests): Add `tst-absolute-zero'.
10758 (modules-names): Add `tst-absolute-zero-lib'.
10759 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10760 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10761 ($(objpfx)tst-absolute-zero: New dependency.
10763 2018-06-29 Zack Weinberg <zackw@panix.com>
10765 * configure.ac: New command-line option --disable-crypt.
10766 Force --disable-nss-crypt when --disable-crypt is given, with a
10767 warning if it was explicitly enabled.
10768 * configure: Regenerate.
10769 * config.make.in: New boolean substitution variable $(build-crypt).
10770 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10771 when $(build-crypt).
10772 * manual/install.texi: Document --disable-crypt.
10773 * INSTALL: Regenerate.
10775 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10776 which is never set.
10777 * conform/Makefile: Only include libcrypt.a in
10778 linknamespace-libs-xsi and linknamespace-libs-XPG4
10779 when $(build-crypt).
10780 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10781 USE_CRYPT to 1 when $(build-crypt).
10782 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10783 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10784 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10786 2018-06-29 Zack Weinberg <zackw@panix.com>
10788 * crypt/crypt.h, posix/unistd.h: Update comments and
10789 prototypes for crypt and crypt_r.
10791 * manual/crypt.texi (Cryptographic Functions): New initial
10793 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10794 (Unpredictable Bytes): Improve initial exposition. Clarify error
10795 behavior of getentropy and getrandom.
10796 * manual/examples/genpass.c: Generate a salt using getentropy
10797 instead of the current time. Use hash $5$ (SHA-2-256).
10798 * manual/examples/testpass.c: Demonstrate validation against
10799 hashes generated with three different one-way functions.
10801 * manual/intro.texi: crypt.texi does not need an overview
10804 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10805 * manual/terminal.texi: Consistently refer to "passphrases"
10806 * instead of "passwords", and to the "user database" instead
10807 * of the "password database".
10808 * manual/users.texi: Similarly. Add notes about how actual
10809 passphrase hashes are now stored in the shadow database.
10810 Remove 20-year-old junk todo note.
10812 2018-06-29 Zack Weinberg <zackw@panix.com>
10814 * manual/crypt.texi: Use a normal top-level @node declaration.
10815 Move most of the introductory text to the 'crypt' section.
10816 Move the example programs below the @deftypefun for 'crypt_r'.
10817 Move the 'getpass' section...
10818 * manual/terminal.texi: ...here.
10820 2018-06-29 Zack Weinberg <zackw@panix.com>
10821 Florian Weimer <fweimer@redhat.com>
10823 * posix/unistd.h: Do not declare encrypt.
10824 (_XOPEN_CRYPT): Remove macro definition.
10825 (crypt): Declare only for _USE_MISC.
10826 * stdlib/stdlib.h: Do not declare setkey.
10827 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10828 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10830 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10831 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10832 into compat symbols. Don't define initial_perm if it's not
10834 * crypt/cert.c: Link explicitly with the expected versions for
10835 setkey and encrypt. If they are not available at all, mark
10836 the test as unsupported.
10838 * sunrpc/des_crypt.c: Unconditionally block linkage with
10839 cbc_crypt and ecb_crypt for new binaries.
10840 * sunrpc/des_soft.c: Unconditionally block linkage with
10841 des_setparity for new binaries.
10843 * manual/crypt.texi: Remove the entire "DES Encryption"
10844 section. Also remove the paragraph talking about FIPS 140-2
10845 from the introduction.
10846 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10847 of libgcrypt for "real" encryption, not DES.
10848 * manual/conf.texi (Constants for Sysconf): Mention that
10849 _XOPEN_CRYPT is no longer impelemented.
10851 * conform/data/unistd.h-data: Remove crypt function declaration.
10853 2018-06-29 Florian Weimer <fweimer@redhat.com>
10856 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10857 (disallow_malloc_check): Remove variable.
10858 (__malloc_check_init): Adjust.
10859 (malloc_set_state): Update comment.
10860 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10863 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10866 * localedata/locales/ast_ES (mon): Rename to...
10868 (mon): Import from CLDR (genitive case).
10870 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10871 Jakub Sitnicki <jkbs@redhat.com>
10874 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10875 on NLM_F_DUMP_INTR.
10877 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10879 * manual/llio.texi: Remove spurious space.
10881 2018-06-28 Florian Weimer <fweimer@redhat.com>
10884 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10887 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10889 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10890 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10891 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10892 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10893 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10894 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10895 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10897 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10900 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10901 Copy and null-terminate entries that are not terminated, in
10902 addition to empty ones.
10904 2018-06-27 Florian Weimer <fweimer@redhat.com>
10907 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10908 (extend_alloca_account): Remove.
10909 * manual/stdio.texi (Variable Arguments Output): Update comment.
10911 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10913 * nptl/sockperf.c: Remove file.
10915 2018-06-27 Florian Weimer <fweimer@redhat.com>
10918 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10919 scratch_buffer instead of extend_alloca.
10921 2018-06-27 Florian Weimer <fweimer@redhat.com>
10924 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10925 scratch_buffer instead of extend_alloca. Update comments.
10927 2018-06-27 Florian Weimer <fweimer@redhat.com>
10930 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10931 instead of extend_alloca.
10933 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10936 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10937 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10939 * scripts/test-installation.pl: Put temporary files in build
10940 directory, not /tmp.
10941 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10942 (CFLAGS-bug4.c): Likewise.
10943 (CFLAGS-bug5.c): Likewise.
10944 (CFLAGS-test-fseek.c): Likewise.
10945 (CFLAGS-test-popen.c): Likewise.
10946 (CFLAGS-test_rdwr.c): Likewise.
10947 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10949 * stdio-common/bug4.c (main): Likewise.
10950 * stdio-common/bug5.c (main): Likewise.
10951 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10952 * stdio-common/test-popen.c (do_test): Likewise.
10953 * stdio-common/test_rdwr.c (main): Likewise.
10955 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10957 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10958 (sem_open): Set sem.newsem.pad to zero for valgrind.
10960 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10963 * NEWS: Mention fcntl64 addition.
10964 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10965 * login/utmp_file.c: Likewise.
10966 * sysdeps/posix/fdopendir.c: Likewise.
10967 * sysdeps/posix/opendir.c: Likewise.
10968 * sysdeps/unix/pt-fcntl.c: Likewise.
10969 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10970 __fcntl64_nocancel_adjusted): New prototype.
10971 (__fcntl_nocancel_adjusted): Remove prototype.
10972 * io/Makefile (routines): Add fcntl64.
10973 (CFLAGS-fcntl64.c): New rule.
10974 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10975 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10976 * io/fcntl.h (fcntl64): Add prototype and redirect if
10977 __USE_FILE_OFFSET64 is defined.
10978 * io/fcntl64.c: New file.
10979 * manual/llio.text: Add a note for which commands fcntl acts a
10980 cancellation point.
10981 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10982 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10983 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10985 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10986 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10988 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10989 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10990 to __fcntl64_nocancel.
10991 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10992 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10993 to __fcntl64_nocancel.
10994 * sysdeps/generic/not-cancel.h: Likewise.
10995 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10996 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10997 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10998 (fcntl64): New symbol.
10999 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11000 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11001 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11004 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11005 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11006 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11007 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11008 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11009 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11010 fcntl64): Likewise.
11011 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11012 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11013 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11014 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11015 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11016 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11017 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11018 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11019 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11024 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11025 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11026 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11028 2018-06-26 Florian Weimer <fweimer@redhat.com>
11030 Run thread shutdown functions in an explicit order.
11031 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11033 (__libc_thread_freeres): Call thread shutdown functions
11035 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11036 * include/string.h (__strerror_thread_freeres): Declare.
11037 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11038 arena_thread_freeres. No longer static. Remove thread shutdown
11040 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11042 * resolv/res-close.c (__res_thread_freeres): Renamed from
11043 res_thread_freeres. No longer static. Remove thread shutdown
11045 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11046 * resolv/resolv_conf.c (freeres): Remove incorrect section
11047 attribute and use libc_freeres_fn.
11048 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11049 strerror_thread_freeres. No longer static. Remove thread
11050 shutdown hook registration.
11051 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11052 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11053 shutdown hook registration.
11054 * Makerules (shlib.lds): Do not provide section boundary symbols
11055 for __libc_thread_subfreeres.
11056 * manual/memory.texi (Basic Allocation): Update comment.
11058 2018-06-26 Florian Weimer <fweimer@redhat.com>
11060 Remove always-defined _RPC_THREAD_SAFE_ macro.
11061 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11062 Do not define _RPC_THREAD_SAFE_.
11063 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11065 * sunrpc/clnt_perr.c: Likewise.
11066 * sunrpc/clnt_raw.c: Likewise.
11067 * sunrpc/clnt_simp.c: Likewise.
11068 * sunrpc/key_call.c: Likewise.
11069 * sunrpc/rpc_common.c: Likewise.
11070 * sunrpc/rpc_main.c: Likewise.
11071 * sunrpc/rpc_thread.c: Likewise.
11072 * sunrpc/svc.c: Likewise.
11073 * sunrpc/svc_raw.c: Likewise.
11074 * sunrpc/svc_simple.c: Likewise.
11075 * sumrpc/svcauth_des.c: Likewise.
11077 2018-06-26 Florian Weimer <fweimer@redhat.com>
11079 * libio/Makefile (tests-internal): Add tst-vtables,
11080 tst-vtables-interposed.
11081 * libio/tst-vtables.c: New file.
11082 * libio/tst-vtables-common.c: Likewise.
11083 * libio/tst-vtables-interposed.c: Likewise.
11085 2018-06-26 Florian Weimer <fweimer@redhat.com>
11087 * support/support_test_main.c (support_test_main): Only call
11088 setvbuf if not disables.
11089 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11090 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11092 2018-06-26 Florian Weimer <fweimer@redhat.com>
11095 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11097 2018-06-25 Florian Weimer <fweimer@redhat.com>
11100 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11101 Use struct scratch_buffer instead of extend_alloca.
11103 2018-06-25 Florian Weimer <fweimer@redhat.com>
11106 * nss/getent.c (initgroups_keys): Use dynarray instead of
11109 2018-06-25 Florian Weimer <fweimer@redhat.com>
11112 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11113 Use struct scratch_buffer instead of extend_alloca.
11115 2018-06-25 Florian Weimer <fweimer@redhat.com>
11118 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11119 back to malloc directly, without stack allocations.
11121 2018-06-25 Florian Weimer <fweimer@redhat.com>
11124 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11127 2018-06-25 Florian Weimer <fweimer@redhat.com>
11130 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11132 * nscd/hstcache.c (addhstbyX): Likewise.
11133 * nscd/pwdcache.c (addpwbyX): Likewise.
11134 * nscd/servicescache.c (addservbyX): Likewise.
11136 2018-06-25 Florian Weimer <fweimer@redhat.com>
11139 * nscd/connections.c (read_cmdline): New function.
11140 (restart): Use it. Update comment.
11142 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11145 * localedata/locales/csb_PL (mon): Rename to...
11147 (abmon): Rename to...
11148 (ab_alt_mon): This.
11149 (mon): Add with proper genitive forms, copy from Wikipedia.
11152 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11155 * localedata/locales/csb_PL (mon): Fix typos:
11156 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11157 (yesstr): Add, value is "jo".
11158 (nostr): Add, value is "nié".
11160 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11162 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11163 all log1p and significand functions on m680x0.
11164 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11165 of s_significand.c..
11166 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11167 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11168 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11169 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11170 s_log1p.c and include it..
11172 2018-06-21 Vincent Chen <vincentc@andestech.com>
11174 * elf/elf.h (R_NDS32_NONE): New define.
11175 (R_NDS32_32_RELA): Likewise.
11176 (R_NDS32_COPY): Likewise.
11177 (R_NDS32_GLOB_DAT): Likewise.
11178 (R_NDS32_JUMP_SLOT): Likewise.
11179 (R_NDS32_RELATIVE): Likewise.
11180 (R_NDS32_TLS_TPOFF): Likewise.
11181 (R_NDS32_TLS_DESC): Likewise.
11183 2018-06-21 Mark Wielaard <mark@klomp.org>
11185 * elf/elf.h (R_BPF_MAP_FD): Removed.
11186 (R_BPF_64_64, R_BPF_64_32): New.
11188 2018-06-21 Florian Weimer <fweimer@redhat.com>
11191 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11192 Renamed from libc_feholdsetround_ctx.
11193 (default_libc_feresetround_ctx): Renamed from
11194 libc_feresetround_ctx.
11195 (default_libc_feholdsetround_noex_ctx): Renamed from
11196 libc_feholdsetround_noex_ctx.
11197 (default_libc_feresetround_noex_ctx): Renamed from
11198 libc_feresetround_noex_ctx.
11199 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11200 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11201 forwardning to the old implementations under the new names.
11202 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11203 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11204 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11205 (libc_feresetround_ctx): Forward to default implements for i386
11206 and MATH_SET_BOTH_ROUNDING_MODES.
11207 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11208 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11210 2018-06-20 Joseph Myers <joseph@codesourcery.com>
11212 * string/tst-cmp.c: Include <libc-diag.h>.
11213 (strncmp_max): Disable -Wstringop-overflow= around call to
11215 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11218 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11219 (main): Disable -Wunused-value around call to strpbrk.
11220 * string/bug-strspn1.c: Include <libc-diag.h>.
11221 (main): Disable -Wunused-value around call to strspn.
11223 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11224 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11226 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11227 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11229 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11231 * math/Makefile (libm-calls): Move s_significandF to...
11232 (gen-libm-calls): ... here.
11233 * math/s_significand_template.c: New file.
11234 * math/s_significand.c: Removed.
11235 * math/s_significandf.c: Removed.
11236 * math/s_significandl.c: Removed.
11237 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
11238 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
11240 * math/e_exp2_template.c (declare_mgen_finite_alias,
11241 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
11242 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
11243 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
11245 2018-06-20 Florian Weimer <fweimer@redhat.com>
11247 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
11249 2018-06-19 Joseph Myers <joseph@codesourcery.com>
11252 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11253 floating-point number to strtod functions rather than possibly
11254 negating result of those functions.
11255 * stdio-common/tst-scanf-round.c: New file.
11256 * stdio-common/Makefile (tests): Add tst-scanf-round.
11257 ($(objpfx)tst-scanf-round): Depend on $(libm).
11259 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11261 * sysdeps/mach/hurd/localplt.data: Move to...
11262 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11263 R_386_GLOB_DAT like on Linux i386.
11265 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11267 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11268 (SHM_STAT_ANY): New macro.
11269 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11270 (SHM_STAT_ANY): Likewise.
11271 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11272 (SHM_STAT_ANY): Likewise.
11273 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11274 (SHM_STAT_ANY): Likewise.
11275 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11276 (SHM_STAT_ANY): Likewise.
11277 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11278 (SHM_STAT_ANY): Likewise.
11279 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11280 (SHM_STAT_ANY): Likewise.
11281 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11282 (SHM_STAT_ANY): Likewise.
11283 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11284 (SHM_STAT_ANY): Likewise.
11285 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11286 (SHM_STAT_ANY): Likewise.
11287 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11288 (SHM_STAT_ANY): Likewise.
11289 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11290 (SHM_STAT_ANY): Likewise.
11292 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11293 (SEM_STAT_ANY): New macro.
11294 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11295 (SEM_STAT_ANY): Likewise.
11296 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11297 (SEM_STAT_ANY): Likewise.
11298 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11299 (SEM_STAT_ANY): Likewise.
11300 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11301 (SEM_STAT_ANY): Likewise.
11302 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11303 (SEM_STAT_ANY): Likewise.
11304 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11305 (SEM_STAT_ANY): Likewise.
11306 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
11307 (SEM_STAT_ANY): Likewise.
11308 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11309 (SEM_STAT_ANY): Likewise.
11310 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11311 (SEM_STAT_ANY): Likewise.
11313 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11314 (MSG_STAT_ANY): New macro.
11315 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11316 (MSG_STAT_ANY): Likewise.
11317 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
11318 (MSG_STAT_ANY): Likewise.
11319 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
11320 (MSG_STAT_ANY): Likewise.
11321 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
11322 (MSG_STAT_ANY): Likewise.
11323 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
11324 (MSG_STAT_ANY): Likewise.
11325 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
11326 (MSG_STAT_ANY): Likewise.
11327 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
11328 (MSG_STAT_ANY): Likewise.
11329 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
11330 (MSG_STAT_ANY): Likewise.
11331 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
11332 (MSG_STAT_ANY): Likewise.
11334 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11335 (MAP_TYPE): Change value to 0x2b.
11337 2018-06-18 Florian Weimer <fweimer@redhat.com>
11340 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
11341 socket with SOCK_CLOEXEC.
11343 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11346 * sysdeps/powerpc/powerpc64/le/Makefile
11347 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
11348 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
11349 (gnulib-tests): Also add $(f128-loader-link) for
11350 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
11352 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11354 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
11355 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11357 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11358 (sendfile64): New strong alias.
11359 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11360 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11361 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
11362 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11364 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11365 ___pthread_get_cleanup_stack.
11366 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
11367 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11368 * mach/shortcut.awk: Make syscall stubs include
11369 <mach-shortcuts-hidden.h> and add hidden definition.
11370 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
11371 (__mach_msg): Add hidden prototype.
11372 * mach/msg.c: Include <mach.h>.
11373 (__mach_msg): Add hidden definition.
11374 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11375 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11376 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11377 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
11378 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11379 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
11380 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11381 prototype and definition.
11382 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11383 hidden target for _hurd_self_sigstate.
11385 2018-06-15 Joseph Myers <joseph@codesourcery.com>
11388 * stdlib/tst-strtod-nan-sign-main.c: New file.
11389 * stdlib/tst-strtod-nan-sign.c: Likewise.
11390 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11391 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11392 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11393 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11394 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11396 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11399 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11402 2018-06-14 Florian Weimer <fweimer@redhat.com>
11405 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11406 that the result stays within the ISO-8859-1 range.
11407 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11408 characters are defined in IBM273.
11410 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11412 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11413 __mach_task_self): Remove attribute_hidden.
11415 2018-06-14 Joseph Myers <joseph@codesourcery.com>
11417 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11418 ignore -Wrestrict for one test.
11420 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11421 Szabolcs Nagy <szabolcs.nagy@arm.com>
11423 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11425 2018-06-14 Florian Weimer <fweimer@redhat.com>
11427 * scripts/update-abilist.sh: Accept empty list of files to patch.
11429 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11431 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11432 test-xfail-check-abi-libmachuser): Add.
11433 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11434 __libc_read and __libc_write to __read and __write.
11435 * sysdeps/hurd/include/hurd/port.h: New file.
11436 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11437 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11438 __thread_switch, __evc_wait): Move declarations to...
11439 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11441 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11442 use PLT to call _hurd_self_sigstate.
11444 2018-06-13 Joseph Myers <joseph@codesourcery.com>
11447 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11448 MAX_EXP as overflowing.
11449 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11451 (round_str): Output also whether result overflows in each rounding
11453 * stdlib/tst-strtod-round-data: Add more tests.
11454 * stdlib/tst-strtod-round-data.h: Regenerated.
11455 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11456 (TEST): Handle extra arguments for overflow flags.
11457 (struct test_overflow): New type.
11458 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11459 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11460 (test_in_one_mode): Take argument with overflow information.
11461 (do_test): Update calls to test_in_one_mode.
11463 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11465 * elf/dl-load (_dl_dst_substitute): Correct comment.
11466 (_dl_dst_count): Likewise.
11468 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11469 lll_futex_timed_wait.
11471 2018-06-12 Joseph Myers <joseph@codesourcery.com>
11474 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11476 * math/test-nan-const.c: New file.
11477 * math/Makefile (tests): Add test-nan-const.
11478 (CFLAGS-test-nan-const.c): New variable.
11480 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11482 * benchtests/scripts/compare_strings.py (process_results): Add
11483 funcs argument. Compare only functions which are selected.
11484 (main): Check if base function is among selected functions.
11485 Pass selected functions to process_results.
11486 (__main__): Add -f/--functions argument.
11488 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11489 Hongbo Zhang <hongbo.zhang@linaro.org>
11491 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11492 __memcpy_falkor for phecda core.
11493 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11494 __memmove_falkor for phecda core.
11495 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11496 __memset_falkor for phecda core.
11497 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11499 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11500 macro to identify phecda core.
11502 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11503 Andreas Schwab <schwab@suse.de>
11504 Dmitry V. Levin <ldv@altlinux.org>
11505 Florian Weimer <fweimer@redhat.com>
11512 * elf/dl-dst.h: Remove DL_DST_COUNT.
11513 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11514 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11515 (is_dst): Comment. Support ELF gABI.
11516 (_dl_dst_count): Comment. Simplify and count DSTs.
11517 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11518 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11521 2018-06-12 Zack Weinberg <zackw@panix.com>
11523 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11524 * sysdeps/unix/sysv/linux/dl-sysdep.c
11525 Include not-cancel.h. Use __close_nocancel instead of __close,
11526 __open64_nocancel instead of __open, __read_nocancel instead of
11527 __libc_read, and __write_nocancel instead of __libc_write.
11529 * csu/check_fds.c (check_one_fd)
11530 * sysdeps/posix/fdopendir.c (__fdopendir)
11531 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11532 instead of __fcntl and/or __libc_fcntl.
11534 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11535 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11536 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11537 Use __open64_nocancel instead of __open_nocancel.
11539 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11540 hidden_proto declarations to the end and issue them if either
11541 IS_IN(libc) or IS_IN(rtld).
11542 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11543 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11544 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11545 read_nocancel, waitpid_nocancel, write_nocancel.
11547 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11548 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11549 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11551 * nptl/pt-fcntl.c: New file.
11552 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11553 (libpthread-routines): Add pt-fcntl.
11554 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11555 (__libc_fcntl): Remove attribute_hidden.
11556 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11557 __fcntl_nocancel_adjusted, not fcntl_common.
11558 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11559 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11560 to fcntl_nocancel.c.
11561 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11564 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11566 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11567 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11568 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11569 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11570 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11571 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11572 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11573 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11574 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11575 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11576 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11577 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11578 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11579 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11580 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11581 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11582 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11583 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11584 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11585 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11587 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11588 libpthread-routines.
11589 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11592 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11593 __libc_read, and __write instead of __libc_write. Define
11594 __open64 in addition to __open.
11596 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11600 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11601 to _private_tm[3] and add __glibc_reserved2.
11602 Add _Static_assert of offset of __private_ss == 0x30.
11603 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11604 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11606 2018-06-12 Florian Weimer <fweimer@redhat.com>
11608 x86: Make strncmp usable from rtld.
11609 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11610 __strncmp_ia32 if in libc (and not in rtld).
11611 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11612 strncmp if not in libc (and not to __strncmp_sse2).
11614 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11617 * localedata/locales/gd_GB (mon): Rename to...
11619 (mon): Import from CLDR (genitive case).
11620 * localedata/locales/hsb_DE (mon): Rename to...
11622 (mon): Import from CLDR (genitive case).
11623 * localedata/locales/wa_BE (mon): Rename to...
11625 (mon): Add, fill with the proper genitive forms, but CLDR data
11626 is incomplete; completed according to the comments in this file.
11627 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11629 * localedata/locales/wa_BE (country_name): Reword
11630 "Beljike" -> "Beldjike".
11632 2018-06-11 Joseph Myers <joseph@codesourcery.com>
11635 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11636 cases of non-finite arguments.
11637 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11639 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
11642 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11644 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11647 * include/unistd.h (__execvpex): New prototype.
11648 * posix/Makefile (tests): Add tst-spawn4.
11649 (tests-internal): Add tst-spawn4-compat.
11650 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11651 * posix/tst-spawn4-compat.c: New file.
11652 * posix/tst-spawn4.c: Likewise.
11653 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11654 binaries as shell scripts.
11655 * sysdeps/posix/spawni.c (__spawni): Likewise.
11657 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11660 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11661 ($(all-built-dso:=.dynsym): New target.
11662 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11663 ($(objpfx)check-initfini.out): New target.
11664 (generated): Add check-initfini.out.
11665 * scripts/check-initfini.awk: New file.
11666 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11668 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11670 * sysdeps/arm/crti.S (_init): Mark as hidden.
11672 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11674 * sysdeps/i386/crti.S (_init): Mark as hidden.
11676 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11678 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11680 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11682 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11684 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11686 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11688 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11690 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11692 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11694 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11696 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11698 * sysdeps/sh/crti.S (_init): Mark as hidden.
11700 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11702 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11705 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11707 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11708 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11709 and TF redirection to KFtype and KF only when the default
11710 long double type is not the IEEE 128-bit floating point type.
11712 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11714 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11716 (HWCAP_USCAT): Likewise.
11717 (HWCAP_ILRCPC): Likewise.
11718 (HWCAP_FLAGM): Likewise.
11719 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11721 (_dl_aarch64_cap_flags): Add new flag names.
11723 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11724 (MAP_FIXED_NOREPLACE): New macro.
11725 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11726 (MAP_FIXED_NOREPLACE): Likewise.
11727 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11728 (MAP_FIXED_NOREPLACE): Likewise.
11729 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11730 (MAP_FIXED_NOREPLACE): Likewise.
11731 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11732 (MAP_FIXED_NOREPLACE): Likewise.
11733 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11734 (MAP_FIXED_NOREPLACE): Likewise.
11735 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11736 (MAP_FIXED_NOREPLACE): Likewise.
11737 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11738 (MAP_FIXED_NOREPLACE): Likewise.
11739 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11740 (MAP_FIXED_NOREPLACE): Likewise.
11741 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11742 (MAP_FIXED_NOREPLACE): Likewise.
11743 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11744 (MAP_FIXED_NOREPLACE): Likewise.
11745 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11746 (MAP_FIXED_NOREPLACE): Likewise.
11747 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11748 (MAP_FIXED_NOREPLACE): Likewise.
11749 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11750 (MAP_FIXED_NOREPLACE): Likewise.
11751 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11752 (MAP_FIXED_NOREPLACE): Likewise.
11754 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11757 2018-06-04 Joseph Myers <joseph@codesourcery.com>
11759 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11762 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11764 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11766 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11768 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11770 * benchtests/scripts/compare_string.py: (process_results) Catch
11771 exception in non-existent base_func and catch exception in
11772 non-existent attribute.
11773 (parse_file) Catch exception if input file does not exist.
11775 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11777 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11778 options to avoid diff calculation and omit header, respectively.
11779 (main): process --no-diff and --no-header
11781 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11782 H.J. Lu <hongjiu.lu@intel.com>
11784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11785 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11787 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11788 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11789 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11790 and __wcsncmp_sse2.
11791 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11792 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11793 AVX unaligned load is fast and vzeroupper is preferred.
11794 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11795 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11796 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11797 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11798 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11799 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11800 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11801 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11802 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11803 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11806 2018-06-01 Florian Weimer <fweimer@redhat.com>
11808 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11809 configuring with --disable-multi-arch, building with
11810 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11813 2018-06-01 Florian Weimer <fweimer@redhat.com>
11815 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11816 results from building with “-march=x86-64 -mtune=generic
11817 -mfpmath=sse” and running on a Haswell-era CPU.
11819 2018-06-01 Joseph Myers <joseph@codesourcery.com>
11822 * soft-fp/sqrttf2.c: Remove file.
11823 * soft-fp/sqrtdf2.c: Move to ....
11824 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11826 (__sqrtdf2): Make conditional on
11827 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11829 * soft-fp/sqrtsf2.c: Move to ....
11830 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11832 (__sqrtsf2): Make conditional on
11833 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11835 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11836 (gcc-double-routines): Remove sqrtdf2.
11837 (gcc-quad-routines): Remove sqrttf2.
11838 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11839 Do not filter out sqrtsf2 and sqrtdf2.
11840 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11841 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11843 2018-06-01 Florian Weimer <fweimer@redhat.com>
11845 * sysdeps/generic/libcidn.abilist: Remove file.
11847 2018-06-01 Florian Weimer <fweimer@redhat.com>
11850 * libio/strfile.h (struct _IO_str_fields): Rename members to
11851 discourage their use and add comment.
11852 (_IO_STR_DYNAMIC): Remove unused macro.
11853 * libio/strops.c (_IO_str_init_static_internal): Do not use
11854 callback pointers. Call malloc and free.
11855 (_IO_str_overflow): Do not use callback pointers. Call malloc
11857 (enlarge_userbuf): Likewise.
11858 (_IO_str_finish): Call free.
11859 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11860 _allocate_buffer_unused.
11861 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11863 (enlarge_userbuf): Likewise.
11864 (_IO_wstr_finish): Call free.
11865 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11866 _allocate_buffer_unused, _free_buffer_unused.
11867 * libio/memstream.c (__open_memstream): Likewise.
11868 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11869 * libio/wmemstream.c (open_wmemstream): Likewise.
11871 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11873 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11876 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11878 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11879 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11880 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11882 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11884 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11886 2018-05-29 Florian Weimer <fweimer@redhat.com>
11888 * support/Makefile (libsupport-routines): Add
11889 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11890 xpthread_barrierattr_setpshared.
11891 * support/xpthread_barrierattr_destroy.c: New file.
11892 * support/xpthread_barrierattr_init.c: Likewise.
11893 * support/xpthread_barrierattr_setpshared.c: Likewise.
11895 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11898 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11899 _r_debug and update DT_DEBUG for debugger.
11901 2018-05-29 Florian Weimer <fweimer@redhat.com>
11903 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11904 (tst-strtod5i.out): Likewise.
11906 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11908 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11909 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11910 (sparc64-quad-routines): New variable. Moved from ....
11911 [$(subdir) = soft-fp] (sysdep_routines): Add
11912 $(sparc64-quad-routines). Moved from ....
11913 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11914 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11915 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11917 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11918 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11919 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11920 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11921 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11922 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11923 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11924 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11925 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11926 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11927 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11928 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11929 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11930 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11931 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11932 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11933 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11934 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11935 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11936 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11937 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11938 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11939 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11940 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11941 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11942 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11943 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11944 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11945 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11946 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11947 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11948 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11949 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11950 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11951 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11952 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11953 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11954 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11955 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11956 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11957 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11958 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11959 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11960 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11961 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11962 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11963 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11964 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11965 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11966 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11967 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11968 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11969 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11970 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11971 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11972 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11973 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11974 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11976 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11977 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11978 (sparc32-quad-routines): New variable. Moved from ....
11979 [$(subdir) = soft-fp] (sysdep_routines): Add
11980 $(sparc32-quad-routines). Moved from ....
11981 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11982 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11984 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11985 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11986 * sysdeps/sparc/sparc32/q_add.c: ... here.
11987 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11988 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11989 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11990 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11991 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11992 * sysdeps/sparc/sparc32/q_div.c: ... here.
11993 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11994 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11995 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11996 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11997 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11998 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11999 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12000 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12001 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12002 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12003 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12004 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12005 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12006 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12007 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12008 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12009 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12010 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12011 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12012 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12013 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12014 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12015 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12016 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12017 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12018 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12019 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12020 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12021 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12022 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12023 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12024 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12025 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12026 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12027 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12028 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12029 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12030 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12031 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12032 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12033 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12034 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12035 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12036 * sysdeps/sparc/sparc32/q_util.c: ... here.
12037 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12038 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12039 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12040 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12042 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12043 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12045 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12046 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12047 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12048 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12050 2018-05-24 Joseph Myers <joseph@codesourcery.com>
12052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12056 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12057 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12059 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12062 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12065 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12067 * sysdeps/sh/Implies: Remove sh/soft-fp.
12068 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12069 * sysdeps/sh/sfp-machine.h: ... here.
12071 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12073 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12074 (__mempcpy_erms): Skip zero length.
12075 (__memmove_erms): Likewise.
12076 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12077 (__memset_erms): Likewise.
12079 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12081 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12082 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12083 Add functions moved from ....
12084 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12085 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12086 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12088 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12089 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12090 * sysdeps/alpha/e_sqrtl.c: ... here.
12091 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12092 * sysdeps/alpha/local-soft-fp.h: ... here.
12093 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12094 * sysdeps/alpha/ots_add.c: ... here.
12095 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12096 * sysdeps/alpha/ots_cmp.c: ... here.
12097 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12098 * sysdeps/alpha/ots_cmpe.c: ... here.
12099 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12100 * sysdeps/alpha/ots_cvtqux.c: ... here.
12101 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12102 * sysdeps/alpha/ots_cvtqx.c: ... here.
12103 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12104 * sysdeps/alpha/ots_cvttx.c: ... here.
12105 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12106 * sysdeps/alpha/ots_cvtxq.c: ... here.
12107 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12108 * sysdeps/alpha/ots_cvtxt.c: ... here.
12109 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12110 * sysdeps/alpha/ots_div.c: ... here.
12111 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12112 * sysdeps/alpha/ots_mul.c: ... here.
12113 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12114 * sysdeps/alpha/ots_nintxq.c: ... here.
12115 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12116 * sysdeps/alpha/ots_sub.c: ... here.
12117 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12118 * sysdeps/alpha/sfp-machine.h: ... here.
12120 2018-05-23 Florian Weimer <fweimer@redhat.com>
12128 Switch to extern IDNA implementation (libidn2).
12129 * libidn: Remove subdirectory.
12130 * LICENSES: Do not mention licensing conditions for the removed
12132 * config.h.in (HAVE_LIBIDN): Remove.
12133 * include/dlfcn.h (__libc_dlopen): Update comment.
12134 * include/idna.h: Remove file.
12135 * inet/Makefile (routines): Add idna.
12136 (tests-static, tests-internal): Add tst-idna_name_classify.
12137 (LOCALES): Generate locales for tests.
12138 (tst-idna_name_classify.out): Depend on generated locales.
12139 * inet/idna_name_classify.c: New file.
12140 * inet/tst-idna_name_classify.c: Likewise.
12141 * inet/net-internal.h (__idna_to_dns_encoding)
12142 (__idna_from_dns_encoding): Declare.
12143 * inet/net-internal.h (enum idna_name_classification): Define.
12144 (__idna_name_classify): Declare.
12145 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12146 __idna_from_dns_encoding.
12147 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12148 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12149 name as a fallback in case of encoding errors.
12150 (getnameinfo): Use DEPRECATED_NI_IDN.
12151 * inet/idna.c: New file.
12152 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12153 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12154 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12155 (modules-names): Add tst-no-libidn2.
12156 (extra-test-objs): Add tst-no-libidn2.os.
12157 (LDFLAGS-tst-no-libidn2.so): Set soname.
12158 (LOCALES): Set, and generate locales.
12159 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12160 (tst-resolv-ai_idn-latin1): Likewise.
12161 (tst-resolv-ai_idn-nolibidn2): Likewise.
12162 (tst-resolv-ai_idn.out): Depend on locales.
12163 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12164 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12166 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12167 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12168 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12169 * resolv/tst-resolv-ai_idn.c: New file.
12170 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12171 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12172 * resolv/tst-no-libidn2.c: Likewise.
12173 * support/support_format_addrinfo.c (format_ai_flags): Do not
12174 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12175 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12176 (gaih_inet): Call __idna_to_dns_encoding and
12177 __idna_from_dns_encoding, and use the original (punycode) name if
12178 __idna_from_dns_encoding fails due to an encoding error.
12179 (getaddrinfo): Use DEPRECATED_AI_IDN.
12180 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12181 * sysdeps/unix/inet/configure: Remove file.
12182 * sysdeps/unix/inet/configure.ac: Likewise.
12184 2018-05-23 Florian Weimer <fweimer@redhat.com>
12186 Implement allocate_once.
12187 * include/allocate_once.h: New file.
12188 * misc/allocate_once.c: Likewise.
12189 * misc/tst-allocate_once.c: Likewise.
12190 * misc/Makefile (routines): Add allocate_once.
12191 (tests-internal): Add tst-allocate_once.
12192 (generated): Add tst-allocate_once.mtrace,
12193 tst-allocate_once-mem.out.
12194 (tests-special): Add tst-allocate_once-mem.out.
12195 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12196 (tst-allocate_once-mem.out): Call mtrace.
12197 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12199 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12202 * string/test-memcpy.c (do_test1): New function.
12203 (test_main): Call it.
12205 2018-05-23 Andreas Schwab <schwab@suse.de>
12209 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12210 (L(preloop_large)): Save initial destination pointer in %r11 and
12211 use it instead of %rax after the loop.
12212 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12214 2018-05-22 Joseph Myers <joseph@codesourcery.com>
12216 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12217 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12218 -I../soft-fp. Moved from ....
12219 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12220 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12221 * sysdeps/aarch64/e_sqrtl.c: ... here.
12222 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12223 * sysdeps/aarch64/sfp-machine.h: ... here.
12225 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12226 -Wmaybe-uninitialized around access to fq[0].
12227 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12231 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
12232 aliases for non-libc case of versioned symbols.
12233 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
12234 (llseek): Define as compat symbol if
12235 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
12237 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
12238 Make into a compat symbol, disabled for minimum symbol version
12239 GLIBC_2.28 and later.
12240 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
12242 2018-05-22 Florian Weimer <fweimer@redhat.com>
12244 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
12245 not add -mpreferred-stack-boundary=4.
12246 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
12247 (stack-align-test-flags): Likewise.
12248 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
12250 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12251 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12252 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12253 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12254 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12255 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12256 (CFLAGS-tst-align2.c): Likewise.
12258 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12260 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12261 (index_arch_Prefer_FSRM): Likewise.
12262 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12263 Also check Prefer_FSRM.
12264 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12265 Also return OPTIMIZE (erms) for Prefer_FSRM.
12267 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12269 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12270 (index_cpu_FSRM): Likewise.
12271 (reg_FSRM): Likewise.
12273 2018-05-18 Joseph Myers <joseph@codesourcery.com>
12275 * math/gen-tgmath-tests.py: Import sys.
12276 (Tests.__init__): Initialize macros_seen.
12277 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12278 if requested to do so for this macro.
12279 (Tests.add_all_tests): Take argument for macro for which to
12281 (Tests.check_macro_list): New function.
12282 (main): Handle check-list argument and argument specifying macro
12283 for which to generate tests.
12284 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12285 [PYTHON] (tgmath3-macro-tests): Likewise.
12286 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12287 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12288 not test-tgmath3.c.
12289 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12290 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12292 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12293 [PYTHON] ($(foreach
12294 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12296 [PYTHON] (tests-special): Add
12297 $(objpfx)test-tgmath3-macro-list.out.
12298 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12300 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12301 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12305 * time/tzset.c (SECSPERDAY): Cast to time_t.
12306 * time/tst-y2039.c: New file.
12307 * time/Makefile (tests): Add tst-y2039.
12309 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12311 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12312 (PREFETCH_ONE_SET): Remove duplicate line.
12314 2018-05-17 Florian Weimer <fweimer@redhat.com>
12316 * sysdeps/generic/math-type-macros-double.h: Include
12317 <math-nan-payload-double.h> after <libm-alias-double.h>.
12318 * sysdeps/generic/math-type-macros-float.h: Include
12319 <math-nan-payload-float.h> after <libm-alias-float.h>.
12320 * sysdeps/generic/math-type-macros-float128.h: Include
12321 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
12322 * sysdeps/generic/math-type-macros-ldouble.h: Include
12323 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
12325 2018-05-17 Andreas Schwab <schwab@suse.de>
12327 * resolv/res_send.c (__res_context_send): Don't set errno when
12328 returing error after malloc failure.
12330 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
12332 * nptl/allocatestack.c (allocate_stack): Remove the
12333 !__ASSUME_PRIVATE_FUTEX paths.
12334 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
12335 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12337 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
12338 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12339 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12340 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12341 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
12342 !__ASSUME_PRIVATE_FUTEX path.
12343 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
12344 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
12345 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12346 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
12347 !__ASSUME_PRIVATE_FUTEX macros.
12348 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12349 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12350 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12351 * sysdeps/unix/sysv/linux/kernel-features.h
12352 (__ASSUME_PRIVATE_FUTEX): Removed.
12354 2018-05-17 Joseph Myers <joseph@codesourcery.com>
12356 * math/Makefile (libm-narrow-fns): Add div.
12357 (libm-test-funcs-narrow): Likewise.
12358 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12359 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12360 * math/gen-auto-libm-tests.c (test_functions): Add div.
12361 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12362 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12363 (NARROW_DIV_TRIVIAL): Likewise.
12364 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12366 (__ddivl): Likewise.
12367 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12369 (CFLAGS-nldbl-ddiv.c): New variable.
12370 (CFLAGS-nldbl-fdiv.c): Likewise.
12371 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12373 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12375 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12376 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12377 * math/auto-libm-test-in: Add tests of div.
12378 * math/auto-libm-test-out-narrow-div: New generated file.
12379 * math/libm-test-narrow-div.inc: New file.
12380 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12381 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12382 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12383 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12384 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12385 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12386 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12387 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12388 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12389 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12390 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12391 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12392 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12393 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12394 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12395 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12396 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12397 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12399 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12400 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12401 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12402 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12403 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12404 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12405 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12406 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12407 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12408 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12409 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12410 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12411 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12416 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12417 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12418 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12419 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12420 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12421 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12422 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12423 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12425 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12428 * nscd/nscd-client.h (sendfileall): Remove prototype.
12429 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12430 (handle_request): Use writeall instead of sendfileall.
12431 * nscd/aicache.c (addhstaiX): Likewise.
12432 * nscd/grpcache.c (cache_addgr): Likewise.
12433 * nscd/hstcache.c (cache_addhst): Likewise.
12434 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12435 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12436 * nscd/pwdcache.c (cache_addpw): Likewise.
12437 * nscd/servicescache.c (cache_addserv): Likewise.
12438 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12439 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12440 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12443 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12445 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12446 Include <string/strncat.c>.
12447 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12449 (__GI___strncat): New hidden alias.
12451 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12453 * sysdeps/mips/mips32/libm-test-ulps: Update.
12454 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12456 2018-05-16 Florian Weimer <fweimer@redhat.com>
12458 * support/Makefile (libsupport-routines): Add support_quote_blob,
12459 support_test_compare_blob.
12460 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12461 * support/check.h (TEST_COMPARE_BLOB): Define.
12462 (support_test_compare_blob): Declare.
12463 * support/support.h (support_quote_blob): Declare.
12464 * support/support_quote_blob.c: New file.
12465 * support/support_test_compare_blob.c: Likewise.
12466 * support/tst-support_quote_blob.c: Likewise.
12467 * support/tst-test_compare_blob.c: Likewise.
12469 2018-05-16 Florian Weimer <fweimer@redhat.com>
12471 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12472 of <strtod_nan_double.h>.
12473 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12474 instead of SET_MANTISSA.
12475 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12476 of include <strtod_nan_float.h>.
12477 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12478 instead of <strtod_nan_ldouble.h>.
12479 * stdlib/strtod_nan_double.h: Move to ...
12480 * sysdeps/generic/math-nan-payload-double.h: ... here.
12481 (FLOAT): Remove definition.
12482 (SET_MANTISSA): Rename to ...
12483 (SET_NAN_PAYLOAD): ... this.
12484 * stdlib/strtod_nan_float.h: Move to ...
12485 * sysdeps/generic/math-nan-payload-float.h: ... here.
12486 (FLOAT): Remove definition.
12487 (SET_MANTISSA): Rename to ...
12488 (SET_NAN_PAYLOAD): ... this.
12489 * sysdeps/generic/math-type-macros-double.h: Include
12490 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12491 instead of <math-svid-compat.h>.
12492 * sysdeps/generic/math-type-macros-float.h: Include
12493 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12494 instead of <math-svid-compat.h>.
12495 * sysdeps/generic/math-type-macros-float128.h: Include
12496 <math-nan-payload-float128.h>.
12497 * sysdeps/generic/math-type-macros-ldouble.h: Include
12498 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12499 instead of <math-svid-compat.h>.
12500 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12501 check for definition.
12502 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12503 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12504 Include <ieee754_float128.h>.
12505 (FLOAT): Remove definition.
12506 (SET_MANTISSA): Rename to ...
12507 (SET_NAN_PAYLOAD): ... this.
12508 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12509 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12510 Do not include <float128_private.h>.
12511 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12512 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12513 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12514 (FLOAT): Remove definition.
12515 (SET_MANTISSA): Rename to ...
12516 (SET_NAN_PAYLOAD): ... this.
12517 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12518 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12519 (FLOAT): Remove definition.
12520 (SET_MANTISSA): Rename to ...
12521 (SET_NAN_PAYLOAD): ... this.
12522 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12523 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12524 (FLOAT): Remove definition.
12525 (SET_MANTISSA): Rename to ...
12526 (SET_NAN_PAYLOAD): ... this.
12527 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12528 of "../stdlib/strtod_nan_double.h".
12529 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12530 of "../stdlib/strtod_nan_float.h".
12531 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12532 instead of "../stdlib/strtod_nan_ldouble.h".
12533 * manual/arith.texi (Parsing of Floats): Adjust comment.
12535 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12537 * math/Makefile (libm-narrow-fns): Add mul.
12538 (libm-test-funcs-narrow): Likewise.
12539 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12540 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12541 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12542 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12543 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12544 (NARROW_MUL_TRIVIAL): Likewise.
12545 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12546 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12548 (__dmull): Likewise.
12549 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12551 (CFLAGS-nldbl-dmul.c): New variable.
12552 (CFLAGS-nldbl-fmul.c): Likewise.
12553 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12555 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12557 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12558 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12559 * math/auto-libm-test-in: Add tests of mul.
12560 * math/auto-libm-test-out-narrow-mul: New generated file.
12561 * math/libm-test-narrow-mul.inc: New file.
12562 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12563 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12564 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12565 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12566 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12567 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12568 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12569 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12571 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12572 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12573 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12574 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12575 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12576 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12577 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12578 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12579 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12581 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12582 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12583 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12584 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12585 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12586 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12587 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12588 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12589 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12590 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12591 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12592 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12593 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12598 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12599 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12600 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12601 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12602 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12603 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12604 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12605 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12607 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12609 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12610 with *%eax in call.
12612 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12614 * sysdeps/i386/ldsodefs.h: Removed.
12615 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12616 * sysdeps/x86/ldsodefs.h: This.
12617 (La_i86_regs): New.
12618 (La_i86_retval): Likewise.
12619 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12620 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12622 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12624 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12627 2018-05-13 Alan Modra <amodra@gmail.com>
12629 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12630 R_PARISC_TLS_DTPOFF32 reloc addend.
12632 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12634 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12635 * math/math.h: Restrict the prototype definition for the functions
12636 issignaling(_Float128) and iszero(_Float128); and template
12637 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12638 __HAVE_FLOAT128_UNLIKE_LDBL.
12639 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12640 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12641 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12642 __f128() constants; define the type _Float128 as long double;
12643 and reuse long double in __CFLOAT128.
12645 2018-05-11 Joseph Myers <joseph@codesourcery.com>
12647 * sysdeps/generic/math_private.h: Do not include
12649 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12651 * math/fromfp.h: Include <math-barriers.h>.
12652 * math/math-narrow.h: Likewise.
12653 * math/s_nextafter.c: Likewise.
12654 * math/s_nexttowardf.c: Likewise.
12655 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12656 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12657 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12658 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12659 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12660 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12661 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12662 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12663 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12664 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12665 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12666 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12667 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12668 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12669 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12670 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12671 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12672 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12673 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12674 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12675 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12676 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12677 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12678 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12679 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12680 * sysdeps/ieee754/k_standardl.c: Likewise.
12681 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12682 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12683 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12684 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12685 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12686 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12687 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12688 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12689 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12690 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12691 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12692 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12693 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12695 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12696 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12697 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12698 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12699 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12700 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12701 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12702 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12704 2018-05-11 Florian Weimer <fweimer@redhat.com>
12706 Use 64-bit epoch values in the time zone file parser.
12707 * include/time.h (internal_time_t): Define.
12708 (__tzfile_compute): Use it.
12709 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12711 (transitions): Switch to internal_time_t.
12712 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12714 (__tzfile_compute): Use internal_time_t for timer argument. Check
12715 for truncation before calling __offtime.
12717 2018-05-11 Florian Weimer <fweimer@redhat.com>
12720 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12721 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12723 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12724 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12725 export without --enable-obsolete-rpc.
12726 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12727 symbol. This should not have been exported, ever.
12729 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12732 * localedata/locales/gd_GB (abmon): Fix typo in May:
12733 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12735 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12737 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12738 Use multiple registers to copy data in loop tail.
12740 * sysdeps/aarch64/multiarch/memmove_falkor.S
12741 (__memmove_falkor): Use multiple registers to move data in
12744 2018-05-10 Joseph Myers <joseph@codesourcery.com>
12746 * math/math-underflow.h: New file.
12747 * sysdeps/generic/math_private.h: Do not include <float.h>.
12748 (fabs_tg): Remove macro. Moved to math-underflow.h.
12749 (min_of_type_f): Likewise.
12750 (min_of_type_): Likewise.
12751 (min_of_type_l): Likewise.
12752 (min_of_type_f128): Likewise.
12753 (min_of_type): Likewise.
12754 (math_check_force_underflow): Likewise.
12755 (math_check_force_underflow_nonneg): Likewise.
12756 (math_check_force_underflow_complex): Likewise.
12757 * math/e_exp2_template.c: Include <math-underflow.h>.
12758 * math/k_casinh_template.c: Likewise.
12759 * math/s_catan_template.c: Likewise.
12760 * math/s_catanh_template.c: Likewise.
12761 * math/s_ccosh_template.c: Likewise.
12762 * math/s_cexp_template.c: Likewise.
12763 * math/s_clog10_template.c: Likewise.
12764 * math/s_clog_template.c: Likewise.
12765 * math/s_csin_template.c: Likewise.
12766 * math/s_csinh_template.c: Likewise.
12767 * math/s_csqrt_template.c: Likewise.
12768 * math/s_ctan_template.c: Likewise.
12769 * math/s_ctanh_template.c: Likewise.
12770 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12771 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12772 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12773 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12774 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12775 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12776 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12777 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12778 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12779 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12780 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12781 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12782 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12783 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12784 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12785 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12786 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12787 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12788 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12789 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12790 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12791 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12792 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12793 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12794 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12795 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12796 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12797 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12798 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12799 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12800 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12801 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12802 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12803 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12804 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12805 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12806 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12807 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12808 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12809 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12810 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12811 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12812 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12813 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12817 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12819 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12820 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12821 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12823 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12826 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12828 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12829 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12830 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12831 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12832 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12833 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12834 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12835 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12836 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12838 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12840 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12841 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12842 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12844 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12845 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12846 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12847 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12848 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12849 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12850 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12851 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12852 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12853 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12855 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12857 * sysdeps/generic/math-barriers.h: New file.
12858 * sysdeps/generic/math_private.h [!math_opt_barrier]
12859 (math_opt_barrier): Move to math-barriers.h.
12860 [!math_opt_barrier] (math_force_eval): Likewise.
12861 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12862 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12864 (math_force_eval): Likewise.
12865 * sysdeps/alpha/fpu/math-barriers.h: New file.
12866 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12868 (math_force_eval): Likewise.
12869 * sysdeps/x86/fpu/math-barriers.h: New file.
12870 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12872 (math_force_eval): Likewise.
12873 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12874 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12875 multiple-include guard for rename.
12876 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12877 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12879 (math_force_eval): Likewise.
12881 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12885 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12887 * stdlib/Makefile (test-bz22786): New test.
12888 * stdlib/test-bz22786.c: New test.
12890 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12892 * include/math-narrow-eval.h: New file. Contents moved from ....
12893 * sysdeps/generic/math_private.h: ... here.
12894 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12895 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12896 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12897 * stdlib/strtod_l.c: Likewise.
12898 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12899 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12900 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12901 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12902 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12903 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12904 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12905 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12906 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12907 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12908 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12909 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12910 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12911 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12912 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12913 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12914 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12915 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12916 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12917 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12918 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12919 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12920 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12921 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12922 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12923 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12924 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12925 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12926 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12928 2018-05-08 Andreas Schwab <schwab@suse.de>
12930 * sysdeps/nptl/internaltypes.h: Fix comment.
12932 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12934 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12935 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12938 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12940 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12941 of I into loop header.
12942 * benchtests/bench-memmove-walk.c
12943 (test_main): Likewise.
12945 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12948 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12949 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12951 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12954 * elf/dl-load.c (open_verify): Fix stack overflow.
12955 * elf/Makefile (tst-big-note): New test.
12956 * elf/tst-big-note-lib.S: New.
12957 * elf/tst-big-note.c: New.
12959 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12961 * scripts/abilist.awk: Ignore absolute symbols.
12962 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12963 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12964 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12965 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12966 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12967 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12968 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12969 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12970 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12971 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12972 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12973 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12974 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12975 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12976 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12977 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12978 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12979 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12980 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12981 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12982 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12983 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12984 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12985 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12986 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12987 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12988 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12989 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12990 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12991 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12992 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12993 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12994 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12995 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12996 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12997 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12998 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12999 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13000 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13001 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13002 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13003 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13004 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13005 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13006 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13007 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13008 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13009 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13010 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13011 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13012 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13013 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13014 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13015 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13016 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13017 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13018 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13019 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13020 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13021 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13022 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13023 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13024 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13025 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13026 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13027 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13028 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13029 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13030 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13031 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13032 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13033 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13034 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13035 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13036 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13037 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13038 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13039 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13040 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13041 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13042 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13043 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13044 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13045 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13046 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13047 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13048 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13049 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13050 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13051 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13052 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13053 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13055 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13056 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13057 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13058 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13059 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13060 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13061 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13062 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13063 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13064 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13065 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13066 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13067 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13069 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13070 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13071 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13072 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13073 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13074 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13075 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13076 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13077 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13078 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13079 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13080 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13081 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13082 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13083 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13084 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13085 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13086 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13087 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13088 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13089 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13090 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13091 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13092 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13093 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13094 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13095 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13097 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13098 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13099 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13100 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13101 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13102 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13103 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13104 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13105 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13106 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13107 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13108 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13109 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13110 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13111 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13112 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13113 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13114 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13115 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13116 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13118 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13119 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13120 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13121 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13122 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13123 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13124 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13125 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13126 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13127 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13128 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13129 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13130 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13131 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13132 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13133 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13134 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13135 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13136 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13137 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13138 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13139 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13140 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13141 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13142 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13143 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13144 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13145 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13205 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13206 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13208 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13209 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13210 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13211 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13212 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13213 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13214 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13215 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13216 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13217 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13218 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13219 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13220 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13221 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13223 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13224 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13225 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13226 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13227 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13228 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13229 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13230 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13231 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
13232 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
13233 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13234 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13236 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13237 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
13238 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
13239 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13240 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
13241 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13242 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
13243 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
13244 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
13245 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
13246 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13247 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
13248 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
13249 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13250 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13251 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13252 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13253 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13254 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13255 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13256 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13257 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13258 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13259 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13260 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13262 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13263 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13264 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13265 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13266 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13267 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13268 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13269 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13270 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13271 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13272 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13273 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13274 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13276 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13277 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13278 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13279 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13280 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13281 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13282 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13283 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13284 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13285 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13286 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13287 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13288 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13289 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13290 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13291 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13292 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13293 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13294 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13295 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13296 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13297 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13298 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13299 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13300 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13301 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13302 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13303 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13304 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13305 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
13306 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
13307 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13308 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13309 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13310 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13311 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13312 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13313 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13315 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13318 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
13319 Use atomic_load_acquire to load __tid.
13321 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13323 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
13324 Restore the pointer into %rdx, after syscall and use %rdx,
13325 instead of %rsi, to restore context.
13327 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13329 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
13330 Pop the pointer into %rdx after syscall and use %rdx, instead
13331 of %rsi, to restore context.
13333 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13335 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
13336 handlers after setjmp.
13337 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
13339 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
13340 <libc-pointer-arith.h>.
13341 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
13342 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
13343 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
13344 _JUMP_BUF_SIGSET_BITS_PER_WORD.
13345 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
13346 * sysdeps/x86/__longjmp_cancel.S: New file.
13347 * sysdeps/x86/longjmp.c: Likewise.
13348 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
13350 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13352 * NEWS: Add ustat.h deprecation entry.
13353 * bits/ustat.h: Remove file.
13354 * misc/sys/ustat.h: Likewise.
13355 * misc/ustat.h: Likewise.
13356 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13357 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13358 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13359 compatibility mode.
13360 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13361 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13362 generic Linux implementation.
13364 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13366 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13367 * math/w_expl_compat.c: Likewise.
13368 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13370 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13372 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13374 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13376 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13377 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13378 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13380 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13382 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13383 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13384 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13387 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13389 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13391 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13392 * math/w_asin_template.c: Likewise.
13393 * math/w_atanh_template.c: Likewise.
13395 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13397 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13398 to powerpc/powerpc64/be for big-endian.
13399 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13402 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13403 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13404 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13405 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13406 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13407 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13408 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13409 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13410 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13411 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13412 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13413 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13414 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13415 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13416 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13417 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13418 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13419 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13420 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13421 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13422 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13423 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13424 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13425 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13426 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13427 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13428 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13429 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13430 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13431 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13432 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13433 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13435 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13436 adjusted to imply powerpc64 and older processors on powerpc64/be.
13437 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13438 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13439 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13440 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13441 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13442 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13443 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13444 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13445 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13446 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13447 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13448 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13449 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13450 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13451 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13452 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13453 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13454 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13455 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13456 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13457 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13458 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13459 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13460 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13461 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13462 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13463 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13464 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13465 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13466 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13467 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13469 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13470 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13471 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13472 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13474 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13475 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13476 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13477 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13479 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13480 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13481 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13482 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13483 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13484 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13485 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13486 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13487 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13488 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13489 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13491 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13492 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13493 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13494 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13495 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13496 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13497 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13498 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13499 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13500 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13501 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13503 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13504 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13505 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13506 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13507 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13508 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13509 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13510 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13511 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13512 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13513 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13514 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13516 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13517 and adjusted to imply olders processors.
13518 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13519 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13520 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13521 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13522 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13523 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13524 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13525 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13526 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13527 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13528 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13530 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13532 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13533 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13547 powerpc64 and adjusted.
13548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13553 2018-04-27 Joseph Myers <joseph@codesourcery.com>
13555 * sysdeps/tile: Remove.
13556 * sysdeps/unix/sysv/linux/tile: Likewise.
13557 * README (tilegx-*-linux-gnu): Remove from list of supported
13559 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13560 contribution of support for generic Linux kernel syscall
13562 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13563 tilegx configurations.
13564 (Config.install_linux_headers): Do not handle tile.
13565 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13567 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13568 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13569 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13570 conditional undefine and redefine.
13571 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13573 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13574 conditional undefine and redefine.
13576 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13578 * signal/tst-sigaction.c: New file to test BZ #23069.
13579 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13581 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13584 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13585 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13586 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13587 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13589 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13591 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13592 _DIRENT_MATCHES_DIRENT64 is not defined.
13593 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13594 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13596 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13597 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13599 2018-04-25 Joseph Myers <joseph@codesourcery.com>
13601 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13602 version to GCC 8 branch.
13604 2018-04-24 Joseph Myers <joseph@codesourcery.com>
13606 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13607 (check_no_hidden): Use type of original function when declaring
13610 * sysdeps/unix/sysv/linux/sys/ptrace.h
13611 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13612 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13613 (struct __ptrace_seccomp_metadata): New type.
13614 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13615 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13616 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13617 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13618 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13619 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13620 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13621 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13622 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13623 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13624 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13625 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13626 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13627 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13628 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13629 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13631 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13633 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13635 * dirent/versionsort.c (versionsort): Likewise.
13636 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13637 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13638 * dirent/versionsort64.c (versionsort64): Likewise.
13639 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13640 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13641 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13642 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13643 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13644 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13645 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13646 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13647 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13648 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13651 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13652 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13654 2018-04-23 Joseph Myers <joseph@codesourcery.com>
13656 * elf/elf.h (NT_PPC_PKEY): New macro.
13658 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13661 * localedata/locales/hr_HR: fix thousands_sep and
13664 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13666 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13667 (XTABS): Define to TAB3.
13669 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13671 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13673 * dirent/scandir-tail-common.c: New file.
13674 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13675 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13676 * dirent/scandir.c: Use scandir-tail-common.c.
13677 * dirent/scandirat.c: Likewise.
13678 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13679 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13680 if _DIRENT_MATCHES_DIRENT64 is defined.
13681 * dirent/scandirat64.c (scandirat64): Likewise.
13682 * include/dirent.h (__scandir_tail): Only define iff
13683 _DIRENT_MATCHES_DIRENT64 is not defined.
13684 (__scandir64_tail): Define regardless.
13685 (__scandirat, scandirat64): Remove libc_hidden_proto.
13686 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13687 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13689 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13690 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13691 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13692 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13694 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13696 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13698 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13700 (_dl_aarch64_cap_flags): Add asimdfhm.
13702 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13704 * sysdeps/nios2/libm-test-ulps: Update.
13706 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13708 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13709 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13711 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13713 (_DIRENT_MATCHES_DIRENT64): Undef
13714 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13715 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13716 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13717 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13718 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13719 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13720 use getdents64 syscalls as base.
13721 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13722 symbol if required.
13723 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13724 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13725 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13726 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13727 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13728 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13729 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13730 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13731 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13732 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13733 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13735 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13737 * scripts/test_printers_common.py (init_test): Disable lock elision.
13739 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13741 * math/test-tgmath.c (count_double, count_float,
13742 count_ldouble, count_cdouble, count_cfloat,
13743 count_cldouble): Use volatile int.
13745 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13747 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13748 (conformtest-xfail-conds): Add i386-gnu.
13749 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
13751 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13752 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13753 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13754 msqid_ds.msg_lrpid): Likewise.
13755 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13757 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13758 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
13759 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13760 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13762 (struct statvfs64): Likewise.
13763 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13765 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13766 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13767 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13768 instead of wait_queue.
13769 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13770 instead of vm_area_struct.
13771 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13772 struct sched_param definition to it.
13773 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13774 * bits/types/struct_sched_param.h: New file.
13775 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13776 <bits/types/struct_sched_param.h> instead of <sched.h>.
13777 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
13778 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13779 generic version but include <bits/pthreadtypes.h> to make struct
13780 sigevent's sigev_notify_attributes field a pthread_attr_t*.
13781 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13783 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13784 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13785 [__USE_XOPEN] (OFDEL): New macro.
13786 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
13787 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
13788 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13790 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13791 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
13792 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13794 * sysdeps/i386/sys/ucontext.h: Likewise.
13795 * sysdeps/m68k/sys/ucontext.h: Likewise.
13796 * sysdeps/mips/sys/ucontext.h: Likewise.
13797 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
13798 * sysdeps/mach/hurd/i386/Makefile
13799 (test-xfail-POSIX/fcntl.h/conform): Add.
13800 (test-xfail-POSIX/signal.h/conform): Add.
13801 (test-xfail-POSIX/semaphore.h/conform): Add.
13802 (test-xfail-POSIX/regex.h/conform): Add.
13803 (test-xfail-POSIX/aio.h/conform): Add.
13804 (test-xfail-POSIX/mqueue.h/conform): Add.
13805 (test-xfail-POSIX/sys/types.h/conform): Add.
13806 (test-xfail-UNIX98/fcntl.h/conform): Add.
13807 (test-xfail-UNIX98/netdb.h/conform): Add.
13808 (test-xfail-UNIX98/signal.h/conform): Add.
13809 (test-xfail-UNIX98/semaphore.h/conform): Add.
13810 (test-xfail-UNIX98/regex.h/conform): Add.
13811 (test-xfail-UNIX98/aio.h/conform): Add.
13812 (test-xfail-UNIX98/ftw.h/conform): Add.
13813 (test-xfail-UNIX98/mqueue.h/conform): Add.
13814 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13815 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13816 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13817 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13818 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13819 (test-xfail-UNIX98/sys/types.h/conform): Add.
13820 (test-xfail-UNIX98/stdlib.h/conform): Add.
13821 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13822 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13823 (test-xfail-POSIX2008/netdb.h/conform): Add.
13824 (test-xfail-POSIX2008/signal.h/conform): Add.
13825 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13826 (test-xfail-POSIX2008/regex.h/conform): Add.
13827 (test-xfail-POSIX2008/aio.h/conform): Add.
13828 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13829 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13830 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13831 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13832 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13833 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13834 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13835 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13836 (test-xfail-XOPEN2K/signal.h/conform): Add.
13837 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13838 (test-xfail-XOPEN2K/regex.h/conform): Add.
13839 (test-xfail-XOPEN2K/aio.h/conform): Add.
13840 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13841 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13842 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13843 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13844 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13845 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13846 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13847 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13848 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13849 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13850 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13851 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13852 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13853 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13854 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13855 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13856 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13857 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13858 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13859 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13860 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13861 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13862 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13863 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13864 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13865 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
13866 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13868 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13869 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
13871 2018-04-18 Joseph Myers <joseph@codesourcery.com>
13873 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13874 --enable-obsolete for powerpc-linux-gnuspe.
13876 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13878 * conform/data/sys/un.h-data: Allow sun_ prefix.
13879 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
13881 * sysdeps/mach/include/mach.h: Likewise.
13882 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13883 * sysdeps/mach/include/mach_error.h: Likewise.
13885 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13887 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13888 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13889 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13890 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13892 2018-04-16 Andreas Schwab <schwab@suse.de>
13895 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13897 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13899 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13900 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13902 2018-04-12 DJ Delorie <dj@redhat.com>
13904 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13907 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13909 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13910 (struct kernel_sigaction): Use the same definition on 31bit as is used
13913 2018-04-09 Florian Weimer <fweimer@redhat.com>
13916 * resolv/res_send.c (send_dg): Use designated initializers instead
13917 of assignment to zero-initialize other fields of struct mmsghdr.
13919 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13921 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13922 __READDIR_ALIAS): Undefine after usage.
13923 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13924 __READDIR_R_ALIAS): Likewise.
13925 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13926 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13927 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13928 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13929 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13930 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13931 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13932 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13933 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13934 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13935 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13936 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13937 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13938 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13939 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13940 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13941 * sysdeps/unix/sysv/linux/readdir.c: New file.
13942 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13943 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13944 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13946 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13948 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13950 * manual/charset.texi (Converting a Character): Fix typo.
13952 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13956 * sysdeps/arm/libm-test-ulps: Update.
13958 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13959 as base implementation.
13960 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13961 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13962 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13963 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13964 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13965 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13966 remove unrequired definitions and update comments.
13967 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13968 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13969 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13970 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13971 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13972 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13973 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13974 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13975 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13976 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13977 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13978 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13979 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13980 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13981 and RESET_SA_RESTORER hooks.
13983 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13985 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13987 2018-04-05 Florian Weimer <fweimer@redhat.com>
13989 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13990 integer overflow, memory leak on error, and indeterminate errno
13991 value. Add a null wide character to terminate the result string.
13992 * manual/charset.texi (Converting a Character): Mention embedded
13993 null bytes in the mbrtowc input string. Explain what happens in
13994 the -2 result case. Do not claim that mbrtowc is simple or
13995 obvious to use. Adjust the description of the code example. Use
13996 @code, not @var, for concrete variables.
13998 2018-04-05 Florian Weimer <fweimer@redhat.com>
14000 * manual/examples/mbstouwcs.c: New file.
14001 * manual/charset.texi (Converting a Character): Include it.
14003 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14005 * include/dirent.h (dirfd): Add hidden proto.
14006 * dirent/dirfd.c (dirfd): Add hidden def.
14007 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14008 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
14010 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14012 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14013 sin, cos and sincos to 1 ULP.
14015 2018-04-04 Maciej W. Rozycki <macro@mips.com>
14018 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14020 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14021 * elf/tst-absolute-sym.c: New file.
14022 * elf/tst-absolute-sym-lib.c: New file.
14023 * elf/tst-absolute-sym-lib.lds: New file.
14024 * elf/Makefile (tests): Add `tst-absolute-sym'.
14025 (modules-names): Add `tst-absolute-sym-lib'.
14026 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14027 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14028 ($(objpfx)tst-absolute-sym): New dependency.
14031 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14033 (SYMBOL_ADDRESS): New macro.
14034 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14035 SYMBOL_ADDRESS for symbol address calculation.
14036 * elf/dl-runtime.c (_dl_fixup): Likewise.
14037 (_dl_profile_fixup): Likewise.
14038 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14039 * elf/rtld.c (dl_main): Likewise.
14040 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14041 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14042 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14043 (elf_machine_rela): Likewise.
14044 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14045 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14046 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14047 (elf_machine_rela): Likewise.
14048 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14049 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14050 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14051 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14053 (elf_machine_reloc): Likewise.
14054 (elf_machine_got_rel): Likewise.
14055 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14056 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14057 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14059 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14061 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14062 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14064 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14066 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14067 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14069 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14071 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14072 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14074 2018-04-04 Zack Weinberg <zackw@panix.com>
14076 * sysdeps/generic/internal-signals.h: Include signal.h,
14077 sigsetops.h, and stdbool.h.
14078 (__libc_signal_block_all): Actually block all signals.
14079 (__libc_signal_block_app): Likewise.
14080 (__libc_signal_restore_set): Actually restore the signal mask.
14082 2018-04-04 Florian Weimer <fweimer@redhat.com>
14084 inet: Actually build and run tst-deadline.
14085 * inet/Makefile (tests-internal): Add tst-deadline and do not
14086 overwrite the variable.
14087 (tests-static-internal): Remove variable.
14089 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14092 * bits/uio-ext.h (RWF_APPEND): New.
14093 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14094 * manual/llio.texi: Document RWF_APPEND.
14095 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14096 (RWF_SUPPORTED): Add RWF_APPEND.
14098 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14101 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14102 check for internal nptl signals.
14103 * nptl/sigaction.c (__sigaction): Likewise.
14104 * signal/sigaddset.c (sigaddset): Likewise.
14105 * signal/sigdelset.c (sigdelset): Likewise.
14106 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14107 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14109 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14110 to filter out internal nptl signals.
14111 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14112 also check realtime signals using standard macros.
14113 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14114 __is_internal_signal, __libc_signal_block_all,
14115 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14116 * sysdeps/nptl/sigfillset.c: Remove file.
14117 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14118 Change return to bool.
14119 (__clear_internal_signals): Remove SIGTIMER clean since it is
14120 equal to SIGCANEL on Linux.
14121 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14122 signal set was constructed using standard functions.
14124 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14126 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14127 ifname is too long.
14128 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14129 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
14130 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14132 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
14133 * signal/sigaddset.c: Include <sigsetopts.h>.
14134 * signal/sigdelset.c: Likewise.
14136 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14138 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14140 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14141 logic as sin and cos.
14143 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14145 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14146 inputs. Return correct sign.
14147 (do_sincos): Remove small input check before do_sin, let do_sin set
14152 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14154 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14155 (do_cos_slow): Likewise.
14156 (do_sin_slow): Likewise.
14157 (reduce_and_compute): Likewise.
14162 (sloww1): Likewise.
14163 (sloww2): Likewise.
14165 (bslow1): Likewise.
14166 (bslow2): Likewise.
14167 (cslow2): Likewise.
14169 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14171 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14172 (do_cos): Remove corp parameter and calculations.
14173 (do_sin): Likewise.
14174 (do_sincos): Remove cor variable.
14175 (__sin): Use do_sincos for huge inputs.
14177 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14178 (reduce_and_compute_sincos): Remove unused function.
14180 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14182 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14183 reduce_sincos, improve accuracy to 136 bits.
14184 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14185 (__sin): Use improved reduction and simplified do_sincos calculation.
14187 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14189 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14191 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14192 (do_sincos_2): Likewise.
14193 (__sin): Remove middle range reduction case.
14195 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14198 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14200 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14201 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14204 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14206 2018-04-03 Joseph Myers <joseph@codesourcery.com>
14208 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14211 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14213 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14214 Remove definitions.
14215 (opendir_oflags): Use O_DIRECTORY regardless.
14216 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14217 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14219 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14221 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14222 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14224 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14225 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14226 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14227 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
14228 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14229 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
14231 * htl/Makefile: Bump licence to LGPL 2.1+.
14232 * htl/alloca_cutoff.c: Likewise.
14233 * htl/cthreads-compat.c: Likewise.
14234 * htl/lockfile.c: Likewise.
14235 * htl/pt-alloc.c: Likewise.
14236 * htl/pt-cancel.c: Likewise.
14237 * htl/pt-cleanup.c: Likewise.
14238 * htl/pt-create.c: Likewise.
14239 * htl/pt-dealloc.c: Likewise.
14240 * htl/pt-detach.c: Likewise.
14241 * htl/pt-exit.c: Likewise.
14242 * htl/pt-getattr.c: Likewise.
14243 * htl/pt-initialize.c: Likewise.
14244 * htl/pt-internal.h: Likewise.
14245 * htl/pt-join.c: Likewise.
14246 * htl/pt-self.c: Likewise.
14247 * htl/pt-setcancelstate.c: Likewise.
14248 * htl/pt-setcanceltype.c: Likewise.
14249 * htl/pt-sigmask.c: Likewise.
14250 * htl/pt-spin-inlines.c: Likewise.
14251 * htl/pt-testcancel.c: Likewise.
14252 * htl/pt-yield.c: Likewise.
14253 * htl/tests/test-1.c: Likewise.
14254 * htl/tests/test-10.c: Likewise.
14255 * htl/tests/test-11.c: Likewise.
14256 * htl/tests/test-12.c: Likewise.
14257 * htl/tests/test-13.c: Likewise.
14258 * htl/tests/test-14.c: Likewise.
14259 * htl/tests/test-15.c: Likewise.
14260 * htl/tests/test-16.c: Likewise.
14261 * htl/tests/test-17.c: Likewise.
14262 * htl/tests/test-2.c: Likewise.
14263 * htl/tests/test-3.c: Likewise.
14264 * htl/tests/test-4.c: Likewise.
14265 * htl/tests/test-5.c: Likewise.
14266 * htl/tests/test-6.c: Likewise.
14267 * htl/tests/test-7.c: Likewise.
14268 * htl/tests/test-8.c: Likewise.
14269 * htl/tests/test-9.c: Likewise.
14270 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14271 * sysdeps/htl/bits/cancelation.h: Likewise.
14272 * sysdeps/htl/bits/pthread-np.h: Likewise.
14273 * sysdeps/htl/bits/pthread.h: Likewise.
14274 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14275 * sysdeps/htl/bits/semaphore.h: Likewise.
14276 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14277 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14278 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14279 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14280 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14281 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14282 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14283 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14284 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14285 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14286 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14287 * sysdeps/htl/old_pt-atfork.c: Likewise.
14288 * sysdeps/htl/pt-atfork.c: Likewise.
14289 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14290 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14291 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14292 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14293 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14294 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14295 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14296 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14297 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14298 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14299 * sysdeps/htl/pt-attr-init.c: Likewise.
14300 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14301 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14302 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14303 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14304 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14305 * sysdeps/htl/pt-attr-setscope.c: Likewise.
14306 * sysdeps/htl/pt-attr-setstack.c: Likewise.
14307 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
14308 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14309 * sysdeps/htl/pt-attr.c: Likewise.
14310 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14311 * sysdeps/htl/pt-barrier-init.c: Likewise.
14312 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14313 * sysdeps/htl/pt-barrier.c: Likewise.
14314 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14315 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14316 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14317 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
14318 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
14319 * sysdeps/htl/pt-cond-destroy.c: Likewise.
14320 * sysdeps/htl/pt-cond-init.c: Likewise.
14321 * sysdeps/htl/pt-cond-signal.c: Likewise.
14322 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
14323 * sysdeps/htl/pt-cond-wait.c: Likewise.
14324 * sysdeps/htl/pt-cond.c: Likewise.
14325 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
14326 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
14327 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
14328 * sysdeps/htl/pt-condattr-init.c: Likewise.
14329 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
14330 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
14331 * sysdeps/htl/pt-destroy-specific.c: Likewise.
14332 * sysdeps/htl/pt-equal.c: Likewise.
14333 * sysdeps/htl/pt-getconcurrency.c: Likewise.
14334 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
14335 * sysdeps/htl/pt-getschedparam.c: Likewise.
14336 * sysdeps/htl/pt-getspecific.c: Likewise.
14337 * sysdeps/htl/pt-init-specific.c: Likewise.
14338 * sysdeps/htl/pt-key-create.c: Likewise.
14339 * sysdeps/htl/pt-key-delete.c: Likewise.
14340 * sysdeps/htl/pt-key.h: Likewise.
14341 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
14342 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
14343 * sysdeps/htl/pt-mutex-init.c: Likewise.
14344 * sysdeps/htl/pt-mutex-lock.c: Likewise.
14345 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
14346 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
14347 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
14348 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
14349 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
14350 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
14351 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
14352 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
14353 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
14354 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
14355 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14356 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14357 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14358 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14359 * sysdeps/htl/pt-mutexattr.c: Likewise.
14360 * sysdeps/htl/pt-once.c: Likewise.
14361 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14362 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14363 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14364 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14365 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14366 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14367 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14368 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14369 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14370 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14371 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14372 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14373 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14374 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14375 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14376 * sysdeps/htl/pt-setschedparam.c: Likewise.
14377 * sysdeps/htl/pt-setschedprio.c: Likewise.
14378 * sysdeps/htl/pt-setspecific.c: Likewise.
14379 * sysdeps/htl/pt-spin.c: Likewise.
14380 * sysdeps/htl/pt-startup.c: Likewise.
14381 * sysdeps/htl/pthread.h: Likewise.
14382 * sysdeps/htl/sem-close.c: Likewise.
14383 * sysdeps/htl/sem-destroy.c: Likewise.
14384 * sysdeps/htl/sem-getvalue.c: Likewise.
14385 * sysdeps/htl/sem-init.c: Likewise.
14386 * sysdeps/htl/sem-open.c: Likewise.
14387 * sysdeps/htl/sem-post.c: Likewise.
14388 * sysdeps/htl/sem-timedwait.c: Likewise.
14389 * sysdeps/htl/sem-trywait.c: Likewise.
14390 * sysdeps/htl/sem-unlink.c: Likewise.
14391 * sysdeps/htl/sem-wait.c: Likewise.
14392 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14393 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14394 * sysdeps/mach/htl/pt-block.c: Likewise.
14395 * sysdeps/mach/htl/pt-spin.c: Likewise.
14396 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14397 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14398 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14399 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14400 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14401 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14402 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14403 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14404 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14405 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14406 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14407 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14408 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14409 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14410 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14411 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14412 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14413 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14414 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14415 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14416 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14417 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14418 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14419 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14420 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14421 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14422 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14423 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14424 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14425 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14426 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14427 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14428 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14429 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14430 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14431 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14432 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14433 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14434 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14435 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14436 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14437 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14438 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14440 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14441 * README: Remove the mention of out-of-tree patches needed for
14444 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14445 (UTIME_NOW, UTIME_OMIT): Define macros.
14447 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14448 instead of pthread_detach.
14449 (__cthread_fork): Call __pthread_create instead of pthread_create.
14450 (__cthread_keycreate): Call __pthread_key_create instead of
14451 pthread_key_create.
14452 (__cthread_getspecific): Call __pthread_getspecific instead of
14453 pthread_getspecific.
14454 (__cthread_setspecific): Call __pthread_setspecific instead of
14455 pthread_setspecific.
14456 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14457 __pthread_mutex_unlock instead of pthread_mutex_lock and
14458 pthread_mutex_unlock.
14459 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14460 ___pthread_get_cleanup_stack.
14461 (__pthread_get_cleanup_stack): New strong alias.
14462 * htl/pt-create.c: Include <pthreadP.h>.
14463 (entry_point): Call __pthread_exit instead of pthread_exit.
14464 (pthread_create): Rename to __pthread_create.
14465 (pthread_create): New strong alias.
14466 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14467 (pthread_detach): New strong alias.
14468 (__pthread_detach): Call __pthread_cond_broadcast instead of
14469 pthread_cond_broadcast.
14470 * htl/pt-exit.c: Include <pthreadP.h>.
14471 (__pthread_exit): Call __pthread_setcancelstate and
14472 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14473 __pthread_get_cleanup_stack.
14474 * htl/pt-testcancel.c: Include <pthreadP.h>.
14475 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14476 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14477 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14478 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14479 pthread_attr_getstacksize.
14480 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14481 Rename to __pthread_attr_getstackaddr.
14482 (pthread_attr_getstackaddr): New strong alias.
14483 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14484 Rename to __pthread_attr_getstacksize.
14485 (pthread_attr_getstacksize): New strong alias.
14486 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14487 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14488 (pthread_attr_setstack): New strong alias.
14489 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14490 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14491 pthread_attr_getstacksize, pthread_attr_setstacksize and
14492 pthread_attr_setstackaddr.
14493 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14494 Rename to __pthread_attr_setstackaddr.
14495 (pthread_attr_setstackaddr): New strong alias.
14496 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14497 Rename to __pthread_attr_setstacksize.
14498 (pthread_attr_setstacksize): New strong alias.
14499 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14500 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14502 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14503 (__pthread_key_create): New hidden def.
14504 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14505 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14506 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14507 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14508 __pthread_setspecific, __pthread_setcancelstate,
14509 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14510 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14511 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14513 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14514 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14515 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14516 (pthread_attr_setstackaddr): New strong alias.
14517 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14518 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14519 (pthread_attr_setstacksize): New strong alias.
14520 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14521 (call_exit): Call __pthread_exit instead of pthread_exit.
14522 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14523 (_pthread_mutex_init): New hidden definition.
14524 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14525 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14526 instead of pthread_attr_init and pthread_attr_setstack.
14528 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14529 __vm_deallocate instead of vm_allocate and vm_deallocate.
14530 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14532 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14534 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14536 * hurd/siginfo.c: Include <libioP.h>.
14537 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14538 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14540 * mach/devstream.c: Include <libioP.h>.
14541 (dealloc_ref): Call __mach_port_deallocate instead of
14542 mach_port_deallocate.
14543 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14544 Call __mach_port_deallocate instead of mach_port_deallocate.
14545 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14547 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14549 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14550 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14551 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14553 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14555 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14556 instead of sysconf.
14557 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14558 __clock_gettime instead of clock_gettime.
14559 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14560 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14561 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14562 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14563 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14565 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14566 __clock_gettime and __nanosleep instead of clock_gettime and
14568 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14569 __hurd_catch_signal.
14570 (hurd_catch_signal): New strong alias.
14571 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14572 __hurd_catch_signal instead of hurd_catch_signal.
14573 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14574 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14575 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14576 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14577 (_hurd_thread_sigstate): Add hidden def.
14578 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14580 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14581 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14582 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14583 __hurd_file_name_path_lookup.
14584 (hurd_file_name_path_lookup): New strong alias.
14585 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14586 hurd_file_name_path_lookup.
14587 * mach/errstring.c (mach_error_type): Add hidden def.
14588 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14589 * mach/mutex-init.c (__mutex_init): Add hidden def.
14590 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14591 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14592 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14593 * sysdeps/mach/hurd/getcwd.c
14594 (_hurd_canonicalize_directory_name_internal): Rename to
14595 __hurd_canonicalize_directory_name_internal.
14596 (_hurd_canonicalize_directory_name_internal): New strong alias.
14597 (__canonicalize_directory_name_internal, __getcwd): Call
14598 __hurd_canonicalize_directory_name_internal instead of
14599 _hurd_canonicalize_directory_name_internal.
14600 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14601 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14603 * sysdeps/hurd/include/hurd.h: New file.
14604 * sysdeps/hurd/include/hurd/fd.h: New file.
14605 * sysdeps/hurd/include/hurd/signal.h: New file.
14606 * sysdeps/mach/include/lock-intern.h: New file.
14607 * sysdeps/mach/include/mach.h: New file.
14608 * sysdeps/mach/include/mach/mig_support.h: New file.
14609 * sysdeps/mach/include/mach_error.h: New file.
14610 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14612 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14613 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14614 _HEADER_H_HIDDEN_DEF macro.
14615 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14616 _hurd_fd_error_signal): Add hidden prototype.
14617 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14619 * libio/iolibio.h (_IO_puts): New hidden prototype.
14620 * libio/ioputs.c (_IO_puts): New hidden def.
14621 * sysdeps/mach/hurd/localplt.data: New file.
14623 2018-04-02 Agustina Arzille <avarzille@riseup.net>
14624 Amos Jeffries <squid3@treenet.co.nz>
14625 David Michael <fedora.dm0@gmail.com>
14626 Marco Gerards <marco@gnu.org>
14627 Marcus Brinkmann <marcus@gnu.org>
14628 Neal H. Walfield <neal@gnu.org>
14629 Pino Toscano <toscano.pino@tiscali.it>
14630 Richard Braun <rbraun@sceen.net>
14631 Roland McGrath <roland@gnu.org>
14632 Samuel Thibault <samuel.thibault@ens-lyon.org>
14633 Thomas DiModica <ricinwich@yahoo.com>
14634 Thomas Schwinge <tschwinge@gnu.org>
14636 * htl: New directory.
14637 * sysdeps/htl: New directory.
14638 * sysdeps/hurd/htl: New directory.
14639 * sysdeps/i386/htl: New directory.
14640 * sysdeps/mach/htl: New directory.
14641 * sysdeps/mach/hurd/htl: New directory.
14642 * sysdeps/mach/hurd/i386/htl: New directory.
14643 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14644 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14645 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14647 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14649 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14650 signals in thread created for runing timers.
14652 2018-04-01 Florian Weimer <fweimer@redhat.com>
14654 * support/support_format_addrinfo.c (support_format_addrinfo):
14655 Include unknown error number in formatted result.
14657 2018-03-29 Florian Weimer <fweimer@redhat.com>
14659 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14662 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14664 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14665 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14666 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14667 (__ASSUME_CLONE_BACKWARDS): Define.
14669 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14672 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14673 early when linux sentinel value is set.
14675 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14677 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14679 2018-03-27 Andreas Schwab <schwab@suse.de>
14682 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14683 allocation of private copy of nsaddr_list fails.
14685 2018-03-26 Joseph Myers <joseph@codesourcery.com>
14688 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14689 * sysdeps/unix/sysv/linux/umount.c: ... here.
14690 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14691 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14692 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14693 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14695 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14696 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14698 2018-03-26 Andreas Schwab <schwab@suse.de>
14700 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14701 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14702 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14703 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14704 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14705 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14706 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14707 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14708 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14709 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14710 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14711 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14712 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14713 (R_RISCV_NUM): Define.
14715 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14717 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14718 TLS declaration of errno.
14719 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14721 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14722 (ARCH_SETUP_TLS): Likewise.
14723 * sysdeps/mach/hurd/libc-start.h: New file copied from
14724 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
14725 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14726 instead of __libc_setup_tls.
14727 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
14728 __libc_setup_tls before initializing libpthread and running _hurd_init
14729 which starts the signal thread.
14730 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14732 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14734 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14737 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14738 after it is defined.
14740 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14741 Max Horn <max@quendi.de>
14745 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14747 * string/test-memmove.c (do_test2): New testcase.
14749 2018-03-22 Joseph Myers <joseph@codesourcery.com>
14751 * sysdeps/generic/frame.h: Remove file.
14752 * sysdeps/arm/frame.h: Likewise.
14753 * sysdeps/hppa/frame.h: Likewise.
14754 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14756 (GET_FRAME): Likewise.
14757 (GET_STACK): Likewise.
14758 (CALL_SIGHANDLER): Likewise.
14759 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14761 (GET_FRAME): Likewise.
14762 (GET_STACK): Likewise.
14763 (CALL_SIGHANDLER): Likewise.
14764 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14765 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14766 (GET_FRAME): Likewise.
14767 (GET_STACK): Likewise.
14768 (CALL_SIGHANDLER): Likewise.
14769 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14770 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14771 (GET_FRAME): Likewise.
14772 (GET_STACK): Likewise.
14773 (ADVANCE_STACK_FRAME): Likewise.
14774 (CALL_SIGHANDLER): Likewise.
14775 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14776 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14777 (GET_FRAME): Likewise.
14778 (GET_STACK): Likewise.
14779 (CALL_SIGHANDLER): Likewise.
14780 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14781 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14782 (GET_FRAME): Likewise.
14783 (GET_STACK): Likewise.
14784 (CALL_SIGHANDLER): Likewise.
14785 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14786 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14787 (GET_FRAME): Likewise.
14788 (GET_STACK): Likewise.
14789 (CALL_SIGHANDLER): Likewise.
14790 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14791 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14792 (GET_FRAME): Likewise.
14793 (GET_STACK): Likewise.
14794 (CALL_SIGHANDLER): Likewise.
14795 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14796 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14797 (GET_FRAME): Likewise.
14798 (GET_STACK): Likewise.
14799 (CALL_SIGHANDLER): Likewise.
14800 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14801 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14802 (GET_FRAME): Likewise.
14803 (GET_STACK): Likewise.
14804 (CALL_SIGHANDLER): Likewise.
14805 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14806 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14807 (GET_FRAME): Likewise.
14808 (GET_STACK): Likewise.
14809 (CALL_SIGHANDLER): Likewise.
14810 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14811 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14812 (GET_FRAME): Likewise.
14813 (GET_STACK): Likewise.
14814 (CALL_SIGHANDLER): Likewise.
14815 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14816 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14817 (GET_FRAME): Likewise.
14818 (GET_STACK): Likewise.
14819 (CALL_SIGHANDLER): Likewise.
14820 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14821 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14822 (FIRST_FRAME_POINTER): Likewise.
14823 (ADVANCE_STACK_FRAME): Likewise.
14824 (GET_STACK): Likewise.
14825 (GET_FRAME): Likewise.
14826 (CALL_SIGHANDLER): Likewise.
14827 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14828 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14829 (ADVANCE_STACK_FRAME): Likewise.
14830 (GET_STACK): Likewise.
14831 (GET_FRAME): Likewise.
14832 (CALL_SIGHANDLER): Likewise.
14833 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14834 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14835 (GET_FRAME): Likewise.
14836 (GET_STACK): Likewise.
14837 (CALL_SIGHANDLER): Likewise.
14838 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14839 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14840 (GET_FRAME): Likewise.
14841 (GET_STACK): Likewise.
14842 (CALL_SIGHANDLER): Likewise.
14844 2018-03-21 Joseph Myers <joseph@codesourcery.com>
14846 * sysdeps/x86_64/backtrace.c: Move to ....
14847 * debug/backtrace.c: ... here.
14848 * sysdeps/aarch64/backtrace.c: Remove file.
14849 * sysdeps/alpha/backtrace.c: Likewise.
14850 * sysdeps/hppa/backtrace.c: Likewise.
14851 * sysdeps/ia64/backtrace.c: Likewise.
14852 * sysdeps/mips/backtrace.c: Likewise.
14853 * sysdeps/nios2/backtrace.c: Likewise.
14854 * sysdeps/riscv/backtrace.c: Likewise.
14855 * sysdeps/sh/backtrace.c: Likewise.
14856 * sysdeps/tile/backtrace.c: Likewise.
14858 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14861 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14864 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14867 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14868 possibly overflowing computations.
14870 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14872 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14873 values from Linux-specific section now that it is in the GNU section.
14874 * sysdeps/gnu/errlist.c: Regenerate.
14876 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14878 * math/Makefile (libm-narrow-fns): Add sub.
14879 (libm-test-funcs-narrow): Likewise.
14880 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14881 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14882 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14883 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14884 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14885 (NARROW_SUB_TRIVIAL): Likewise.
14886 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14888 (__dsubl): Likewise.
14889 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14891 (CFLAGS-nldbl-dsub.c): New variable.
14892 (CFLAGS-nldbl-fsub.c): Likewise.
14893 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14895 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14897 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14898 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14899 * math/auto-libm-test-in: Add tests of sub.
14900 * math/auto-libm-test-out-narrow-sub: New generated file.
14901 * math/libm-test-narrow-sub.inc: New file.
14902 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14903 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14904 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14905 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14906 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14907 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14908 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14909 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14910 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14911 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14912 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14913 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14914 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14915 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14916 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14917 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14918 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14919 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14921 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14922 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14923 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14924 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14925 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14926 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14927 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14928 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14929 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14930 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14931 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14932 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14933 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14938 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14939 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14940 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14941 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14942 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14943 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14944 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14945 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14946 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14947 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14949 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14952 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14954 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14956 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14958 2018-03-18 Richard Braun <rbraun@sceen.net>
14960 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14963 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14965 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14966 (__libc_cleanup_fct): Define function.
14967 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14968 __libc_cleanup_end): Rewrite implementation using
14969 __attribute__ ((__cleanup__)).
14970 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14971 * hurd/Makefile (routines): Add hurdlock.
14972 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14974 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14975 * hurd/hurdpid.c: Include <lowlevellock.h>
14976 (_S_msg_proc_newids): Use lll_wait to synchronize.
14977 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14978 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14979 * mach/Makefile (lock-headers): Remove machine-lock.h.
14980 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14982 (__spin_lock_t): New type.
14983 (__SPIN_LOCK_INITIALIZER): New macro.
14984 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14985 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14986 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14987 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14988 (__mutex_init): Initialize with lll.
14989 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14990 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14992 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14993 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14994 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14995 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14996 (__setpgid): Use lll for synchronization.
14997 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14998 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14999 instead of <cthreads.h>.
15000 (_IO_lock_inexpensive): New macro
15001 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15002 (__libc_lock_self0): New declaration.
15003 (__libc_lock_owner_self): New macro.
15004 (__libc_key_t): Remove type.
15005 (_LIBC_LOCK_INITIALIZER): New macro.
15006 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15007 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15008 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15009 __libc_lock_define_initialized_recursive,
15010 __rtld_lock_define_initialized_recursive,
15011 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15012 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15013 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15014 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15015 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15016 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15017 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15019 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15020 * hurd/hurdlock.c: New file.
15021 * hurd/hurdlock.h: New file.
15022 * mach/lowlevellock.h: New file
15024 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15026 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
15027 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15028 when opening a symlink with O_NOFOLLOW.
15029 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15030 path when flags contains O_NOFOLLOW.
15031 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15032 if flags contains O_DIRECTORY and the result is a directory.
15033 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15034 oneself when the pointer given in D is nul (as set by ext2fs).
15035 * sysdeps/mach/hurd/mlockall.c: New file.
15036 * sysdeps/mach/hurd/munlockall.c: New file.
15038 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15040 * hurd/hurdsig.c: Include <pthread.h>.
15041 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15042 get the signal thread stack layout.
15043 * hurd/Makefile (headers): Remove threadvar.h.
15044 (inline-headers): Remove threadvar.h.
15045 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15046 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15047 __hurd_threadvar_max, __hurd_errno_location.
15048 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15049 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15050 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15051 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15052 unless TLS is not initialized yet, in which case we do not need a
15053 critical section yet anyway.
15054 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15056 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15058 (__hurd_threadvar_index): Remove enum.
15059 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15060 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15062 (__hurd_reply_port0): New variable declaration.
15063 (__hurd_local_reply_port): New macro.
15064 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15065 (interrupted_reply_port_location): Add thread_t parameter. Use it
15066 with THREAD_TCB to access thread-local variables.
15067 (_hurdsig_abort_rpcs): Pass ss->thread to
15068 interrupted_reply_port_location.
15069 (_hurd_internal_post_signal): Likewise.
15070 (_hurdsig_init): Use presence of cthread_fork instead of
15071 __hurd_threadvar_stack_mask to start signal thread by hand.
15072 Remove signal thread threadvar initialization.
15073 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15074 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15075 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15077 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15079 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15080 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15081 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15082 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15083 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15084 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15085 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15087 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15088 <hurd/threadvar.h>.
15089 [IS_IN(rtld)] (rtld_errno): New variable.
15090 [IS_IN(rtld)] (__errno_location): New weak function.
15091 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15092 * sysdeps/mach/hurd/errno.c: Remove file.
15093 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15094 (__fork): Remove THREADVAR_SPACE macro and its use.
15095 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15097 (init): Do not initialize threadvar.
15098 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15100 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15101 __hurd_local_reply_port instead of threadvar.
15102 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15103 _hurd_sigstate fields.
15104 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15105 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15106 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15107 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15108 instead of threadvar.
15109 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15110 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15111 (use_threadvar, global_reply_port): Remove variables.
15112 (__hurd_reply_port0): New variable.
15113 (__mig_get_reply_port): Use __hurd_local_reply_port and
15114 __hurd_reply_port0 instead of threadvar.
15115 (__mig_dealloc_reply_port): Likewise.
15116 (__mig_init): Do not initialize threadvar.
15117 * sysdeps/mach/hurd/profil.c: Fix comment.
15118 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15119 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15120 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15121 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15122 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15123 __cthread_setspecific.
15124 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15125 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15126 __cthread_t instead of cthread_fork, cthread_detach,
15127 pthread_getattr_np, pthread_attr_getstack.
15128 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15129 __cthread_keycreate.
15130 (cthread_getspecific): Rename to __cthread_getspecific.
15131 (cthread_setspecific): Rename to __cthread_setspecific.
15132 (__libc_getspecific): Use __cthread_getspecific instead of
15133 cthread_getspecific.
15134 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15135 __cthread_keycreate instead of cthread_keycreate.
15136 (__libc_setspecific): Use __cthread_setspecific instead of
15137 cthread_setspecific.
15138 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15141 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15142 testing whether it is defined.
15144 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15146 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15148 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15149 * sysdeps/mach/i386/thread_state.h
15150 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15152 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15154 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15156 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15157 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15159 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15161 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15162 descriptor instead of creating a new one.
15163 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15165 * mach/setup-thread.c: Include <ldsodefs.h>.
15166 (__mach_setup_thread): Call _dl_allocate_tls, pass
15167 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15168 MACHINE_THREAD_STATE_FLAVOR, before getting
15169 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15170 MACHINE_THREAD_STATE_FLAVOR with the result.
15171 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15172 MACHINE_THREAD_STATE_FIX_NEW.
15173 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15174 too. Add original thread parameter.
15176 2018-03-16 Joseph Myers <joseph@codesourcery.com>
15178 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15179 Remove inline function.
15181 * sysdeps/i386/fpu/libm-test-ulps: Update.
15182 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15184 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15186 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15189 2018-03-15 Joseph Myers <joseph@codesourcery.com>
15191 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15192 (__sincos_code): Remove define and undefine.
15193 [__FAST_MATH__] (__sincos): Remove inline function.
15194 [__FAST_MATH__] (__sincosf): Remove inline function.
15195 [__FAST_MATH__] (__sincosl): Remove inline function.
15196 (__atan2l): Remove inline functions.
15197 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15198 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15200 (floor): Remove inline function.
15202 [__FAST_MATH__] (__ldexp_code): Remove macro.
15203 [__FAST_MATH__] (ldexp): Remove inline function.
15204 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15205 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15206 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15207 [__USE_ISOC99] (__lrint_code): Remove macro.
15208 [__USE_ISOC99] (__llrint_code): Likewise.
15209 [__USE_ISOC99] (lrintf): Remove inline function.
15210 [__USE_ISOC99] (lrint): Likewise.
15211 [__USE_ISOC99] (lrintl): Likewise.
15212 [__USE_ISOC99] (llrint): Likewise.
15213 [__USE_ISOC99] (llrintf): Likewise.
15214 [__USE_ISOC99] (llrintl): Likewise.
15216 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15218 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15219 (__ieee754_sqrtf): Remove.
15220 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15221 (__ieee754_sqrtf): Remove.
15222 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15223 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15224 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15225 (__ieee754_sqrtf): Remove.
15226 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15227 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15230 (__ieee754_sqrt): Remove.
15231 (__ieee754_sqrtf): Remove.
15232 (__ieee754_sqrtl): Remove.
15233 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15234 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
15235 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
15236 (__ieee754_sqrtf): Remove.
15237 (__ieee754_sqrtl): Remove.
15239 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15241 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
15242 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15243 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15244 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
15245 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
15246 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15247 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15248 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15250 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15251 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15252 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15253 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15254 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15255 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15256 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15257 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15258 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15259 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15260 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15261 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15262 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15263 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15264 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15265 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15266 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15267 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15268 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15269 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15270 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15271 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15272 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15273 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15274 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15275 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15276 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15277 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15278 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15279 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15280 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15281 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15282 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15283 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15284 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15285 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15286 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15287 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15288 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15289 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15291 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15293 * include/math.h (sqrt): Declare with asm redirect.
15296 (sqrtf128): Likewise.
15297 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15298 nonlib and libnldbl with -fmath-errno.
15299 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15300 * math/w_sqrt_template.c: Likewise.
15301 * math/w_sqrtf_compat.c: Likewise.
15302 * math/w_sqrtl_compat.c: Likewise.
15303 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15304 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15305 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
15308 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15310 * benchtests/Makefile: Define _ISOMAC.
15311 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15312 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15313 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15314 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15315 * benchtests/bench-timing.h: Define attribute_hidden.
15317 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
15319 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
15322 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15325 * localedata/locales/cs_CZ (mon): Rename to...
15327 (mon): Import from CLDR (genitive case).
15329 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15332 * localedata/locales/el_CY (abmon): Rename to...
15333 (ab_alt_mon): This.
15334 (abmon): Import from CLDR (abbreviated genitive case).
15335 * localedata/locales/el_GR (abmon): Rename to...
15336 (ab_alt_mon): This.
15337 (abmon): Import from CLDR (abbreviated genitive case).
15339 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15342 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
15344 2018-03-15 Robert Buj <robert.buj@gmail.com>
15347 * localedata/locales/ca_ES (abmon): Rename to...
15348 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15349 (mon): Rename to...
15351 (abmon): Import from CLDR (genitive case, month names preceded by
15354 (abday): Synchronize with CLDR.
15355 (d_t_fmt): Likewise.
15359 (LC_TIME): Improve indentation.
15360 (LC_TELEPHONE): Likewise.
15361 (LC_NAME): Likewise.
15362 (LC_ADDRESS): Likewise.
15364 2018-03-14 Joseph Myers <joseph@codesourcery.com>
15366 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15367 (lrintf): Remove definitions used only with old GCC.
15368 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15369 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15370 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15371 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15372 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15373 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15374 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15375 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15376 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15377 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15378 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15379 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15380 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15381 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15382 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15383 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15384 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15385 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15386 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15387 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15388 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15389 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15390 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15391 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15392 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15393 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15394 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15395 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15397 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15399 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15400 instruction to unbreak builds with binutils 2.26 and older.
15402 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15404 * sysdeps/aarch64/strncmp.S (count): New macro.
15405 (strncmp): Store misaligned length in SRC1 in COUNT.
15406 (mutual_align): Adjust.
15407 (misaligned8): Load dword at a time when it is safe.
15409 2018-03-12 Zack Weinberg <zackw@panix.com>
15413 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15414 if the _IO_EOF_SEEN bit is already set; update commentary.
15415 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15416 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15418 * support/support_openpty.c, support/tty.h: New files.
15419 * support/Makefile (libsupport-routines): Add support_openpty.
15421 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15423 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15424 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15426 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15428 * po/pt_BR.po: Update translations.
15430 2018-03-12 David Michael <fedora.dm0@gmail.com>
15432 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15433 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15434 get a port to the startup server.
15436 2018-03-11 Zack Weinberg <zackw@panix.com>
15438 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15439 before nldbl-compat.h.
15441 2018-03-10 Zack Weinberg <zackw@panix.com>
15443 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15444 math.h or math_private.h.
15446 * sysdeps/alpha/fpu/s_isnan.c
15447 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15448 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15449 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15450 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15451 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15452 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15453 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15454 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15455 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15458 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15459 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15460 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15461 Include math_private.h.
15463 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15464 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15465 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15466 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15467 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15468 * sysdeps/powerpc/power7/fpu/s_logb.c:
15469 Include math.h and math_private.h.
15471 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15472 uses of $at in .set noat / .set at.
15474 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15476 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15477 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15478 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15479 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15482 2018-03-09 Florian Weimer <fweimer@redhat.com>
15484 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15487 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15490 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15491 Add nop before __startcontext, add explaining comments.
15493 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15496 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15498 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15499 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15500 Do not build hardware transactional code for __SPE__.
15501 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15502 (__lll_trylock_elision): Likewise.
15503 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15504 (__lll_unlock_elision): Likewise.
15506 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
15507 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15508 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15509 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15510 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15511 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15512 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15513 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15514 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15515 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15516 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15517 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15518 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15519 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15520 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15521 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15522 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15523 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15524 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15525 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15526 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15527 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15528 (__ASSUME_CLONE_BACKWARDS): Define.
15529 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15530 __clone2 if __NR_clone2 is defined.
15531 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15532 (__ASSUME_CLONE_BACKWARDS): Likewise.
15533 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15534 (__ASSUME_CLONE_BACKWARDS): Likewise.
15535 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15536 (__ASSUME_CLONE2): Likewise.
15537 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15538 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15539 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15540 variants and the define architecture can use.
15541 (__ASSUME_CLONE_DEFAULT): Define as default.
15542 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15543 (__ASSUME_CLONE_BACKWARDS): Likewise.
15544 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15545 (__ASSUME_CLONE_BACKWARDS): Likewise.
15546 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15547 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15549 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15551 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15553 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15556 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15557 (do_test_limit): Likewise.
15559 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15560 for every implementation.
15561 (do_test): Likewise.
15563 * benchtests/bench-strncmp.c: Convert output to json.
15565 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15567 * io/futimens.c: Add missing start-of-file descriptive comment.
15568 * io/utime.c: Likewise.
15569 * misc/futimesat.c: Likewise.
15570 * misc/utimes.c: Likewise.
15571 * sysdeps/mach/hurd/futimesat.c: Likewise.
15572 * sysdeps/mach/hurd/utimes.c: Likewise.
15573 * sysdeps/posix/utime.c: Likewise.
15574 * sysdeps/posix/utimes.c: Likewise.
15575 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15576 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15577 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15578 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15580 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15582 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15584 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15585 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15586 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15587 (__futimens): Move implementation to...
15588 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15589 utime_tvalue_from_tspec): ... new helper functions.
15590 (hurd_futimens): New function.
15591 * sysdeps/mach/hurd/futimesat.c: New file.
15592 * sysdeps/mach/hurd/utimensat.c: New file.
15594 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15596 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15597 UTIME_OMIT): New macros.
15598 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15599 before reverting to converting time spec to time value and calling
15601 * sysdeps/mach/hurd/utime-helper.c: New file.
15602 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15603 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15604 reverting to utime_tvalue_from_tval and __file_utimes.
15605 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15606 (__lutimes): Just call hurd_futimens after lookup.
15607 * sysdeps/mach/hurd/utimes.c: Likewise.
15609 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15611 * bits/sigaction.h: Add include guard.
15612 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15613 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15614 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15615 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15616 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15617 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15618 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15619 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15620 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15622 2018-03-05 Joseph Myers <joseph@codesourcery.com>
15624 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15625 -Wmaybe-uninitialized for -Os.
15626 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15629 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15631 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15632 __INO_T_MATCHES_INO64_T is defined.
15633 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15634 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15636 * dirent/alphasort64.c: Likewise.
15637 * dirent/scandir.c: Likewise.
15638 * dirent/scandir64-tail.c: Likewise.
15639 * dirent/scandir64.c: Likewise.
15640 * dirent/scandirat.c: Likewise.
15641 * dirent/scandirat64.c: Likewise.
15642 * dirent/versionsort.c: Likewise.
15643 * dirent/versionsort64.c: Likewise.
15644 * include/dirent.h: Likewise.
15646 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15647 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15648 for socketpair endpoint.
15649 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15650 WRITE_BUFFER_SIZE as buffer size for sending socket.
15651 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15652 issue on system where send is implemented with sendto syscall.
15653 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15654 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15655 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15656 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15659 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15660 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15661 sa_restorer for vDSO case.
15662 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15664 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15666 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
15667 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15668 * hurd/hurd/ioctl.h: Include <mach/port.h>
15669 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
15670 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15671 <mach/mach_types.h> and <mach/message.h>.
15672 (headers): Move mach/param.h to bits/mach/param.h.
15673 * sysdeps/mach/i386/mach/param.h: Move file to ...
15674 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15675 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15677 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15678 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15679 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
15680 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15681 trivial, for C++ conformity.
15682 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
15683 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15684 Process mig output through $(migheadersed).
15685 * hurd/Makefile (migheadersed): Define variable.
15686 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15687 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15689 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15690 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15691 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15692 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15693 <bits/types/sigset_t.h>.
15694 [!defined __USE_GNU]: Do not #error out.
15695 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15696 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15697 Include <stddef.h> and <bits/types/sigset_t.h>
15698 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15699 instead of sighandler_t.
15700 * stdlib/errno.h (error_t): Move definition to...
15701 * bits/types/error_t.h: ... new header.
15702 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15703 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15704 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15705 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15706 * hurd/hurd.h: Include <bits/types/error_t.h>
15707 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15708 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15709 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15710 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15711 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15712 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15713 * sysdeps/mach/hurd/futimens.c: New file.
15715 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15718 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15719 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15720 * nscd/gai.c (__nss_hosts_database): Readd definition.
15721 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15722 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15723 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15725 2018-03-02 Joseph Myers <joseph@codesourcery.com>
15727 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15728 (ifunc_one): Likewise.
15730 2018-03-01 DJ Delorie <dj@delorie.com>
15733 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15736 2018-03-01 Maciej W. Rozycki <macro@mips.com>
15738 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15739 `match_pid' parameter.
15740 (td_ta_thr_iter): Update accordingly.
15742 2018-03-01 Florian Weimer <fweimer@redhat.com>
15744 * nptl/Makefile (install-lib-ldscripts): Remove.
15745 (install): Remove rule.
15746 ($(inst_libdir)/libpthread.so): Likewise.
15748 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15751 * localedata/locales/an_ES: update month and day names,
15752 improve d_fmt, improve postal_fmt, add country_post,
15755 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15757 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15758 Ukrainian instead of Bulgarian.
15760 2018-03-01 Florian Weimer <fweimer@redhat.com>
15762 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15765 2018-03-01 Florian Weimer <fweimer@redhat.com>
15767 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15768 * nptl/Makefile (routines): Add pthread_atfork.
15769 (static-only-routines): Set to pthread_atfork.
15770 (libpthread-routines): Remove pthread_atfork.
15771 (libpthread-static-only-routines): Remove.
15772 (install): Update comment.
15773 (libpthread.so): Do not install libpthread_nonshared.a.
15774 (tests): Do not link with libpthread_nonshared.a.
15775 (generated): Remove libpthread_nonshared.a.
15776 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15777 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15778 with libpthread_nonshared.a.
15780 2018-02-28 Joseph Myers <joseph@codesourcery.com>
15783 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15784 (libc_feholdexcept_setroundf128): New macro.
15785 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15788 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15790 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15791 * include/inttypes.h: New file.
15793 2018-02-27 Joseph Myers <joseph@codesourcery.com>
15795 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15796 -Os in two more places.
15798 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15800 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15801 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15802 be sorted correctly at the moment because of a bug.
15804 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15806 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15807 treat ñ as a primary different character, sync the collation
15808 for Spanish with CLDR.
15809 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15810 * localedata/Makefile: Add new test files.
15811 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15812 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15814 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15815 * localedata/am_ET.UTF-8.in: New test file.
15816 * localedata/az_AZ.UTF-8.in: Likewise.
15817 * localedata/be_BY.UTF-8.in: Likewise.
15818 * localedata/ber_DZ.UTF-8.in: Likewise.
15819 * localedata/ber_MA.UTF-8.in: Likewise.
15820 * localedata/bg_BG.UTF-8.in: Likewise.
15821 * localedata/br_FR.UTF-8.in: Likewise.
15822 * localedata/cmn_TW.UTF-8.in: Likewise.
15823 * localedata/crh_UA.UTF-8.in: Likewise.
15824 * localedata/csb_PL.UTF-8.in: Likewise.
15825 * localedata/cv_RU.UTF-8.in: Likewise.
15826 * localedata/cy_GB.UTF-8.in: Likewise.
15827 * localedata/dz_BT.UTF-8.in: Likewise.
15828 * localedata/eo.UTF-8.in: Likewise.
15829 * localedata/es_ES.UTF-8.in: Likewise.
15830 * localedata/fa_IR.UTF-8.in: Likewise.
15831 * localedata/fi_FI.UTF-8.in: Likewise.
15832 * localedata/fil_PH.UTF-8.in: Likewise.
15833 * localedata/fur_IT.UTF-8.in: Likewise.
15834 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15835 * localedata/ha_NG.UTF-8.in: Likewise.
15836 * localedata/ig_NG.UTF-8.in: Likewise.
15837 * localedata/ik_CA.UTF-8.in: Likewise.
15838 * localedata/kk_KZ.UTF-8.in: Likewise.
15839 * localedata/ku_TR.UTF-8.in: Likewise.
15840 * localedata/ky_KG.UTF-8.in: Likewise.
15841 * localedata/ln_CD.UTF-8.in: Likewise.
15842 * localedata/mi_NZ.UTF-8.in: Likewise.
15843 * localedata/ml_IN.UTF-8.in: Likewise.
15844 * localedata/mn_MN.UTF-8.in: Likewise.
15845 * localedata/mr_IN.UTF-8.in: Likewise.
15846 * localedata/mt_MT.UTF-8.in: Likewise.
15847 * localedata/nb_NO.UTF-8.in: Likewise.
15848 * localedata/om_KE.UTF-8.in: Likewise.
15849 * localedata/os_RU.UTF-8.in: Likewise.
15850 * localedata/ps_AF.UTF-8.in: Likewise.
15851 * localedata/ro_RO.UTF-8.in: Likewise.
15852 * localedata/ru_RU.UTF-8.in: Likewise.
15853 * localedata/sc_IT.UTF-8.in: Likewise.
15854 * localedata/se_NO.UTF-8.in: Likewise.
15855 * localedata/sq_AL.UTF-8.in: Likewise.
15856 * localedata/sv_SE.UTF-8.in: Likewise.
15857 * localedata/szl_PL.UTF-8.in: Likewise.
15858 * localedata/tg_TJ.UTF-8.in: Likewise.
15859 * localedata/tk_TM.UTF-8.in: Likewise.
15860 * localedata/tt_RU.UTF-8.in: Likewise.
15861 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15862 * localedata/ug_CN.UTF-8.in: Likewise.
15863 * localedata/uz_UZ.UTF-8.in: Likewise.
15864 * localedata/vi_VN.UTF-8.in: Likewise.
15865 * localedata/yi_US.UTF-8.in: Likewise.
15866 * localedata/yo_NG.UTF-8.in: Likewise.
15867 * localedata/zh_CN.UTF-8.in: Likewise.
15868 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15869 file and fix bugs in the collation.
15870 * localedata/locales/az_AZ: Likewise.
15871 * localedata/locales/be_BY: Likewise.
15872 * localedata/locales/ber_DZ: Likewise.
15873 * localedata/locales/ber_MA: Likewise.
15874 * localedata/locales/bg_BG: Likewise.
15875 * localedata/locales/br_FR: Likewise.
15876 * localedata/locales/br_FR@euro: Likewise.
15877 * localedata/locales/ca_ES: Likewise.
15878 * localedata/locales/cns11643_stroke: Likewise.
15879 * localedata/locales/crh_UA: Likewise.
15880 * localedata/locales/cs_CZ: Likewise.
15881 * localedata/locales/csb_PL: Likewise.
15882 * localedata/locales/cv_RU: Likewise.
15883 * localedata/locales/cy_GB: Likewise.
15884 * localedata/locales/da_DK: Likewise.
15885 * localedata/locales/dz_BT: Likewise.
15886 * localedata/locales/en_CA: Likewise.
15887 * localedata/locales/eo: Likewise.
15888 * localedata/locales/es_CU: Likewise.
15889 * localedata/locales/es_EC: Likewise.
15890 * localedata/locales/es_ES: Likewise.
15891 * localedata/locales/es_US: Likewise.
15892 * localedata/locales/et_EE: Likewise.
15893 * localedata/locales/fa_IR: Likewise.
15894 * localedata/locales/fi_FI: Likewise.
15895 * localedata/locales/fil_PH: Likewise.
15896 * localedata/locales/fur_IT: Likewise.
15897 * localedata/locales/gez_ER@abegede: Likewise.
15898 * localedata/locales/ha_NG: Likewise.
15899 * localedata/locales/hr_HR: Likewise.
15900 * localedata/locales/hsb_DE: Likewise.
15901 * localedata/locales/hu_HU: Likewise.
15902 * localedata/locales/ig_NG: Likewise.
15903 * localedata/locales/ik_CA: Likewise.
15904 * localedata/locales/is_IS: Likewise.
15905 * localedata/locales/iso14651_t1_pinyin: Likewise.
15906 * localedata/locales/kk_KZ: Likewise.
15907 * localedata/locales/ku_TR: Likewise.
15908 * localedata/locales/ky_KG: Likewise.
15909 * localedata/locales/ln_CD: Likewise.
15910 * localedata/locales/lt_LT: Likewise.
15911 * localedata/locales/lv_LV: Likewise.
15912 * localedata/locales/mi_NZ: Likewise.
15913 * localedata/locales/ml_IN: Likewise.
15914 * localedata/locales/mn_MN: Likewise.
15915 * localedata/locales/mr_IN: Likewise.
15916 * localedata/locales/mt_MT: Likewise.
15917 * localedata/locales/nb_NO: Likewise.
15918 * localedata/locales/om_KE: Likewise.
15919 * localedata/locales/os_RU: Likewise.
15920 * localedata/locales/pl_PL: Likewise.
15921 * localedata/locales/ps_AF: Likewise.
15922 * localedata/locales/ro_RO: Likewise.
15923 * localedata/locales/ru_RU: Likewise.
15924 * localedata/locales/ru_UA: Likewise.
15925 * localedata/locales/sc_IT: Likewise.
15926 * localedata/locales/se_NO: Likewise.
15927 * localedata/locales/si_LK: Likewise.
15928 * localedata/locales/sq_AL: Likewise.
15929 * localedata/locales/sv_FI: Likewise.
15930 * localedata/locales/sv_FI@euro: Likewise.
15931 * localedata/locales/sv_SE: Likewise.
15932 * localedata/locales/szl_PL: Likewise.
15933 * localedata/locales/tg_TJ: Likewise.
15934 * localedata/locales/ti_ER: Likewise.
15935 * localedata/locales/tk_TM: Likewise.
15936 * localedata/locales/tl_PH: Likewise.
15937 * localedata/locales/tr_TR: Likewise.
15938 * localedata/locales/tt_RU: Likewise.
15939 * localedata/locales/tt_RU@iqtelif: Likewise.
15940 * localedata/locales/ug_CN: Likewise.
15941 * localedata/locales/uk_UA: Likewise.
15942 * localedata/locales/uz_UZ: Likewise.
15943 * localedata/locales/uz_UZ@cyrillic: Likewise.
15944 * localedata/locales/vi_VN: Likewise.
15945 * localedata/locales/yi_US: Likewise.
15946 * localedata/locales/yo_NG: Likewise.
15948 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15950 * gen-locales.mk: Make test files which contain @ modifiers in their
15952 * localedata/gen-locale.sh: Likewise.
15954 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15956 * posix/tst-fnmatch.input: Fix results for range expressions
15958 * posix/tst-regexloc.c: Do not use a range expression for
15959 de_DE.ISO-8859-1 locale.
15961 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15963 * posix/bug-regex5.c: Fix test case because with the new
15964 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15965 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15968 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15970 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15971 downloaded from ISO, the collation order of @-. and space has changed.
15972 Therefore, this test file needed to be adapted.
15973 * localedata/fr_CA.UTF-8.in: Likewise.
15974 * localedata/fr_FR.UTF-8.in: Likewise.
15975 * localedata/uk_UA.UTF-8.in: Likewise.
15977 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15979 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15980 order of ȥ in the new iso14651_t1_common file.
15981 * localedata/pl_PL.UTF-8.in: Likewise.
15983 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15985 * localedata/locales/iso14651_t1_common: Add sections for various
15986 scripts to the iso14651_t1_common file.
15988 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15990 * localedata/locales/iso14651_t1_common: Use the code point of a
15991 character in the fourth collation level instead of IGNORE for all
15992 entries which have IGNORE on all 4 levels.
15994 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15996 * localedata/locales/iso14651_t1_common: Add some convenient collation
15997 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15998 rules similar to those in CLDR.
16000 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16002 * localedata/locales/iso14651_t1_common: The new version of this
16003 file downloaded from ISO contained several syntax errors which
16004 are fixed by this patch.
16006 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16008 * localedata/locales/iso14651_t1_common: replace all <U.....>
16009 with <U000.....> because glibc understands only 4 digit or 8 digit
16011 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16013 * localedata/locales/iso14651_t1_common: Necessary changes
16014 to make the file downloaded from ISO usable by glibc.
16016 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16019 * localedata/locales/iso14651_t1_common: Update file to
16020 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16022 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16024 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16025 of <nptl/pthreadP.h>
16026 (thread_attr_compare): Move function to...
16027 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
16028 * sysdeps/nptl/timer_routines.h: ... new header.
16029 * sysdeps/mach/hurd/gai_misc.h: New file.
16031 2018-02-26 Joseph Myers <joseph@codesourcery.com>
16033 * string/strcoll_l.c: Include <libc-diag.h>.
16034 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16035 declarations of seq1 and seq2.
16038 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16039 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16041 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16045 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16046 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16047 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16048 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16049 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16050 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16052 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16054 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16055 macros used in __ptrace_request.
16057 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16060 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16062 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16063 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16064 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16067 2018-02-23 Joseph Myers <joseph@codesourcery.com>
16070 * ctype/ctype.c (tolower): Use libc_hidden_def.
16071 (toupper): Likewise.
16072 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16073 [!_ISOMAC] (toupper): Likewise.
16075 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16077 * localedata/Makefile: Remove --quiet argument when
16080 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16083 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16085 * localedata/locales/pt_PT (LC_TIME): likewise
16087 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16090 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16091 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16092 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16094 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16098 * nptl/Makefile (routines): Remove unregister-atfork.
16099 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16100 (fork_handler_alloc): Remove function.
16101 (fork_handlers, fork_handler_init): New variables.
16102 (__fork_lock): Rename to atfork_lock.
16103 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16104 to use a dynamic array to add/remove atfork handlers.
16105 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16106 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16107 Remove declaration.
16108 (fork_handler): Remove next, refcntr, and need_signal member.
16109 (__run_fork_handler_type): New enum.
16110 (__run_fork_handlers): New prototype.
16111 * nptl/register-atfork.c: Remove file.
16112 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16114 * sysdeps/nptl/nptl-signals.h: Move to ...
16115 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16117 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16118 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16119 unnecessary check for SIGTIMER.
16120 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16121 remove unnecessary removal of SIGTIMER.
16122 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16123 include-signals.h rename.
16124 * nptl/pthreadP.h: Likewise.
16125 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16126 __is_internal_signal instead of __nptl_is_internal_signal.
16128 2018-02-22 Andrew Waterman <andrew@sifive.com>
16131 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16132 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16133 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16134 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16136 2018-02-22 DJ Delorie <dj@delorie.com>
16138 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16140 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16142 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16143 do_misaligned, not misaligned8.
16145 2018-02-22 Steve Ellcey <sellcey@cavium.com>
16147 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16148 Add memcpy_thunderx2.
16149 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16151 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16152 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16153 and IS_THUNDERX2PA checks.
16154 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16155 Use macro to set name appropriately.
16156 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16157 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16158 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16160 (IS_THUNDERX2): New macro.
16162 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16164 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16166 2018-02-21 Zack Weinberg <zackw@panix.com>
16168 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16169 Define here, unconditionally.
16170 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16171 * libio/libioP.h: Remove #if 0 blocks.
16172 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16173 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16174 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16176 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16177 Assume weak_alias is always defined.
16179 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16180 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16181 Remove #if 0 and #ifdef TODO blocks.
16182 Assume text_set_element is always defined.
16184 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16185 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16186 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16188 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16189 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16190 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16191 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16192 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16193 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16194 Reformat bit flags for _flags field to make occupancy clearer.
16196 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16197 Keep definitions consistent with those in libio/libio.h.
16199 * libio/libio.h (_IO_file_flags): Remove macro.
16200 All uses changed to _flags.
16202 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16203 (__HAVE_COLUMN, _IO_BE): Don't define.
16204 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16205 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16206 * libio/libioP.h (EOF): Don't define.
16207 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16208 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16209 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16210 testing _IO_UNIFIED_JUMPTABLES.
16212 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16213 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16214 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16215 (_IO_size_t): Delete; all uses changed to size_t.
16216 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16217 (_IO_off_t): Delete; all uses changed to off_t.
16218 (_IO_off64_t): Delete; all uses changed to off64_t.
16219 (_IO_pid_t): Delete; all uses changed to pid_t.
16220 (_IO_uid_t): Delete; all uses changed to uid_t.
16221 (_IO_wint_t): Delete; all uses changed to wint_t.
16222 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16223 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16224 (_IO_cookie_io_functions_t): Delete; all uses changed to
16225 cookie_io_functions_t.
16226 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16227 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16228 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16229 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16231 * libio/iofopncook.c: Remove unnecessary forward declarations.
16232 * libio/iolibio.h: Correct outdated commentary.
16233 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
16234 * stdio-common/fxprintf.c (__fxprintf_nocancel):
16235 Remove unnecessary casts.
16236 * stdio-common/getline.c: Use _IO_getdelim directly.
16237 Don't redefine ssize_t.
16238 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
16239 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
16240 Remove outdated comments.
16241 * stdio-common/vfscanf.c: Don't redefine va_list.
16243 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
16244 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
16245 Remove preprocessor conditionals on _LIBC and __USE_GNU,
16246 which are always true, and __cplusplus, which is always false.
16248 2018-02-21 Joseph Myers <joseph@codesourcery.com>
16252 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16253 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16254 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16255 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16257 [!_ISOMAC] (putc_unlocked): Likewise.
16258 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16259 define inline if [__USE_EXTERN_INLINES].
16260 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16265 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16266 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16267 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16268 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16269 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16271 * time/tzfile.c (__tzfile_read): Likewise.
16273 2018-02-21 Mike FABIAN <mfabian@redhat.com>
16276 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16278 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16280 * io/fcntl.h: Fix a typo in a comment.
16282 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16285 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16286 define _DEFAULT_SOURCE.
16287 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16289 2018-02-21 Florian Weimer <fweimer@redhat.com>
16292 * elf/cache.c (save_cache): Call fsync on temporary file before
16294 (save_aux_cache): Call fdatasync on temporary file before renaming
16297 2018-02-21 Florian Weimer <fweimer@redhat.com>
16300 * include/caller.h: Remove file.
16301 * elf/dl-caller.c: Likewise.
16302 * elf/Makefile (dl-routines): Remove dl-caller.
16303 (shared-only-routines): Do not add dl-caller.
16304 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
16306 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
16308 (dl_open_worker): Do not call __check_caller.
16309 (_dl_open): Do not set caller_dl_open member.
16310 * elf/rtld.c (_rtld_global_ro): Do not initialize
16311 _dl_check_caller member.
16312 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16313 _dl_check_caller member.
16314 (_dl_check_caller): Remove declaration.
16315 * sysdeps/unix/sysv/linux/dl-execstack.c
16316 (_dl_make_stack_executable): Do not call __check_caller.
16318 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16320 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
16321 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
16323 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16325 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
16328 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16331 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
16332 of 199606L, 200112L, and 200809L.
16333 (_XOPEN_SOURCE): Document special values of 600 and 700.
16334 (_ISOC11_SOURCE): Document macro.
16335 (_ATFILE_SOURCE): Likewise.
16336 (_FORTIFY_SOURCE): Likewise.
16338 2018-02-19 Joseph Myers <joseph@codesourcery.com>
16342 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
16343 and define as weak alias of __ferror_unlocked. Use
16345 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
16347 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
16348 function if [__USE_EXTERN_INLINES].
16349 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
16352 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
16355 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16357 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16360 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16361 the GLIBC_2.1 version.
16363 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16366 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16367 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16368 intl/tst-gettext-de.po from po/de.po by removing the
16369 POT-Creation-Date line.
16370 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16372 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16375 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16377 * mach/Makefile (headers): Add mach/param.h.
16378 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16379 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
16380 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16381 (__ptsname_r): Move implementation to...
16382 (__ptsname_internal): ... new function. Add filling the STP
16385 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
16387 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16390 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
16392 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16395 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16397 * nptl/Makefile (tst-mutex8-ENV): Delete.
16398 * nptl/tst-mutex8.c (check_type):
16399 Add runtime check if mutex will be elided.
16401 2018-02-15 Joseph Myers <joseph@codesourcery.com>
16405 * manual/install.texi (Configuring and compiling): Describe
16406 passing CC and CFLAGS on configure command line, not as
16407 environment variables. Use @code markup on those variables.
16408 Specify what options go in CC and what go in CFLAGS. Note the
16409 requirement to compile with optimization.
16410 * INSTALL: Regenerated.
16413 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16414 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16415 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16416 __sigprocmask instead of sigprocmask.
16417 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16419 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16420 __sigsetjmp and sigprocmask.
16423 * include/argz.h (argz_next): Use libc_hidden_proto.
16424 (__argz_next): Likewise.
16425 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16426 (argz_next): Use libc_hidden_weak.
16429 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16431 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16435 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16437 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16441 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16442 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16443 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16444 (__feof_unlocked): New declaration, and inline function if
16445 [__USE_EXTERN_INLINES].
16446 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16447 instead of feof_unlocked.
16448 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16449 * nss/nsswitch.c (nss_parse_file): Likewise.
16450 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16452 * time/getdate.c (__getdate_r): Likewise.
16453 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16454 Define as macro to call __feof_unlocked.
16456 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16458 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16460 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16462 * math/Makefile: Remove mpexp.c and mplog.c
16463 * sysdeps/i386/fpu/mpexp.c: Delete file.
16464 * sysdeps/i386/fpu/mplog.c: Likewise.
16465 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16466 * sysdeps/ia64/fpu/mplog.c: Likewise.
16467 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16468 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16469 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16470 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16471 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16472 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16473 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16474 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16475 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16476 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16477 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16478 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16479 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16480 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16481 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16482 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16484 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16486 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16488 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16490 * sysdeps/sh/libm-test-ulps: Update.
16492 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16494 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16497 2018-02-12 Zack Weinberg <zackw@panix.com>
16500 * posix/sys/types.h: Don't include sys/sysmacros.h.
16501 * misc/sys/sysmacros.h: Remove the conditional deprecation
16502 warnings for the macros defined by this header.
16504 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16506 * manual/probes.texi: Remove slowexp probes.
16507 * math/Makefile: Remove slowexp.
16508 * sysdeps/generic/math_private.h (__slowexp): Remove.
16509 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16510 document error bounds.
16511 * sysdeps/i386/fpu/slowexp.c: Remove.
16512 * sysdeps/ia64/fpu/slowexp.c: Remove.
16513 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16514 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16515 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16516 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16517 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16518 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16519 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16520 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16521 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16522 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16523 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16525 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16528 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16529 * benchtests/pow-inputs: Update comment for slow path cases.
16530 * manual/probes.texi (slowpow_p10): Delete removed probe.
16531 (slowpow_p10): Likewise.
16532 * math/Makefile: Remove halfulp.c and slowpow.c.
16533 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16534 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16535 (__halfulp): Remove.
16536 (__slowpow): Remove.
16537 * sysdeps/i386/fpu/halfulp.c: Delete file.
16538 * sysdeps/i386/fpu/slowpow.c: Likewise.
16539 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16540 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16541 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16542 improve comments and add error analysis.
16543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16544 (power1): Remove function:
16545 (log1): Remove error argument, add error analysis.
16546 (my_log2): Remove function.
16547 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16548 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16549 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16550 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16551 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16552 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16553 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16554 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16555 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16556 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16557 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16558 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16559 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16560 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16562 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16564 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16565 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16567 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16570 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16571 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16572 and PTRACE_SETHBPREGS.
16574 2018-02-10 Zack Weinberg <zackw@panix.com>
16577 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16579 * malloc/tst-malloc-stats-cancellation.c: New test case.
16580 * malloc/Makefile: Add new test case.
16582 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16584 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16586 2018-02-10 Joseph Myers <joseph@codesourcery.com>
16588 * math/Makefile (libm-narrow-fns): Add add.
16589 (libm-test-funcs-narrow): Likewise.
16590 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16591 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16592 * math/gen-auto-libm-tests.c (test_functions): Add add.
16593 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16594 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16595 (NARROW_ADD_TRIVIAL): Likewise.
16596 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16598 (__daddl): Likewise.
16599 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16601 (CFLAGS-nldbl-dadd.c): New variable.
16602 (CFLAGS-nldbl-fadd.c): Likewise.
16603 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16605 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16607 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16608 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16609 * math/auto-libm-test-in: Add tests of add.
16610 * math/auto-libm-test-out-narrow-add: New generated file.
16611 * math/libm-test-narrow-add.inc: New file.
16612 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16613 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16614 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16615 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16616 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16617 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16618 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16619 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16620 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16621 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16622 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16623 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16624 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16625 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16626 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16627 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16628 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16629 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16631 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16632 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16633 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16634 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16635 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16636 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16637 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16638 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16639 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16640 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16641 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16642 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16643 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16648 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16649 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16650 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16651 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16652 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16653 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16654 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16655 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16656 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16657 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16659 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16660 (f128-pairs): New variable.
16661 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16662 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16664 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16665 Also make tests add $(f128-loader-link) to gnulib-tests.
16667 2018-02-09 DJ Delorie <dj@redhat.com>
16670 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16671 64-bit ELF type for 64-bit ELF objects.
16673 2018-02-09 Joseph Myers <joseph@codesourcery.com>
16675 * math/libm-test-driver.c (snan_tests_arg): New variable.
16676 * math/libm-test-support.h (snan_tests_arg): New declaration.
16677 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16679 * math/Makefile (test-type-pairs): New variable.
16680 (test-type-pairs-f64xf128-yes): Likewise.
16681 (tests): Add test-narrow-macros.
16682 (libm-test-funcs-narrow): New variable.
16683 (libm-test-c-narrow): Likewise.
16684 (generated): Add $(libm-test-c-narrow).
16685 (libm-tests-base-narrow): New variable.
16686 (libm-tests-narrow): Likewise.
16687 (libm-tests): Add $(libm-tests-narrow).
16688 (libm-tests-for-type): Handle $(libm-tests-narrow).
16689 (libm-test-c-narrow-obj): New variable.
16690 ($(libm-test-c-narrow-obj)): New rule.
16691 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16692 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16693 $(o-iterator) to set dependencies and CFLAGS.
16694 * math/gen-auto-libm-tests.c: Document use for narrowing
16696 (output_for_one_input_case): Take argument NARROW.
16697 (generate_output): Likewise. Update call to
16698 output_for_one_input_case.
16699 (main): Take --narrow option. Update call to generate_output.
16700 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16701 (apply_lit): Update call to _apply_lit.
16702 (apply_arglit): New function.
16703 (parse_args): Handle "a" arguments.
16704 (parse_auto_input): Handle format names using ":".
16705 * math/README.libm-test: Document "a" parameter type.
16706 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16707 (ARG_TYPE_TRUE_MIN): Likewise.
16708 (ARG_TYPE_MAX): Likwise.
16709 (ARG_MIN_EXP): Likewise.
16710 (ARG_MAX_EXP): Likewise.
16711 (ARG_MANT_DIG): Likewise.
16712 (TEST_COND_arg_ibm128): Likewise.
16713 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16714 (TEST_COND_arg_fmt): New macro.
16715 (init_max_error): Update prototype.
16716 * math/libm-test-support.c (test_ibm128): New variable.
16717 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16718 instead of using [TEST_COND_ibm128] conditional.
16719 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16720 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16721 [TEST_NARROW] (TEST_MSG): New definition.
16722 (arg_plus_zero): New macro.
16723 (arg_minus_zero): Likewise.
16724 (arg_plus_infty): Likewise.
16725 (arg_minus_infty): Likewise.
16726 (arg_qnan_value_pl): Likewise.
16727 (arg_qnan_value): Likewise.
16728 (arg_snan_value_pl): Likewise.
16729 (arg_snan_value): Likewise.
16730 (arg_max_value): Likewise.
16731 (arg_min_value): Likewise.
16732 (arg_min_subnorm_value): Likewise.
16733 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16734 (RUN_TEST_LOOP_aa_f): New macro.
16735 (TEST_SUFF): New macro.
16736 (TEST_SUFF_STR): Likewise.
16737 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16738 (TEST_COND_any_ibm128): New macro.
16739 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16740 this_func. Update call to init_max_error.
16741 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16742 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16743 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16744 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16745 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16746 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16747 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16748 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16749 * math/test-math-vector.h (TEST_NARROW): Likewise.
16750 * math/test-arg-double.h: New file.
16751 * math/test-arg-float128.h: Likewise.
16752 * math/test-arg-float32x.h: Likewise.
16753 * math/test-arg-float64.h: Likewise.
16754 * math/test-arg-float64x.h: Likewise.
16755 * math/test-arg-ldouble.h: Likewise.
16756 * math/test-math-narrow.h: Likewise.
16757 * math/test-narrow-macros.c: Likewise.
16758 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16759 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16760 test-narrow-macros-ldbl-64.
16761 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16763 * math/bits/mathcalls-narrow.h: New file.
16764 * include/bits/mathcalls-narrow.h: Likewise.
16765 * math/math-narrow.h: Likewise.
16766 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16767 (__MATHCALL_NARROW_ARGS_2): Likewise.
16768 (__MATHCALL_NARROW_ARGS_3): Likewise.
16769 (__MATHCALL_NARROW_NORMAL): Likewise.
16770 (__MATHCALL_NARROW_REDIR): Likewise.
16771 (__MATHCALL_NARROW): Likewise.
16772 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16773 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16775 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16776 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16777 (libm-narrow-fns): New variable.
16778 (libm-narrow-types-basic): Likewise.
16779 (libm-narrow-types-ldouble-yes): Likewise.
16780 (libm-narrow-types-float128-yes): Likewise.
16781 (libm-narrow-types-float128-alias-yes): Likewise.
16782 (libm-narrow-types): Likewise.
16783 (libm-routines): Add narrowing functions.
16784 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16785 (libc_feholdexcept_setroundf128): New macro.
16786 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16787 * sysdeps/ieee754/float128/float128_private.h: Include
16788 <math/math-narrow.h>.
16789 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16790 Undefine and redefine.
16791 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16792 (libm_alias_float_ldouble): Undefine and redefine.
16793 (libm_alias_double_ldouble): Likewise.
16795 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16797 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16799 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16802 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
16804 * manual/creature.texi: Convert references to gcc.info to gcc.
16805 * manual/stdio.texi: Likewise.
16806 * manual/string.texi: Likewise.
16808 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16811 * posix/bits/types.h (__int_least8_t): New typedef.
16812 (__uint_least8_t): Likewise.
16813 (__int_least16_t): Likewise.
16814 (__uint_least16_t): Likewise.
16815 (__int_least32_t): Likewise.
16816 (__uint_least32_t): Likewise.
16817 (__int_least64_t): Likewise.
16818 (__uint_least64_t): Likewise.
16819 * sysdeps/generic/stdint.h (int_least8_t): Define using
16821 (int_least16_t): Define using __int_least16_t.
16822 (int_least32_t): Define using __int_least32_t.
16823 (int_least64_t): Define using __int_least64_t.
16824 (uint_least8_t): Define using __uint_least8_t.
16825 (uint_least16_t): Define using __uint_least16_t.
16826 (uint_least32_t): Define using __uint_least32_t.
16827 (uint_least64_t): Define using __uint_least64_t.
16828 * wcsmbs/uchar.h: Include <bits/types.h>.
16829 (char16_t): Define using __uint_least16_t conditional only on
16831 (char32_t): Define using __uint_least32_t conditional only on
16833 * wcsmbs/test-char-types.c: New file.
16834 * wcsmbs/Makefile (tests): Add test-char-types.
16836 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16839 2018-02-07 Zack Weinberg <zackw@panix.com>
16841 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16842 Delete all contents except for definitions of _G_HAVE_MMAP and
16843 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16844 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16845 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16848 * libio/libio.h: Don't include bits/_G_config.h here.
16849 Include stddef.h with __need_wchar_t defined. Include
16850 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16851 Define _IO_iconv_t here, directly.
16852 Don't define _IO_HAVE_ST_BLKSIZE.
16853 * libio/libioP.h: Include _G_config.h here. Move include of
16854 shlib-compat.h up with rest of includes. Simplify conditionals
16855 controlling definition of _IO_JUMPS_OFFSET.
16857 * csu/init.c: Remove always-true #if around entire file.
16858 Don't include stdio.h. Set _IO_stdin_used to hardwired
16859 constant 0x20001, and update commentary.
16860 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16861 Replace all uses of _G_va_list with __gnuc_va_list.
16862 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16863 instead of #if _IO_HAVE_ST_BLKSIZE.
16864 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16865 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16868 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16869 multiple-include guard to match.
16870 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16872 Remove preprocessor conditionals that are always true and/or
16873 redundant to other preprocessor conditionals in the same nest.
16874 Include shlib-compat.h unconditionally.
16875 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16876 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16877 defined after including stdio.h.
16878 Use __BEGIN_DECLS/__END_DECLS.
16880 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16881 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16882 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16884 2018-02-07 Zack Weinberg <zackw@panix.com>
16886 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16887 New single-type headers split from _G_config.h.
16888 * libio/bits/types/cookie_io_functions_t.h
16889 * libio/bits/types/struct_FILE.h
16890 New single-type headers split from libio.h.
16892 * libio/Makefile: Install the above new headers. Don't install
16893 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16895 * libio/_G_config.h, libio/libio.h: Delete file.
16897 * libio/bits/libio.h: Remove improper-inclusion guard.
16898 Include stdio.h and don't repeat anything that it does.
16899 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16900 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16901 __io_read_fn as cookie_read_function_t,
16902 __io_write_fn as cookie_write_function_t,
16903 __io_seek_fn as cookie_seek_function_t,
16904 __io_close_fn as cookie_close_function_t,
16905 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16906 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16907 here, in the "compatibility defines" section. Remove an #if 0
16908 block. Use the "body" macros from bits/types/struct_FILE.h to
16909 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16910 and _IO_ferror_unlocked.
16911 Move prototypes of __uflow and __overflow...
16913 * libio/stdio.h: ...here. Don't include bits/libio.h.
16914 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16915 directly from stdarg.h. Include bits/types/__fpos_t.h,
16916 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16917 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16918 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16919 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16920 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16921 __ssize_t, not _IO_ssize_t. Unconditionally define
16922 BUFSIZ as 8192 and EOF as (-1).
16924 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16925 macros from bits/types/struct_FILE.h instead of _IO_* macros
16926 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16927 instead of _IO_ssize_t.
16928 * libio/bits/stdio2.h: Similarly.
16930 * libio/iolibio.h: Add multiple-include guard.
16931 Include bits/libio.h after stdio.h.
16932 * libio/libioP.h: Add multiple-include guard.
16933 Include stdio.h and bits/libio.h before iolibio.h.
16935 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16936 * include/bits/types/cookie_io_functions_t.h
16937 * include/bits/types/struct_FILE.h: New wrappers.
16939 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16940 Get definitions of _G_fpos_t and _G_fpos64_t from
16941 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16942 respectively. Remove improper-inclusion guards.
16944 * conform/data/stdio.h-data: Update expectations of va_list.
16945 * scripts/check-installed-headers.sh: Remove special case for
16946 libio.h and _G_config.h.
16948 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16952 * include/sys/sysmacros.h [!_ISOMAC]
16953 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16954 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16955 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16956 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16958 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16959 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16961 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16962 Undefine and redefine to add use __gnu_dev_ prefix.
16963 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16965 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16966 and define as hidden inline function.
16967 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16969 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16971 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16972 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16973 (gnu_dev_minor): Likewise.
16974 (gnu_dev_makedev): Likewise.
16975 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16977 * posix/wordexp.c (exec_comm_child): Likewise.
16978 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16979 instead of minor and __gnu_dev_major instead of major.
16980 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16981 __gnu_dev_major instead of major.
16982 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16983 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16984 instead of gnu_dev_minor.
16985 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16986 (SLAVE_P): Likewise.
16987 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16988 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16992 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16994 * locale/weightwc.h (findidx): Likewise.
16996 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16998 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16999 (slowlog_inexact): Likewise
17000 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17001 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17003 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17006 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17007 missing second underscore to parameter name.
17009 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17015 * bits/byteswap.h: Update file comment. Do not include
17016 <bits/byteswap-16.h>.
17017 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17019 (__bswap_16): Define as inline function.
17020 (__bswap_constant_32): Reformat definition.
17021 (__bswap_32): Always define as inline function, not macro, using
17022 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17023 otherwise __bswap_constant_32.
17024 (__bswap_constant_64): Reformat definition. Do not use
17025 __extension__ here.
17026 (__bswap_64): Always define as inline function, not macro. Use
17027 __extension__ on function definition. Use __builtin_bswap64 if
17028 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17029 * string/test-endian-file-scope.c: New file.
17030 * string/test-endian-sign-conversion.c: Likewise.
17031 * string/Makefile (headers): Remove bits/byteswap-16.h.
17032 (tests): Add test-endian-file-scope and
17033 test-endian-sign-conversion.
17034 (CFLAGS-test-endian-sign-conversion.c): New variable.
17035 * bits/byteswap-16.h: Remove file.
17036 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17037 * sysdeps/ia64/bits/byteswap.h: Likewise.
17038 * sysdeps/m68k/bits/byteswap.h: Likewise.
17039 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17040 * sysdeps/s390/bits/byteswap.h: Likewise.
17041 * sysdeps/tile/bits/byteswap.h: Likewise.
17042 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17043 * sysdeps/x86/bits/byteswap.h: Likewise.
17046 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17047 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17048 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17049 199901L] (__restrict): Define to restrict.
17052 * string/testcopy.c: Include <support/support.h>. Do not include
17053 <malloc.h>. Use <support/test-driver.c>.
17054 (main): Rename to do_test. Make static. Use xmalloc instead of
17058 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17059 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17060 (SSIZE_MAX): Define to INT_MAX.
17061 * posix/test-ssize-max.c: New file.
17062 * posix/Makefile (tests): Add test-ssize-max.
17065 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17066 <support/support.h>. Do not include <malloc.h>.
17067 (query_auxv): Use xmalloc instead of malloc.
17070 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17071 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17074 2018-02-06 Florian Weimer <fweimer@redhat.com>
17077 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17078 Use scratch_buffer instead of extend_alloca.
17080 2018-02-06 Zack Weinberg <zackw@panix.com>
17082 * libio/stdio.h: Don't define getc or putc as macros.
17083 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17084 not _IO_getc and _IO_putc.
17086 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17087 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17089 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17091 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17092 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17094 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17097 * elf/elf.h (NT_PRFPREG): New macro.
17098 (NT_S390_VXRS_LOW): Likewise.
17099 (NT_S390_VXRS_HIGH): Likewise.
17100 (NT_S390_GS_CB): Likewise.
17101 (NT_S390_GS_BC): Likewise.
17102 (NT_S390_RI_CB): Likewise.
17104 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17105 (MAP_SYNC): New macro.
17106 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17108 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17109 (MAP_SYNC): Likewise.
17110 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17111 (MAP_SYNC): Likewise.
17112 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17113 (MAP_SYNC): Likewise.
17114 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17115 (MAP_SYNC): Likewise.
17116 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17117 (MAP_SYNC): Likewise.
17118 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17119 (MAP_SYNC): Likewise.
17120 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17122 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17125 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17126 (MAP_SHARED_VALIDATE): New macro.
17127 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17128 (MAP_SHARED_VALIDATE): Likewise.
17130 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17132 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17133 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17134 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17136 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17138 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17139 (DT_NUM): Updated to 35.
17141 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17143 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17144 __builtin_expect with __glibc_likely and __glibc_unlikely.
17145 (elf_machine_rela): Likewise.
17146 (elf_machine_lazy_rel): Likewise.
17148 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17150 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
17151 __builtin_expect with __glibc_likely and __glibc_unlikely.
17152 (elf_machine_lazy_rel): Likewise.
17154 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17157 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17159 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
17161 2018-02-05 Andreas Schwab <schwab@suse.de>
17164 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17167 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17169 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17170 not check against PTHREAD_STACK_MIN.
17172 2018-02-02 Sean McKean <smckean83@gmail.com>
17175 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17177 2018-02-02 Florian Weimer <fweimer@redhat.com>
17180 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17181 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17182 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17183 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17184 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17185 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17186 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17187 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17188 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17189 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17190 * misc/tst-preadvwritev2.c (do_test): Call it.
17191 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17193 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17195 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17197 * benchtests/bench-memcmp.c: Print json instead of plain text.
17199 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17202 2018-02-01 Joseph Myers <joseph@codesourcery.com>
17204 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17206 (s390_sthyi): New syscall.
17208 * sysdeps/generic/ldbl-classify-compat.h: New file.
17209 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17210 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17211 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17212 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17213 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17214 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17215 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17216 <ldbl-classify-compat.h>.
17217 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17218 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17219 <ldbl-classify-compat.h>.
17220 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17221 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17222 <ldbl-classify-compat.h>.
17223 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17224 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17225 <ldbl-classify-compat.h>.
17226 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17227 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17228 <ldbl-classify-compat.h>.
17229 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17230 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17231 <ldbl-classify-compat.h>.
17232 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17233 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
17234 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17235 * sysdeps/m68k/coldfire/math_private.h: Remove file.
17236 * sysdeps/microblaze/math_private.h: Likewise.
17237 * sysdeps/nios2/math_private.h: Likewise.
17238 * sysdeps/sh/math_private.h: Likewise.
17240 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
17241 * sysdeps/m68k/coldfire/math_private.h: ... here.
17242 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
17243 * sysdeps/tile/math_private.h: Likewise.
17244 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
17246 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
17249 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17251 (libc_fetestexcept): Likewise.
17252 (libc_feupdateenv_test): Likewise.
17253 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17254 (libc_fetestexcept): Likewise.
17255 (libc_feupdateenv_test): Likewise.
17256 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17257 (libc_fetestexcept): Likewise.
17258 (libc_feupdateenv_test): Likewise.
17259 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17260 (libc_fetestexcept): Likewise.
17261 (libc_feupdateenv_test): Likewise.
17263 * sysdeps/generic/math_private.h
17264 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17265 New inline function.
17266 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17269 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17270 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17271 * sysdeps/generic/math_private.h
17272 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17274 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17276 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17278 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17280 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17282 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17284 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17285 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17286 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17287 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17288 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17289 (__fegetenv): Likewise.
17290 (fesetenv): Likewise.
17291 (__fesetenv): Likewise.
17292 (feupdateenv): Likewise.
17293 (__feupdateenv): Likewise.
17294 (fegetround): Likewise.
17295 (__fegetround): Likewise.
17296 (fesetround): Likewise.
17297 (__fesetround): Likewise.
17299 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17300 (feraiseexcept): New macro.
17301 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17302 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17304 (__feraiseexcept): Likewise.
17305 (feclearexcept): Likewise.
17306 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
17307 (__feraiseexcept): Likewise.
17308 (feclearexcept): Likewise.
17309 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17310 (__feraiseexcept): Likewise.
17311 (feclearexcept): Likewise.
17312 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17313 (__feraiseexcept): Likewise.
17314 (feclearexcept): Likewise.
17315 (fetestexcept): Likewise.
17317 * sysdeps/m68k/coldfire/math-tests.h: New file.
17319 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
17320 * sysdeps/m68k/bits/fenv.h: ... here.
17321 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
17323 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
17325 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
17327 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
17329 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
17331 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
17333 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
17334 (__FE_UNDEFINED): New enum constant.
17335 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
17337 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
17339 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
17341 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
17342 to match generic bits/fenv.h.
17343 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
17346 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
17348 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
17349 * soft-fp/half.h (union _FP_UNION_H): Likewise.
17350 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
17351 * soft-fp/single.h (union _FP_UNION_S): Likewise.
17353 2018-02-01 Carlos O'Donell <carlos@redhat.com>
17354 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
17355 Joseph Myers <joseph@codesourcery.com>
17358 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17359 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17360 computation using c.
17361 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17362 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17363 computation using c.
17365 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17367 * version.h (RELEASE): Set to "development".
17368 (VERSION): Set to "2.27.9000".
17369 * NEWS (2.28): New section.
17371 * version.h (RELEASE): Set to "stable".
17372 (VERSION): Set to "2.27".
17373 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17375 * NEWS: Add the list of bugs fixed in 2.27.
17377 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17379 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17380 against PTHREAD_STACK_MIN.
17382 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17384 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17386 (Rafal Luzynski, Andreas Schwab): Update.
17388 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17391 * NEWS: List the languages which actually use the alternative
17392 months feature in this release. Also explain that "alt_mon" and
17393 "ab_alt_mon" are optional.
17395 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17398 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17400 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17402 * manual/install.texi (Tools for Compilation): Update the newest
17403 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17404 * INSTALL: Regenerated.
17406 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17408 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17409 instead of __builtin_expect.
17411 2018-01-30 Florian Weimer <fweimer@redhat.com>
17413 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17415 * nss/tst-nss-getpwent.c (do_test): Likewise.
17417 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17420 * localedata/locales/hr_HR (mon): Rename to...
17422 (mon): Import from CLDR (genitive case).
17423 (d_t_fmt): Update the comment.
17425 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17427 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17428 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17429 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17431 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17433 * mach/Versions: Fix version when __mach_host_self_ was added.
17434 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17435 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17436 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17437 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17438 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17439 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17440 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17441 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17442 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17443 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17444 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17445 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
17446 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17447 || to respect codestyle.
17448 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17449 (do_test_bz20181): Rename accordingly.
17450 * malloc/malloc.c: Include <assert.h>.
17451 (assert): Do not define.
17452 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
17453 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17454 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
17455 * sysdeps/mach/hurd/hp-timing.h: New file.
17456 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
17458 2018-01-29 Darius Rad <darius@bluespec.com>
17460 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17462 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
17464 * sysdeps/init_array/crti.S (.section .init_array): Add
17465 PREINIT_FUNCTION when defined.
17466 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
17467 * config.h.in: Regenerate.
17468 * manual/platform.texi: Add RISC-V documenation for
17469 __riscv_flush_icache.
17470 * sysdeps/riscv/__longjmp.S: New file.
17471 * sysdeps/riscv/backtrace.c: Likewise.
17472 * sysdeps/riscv/bits/endian.h: Likewise.
17473 * sysdeps/riscv/bits/setjmp.h: Likewise.
17474 * sysdeps/riscv/bits/wordsize.h: Likewise.
17475 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17476 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17477 * sysdeps/riscv/dl-trampoline.S: Likewise.
17478 * sysdeps/riscv/gccframe.h: Likewise.
17479 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17480 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17481 * sysdeps/riscv/machine-gmon.h: Likewise.
17482 * sysdeps/riscv/memusage.h: Likewise.
17483 * sysdeps/riscv/setjmp.S: Likewise.
17484 * sysdeps/riscv/sys/asm.h: Likewise.
17485 * sysdeps/riscv/tls-macros.h: Likewise.
17486 * sysdeps/riscv/dl-tls.h: New file.
17487 * sysdeps/riscv/libc-tls.c: Likewise.
17488 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17489 * sysdeps/riscv/nptl/tls.h: Likewise.
17490 * sysdeps/riscv/stackinfo.h: Likewise.
17491 * sysdeps/riscv/bits/fenv.h: New file.
17492 * sysdeps/riscv/e_sqrtl.c: Likewise.
17493 * sysdeps/riscv/fpu_control.h: Likewise.
17494 * sysdeps/riscv/math-tests.h: Likewise.
17495 * sysdeps/riscv/nofpu/Implies: Likewise.
17496 * sysdeps/riscv/sfp-machine.h: Likewise.
17497 * sysdeps/riscv/tininess.h: Likewise.
17498 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17499 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17500 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17501 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17502 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17503 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17504 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17505 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17506 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17507 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17508 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17509 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17510 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17511 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17512 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17513 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17514 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17515 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17516 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17517 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17518 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17519 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17520 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17521 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17522 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17523 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17524 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17525 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17526 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17527 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17528 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17529 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17530 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17531 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17532 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17533 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17534 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17535 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17536 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17537 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17538 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17539 * sysdeps/riscv/rvf/math_private.h: Likewise.
17540 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17541 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17542 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17543 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17544 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17545 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17546 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17547 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17548 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17549 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17550 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17551 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17552 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17553 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17554 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17555 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
17556 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17557 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17558 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17559 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
17560 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17561 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17562 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17563 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17564 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17565 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17566 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17567 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17568 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
17569 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17570 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17571 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17572 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17573 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17574 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17575 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17576 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17577 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17578 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17579 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17580 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17581 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17582 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17583 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17584 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17585 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17586 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17587 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17588 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17589 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17590 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
17591 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17592 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17593 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
17594 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17595 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17596 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17597 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17598 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17599 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17600 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17601 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17602 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17603 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17604 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17605 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17606 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17607 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17608 * sysdeps/riscv/Implies: New file.
17609 * sysdeps/riscv/Makefile: Likewise.
17610 * sysdeps/riscv/configure: Likewise.
17611 * sysdeps/riscv/configure.ac: Likewise.
17612 * sysdeps/riscv/nptl/Makefile: Likewise.
17613 * sysdeps/riscv/preconfigure: Likewise.
17614 * sysdeps/riscv/rv64/Implies-after: Likewise.
17615 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17616 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17617 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17618 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17619 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17620 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17621 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17622 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17623 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17624 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17625 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
17626 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17627 (Config): Likewise.
17629 2018-01-29 Florian Weimer <fweimer@redhat.com>
17632 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17633 libnsl_hidden_proto.
17634 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17635 libnsl_hidden_proto.
17636 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17637 * nis/Makefile (libnsl-routines): Add nss-default only for
17638 build-obsolete-nsl.
17639 * nis/nis_defaults.c (__nis_default_ttl): Add
17640 libnsl_hidden_nolink_def.
17641 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17643 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17644 * nis/ypclnt.c (yp_maplist): Likewise.
17646 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17648 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17649 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17651 2018-01-29 Joseph Myers <joseph@codesourcery.com>
17653 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17654 clean -dxfq for git updates when replacing sources.
17656 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17657 --disable-libcilkrts unconditionally, not just for the final GCC
17660 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17663 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17666 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17669 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17672 * localedata/locales/be_BY (mon): Rename to...
17673 (alt_mon): This, then synchronize with CLDR (nominative case).
17674 (abmon): Rename to...
17675 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17676 (mon): Import from CLDR (genitive case).
17678 * localedata/locales/be_BY@latin (mon): Rename to...
17680 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17682 * localedata/locales/be_BY@latin (lang_name): Reworded to
17683 "biełaruskaja mova".
17685 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17688 * localedata/locales/el_CY (mon): Renamed to...
17690 (mon): Import from CLDR (genitive case).
17691 * localedata/locales/el_GR: Likewise.
17693 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17696 * localedata/locales/ru_RU (mon): Rename to...
17698 (abmon): Rename to...
17699 (ab_alt_mon): This.
17700 (mon): Import from CLDR (genitive case).
17701 (abmon): Copy from the old content except the 5th month which is
17702 now in the genitive case, even when abbreviated.
17703 * localedata/locales/ru_UA: Likewise.
17704 * time/tst-strptime.c (day_tests): Add an actual example of
17705 a difference between %b and %Ob in Russian.
17707 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17709 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17710 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17712 * resolv/res-close.c: Include <stdlib.h>.
17713 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17714 <sys/wait.h>, <time.h>, <sys/uio.h>.
17715 (NOT_CANCEL_H): Add inclusion guard.
17716 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
17717 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17718 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17720 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17721 vm_address_t * to ElfW(Addr) * for dl_main parameter.
17722 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17724 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17725 timer_ptr2id to cast struct timer_node * to void *.
17726 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17727 --disable-libcilkrts to gcc configure.
17728 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17729 and make them the default for now.
17730 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17731 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
17732 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17733 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17734 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17736 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17737 __task_terminate would ever return successfully.
17738 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17740 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17741 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
17742 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17743 critical section to make code simpler and avoid warning.
17744 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17745 critical section to make code simpler and avoid warning.
17746 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17747 const char * instead of char *.
17748 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17749 __hurd_file_name_split, hurd_file_name_split,
17750 __hurd_directory_name_split, hurd_directory_name_split,
17751 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17752 hurd_file_name_path_lookup): Make lookup function parameter take a
17753 const char *name instead of char *name.
17754 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17755 __hurd_directory_name_split): Likewise.
17756 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17757 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
17758 * sysdeps/mach/hurd/check_native.c: New file.
17759 * sysdeps/mach/hurd/check_pf.c: New file.
17760 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17761 (__freeifaddrs): Define macro to freeifaddrs.
17762 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17763 * sysdeps/mach/libmachuser.abilist: New file.
17764 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17765 (do_test_bz20181): Rename accordingly.
17766 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
17767 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17769 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17770 version only if __USE_EXTERN_INLINES is defined.
17771 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17772 __hurd_sockfail): Likewise.
17773 (_hurd_fd_get): Always declare functions, and provide inline versions
17774 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17775 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17776 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17777 _hurd_port_set): Always declare functions, and provide inline versions
17778 only if __USE_EXTERN_INLINES and _LIBC are defined and
17780 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17781 _hurd_critical_section_unlock): Likewise.
17782 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17783 * __hurd_threadvar_location): Likewise.
17784 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17785 _hurd_userlink_clear): Likewise.
17786 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17787 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17788 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17789 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17790 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17791 __spin_lock_locked): Likewise.
17792 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17793 __spin_lock_locked): Likewise.
17794 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17795 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17796 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17797 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17798 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
17799 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17800 _POSIX_NO_TRUNC): Define to 0.
17801 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17802 check size against PTHREAD_STACK_MIN.
17803 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17804 IS_IN(libpthread)]: Include <sigsetops.h>.
17805 * mach/Makefile (user-interfaces): Add mach/gnumach.
17806 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17807 * sysdeps/mach/configure (mach_interface_list): Regenerate.
17808 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17809 instead of invalid -1.
17810 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17811 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17812 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17815 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
17817 * hurd/fcntl-internal.h: New file.
17819 2018-01-27 James Clarke <jrtc27@jrtc27.com>
17821 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17823 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17825 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17828 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17829 Build only shared objects.
17831 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17833 * README: Update for hppa.
17835 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17837 * sysdeps/sparc/fpu/libm-test-ulps: Update
17838 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
17840 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17844 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17847 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17848 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17849 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17850 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17853 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17856 * bits/types/__cancel_jmp_buf_tag.h: New file.
17857 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17858 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17859 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17860 * nptl/Makefile (headers): Add
17861 bits/types/__cancel_jmp_buf_tag.h.
17862 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17863 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17864 * sysdeps/nptl/pthread.h: Include
17865 <bits/types/__cancel_jmp_buf_tag.h>.
17866 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17868 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17870 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17873 * localedata/locales/uk_UA (mon): Renamed to...
17875 (alt_digits): "0" removed and then renamed to...
17877 (date_fmt): Definition changed not to use the alternative
17880 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
17882 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17883 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17884 * elf/elf.h (EF_RISCV_RVC): New define.
17885 (EF_RISCV_FLOAT_ABI): Likewise.
17886 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17887 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17888 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17889 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17890 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17892 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17894 2018-01-25 Andreas Schwab <schwab@suse.de>
17896 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17898 * sysdeps/gnu/configure: Regenerate.
17899 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17900 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17902 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17903 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17904 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17905 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17906 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17908 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17910 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17911 URL, and run autoconf, make it the default for now.
17913 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17915 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17916 soft-float ColdFire configuration.
17918 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17919 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17920 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17922 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17925 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17927 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17929 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17932 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17933 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17934 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17937 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17940 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17941 Rename to __reserved and add comment.
17942 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17943 Rename to __reserved.
17945 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17947 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17948 i686-gnu configurations.
17949 (Context.run_builds): Include mig, gnumach and hurd in components
17951 (Context.checkout): Add mig, gnumach and hurd to components.
17952 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17954 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17955 (Config.build): Install gnumach headers, build mig and install
17956 hurd headers for 'gnu' OS.
17957 (Config.install_gnumach_headers): New function.
17958 (Config.install_hurd_headers): Likewise.
17959 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17960 when building for 'gnu' OS.
17962 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17964 * manual/tunables.texi (Hardware Capability Tunables): Fix
17967 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17969 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17970 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17971 (ALTMON_11, ALTMON_12): Improve documentation.
17972 * manual/time.texi (strftime): Likewise.
17974 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17977 * localedata/locales/pl_PL: Alternative month names added,
17978 primary month names are genitive now.
17979 * time/tst-strptime.c (day_tests): Actually use a genitive case
17980 of a month name in Polish language.
17982 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17985 * manual/locale.texi: Document ALTMON_1..12 constants for
17986 nl_langinfo. Specify when to use ALTMON instead of MON.
17987 * manual/time.texi (strftime, strptime): Document GNU extension
17988 permitting O modifier with %B and %b. Specify when to use
17991 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17994 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17995 names, define them as the same as abbreviated month names explicitly.
17996 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17997 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17998 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17999 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18000 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18001 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18002 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18003 _NL_WABALTMON_12): New enum constants.
18004 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18005 wab_alt_mon, and ab_alt_mon_defined members.
18006 (time_output): Output ab_alt_mon and wab_alt_mon members.
18007 (time_read): Read them, initialize them as copies of abmon and wabmon
18008 respectively if they are missing, initialize ab_alt_mon_defined.
18009 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18010 * locale/programs/locfile-kw.h: Regenerate.
18011 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18012 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18014 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18015 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18016 (__strftime_internal): Handle %Ob and %Oh formats.
18017 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18018 (__strptime_internal): Handle %Ob and %Oh formats.
18019 * time/tst-strptime.c (day_tests): Add more tests to parse different
18020 forms of month names including the new %Ob format specifier.
18022 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18025 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18026 define them as the same as primary full month names explicitly.
18027 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18028 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18029 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18030 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18031 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18032 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18033 _NL_WALTMON_12): New enum constants.
18034 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18035 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18037 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18038 walt_mon, and alt_mon_defined members.
18039 (time_output): Output alt_mon and walt_mon members.
18040 (time_read): Read them, initialize them as copies of mon and wmon
18041 respectively if they are missing, initialize alt_mon_defined.
18042 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18043 * locale/programs/locfile-kw.h: Regenerate.
18044 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18045 * localedata/tst-langinfo.c (map): Add tests for the new constants
18046 ALTMON_1 .. ALTMON_12.
18047 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18049 * time/strftime_l.c (f_altmonth): New macro.
18050 (__strftime_internal): Handle %OB format.
18051 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18052 (__strptime_internal): Handle %OB format.
18053 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18054 of month names including the new %OB format specifier.
18056 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18059 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18060 from ABORT_TRANSACTION.
18061 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18062 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18063 ABORT_TRANSACTION_IMPL): Likewise.
18064 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18065 Linux code, but remove the code that aborts transactions.
18067 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18069 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18071 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18073 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18074 in date: "2004-14-09" should be "2004-09-14".
18075 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18076 "2003-15-09" should be "2003-09-15".
18078 2018-01-18 Arjun Shankar <arjun@redhat.com>
18084 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18086 (_int_memalign): check for integer overflow before calling
18088 * malloc/tst-malloc-too-large.c: New test.
18089 * malloc/Makefile: Add tst-malloc-too-large.
18091 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18093 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18094 in date: "2017-24-07" should be "2017-07-24".
18095 * localedata/locales/mai_IN: Likewise.
18096 * localedata/locales/mai_NP: Likewise.
18098 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18100 * po/ru.po: Update translations.
18102 2018-01-17 Joseph Myers <joseph@codesourcery.com>
18105 * sysdeps/hppa/backtrace.c: New file.
18107 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18110 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18111 align La_x86_64_retval to VEC_SIZE.
18113 2018-01-16 Joseph Myers <joseph@codesourcery.com>
18115 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18116 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18118 2018-01-16 Florian Weimer <fweimer@redhat.com>
18120 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18121 Move tst-thread-exit-clobber ...
18122 [$(CXX)] (tests-unsupported): ... to here.
18124 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18126 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18127 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18128 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18129 (_dl_aarch64_cap_flags): Update.
18130 (_DL_HWCAP_COUNT): Update.
18132 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18134 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18135 (_DL_HWCAP_LAST): Remove.
18136 (_DL_HWCAP_COUNT): Move to ...
18137 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18138 (_DL_HWCAP_COUNT): ... here.
18140 2018-01-16 Florian Weimer <fweimer@redhat.com>
18142 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18143 mode with GNU extensions.
18145 2018-01-15 Alan Hayward <alan.hayward@arm.com>
18147 * elf/elf.h (NT_ARM_SVE): Define.
18149 2018-01-15 Florian Weimer <fweimer@redhat.com>
18152 * nptl/tst-minstack-throw.cc: New file.
18153 * nptl/Makefile (tests): Add tst-minstack-throw.
18154 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18155 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18157 2018-01-15 Joseph Myers <joseph@codesourcery.com>
18159 * scripts/build-many-glibcs.py (Context.checkout): Default
18160 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18163 2018-01-13 Carlos O'Donell <carlos@redhat.com>
18166 * elf/elf.h (DF_1_STUB): Define.
18167 (DF_1_PIE): Define.
18169 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18172 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18173 Do not add 0.5 to integer or out-of-range arguments.
18175 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18177 * po/bg.po: Update translations.
18178 * po/cs.po: Likewise.
18179 * po/de.po: Likewise.
18180 * po/ko.po: Likewise.
18181 * po/pl.po: Likewise.
18182 * po/sv.po: Likewise.
18183 * po/uk.po: Likewise.
18184 * po/vi.po: Likewise.
18186 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18188 * aarch64/start.S (_start): Use __wrap_main.
18189 (__wrap_main): New local symbol.
18191 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18195 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18196 generic_getcwd if the path returned by getcwd syscall is not absolute.
18197 * io/tst-getcwd-abspath.c: New test.
18198 * io/Makefile (tests): Add tst-getcwd-abspath.
18200 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18202 * malloc/malloc.c (malloc_consolidate): Add size check.
18204 2018-01-12 Florian Weimer <fweimer@redhat.com>
18206 * support/write_message.c (write_message): Preserve errno.
18207 * support/check.c (print_failure): Likewise.
18208 * support/support_test_verify_impl.c (support_test_verify_impl):
18210 * support/support_test_compare_failure.c
18211 (support_test_compare_failure): Likewise.
18213 2018-01-12 Florian Weimer <fweimer@redhat.com>
18216 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18217 Prevent installation of libnsl.so.
18218 (libnsl-inhibit-o): Do not build (or install) static libraries.
18220 2018-01-12 Egmont Koblinger <egmont@gmail.com>
18223 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18224 before the day number which may produce a double space.
18225 (date_fmt): Likewise.
18227 2018-01-12 Joseph Myers <joseph@codesourcery.com>
18229 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18230 instead of fegetenv.
18232 2018-01-11 Joseph Myers <joseph@codesourcery.com>
18235 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
18236 comment to say exceptions are discarded.
18237 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
18239 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
18242 2018-01-11 Florian Weimer <fweimer@redhat.com>
18244 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
18247 2018-01-11 Florian Weimer <fweimer@redhat.com>
18250 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18251 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18253 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18256 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18257 negative arguments in test for NaN or infinity argument.
18259 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18261 * po/libc.pot: Regenerate.
18263 2018-01-10 Florian Weimer <fweimer@redhat.com>
18266 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18267 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18269 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18271 * hurd/hurd/fd.h: Include <fcntl.h>
18272 (__hurd_at_flags): New function.
18273 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18274 with call to __hurd_at_flags.
18275 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18276 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18278 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18279 (__access_noerrno): Use __faccessat_common instead of access_common.
18280 (__access): Likewise.
18281 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18282 with a call to __faccessat.
18283 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18284 (__faccessat_common): ... this. Move implementation of __access into it when
18285 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18286 reauthenticate_cwdir_at helper to implement AT mechanism.
18287 (__faccessat_noerrno): New function, just calls __faccessat_common.
18288 (__faccessat): New function, just calls __faccessat_common.
18289 (faccessat): Define weak alias.
18291 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18294 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18295 (CFLAGS-s_fmaxmagl.c): New variable.
18296 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18299 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18300 long int for arguments of possibly overflowing addition or
18302 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18304 2018-01-09 Joseph Myers <joseph@codesourcery.com>
18307 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18308 (CFLAGS-e_remainderl.c): New variable.
18311 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18313 (CFLAGS-s_cacoshl.c): Likewise.
18314 (CFLAGS-s_casinhl.c): Likewise.
18315 (CFLAGS-s_catanl.c): Likewise.
18316 (CFLAGS-s_catanhl.c): Likewise.
18317 (CFLAGS-s_cexpl.c): Likewise.
18318 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
18319 (CFLAGS-s_csinhl.c): Likewise.
18320 (CFLAGS-s_clogl.c): Likewise.
18321 (CFLAGS-s_clog10l.c): Likewise.
18322 (CFLAGS-s_csinl.c): Likewise.
18323 (CFLAGS-s_csqrtl.c): Likewise.
18325 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
18326 2017-01-09 Svante Signell <svante.signell@gmail.com>
18328 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
18329 (_hurd_exec_paths): New function.
18330 * hurd/hurd.h (_hurd_exec): Deprecate function.
18331 (_hurd_exec_paths): Declare function.
18332 * hurd/Versions: Export _hurd_exec_paths.
18333 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
18334 (__execve): Use __getcwd to build absolute path, and use
18335 _hurd_exec_paths instead of _hurd_exec.
18336 * sysdeps/mach/hurd/spawni.c: Likewise.
18337 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
18340 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
18342 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
18343 test instead of failing in case of ENOENT returned by posix_openpt.
18345 2018-01-08 Florian Weimer <fweimer@redhat.com>
18347 resolv: Support binary labels in test framework.
18348 * support/resolv_test.c (struct to_be_freed): Remove.
18349 (struct compressed_name): New.
18350 (allocate_compressed_name, ascii_tolower)
18351 (compare_compressed_name): New functions.
18352 (struct resolv_response_builder): Update type of
18353 compression_offsets for use with tsearch. Rempve to_be_freed.
18354 (response_push_pointer_to_free): Remove function.
18355 (resolv_response_add_name): Rewrite using struct compressed_name
18356 and tsearch instead of hsearch_r.
18357 (response_builder_allocate): Remove initialization of
18358 compression_offsets.
18359 (response_builder_free): Update for removal of to_be_freed. Use
18360 tdestroy instead of hdestroy_r.
18361 * resolv/Makefile (tests): Add tst-resolv-binary.
18362 (tst-resolv-binary): Link with -lresolv -lpthread.
18364 2018-01-08 Florian Weimer <fweimer@redhat.com>
18366 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18367 time. Pass positive flag instead of negative flag to
18368 support_test_compare_failure.
18369 (support_test_compare_failure): Change negative parameter to
18371 * support/support_test_compare_failure.c (report)
18372 (support_test_compare_failure): Likewise.
18373 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18374 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18376 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18379 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18380 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18381 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18383 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18385 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18387 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18388 Add s_sincosf-sse2 and s_sincosf-fma.
18389 (CFLAGS-s_sincosf-fma.c): New.
18390 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18391 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18392 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18393 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18394 __sincosf is defined.
18396 2018-01-08 Florian Weimer <fweimer@redhat.com>
18398 * nptl/tst-thread-exit-clobber.cc: New file.
18399 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18401 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18402 (tests): Add tst-thread-exit-clobber.
18403 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18405 2018-01-08 Florian Weimer <fweimer@redhat.com>
18407 * support/check.h (support_static_assert): Define.
18408 (TEST_COMPARE): Use it.
18410 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18412 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18413 [!__RLIM_T_MATCHES_RLIM64_T]
18414 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18415 __getrlimit64. Add libc_hidden_weak.
18417 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
18419 * elf/elf.h (R_RISCV_NONE): New define.
18420 (R_RISCV_32): Likewise.
18421 (R_RISCV_64): Likewise.
18422 (R_RISCV_RELATIVE): Likewise.
18423 (R_RISCV_COPY): Likewise.
18424 (R_RISCV_JUMP_SLOT): Likewise.
18425 (R_RISCV_TLS_DTPMOD32): Likewise.
18426 (R_RISCV_TLS_DTPMOD64): Likewise.
18427 (R_RISCV_TLS_DTPREL32): Likewise.
18428 (R_RISCV_TLS_DTPREL64): Likewise.
18429 (R_RISCV_TLS_TPREL32): Likewise.
18430 (R_RISCV_TLS_TPREL64): Likewise.
18431 * Makerules (make-link-multidir): Make directories before linking into
18433 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18435 (VDSO_HASH_LINUX_4_15): Likewise.
18436 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18437 in subdirectories of lib.
18438 * nptl/Makefile (/librt.so): Always depend on
18439 "$(shared-thread-library)".
18441 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18443 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
18444 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18445 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18447 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
18448 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18450 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
18451 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18452 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18453 * sysdeps/gnu/glob-lstat-compat.c: New file.
18454 * sysdeps/gnu/glob64-lstat-compat.c: New file.
18455 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
18457 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18459 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18460 Reserve 16 chars to reloc_addr before calling _itoa_word.
18462 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18465 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18466 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18468 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18469 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18471 * resource/tst-getrlimit.c: Add copyright header.
18473 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18474 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18476 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18477 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18478 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18479 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18481 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18482 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18483 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18484 RLIM64_INFINITY): Fix values to match the kernel ones.
18485 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18486 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18487 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18488 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18489 getrlimit64@@GLIBC_2_27.
18490 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18492 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18493 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18494 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18495 setrlimit, getrlimit64 and setrlimit64.
18497 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18500 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18501 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18503 2018-01-04 Joseph Myers <joseph@codesourcery.com>
18505 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18506 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18507 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18509 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18513 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18514 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18518 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18519 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18520 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18521 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18523 2018-01-04 Florian Weimer <fweimer@redhat.com>
18526 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18527 Align the stack before calling exit.
18528 * stdlib/tst-makecontext-align.c: New file.
18529 * stdlib/Makefile (tests): Add tst-makecontext-align.
18531 2018-01-04 Florian Weimer <fweimer@redhat.com>
18533 Add support for calling dlvsym from libc.so.
18534 * include/dlfcn.h (__libc_dlvsym): Declare.
18535 * elf/Makefile (tests-static-internal): Add
18536 tst-libc_dlvsym-static.
18537 (tests-internal): Add tst-libc_dlvsym.
18538 (modules-names): Add tst-libc_dlvsym-dso.
18539 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18540 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18541 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18542 object tst-libc_dlvsym-dso.so needs to be built before running
18544 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18545 * elf/Versions: Export __libc_dlvsym.
18546 * elf/dl-libc.c (struct do_dlvsym_args): New.
18547 (do_dlvsym, __libc_dlvsym): New functions.
18548 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18549 (_dl_open_hook2): New variable.
18550 (__libc_register_dl_open_hook): Set it.
18551 * elf/tst-libc_dlvsym-dso.c: New file.
18552 * elf/tst-libc_dlvsym-static.c: Likewise.
18553 * elf/tst-libc_dlvsym.c: Likewise.
18554 * elf/tst-libc_dlvsym.h: Likewise.
18556 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18558 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18559 include <sys/mount.h>.
18561 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18563 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18564 Add __NO_MATH_ERRNO__ check.
18566 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18568 * sysdeps/mips/mips32/libm-test-ulps: Update.
18569 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18571 2018-01-02 Florian Weimer <fweimer@redhat.com>
18573 * misc/tst-pselect.c: Add copyright header.
18575 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18577 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18579 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18581 (settrlimit): Rename into setrlimit.
18582 (__sttrlimit): Rename into __setrlimit.
18584 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18585 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18586 never defined in that case.
18588 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18590 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18592 * sysdeps/arm/libm-test-ulps: Update.
18594 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18595 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18597 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18599 * NEWS: Add cosf and sincosf to list of optimized functions.
18601 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18604 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18605 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18606 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18607 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18609 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18612 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18614 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18615 making a copy of it.
18617 2018-01-01 Joseph Myers <joseph@codesourcery.com>
18619 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18620 trailing whitespace removed.
18621 * scripts/config.guess: Update to version 2018-01-01.
18622 * scripts/config.sub: Update to version 2018-01-01.
18623 * scripts/move-if-change: Update from gnulib.
18625 * NEWS: Update copyright dates.
18626 * catgets/gencat.c (print_version): Likewise.
18627 * csu/version.c (banner): Likewise.
18628 * debug/catchsegv.sh: Likewise.
18629 * debug/pcprofiledump.c (print_version): Likewise.
18630 * debug/xtrace.sh (do_version): Likewise.
18631 * elf/ldconfig.c (print_version): Likewise.
18632 * elf/ldd.bash.in: Likewise.
18633 * elf/pldd.c (print_version): Likewise.
18634 * elf/sotruss.sh: Likewise.
18635 * elf/sprof.c (print_version): Likewise.
18636 * iconv/iconv_prog.c (print_version): Likewise.
18637 * iconv/iconvconfig.c (print_version): Likewise.
18638 * locale/programs/locale.c (print_version): Likewise.
18639 * locale/programs/localedef.c (print_version): Likewise.
18640 * login/programs/pt_chown.c (print_version): Likewise.
18641 * malloc/memusage.sh (do_version): Likewise.
18642 * malloc/memusagestat.c (print_version): Likewise.
18643 * malloc/mtrace.pl: Likewise.
18644 * manual/libc.texinfo: Likewise.
18645 * nptl/version.c (banner): Likewise.
18646 * nscd/nscd.c (print_version): Likewise.
18647 * nss/getent.c (print_version): Likewise.
18648 * nss/makedb.c (print_version): Likewise.
18649 * posix/getconf.c (main): Likewise.
18650 * scripts/test-installation.pl: Likewise.
18651 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18653 * All files with FSF copyright notices: Update copyright dates
18654 using scripts/update-copyrights.
18655 * locale/programs/charmap-kw.h: Regenerated.
18656 * locale/programs/locfile-kw.h: Likewise.
18658 2017-12-31 Zack Weinberg <zackw@panix.com>
18660 * libio/bits/libio-ldbl.h: Correct check for improper
18661 inclusion. Add own multiple include guard.
18663 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18664 Dmitry V. Levin <ldv@altlinux.org>
18668 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18669 string token expansion. Check for NULL pointer or empty string possibly
18670 returned by expand_dynamic_string_token.
18671 (decompose_rpath): Check for empty path after dynamic string
18674 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18677 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18679 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18680 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18681 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18682 and PTRACE_SYSCALL.
18683 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18684 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18685 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18686 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18687 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18688 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18690 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18691 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18692 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18693 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18694 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18695 bits/ptrace-shared.h.
18696 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18697 <bits/ptrace-shared.h>.
18698 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18699 __ptrace_peeksiginfo_flags, ptrace): Remove.
18700 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18701 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18702 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18703 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18704 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18706 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18709 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18710 end of the loop. Improve comments.
18712 2017-12-29 Zack Weinberg <zackw@panix.com>
18715 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18716 might be set on success.
18718 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18721 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18722 is unchanged on success.
18724 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18726 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18728 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18729 expand_dynamic_string_token): Likewise.
18730 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18733 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18736 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18737 is set and name contains ':', and all code depending on these checks.
18739 2017-12-24 Zack Weinberg <zackw@panix.com>
18741 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18742 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18744 * libio/libio.h: Rename the original version of this file to
18745 libio/bits/libio.h. Error out if not included by stdio.h or the
18747 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18748 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18749 if not included by bits/libio.h or the stub _G_config.h.
18750 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18751 sysdeps/unix/sysv/linux/bits. Error out if not included by
18752 bits/libio.h or the stub _G_config.h.
18753 * libio/stdio.h: Include bits/libio.h, not libio.h.
18754 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18755 well as libio.h and _G_config.h.
18757 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18758 * libio/strfile.h, stdio-common/vfscanf.c
18759 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18760 Include stdio.h, not _G_config.h nor libio.h.
18761 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18762 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18764 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18766 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18769 * stdlib/getrandom.c (getrandom): Fix comment.
18770 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18772 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18775 * manual/arith.texi (strtoul): Fix a typo.
18778 * manual/arith.texi (finite): Fix the description of the return
18781 2017-12-22 Eric Blake <ebb9@byu.net>
18783 Avoid gcc warnings on cygwin
18784 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18785 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18786 Avoid unused variable.
18788 2017-12-22 Florian Weimer <fweimer@redhat.com>
18790 * io/Makefile (routines): Add copy_file_range.
18791 (tests): Add tst-copy_file_range.
18792 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18793 * io/Versions (GLIBC_2.27): Export copy_file_range.
18794 * io/copy_file_range-compat.c: New file.
18795 * io/copy_file_range.c: Likewise.
18796 * io/tst-copy_file_range-compat.c: Likewise.
18797 * io/tst-copy_file_range.c: Likewise.
18798 * manual/llio.texi (Copying File Data): New section.
18799 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18800 * support/Makefile (libsupport-routines): Add support-xfstat,
18801 xftruncate, xlseek.
18802 * support/support-xfstat.c: New file.
18803 * support/xftruncate.c: Likewise.
18804 * support/xlseek.c: Likewise.
18805 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18806 * sysdeps/unix/sysv/linux/**.abilist: Update.
18807 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18809 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18811 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18812 disable-multi-arch variant to aarch64-linux-gnu.
18814 2017-12-20 Joseph Myers <joseph@codesourcery.com>
18816 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18817 trailing whitespace removed.
18818 * scripts/config.guess: Update to version 2017-12-17.
18819 * scripts/config.sub: Update to version 2017-11-23.
18820 * scripts/install-sh: Update to version 2017-09-23.17.
18821 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18823 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18825 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18826 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18827 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18828 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18829 * sysdeps/tile/crtn.S: Likewise.
18830 * sysdeps/tile/dl-start.S (_start): Likewise.
18831 * sysdeps/tile/dl-trampoline.S: Likewise.
18832 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18833 * sysdeps/tile/start.S (_start): Likewise.
18834 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18835 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18836 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18837 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18838 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18839 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18840 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18842 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18844 * sysdeps/tile/preconfigure: Remove tilegx folder.
18845 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18846 * sysdeps/tile/Implies: ... here.
18847 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18848 * sysdeps/tile/Makefile: ... here.
18849 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18850 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18851 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18852 * sysdeps/tile/bits/wordsize.h: ... here.
18853 * sysdeps/tile/tilegx/*: Move to ...
18854 * sysdeps/tile/*: ... here.
18855 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18856 * sysdeps/tile/tilegx32/Implies: ... here.
18857 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18858 * sysdeps/tile/tilegx64/Implies: ... here.
18859 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18861 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18862 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18863 * sysdeps/unix/sysv/linux/tile/*: ... here.
18864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18865 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18867 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18869 * README: Remove tilepro-*-linux-gnu from supported architecture.
18870 * scripts/build-many-glibcs.py: Likewise.
18871 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18872 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18873 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18874 elf_machine_matches_host, elf_machine_dynamic,
18875 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18876 howto, elf_machine_rela): Likewise.
18877 * sysdeps/tile/dl-start.S (_start): Likewise.
18878 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18879 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18880 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18881 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18882 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18883 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18885 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18886 * sysdeps/tile/preconfigure: Likewise.
18887 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18888 POINTER_CHK_GUARD): Likewise.
18889 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18890 * sysdeps/tile/start.S (_start): Likewise.
18891 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18893 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18894 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18896 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18897 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18898 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18900 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18901 * sysdeps/tile/tilepro/Implies: Remove file.
18902 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18903 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18904 * sysdeps/tile/tilepro/memchr.c: Likewise.
18905 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18906 * sysdeps/tile/tilepro/memset.c: Likewise.
18907 * sysdeps/tile/tilepro/memusage.h: Likewise.
18908 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18909 * sysdeps/tile/tilepro/strchr.c: Likewise.
18910 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18911 * sysdeps/tile/tilepro/strlen.c: Likewise.
18912 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18913 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18914 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18915 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18916 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18917 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18918 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18920 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18921 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18922 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18923 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18924 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18925 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18926 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18927 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18928 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18929 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18930 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18931 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18932 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18933 tilepro mention in comment.
18935 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18936 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18937 * nptl/pthread_join_common.c: New file: common function used on
18938 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18939 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18940 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18941 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18942 (cleanup): Move definition to pthread_join_common.c.
18943 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18944 Remove superflous checks.
18945 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18948 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18950 * sysdeps/aarch64/libm-test-ulps: Update.
18952 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18954 * sysdeps/aarch64/memset.S (MEMSET): Define.
18956 2017-12-20 Florian Weimer <fweimer@redhat.com>
18959 nptl: Provide full implementation of pthread_self in libc.so.
18960 * nptl/Makefile (routines): Add pthread_self.
18961 (libpthread-routines): Replace pthread_self with
18962 compat-pthread_self.
18963 * nptl/forward.c (pthread_self): Remove.
18964 * nptl/nptl-init.c (pthread_functions): Do not initialize
18966 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18967 * nptl/compat-pthread_self.c: New file.
18968 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18969 Remove ptr_pthread_self.
18971 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18973 * posix/regcomp.c: Fix spelling in comments.
18974 * posix/regex.h: Likewise.
18975 * posix/regex_internal.c: Likewise.
18976 * posix/regexec.c: Likewise.
18978 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18981 * math/Makefile [C++] (tests): Add test for iseqsig.
18982 * math/math.h [C++] (iseqsig): New implementation, which does
18983 not rely on __MATH_TG/__builtin_types_compatible_p.
18984 * math/test-math-iseqsig.cc: New file.
18985 * sysdeps/powerpc/powerpc64le/Makefile
18986 (CFLAGS-test-math-iseqsig.cc): New variable.
18988 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18990 * elf/dl-load.c (is_trusted_path): Remove.
18991 (fillin_rpath): Remove check_trusted argument and its use,
18992 all callers changed.
18994 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18997 * Makeconfig (link-pie-before-libc): Replace -pie with
18998 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18999 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19000 (tst-dlopen-aout-no-pie): New.
19001 (LDFLAGS-tst-prelink): Removed.
19002 (tst-prelink-no-pie): New.
19003 (LDFLAGS-tst-main1): Removed.
19004 (tst-main1-no-pie): New.
19005 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19006 (tst-gmon-no-pie): New.
19008 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19010 * manual/install.texi: Document that --enable-static-pie
19012 * INSTALL: Regenerated.
19014 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19017 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19020 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19024 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19028 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19030 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19031 <errno.h>. Include "eexp.tbl".
19032 (half): New constant.
19034 (__ieee754_exp): Rewrite.
19035 (__slowexp): Remove prototype.
19036 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19037 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19038 * sysdeps/i386/fpu/slowexp.c: Likewise.
19039 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19040 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19041 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19042 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19043 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19044 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19045 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19047 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19048 (CPPFLAGS-slowexp.c): Remove variable.
19049 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19050 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19051 (CFLAGS-slowexp-fma.c): Remove variable.
19052 (CFLAGS-slowexp-fma4.c): Likewise.
19053 (CFLAGS-slowexp-avx.c): Likewise.
19054 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19056 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19057 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19058 * math/Makefile (type-double-routines): Remove slowexp.
19059 * manual/probes.texi (slowexp_p6): Remove.
19060 (slowexp_p32): Likewise.
19062 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19064 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19067 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19069 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19073 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19075 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19076 <errno.h>. Include "eexp.tbl".
19077 (half): New constant.
19079 (__ieee754_exp): Rewrite.
19080 (__slowexp): Remove prototype.
19081 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19082 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19083 * sysdeps/i386/fpu/slowexp.c: Likewise.
19084 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19085 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19086 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19087 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19088 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19089 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19090 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19092 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19093 (CPPFLAGS-slowexp.c): Remove variable.
19094 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19095 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19096 (CFLAGS-slowexp-fma.c): Remove variable.
19097 (CFLAGS-slowexp-fma4.c): Likewise.
19098 (CFLAGS-slowexp-avx.c): Likewise.
19099 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19101 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19102 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19103 * math/Makefile (type-double-routines): Remove slowexp.
19104 * manual/probes.texi (slowexp_p6): Remove.
19105 (slowexp_p32): Likewise.
19107 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19108 James Clarke <jrtc27@jrtc27.com>
19111 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19114 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19117 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19120 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19123 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19124 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19125 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19126 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19129 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19132 * bits/types/__cancel_jmp_buf_tag.h: New file.
19133 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19134 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19135 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19136 * nptl/Makefile (headers): Add
19137 bits/types/__cancel_jmp_buf_tag.h.
19138 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19139 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19140 * sysdeps/nptl/pthread.h: Include
19141 <bits/types/__cancel_jmp_buf_tag.h>.
19142 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19144 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19146 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19148 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19149 --enable-static-pie variants to x86_64, x32 and i686.
19151 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19154 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19155 argument for attrubutes. All callers changed.
19156 (__inline_mathop1): Likewise. All callers changed.
19157 (__inline_mathop): Likewise. All callers changed.
19158 [__USE_MISC] (scalbn): Use __inline_forward instead of
19159 __inline_forward_c.
19160 [__USE_ISOC99] (scalbln): Likewise.
19161 [__USE_ISOC99] (nearbyint): Likewise.
19162 [__USE_ISOC99] (lrint): Likewise.
19163 [__USE_MISC] (scalbnf): Likewise.
19164 [__USE_ISOC99] (scalblnf): Likewise.
19165 [__USE_ISOC99] (nearbyintf): Likewise.
19166 [__USE_ISOC99] (lrintf): Likewise.
19167 [__USE_MISC] (scalbnl): Likewise.
19168 [__USE_ISOC99] (scalblnl): Likewise.
19169 [__USE_ISOC99] (nearbyintl): Likewise.
19170 [__USE_ISOC99] (lrintl): Likewise.
19171 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19172 __inline_mathop and __m81_defun changed.
19174 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19175 CPU or FPU for ARM hard-float configurations.
19177 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19179 * nptl/tst-attr3.c: Include <libc-diag.h>.
19180 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19182 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19184 * string/tester.c (test_strncat): Also disable -Warray-bounds
19185 warnings for two tests.
19187 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19190 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19191 $(cc-pie-default) == yes.
19192 * config.make.in (cc-pie-default): New.
19193 * configure.ac (libc_cv_pie_default): Renamed to ...
19194 (libc_cv_cc_pie_default): This.
19195 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19196 * configure: Regenerated.
19198 2017-12-18 Florian Weimer <fweimer@redhat.com>
19201 ld.so: Harden dl-libc/libdl hooks.
19202 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19203 (rtld_active): New function.
19204 * dlfcn/dladdr.c (__dladdr): Call it.
19205 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19206 * dlfcn/dlclose.c (__dlcose): Likewise.
19207 * dlfcn/dlerror.c (__dlerror): Likewise.
19208 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19209 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19210 * dlfcn/dlopen.c (__dlopen): Likewise.
19211 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19212 * dlfcn/dlsym.c (__dlsym): Likewise.
19213 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19214 * libio/vtables.c (_IO_vtable_check): Likewise.
19215 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19216 (__libc_dlclose): Likewise.
19217 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19220 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19223 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19224 buffers for readlink input and output.
19226 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19229 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19230 inhibit_stack_protector.
19233 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
19234 inhibit_stack_protector.
19236 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
19239 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
19240 code and invocation.
19242 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19244 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
19246 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
19249 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19251 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19253 * sysdeps/s390/fpu/libm-test-ulps: Update.
19255 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19259 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19261 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19262 constants to s_sincosf.h file.
19263 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19264 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19266 * sysdeps/ieee754/flt-32/s_sincosf.h:
19269 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19272 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19275 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19278 * INSTALL: Regenerated.
19279 * Makeconfig (real-static-start-installed-name): New.
19280 (pic-default): Updated for --enable-static-pie.
19281 (pie-default): New for --enable-static-pie.
19282 (default-pie-ldflag): Likewise.
19283 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19284 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19285 Replace $(static-start-installed-name) with
19286 $(real-static-start-installed-name).
19287 (+prectorT): Updated for --enable-static-pie.
19288 (+postctorT): Likewise.
19289 (CFLAGS-.o): Add $(pie-default).
19290 (CFLAGS-.op): Likewise.
19291 * NEWS: Mention --enable-static-pie.
19292 * config.h.in (ENABLE_STATIC_PIE): New.
19293 * configure.ac (--enable-static-pie): New configure option.
19294 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19295 (have-static-pie): Likewise.
19296 Enable static PIE if linker supports --no-dynamic-linker.
19297 (ENABLE_STATIC_PIE): New AC_DEFINE.
19298 (enable-static-pie): New LIBC_CONFIG_VAR.
19299 * configure: Regenerated.
19300 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19301 gr$(start-installed-name) for --enable-static-pie.
19302 (extra-objs): Likewise.
19303 (install-lib): Likewise.
19304 (extra-objs): Add static-reloc.o and static-reloc.os
19305 ($(objpfx)$(start-installed-name)): Also depend on
19306 $(objpfx)static-reloc.o.
19307 ($(objpfx)r$(start-installed-name)): New.
19308 ($(objpfx)g$(start-installed-name)): Also depend on
19309 $(objpfx)static-reloc.os.
19310 ($(objpfx)gr$(start-installed-name)): New.
19311 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19313 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19315 * csu/static-reloc.c: New file.
19316 * elf/Makefile (routines): Add dl-reloc-static-pie.
19317 (elide-routines.os): Likewise.
19318 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
19319 (tst-tls1-static-non-pie-no-pie): New.
19320 * elf/dl-reloc-static-pie.c: New file.
19321 * elf/dl-support.c (_dl_get_dl_main_map): New function.
19322 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
19323 STATIC_PIE_BOOTSTRAP.
19324 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19325 * gmon/Makefile (tests): Add tst-gmon-static-pie.
19326 (tests-static): Likewise.
19327 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
19328 (tst-gmon-static-no-pie): New.
19329 (CFLAGS-tst-gmon-static-pie.c): Likewise.
19330 (CRT-tst-gmon-static-pie): Likewise.
19331 (tst-gmon-static-pie-ENV): Likewise.
19332 (tests-special): Likewise.
19333 ($(objpfx)tst-gmon-static-pie.out): Likewise.
19334 (clean-tst-gmon-static-pie-data): Likewise.
19335 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
19336 * gmon/tst-gmon-static-pie.c: New file.
19337 * manual/install.texi: Document --enable-static-pie.
19338 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
19339 (_dl_get_dl_main_map): Likewise.
19340 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
19341 * sysdeps/x86_64/configure.ac: Likewise.
19342 * sysdeps/i386/configure: Regenerated.
19343 * sysdeps/x86_64/configure: Likewise.
19344 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
19345 (ASFLAGS-.op): Likewise.
19347 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19349 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
19350 * posix/tst-mmap-offset.c (fname): Use /tmp.
19351 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
19353 2017-12-15 Steve Ellcey <sellcey@cavium.com>
19355 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19357 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19359 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19362 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19364 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19365 --with-float=hard for arm-linux-gnueabihf configurations.
19368 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19369 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19370 ($(mo-installed)): Use $(objpfx)%.mo.
19371 (realclean): Remove rule.
19373 * po/Makefile (linguas): Remove rule and dependencies.
19374 (linguas.mo): Likewise.
19375 (.PHONY): Do not depend on linguas and linguas.mo.
19376 (podir): Remove variable.
19377 (pofiles): Likewise.
19378 [$(pofiles)] (%.po): Remove rule.
19380 * sysdeps/sparc/sparc32/Makefile
19381 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19382 start-of-line whitespace in argument of echo.
19383 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19384 with whitespace. Generate __wrap_.udiv alias.
19385 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19386 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19387 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19388 * sysdeps/sparc/sparc32/urem.S: Likewise.
19390 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19392 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19393 for aligned inputs.
19395 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19397 * benchtests/bench-strcmp.c: Print output in JSON format.
19399 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19401 2017-12-14 Florian Weimer <fweimer@redhat.com>
19405 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19406 the expanded path string.
19408 2017-12-14 Florian Weimer <fweimer@redhat.com>
19412 * elf/dl-load.c (system_dirs): Update comment.
19413 (nsystem_dirs_len): Use array_length.
19414 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19416 2017-12-14 Florian Weimer <fweimer@redhat.com>
19418 Simplify compiling most of support/ outside of glibc.
19419 * support/check_addrinfo.c: Include <string.h>.
19420 * support/check_dns_packet.c: Likewise.
19421 * support/check_hostent.c: Likewise.
19422 * support/support_can_chroot.c: Include <support/xunistd.h>.
19423 * support/support_format_addrinfo.c: Include <stdlib.h>
19424 * support/support_format_dns_packet.c: Include <stdbool.h>.
19425 * support/support_format_hostent.c: Include <stdlib.h>.
19426 * support/support_format_netent.c: Likewise.
19427 * support/support_write_string.c: Include <support/xunistd.h>.
19428 * support/xdlfcn.c: Include <stddef.h>.
19430 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19432 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19434 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19435 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19437 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19438 (sysdeps_routines): Add memset-niagara7.
19439 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19441 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19443 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19444 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19445 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19446 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19447 Add niagara7 option.
19448 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19451 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19452 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19453 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19455 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19457 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19458 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19459 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19460 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19461 and __memmove_niagara7.
19462 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19463 Add niagara7 option.
19464 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19465 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19466 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19467 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19468 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19470 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19472 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19473 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19474 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19475 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19477 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19478 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19479 _dl_sparc_cap_flags array.
19480 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19482 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19484 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19485 time whenever possible.
19487 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19489 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19490 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19492 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19494 * soft-fp/fmadf4.c: Move to ....
19495 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19496 * soft-fp/fmasf4.c: Move to ....
19497 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19498 * soft-fp/fmatf4.c: Move to ....
19499 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19500 * sysdeps/ieee754/soft-fp/Makefile: New file.
19501 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19502 * sysdeps/arm/preconfigure: Regenerated.
19503 * sysdeps/arm/nofpu/Implies: New file.
19504 * sysdeps/arm/s_fma.c: Remove file.
19505 * sysdeps/arm/s_fmaf.c: Likewise.
19506 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19507 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19508 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19509 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19510 * sysdeps/microblaze/s_fma.c: Remove file.
19511 * sysdeps/microblaze/s_fmaf.c: Likewise.
19512 * sysdeps/mips/mips32/nofpu/Implies: New file.
19513 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19514 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19515 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19516 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19517 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19518 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19519 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19521 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19522 * sysdeps/nios2/s_fma.c: Remove file.
19523 * sysdeps/nios2/s_fmaf.c: Likewise.
19524 * sysdeps/sh/nofpu/Implies: New file.
19525 * sysdeps/sh/s_fma.c: Remove file.
19526 * sysdeps/sh/s_fmaf.c: Likewise.
19527 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19528 * sysdeps/tile/s_fma.c: Remove file.
19529 * sysdeps/tile/s_fmaf.c: Likewise.
19531 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19533 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19534 Add s_cosf-sse2 and s_cosf-fma.
19535 (CFLAGS-s_cosf-fma.c): New.
19536 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19537 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19538 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19540 2017-12-12 Steve Ellcey <sellcey@cavium.com>
19542 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19544 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19546 * libio/Makefile (tests): Add tst-bz22415.
19547 (tst-bz22415-ENV): New rule.
19548 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19549 (tests-special): Add tst-bz22415-mem.out.
19550 ($(objpfx)tst-bz22415-mem.out): New rule.
19551 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19552 in case of a successful seek operation.
19553 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19554 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19555 buffer is required.
19556 * libio/tst-bz22415.c: New test.
19558 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19560 2017-12-12 James Clarke <jrtc27@jrtc27.com>
19562 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19563 __IPC_64 to 0 to avoid IPC_64 being set.
19565 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19568 * math/bits/mathcalls.h (nextafter): Remove const.
19569 (nexttoward): Likewise.
19571 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19573 * configure.ac (--with-fp): Remove configure option.
19574 (with_fp_cond): New variable.
19575 (libc_cv_with_fp): New configure test. Use this variable instead
19577 * configure: Regenerated.
19578 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19579 * manual/install.texi (Configuring and compiling): Remove
19581 * INSTALL: Regenerated.
19582 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19583 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19584 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19585 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19586 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19587 use --without-fp to configure glibc.
19589 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
19591 * manual/locale.texi (nl_langinfo): Fix a typo.
19593 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
19596 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19598 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19600 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19601 (CFLAGS-argp-parse.c): Likewise.
19602 (CFLAGS-argp-fmtstream.c): Likewise.
19603 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19604 (CPPFLAGS-sha512-crypt.c): Likewise.
19605 (CPPFLAGS-md5-crypt.c): Likewise.
19606 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19607 (CFLAGS-stack_chk_fail_local.c): Likewise.
19608 (CFLAGS-backtrace.c): Likewise.
19609 (CFLAGS-sprintf_chk.c): Likewise.
19610 (CFLAGS-snprintf_chk.c): Likewise.
19611 (CFLAGS-vsprintf_chk.c): Likewise.
19612 (CFLAGS-vsnprintf_chk.c): Likewise.
19613 (CFLAGS-asprintf_chk.c): Likewise.
19614 (CFLAGS-vasprintf_chk.c): Likewise.
19615 (CFLAGS-obprintf_chk.c): Likewise.
19616 (CFLAGS-dprintf_chk.c): Likewise.
19617 (CFLAGS-vdprintf_chk.c): Likewise.
19618 (CFLAGS-printf_chk.c): Likewise.
19619 (CFLAGS-fprintf_chk.c): Likewise.
19620 (CFLAGS-vprintf_chk.c): Likewise.
19621 (CFLAGS-vfprintf_chk.c): Likewise.
19622 (CFLAGS-gets_chk.c): Likewise.
19623 (CFLAGS-fgets_chk.c): Likewise.
19624 (CFLAGS-fgets_u_chk.c): Likewise.
19625 (CFLAGS-fread_chk.c): Likewise.
19626 (CFLAGS-fread_u_chk.c): Likewise.
19627 (CFLAGS-swprintf_chk.c): Likewise.
19628 (CFLAGS-vswprintf_chk.c): Likewise.
19629 (CFLAGS-wprintf_chk.c): Likewise.
19630 (CFLAGS-fwprintf_chk.c): Likewise.
19631 (CFLAGS-vwprintf_chk.c): Likewise.
19632 (CFLAGS-vfwprintf_chk.c): Likewise.
19633 (CFLAGS-fgetws_chk.c): Likewise.
19634 (CFLAGS-fgetws_u_chk.c): Likewise.
19635 (CFLAGS-read_chk.c): Likewise.
19636 (CFLAGS-pread_chk.c): Likewise.
19637 (CFLAGS-pread64_chk.c): Likewise.
19638 (CFLAGS-recv_chk.c): Likewise.
19639 (CFLAGS-recvfrom_chk.c): Likewise.
19640 (CFLAGS-tst-longjmp_chk.c): Likewise.
19641 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19642 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19643 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19644 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19645 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19646 (CFLAGS-tst-chk1.c): Likewise.
19647 (CFLAGS-tst-chk2.c): Likewise.
19648 (CFLAGS-tst-chk3.c): Likewise.
19649 (CFLAGS-tst-chk4.cc): Likewise.
19650 (CFLAGS-tst-chk5.cc): Likewise.
19651 (CFLAGS-tst-chk6.cc): Likewise.
19652 (CFLAGS-tst-lfschk1.c): Likewise.
19653 (CFLAGS-tst-lfschk2.c): Likewise.
19654 (CFLAGS-tst-lfschk3.c): Likewise.
19655 (CFLAGS-tst-lfschk4.cc): Likewise.
19656 (CFLAGS-tst-lfschk5.cc): Likewise.
19657 (CFLAGS-tst-lfschk6.cc): Likewise.
19658 (CFLAGS-tst-ssp-1.c): Likewise.
19659 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19660 (CFLAGS-scandir64.c): Likewise.
19661 (CFLAGS-scandir-tail.c): Likewise.
19662 (CFLAGS-scandir64-tail.c): Likewise.
19663 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19664 (CFLAGS-dl-tunables.c): Likewise.
19665 (CFLAGS-dl-runtime.c): Likewise.
19666 (CFLAGS-dl-lookup.c): Likewise.
19667 (CFLAGS-dl-iterate-phdr.c): Likewise.
19668 (CFLAGS-vismain.c): Likewise.
19669 (CFLAGS-tst-linkall-static.c): Likewise.
19670 (CFLAGS-tst-linkall-static.c): Likewise.
19671 (CPPFLAGS-dl-load.c): Likewise.
19672 (CFLAGS-ldconfig.c): Likewise.
19673 (CFLAGS-dl-cache.c): Likewise.
19674 (CFLAGS-cache.c): Likewise.
19675 (CFLAGS-rtld.c): Likewise.
19676 (CFLAGS-multiload.c): Likewise.
19677 (CFLAGS-filtmod1.c): Likewise.
19678 (CFLAGS-tst-align.c): Likewise.
19679 (CFLAGS-tst-align2.c): Likewise.
19680 (CFLAGS-tst-alignmod.c): Likewise.
19681 (CFLAGS-tst-alignmod2.c): Likewise.
19682 (CPPFLAGS-tst-execstack.c): Likewise.
19683 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19684 (CFLAGS-tst-latepthreadmod.c): Likewise.
19685 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19686 (CFLAGS-getgrnam_r.c): Likewise.
19687 (CFLAGS-getgrent_r.c): Likewise.
19688 (CFLAGS-getgrent.c): Likewise.
19689 (CFLAGS-fgetgrent.c): Likewise.
19690 (CFLAGS-fgetgrent_r.c): Likewise.
19691 (CFLAGS-putgrent.c): Likewise.
19692 (CFLAGS-initgroups.c): Likewise.
19693 (CFLAGS-getgrgid.c): Likewise.
19694 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19695 (CFLAGS-getsgent.c): Likewise.
19696 (CFLAGS-fgetsgent.c): Likewise.
19697 (CFLAGS-fgetsgent_r.c): Likewise.
19698 (CFLAGS-putsgent.c): Likewise.
19699 (CFLAGS-getsgnam.c): Likewise.
19700 (CFLAGS-getsgnam_r.c): Likewise.
19701 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19702 (CFLAGS-iconv_charmap.c): Likewise.
19703 (CFLAGS-dummy-repertoire.c): Likewise.
19704 (CFLAGS-charmap.c): Likewise.
19705 (CFLAGS-linereader.c): Likewise.
19706 (CFLAGS-simple-hash.c): Likewise.
19707 (CFLAGS-gconv_conf.c): Likewise.
19708 (CFLAGS-iconvconfig.c): Likewise.
19709 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19710 (CFLAGS-gethstbyad.c): Likewise.
19711 (CFLAGS-gethstbynm_r.c): Likewise.
19712 (CFLAGS-gethstbynm.c): Likewise.
19713 (CFLAGS-gethstbynm2_r.c): Likewise.
19714 (CFLAGS-gethstbynm2.c): Likewise.
19715 (CFLAGS-gethstent_r.c): Likewise.
19716 (CFLAGS-gethstent.c): Likewise.
19717 (CFLAGS-rcmd.c): Likewise.
19718 (CFLAGS-getnetbynm_r.c): Likewise.
19719 (CFLAGS-getnetbynm.c): Likewise.
19720 (CFLAGS-getnetbyad_r.c): Likewise.
19721 (CFLAGS-getnetbyad.c): Likewise.
19722 (CFLAGS-getnetent_r.c): Likewise.
19723 (CFLAGS-getnetent.c): Likewise.
19724 (CFLAGS-getaliasent_r.c): Likewise.
19725 (CFLAGS-getaliasent.c): Likewise.
19726 (CFLAGS-getrpcent_r.c): Likewise.
19727 (CFLAGS-getrpcent.c): Likewise.
19728 (CFLAGS-getservent_r.c): Likewise.
19729 (CFLAGS-getservent.c): Likewise.
19730 (CFLAGS-getprtent_r.c): Likewise.
19731 (CFLAGS-getprtent.c): Likewise.
19732 (CFLAGS-either_ntoh.c): Likewise.
19733 (CFLAGS-either_hton.c): Likewise.
19734 (CFLAGS-getnetgrent.c): Likewise.
19735 (CFLAGS-getnetgrent_r.c): Likewise.
19736 (CFLAGS-tst-checks-posix.c): Likewise.
19737 (CFLAGS-tst-sockaddr.c): Likewise.
19738 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19739 (CFLAGS-tst-translit.c): Likewise.
19740 (CFLAGS-tst-gettext2.c): Likewise.
19741 (CFLAGS-tst-codeset.c): Likewise.
19742 (CFLAGS-tst-gettext3.c): Likewise.
19743 (CFLAGS-tst-gettext4.c): Likewise.
19744 (CFLAGS-tst-gettext5.c): Likewise.
19745 (CFLAGS-tst-gettext6.c): Likewise.
19746 * io/Makefile (CFLAGS-open.c): Likewise.
19747 (CFLAGS-open64.c): Likewise.
19748 (CFLAGS-creat.c): Likewise.
19749 (CFLAGS-creat64.c): Likewise.
19750 (CFLAGS-fcntl.c): Likewise.
19751 (CFLAGS-poll.c): Likewise.
19752 (CFLAGS-ppoll.c): Likewise.
19753 (CFLAGS-lockf.c): Likewise.
19754 (CFLAGS-statfs.c): Likewise.
19755 (CFLAGS-fstatfs.c): Likewise.
19756 (CFLAGS-statvfs.c): Likewise.
19757 (CFLAGS-fstatvfs.c): Likewise.
19758 (CFLAGS-fts.c): Likewise.
19759 (CFLAGS-fts64.c): Likewise.
19760 (CFLAGS-ftw.c): Likewise.
19761 (CFLAGS-ftw64.c): Likewise.
19762 (CFLAGS-lockf.c): Likewise.
19763 (CFLAGS-posix_fallocate.c): Likewise.
19764 (CFLAGS-posix_fallocate64.c): Likewise.
19765 (CFLAGS-fallocate.c): Likewise.
19766 (CFLAGS-fallocate64.c): Likewise.
19767 (CFLAGS-read.c): Likewise.
19768 (CFLAGS-write.c): Likewise.
19769 (CFLAGS-test-stat.c): Likewise.
19770 (CFLAGS-test-lfs.c): Likewise.
19771 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19772 (CFLAGS-fputc.c): Likewise.
19773 (CFLAGS-fputwc.c): Likewise.
19774 (CFLAGS-freopen64.c): Likewise.
19775 (CFLAGS-freopen.c): Likewise.
19776 (CFLAGS-fseek.c): Likewise.
19777 (CFLAGS-fseeko64.c): Likewise.
19778 (CFLAGS-fseeko.c): Likewise.
19779 (CFLAGS-ftello64.c): Likewise.
19780 (CFLAGS-ftello.c): Likewise.
19781 (CFLAGS-fwide.c): Likewise.
19782 (CFLAGS-genops.c): Likewise.
19783 (CFLAGS-getc.c): Likewise.
19784 (CFLAGS-getchar.c): Likewise.
19785 (CFLAGS-getwc.c): Likewise.
19786 (CFLAGS-getwchar.c): Likewise.
19787 (CFLAGS-iofclose.c): Likewise.
19788 (CFLAGS-iofflush.c): Likewise.
19789 (CFLAGS-iofgetpos64.c): Likewise.
19790 (CFLAGS-iofgetpos.c): Likewise.
19791 (CFLAGS-iofgets.c): Likewise.
19792 (CFLAGS-iofgetws.c): Likewise.
19793 (CFLAGS-iofputs.c): Likewise.
19794 (CFLAGS-iofputws.c): Likewise.
19795 (CFLAGS-iofread.c): Likewise.
19796 (CFLAGS-iofsetpos64.c): Likewise.
19797 (CFLAGS-iofsetpos.c): Likewise.
19798 (CFLAGS-ioftell.c): Likewise.
19799 (CFLAGS-iofwrite.c): Likewise.
19800 (CFLAGS-iogetdelim.c): Likewise.
19801 (CFLAGS-iogetline.c): Likewise.
19802 (CFLAGS-iogets.c): Likewise.
19803 (CFLAGS-iogetwline.c): Likewise.
19804 (CFLAGS-ioputs.c): Likewise.
19805 (CFLAGS-ioseekoff.c): Likewise.
19806 (CFLAGS-ioseekpos.c): Likewise.
19807 (CFLAGS-iosetbuffer.c): Likewise.
19808 (CFLAGS-iosetvbuf.c): Likewise.
19809 (CFLAGS-ioungetc.c): Likewise.
19810 (CFLAGS-ioungetwc.c): Likewise.
19811 (CFLAGS-oldfileops.c): Likewise.
19812 (CFLAGS-oldiofclose.c): Likewise.
19813 (CFLAGS-oldiofgetpos64.c): Likewise.
19814 (CFLAGS-oldiofgetpos.c): Likewise.
19815 (CFLAGS-oldiofsetpos64.c): Likewise.
19816 (CFLAGS-oldiofsetpos.c): Likewise.
19817 (CFLAGS-peekc.c): Likewise.
19818 (CFLAGS-putc.c): Likewise.
19819 (CFLAGS-putchar.c): Likewise.
19820 (CFLAGS-putwc.c): Likewise.
19821 (CFLAGS-putwchar.c): Likewise.
19822 (CFLAGS-rewind.c): Likewise.
19823 (CFLAGS-wfileops.c): Likewise.
19824 (CFLAGS-wgenops.c): Likewise.
19825 (CFLAGS-oldiofopen.c): Likewise.
19826 (CFLAGS-iofopen.c): Likewise.
19827 (CFLAGS-iofopen64.c): Likewise.
19828 (CFLAGS-oldtmpfile.c): Likewise.
19829 (CFLAGS-tst_putwc.c): Likewise.
19830 * locale/Makefile (CFLAGS-md5.c): Likewise.
19831 (CFLAGS-charmap.c): Likewise.
19832 (CFLAGS-locfile.c): Likewise.
19833 (CFLAGS-charmap-dir.c): Likewise.
19834 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19835 (CFLAGS-getpt.c): Likewise.
19836 (CFLAGS-pt_chown.c): Likewise.
19837 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19838 (CFLAGS-obstack.c): Likewise.
19839 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19840 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19841 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19842 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19843 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19844 (CFLAGS-test-tgmath.c): Likewise.
19845 (CFLAGS-test-tgmath2.c): Likewise.
19846 (CFLAGS-test-tgmath-ret.c): Likewise.
19847 (CFLAGS-test-powl.c): Likewise.
19848 (CFLAGS-test-snan.c): Likewise.
19849 (CFLAGS-test-signgam-finite.c): Likewise.
19850 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19851 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19852 (CFLAGS-test-signgam-uchar.c): Likewise.
19853 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19854 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19855 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19856 (CFLAGS-test-signgam-uint.c): Likewise.
19857 (CFLAGS-test-signgam-uint-init.c): Likewise.
19858 (CFLAGS-test-signgam-uint-static.c): Likewise.
19859 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19860 (CFLAGS-test-signgam-ullong.c): Likewise.
19861 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19862 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19863 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19864 (CFLAGS-test-math-cxx11.cc): Likewise.
19865 (CFLAGS-test-math-isinff.cc): Likewise.
19866 (CFLAGS-test-math-iszero.cc): Likewise.
19867 (CFLAGS-test-math-issignaling.cc): Likewise.
19868 (CFLAGS-test-math-iscanonical.cc): Likewise.
19869 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19870 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19871 (CFLAGS-test-flt-eval-method.c): Likewise.
19872 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19873 (CFLAGS-test-finite-macros.c): Likewise.
19874 * misc/Makefile (CFLAGS-select.c): Likewise.
19875 (CFLAGS-tsearch.c): Likewise.
19876 (CFLAGS-lsearch.c): Likewise.
19877 (CFLAGS-pselect.c): Likewise.
19878 (CFLAGS-readv.c): Likewise.
19879 (CFLAGS-writev.c): Likewise.
19880 (CFLAGS-preadv.c): Likewise.
19881 (CFLAGS-preadv64.c): Likewise.
19882 (CFLAGS-pwritev.c): Likewise.
19883 (CFLAGS-pwritev64.c): Likewise.
19884 (CFLAGS-preadv2.c): Likewise.
19885 (CFLAGS-preadv64v2.c): Likewise.
19886 (CFLAGS-pwritev2.c): Likewise.
19887 (CFLAGS-pwritev64v2.c): Likewise.
19888 (CFLAGS-usleep.c): Likewise.
19889 (CFLAGS-syslog.c): Likewise.
19890 (CFLAGS-error.c): Likewise.
19891 (CFLAGS-getpass.c): Likewise.
19892 (CFLAGS-mkstemp.c): Likewise.
19893 (CFLAGS-mkstemp64.c): Likewise.
19894 (CFLAGS-getsysstats.c): Likewise.
19895 (CFLAGS-getusershell.c): Likewise.
19896 (CFLAGS-err.c): Likewise.
19897 (CFLAGS-tst-tsearch.c): Likewise.
19898 (CFLAGS-msync.c): Likewise.
19899 (CFLAGS-fdatasync.c): Likewise.
19900 (CFLAGS-fsync.c): Likewise.
19901 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19902 (CFLAGS-unwind.c): Likewise.
19903 (CFLAGS-unwind-forcedunwind.c): Likewise.
19904 (CFLAGS-pthread_cancel.c): Likewise.
19905 (CFLAGS-pthread_setcancelstate.c): Likewise.
19906 (CFLAGS-pthread_setcanceltype.c): Likewise.
19907 (CFLAGS-cancellation.c): Likewise.
19908 (CFLAGS-libc-cancellation.c): Likewise.
19909 (CFLAGS-pthread_exit.c): Likewise.
19910 (CFLAGS-forward.c): Likewise.
19911 (CFLAGS-pthread_testcancel.c): Likewise.
19912 (CFLAGS-pthread_join.c): Likewise.
19913 (CFLAGS-pthread_timedjoin.c): Likewise.
19914 (CFLAGS-pthread_once.c): Likewise.
19915 (CFLAGS-pthread_cond_wait.c): Likewise.
19916 (CFLAGS-sem_wait.c): Likewise.
19917 (CFLAGS-sem_timedwait.c): Likewise.
19918 (CFLAGS-fcntl.c): Likewise.
19919 (CFLAGS-lockf.c): Likewise.
19920 (CFLAGS-pread.c): Likewise.
19921 (CFLAGS-pread64.c): Likewise.
19922 (CFLAGS-pwrite.c): Likewise.
19923 (CFLAGS-pwrite64.c): Likewise.
19924 (CFLAGS-wait.c): Likewise.
19925 (CFLAGS-waitpid.c): Likewise.
19926 (CFLAGS-sigwait.c): Likewise.
19927 (CFLAGS-msgrcv.c): Likewise.
19928 (CFLAGS-msgsnd.c): Likewise.
19929 (CFLAGS-tcdrain.c): Likewise.
19930 (CFLAGS-open.c): Likewise.
19931 (CFLAGS-open64.c): Likewise.
19932 (CFLAGS-pause.c): Likewise.
19933 (CFLAGS-recv.c): Likewise.
19934 (CFLAGS-send.c): Likewise.
19935 (CFLAGS-accept.c): Likewise.
19936 (CFLAGS-sendto.c): Likewise.
19937 (CFLAGS-connect.c): Likewise.
19938 (CFLAGS-recvfrom.c): Likewise.
19939 (CFLAGS-recvmsg.c): Likewise.
19940 (CFLAGS-sendmsg.c): Likewise.
19941 (CFLAGS-close.c): Likewise.
19942 (CFLAGS-read.c): Likewise.
19943 (CFLAGS-write.c): Likewise.
19944 (CFLAGS-nanosleep.c): Likewise.
19945 (CFLAGS-sigsuspend.c): Likewise.
19946 (CFLAGS-msync.c): Likewise.
19947 (CFLAGS-fdatasync.c): Likewise.
19948 (CFLAGS-fsync.c): Likewise.
19949 (CFLAGS-pt-system.c): Likewise.
19950 (CFLAGS-tst-cleanup2.c): Likewise.
19951 (CFLAGS-tst-cleanupx2.c): Likewise.
19952 (CFLAGS-flockfile.c): Likewise.
19953 (CFLAGS-ftrylockfile.c): Likewise.
19954 (CFLAGS-funlockfile.c): Likewise.
19955 (CFLAGS-tst-initializers1.c): Likewise.
19956 (CFLAGS-tst-initializers1-c89.c): Likewise.
19957 (CFLAGS-tst-initializers1-c99.c): Likewise.
19958 (CFLAGS-tst-initializers1-c11.c): Likewise.
19959 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19960 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19961 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19962 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19963 (CFLAGS-nscd_getgr_r.c): Likewise.
19964 (CFLAGS-nscd_gethst_r.c): Likewise.
19965 (CFLAGS-nscd_getai.c): Likewise.
19966 (CFLAGS-nscd_initgroups.c): Likewise.
19967 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19968 (CFLAGS-pause.c): Likewise.
19969 (CFLAGS-pread.c): Likewise.
19970 (CFLAGS-pread64.c): Likewise.
19971 (CFLAGS-pwrite.c): Likewise.
19972 (CFLAGS-pwrite64.c): Likewise.
19973 (CFLAGS-sleep.c): Likewise.
19974 (CFLAGS-wait.c): Likewise.
19975 (CFLAGS-waitid.c): Likewise.
19976 (CFLAGS-waitpid.c): Likewise.
19977 (CFLAGS-getopt.c): Likewise.
19978 (CFLAGS-wordexp.c): Likewise.
19979 (CFLAGS-sysconf.c): Likewise.
19980 (CFLAGS-pathconf.c): Likewise.
19981 (CFLAGS-fpathconf.c): Likewise.
19982 (CFLAGS-spawn.c): Likewise.
19983 (CFLAGS-spawnp.c): Likewise.
19984 (CFLAGS-spawni.c): Likewise.
19985 (CFLAGS-glob.c): Likewise.
19986 (CFLAGS-glob64.c): Likewise.
19987 (CFLAGS-getconf.c): Likewise.
19988 (CFLAGS-nanosleep.c): Likewise.
19989 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19990 (CFLAGS-getpwent.c): Likewise.
19991 (CFLAGS-getpw.c): Likewise.
19992 (CFLAGS-fgetpwent_r.c): Likewise.
19993 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19994 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19995 (CFLAGS-mq_timedreceive.c): Likewise.
19996 (CFLAGS-mq_timedsend.c): Likewise.
19997 (CFLAGS-clock_nanosleep.c): Likewise.
19998 (CFLAGS-librt-cancellation.c): Likewise.
19999 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20000 (CFLAGS-getspent.c): Likewise.
20001 (CFLAGS-fgetspent.c): Likewise.
20002 (CFLAGS-fgetspent_r.c): Likewise.
20003 (CFLAGS-putspent.c): Likewise.
20004 (CFLAGS-getspnam.c): Likewise.
20005 (CFLAGS-getspnam_r.c): Likewise.
20006 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20007 (CFLAGS-sigsuspend.c): Likewise.
20008 (CFLAGS-sigtimedwait.c): Likewise.
20009 (CFLAGS-sigwait.c): Likewise.
20010 (CFLAGS-sigwaitinfo.c): Likewise.
20011 (CFLAGS-sigreturn.c): Likewise.
20012 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20013 (CFLAGS-vfwprintf.c): Likewise.
20014 (CFLAGS-tmpfile.c): Likewise.
20015 (CFLAGS-tmpfile64.c): Likewise.
20016 (CFLAGS-tempname.c): Likewise.
20017 (CFLAGS-psignal.c): Likewise.
20018 (CFLAGS-vprintf.c): Likewise.
20019 (CFLAGS-cuserid.c): Likewise.
20020 (CFLAGS-errlist.c): Likewise.
20021 (CFLAGS-siglist.c): Likewise.
20022 (CFLAGS-scanf15.c): Likewise.
20023 (CFLAGS-scanf17.c): Likewise.
20024 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20025 (CFLAGS-msort.c): Likewise.
20026 (CFLAGS-qsort.c): Likewise.
20027 (CFLAGS-system.c): Likewise.
20028 (CFLAGS-fmtmsg.c): Likewise.
20029 (CFLAGS-strfmon.c): Likewise.
20030 (CFLAGS-strfmon_l.c): Likewise.
20031 (CFLAGS-strfromd.c): Likewise.
20032 (CFLAGS-strfromf.c): Likewise.
20033 (CFLAGS-strfroml.c): Likewise.
20034 (CFLAGS-tst-bsearch.c): Likewise.
20035 (CFLAGS-tst-qsort.c): Likewise.
20036 (CFLAGS-tst-makecontext2.c): Likewise.
20037 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20038 (CFLAGS-xnlm_prot.c): Likewise.
20039 (CFLAGS-xrstat.c): Likewise.
20040 (CFLAGS-xyppasswd.c): Likewise.
20041 (CFLAGS-xklm_prot.c): Likewise.
20042 (CFLAGS-xrex.c): Likewise.
20043 (CFLAGS-xsm_inter.c): Likewise.
20044 (CFLAGS-xmount.c): Likewise.
20045 (CFLAGS-xrusers.c): Likewise.
20046 (CFLAGS-xspray.c): Likewise.
20047 (CFLAGS-xnfs_prot.c): Likewise.
20048 (CFLAGS-xrquota.c): Likewise.
20049 (CFLAGS-xkey_prot.c): Likewise.
20050 (CFLAGS-auth_unix.c): Likewise.
20051 (CFLAGS-key_call.c): Likewise.
20052 (CFLAGS-pmap_rmt.c): Likewise.
20053 (CFLAGS-clnt_perr.c): Likewise.
20054 (CFLAGS-openchild.c): Likewise.
20055 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20056 (CFLAGS-msgsnd.c): Likewise.
20057 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20058 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20059 (CFLAGS-tzset.c): Likewise.
20060 (CFLAGS-getdate.c): Likewise.
20061 (CFLAGS-test_time.c): Likewise.
20062 (CPPFLAGS-tst-tzname.c): Likewise.
20063 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20064 (CFLAGS-zic.c): Likewise.
20065 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20066 (CFLAGS-wcswidth.c): Likewise.
20067 (CFLAGS-wcstol.c): Likewise.
20068 (CFLAGS-wcstoul.c): Likewise.
20069 (CFLAGS-wcstoll.c): Likewise.
20070 (CFLAGS-wcstoull.c): Likewise.
20071 (CFLAGS-wcstod.c): Likewise.
20072 (CFLAGS-wcstold.c): Likewise.
20073 (CFLAGS-wcstof128.c): Likewise.
20074 (CFLAGS-wcstof.c): Likewise.
20075 (CFLAGS-wcstol_l.c): Likewise.
20076 (CFLAGS-wcstoul_l.c): Likewise.
20077 (CFLAGS-wcstoll_l.c): Likewise.
20078 (CFLAGS-wcstoull_l.c): Likewise.
20079 (CFLAGS-wcstod_l.c): Likewise.
20080 (CFLAGS-wcstold_l.c): Likewise.
20081 (CFLAGS-wcstof128_l.c): Likewise.
20082 (CFLAGS-wcstof_l.c): Likewise.
20083 (CPPFLAGS-tst-wchar-h.c): Likewise.
20084 (CPPFLAGS-wcstold_l.c): Likewise.
20086 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
20088 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20090 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20091 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20093 * manual/tunables.texi (Hardware Capability Tunables): Document
20094 glibc.tune.cached_memopt.
20095 * sysdeps/powerpc/cpu-features.c: New file.
20096 * sysdeps/powerpc/cpu-features.h: New file.
20097 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20098 _dl_powerpc_cpu_features.
20099 * sysdeps/powerpc/dl-tunables.list: New file.
20100 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20101 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20102 (INIT_ARCH): Initialize use_aligned_memopt.
20103 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20104 IS_IN(rtld))]: Restrict dl_platform_init availability and
20105 initialize CPU features used by tunables.
20106 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20107 Add memcpy-power8-cached.
20108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20109 __memcpy_power8_cached.
20110 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20111 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20114 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20116 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20117 (CFLAGS-noinl-tester.c): Likewise.
20118 (CFLAGS-tst-strlen.c): Likewise.
20119 (CFLAGS-stratcliff.c): Likewise.
20120 (CFLAGS-test-ffs.c): Likewise.
20121 (CFLAGS-tst-inlcall.c): Likewise.
20122 (CFLAGS-tst-xbzero-opt.c): Likewise.
20123 (CFLAGS-memcpy.c): Likewise.
20124 (CFLAGS-wordcopy.c): Likewise.
20126 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20128 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20129 Store r15 on stack and add cfi rule.
20130 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20133 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
20136 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20139 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20141 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20142 Add s_sinf-sse2 and s_sinf-fma.
20143 (CFLAGS-s_sinf-fma.c): New.
20144 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20145 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20146 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20148 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20150 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20152 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20155 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20156 part of result to imaginary part of argument if it is zero and the
20157 real part of the argument is not finite.
20158 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20159 of result to real part of argument if it is zero and the imaginary
20160 part of the argument is not finite.
20162 2017-12-07 Mike FABIAN <mfabian@redhat.com>
20165 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20166 and to the list of locales to be built for testing.
20167 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20168 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20169 and build the collation rules upon that.
20171 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20173 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20174 * manual/math.texi (Mathematics): Document support for _Float32.
20175 * math/Makefile (test-types): Add float32.
20176 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20177 * stdlib/Versions (GLIBC_2.27): Likewise.
20178 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20179 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20180 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20181 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20182 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20183 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20184 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20185 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20186 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20187 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20188 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20189 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20190 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20191 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20192 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20193 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20194 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20195 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20196 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20197 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20198 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20199 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20201 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20202 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20203 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20204 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20205 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20223 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20224 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20225 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20226 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20227 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20228 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20229 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20230 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20231 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20232 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20241 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20242 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20243 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20244 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20245 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20246 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20247 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20248 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20250 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20252 * stdlib/strtof.c: Include <bits/floatn.h>
20253 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20254 and later undefine as macro. Define as weak alias if
20256 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20257 and later undefine as macro. Define as weak alias if
20259 * stdlib/strtof_l.c: Include <bits/floatn.h>
20260 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20261 and later undefine as macro. Define as weak alias if
20263 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20264 and later undefine as macro. Define as weak alias if
20267 * stdlib/strfromf.c: Include <bits/floatn.h>.
20268 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20269 and later undefine as macro and define as weak alias.
20271 * math/test-float32.h: New file.
20273 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20274 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20275 (libm_alias_float_other_r): Create f32 alias.
20276 (libm_alias_float_r): Use semicolon before call to
20277 libm_alias_float_other_r.
20279 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20280 second argument to libm_alias_float_other.
20281 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20282 second argument to libm_alias_float_other.
20283 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20284 argument to libm_alias_float_other.
20287 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20288 real part of result for argument 0 + i * NaN.
20289 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20290 results for tests of 0 + i * NaN.
20292 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20294 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20296 2017-12-06 David S. Miller <davem@davemloft.net>
20298 * sysdeps/sparc/fpu/libm-test-ulps: Update
20299 exp_{downward,towardzero,upward} ulps.
20301 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20303 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
20306 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
20308 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20310 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20312 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20315 2017-12-06 Mike FABIAN <mfabian@redhat.com>
20318 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
20319 and to the list of locales to be built for testing.
20320 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
20321 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
20322 and build the collation rules upon that.
20324 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20326 * NEWS: Add sinf to list of optimized functions.
20328 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20330 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
20331 (__HAVE_FLOAT32X): Likewise.
20332 * manual/math.texi (Mathematics): Document support for _Float64
20334 * math/Makefile (test-types): Add float64 and float32x.
20335 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
20337 * stdlib/Versions (GLIBC_2.27): Likewise.
20338 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20339 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20340 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20341 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20342 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20343 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20344 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20345 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20346 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20347 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20348 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20349 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20350 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20351 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20352 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20353 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20354 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20355 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20356 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20357 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20358 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20359 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20361 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20362 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20363 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20364 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20365 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20382 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20383 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20384 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20385 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20386 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20387 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20388 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20389 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20390 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20391 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20400 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20401 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20402 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20403 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20404 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20405 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20406 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20407 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20409 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20411 * bits/floatn-common.h: Include <bits/long-double.h>.
20412 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20413 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20414 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20415 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20416 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20417 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20418 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20419 (__builtin_huge_valf64): Use __builtin_huge_vall.
20420 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20421 (__builtin_inff64): Use __builtin_infl.
20422 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20423 (__builtin_nanf64): Use __builtin_nanl.
20424 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20425 (__builtin_nansf64): Use __builtin_nansl.
20427 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20428 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20429 Carlos O'Donnell <carlos@redhat.com>
20431 * elf/dl-tunables.list: Add elision parameters.
20432 * manual/tunables.texi: Add entries about elision tunable.
20433 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20434 Add callback functions to dynamically enable/disable elision.
20435 Add multiple callbacks functions to set elision parameters.
20436 Deleted __libc_enable_secure check.
20437 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20438 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20439 * configure: Regenerated.
20440 * configure.ac: Option enable_lock_elision was deleted.
20441 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20442 * config.make.in: Remove references to enable_lock_elision.
20443 * manual/install.texi: Elision configure option was removed.
20444 * INSTALL: Regenerated to remove enable_lock_elision.
20446 Disable elision so it can verify error case for destroying a mutex.
20447 * sysdeps/powerpc/nptl/elide.h:
20448 Cleanup ENABLE_LOCK_ELISION check.
20449 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20450 * sysdeps/s390/configure: Regenerated.
20451 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20452 * nptl/tst-mutex8.c:
20453 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20454 * sysdeps/powerpc/powerpc32/sysdep.h:
20455 Deleted all ENABLE_LOCK_ELISION checks.
20456 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20457 * sysdeps/powerpc/sysdep.h: Likewise.
20458 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20459 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20460 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20461 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20462 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20463 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20464 enable-lock-elision.
20466 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20468 * stdlib/strtod.c: Include <bits/floatn.h>.
20469 (BUILD_DOUBLE): New macro.
20470 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20471 (strtof64): Define and later undefine as macro. Define as weak
20472 alias if [!USE_WIDE_CHAR].
20473 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20474 (wcstof64): Define and later undefine as macro. Define as weak
20475 alias if [USE_WIDE_CHAR].
20476 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20477 (strtof32x): Define and later undefine as macro. Define as weak
20478 alias if [!USE_WIDE_CHAR].
20479 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20480 (wcstof32x): Define and later undefine as macro. Define as weak
20481 alias if [USE_WIDE_CHAR].
20482 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20483 (BUILD_DOUBLE): New macro.
20484 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20485 (strtof64_l): Define and later undefine as macro. Define as weak
20486 alias if [!USE_WIDE_CHAR].
20487 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20488 (wcstof64_l): Define and later undefine as macro. Define as weak
20489 alias if [USE_WIDE_CHAR].
20490 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20491 (strtof32x_l): Define and later undefine as macro. Define as weak
20492 alias if [!USE_WIDE_CHAR].
20493 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20494 (wcstof32x_l): Define and later undefine as macro. Define as weak
20495 alias if [USE_WIDE_CHAR].
20497 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20499 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20500 (reduced): Use ones as double instead of integer.
20502 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20504 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20506 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20508 * stdlib/strfromd.c: Include <bits/floatn.h>.
20509 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20510 and later undefine as macro and define as weak alias.
20511 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20514 * math/test-float32x.h: New file.
20515 * math/test-float64.h: Likewise.
20517 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20518 (libm_alias_double_other_r_f64): New macro.
20519 (libm_alias_double_other_r_f32x): Likewise.
20520 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20521 libm_alias_double_other_r_f32x.
20522 (libm_alias_double_r): Use semicolon before call to
20523 libm_alias_double_other_r.
20524 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20526 (libm_alias_double_other_r_f64): New macro.
20527 (libm_alias_double_other_r_f32x): Likewise.
20528 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20529 libm_alias_double_other_r_f32x.
20531 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20533 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20535 (SINF_FUNC): Likewise. Replace floor with simple casts.
20537 2017-12-05 Mike FABIAN <mfabian@redhat.com>
20540 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20541 and to the list of locales to be built for testing.
20542 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20543 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20544 and build the collation rules upon that.
20546 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20548 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20549 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20550 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20551 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20552 instead of __insn__xxx.
20553 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20554 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20555 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20556 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20557 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20558 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20560 2017-12-05 Florian Weimer <fweimer@redhat.com>
20562 Linux: Implement interfaces for memory protection keys
20563 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20565 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20566 * support/xunistd.h (xsysconf): Declare.
20567 * support/xraise.c: New file.
20568 * support/xsigaction.c: Likewise.
20569 * support/xsignal.c: Likewise.
20570 * support/xsysconf.c: Likewise.
20571 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20572 pkey_set, pkey_get, pkey_mprotect.
20573 [misc] (tests): Add tst-pkey.
20574 (tst-pkey): Link with -lpthread.
20575 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20576 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20577 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20578 (PKEY_DISABLE_WRITE): Define.
20579 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20581 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20582 (SEGV_PKUERR): Add.
20583 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20584 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20585 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20586 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20588 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20589 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20590 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20591 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20592 * sysdeps/unix/sysv/linux/**.abilist: Update.
20594 2017-12-05 Florian Weimer <fweimer@redhat.com>
20596 * support/tst-test_compare.c (subprocess): Use long long instead
20597 of long argument for consistent type width across 32-bit and
20598 64-bit architectures.
20599 (do_test): Adjust expected output.
20601 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20603 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20604 (cosf): Define using libm_alias_float.
20605 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20606 (fabsf): Define using libm_alias_float.
20607 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20608 (fmaf): Define using libm_alias_float.
20609 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20610 (rintf): Define using libm_alias_float.
20611 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20612 (sinf): Define using libm_alias_float.
20613 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20614 <libm-alias-float.h>.
20615 (modff): Define using libm_alias_float.
20616 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20617 <libm-alias-float.h>.
20618 (logbf): Define using libm_alias_float.
20619 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20620 <libm-alias-float.h>.
20621 (ceilf): Define using libm_alias_float.
20622 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20623 <libm-alias-float.h>.
20624 (copysignf): Define using libm_alias_float.
20625 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20626 <libm-alias-float.h>.
20627 (floorf): Define using libm_alias_float.
20628 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20629 <libm-alias-float.h>.
20630 (llrintf): Define using libm_alias_float.
20631 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20632 <libm-alias-float.h>.
20633 (llroundf): Define using libm_alias_float.
20634 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20635 <libm-alias-float.h>.
20636 (lrintf): Define using libm_alias_float.
20637 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20638 <libm-alias-float.h>.
20639 (lroundf): Define using libm_alias_float.
20640 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20641 <libm-alias-float.h>.
20642 (nearbyintf): Define using libm_alias_float.
20643 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20644 <libm-alias-float.h>.
20645 (rintf): Define using libm_alias_float.
20646 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20647 <libm-alias-float.h>.
20648 (roundf): Define using libm_alias_float.
20649 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20650 <libm-alias-float.h>.
20651 (truncf): Define using libm_alias_float.
20652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20653 Include <libm-alias-float.h>.
20654 (ceilf): Define using libm_alias_float.
20655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20656 Include <libm-alias-float.h>.
20657 (copysignf): Define using libm_alias_float.
20658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20659 Include <libm-alias-float.h>.
20660 (floorf): Define using libm_alias_float.
20661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20662 Include <libm-alias-float.h>.
20663 (llrintf): Define using libm_alias_float.
20664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20665 Include <libm-alias-float.h>.
20666 (llroundf): Define using libm_alias_float.
20667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20668 Include <libm-alias-float.h>.
20669 (logbf): Define using libm_alias_float.
20670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20671 Include <libm-alias-float.h>.
20672 (lrintf): Define using libm_alias_float.
20673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20674 Include <libm-alias-float.h>.
20675 (lroundf): Define using libm_alias_float.
20676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20677 Include <libm-alias-float.h>.
20678 (modff): Define using libm_alias_float.
20679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20680 Include <libm-alias-float.h>.
20681 (roundf): Define using libm_alias_float.
20682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20683 Include <libm-alias-float.h>.
20684 (truncf): Define using libm_alias_float.
20685 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20686 <libm-alias-float.h>.
20687 (llrintf): Define using libm_alias_float.
20688 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20689 <libm-alias-float.h>.
20690 (llroundf): Define using libm_alias_float.
20691 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20692 <libm-alias-float.h>.
20693 (ceilf): Define using libm_alias_float.
20694 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20695 <libm-alias-float.h>.
20696 (floorf): Define using libm_alias_float.
20697 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20698 <libm-alias-float.h>.
20699 (llroundf): Define using libm_alias_float.
20700 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20701 <libm-alias-float.h>.
20702 (lroundf): Define using libm_alias_float.
20703 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20704 <libm-alias-float.h>.
20705 (roundf): Define using libm_alias_float.
20706 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20707 <libm-alias-float.h>.
20708 (truncf): Define using libm_alias_float.
20709 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20710 <libm-alias-float.h>.
20711 (copysignf): Define using libm_alias_float.
20712 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20713 <libm-alias-float.h>.
20714 (llrintf): Define using libm_alias_float.
20715 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20716 <libm-alias-float.h>.
20717 (llroundf): Define using libm_alias_float.
20718 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20719 <libm-alias-float.h>.
20720 (lrintf): Define using libm_alias_float.
20721 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20722 <libm-alias-float.h>.
20723 (lroundf): Define using libm_alias_float.
20724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20725 <libm-alias-float.h>.
20726 (ceilf): Define using libm_alias_float.
20727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20728 <libm-alias-float.h>.
20729 (copysignf): Define using libm_alias_float.
20730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20731 <libm-alias-float.h>.
20732 (cosf): Define using libm_alias_float.
20733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20734 <libm-alias-float.h>.
20735 (floorf): Define using libm_alias_float.
20736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20737 <libm-alias-float.h>.
20738 (llrintf): Define using libm_alias_float.
20739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20740 <libm-alias-float.h>.
20741 (llroundf): Define using libm_alias_float.
20742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20743 <libm-alias-float.h>.
20744 (logbf): Define using libm_alias_float.
20745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20746 <libm-alias-float.h>.
20747 (modff): Define using libm_alias_float.
20748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20749 <libm-alias-float.h>.
20750 (roundf): Define using libm_alias_float.
20751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20752 <libm-alias-float.h>.
20753 (sinf): Define using libm_alias_float.
20754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20755 <libm-alias-float.h>.
20756 (truncf): Define using libm_alias_float.
20757 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20758 <libm-alias-float.h>.
20759 (ceilf): Define using libm_alias_float.
20760 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20761 <libm-alias-float.h>.
20762 (copysignf): Define using libm_alias_float.
20763 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20764 <libm-alias-float.h>.
20765 (floorf): Define using libm_alias_float.
20766 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20767 <libm-alias-float.h>.
20768 (llrintf): Define using libm_alias_float.
20769 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20770 <libm-alias-float.h>.
20771 (llroundf): Define using libm_alias_float.
20772 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20773 <libm-alias-float.h>.
20774 (nearbyintf): Define using libm_alias_float.
20775 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20776 <libm-alias-float.h>.
20777 (rintf): Define using libm_alias_float.
20778 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20779 <libm-alias-float.h>.
20780 (roundf): Define using libm_alias_float.
20781 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20782 <libm-alias-float.h>.
20783 (truncf): Define using libm_alias_float.
20784 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20785 <libm-alias-float.h>.
20786 (ceilf): Define using libm_alias_float.
20787 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20788 <libm-alias-float.h>.
20789 (floorf): Define using libm_alias_float.
20790 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20791 <libm-alias-float.h>.
20792 (llroundf): Define using libm_alias_float.
20793 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20794 <libm-alias-float.h>.
20795 (roundf): Define using libm_alias_float.
20796 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20797 <libm-alias-float.h>.
20798 (truncf): Define using libm_alias_float.
20799 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20800 <libm-alias-float.h>.
20801 (copysignf): Define using libm_alias_float.
20802 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20803 <libm-alias-float.h>.
20804 (llrintf): Define using libm_alias_float.
20805 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20806 <libm-alias-float.h>.
20807 (llroundf): Define using libm_alias_float.
20808 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20809 <libm-alias-float.h>.
20810 (cosf): Define using libm_alias_float.
20811 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20812 <libm-alias-float.h>.
20813 (llrintf): Define using libm_alias_float.
20814 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20815 <libm-alias-float.h>.
20816 (llroundf): Define using libm_alias_float.
20817 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20818 <libm-alias-float.h>.
20819 (sinf): Define using libm_alias_float.
20821 2017-12-04 Florian Weimer <fweimer@redhat.com>
20823 * support/check.h (TEST_COMPARE): Define.
20824 (support_test_compare_failure): Declare.
20825 * support/Makefile (libsupport-routines): Add
20826 support_test_compare_failure.
20827 (tests): Add tst-test_compare.
20828 * support /support_test_compare_failure.c: New file.
20829 * support/tst-test_compare.c: Likewise.
20831 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20834 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20835 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20836 available, this rewrite of the collation rules does reproduce
20837 the test file in the same order.
20839 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20842 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20843 digraphs in the month and day names. Using single code points for
20844 digraphs is deprecated. While there are dedicated Unicode
20845 codepoints, for the digraphs, these are included for backwards
20846 compatibility and modern texts use a sequence of Basic Latin
20847 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20848 This makes the month and day names agree exactly with CLDR now,
20849 CLDR does not use the single code points for the digraphs either.
20851 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20853 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20855 2017-12-04 Joseph Myers <joseph@codesourcery.com>
20857 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20860 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20862 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20863 Define only for libc.so.
20865 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20867 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20868 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20869 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20870 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20871 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20873 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20876 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20878 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
20881 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20882 PREINIT_FUNCTION_WEAK is nonzero.
20883 (gmon_initializer): New function. Put procedure label for it in
20884 .init_array section.
20885 (_init): Don't call PREINIT_FUNCTION.
20886 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20887 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20888 value when map argument is null.
20890 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20891 depi instruction from PIC pc-relative sequence.
20892 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20893 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20894 (elf_machine_load_address): Likewise.
20895 (elf_machine_runtime_setup): Likewise.
20897 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20899 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20900 <libm-alias-double.h>.
20901 (logb): Define using libm_alias_double.
20902 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20903 <libm-alias-double.h>.
20904 (copysign): Define using libm_alias_double.
20905 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20906 <libm-alias-double.h>.
20907 (llrint): Define using libm_alias_double.
20908 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20909 <libm-alias-double.h>.
20910 (llround): Define using libm_alias_double.
20911 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20912 <libm-alias-double.h>.
20913 (lrint): Define using libm_alias_double.
20914 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20915 <libm-alias-double.h>.
20916 (lround): Define using libm_alias_double.
20917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20918 Include <libm-alias-double.h>.
20919 (copysign): Define using libm_alias_double.
20920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20921 Include <libm-alias-double.h>.
20922 (llrint): Define using libm_alias_double.
20923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20924 Include <libm-alias-double.h>.
20925 (llround): Define using libm_alias_double.
20926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20927 <libm-alias-double.h>.
20928 (logb): Define using libm_alias_double.
20929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20930 Include <libm-alias-double.h>.
20931 (lrint): Define using libm_alias_double.
20932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20933 Include <libm-alias-double.h>.
20934 (lround): Define using libm_alias_double.
20935 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20936 <libm-alias-double.h>.
20937 (llrint): Define using libm_alias_double.
20938 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20939 <libm-alias-double.h>.
20940 (llround): Define using libm_alias_double.
20941 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20942 <libm-alias-double.h>.
20943 (llround): Define using libm_alias_double.
20944 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20945 <libm-alias-double.h>.
20946 (lround): Define using libm_alias_double.
20947 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20948 <libm-alias-double.h>.
20949 (copysign): Define using libm_alias_double.
20950 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20951 <libm-alias-double.h>.
20952 (llrint): Define using libm_alias_double.
20953 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20954 <libm-alias-double.h>.
20955 (llround): Define using libm_alias_double.
20956 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20957 <libm-alias-double.h>.
20958 (lrint): Define using libm_alias_double.
20959 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20960 <libm-alias-double.h>.
20961 (lround): Define using libm_alias_double.
20962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20963 <libm-alias-double.h>.
20964 (copysign): Define using libm_alias_double.
20965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20966 <libm-alias-double.h>.
20967 (llrint): Define using libm_alias_double.
20969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20970 <libm-alias-double.h>.
20971 (llround): Define using libm_alias_double.
20972 (lround): Likewise.
20973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20974 <libm-alias-double.h>.
20975 (logb): Define using libm_alias_double.
20976 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20977 <libm-alias-double.h>.
20978 (copysign): Define using libm_alias_double.
20979 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20980 <libm-alias-double.h>.
20981 (llrint): Define using libm_alias_double.
20983 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20984 <libm-alias-double.h>.
20985 (llround): Define using libm_alias_double.
20986 (lround): Likewise.
20987 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20988 <libm-alias-double.h>.
20989 (llround): Define using libm_alias_double.
20990 (lround): Likewise.
20991 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20992 <libm-alias-double.h>.
20993 (copysign): Define using libm_alias_double.
20994 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20995 <libm-alias-double.h>.
20996 (llrint): Define using libm_alias_double.
20998 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20999 <libm-alias-double.h>.
21000 (llround): Define using libm_alias_double.
21001 (lround): Likewise.
21002 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21003 <libm-alias-double.h>.
21004 (llrint): Define using libm_alias_double.
21006 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21007 <libm-alias-double.h>.
21008 (llround): Define using libm_alias_double.
21009 (lround): Likewise.
21011 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21014 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21015 compat symbol based on llround.
21017 * sysdeps/powerpc/power7/fpu/s_logb.c
21018 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21019 symbol based on __logb, not on logb.
21020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21021 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21023 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21025 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21026 (rint): Define using libm_alias_double.
21027 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21028 <libm-alias-double.h>.
21029 (modf): Define using libm_alias_double.
21030 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21031 <libm-alias-double.h>.
21032 (ceil): Define using libm_alias_double.
21033 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21034 <libm-alias-double.h>.
21035 (floor): Define using libm_alias_double.
21036 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21037 <libm-alias-double.h>.
21038 (nearbyint): Define using libm_alias_double.
21039 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21040 <libm-alias-double.h>.
21041 (rint): Define using libm_alias_double.
21042 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21043 <libm-alias-double.h>.
21044 (round): Define using libm_alias_double.
21045 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21046 <libm-alias-double.h>.
21047 (trunc): Define using libm_alias_double.
21048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21049 <libm-alias-double.h>.
21050 (ceil): Define using libm_alias_double.
21051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21052 Include <libm-alias-double.h>.
21053 (floor): Define using libm_alias_double.
21054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21055 <libm-alias-double.h>.
21056 (modf): Define using libm_alias_double.
21057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21058 Include <libm-alias-double.h>.
21059 (round): Define using libm_alias_double.
21060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21061 Include <libm-alias-double.h>.
21062 (trunc): Define using libm_alias_double.
21063 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21064 <libm-alias-double.h>.
21065 (ceil): Define using libm_alias_double.
21066 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21067 <libm-alias-double.h>.
21068 (floor): Define using libm_alias_double.
21069 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21070 <libm-alias-double.h>.
21071 (round): Define using libm_alias_double.
21072 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21073 <libm-alias-double.h>.
21074 (trunc): Define using libm_alias_double.
21075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21076 <libm-alias-double.h>.
21077 (ceil): Define using libm_alias_double.
21078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21079 <libm-alias-double.h>.
21080 (floor): Define using libm_alias_double.
21081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21082 <libm-alias-double.h>.
21083 (modf): Define using libm_alias_double.
21084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21085 <libm-alias-double.h>.
21086 (round): Define using libm_alias_double.
21087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21088 <libm-alias-double.h>.
21089 (trunc): Define using libm_alias_double.
21090 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21091 <libm-alias-double.h>.
21092 (ceil): Define using libm_alias_double.
21093 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21094 <libm-alias-double.h>.
21095 (floor): Define using libm_alias_double.
21096 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21097 <libm-alias-double.h>.
21098 (nearbyint): Define using libm_alias_double.
21099 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21100 <libm-alias-double.h>.
21101 (rint): Define using libm_alias_double.
21102 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21103 <libm-alias-double.h>.
21104 (round): Define using libm_alias_double.
21105 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21106 <libm-alias-double.h>.
21107 (trunc): Define using libm_alias_double.
21108 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21109 <libm-alias-double.h>.
21110 (ceil): Define using libm_alias_double.
21111 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21112 <libm-alias-double.h>.
21113 (floor): Define using libm_alias_double.
21114 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21115 <libm-alias-double.h>.
21116 (round): Define using libm_alias_double.
21117 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21118 <libm-alias-double.h>.
21119 (trunc): Define using libm_alias_double.
21121 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21122 (fabs): Define using libm_alias_double.
21123 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21124 (fma): Define using libm_alias_double.
21125 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21126 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21127 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21128 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21130 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21132 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21134 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21135 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21136 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21139 due redirect macro.
21141 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21143 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21145 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21147 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21148 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21149 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21150 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21153 (libm-sysdep_routines): Add s_nearbyintf-generic and
21154 s_nearbyint-generic.
21155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21168 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21179 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21190 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21201 (sysdep_calls): New rule.
21202 (sysdep_routines): Use sysdep_calls as base.
21203 (libm-sysdep_routines): Add generic rule for symbols shared with
21204 libc. Add s_copysign-generic and s_copysign-generic objects.
21205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21214 2017-12-01 Mike FABIAN <mfabian@redhat.com>
21217 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21218 the list of locales to be built for testing.
21219 * localedata/is_IS.UTF-8.in: New file.
21220 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21223 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21225 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21226 <libm-alias-float.h>.
21227 (fabsf): Define using libm_alias_float.
21229 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21231 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
21233 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21235 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
21236 <libm-alias-float.h>.
21237 (fabsf): Define using libm_alias_float.
21238 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
21239 <libm-alias-float.h>.
21240 (lrintf): Define using libm_alias_float.
21241 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
21242 <libm-alias-float.h>.
21243 (rintf): Define using libm_alias_float.
21245 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
21246 <libm-alias-double.h>.
21247 (fabs): Define using libm_alias_double.
21248 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
21249 <libm-alias-double.h>.
21250 (lrint): Define using libm_alias_double.
21251 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21252 <libm-alias-double.h>.
21253 (rint): Define using libm_alias_double.
21255 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21256 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21257 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21258 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21259 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21260 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21261 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21262 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21263 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21264 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21265 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21266 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21267 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21268 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21269 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21270 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21271 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21272 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21274 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21275 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21276 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21278 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21279 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21280 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21282 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21283 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21284 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21285 s_expm1_template.c.
21286 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21287 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21288 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21290 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21291 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21292 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21293 s_floor_template.c.
21294 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21295 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21296 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21297 s_frexp_template.c.
21298 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21299 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21300 s_lrint_template.c.
21301 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21302 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21303 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21305 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
21306 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
21307 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
21308 s_nearbyint_template.c.
21309 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21310 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21311 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21312 s_remquo_template.c.
21313 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21314 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21315 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21317 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
21318 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
21319 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
21321 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
21322 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
21323 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
21324 s_sincos_template.c.
21325 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
21326 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
21327 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
21329 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
21330 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
21331 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
21333 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
21334 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
21335 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
21336 s_trunc_template.c.
21337 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
21338 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
21339 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
21340 s_atan.c instead of including s_atan.c.
21341 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
21342 s_atanf.c instead of including s_atanf.c.
21343 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
21344 s_atanl.c instead of including s_atanl.c.
21345 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
21346 instead of s_atan.c.
21347 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
21348 instead of s_atanf.c.
21349 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
21350 instead of s_atanl.c.
21352 * scripts/update-copyrights: Do not handle intl/plural.c
21355 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21358 * configure.ac (BISON): Require to be present.
21359 * configure: Regenerated.
21360 * intl/Makefile (generated): Add plural.c.
21361 [$(BISON) != no]: Make code unconditional.
21362 (plural.c): Change rule to $(objpfx)plural.c.
21363 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21364 * intl/plural.c: Remove.
21365 * manual/install.texi (Tools for Compilation): Document bison as
21367 * INSTALL: Regenerated.
21369 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21371 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21372 <libm-alias-double.h>.
21373 (llrint): Define using libm_alias_double.
21374 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21375 <libm-alias-float.h>.
21376 (llrintf): Define using libm_alias_float.
21377 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21378 <libm-alias-ldouble.h>.
21379 (llrintl): Define using libm_alias_ldouble.
21381 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21382 declare_mgen_alias instead of weak_alias.
21383 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21384 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21385 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21387 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21389 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21391 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21392 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21393 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21395 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21396 Add submul_1-generic.
21397 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21398 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21399 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21401 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21402 Add addmul_1-generic.
21403 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21404 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21405 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21407 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21409 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21410 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21411 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21413 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21415 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21416 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21417 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21419 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21421 According to CLDR, collation rules for Serbian and Bosnian
21422 should be the same as for Croatian.
21425 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21426 and to the list of locales to be built for testing.
21427 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21428 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21429 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21430 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21432 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21434 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21435 to make test case pass.
21436 * localedata/hr_HR.UTF-8.in: Add more test strings.
21438 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21440 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21442 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21444 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21445 the list of locales to built for testing.
21446 * localedata/hr_HR.UTF-8.in: New file.
21448 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21451 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21453 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21454 CLDR (except use ligatures for the digraphs, CLDR does not use
21455 the ligatures), add first_workday, some fixes in the date and time
21457 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21459 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21460 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21461 Add int_p_cs_precedes and int_n_cs_precedes.
21462 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21463 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21465 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21466 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21468 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21469 and lang_lib. Change postal_fmt.
21471 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21473 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21475 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21476 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21477 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21478 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21479 * sysdeps/generic/setjmpP.h: New file.
21480 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21481 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21482 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21483 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21484 Add jmp_buf-ssp.sym.
21485 (tests): Add tst-saved_mask-1.
21487 2017-11-30 Arjun Shankar <arjun@redhat.com>
21491 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21492 instead of request2size.
21494 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21497 (__lllrint): Remove alias.
21498 (lllrint): Likewise.
21499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21500 (__lllrintf): Likewise.
21501 (lllrintf): Likewise.
21503 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21504 <libm-alias-float.h>.
21505 (copysignf): Define using libm_alias_float.
21506 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21507 <libm-alias-float.h>.
21508 (fabsf): Define using libm_alias_float.
21509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21510 Include <libm-alias-float.h>.
21511 (copysignf): Define using libm_alias_float.
21512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21513 <libm-alias-float.h>.
21514 (fabsf): Define using libm_alias_float.
21515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21516 <libm-alias-float.h>.
21517 (fdimf): Define using libm_alias_float.
21518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21519 <libm-alias-float.h>.
21520 (fmaf): Define using libm_alias_float.
21521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21522 <libm-alias-float.h>.
21523 (llrintf): Define using libm_alias_float.
21524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21525 Include <libm-alias-float.h>.
21526 (nearbyintf): Define using libm_alias_float.
21527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21528 <libm-alias-float.h>.
21529 (rintf): Define using libm_alias_float.
21530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21531 <libm-alias-float.h>.
21532 (llrintf): Define using libm_alias_float.
21533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21534 <libm-alias-float.h>.
21535 (lrintf): Define using libm_alias_float.
21536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21537 <libm-alias-float.h>.
21538 (nearbyintf): Define using libm_alias_float.
21539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21540 <libm-alias-float.h>.
21541 (rintf): Define using libm_alias_float.
21542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21543 <libm-alias-float.h>.
21544 (ceilf): Define using libm_alias_float.
21545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21546 <libm-alias-float.h>.
21547 (floorf): Define using libm_alias_float.
21548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21549 <libm-alias-float.h>.
21550 (fmaf): Define using libm_alias_float.
21551 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21552 <libm-alias-float.h>.
21553 (lrintf): Define using libm_alias_float.
21554 (llrintf): Likewise.
21555 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21556 <libm-alias-float.h>.
21557 (nearbyintf): Define using libm_alias_float.
21558 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21559 <libm-alias-float.h>.
21560 (rintf): Define using libm_alias_float.
21561 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21562 <libm-alias-float.h>.
21563 (truncf): Define using libm_alias_float.
21564 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21565 <libm-alias-float.h>.
21566 (copysignf): Define using libm_alias_float.
21567 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21568 <libm-alias-float.h>.
21569 (fabsf): Define using libm_alias_float.
21570 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21571 <libm-alias-float.h>.
21572 (lrintf): Define using libm_alias_float.
21573 (llrintf): Likewise.
21574 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21575 <libm-alias-float.h>.
21576 (nearbyintf): Define using libm_alias_float.
21577 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21578 <libm-alias-float.h>.
21579 (rintf): Define using libm_alias_float.
21581 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21583 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21584 <libm-alias-double.h>.
21585 (copysign): Define using libm_alias_double.
21586 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21587 <libm-alias-double.h>.
21588 (fabs): Define using libm_alias_double.
21589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21590 Include <libm-alias-double.h>.
21591 (copysign): Define using libm_alias_double.
21592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21593 <libm-alias-double.h>.
21594 (fabs): Define using libm_alias_double.
21595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21596 <libm-alias-double.h>.
21597 (fdim): Define using libm_alias_double.
21598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21599 <libm-alias-double.h>.
21600 (fma): Define using libm_alias_double.
21601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21602 <libm-alias-double.h>.
21603 (llrint): Define using libm_alias_double.
21604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21605 Include <libm-alias-double.h>.
21606 (nearbyint): Define using libm_alias_double.
21607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21608 <libm-alias-double.h>.
21609 (rint): Define using libm_alias_double.
21610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21611 <libm-alias-double.h>.
21612 (fabs): Define using libm_alias_double.
21613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21614 <libm-alias-double.h>.
21615 (llrint): Define using libm_alias_double.
21616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21617 <libm-alias-double.h>.
21618 (nearbyint): Define using libm_alias_double.
21619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21620 <libm-alias-double.h>.
21621 (rint): Define using libm_alias_double.
21622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21623 <libm-alias-double.h>.
21624 (ceil): Define using libm_alias_double.
21625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21626 <libm-alias-double.h>.
21627 (floor): Define using libm_alias_double.
21628 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21629 <libm-alias-double.h>.
21630 (fma): Define using libm_alias_double.
21631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21632 <libm-alias-double.h>.
21633 (lrint): Define using libm_alias_double.
21634 (llrint): Likewise.
21635 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21636 <libm-alias-double.h>.
21637 (nearbyint): Define using libm_alias_double.
21638 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21639 <libm-alias-double.h>.
21640 (rint): Define using libm_alias_double.
21641 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21642 <libm-alias-double.h>.
21643 (trunc): Define using libm_alias_double.
21644 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21645 <libm-alias-double.h>.
21646 (copysign): Define using libm_alias_double.
21647 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21648 <libm-alias-double.h>.
21649 (fabs): Define using libm_alias_double.
21650 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21651 <libm-alias-double.h>.
21652 (lrint): Define using libm_alias_double.
21653 (llrint): Likewise.
21654 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21655 <libm-alias-double.h>.
21656 (nearbyint): Define using libm_alias_double.
21657 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21658 <libm-alias-double.h>.
21659 (rint): Define using libm_alias_double.
21662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21664 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21666 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21667 SPARC --disable-multi-arch glibc variants.
21669 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21670 <libm-alias-float.h>.
21671 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21673 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21674 <libm-alias-float.h>.
21675 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21677 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21678 <libm-alias-float.h>.
21679 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21681 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21682 <libm-alias-float.h>.
21683 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21685 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21686 <libm-alias-float.h>.
21687 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21689 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21690 <libm-alias-float.h>.
21691 (ceilf): Define using libm_alias_float.
21692 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21693 <libm-alias-float.h>.
21694 (floorf): Define using libm_alias_float.
21695 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21696 <libm-alias-float.h>.
21697 (fmaf): Define using libm_alias_float.
21698 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21699 <libm-alias-float.h>.
21700 (nearbyintf): Define using libm_alias_float.
21701 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21702 <libm-alias-float.h>.
21703 (rintf): Define using libm_alias_float.
21704 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21705 <libm-alias-float.h>.
21706 (truncf): Define using libm_alias_float.
21707 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21708 (copysignf): Define using libm_alias_float.
21709 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21710 (cosf): Define using libm_alias_float.
21711 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21712 (fabsf): Define using libm_alias_float.
21713 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21714 (fmaxf): Define using libm_alias_float.
21715 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21716 (fminf): Define using libm_alias_float.
21717 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21718 (llrintf): Define using libm_alias_float.
21719 [!__ILP32__] (lrintf): Likewise.
21720 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21721 (sincosf): Define using libm_alias_float.
21722 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21723 (sinf): Define using libm_alias_float.
21724 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21725 (lrintf): Define using libm_alias_float.
21727 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21728 <libm-alias-double.h>.
21729 (atan): Define using libm_alias_double.
21730 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21731 <libm-alias-double.h>.
21732 (ceil): Define using libm_alias_double.
21733 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21734 <libm-alias-double.h>.
21735 (floor): Define using libm_alias_double.
21736 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21737 <libm-alias-double.h>.
21738 (fma): Define using libm_alias_double.
21739 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21740 <libm-alias-double.h>.
21741 (nearbyint): Define using libm_alias_double.
21742 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21743 <libm-alias-double.h>.
21744 (rint): Define using libm_alias_double.
21745 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21746 <libm-alias-double.h>.
21747 (sin): Define using libm_alias_double.
21749 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21750 <libm-alias-double.h>.
21751 (tan): Define using libm_alias_double.
21752 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21753 <libm-alias-double.h>.
21754 (trunc): Define using libm_alias_double.
21755 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21756 (copysign): Define using libm_alias_double.
21757 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21758 (fabs): Define using libm_alias_double.
21759 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21760 (fmax): Define using libm_alias_double.
21761 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21762 (fmin): Define using libm_alias_double.
21763 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21764 (llrint): Define using libm_alias_double.
21765 [!__ILP32__] (lrint): Likewise.
21766 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21767 (lrint): Define using libm_alias_double.
21769 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21771 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21772 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21775 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21776 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21777 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21778 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21779 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21781 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21782 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21784 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21785 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21786 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21787 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21788 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21789 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21791 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21792 (libm-sysdep_routines): Add s_nearbyint-generic and
21793 s_nearbyintf-generic objects.
21794 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21795 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21796 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21797 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21798 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21799 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21801 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21802 Add s_finitef-generic and s_finite-generic objects.
21803 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21804 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21805 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21806 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21807 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21808 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21810 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21811 Add s_isinff-generic and s_isinf-generic objects.
21812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21819 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21820 Add s_isnanf-generic and s_isnan-generic objects.
21821 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21824 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21828 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21830 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21832 (sysdep_routines): Use sysdep_calls as base.
21833 (libm-sysdep_routines): Add generic rule for symbols shared with
21834 libc. Add s_signbit-generic and s_signbitf-generic objects.
21835 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21836 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21837 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21838 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21839 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21840 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21842 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21844 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21845 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21846 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21847 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21848 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21849 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21850 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21851 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21852 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21853 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21854 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21855 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21856 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21857 libm_alias_float_r.
21858 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21859 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21861 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21862 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21863 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21864 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21865 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21866 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21867 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21868 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21869 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21870 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21872 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21874 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21875 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21876 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21877 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21878 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21879 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21880 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21881 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21882 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21883 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21884 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21885 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21886 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21887 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21888 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21889 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21890 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21891 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21892 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21894 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21895 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21896 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21897 * sysdeps/ia64/fpu/w_lgammaf_main.c
21898 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21899 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21901 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21902 Alexandre Oliva <aoliva@redhat.com>
21905 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21906 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21908 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21910 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21911 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21912 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21913 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21914 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21915 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21916 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21917 instead of “ifdef DIACRIT_BACKWARD”.
21919 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21921 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21922 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21923 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21924 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21925 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21926 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21927 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21928 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21929 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21933 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21934 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21935 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21936 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21937 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21938 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21940 ($(have-as-vis3) == yes): Remove conditional.
21941 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21952 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21954 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21957 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21958 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21960 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21962 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21963 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21964 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21965 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21966 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21967 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21968 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21969 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21970 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21971 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21972 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21973 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21974 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21975 libm_alias_double_r.
21976 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21978 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21979 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21980 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21981 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21982 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21983 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21984 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21985 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21986 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21987 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21988 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21990 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21992 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21993 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21994 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21995 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21996 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21997 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21998 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21999 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22000 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22001 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22002 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22003 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22004 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22005 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22006 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22007 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22008 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22009 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22011 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22012 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22013 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22014 * sysdeps/ia64/fpu/w_lgamma_main.c
22015 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22016 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22018 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
22020 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22021 address of $global$ into %dp register earlier. Use pc-relative
22022 instruction sequence for PIC case.
22024 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22026 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22027 (asinhf): Define using libm_alias_float.
22028 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22029 (atanf): Define using libm_alias_float.
22030 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22031 (cbrtf): Define using libm_alias_float.
22032 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22033 (ceilf): Define using libm_alias_float.
22034 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22035 (copysignf): Define using libm_alias_float.
22036 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22037 (expm1f): Define using libm_alias_float.
22038 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22039 (fabsf): Define using libm_alias_float.
22040 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22041 (floorf): Define using libm_alias_float.
22042 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22043 (fmaxf): Define using libm_alias_float.
22044 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22045 (fminf): Define using libm_alias_float.
22046 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22047 (frexpf): Define using libm_alias_float.
22048 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22049 (llrintf): Define using libm_alias_float.
22050 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22051 (logbf): Define using libm_alias_float.
22052 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22053 (lrintf): Define using libm_alias_float.
22054 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22055 (nearbyintf): Define using libm_alias_float.
22056 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22057 (remquof): Define using libm_alias_float.
22058 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22059 (rintf): Define using libm_alias_float.
22060 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22061 (truncf): Define using libm_alias_float.
22062 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22063 <libm-alias-float.h>.
22064 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22066 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22067 <libm-alias-float.h>.
22068 (expf): Define using libm_alias_float, or libm_alias_float_other
22070 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22071 <libm-alias-float.h>.
22072 (log2f): Define using libm_alias_float, or libm_alias_float_other
22074 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22075 <libm-alias-float.h>.
22076 (logf): Define using libm_alias_float, or libm_alias_float_other
22078 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22079 <libm-alias-float.h>.
22080 (powf): Define using libm_alias_float, or libm_alias_float_other
22082 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22083 <libm-alias-float.h>.
22084 (cosf): Define using libm_alias_float.
22085 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22086 <libm-alias-float.h>.
22087 (sincosf): Define using libm_alias_float.
22088 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22089 <libm-alias-float.h>.
22090 (sinf): Define using libm_alias_float.
22091 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22092 (fmaxf): Define using libm_alias_float.
22093 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22094 (fminf): Define using libm_alias_float.
22095 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22096 <libm-alias-float.h>.
22097 (fmaf): Define using libm_alias_float.
22099 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22100 (asinh): Define using libm_alias_double.
22101 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22102 (atan): Define using libm_alias_double.
22103 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22104 (cbrt): Define using libm_alias_double.
22105 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22106 (ceil): Define using libm_alias_double.
22107 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22108 (copysign): Define using libm_alias_double.
22109 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22110 (expm1): Define using libm_alias_double.
22111 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22112 (fabs): Define using libm_alias_double.
22113 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22114 (fdim): Define using libm_alias_double.
22115 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22116 (floor): Define using libm_alias_double.
22117 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22118 (fmax): Define using libm_alias_double.
22119 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22120 (fmin): Define using libm_alias_double.
22121 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22122 (frexp): Define using libm_alias_double.
22123 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22124 (llrint): Define using libm_alias_double.
22125 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22126 (logb): Define using libm_alias_double.
22127 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22128 (lrint): Define using libm_alias_double.
22129 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22130 (nearbyint): Define using libm_alias_double.
22131 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22132 (remquo): Define using libm_alias_double.
22133 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22134 (rint): Define using libm_alias_double.
22135 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22136 (trunc): Define using libm_alias_double.
22137 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22138 (fmax): Define using libm_alias_double.
22139 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22140 (fmin): Define using libm_alias_double.
22141 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22142 (fma): Define using libm_alias_double.
22144 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22147 * elf/dl-hwcaps.c (ROUND): Removed.
22148 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22149 and ELF_NOTE_NEXT_OFFSET.
22150 * elf/dl-load.c (ROUND): Removed.
22151 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22152 * elf/readelflib.c (ROUND): Removed.
22153 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22154 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22155 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22156 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22158 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22160 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22161 [!__fmaf] (fmaf): Define using libm_alias_float.
22163 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22164 [!__fma] (fma): Define using libm_alias_double.
22165 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22167 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22170 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22171 and implement the collation rules for cs from CLDR on top of that.
22172 * Makefile: Add cs_CZ.UTF-8 to test-input.
22173 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22175 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22177 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22179 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22180 Icarus Sparry <icarus.w.sparry@intel.com>
22182 * benchtests/Makefile:Add BENCHSET to allow subsets of
22183 benchmarks to be run.
22184 * benchtests/README: Add documentation for: Running subsets of
22187 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22189 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22190 range of tests names.
22192 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22193 result from property and remove "max", min" and "mean" from
22194 required properties based on benchtests/bench-skeleton.c.
22196 2017-11-28 Florian Weimer <fweimer@redhat.com>
22199 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22200 due to Internet requirement.
22201 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22203 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22205 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22207 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22208 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22209 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22210 (sysdep_routines): Add memset-ultra1.
22211 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22213 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22214 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22215 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22216 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22217 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22218 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22219 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22220 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22222 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22224 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22225 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22226 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22227 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22228 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22229 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22230 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
22232 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22233 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
22234 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22235 (sysdep_routines): Add memcpy-ultra1.
22236 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
22237 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
22239 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22241 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
22242 (cfloat_versions): Take function argument without trailing 'f'.
22243 Call libm_alias_float_other.
22244 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
22245 * sysdeps/alpha/fpu/cargf.c: Likewise.
22246 * sysdeps/alpha/fpu/cimagf.c: Likewise.
22247 * sysdeps/alpha/fpu/conjf.c: Likewise.
22248 * sysdeps/alpha/fpu/crealf.c: Likewise.
22249 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
22250 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22251 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22252 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22253 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22254 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22255 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22256 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22257 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22258 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22259 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22260 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22261 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22262 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22263 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22264 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22265 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22266 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22267 (clog10f): Use libm_alias_float_other.
22268 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22269 (ceilf): Define using libm_alias_float.
22270 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22271 (copysignf): Define using libm_alias_float.
22272 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22273 (fabsf): Define using libm_alias_float.
22274 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22275 (floorf): Define using libm_alias_float.
22276 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22277 (fmaxf): Define using libm_alias_float.
22278 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22279 (fminf): Define using libm_alias_float.
22280 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22281 (lrintf): Define using libm_alias_float.
22282 (llrintf): Likewise.
22283 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22284 (lroundf): Define using libm_alias_float.
22285 (llroundf): Likewise.
22286 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22287 (rintf): Define using libm_alias_float.
22288 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22289 (truncf): Define using libm_alias_float.
22291 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22292 (ceilf): Define using libm_alias_float.
22293 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22294 (floorf): Define using libm_alias_float.
22295 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22296 (fmaf): Define using libm_alias_float.
22297 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22298 (fmaxf): Define using libm_alias_float.
22299 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22300 (fminf): Define using libm_alias_float.
22301 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22302 (llrintf): Define using libm_alias_float.
22303 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22304 (llroundf): Define using libm_alias_float.
22305 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22306 (lrintf): Define using libm_alias_float.
22307 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22308 (lroundf): Define using libm_alias_float.
22309 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22310 <libm-alias-float.h>.
22311 (nearbyintf): Define using libm_alias_float.
22312 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22313 (rintf): Define using libm_alias_float.
22314 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22315 (roundf): Define using libm_alias_float.
22316 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22317 (truncf): Define using libm_alias_float.
22319 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
22320 (ceil): Define using libm_alias_double.
22321 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
22322 (copysign): Define using libm_alias_double.
22323 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
22324 (fabs): Define using libm_alias_double.
22325 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
22326 (floor): Define using libm_alias_double.
22327 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
22328 (fmax): Define using libm_alias_double.
22329 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
22330 (fmin): Define using libm_alias_double.
22331 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
22332 (lrint): Define using libm_alias_double.
22333 (llrint): Likewise.
22334 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
22335 (lround): Define using libm_alias_double.
22336 (llround): Likewise.
22337 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
22338 (rint): Define using libm_alias_double.
22339 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
22340 (trunc): Define using libm_alias_double.
22342 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22343 (libm_alias_double_r): Add semicolon after weak_alias call.
22345 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22347 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
22348 (ceil): Define using libm_alias_double.
22349 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
22350 (floor): Define using libm_alias_double.
22351 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
22352 (fma): Define using libm_alias_double.
22353 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
22354 (fmax): Define using libm_alias_double.
22355 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22356 (fmin): Define using libm_alias_double.
22357 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22358 (llrint): Define using libm_alias_double.
22359 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22360 (llround): Define using libm_alias_double.
22361 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22362 (lrint): Define using libm_alias_double.
22363 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22364 (lround): Define using libm_alias_double.
22365 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22366 (nearbyint): Define using libm_alias_double.
22367 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22368 (rint): Define using libm_alias_double.
22369 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22370 (round): Define using libm_alias_double.
22371 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22372 (trunc): Define using libm_alias_double.
22374 2017-11-27 Florian Weimer <fweimer@redhat.com>
22376 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22377 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22378 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22379 (tests): Add tst-mlock2.
22380 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22381 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22382 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22383 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22384 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22385 for mlock. Document mlock2.
22387 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22389 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22390 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22392 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22394 * sysdeps/x86/Makeconfig: New file.
22395 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22396 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22397 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22398 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22399 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22400 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22401 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22403 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22404 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22405 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22406 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22407 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22408 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22409 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22410 * manual/math.texi (Mathematics): Document support for _Float64x.
22411 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22412 * stdlib/Versions (GLIBC_2.27): Likewise.
22413 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22414 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22415 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22416 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22417 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22418 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22419 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22420 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22421 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22422 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22423 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22424 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22429 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22430 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22431 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22432 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22433 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22434 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22435 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22436 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22437 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22438 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22439 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22440 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22441 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22442 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22444 2017-11-27 Andreas Schwab <schwab@suse.de>
22446 * elf/Makefile (dl-routines): Add dl-sort-maps.
22447 * elf/dl-sort-maps.c: New file.
22448 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22449 (_dl_sort_maps): Declare.
22450 * elf/dl-fini.c (_dl_sort_fini): Remove.
22451 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22452 * elf/dl-close.c (_dl_close_worker): Likewise.
22453 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22455 * elf/dl-open.c (dl_open_worker): Likewise.
22457 2017-11-24 Joseph Myers <joseph@codesourcery.com>
22459 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22460 using libm_alias_float128.
22461 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22463 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22465 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22466 (setpayloadsigf128): Likewise.
22467 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22469 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22472 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22473 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22474 -mfloat128 to CFLAGS.
22476 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22478 (CFLAGS-libm-test-support-float64x.c): New variable.
22479 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22480 $(f128-loader-link) to gnulib-tests.
22482 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22483 (libm_alias_float128_other_r): If
22484 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22486 (libm_alias_float128_r): Add semicolon after weak_alias call.
22487 * sysdeps/generic/libm-alias-ldouble.h
22488 (libm_alias_ldouble_other_r_f128): New macro.
22489 (libm_alias_ldouble_other_r_f64x): Likewise.
22490 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22491 and libm_alias_ldouble_other_r_f64x.
22492 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22493 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22494 (libm_alias_ldouble_other_r_f128): New macro.
22495 (libm_alias_ldouble_other_r_f64x): Likewise.
22496 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22497 and libm_alias_ldouble_other_r_f64x.
22499 * stdlib/strfroml.c: Always include <stdlib.h>.
22500 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22501 undefine as macro and define as weak alias.
22502 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22503 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22505 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22506 Define and later undefine as macro and define as weak alias.
22508 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22509 Define and later undefine as macro. Define as weak alias if
22511 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22512 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22513 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22514 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22515 Define and later undefine as macro. Define as weak alias if
22517 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22518 Define and later undefine as macro. Define as weak alias if
22520 * sysdeps/ieee754/float128/strtof128_l.c
22521 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22522 Define and later undefine as macro. Define as weak alias if
22524 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22525 Define and later undefine as macro. Define as weak alias if
22527 * sysdeps/ieee754/ldbl-128/strtold_l.c
22528 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22529 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22530 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22531 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22532 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22533 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22534 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22535 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22536 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22537 * sysdeps/ieee754/ldbl-96/strtold_l.c
22538 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22539 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22540 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22541 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22543 * math/test-float64x.h: New file.
22544 * math/Makefile (type-float64x-yes): New variable.
22545 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22547 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22548 function-like macro.
22549 (min_of_type_): Likewise.
22550 (min_of_type_l): Likewise.
22551 (min_of_type_f128): Likewise.
22552 (min_of_type): Pass () as last argument of __MATH_TG.
22554 * stdlib/tst-strtod-round-skeleton.c
22555 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22558 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22559 for combinations of long double with _Float64 and _Float64x.
22561 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22562 (__DECL_SIMD_cosf32): Likewise.
22563 (__DECL_SIMD_cosf64): Likewise.
22564 (__DECL_SIMD_cosf32x): Likewise.
22565 (__DECL_SIMD_cosf64x): Likewise.
22566 (__DECL_SIMD_cosf128x): Likewise.
22567 (__DECL_SIMD_sinf16): Likewise.
22568 (__DECL_SIMD_sinf32): Likewise.
22569 (__DECL_SIMD_sinf64): Likewise.
22570 (__DECL_SIMD_sinf32x): Likewise.
22571 (__DECL_SIMD_sinf64x): Likewise.
22572 (__DECL_SIMD_sinf128x): Likewise.
22573 (__DECL_SIMD_sincosf16): Likewise.
22574 (__DECL_SIMD_sincosf32): Likewise.
22575 (__DECL_SIMD_sincosf64): Likewise.
22576 (__DECL_SIMD_sincosf32x): Likewise.
22577 (__DECL_SIMD_sincosf64x): Likewise.
22578 (__DECL_SIMD_sincosf128x): Likewise.
22579 (__DECL_SIMD_logf16): Likewise.
22580 (__DECL_SIMD_logf32): Likewise.
22581 (__DECL_SIMD_logf64): Likewise.
22582 (__DECL_SIMD_logf32x): Likewise.
22583 (__DECL_SIMD_logf64x): Likewise.
22584 (__DECL_SIMD_logf128x): Likewise.
22585 (__DECL_SIMD_expf16): Likewise.
22586 (__DECL_SIMD_expf32): Likewise.
22587 (__DECL_SIMD_expf64): Likewise.
22588 (__DECL_SIMD_expf32x): Likewise.
22589 (__DECL_SIMD_expf64x): Likewise.
22590 (__DECL_SIMD_expf128x): Likewise.
22591 (__DECL_SIMD_powf16): Likewise.
22592 (__DECL_SIMD_powf32): Likewise.
22593 (__DECL_SIMD_powf64): Likewise.
22594 (__DECL_SIMD_powf32x): Likewise.
22595 (__DECL_SIMD_powf64x): Likewise.
22596 (__DECL_SIMD_powf128x): Likewise.
22598 * stdlib/Versions (libc): Move entries for wcstof128 and
22599 wcstof128_l to ....
22600 * wcsmbs/Versions (libc): ... here.
22601 Include <float128-abi.h>.
22603 2017-11-24 Florian Weimer <fweimer@redhat.com>
22605 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22606 bits/mman-shared.h.
22607 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22608 <bits/mman-shared.h>.
22609 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22611 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22612 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22613 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22614 <bits/mman-shared.h>.
22616 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22619 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22620 posix_memalign/free.
22621 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22623 2017-11-22 Mike FABIAN <mfabian@redhat.com>
22626 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22627 and implement the collation rules for pl from CLDR on top of that.
22628 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22629 of locales to be built for testing.
22630 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22632 2017-11-23 Joseph Myers <joseph@codesourcery.com>
22634 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22635 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22636 libm_alias_ldouble_other.
22637 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22638 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22639 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22640 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22641 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22642 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22643 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22644 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22645 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22646 libm_alias_ldouble_r.
22647 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22648 libm_alias_ldouble_other.
22649 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22650 (log10l): Likewise.
22651 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22652 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22653 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22654 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22655 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22656 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22657 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22658 (atan2l): Likewise.
22659 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22660 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22661 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22662 libm_alias_ldouble.
22663 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22665 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22666 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22667 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22669 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22670 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22671 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22672 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22673 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22674 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22675 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22676 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22677 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22678 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22679 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22680 libm_alias_ldouble.
22681 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22682 libm_alias_ldouble_other.
22683 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22684 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22685 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22686 libm_alias_ldouble.
22687 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22688 libm_alias_ldouble_other.
22689 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22690 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22691 * sysdeps/ia64/fpu/w_lgammal_main.c
22692 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22693 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22695 2017-11-23 Florian Weimer <fweimer@redhat.com>
22697 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22698 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22699 alike. Remove freeres marker.
22700 * malloc/arena.c (arena_thread_freeres): Call
22701 tcache_thread_shutdown.
22703 2017-11-23 Florian Weimer <fweimer@redhat.com>
22706 Export nscd hash function as __nss_hash.
22707 * include/nss.h (__nss_hash): Declare.
22708 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22710 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22711 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22713 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22714 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22715 * nss/Makefiles (routines): Add nss_hash.
22716 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22717 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22718 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22719 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22721 2017-11-23 Florian Weimer <fweimer@redhat.com>
22724 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22725 Return error code, not -1.
22726 * signal/tst-sigwait-eintr.c: New file.
22727 * signal/Makefile (tests): Add tst-sigwait-eintr.
22729 2017-11-23 Florian Weimer <fweimer@redhat.com>
22731 Linux: Add memfd_create system call wrapper
22732 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22734 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22735 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22736 [__USE_GNU] (memfd_create): Declare.
22737 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22738 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22739 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22740 * sysdeps/unix/sysv/linux/**.abilist: Update.
22741 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22743 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22745 * localedata/gen-locale.sh: Fix typo in variable name.
22747 * resolv/res_debug.c (p_secstodate): Condition definition on
22748 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22749 directly as __p_secstodate, and as a compat symbol. Do not use
22750 libresolv_hidden_def.
22751 * resolv/resolv.h (p_secstodate): Remove macro and function
22753 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22754 using p_secstodate.
22755 * include/resolv.h (__p_secstodate): Do not use
22756 libresolv_hidden_proto.
22757 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22758 (tests-internal): ... here.
22759 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22760 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22761 and declare and use __p_secstodate and use compat_symbol_reference
22763 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22764 implementation returning 77.
22767 * resolv/res_debug.c: Include <libc-diag.h>.
22768 (p_secstodate): Assert time_t at least as wide as u_long. On
22769 overflow, use integer seconds since the epoch as output, or use
22770 "<overflow>" as output and set errno to EOVERFLOW if integer
22771 seconds since the epoch would be 14 or more characters.
22772 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22774 * resolv/tst-p_secstodate.c: New file.
22775 * resolv/Makefile (tests): Add tst-p_secstodate.
22776 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22778 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22779 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22780 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22782 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22784 * posix/regcomp.c (init_word_char): Add comments.
22786 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22789 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22790 strlen to compute length of ut_user and set trailing NUL byte of
22793 2017-11-21 Mike FABIAN <mfabian@redhat.com>
22796 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22797 using “copy "iso14651_t1"” and then implementing the
22798 collation rules for lv from CLDR on top of that.
22799 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22800 of locales to be built for testing.
22801 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22804 2017-11-21 Joseph Myers <joseph@codesourcery.com>
22806 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22807 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22808 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22809 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22810 [__USE_MISC] (MADV_HWPOISON): New macro.
22811 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22813 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22815 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22816 -Wmissing-braces on GCC 4.9.
22818 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22820 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22821 * sysdeps/s390/s390-32/start.S (_start): Likewise
22822 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22823 (thread_start): Likewise.
22824 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22825 (thread_start): Likewise.
22826 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22827 (__makecontext_ret): Likewise.
22828 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22829 (__makecontext_ret): Likewise.
22831 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22833 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22834 __wcschrnul): Remove attribute_hidden.
22836 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22838 regex: don't assume uint64_t or uint32_t
22839 This avoids -Werror=overflow errors for 32-bit systems in
22840 the 64-bit case. Problem reported by Joseph Myers in:
22841 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22842 Also, when this code is used in Gnulib it ports to platforms
22843 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22844 them, and on some 32-bit compilers there is no uint64_t.
22845 Problem reported by Gianluigi Tiesi in:
22846 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22847 * posix/regcomp.c (init_word_char): Don't assume that the types
22848 uint64_t and uint32_t exist. Adapted from Gnulib patch
22849 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22850 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22852 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22854 * sysdeps/aarch64/memset-reg.h: New file.
22855 * sysdeps/aarch64/memset.S: Use it.
22856 (__memset): Rename to MEMSET macro.
22857 [ZVA_MACRO]: Use zva_macro.
22858 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22859 Add memset_generic and memset_falkor.
22860 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22861 (__libc_ifunc_impl_list): Add memset ifuncs.
22862 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22863 local variable zva_size.
22864 * sysdeps/aarch64/multiarch/memset.c: New file.
22865 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22866 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22867 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22868 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22869 (DCZID_DZP_MASK): New macro.
22870 (DCZID_BS_MASK): Likewise.
22871 (init_cpu_features): Read and set zva_size.
22872 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22873 (struct cpu_features): New member zva_size.
22875 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22876 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22877 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22879 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22880 backwards. Fix timing computation.
22881 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22882 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22883 on memset by N at a time. Fix timing computation.
22885 2017-11-20 Florian Weimer <fweimer@redhat.com>
22887 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22888 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22890 2017-11-19 Florian Weimer <fweimer@redhat.com>
22892 manual: Document mprotect
22893 * manual/memory.texi (Memory Protection): New section.
22894 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22895 documentation of PROT_* flags and reference the Memory Protection
22898 2017-11-19 Florian Weimer <fweimer@redhat.com>
22900 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22901 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22902 (Scatter-Gather): ... to here. Remove misleading comment.
22904 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22906 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22909 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22910 when /proc/<pid>/setgroups does not exist.
22912 2017-11-18 Florian Weimer <fweimer@redhat.com>
22914 * sysdeps/unix/sysv/linux/tst-ttyname.c
22915 (become_root_in_mount_ns): Remove.
22916 (do_in_chroot_1): Call support_enter_mount_namespace.
22917 (do_in_chroot_2): Likewise.
22918 (do_test): Call support_become_root early.
22920 2017-11-18 Florian Weimer <fweimer@redhat.com>
22922 * support/namespace.h (support_enter_mount_namespace): Declare.
22923 * support/support_enter_mount_namespace.c: New file.
22924 * support/Makefile (libsupport-routines): Add
22925 support_enter_mount_namespace.
22927 2017-11-18 Florian Weimer <fweimer@redhat.com>
22929 * support/temp_file.c (support_create_temp_directory): Use
22930 test_dir and do not rely on the presence of the XXXXXX suffix.
22931 * support/temp_file.h (support_create_temp_directory): Update
22933 * support/tst-xreadlink.c (do_test): Adjust.
22934 * support/support_chroot.c (support_chroot_create): Likewise.
22936 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22938 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22940 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22943 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22945 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22946 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22947 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22948 (ceill): Define using libm_alias_ldouble.
22949 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22950 <libm-alias-ldouble.h>.
22951 (copysignl): Define using libm_alias_ldouble.
22952 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22953 (fabsl): Define using libm_alias_ldouble.
22954 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22955 (floorl): Define using libm_alias_ldouble.
22956 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22957 (fmaxl): Define using libm_alias_ldouble.
22958 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22959 (fminl): Define using libm_alias_ldouble.
22960 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22961 (llrintl): Define using libm_alias_ldouble.
22962 (lrintl): Likewise.
22963 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22964 <libm-alias-ldouble.h>.
22965 (nearbyintl): Define using libm_alias_ldouble.
22966 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22967 (truncl): Define using libm_alias_ldouble.
22968 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22969 <libm-alias-ldouble.h>.
22970 (lrintl): Define using libm_alias_ldouble.
22972 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22973 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22974 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22975 (asinhl): Define using libm_alias_ldouble.
22976 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22977 (atanl): Define using libm_alias_ldouble.
22978 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22979 (cbrtl): Define using libm_alias_ldouble.
22980 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22981 (ceill): Define using libm_alias_ldouble.
22982 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22983 (copysignl): Define using libm_alias_ldouble.
22984 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22985 (fabsl): Define using libm_alias_ldouble.
22986 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22987 (floorl): Define using libm_alias_ldouble.
22988 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22989 (fmaxl): Define using libm_alias_ldouble.
22990 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22991 (fminl): Define using libm_alias_ldouble.
22992 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22993 (frexpl): Define using libm_alias_ldouble.
22994 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22995 (llrintl): Define using libm_alias_ldouble.
22996 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22997 (logbl): Define using libm_alias_ldouble.
22998 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22999 (lrintl): Define using libm_alias_ldouble.
23000 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23001 (nearbyintl): Define using libm_alias_ldouble.
23002 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23003 (nextafterl): Define using libm_alias_ldouble.
23004 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23005 (remquol): Define using libm_alias_ldouble.
23006 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23007 (rintl): Define using libm_alias_ldouble.
23008 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23009 (truncl): Define using libm_alias_ldouble.
23010 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23011 (fmaxl): Define using libm_alias_ldouble.
23012 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23013 (fminl): Define using libm_alias_ldouble.
23015 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23016 to C syntax instead of availability and properties of types.
23017 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23018 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23019 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23020 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23021 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23022 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23024 2017-11-17 Florian Weimer <fweimer@redhat.com>
23026 support_become_root: Enable file creation in namespaces.
23027 * support/support_become_root.c (setup_mapping): New function.
23028 (support_become_root): Call it.
23030 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23032 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23035 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23037 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23038 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23040 2017-11-16 Joseph Myers <joseph@codesourcery.com>
23042 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23044 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23047 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23049 * INSTALL: Fix botched up regeneration.
23051 * NEWS: Update sourceare link to https.
23052 * configure.ac: Likewise.
23053 * crypt/md5test-giant.c: Likewise.
23054 * dlfcn/bug-atexit1.c: Likewise.
23055 * dlfcn/bug-atexit2.c: Likewise.
23056 * localedata/README: Likewise.
23057 * malloc/tst-mallocfork.c: Likewise.
23058 * manual/install.texi: Likewise.
23059 * nptl/tst-pthread-getattr.c: Likewise.
23060 * stdio-common/tst-fgets.c: Likewise.
23061 * stdio-common/tst-fwrite.c: Likewise.
23062 * sunrpc/Makefile: Likewise.
23063 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23064 * wcsmbs/tst-mbrtowc2.c: Likewise.
23065 * configure: Regenerate.
23066 * INSTALL: Regenerate.
23068 2017-11-15 Martin Sebor <msebor@redhat.com>
23070 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23071 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23072 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23074 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23077 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23078 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23081 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23082 Defer is_pty check until end of the function.
23083 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23086 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23087 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23088 (ttyname): Likewise.
23089 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23090 (__ttyname_r): Likewise.
23092 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23095 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23097 * manual/terminal.texi (Is It a Terminal):
23098 Mention ENODEV for ttyname and ttyname_r.
23100 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23102 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23103 constant and macro.
23105 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23106 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23107 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23108 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23109 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23110 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23112 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23114 * signal/sigrelse.c (sigrelse): Optimize implementation.
23116 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23117 (__sigpause): Rely on __sigsuspend to implement single thread
23118 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23120 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23122 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23123 kernel version to 4.14.
23125 2017-11-15 Steve Ellcey <sellcey@cavium.com>
23128 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23129 Check if ifname is too long.
23131 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23133 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23135 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23137 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23138 was accidentally lost.
23140 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23142 * localedata/locales/az_IR: Add standard copyright header.
23144 2017-11-15 Florian Weimer <fweimer@redhat.com>
23147 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23148 not just the top one. Output a new "subheaps" statistic.
23150 2017-11-15 Florian Weimer <fweimer@redhat.com>
23153 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23154 under the per-arena lock.
23155 * malloc/Makefile (tests): Add tst-malloc_info.
23156 (tst-malloc_info): Link with libpthread.
23157 * malloc/tst-malloc_info.c: New file.
23159 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23162 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23163 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23164 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23165 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23166 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23167 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23168 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23169 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23170 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23171 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23172 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23173 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23174 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23175 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23176 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23177 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23178 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23179 (__floating_type): Likewise.
23180 (__real_integer_type): Likewise.
23181 (__complex_integer_type): Likewise.
23182 (__expr_is_real): Likewise.
23183 (__tgmath_real_type_sub): Likewise.
23184 (__tgmath_real_type): Likewise.
23185 (__tgmath_complex_type_sub): Likewise.
23186 (__tgmath_complex_type): Likewise.
23187 (__TGMATH_F128): Likewise.
23188 (__TGMATH_CF128): Likewise.
23189 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23191 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23192 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23194 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23196 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23197 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23198 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23199 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23201 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23202 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23204 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23205 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23206 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23208 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23209 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23210 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23214 2017-11-14 Joseph Myers <joseph@codesourcery.com>
23216 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23217 for stpncpy calls for GCC 8.
23218 (test_strncat): Disable -Wstringop-truncation warning for strncat
23219 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23220 strncat call for GCC 7.
23221 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23223 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23226 * string/bug-strncat1.c: Include <libc-diag.h>.
23227 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23229 2017-11-13 Claude Paroz <claude@2xlibre.net>
23232 * localedata/locales/aa_DJ: Improved readibility by replacing
23233 <Uxxxx> sequences in the ASCII printable range by their ASCII
23234 character equivalents.
23235 * localedata/locales/aa_ER: Likewise.
23236 * localedata/locales/aa_ER@saaho: Likewise.
23237 * localedata/locales/aa_ET: Likewise.
23238 * localedata/locales/af_ZA: Likewise.
23239 * localedata/locales/agr_PE: Likewise.
23240 * localedata/locales/ak_GH: Likewise.
23241 * localedata/locales/am_ET: Likewise.
23242 * localedata/locales/anp_IN: Likewise.
23243 * localedata/locales/ar_AE: Likewise.
23244 * localedata/locales/ar_BH: Likewise.
23245 * localedata/locales/ar_DZ: Likewise.
23246 * localedata/locales/ar_EG: Likewise.
23247 * localedata/locales/ar_IN: Likewise.
23248 * localedata/locales/ar_IQ: Likewise.
23249 * localedata/locales/ar_JO: Likewise.
23250 * localedata/locales/ar_KW: Likewise.
23251 * localedata/locales/ar_LB: Likewise.
23252 * localedata/locales/ar_LY: Likewise.
23253 * localedata/locales/ar_MA: Likewise.
23254 * localedata/locales/ar_OM: Likewise.
23255 * localedata/locales/ar_QA: Likewise.
23256 * localedata/locales/ar_SA: Likewise.
23257 * localedata/locales/ar_SD: Likewise.
23258 * localedata/locales/ar_SS: Likewise.
23259 * localedata/locales/ar_SY: Likewise.
23260 * localedata/locales/ar_TN: Likewise.
23261 * localedata/locales/ar_YE: Likewise.
23262 * localedata/locales/as_IN: Likewise.
23263 * localedata/locales/ast_ES: Likewise.
23264 * localedata/locales/ayc_PE: Likewise.
23265 * localedata/locales/az_AZ: Likewise.
23266 * localedata/locales/az_IR: Likewise.
23267 * localedata/locales/be_BY: Likewise.
23268 * localedata/locales/be_BY@latin: Likewise.
23269 * localedata/locales/bem_ZM: Likewise.
23270 * localedata/locales/ber_DZ: Likewise.
23271 * localedata/locales/ber_MA: Likewise.
23272 * localedata/locales/bg_BG: Likewise.
23273 * localedata/locales/bhb_IN: Likewise.
23274 * localedata/locales/bho_IN: Likewise.
23275 * localedata/locales/bi_VU: Likewise.
23276 * localedata/locales/bn_BD: Likewise.
23277 * localedata/locales/bn_IN: Likewise.
23278 * localedata/locales/bo_CN: Likewise.
23279 * localedata/locales/bo_IN: Likewise.
23280 * localedata/locales/br_FR: Likewise.
23281 * localedata/locales/brx_IN: Likewise.
23282 * localedata/locales/bs_BA: Likewise.
23283 * localedata/locales/byn_ER: Likewise.
23284 * localedata/locales/ca_AD: Likewise.
23285 * localedata/locales/ca_ES: Likewise.
23286 * localedata/locales/ca_FR: Likewise.
23287 * localedata/locales/ca_IT: Likewise.
23288 * localedata/locales/ce_RU: Likewise.
23289 * localedata/locales/chr_US: Likewise.
23290 * localedata/locales/cmn_TW: Likewise.
23291 * localedata/locales/crh_UA: Likewise.
23292 * localedata/locales/cs_CZ: Likewise.
23293 * localedata/locales/csb_PL: Likewise.
23294 * localedata/locales/cv_RU: Likewise.
23295 * localedata/locales/cy_GB: Likewise.
23296 * localedata/locales/da_DK: Likewise.
23297 * localedata/locales/de_AT: Likewise.
23298 * localedata/locales/de_BE: Likewise.
23299 * localedata/locales/de_CH: Likewise.
23300 * localedata/locales/de_DE: Likewise.
23301 * localedata/locales/de_IT: Likewise.
23302 * localedata/locales/de_LI: Likewise.
23303 * localedata/locales/de_LU: Likewise.
23304 * localedata/locales/doi_IN: Likewise.
23305 * localedata/locales/dv_MV: Likewise.
23306 * localedata/locales/dz_BT: Likewise.
23307 * localedata/locales/el_CY: Likewise.
23308 * localedata/locales/el_GR: Likewise.
23309 * localedata/locales/en_AG: Likewise.
23310 * localedata/locales/en_AU: Likewise.
23311 * localedata/locales/en_BW: Likewise.
23312 * localedata/locales/en_CA: Likewise.
23313 * localedata/locales/en_DK: Likewise.
23314 * localedata/locales/en_GB: Likewise.
23315 * localedata/locales/en_HK: Likewise.
23316 * localedata/locales/en_IE: Likewise.
23317 * localedata/locales/en_IL: Likewise.
23318 * localedata/locales/en_IN: Likewise.
23319 * localedata/locales/en_NG: Likewise.
23320 * localedata/locales/en_NZ: Likewise.
23321 * localedata/locales/en_PH: Likewise.
23322 * localedata/locales/en_SG: Likewise.
23323 * localedata/locales/en_US: Likewise.
23324 * localedata/locales/en_ZA: Likewise.
23325 * localedata/locales/en_ZM: Likewise.
23326 * localedata/locales/en_ZW: Likewise.
23327 * localedata/locales/eo: Likewise.
23328 * localedata/locales/es_AR: Likewise.
23329 * localedata/locales/es_BO: Likewise.
23330 * localedata/locales/es_CL: Likewise.
23331 * localedata/locales/es_CO: Likewise.
23332 * localedata/locales/es_CR: Likewise.
23333 * localedata/locales/es_CU: Likewise.
23334 * localedata/locales/es_DO: Likewise.
23335 * localedata/locales/es_EC: Likewise.
23336 * localedata/locales/es_ES: Likewise.
23337 * localedata/locales/es_GT: Likewise.
23338 * localedata/locales/es_HN: Likewise.
23339 * localedata/locales/es_MX: Likewise.
23340 * localedata/locales/es_NI: Likewise.
23341 * localedata/locales/es_PA: Likewise.
23342 * localedata/locales/es_PE: Likewise.
23343 * localedata/locales/es_PR: Likewise.
23344 * localedata/locales/es_PY: Likewise.
23345 * localedata/locales/es_SV: Likewise.
23346 * localedata/locales/es_US: Likewise.
23347 * localedata/locales/es_UY: Likewise.
23348 * localedata/locales/es_VE: Likewise.
23349 * localedata/locales/et_EE: Likewise.
23350 * localedata/locales/eu_ES: Likewise.
23351 * localedata/locales/eu_ES@euro: Likewise.
23352 * localedata/locales/fa_IR: Likewise.
23353 * localedata/locales/ff_SN: Likewise.
23354 * localedata/locales/fi_FI: Likewise.
23355 * localedata/locales/fil_PH: Likewise.
23356 * localedata/locales/fo_FO: Likewise.
23357 * localedata/locales/fr_BE: Likewise.
23358 * localedata/locales/fr_CA: Likewise.
23359 * localedata/locales/fr_CH: Likewise.
23360 * localedata/locales/fr_FR: Likewise.
23361 * localedata/locales/fr_LU: Likewise.
23362 * localedata/locales/fur_IT: Likewise.
23363 * localedata/locales/fy_DE: Likewise.
23364 * localedata/locales/fy_NL: Likewise.
23365 * localedata/locales/ga_IE: Likewise.
23366 * localedata/locales/gd_GB: Likewise.
23367 * localedata/locales/gez_ER: Likewise.
23368 * localedata/locales/gez_ET: Likewise.
23369 * localedata/locales/gl_ES: Likewise.
23370 * localedata/locales/gu_IN: Likewise.
23371 * localedata/locales/gv_GB: Likewise.
23372 * localedata/locales/ha_NG: Likewise.
23373 * localedata/locales/hak_TW: Likewise.
23374 * localedata/locales/he_IL: Likewise.
23375 * localedata/locales/hi_IN: Likewise.
23376 * localedata/locales/hif_FJ: Likewise.
23377 * localedata/locales/hne_IN: Likewise.
23378 * localedata/locales/hr_HR: Likewise.
23379 * localedata/locales/hsb_DE: Likewise.
23380 * localedata/locales/ht_HT: Likewise.
23381 * localedata/locales/hu_HU: Likewise.
23382 * localedata/locales/hy_AM: Likewise.
23383 * localedata/locales/i18n: Likewise.
23384 * localedata/locales/ia_FR: Likewise.
23385 * localedata/locales/id_ID: Likewise.
23386 * localedata/locales/ig_NG: Likewise.
23387 * localedata/locales/ik_CA: Likewise.
23388 * localedata/locales/is_IS: Likewise.
23389 * localedata/locales/it_CH: Likewise.
23390 * localedata/locales/it_IT: Likewise.
23391 * localedata/locales/iu_CA: Likewise.
23392 * localedata/locales/ja_JP: Likewise.
23393 * localedata/locales/ka_GE: Likewise.
23394 * localedata/locales/kk_KZ: Likewise.
23395 * localedata/locales/kl_GL: Likewise.
23396 * localedata/locales/kn_IN: Likewise.
23397 * localedata/locales/ko_KR: Likewise.
23398 * localedata/locales/kok_IN: Likewise.
23399 * localedata/locales/ks_IN: Likewise.
23400 * localedata/locales/ks_IN@devanagari: Likewise.
23401 * localedata/locales/ku_TR: Likewise.
23402 * localedata/locales/kw_GB: Likewise.
23403 * localedata/locales/ky_KG: Likewise.
23404 * localedata/locales/lb_LU: Likewise.
23405 * localedata/locales/lg_UG: Likewise.
23406 * localedata/locales/li_BE: Likewise.
23407 * localedata/locales/li_NL: Likewise.
23408 * localedata/locales/lij_IT: Likewise.
23409 * localedata/locales/ln_CD: Likewise.
23410 * localedata/locales/lo_LA: Likewise.
23411 * localedata/locales/lt_LT: Likewise.
23412 * localedata/locales/lv_LV: Likewise.
23413 * localedata/locales/lzh_TW: Likewise.
23414 * localedata/locales/mag_IN: Likewise.
23415 * localedata/locales/mai_IN: Likewise.
23416 * localedata/locales/mg_MG: Likewise.
23417 * localedata/locales/mhr_RU: Likewise.
23418 * localedata/locales/mi_NZ: Likewise.
23419 * localedata/locales/mk_MK: Likewise.
23420 * localedata/locales/ml_IN: Likewise.
23421 * localedata/locales/mn_MN: Likewise.
23422 * localedata/locales/mni_IN: Likewise.
23423 * localedata/locales/mr_IN: Likewise.
23424 * localedata/locales/ms_MY: Likewise.
23425 * localedata/locales/mt_MT: Likewise.
23426 * localedata/locales/my_MM: Likewise.
23427 * localedata/locales/nan_TW: Likewise.
23428 * localedata/locales/nan_TW@latin: Likewise.
23429 * localedata/locales/nb_NO: Likewise.
23430 * localedata/locales/nds_DE: Likewise.
23431 * localedata/locales/nds_NL: Likewise.
23432 * localedata/locales/ne_NP: Likewise.
23433 * localedata/locales/nhn_MX: Likewise.
23434 * localedata/locales/niu_NU: Likewise.
23435 * localedata/locales/niu_NZ: Likewise.
23436 * localedata/locales/nl_AW: Likewise.
23437 * localedata/locales/nl_BE: Likewise.
23438 * localedata/locales/nl_NL: Likewise.
23439 * localedata/locales/nn_NO: Likewise.
23440 * localedata/locales/nr_ZA: Likewise.
23441 * localedata/locales/nso_ZA: Likewise.
23442 * localedata/locales/oc_FR: Likewise.
23443 * localedata/locales/om_ET: Likewise.
23444 * localedata/locales/om_KE: Likewise.
23445 * localedata/locales/or_IN: Likewise.
23446 * localedata/locales/os_RU: Likewise.
23447 * localedata/locales/pa_IN: Likewise.
23448 * localedata/locales/pa_PK: Likewise.
23449 * localedata/locales/pap_AW: Likewise.
23450 * localedata/locales/pap_CW: Likewise.
23451 * localedata/locales/pl_PL: Likewise.
23452 * localedata/locales/ps_AF: Likewise.
23453 * localedata/locales/pt_BR: Likewise.
23454 * localedata/locales/pt_PT: Likewise.
23455 * localedata/locales/quz_PE: Likewise.
23456 * localedata/locales/raj_IN: Likewise.
23457 * localedata/locales/ro_RO: Likewise.
23458 * localedata/locales/ru_RU: Likewise.
23459 * localedata/locales/ru_UA: Likewise.
23460 * localedata/locales/rw_RW: Likewise.
23461 * localedata/locales/sa_IN: Likewise.
23462 * localedata/locales/sat_IN: Likewise.
23463 * localedata/locales/sc_IT: Likewise.
23464 * localedata/locales/sd_IN: Likewise.
23465 * localedata/locales/sd_IN@devanagari: Likewise.
23466 * localedata/locales/se_NO: Likewise.
23467 * localedata/locales/sgs_LT: Likewise.
23468 * localedata/locales/shs_CA: Likewise.
23469 * localedata/locales/si_LK: Likewise.
23470 * localedata/locales/sid_ET: Likewise.
23471 * localedata/locales/sk_SK: Likewise.
23472 * localedata/locales/sl_SI: Likewise.
23473 * localedata/locales/sm_WS: Likewise.
23474 * localedata/locales/so_DJ: Likewise.
23475 * localedata/locales/so_ET: Likewise.
23476 * localedata/locales/so_KE: Likewise.
23477 * localedata/locales/so_SO: Likewise.
23478 * localedata/locales/sq_AL: Likewise.
23479 * localedata/locales/sq_MK: Likewise.
23480 * localedata/locales/sr_ME: Likewise.
23481 * localedata/locales/sr_RS: Likewise.
23482 * localedata/locales/sr_RS@latin: Likewise.
23483 * localedata/locales/ss_ZA: Likewise.
23484 * localedata/locales/st_ZA: Likewise.
23485 * localedata/locales/sv_FI: Likewise.
23486 * localedata/locales/sv_SE: Likewise.
23487 * localedata/locales/sw_KE: Likewise.
23488 * localedata/locales/sw_TZ: Likewise.
23489 * localedata/locales/szl_PL: Likewise.
23490 * localedata/locales/ta_IN: Likewise.
23491 * localedata/locales/ta_LK: Likewise.
23492 * localedata/locales/tcy_IN: Likewise.
23493 * localedata/locales/te_IN: Likewise.
23494 * localedata/locales/tg_TJ: Likewise.
23495 * localedata/locales/th_TH: Likewise.
23496 * localedata/locales/the_NP: Likewise.
23497 * localedata/locales/ti_ER: Likewise.
23498 * localedata/locales/ti_ET: Likewise.
23499 * localedata/locales/tig_ER: Likewise.
23500 * localedata/locales/tk_TM: Likewise.
23501 * localedata/locales/tl_PH: Likewise.
23502 * localedata/locales/tn_ZA: Likewise.
23503 * localedata/locales/to_TO: Likewise.
23504 * localedata/locales/tpi_PG: Likewise.
23505 * localedata/locales/tr_CY: Likewise.
23506 * localedata/locales/tr_TR: Likewise.
23507 * localedata/locales/ts_ZA: Likewise.
23508 * localedata/locales/tt_RU: Likewise.
23509 * localedata/locales/tt_RU@iqtelif: Likewise.
23510 * localedata/locales/ug_CN: Likewise.
23511 * localedata/locales/uk_UA: Likewise.
23512 * localedata/locales/unm_US: Likewise.
23513 * localedata/locales/ur_IN: Likewise.
23514 * localedata/locales/ur_PK: Likewise.
23515 * localedata/locales/uz_UZ: Likewise.
23516 * localedata/locales/uz_UZ@cyrillic: Likewise.
23517 * localedata/locales/ve_ZA: Likewise.
23518 * localedata/locales/vi_VN: Likewise.
23519 * localedata/locales/wa_BE: Likewise.
23520 * localedata/locales/wae_CH: Likewise.
23521 * localedata/locales/wal_ET: Likewise.
23522 * localedata/locales/wo_SN: Likewise.
23523 * localedata/locales/xh_ZA: Likewise.
23524 * localedata/locales/yi_US: Likewise.
23525 * localedata/locales/yo_NG: Likewise.
23526 * localedata/locales/yue_HK: Likewise.
23527 * localedata/locales/yuw_PG: Likewise.
23528 * localedata/locales/zh_CN: Likewise.
23529 * localedata/locales/zh_HK: Likewise.
23530 * localedata/locales/zh_SG: Likewise.
23531 * localedata/locales/zh_TW: Likewise.
23532 * localedata/locales/zu_ZA: Likewise.
23534 2017-11-13 Florian Weimer <fweimer@redhat.com>
23536 * support/next_to_fault.h, support/next_to_fault.c: New files.
23537 * support/Makefile (libsupport-routines): Add next_to_fault.
23538 * resolv/tst-inet_pton.c (struct next_to_fault)
23539 (next_to_fault_allocate, next_to_fault_free): Remove.
23540 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23542 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23544 * elf/dl-support.c: Include <dl-procruntime.c>.
23545 * include/link.h: Include <link_map.h>.
23546 * sysdeps/generic/dl-procruntime.c: New file.
23547 * sysdeps/generic/link_map.h: Likewise.
23548 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23549 the writable ld.so namespace.
23551 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23553 timezone: pacify GCC -Wstringop-truncation
23554 Problem reported by Martin Sebor in:
23555 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23556 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23558 2017-11-12 Florian Weimer <fweimer@redhat.com>
23560 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23562 (tests): Add tst-xreadlink.
23563 * support/support.h (xstrndup): Declare.
23564 * support/xunistd.h (xunlink, xreadlink): Declare.
23565 * support/temp_file.h (support_create_temp_directory): Declare.
23566 * support/temp_file.c (support_create_temp_directory): New function.
23567 * support/support_chroot.c (support_chroot_create): Use it.
23568 * support/xreadlink.c: New file.
23569 * support/xstrndup.c: Likewise.
23570 * support/xunlink.c: Likewise.
23571 * support/tst-xreadlink.c: Likewise.
23573 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
23575 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23577 2017-11-11 Florian Weimer <fweimer@redhat.com>
23581 * resolv/res_comp.c (printable_string, binary_hnok)
23582 (binary_leading_dash): New functions.
23583 (res_hnok): Reimplement using these functions and ns_name_pton.
23584 (res_ownok): Likewise.
23585 (res_mailok): Reimplement using printable_string, ns_name_pton and
23587 (res_dnok): Reimplement using printable_string and ns_name_pton.
23588 * resolv/tst-res_hnok.c (tests): Add additional tests.
23589 (LETTERDIGITS, PRINTABLE): Define.
23590 (do_test): Adjust one_char results.
23592 2017-11-11 Florian Weimer <fweimer@redhat.com>
23595 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23596 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23598 2017-11-11 Florian Weimer <fweimer@redhat.com>
23600 * resolv/tst-ns_name_pton.c: New file.
23601 * resolv/Makefile (tests): Add tst-ns_name_pton.
23602 (tst-ns_name_pton): Link against libresolv.
23604 2017-11-11 Florian Weimer <fweimer@redhat.com>
23606 * resolv/tst-res_hnok.c: New file.
23607 * resolv/Makefile (tests): Add tst-res_hnok.
23608 (tst-res_hnok): Link against libresolv.
23610 2017-11-11 Florian Weimer <fweimer@redhat.com>
23612 * resolv/tst-resolv-network.c: Use test framework instead explicit
23615 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23617 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23618 <jmp_buf-macros.h>.
23619 [!_ISOMAC] (STR_HELPER): New.
23620 [!_ISOMAC] (STR): Likewise.
23621 [!_ISOMAC] (TEST_SIZE): Likewise.
23622 [!_ISOMAC] (TEST_ALIGN): Likewise.
23623 [!_ISOMAC] (TEST_OFFSET): Likewise.
23624 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23625 field offsets of jmp_buf as well as sigjmp_buf.
23626 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23627 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23628 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23629 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23630 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23631 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23632 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23633 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23634 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23635 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23637 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23639 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23644 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23645 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23646 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23647 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23648 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23653 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23654 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23655 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23657 2017-11-07 Joseph Myers <joseph@codesourcery.com>
23660 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23661 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23662 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23663 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23664 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23665 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23666 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23667 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23668 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23669 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23670 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23671 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23672 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23673 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23674 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23675 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23676 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23677 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23678 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23679 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23680 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23681 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23682 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23683 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23684 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23685 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23686 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23687 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23688 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23689 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23690 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23691 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23692 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23693 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23694 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23695 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23696 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23697 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23698 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23699 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23700 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23701 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23702 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23703 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23704 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23705 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23706 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23707 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23708 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23709 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23710 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23711 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23712 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23713 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23714 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23715 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23716 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23717 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23718 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23719 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23720 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23721 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23722 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23723 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23724 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23725 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23726 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23727 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23728 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23729 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23730 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23731 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23732 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23733 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23734 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23735 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23736 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23737 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23738 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23739 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23740 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23741 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23742 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23743 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23744 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23745 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23746 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23747 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23749 * stdlib/tst-strtod.h (F16): New macro.
23755 (IF_FLOAT16): Likewise.
23756 (IF_FLOAT32): Likewise.
23757 (IF_FLOAT64): Likewise.
23758 (IF_FLOAT32X): Likewise.
23759 (IF_FLOAT64X): Likewise.
23760 (IF_FLOAT128X): Likewise.
23761 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23762 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23763 (STRTOD_TEST_FOREACH): Likewise.
23764 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23765 (CHOOSE_f64): Likewise.
23766 (CHOOSE_f32x): Likewise.
23767 (CHOOSE_f64x): Likewise.
23769 2017-11-07 Andreas Schwab <schwab@suse.de>
23771 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23773 2017-11-07 Mike FABIAN <mfabian@redhat.com>
23776 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23778 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23781 2017-11-07 Claude Paroz <claude@2xlibre.net>
23784 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23786 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23788 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23791 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23794 * nptl/allocatestack.c (allocate_stack): Check if
23795 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23796 __PTHREAD_MUTEX_HAVE_PREV is defined.
23797 * nptl/descr.h (pthread): Likewise.
23798 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23800 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23801 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23802 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23803 * sysdeps/nptl/bits/thread-shared-types.h
23804 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23806 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23807 of __WORDSIZE for internal layout.
23808 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23809 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23810 instead of __WORDSIZE whether to use an union for __spins and __list
23812 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23814 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23815 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23817 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23818 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23820 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23821 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23823 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23824 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23826 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23827 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23829 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23830 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23832 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23833 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23835 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23836 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23838 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23839 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23841 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23842 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23844 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23845 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23847 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23848 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23850 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23851 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23853 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23854 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23856 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23857 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23860 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23862 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23863 checks for expected input type size.
23864 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23865 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23867 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23868 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23869 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23870 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23871 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23872 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23873 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23874 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23875 superflous runtime assert check.
23876 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23878 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23880 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23882 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23884 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23886 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23888 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23889 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23890 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23892 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23894 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23896 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23898 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23900 * nptl/pthread_attr_setinheritsched.c
23901 (__pthread_attr_setinheritsched): Likewise.
23902 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23904 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23906 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23907 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23908 __old_pthread_attr_setstack): Likewise.
23909 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23911 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23913 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23915 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23916 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23918 * nptl/tst-typesizes.c: Remove file.
23920 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23921 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23922 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23923 checks for internal pthread_mutex_t offsets.
23924 * sysdeps/aarch64/nptl/pthread-offsets.h
23925 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23926 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23927 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23928 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23929 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23930 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23931 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23932 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23933 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23934 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23935 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23936 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23937 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23938 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23939 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23940 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23941 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23942 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23944 2017-11-07 Florian Weimer <fweimer@redhat.com>
23946 * bits/mman-linux.h: Move ...
23947 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23949 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23952 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23954 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23955 Redefine STRNLEN as __strnlen_power8.
23957 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23959 * signal/sighold.c (sighold): Optimize implementation.
23961 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23962 __NR_rt_sigqueueinfo.
23964 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23966 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23967 assume __NR_rt_sigtimedwait.
23968 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23969 and add LIBC_CANCEL_HANDLED for cancellation marking.
23970 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23972 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23973 (sysdeps_routines): Add memchr_noneon.
23974 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23975 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23976 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23977 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23978 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23979 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23980 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23982 * sysdeps/arm/arm-ifunc.h: New file.
23983 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23984 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23985 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23986 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23987 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23988 (__memcpy_neon): Avoid create hidden alias.
23989 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23990 (__memcpy_vfp): Likewise.
23991 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23992 (sysdep_routines): Add memcpy_arm.
23993 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23995 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23998 * Makerules (make-link-multidir): New.
23999 * config.make.in (multidir): New.
24000 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24001 * configure: Regenerated.
24002 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24003 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24004 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24007 2017-11-06 Joseph Myers <joseph@codesourcery.com>
24010 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24011 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24013 2017-11-04 Mike FABIAN <mfabian@redhat.com>
24015 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24018 2017-11-04 Florian Weimer <fweimer@redhat.com>
24020 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24022 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24024 * math/math.h [__HAVE_DISTINCT_FLOAT16
24025 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24026 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24027 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24028 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24029 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24030 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24031 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24032 (__MATH_TG_F32): New macro.
24033 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24034 (__MATH_TG_F64X): Likewise.
24035 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24036 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24038 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24040 * po/de.po: Update translations.
24041 * po/ru.po: Likewise.
24043 2017-11-03 Florian Weimer <fweimer@redhat.com>
24045 * manual/filesys.texi (Hard Links): Document linkat.
24047 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24049 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24050 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24051 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24052 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24053 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24054 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24055 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24056 the same as _Float128.
24057 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24058 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24059 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24062 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24064 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24066 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24068 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24069 (strtof32x): Likewise.
24070 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24071 (strtof64x): Likewise.
24072 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24073 (strtof128x): Likewise.
24074 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24075 (strfromf16): Likewise.
24076 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24077 (strfromf32): Likewise.
24078 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24079 (strfromf64): Likewise.
24080 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24081 (strfromf32x): Likewise.
24082 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24083 (strfromf64x): Likewise.
24084 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24085 (strfromf128x): Likewise.
24086 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24087 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24088 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24089 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24090 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24091 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24093 2017-11-03 Richard Henderson <rth@twiddle.net>
24095 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24097 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24099 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24101 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24103 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24104 DT_TLSDESC_GOT initialization.
24105 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24106 (_dl_tlsdesc_resolve_hold): Likewise.
24107 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24108 (_dl_tlsdesc_resolve_hold): Likewise.
24109 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24110 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24112 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24114 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24116 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24119 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24120 non-lazily for R_ARM_TLS_DESC.
24122 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24125 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24126 R_ARM_TLS_DESC case.
24127 (elf_machine_lazy_rel): Remove the prelink check.
24129 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24131 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24132 DT_TLSDESC_GOT initialization.
24133 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24134 (_dl_tlsdesc_resolve_rela): Likewise.
24135 (_dl_tlsdesc_resolve_hold): Likewise.
24136 (_dl_tlsdesc_undefweak): Remove ldar.
24137 (_dl_tlsdesc_dynamic): Likewise.
24138 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24139 (_dl_tlsdesc_resolve_rela): Likewise.
24140 (_dl_tlsdesc_resolve_hold): Likewise.
24141 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24142 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24143 (_dl_tlsdesc_resolve_rela): Likewise.
24144 (_dl_tlsdesc_resolve_hold): Likewise.
24146 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24148 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24149 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24151 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24153 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24154 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24156 2017-11-02 Joseph Myers <joseph@codesourcery.com>
24158 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24160 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24161 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24162 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24163 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24164 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24165 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24166 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24167 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24168 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24169 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24170 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24172 2017-11-02 Mike FABIAN <mfabian@redhat.com>
24175 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24176 * localedata/locales/tpi_PG: Add standard header.
24178 2017-11-02 Florian Weimer <fweimer@redhat.com>
24180 test-errno-linux: quotactl can fail with EPERM in containers.
24181 * sysdeps/unix/sysv/linux/test-errno-linux.c
24182 (LIST, LIST_FORWARD): New macros.
24183 (check_error_in_list): New function.
24184 (test_wrp_rv): Accept list of permitted error codes.
24185 (test_wrp_rv2): Remove.
24186 (test_wrp): Call test_wrp_rv with list of error codes.
24187 (test_wrp2): Accept list of error codes.
24188 (do_test): Adjust. Allow EPERM for quotactl.
24190 2017-11-02 Florian Weimer <fweimer@redhat.com>
24192 * stdio-common/bug16.c (do_test): Use array_length.
24193 * stdio-common/errlist.c (_sys_nerr): Likewise.
24194 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24195 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24196 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24197 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24198 (do_test): Use array_length.
24199 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24200 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24201 * stdio-common/tst-printf-round.c (do_test): Likewise.
24202 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24203 (CHECK): Use array_length.
24204 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24205 * stdio-common/tstscanf.c (main): Likewise.
24206 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24208 2017-11-02 Florian Weimer <fweimer@redhat.com>
24210 Add array_length and array_end macros.
24211 * include/array_length.h: New file.
24213 2017-11-02 Florian Weimer <fweimer@redhat.com>
24216 * posix/tst-glob-tilde.c (do_noescape): New variable.
24217 (one_test): Process it.
24218 (do_test): Set do_noescape. Add unescaping test case.
24220 2017-11-01 Joseph Myers <joseph@codesourcery.com>
24223 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24224 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24225 with appropriate macros defined and undefined.
24226 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24227 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24228 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24229 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24230 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24231 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24232 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
24233 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24234 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
24235 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24238 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
24239 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
24240 that for long double. Do not condition define and undefine of
24241 _Mdouble_complex_ on [__CFLOAT128].
24243 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
24245 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24246 of <sysdeps/generic/sysdep.h>.
24247 (ALIGNARG): Removed.
24248 (ASM_SIZE_DIRECTIVE): Likewise.
24251 (ENTRY_CHK): Likewise.
24252 (END_CHK): Likewise.
24253 (syscall_error): Likewise.
24254 (mcount): Likewise.
24255 (PSEUDO_END): Likewise.
24257 (atom_text_section): Likewise.
24258 * sysdeps/x86/sysdep.h: New file.
24259 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24260 of <sysdeps/generic/sysdep.h>.
24261 (ALIGNARG): Removed.
24262 (ASM_SIZE_DIRECTIVE): Likewise.
24265 (ENTRY_CHK): Likewise.
24266 (END_CHK): Likewise.
24267 (syscall_error): Likewise.
24268 (mcount): Likewise.
24269 (PSEUDO_END): Likewise.
24271 (atom_text_section): Likewise.
24273 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24275 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24276 category of LC_CTYPE set to "i18n:2012".
24277 * localedata/locales/i18n_ctype: Regenerate.
24279 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
24281 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24282 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24283 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24284 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24286 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24287 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24288 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24289 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24291 2017-10-31 Joseph Myers <joseph@codesourcery.com>
24294 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24296 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24298 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24300 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24301 (CMPLXF32X): Likewise.
24302 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24303 (CMPLXF64X): Likewise.
24304 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24305 (CMPLXF128X): Likewise.
24308 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24309 (__MATH_EVAL_FMT2): Define to add 0.0f.
24311 2017-10-31 Alan Modra <amodra@gmail.com>
24313 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
24318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
24319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
24320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
24321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
24322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
24323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
24324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
24325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
24326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
24327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
24328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
24329 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
24330 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
24331 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
24332 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
24333 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
24334 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
24335 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
24336 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
24337 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
24338 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
24339 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24340 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
24341 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
24342 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
24343 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
24344 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
24345 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24346 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24347 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
24348 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
24349 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
24350 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
24351 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
24352 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
24353 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
24354 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24355 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24356 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24357 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24358 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24359 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24360 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24361 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24362 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24363 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24364 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24365 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24366 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24367 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24368 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24369 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24370 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24371 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24372 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24373 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24374 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24375 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24376 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24377 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24378 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24379 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24380 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24381 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24382 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24383 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24386 include sysdep.h and math_ldbl_opt.h.
24388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24389 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24415 2017-10-31 Alan Modra <amodra@gmail.com>
24417 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24418 string/strncase_l.c, not string/strncase.c.
24419 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24420 (libc_hidden_def): Redefine.
24422 2017-10-31 Alan Modra <amodra@gmail.com>
24424 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24425 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24426 (__strcasecmp): Don't define.
24428 2017-10-31 Alan Modra <amodra@gmail.com>
24430 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24432 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24433 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24434 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24436 2017-10-31 Alan Modra <amodra@gmail.com>
24438 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24441 2017-10-31 Alan Modra <amodra@gmail.com>
24443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24444 Redefine only when SHARED.
24446 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24448 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24449 Include <bits/math-finite.h> with appropriate macros defined and
24451 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24452 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24453 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24454 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24455 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24457 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24458 [!_Mlong_double_] (_Mlong_double_): Likewise.
24459 [!_Mfloat16_] (_Mfloat16_): Likewise.
24460 [!_Mfloat32_] (_Mfloat32_): Likewise.
24461 [!_Mfloat64_] (_Mfloat64_): Likewise.
24462 [!_Mfloat128_] (_Mfloat128_): Likewise.
24463 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24464 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24465 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24466 (_Mdouble_): Define without indirection through those macros.
24467 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24468 [!_Mfloat128_] (_Mfloat128_): Likewise.
24469 [_Mlong_double_] (_Mlong_double_): Likewise.
24470 (_Mdouble_): Define without indirection through those macros.
24471 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24472 not add -D_Mlong_double_=double.
24473 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24474 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24476 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24478 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24480 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24482 * sysdeps/x86/libc-start.c: Reformat.
24484 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24487 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24488 (1): Renamed to ...
24491 (L(Src2)): Likewise.
24492 (L(1)): Renamed to ...
24495 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24497 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24498 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24499 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24500 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24501 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24502 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24503 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24504 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24505 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24506 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24507 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24508 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24509 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24510 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24511 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24512 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24513 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24514 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24515 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24516 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24517 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24518 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24519 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24520 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24521 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24522 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24523 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24524 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24525 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24526 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24527 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24528 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24529 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24530 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24531 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24532 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24533 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24534 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24535 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24536 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24537 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24538 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24539 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24540 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24541 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24542 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24543 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24544 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24545 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24546 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24547 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24548 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24549 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24550 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24551 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24552 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24553 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24554 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24555 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24556 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24557 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24558 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24559 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24560 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24561 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24562 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24564 2017-10-30 Florian Weimer <fweimer@redhat.com>
24566 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24568 * io/tst-mkdirat.c (do_test): Likewise.
24569 * io/tst-mkfifoat.c (do_test): Likewise.
24570 * io/tst-mknodat.c (do_test): Likewise.
24571 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24572 * locale/programs/locale.c (select_dirs): Likewise.
24573 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24574 * posix/bug-glob2.c (my_readdir): Likewise.
24575 * posix/tst-dir.c (main): Likewise.
24576 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24577 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24579 2017-10-30 Florian Weimer <fweimer@redhat.com>
24581 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24584 2017-10-30 Florian Weimer <fweimer@redhat.com>
24586 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24587 Convert to support/test-driver.c.
24588 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24589 New macro parameters.
24590 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24591 * posix/tst-gnuglob.c: New file.
24592 * posix/tst-gnuglob64.c: Likewise.
24593 * posix/Makefile (tests): Add tst-gnuglob64.
24595 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
24598 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24599 and use a better translation for March in “mon”.
24600 * localedata/locales/csb_PL: Use more ASCII to improve the
24601 readability of the source.
24603 2017-10-30 Mike FABIAN <mfabian@redhat.com>
24606 * localedata/locales/km_KH: Use ASCII as much
24607 as possible for better readability of the source and
24608 remove useless comments.
24609 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24610 was commented out and apparently wrong anyway because it was
24611 using Lao characters. If Buddhist era should be used
24612 for km_KH, a native speaker should write the correct formaat
24614 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24615 (According to CLDR, the first weekday for Cambodia is Sunday).
24616 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24617 (These were using Lao characters which must be wrong. If we get
24618 the correct data from a native speaker, we could add it back, until
24619 then it is better not to have name_mr and name_mrs at all than
24622 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24624 * locale/loadlocale.c: Correct size of
24625 _nl_value_type_LC_<category> arrays.
24627 2017-10-27 Joseph Myers <joseph@codesourcery.com>
24629 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24630 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24631 with appropriate macros defined and undefined.
24632 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24633 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24634 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24635 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24636 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24638 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24640 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24643 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24645 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24646 with lowercase letters to make it agree with CLDR.
24648 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24651 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24652 first letters of yesstr and nostr in yesexpr and noexpr,
24653 not for the full words.
24654 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24655 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24656 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24657 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24658 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24659 first letters of yesstr and nostr in yesexpr and noexpr,
24660 until now only English was matched in yesexpr and noexpr.
24661 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24662 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24663 fil but not for tl. As tl and fil are very similar, using fil
24664 is probably better than using English.
24666 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
24669 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24670 in yesstr and nostr.
24672 2017-10-26 Joseph Myers <joseph@codesourcery.com>
24674 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24675 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24676 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24678 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24680 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24682 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24684 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24685 (SNANF128X): Likewise.
24687 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24688 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24689 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24690 (HUGE_VAL_F32): Likewise.
24691 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24692 (HUGE_VAL_F64): Likewise.
24693 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24694 (HUGE_VAL_F32X): Likewise.
24695 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24696 (HUGE_VAL_F64X): Likewise.
24697 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24698 (HUGE_VAL_F128X): Likewise.
24700 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24702 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24703 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24704 for the br_FR locale.
24706 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24709 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24711 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24713 * locale/programs/record-status.h: Define globals, and function
24714 prototypes. Move function bodies...
24715 * locale/programs/record-status.c: ... to here. New file.
24716 * iconv/Makefile (iconv_prog-modules): Add record-status.
24717 * locale/Makefile (lib-modules): Likewise.
24718 * iconv/iconv_prog.c: Remove verbose.
24719 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24720 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24721 record a warning about ASCII compatibility.
24722 * locale/programs/ld-monetary.c (monetary_finish): If
24723 warn_int_curr_symbol is true then record a warning about the symbol
24724 not being in our ISO 4217 list.
24725 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24726 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24727 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24728 (OPT_NO_WARN): Define.
24729 (OPT_WARN): Define.
24730 (options): Add entry for --no-warnings, and --warnings.
24731 (set_warnings): New function to enable/disable warnings.
24732 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24733 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24734 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24735 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24736 Pass flags to generate_locale.
24737 (generate_locale): Accept new flag argument and pass it to localedef
24739 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24740 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24742 * localedata/Makefile (test-input-data): Use full file name.
24743 * localedata/da_DK.in: Rename to...
24744 * localedata/da_DK.ISO-8859-1.in: ...this.
24745 * localedata/de_DE.in: Rename to...
24746 * localedata/de_DE.ISO-8859-1.in: ...this.
24747 * localedata/en_US.in: Rename to...
24748 * localedata/en_US.ISO-8859-1.in: ...this.
24749 * localedata/fr_FR.in: Rename to...
24750 * localedata/fr_FR.UTF-8.in: ... this.
24751 * localedata/hr_HR.in: Rename to...
24752 * localedata/hr_HR.ISO-8859-2.in: ...this.
24753 * localedata/hu_HU.in: Rename to...
24754 * localedata/hu_HU.UTF-8.in: ...this.
24755 * localedata/si_LK.in: Rename to...
24756 * localedata/si_LK.UTF-8.in: ...this.
24757 * localedata/sv_SE.in: Rename to...
24758 * localedata/sv_SE.ISO-8859-1.in: ...this.
24759 * localedata/tr_TR.in: Rename to...
24760 * localedata/tr_TR.UTF-8.in: ...this.
24761 * localedata/uk_UA.in: Rename to...
24762 * localedata/uk_UA.UTF-8.in: ...this.
24763 * localedata/sort-test.sh: Test file is locale name with the
24766 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24767 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24769 * localedata/locales/i18n_ctype: Regenerate.
24770 * localedata/locales/tr_TR: Likewise.
24771 * localedata/locales/translit_circle: Likewise.
24772 * localedata/locales/translit_cjk_compat: Likewise.
24773 * localedata/locales/translit_combining: Likewise.
24774 * localedata/locales/translit_compat: Likewise.
24775 * localedata/locales/translit_font: Likewise.
24776 * localedata/locales/translit_fraction: Likewise.
24778 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24780 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24781 lxvd2x/stxvd2x with lvx/stvx.
24782 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24784 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24786 * include/alloc_buffer.h: Replace "if if " with "if " in
24788 * sysdeps/mips/memcpy.S: Likkewise.
24789 * sysdeps/mips/memset.S: Likewise.
24790 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24792 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24794 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24797 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24800 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24801 yesexpr and noexpr.
24802 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24803 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24804 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24805 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24806 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24807 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24808 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24810 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24812 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24813 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24814 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24815 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24816 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24817 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24818 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24819 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24820 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24821 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24822 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24823 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24825 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24827 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24828 as possible for better readability of the source.
24829 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24830 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24831 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24832 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24833 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24834 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24835 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24836 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24837 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24838 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24839 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24840 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24841 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24842 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24843 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24844 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24845 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24846 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24847 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24848 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24849 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24850 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24851 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24852 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24853 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24854 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24855 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24856 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24857 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24858 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24859 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24860 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24861 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24862 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24863 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24864 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24865 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24866 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24867 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24868 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24869 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24870 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24871 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24872 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24873 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24874 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24875 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24876 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24877 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24878 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24879 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24880 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24881 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24882 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24883 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24884 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24885 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24886 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24887 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24888 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24889 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24890 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24891 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24892 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24893 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24894 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24895 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24896 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24897 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24898 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24899 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24900 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24901 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24902 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24903 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24904 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24905 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24906 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24907 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24908 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24909 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24910 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24911 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24912 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24913 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24914 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24915 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24916 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24917 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24918 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24919 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24920 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24921 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24922 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24923 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24924 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24925 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24926 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24927 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24928 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24929 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24930 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24931 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24932 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24933 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24934 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24935 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24936 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24937 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24938 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24939 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24940 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24941 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24942 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24943 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24944 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24945 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24946 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24947 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24948 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24949 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24950 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24951 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24952 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24953 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24954 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24955 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24956 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24957 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24958 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24959 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24960 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24961 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24962 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24963 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24964 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24965 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24966 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24967 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24968 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24969 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24970 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24971 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24972 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24973 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24974 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24975 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24976 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24977 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24978 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24979 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24980 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24981 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24982 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24983 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24984 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24985 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24986 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24987 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24988 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24989 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24990 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24991 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24992 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24993 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24994 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24995 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24996 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24997 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24998 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24999 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25000 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25001 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25002 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25004 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25006 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25007 (Use first letters of yesstr and nostr correctly instead of using
25010 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25012 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25013 (Use first letters of yesstr and nostr correctly).
25015 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25017 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25018 also check for the first characters of yesstr and nostr.
25019 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25020 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25022 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25024 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25025 also check for Chinese characters.
25027 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25029 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25030 match also for the contents of yesstr and nostr. As the first letter
25031 of yesstr and nostr is equal, checking only for the first letter
25034 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25036 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25037 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25039 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25041 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25042 of main contributor.
25044 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25046 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25047 instead of using English.
25049 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25051 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25052 by including the first letters of nostr and yesexpr in the regexp.
25053 Also make it more readable by using ASCII where possible.
25055 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25057 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25058 the first letter of nostr in the regexp. It agrees with CLDR now.
25059 Also make it more readable by using ASCII where possible.
25061 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25063 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25064 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25065 these strings contain a U+17D6 (which somewhat looks like a colon)
25066 instead of a real colon to separate the full words for “yes”
25067 and “no” from the single letter responses.
25069 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25071 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25072 it agree with CLDR (include the first letter of yesstr).
25073 Also make it more readable by using ASCII where possible.
25075 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25077 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25078 and improve yesexpr and noexpr. The yesstr and nostr apparently
25079 came from CLDR. And CLDR has a bug there: these strings contain
25080 a U+0903 (which looks like a colon) instead of a real colon
25081 to separate the full words for “yes” and “no” from the single
25084 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25086 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25087 letters of the full yesstr and nostr in yesexpr and noexpr.
25089 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25091 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25092 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25093 * localedata/locales/an_ES: Make source more readable by using ASCII
25096 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25099 * localedata/locales/yuw_PG: New file.
25100 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25101 * locale/iso-639.def: Add Yau (Uruwa).
25103 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25105 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25107 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25109 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25110 (__libc_realloc): Likewise.
25111 (_mid_memalign): Likewise.
25112 (__libc_calloc): Likewise.
25114 2017-10-23 Mike FABIAN <mfabian@redhat.com>
25116 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25117 by adding the generic +1 and -0 as in all other locales.
25118 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25119 day names and make it more readable by using ASCII where possible.
25121 2017-10-24 Joseph Myers <joseph@codesourcery.com>
25123 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25124 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25126 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25128 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25129 WNOHANG in waitpid call.
25131 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25133 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25134 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25136 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25137 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25138 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25139 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25140 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25141 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25142 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25143 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25146 2017-10-23 Michael Collison <michael.collison@arm.com>
25148 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25149 with __builtin_sqrt.
25150 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25151 with __builtin_sqrtf.
25152 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25153 with __builtin_ceil.
25154 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25155 with __builtin_ceilf.
25156 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25157 with __builtin_floor.
25158 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25159 with __builtin_floorf.
25160 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25161 with __builtin_fma.
25162 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25163 with __builtin_fmaf.
25164 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25165 with __builtin_fmax.
25166 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25167 with __builtin_fmaxf.
25168 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25169 with __builtin_fmin.
25170 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25171 with __builtin_fminf.
25172 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25173 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25174 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25175 with builtin_rint and conversion to int.
25176 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25177 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25178 with builtin_llround.
25179 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25180 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25181 with builtin_rint and conversion to long int.
25182 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25183 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25184 with builtin_lround.
25185 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25186 with builtin_lroundf.
25187 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25188 statements with __builtin_nearbyint.
25189 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25190 statements with __builtin_nearbyintf.
25191 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25192 with __builtin_rint.
25193 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25194 with __builtin_rintf.
25195 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25196 with __builtin_round.
25197 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25198 with __builtin_roundf.
25199 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25200 with __builtin_trunc.
25201 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25202 with __builtin_truncf.
25203 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25204 and s_l[l]round[f].c too.
25206 2017-10-23 Alan Modra <amodra@gmail.com>
25208 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25209 Adjust stack after restoring regs. Add missing LR cfi_restore.
25211 2017-10-23 Alan Modra <amodra@gmail.com>
25213 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25214 Move LR save and frame setup/teardown and LR restore to
25215 immediately around memset call. Provide cfi.
25217 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25219 * sysdeps/i386/fpu/e_powf.S: Removed.
25220 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25221 * sysdeps/i386/fpu/w_powf.c: Likewise.
25222 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25223 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25224 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25226 (CFLAGS-e_powf-sse2.c): New.
25227 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25228 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25230 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25232 * sysdeps/i386/fpu/e_log2f.S: Removed.
25233 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
25234 * sysdeps/i386/fpu/w_log2f.c: Likewise.
25235 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
25236 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25237 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25239 (CFLAGS-e_log2f-sse2.c): New.
25240 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
25241 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
25243 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25245 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25247 (CFLAGS-e_powf-fma.c): New.
25248 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
25249 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25251 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25253 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25255 (CFLAGS-e_log2f-fma.c): New.
25256 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25257 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25259 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25261 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25263 (CFLAGS-e_logf-fma.c): New.
25264 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25265 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25267 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25269 * sysdeps/i386/fpu/e_logf.S: Removed.
25270 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25271 * sysdeps/i386/fpu/w_logf.c: Likewise.
25272 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25273 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25274 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25275 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25277 (CFLAGS-e_logf-sse2.c): New.
25278 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25279 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25281 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25283 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25284 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25285 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25286 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25287 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25289 (CFLAGS-e_exp2f-sse2.c): New.
25290 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25291 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25293 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25295 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25297 (CFLAGS-e_exp2f-fma.c): New.
25298 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25299 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25301 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25303 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25304 * sysdeps/i386/fpu/e_expf.S: Likewise.
25305 * sysdeps/i386/fpu/math_errf.c: Likewise.
25306 * sysdeps/i386/fpu/w_expf.c: Likewise.
25307 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
25308 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25309 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25310 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25311 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25312 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25313 Remove e_expf-ia32.
25314 (CFLAGS-e_expf-sse2.c): New.
25315 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25316 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
25318 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25320 * sysdeps/x86_64/fpu/e_expf.S: Removed.
25321 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
25322 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
25323 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
25325 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
25327 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
25328 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25330 (__redirect_expf): This.
25331 (SYMBOL_NAME): Changed to expf.
25332 (__ieee754_expf): Renamed to ...
25334 (__GI___expf): This.
25335 (__ieee754_expf): Add strong_alias.
25336 (__expf_finite): Likewise.
25338 Include <sysdeps/ieee754/flt-32/e_expf.c>.
25340 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
25343 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
25346 2017-10-21 Florian Weimer <fweimer@redhat.com>
25348 * posix/Makefile (tests): Add tst-glob-tilde.
25349 (tests-special): Add tst-glob-tilde-mem.out
25350 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
25351 (tst-glob-tilde-mem.out): Add mtrace check.
25352 * posix/tst-glob-tilde.c: New file.
25354 2017-10-20 Joseph Myers <joseph@codesourcery.com>
25356 * bits/floatn-common.h: New file.
25357 * math/Makefile (headers): Add bits/floatn-common.h.
25358 * bits/floatn.h: Include <bits/floatn-common.h>.
25359 * sysdeps/ia64/bits/floatn.h: Likewise.
25360 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25361 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25362 * sysdeps/powerpc/bits/floatn.h: Likewise.
25363 * sysdeps/x86/bits/floatn.h: Likewise.
25365 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25367 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25368 indicates whether compiler emits an warning for alias for
25369 functions with incompatible types.
25372 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25373 the auxiliary process is terminated by a signal before calling _exit
25376 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25379 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25381 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25382 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25383 and bit_arch_XSAVEC_Usable if needed.
25384 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25385 and bit_arch_Use_dl_runtime_resolve_opt.
25386 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25388 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25389 (bit_arch_Prefer_No_AVX512): Updated.
25390 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25391 (bit_arch_XSAVEC_Usable): New.
25392 (STATE_SAVE_OFFSET): Likewise.
25393 (STATE_SAVE_MASK): Likewise.
25394 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25395 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25396 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25397 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25398 (index_arch_XSAVEC_Usable): New.
25399 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25400 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25401 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25403 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25404 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25405 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25406 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25407 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25408 _dl_runtime_resolve_xsavec.
25409 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25411 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25412 instead of VEC_SIZE.
25413 (REGISTER_SAVE_BND0): Removed.
25414 (REGISTER_SAVE_BND1): Likewise.
25415 (REGISTER_SAVE_BND3): Likewise.
25416 (REGISTER_SAVE_RAX): Always defined to 0.
25418 (_dl_runtime_resolve_avx): Likewise.
25419 (_dl_runtime_resolve_avx_slow): Likewise.
25420 (_dl_runtime_resolve_avx_opt): Likewise.
25421 (_dl_runtime_resolve_avx512): Likewise.
25422 (_dl_runtime_resolve_avx512_opt): Likewise.
25423 (_dl_runtime_resolve_sse): Likewise.
25424 (_dl_runtime_resolve_sse_vex): Likewise.
25426 (_dl_runtime_resolve_fxsave): Likewise.
25427 (USE_XSAVE): Likewise.
25428 (_dl_runtime_resolve_xsave): Likewise.
25429 (USE_XSAVEC): Likewise.
25430 (_dl_runtime_resolve_xsavec): Likewise.
25431 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25433 (_dl_runtime_resolve_avx512_opt): Likewise.
25434 (_dl_runtime_resolve_avx): Likewise.
25435 (_dl_runtime_resolve_avx_opt): Likewise.
25436 (_dl_runtime_resolve_sse): Likewise.
25437 (_dl_runtime_resolve_sse_vex): Likewise.
25438 (_dl_runtime_resolve_fxsave): New.
25439 (_dl_runtime_resolve_xsave): Likewise.
25440 (_dl_runtime_resolve_xsavec): Likewise.
25442 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
25446 * posix/glob.c (__glob): Fix one-byte overflow.
25448 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25450 * malloc/malloc.c (sysdep-cancel.h): Add include.
25452 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25454 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25456 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25458 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25459 (tests): Remove $(objpfx)ga_test depdendency.
25460 * resolv/ga_test.c: Remove file.
25462 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25465 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25466 * localedata/locales/kab_DZ: New file.
25468 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25470 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25471 _dl_relocate_static_pie instead of _dl_start to compute load
25472 address in static PIE.
25474 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25476 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25478 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25481 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25482 * localedata/locales/shn_MM: New file.
25484 2017-10-20 Florian Weimer <fweimer@redhat.com>
25487 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25488 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25489 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25490 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25491 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25492 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25494 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25496 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25498 2017-10-19 Joseph Myers <joseph@codesourcery.com>
25500 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25503 * sysdeps/mips/bits/long-double.h: Move to ....
25504 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25506 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25508 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25510 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
25511 H.J. Lu <hongjiu.lu@intel.com>
25514 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25515 GLRO(dl_platform) to NULL.
25516 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25517 (modules-names): Add tst-platformmod-1 and
25518 x86_64/tst-platformmod-2.
25519 (CFLAGS-tst-platform-1.c): New.
25520 (CFLAGS-tst-platformmod-1.c): Likewise.
25521 (CFLAGS-tst-platformmod-2.c): Likewise.
25522 (LDFLAGS-tst-platformmod-2.so): Likewise.
25523 ($(objpfx)tst-platform-1): Likewise.
25524 ($(objpfx)tst-platform-1.out): Likewise.
25525 (tst-platform-1-ENV): Likewise.
25526 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25527 * sysdeps/x86_64/tst-platform-1.c: New file.
25528 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25529 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25531 2017-10-19 Mike FABIAN <mfabian@redhat.com>
25534 * locale/iso-639.def: Add Karbi.
25535 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25536 * localedata/locales/mjw_IN: New file.
25538 2017-10-18 Joseph Myers <joseph@codesourcery.com>
25540 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25541 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25542 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25543 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25544 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25545 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25546 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25548 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25549 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25550 * manual/math.texi (Mathematics): Document additional architecture
25551 support for _Float128.
25552 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25553 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25554 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25555 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25556 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25557 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25558 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25559 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25560 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25561 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25562 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25563 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25564 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25565 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25566 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25568 2017-10-18 Renlin Li <renlin.li@arm.com>
25570 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25571 _DYNAMIC symbol to calculate load address.
25573 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
25575 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25576 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25578 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25579 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25581 2017-10-18 Mike FABIAN <mfabian@redhat.com>
25584 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25585 and improve readability by using more ASCII.
25586 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25587 and improve readability by using more ASCII.
25589 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25591 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25592 not all targets support atomics on bool.
25594 2017-10-17 Joseph Myers <joseph@codesourcery.com>
25596 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25597 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25599 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25600 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25601 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25602 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25603 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25604 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25606 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25608 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25611 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25614 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25615 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25616 (do_check_remalloced_chunk): Fix build bug.
25617 (do_check_malloc_state): Add assert that checks arena->top.
25618 (malloc_consolidate): Remove initialization.
25619 (int_mallinfo): Remove call to malloc_consolidate.
25620 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25622 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25624 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25625 (have_fastchunks): Remove.
25626 (clear_fastchunks): Remove.
25627 (set_fastchunks): Remove.
25628 (malloc_state): Add have_fastchunks.
25629 (malloc_init_state): Use have_fastchunks.
25630 (do_check_malloc_state): Remove incorrect invariant checks.
25631 (_int_malloc): Use have_fastchunks.
25632 (_int_free): Likewise.
25633 (malloc_consolidate): Likewise.
25635 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25637 * malloc/malloc.c (tcache_put): Inline.
25638 (tcache_get): Inline.
25640 2017-10-17 Jordi Mallach <jordi@gnu.org>
25642 Aurelien Jarno <aurelien@aurel32.net>
25644 * localedata/locales/ca_ES@valencia: New file.
25645 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25647 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25650 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25653 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25655 * scripts/build-many-glibcs.py (Context.add_all_configs):
25656 Add arm-linux-gnueabihf multiarch extra_glibcs.
25658 * sysdeps/generic/ifunc-init.h: New file.
25659 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25661 2017-10-17 Mike FABIAN <mfabian@redhat.com>
25664 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25665 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25666 * stdlib/tst-strfmon_l.c: adapt test case.
25668 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25670 * sysdeps/generic/float128-abi.h: New file.
25671 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25672 non-__prefixed symbols to ....
25673 * math/Versions: ... here. Include <float128-abi.h>.
25674 * stdlib/Versions ... and here. Include <float128-abi.h>
25676 2017-10-16 Florian Weimer <fweimer@redhat.com>
25678 * version.h (VERSION): Switch to ".9000" as the development
25681 2017-10-16 Florian Weimer <fweimer@redhat.com>
25684 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25685 compat_symbol_reference to access non-default version.
25687 2017-10-16 Florian Weimer <fweimer@redhat.com>
25689 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25691 2017-10-16 Carlos O'Donell <carlos@redhat.com>
25693 * include/shlib-compat.h (compat_symbol_reference): Update
25696 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25698 * math/Makefile (test-types): Add
25699 $(type-float128-$(float128-alias-fcts)).
25700 * math/test-float128.h (TYPE_STR): Define conditional on
25701 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25702 (ULP_IDX): Likewise.
25703 (ULP_I_IDX): Likewise.
25705 * stdlib/strtold.c: Include <bits/floatn.h>
25706 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25707 and later undefine as macro. Define as weak alias if
25709 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25710 and later undefine as macro. Define as weak alias if
25712 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25713 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25714 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25715 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25716 Define and later undefine as macro. Define as weak alias if
25718 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25720 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25721 Define and later undefine as macro. Define as weak alias if
25723 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25724 Define and later undefine as macro. Define as weak alias if
25727 2017-10-15 Carlos O'Donell <carlos@redhat.com>
25729 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25730 record_verbose messages.
25732 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25735 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25736 to silence -O3 -Wall warning with GCC 7.
25738 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25740 * Makeconfig (+link-static-before-libc): Use the first of
25741 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25742 * gmon/Makefile (tests): Add tst-gmon-static.
25743 (tests-static): Likewise.
25744 (CFLAGS-tst-gmon-static.c): New.
25745 (CRT-tst-gmon-static): Likewise.
25746 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25747 (tst-gmon-static-ENV): Likewise.
25748 (tests-special): Likewise.
25749 ($(objpfx)tst-gmon-static.out): Likewise.
25750 (clean-tst-gmon-static-data): Likewise.
25751 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25752 * gmon/tst-gmon-static-gprof.sh: New file.
25753 * gmon/tst-gmon-static.c: Likewise.
25755 2017-10-13 Carlos O'Donell <carlos@redhat.com>
25758 * locale/programs/linereader.c (get_string): Don't warn on
25759 non-symbolic character.
25762 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25766 * locale/programs/record-status.h: New file
25767 * locale/programs/locale.c: Add comment.
25768 * locale/programs/charmap-dir.c: Don't include error.h.
25769 (charmap_opendir): Use record_error.
25770 * locale/programs/charmap.c: Don't include error.h.
25771 (charmap_read): Use record_error, and record_warning.
25772 (parse_charmap): Likewise.
25773 * locale/programs/ld-address.c: Don't include error.h.
25774 (address_finish): Use record_error, and record_warning.
25775 * locale/programs/ld-collate.c: Don't include error.h.
25776 (collate_finish): Use record_error, and record_error_at_line.
25777 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25778 (ctype_class_new): Likewise.
25779 (ctype_map_new): Likewise.
25780 (set_one_default): Likewise.
25781 (set_class_defaults): Likewise.
25782 (translit_flatten): Likewise.
25783 (allocate_arrays): Use record_error, and record_verbose.
25784 * locale/programs/ld-identification.c: Don't include error.h.
25785 (indentation_finish): Use record_error and record_warning.
25786 * locale/programs/ld-measurement.c: Don't include error.h.
25787 (measurement_finish): Use record_error.
25788 * locale/programs/ld-messages.c
25789 (message_finish): Likewise.
25790 * locale/programs/ld-monetary.c
25791 (monetary_finish): Likewise.
25792 * locale/programs/ld-name.c (name_finish): Use record_error
25793 and record_warning.
25794 * locale/programs/ld-numeric.c
25795 (numeric_finish): Use record_error.
25796 * locale/programs/ld-paper.c: Don't include error.h.
25797 (paper_finish): Use record_error.
25798 * locale/programs/ld-telephone.c: Don't include error.h.
25799 (telephone_finish): Use record_error.
25800 * locale/programs/ld-time.c (time_finish): Likewise.
25801 * locale/programs/linereader.h (lr_error): Make inline func.
25802 * locale/programs/localedef.c: Define recorded_warning_count,
25803 and recorded_error_count.
25804 (main): Use record_error. Use recorded_error_count and
25805 recorded_warning_count to issue correct error returns.
25806 (add_to_readlist): Use record_error.
25807 (find_locale): Likewise.
25808 (load_locale): Likewise.
25809 * locale/programs/localedef.h: Remove be_quiet
25810 and WITH_CUR_LOCALE.
25811 * locale/programs/locarchive.c (compare_from_file): Use
25813 * locale/programs/locfile.c (write_locale_data): Use
25815 * locale/programs/repertoire.c: Dont include error.h.
25816 (repertoire_complain): Use record_error.
25817 * localedata/tst-fmon.sh: Expect failures from localedef.
25818 * localedata/tst-locale.sh: Likewise.
25819 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25821 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25822 (REPORTS): Likewise.
25824 (i18n): Rename to...
25825 (i18n_ctype): ...this.
25826 (i18n-report): Rename to...
25827 (i18n_ctype-report): ...this.
25828 * localedata/locales/i18n_ctype: Regenerate.
25829 * localedata/locales/i18n: copy i18n_ctype.
25831 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25833 * stdlib/strfroml.c: Include <bits/floatn.h>.
25834 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25835 Define before include of <stdlib.h> and undefine afterwards, then
25836 define as weak alias.
25838 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25839 Undefine and restore default definition. Use
25840 libm_alias_ldouble_other.
25842 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25845 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25848 2017-10-13 James Clarke <jrtc27@jrtc27.com>
25850 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25851 Assign sym_map to be map for local symbols, as TLS relocations
25852 use sym_map to determine whether the symbol is defined and to
25853 extract the TLS information.
25854 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25855 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25857 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25860 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25861 (math_force_eval): Add powerpc version.
25864 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25866 (do_test): Likewise.
25867 * stdio-common/tst-printf.sh: Likewise.
25868 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25869 ifdef clause in order to set the carry bit right. Replace r0 by
25870 0 without changing the behavior.
25872 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25874 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25875 <libm-alias-ldouble.h>.
25876 (fabsl): Define using libm_alias_ldouble.
25877 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25878 <libm-alias-ldouble.h>.
25879 (fabsl): Define using libm_alias_ldouble.
25881 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25882 Remove conditional code.
25884 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25885 Rename to __clog10_internal_l.
25886 (__clog10_internal_l): Define aliases using
25887 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25890 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25892 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25893 * benchtests/sincosf-inputs: New file.
25894 * benchtests/cosf-inputs: New file.
25895 * benchtests/sinf-inputs: New file.
25897 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25899 * posix/tst-spawn.c (do_test): Wait for both children.
25901 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25904 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25905 tests-pie): Add tst-gmon-pie.
25906 (CFLAGS-tst-gmon-pie.c): New.
25907 (CRT-tst-gmon-pie): Likewise.
25908 (tst-gmon-pie-ENV): Likewise.
25909 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25910 ($(objpfx)tst-gmon-pie.out): Likewise.
25911 (clean-tst-gmon-pie-data): Likewise.
25912 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25913 * gmon/gmon.c [PIC]: Include <link.h>.
25914 [PIC] (callback): New function.
25915 (write_hist): Add an argument for load address. Subtract load
25917 (write_call_graph): Likewise.
25918 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25919 it to write_hist and write_call_graph.
25920 * gmon/tst-gmon-pie.c: New file.
25922 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25924 * math/Makefile (test-types-basic): New variable.
25925 (test-types): Likewise.
25926 (libm-test-support): Use $(test-types) instead of $(types).
25927 (libm-tests-base-normal): Likewise.
25928 (libm-tests-base-finite): Likewise.
25929 (libm-tests-base-inline): Likewise.
25930 (generated): Likewise.
25931 ($(objpfx)libm-test-support-$(t).c): Likewise.
25932 (libm-tests-for-type iterator): Likewise.
25933 (libm-test-support iterator): Likewise.
25934 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25935 (ulp_idx): Use ULP_IDX.
25936 * math/test-ldouble.h: Include <float.h>.
25937 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25938 (ULP_IDX): New macro.
25939 (ULP_I_IDX): Likewise.
25940 * math/test-double.h (ULP_IDX): Likewise.
25941 (ULP_I_IDX): Likewise.
25942 * math/test-float.h (ULP_IDX): Likewise.
25943 (ULP_I_IDX): Likewise.
25944 * math/test-float128.h (ULP_IDX): Likewise.
25945 (ULP_I_IDX): Likewise.
25947 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25949 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25950 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25951 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25952 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25953 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25954 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25955 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25956 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25957 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25958 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25959 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25960 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25961 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25962 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25963 (SINGLE_THREAD_BY_GLOBAL): Define.
25964 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25966 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25968 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25970 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25972 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25973 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25974 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25977 2017-10-11 Andreas Schwab <schwab@suse.de>
25979 * nis/Makefile (aux): Remove.
25980 * nscd/Makefile (aux): Add nscd_hash.
25981 (nscd-modules): Likewise.
25982 ($(objpfx)nscd): Don't depend on libnsl.
25983 * nscd/nscd_hash.c: New file.
25984 * nscd/nscd_hash.h: Likewise.
25985 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25986 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25987 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25988 instead of <nis/rpcsvc/nis.h>.
25989 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25991 2017-10-11 Florian Weimer <fweimer@redhat.com>
25994 Avoid large NSS buffers with many addresses, aliases.
25995 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25996 using dynarrays and struct alloc_buffer.
25997 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25998 (tst-nss-files-hosts-multi): Link with -ldl.
25999 * nss/tst-nss-files-hosts-multi.c: New file.
26001 2017-10-11 Florian Weimer <fweimer@redhat.com>
26004 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26005 scratch_buffer. Eliminate gotos.
26007 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26009 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26010 libm_alias_ldouble_other.
26011 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26012 undefine and redefine.
26013 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26014 (exp10l): Do not define here.
26015 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26016 (weak_alias): Undefine and redefine.
26017 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26018 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26019 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26020 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26022 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26023 [!__fma] (fma): Define using libm_alias_double.
26024 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26025 [!__fmaf] (fmaf): Define using libm_alias_float.
26026 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26027 (fmal): Define using libm_alias_ldouble.
26029 2017-10-10 Joseph Myers <joseph@codesourcery.com>
26031 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26033 (libm_alias_double_other): Likewise.
26034 (libm_alias_double_r): Use libm_alias_double_other_r.
26035 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26037 (libm_alias_float_other): Likewise.
26038 (libm_alias_float_r): Use libm_alias_float_other_r.
26039 * sysdeps/generic/libm-alias-float128.h
26040 (libm_alias_float128_other_r): New macro.
26041 (libm_alias_float128_other): Likewise.
26042 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26043 * sysdeps/generic/libm-alias-ldouble.h
26044 (libm_alias_ldouble_other_r): New macro.
26045 (libm_alias_ldouble_other): Likewise.
26046 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26047 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26048 (libm_alias_double_other_r): New macro.
26049 (libm_alias_double_other): Likewise.
26050 (libm_alias_double_r): Use libm_alias_double_other_r.
26051 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26052 (libm_alias_ldouble_other_r): New macro.
26053 (libm_alias_ldouble_other): Likewise.
26054 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26055 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26056 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26057 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26058 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26059 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26060 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26061 * math/w_exp2f.c: Use libm_alias_float_other.
26062 * math/w_expf.c: Likewise.
26063 * math/w_log2f.c: Likewise.
26064 * math/w_logf.c: Likewise.
26065 * math/w_powf.c: Likewise.
26066 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26067 [!__exp2f]: Use libm_alias_float_other.
26068 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26069 [!__expf]: Use libm_alias_float_other.
26070 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26071 [!__log2f]: Use libm_alias_float_other.
26072 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26073 [!__logf]: Use libm_alias_float_other.
26074 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26075 [!__powf]: Use libm_alias_float_other.
26077 2017-10-10 Florian Weimer <fweimer@redhat.com>
26079 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26081 (_nss_files_gethostbyname3_r): Call it.
26083 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26085 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26086 error. Remove default definition of declare_mgen_alias.
26087 [!declare_mgen_alias_r]: Likewise.
26088 * sysdeps/generic/math-type-macros-double.h
26089 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26090 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26091 (declare_mgen_alias_r): Likewise.
26092 * sysdeps/generic/math-type-macros-float128.h
26093 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26094 * sysdeps/generic/math-type-macros-ldouble.h
26095 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26096 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26098 (declare_mgen_alias_r_s): Likewise.
26099 (declare_mgen_alias_r): Likewise.
26100 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26101 (lgamma_r): Define using libm_alias_double_r.
26102 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26103 (lgammaf_r): Define using libm_alias_float_r.
26104 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26105 (lgammal_r): Define using libm_alias_ldouble_r.
26106 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26107 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26109 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26111 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26112 extern declaration.
26114 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26116 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26118 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
26121 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26122 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26123 * math/Makefile (test-math-cxx11): New test.
26124 * math/test-math-cxx11.cc: New file.
26126 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26128 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26130 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26131 call to allocate the slave pty file descriptor.
26133 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26135 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26136 [!__fma] (fma): Define using libm_alias_double.
26137 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26138 [!__fma] (fma): Define using libm_alias_double.
26140 * sysdeps/ieee754/float128/float128_private.h: Include
26141 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26142 (libm_alias_ldouble_r): Undefine and redefine.
26143 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26144 <libm-alias-ldouble.h>.
26145 (asinhl): Define using libm_alias_ldouble.
26146 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26147 <libm-alias-ldouble.h>.
26148 (atanl): Define using libm_alias_ldouble.
26149 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26150 <libm-alias-ldouble.h>.
26151 (cbrtl): Define using libm_alias_ldouble.
26152 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26153 <libm-alias-ldouble.h>.
26154 (ceill): Define using libm_alias_ldouble.
26155 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26156 <libm-alias-ldouble.h>.
26157 (copysignl): Define using libm_alias_ldouble.
26158 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26159 <libm-alias-ldouble.h>.
26160 (cosl): Define using libm_alias_ldouble.
26161 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26162 <libm-alias-ldouble.h>.
26163 (erfl): Define using libm_alias_ldouble.
26165 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26166 <libm-alias-ldouble.h>.
26167 (expm1l): Define using libm_alias_ldouble.
26168 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26169 <libm-alias-ldouble.h>.
26170 (fabsl): Define using libm_alias_ldouble.
26171 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26172 <libm-alias-ldouble.h>.
26173 (floorl): Define using libm_alias_ldouble.
26174 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26175 <libm-alias-ldouble.h>.
26176 (fmal): Define using libm_alias_ldouble.
26177 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26178 <libm-alias-ldouble.h>.
26179 (frexpl): Define using libm_alias_ldouble.
26180 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26181 libm_alias_ldouble.
26182 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26183 <libm-alias-ldouble.h>.
26184 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26185 libm_alias_ldouble.
26186 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26187 <libm-alias-ldouble.h>.
26188 (getpayloadl): Define using libm_alias_ldouble.
26189 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26190 <libm-alias-ldouble.h>.
26191 (llrintl): Define using libm_alias_ldouble.
26192 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26193 <libm-alias-ldouble.h>.
26194 (llroundl): Define using libm_alias_ldouble.
26195 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26196 <libm-alias-ldouble.h>.
26197 (logbl): Define using libm_alias_ldouble.
26198 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26199 <libm-alias-ldouble.h>.
26200 (lrintl): Define using libm_alias_ldouble.
26201 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26202 <libm-alias-ldouble.h>.
26203 (lroundl): Define using libm_alias_ldouble.
26204 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26205 <libm-alias-ldouble.h>.
26206 (modfl): Define using libm_alias_ldouble.
26207 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26208 <libm-alias-ldouble.h>.
26209 (nearbyintl): Define using libm_alias_ldouble.
26210 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26211 <libm-alias-ldouble.h>.
26212 (nextafterl): Define using libm_alias_ldouble.
26213 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26214 <libm-alias-ldouble.h>.
26215 (nextupl): Define using libm_alias_ldouble.
26216 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26217 <libm-alias-ldouble.h>.
26218 (remquol): Define using libm_alias_ldouble.
26219 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26220 <libm-alias-ldouble.h>.
26221 (rintl): Define using libm_alias_ldouble.
26222 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26223 <libm-alias-ldouble.h>.
26224 (roundevenl): Define using libm_alias_ldouble.
26225 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26226 <libm-alias-ldouble.h>.
26227 (roundl): Define using libm_alias_ldouble.
26228 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26229 using libm_alias_ldouble.
26230 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26231 <libm-alias-ldouble.h>.
26232 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
26233 Define using libm_alias_ldouble.
26234 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
26235 <libm-alias-ldouble.h>.
26236 (sincosl): Define using libm_alias_ldouble.
26237 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
26238 <libm-alias-ldouble.h>.
26239 (sinl): Define using libm_alias_ldouble.
26240 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
26241 <libm-alias-ldouble.h>.
26242 (tanhl): Define using libm_alias_ldouble.
26243 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
26244 <libm-alias-ldouble.h>.
26245 (tanl): Define using libm_alias_ldouble.
26246 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
26247 <libm-alias-ldouble.h>.
26248 (totalorderl): Define using libm_alias_ldouble.
26249 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
26250 <libm-alias-ldouble.h>.
26251 (totalordermagl): Define using libm_alias_ldouble.
26252 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26253 <libm-alias-ldouble.h>.
26254 (truncl): Define using libm_alias_ldouble.
26255 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26256 libm_alias_ldouble.
26257 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26258 libm_alias_ldouble.
26259 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26260 <libm-alias-ldouble.h>.
26261 (weak_alias): Do not undefine and redefine.
26262 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26263 (copysignl): Define with long_double_symbol only if [IS_IN
26265 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26266 <libm-alias-ldouble.h>.
26267 (weak_alias): Do not undefine and redefine.
26268 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26269 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26270 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26271 <libm-alias-ldouble.h>.
26272 (weak_alias): Do not undefine and redefine.
26273 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26274 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26275 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26276 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26277 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26278 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26279 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26280 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26281 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26282 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26283 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26284 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26285 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26286 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26287 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26288 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26289 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26290 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26291 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26292 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26293 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26294 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26295 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26296 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26297 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26298 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26300 2017-10-06 Carlos O'Donell <carlos@redhat.com>
26303 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26304 (tcache_thread_freeres): Set tcache_shutting_down before
26305 freeing the tcache.
26306 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
26307 * malloc/tst-malloc-tcache-leak.c: New file.
26309 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26311 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26312 back to powerpc32 file.
26313 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26314 (memrchr): Add __memrchr_power8 to ifunc list.
26315 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26316 extra bytes for unaligned inputs.
26318 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26320 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
26321 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
26322 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
26323 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26324 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26326 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26328 * sysdeps/arm/libm-test-ulps: Update.
26330 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
26331 <libm-alias-ldouble.h>.
26332 (asinhl): Define using libm_alias_ldouble.
26333 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
26334 <libm-alias-ldouble.h>.
26335 (cbrtl): Define using libm_alias_ldouble.
26336 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
26337 <libm-alias-ldouble.h>.
26338 (copysignl): Define using libm_alias_ldouble.
26339 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
26340 <libm-alias-ldouble.h>.
26341 (cosl): Define using libm_alias_ldouble.
26342 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
26343 <libm-alias-ldouble.h>.
26344 (erfl): Define using libm_alias_ldouble.
26346 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
26347 <libm-alias-ldouble.h>.
26348 (fmal): Define using libm_alias_ldouble.
26349 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
26350 <libm-alias-ldouble.h>.
26351 (frexpl): Define using libm_alias_ldouble.
26352 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
26353 libm_alias_ldouble.
26354 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
26355 <libm-alias-ldouble.h>.
26356 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26357 libm_alias_ldouble.
26358 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26359 <libm-alias-ldouble.h>.
26360 (getpayloadl): Define using libm_alias_ldouble.
26361 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26362 <libm-alias-ldouble.h>.
26363 (llrintl): Define using libm_alias_ldouble.
26364 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26365 <libm-alias-ldouble.h>.
26366 (llroundl): Define using libm_alias_ldouble.
26367 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26368 <libm-alias-ldouble.h>.
26369 (lrintl): Define using libm_alias_ldouble.
26370 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26371 <libm-alias-ldouble.h>.
26372 (lroundl): Define using libm_alias_ldouble.
26373 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26374 <libm-alias-ldouble.h>.
26375 (modfl): Define using libm_alias_ldouble.
26376 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26377 <libm-alias-ldouble.h>.
26378 (nextupl): Define using libm_alias_ldouble.
26379 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26380 <libm-alias-ldouble.h>.
26381 (remquol): Define using libm_alias_ldouble.
26382 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26383 <libm-alias-ldouble.h>.
26384 (roundevenl): Define using libm_alias_ldouble.
26385 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26386 <libm-alias-ldouble.h>.
26387 (roundl): Define using libm_alias_ldouble.
26388 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26389 using libm_alias_ldouble.
26390 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26391 <libm-alias-ldouble.h>.
26392 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26393 <libm-alias-ldouble.h>.
26394 (setpayloadsigl): Define using libm_alias_ldouble.
26395 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26396 <libm-alias-ldouble.h>.
26397 (sincosl): Define using libm_alias_ldouble.
26398 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26399 <libm-alias-ldouble.h>.
26400 (sinl): Define using libm_alias_ldouble.
26401 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26402 <libm-alias-ldouble.h>.
26403 (tanhl): Define using libm_alias_ldouble.
26404 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26405 <libm-alias-ldouble.h>.
26406 (tanl): Define using libm_alias_ldouble.
26407 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26408 <libm-alias-ldouble.h>.
26409 (totalorderl): Define using libm_alias_ldouble.
26410 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26411 <libm-alias-ldouble.h>.
26412 (totalordermagl): Define using libm_alias_ldouble.
26413 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26414 libm_alias_ldouble.
26415 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26416 libm_alias_ldouble.
26418 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26420 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26422 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26423 (__libc_ifunc_impl_list): Likewise.
26424 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26425 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26427 * benchtests/bench-memmove-walk.c: New file.
26428 * benchtests/Makefile (string-benchset): Add it.
26430 * benchtests/bench-memset-walk.c: New file.
26431 * benchtests/Makefile (string-benchset): Add it.
26433 * benchtests/bench-memcpy-walk.c: New file.
26434 * benchtests/Makefile (string-benchset): Add it.
26436 2017-10-05 Florian Weimer <fweimer@redhat.com>
26438 nscd: Eliminate compilation time dependency in the build output.
26439 * nscd/nscd_stat.c (STATDATA_VERSION)
26440 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26441 (STATDATA_VERSION_FULL): New macro definitions.
26442 (compilation): Remove.
26443 (struct statdata): Adjust version member.
26444 (send_stats): Set version from STATDATA_VERSION_FULL.
26445 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26447 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26449 * configure.ac (--enable-add-ons): Remove option.
26450 (machine): Do not mention add-ons in comment.
26451 (LIBC_PRECONFIGURE): Likewise.
26452 (add_ons): Remove variable and sanity checks and logic to locate
26454 (add_ons_automatic): Remove variable.
26455 (configured_add_ons): Likewise.
26456 (add_ons_sfx): Likewise.
26457 (add_ons_pfx): Likewise.
26458 (add_on_subdirs): Likewise.
26459 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26460 consideration of add-ons in Implies handling.
26461 (sysdeps_add_ons): Likewise.
26462 * configure: Regenerated.
26463 * libidn/configure.ac: Remove.
26464 * libidn/configure: Likewise.
26465 * sysdeps/unix/inet/configure.ac: New file.
26466 * sysdeps/unix/inet/configure: New generated file.
26467 * sysdeps/unix/inet/Subdirs: Add libidn.
26468 * Makeconfig (sysdeps-srcdirs): Remove variable.
26469 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26470 ($(common-objpfx)config.status): Do not depend on add-on files.
26471 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26473 (all-subdirs): Do not include $(add-on-subdirs).
26474 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26475 * config.make.in (add-ons): Remove variable.
26476 (add-on-subdirs): Likewise.
26477 (sysdeps-add-ons): Likewise.
26478 * manual/Makefile (add-chapters): Remove.
26479 ($(objpfx)texis): Do not depend on $(add-chapters).
26480 (nonexamples): Do not handle $(add-chapters).
26481 (examples): Do not handle $(add-ons).
26482 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26484 * manual/install.texi (Installation): Do not mention add-ons.
26485 (--enable-add-ons): Do not document configure option.
26486 * INSTALL: Regenerated.
26487 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26488 * manual/maint.texi (Hierarchy Conventions): Do not mention
26490 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26492 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26494 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26495 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26497 2017-10-05 Andreas Schwab <schwab@suse.de>
26500 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26501 (_IO_flush_all_lockp): Always lock list_all_lock.
26502 (_IO_flush_all_linebuffered): Likewise.
26503 (_IO_unbuffer_all): Likewise.
26505 2017-10-05 Florian Weimer <fweimer@redhat.com>
26508 Do not flush stdio streams on abort.
26509 * stdlib/abort.c (fflush): Remove macro definition.
26510 (abort): Remove stages related to stdio flushing.
26512 2017-10-05 Florian Weimer <fweimer@redhat.com>
26514 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26516 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26518 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26520 2017-10-05 Florian Weimer <fweimer@redhat.com>
26522 * support/support_format_hostent.c (support_format_hostent): Add
26523 more error information for NETDB_INTERNAL.
26525 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26527 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26528 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26529 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26530 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26531 AC_DEFINE if multi-arch is enabled.
26532 * sysdeps/i386/configure: Regenerated.
26534 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26536 * Makeconfig (+link-static-before-libc): Use
26537 $(DEFAULT-LDFLAGS-$(@F)).
26538 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26539 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26540 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26542 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26544 * elf/Makefile (tests): Add tst-main1.
26545 (modules-names): Add tst-main1mod.
26546 ($(objpfx)tst-main1): New.
26547 (CRT-tst-main1): Likewise.
26548 (LDFLAGS-tst-main1): Likewise.
26549 (LDLIBS-tst-main1): Likewise.
26550 (tst-main1mod.so-no-z-defs): Likewise.
26551 * elf/tst-main1.c: New file.
26552 * elf/tst-main1mod.c: Likewise.
26554 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26556 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26558 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26560 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26561 (fma): Define using libm_alias_double.
26562 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26563 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26565 (fmal): Do not define as compat symbol here.
26566 * sysdeps/alpha/fpu/s_fma.c: New file.
26568 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26570 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26572 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26575 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26577 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26579 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26580 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26581 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26582 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26584 Include <math_ldbl_opt.h>
26585 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26587 (compat_symbol): Undefine and redefine.
26588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26590 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26591 (compat_symbol): Undefine and redefine.
26592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26593 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26594 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26595 GLIBC_2_1 for libm.
26596 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26597 GLIBC_2.0 copysignl symbol.
26598 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26599 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26601 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26603 2017-10-04 Florian Weimer <fweimer@redhat.com>
26605 * scripts/check-local-headers.sh: Ignore nspr4 header file
26606 directory in addition to nspr.
26608 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
26611 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26612 * configure: Regenerate.
26613 * crypt/Makefile (nss-cpp-flags): New variable.
26614 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26615 (CPPFLAGS-md5-crypt.c): Use it.
26616 * scripts/check-local-headers.sh: Ignore nspr header file
26619 2017-10-04 Andreas Schwab <schwab@suse.de>
26621 * nis/Makefile (services): Remove compat.
26622 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26623 ($(objpfx)libnss_compat.so): Remove rule.
26624 * nis/Versions (libnss_compat): Remove.
26625 * nss/Makefile (services): Add compat.
26626 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26627 * nss/Versions (libnss_compat): Define.
26628 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26629 Don't include <rpc/types.h>. Replace bool_t by bool.
26630 * nss/nss_compat/compat-initgroups.c: Likewise.
26631 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26632 instead of <rpcsrv/ypclnt.h>.
26633 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26634 yp_get_default_domain.
26635 * nss/nss_compat/compat-pwd.c: Likewise.
26636 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26637 yp_get_default_domain.
26638 * nss/nss_compat/nisdomain.c: New file.
26639 * nss/nss_compat/nisdomain.h: Likewise.
26641 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26644 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26645 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26647 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26650 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26651 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26653 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26655 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26656 "movl main@GOTOFF(%ebx), %eax".
26658 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26660 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26661 allow undefined _DYNAMIC in PIE libc.a.
26662 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26665 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26667 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26670 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26672 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26675 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26677 * math/test-math-iscanonical.cc (error): Replace bool with int.
26679 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26681 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26682 (modf): Define using libm_alias_double, only if [!__modf].
26683 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26684 <libm-alias-double.h>.
26685 (modf): Define using libm_alias_double, only if [!__modf].
26686 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26687 compat symbol here.
26688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26689 (weak_alias): Do not undefine and redefine.
26690 (strong_alias): Likewise.
26691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26692 (weak_alias): Likewise.
26693 (strong_alias): Likewise.
26695 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26696 (logb): Define using libm_alias_double, only if [!__logb].
26697 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26698 <libm-alias-double.h>.
26699 (logb): Define using libm_alias_double, only if [!__logb].
26700 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26702 (weak_alias): Do not undefine and redefine.
26703 (strong_alias): Likewise.
26704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26705 (weak_alias): Likewise.
26706 (strong_alias): Likewise.
26708 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26710 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26711 Check SHARED instead PIC.
26713 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26715 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26716 [!__fmaf] (fmaf): Define using libm_alias_float.
26718 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26719 (frexp): Define using libm_alias_double.
26720 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26721 <libm-alias-double.h>.
26722 (frexp): Define using libm_alias_double.
26723 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26724 compat symbol here.
26726 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26729 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26730 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26731 (CFLAGS-test-math-iscanonical.cc): New variable.
26732 * math/test-math-iscanonical.cc: New file.
26733 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26734 Provide a C++ implementation based on function overloading,
26735 rather than using __MATH_TG, which uses C-only builtins.
26736 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26738 * sysdeps/powerpc/powerpc64le/Makefile
26739 (CFLAGS-test-math-iscanonical.cc): New variable.
26741 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26743 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26744 (ceil): Define using libm_alias_double.
26745 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26746 (floor): Define using libm_alias_double.
26747 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26748 <libm-alias-double.h>.
26749 (llround): Define using libm_alias_double.
26750 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26751 <libm-alias-double.h>.
26752 (lround): Define using libm_alias_double.
26753 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26754 <libm-alias-double.h>.
26755 (nearbyint): Define using libm_alias_double.
26756 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26757 <libm-alias-double.h>.
26758 (remquo): Define using libm_alias_double.
26759 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26760 (rint): Define using libm_alias_double.
26761 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26762 (round): Define using libm_alias_double.
26763 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26764 (trunc): Define using libm_alias_double.
26765 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26766 <libm-alias-double.h>.
26767 (ceil): Define using libm_alias_double.
26768 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26769 <libm-alias-double.h>.
26770 (floor): Define using libm_alias_double.
26771 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26772 <libm-alias-double.h>.
26773 (llround): Define using libm_alias_double.
26774 [_LP64] (lround): Likewise.
26775 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26776 <libm-alias-double.h>.
26777 [!_LP64] (lround): Define using libm_alias_double.
26778 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26779 <libm-alias-double.h>.
26780 (nearbyint): Define using libm_alias_double.
26781 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26782 <libm-alias-double.h>.
26783 (remquo): Define using libm_alias_double.
26784 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26785 <libm-alias-double.h>.
26786 (rint): Define using libm_alias_double.
26787 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26788 <libm-alias-double.h>.
26789 (round): Define using libm_alias_double.
26790 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26791 <libm-alias-double.h>.
26792 (trunc): Define using libm_alias_double.
26793 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26794 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26795 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26796 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26797 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26798 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26799 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26800 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26801 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26803 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26805 * math/w_remainder.c: New file.
26806 * math/w_remainderf.c: New file.
26807 * math/w_remainderl.c: New file.
26809 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26811 * elf/rtld.c (BOOTSTRAP_MAP): New.
26812 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26813 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26815 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26817 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26820 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26822 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26823 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26824 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26825 rtld_hidden_data_ver): Define to empty.
26826 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26827 __assert_perror_fail): Likewise.
26828 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26829 (__rewinddir): Likewise.
26830 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26831 (__profile_frequency): Likewise.
26832 * include/setjmp.h (__sigsetjmp): Likewise.
26833 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26834 __libc_sigaction): Likewise.
26835 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26836 not set hidden attribute.
26837 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26838 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26839 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26840 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26841 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26842 __fxstatat64): Likewise.
26843 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26844 (__uname): Likewise.
26845 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26846 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26847 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26848 (NO_RTLD_HIDDEN): Set.
26849 * sysdeps/mach/hurd/configure: Refresh.
26850 * config.h.in: Refresh.
26852 2017-10-02 Joseph Myers <joseph@codesourcery.com>
26854 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26855 (atan): Define using libm_alias_double.
26856 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26857 (tan): Define using libm_alias_double.
26858 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26859 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26861 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26862 define as weak alias of __atan. Do not define any aliases if
26864 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26865 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26866 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26867 as weak alias of __tan. Do not define any aliases if [__tan].
26868 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26869 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26870 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26872 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26873 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26874 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26875 and define as weak alias of __atan.
26876 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26878 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26879 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26880 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26881 define as weak alias of __tan.
26883 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26885 * math/w_lgamma.c: New file.
26886 * math/w_lgammaf.c: New file.
26887 * math/w_lgammal.c: New file.
26889 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26891 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26892 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26893 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26894 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26895 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26896 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26897 * sysdeps/i386/fpu/w_log2f.c: New file.
26898 * sysdeps/i386/fpu/w_logf.c: New file.
26899 * sysdeps/i386/fpu/w_powf.c: New file.
26900 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26901 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26902 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26904 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26905 H.J. Lu <hongjiu.lu@intel.com>
26907 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26908 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26909 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26910 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26911 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26913 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26914 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26915 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26916 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26917 * sysdeps/i386/fpu/w_exp2f.c: New file.
26918 * sysdeps/i386/fpu/w_expf.c: New file.
26919 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26920 * sysdeps/x86_64/fpu/w_expf.c: New file.
26922 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26924 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26927 * math/w_log2f.c: New file.
26928 * math/w_logf.c: New file.
26929 * math/w_powf.c: New file.
26930 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26931 * math/w_logf_compat.c (__logf_compat): Likewise.
26932 * math/w_powf_compat.c (__powf_compat): Likewise.
26933 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26934 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26935 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26936 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26937 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26938 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26939 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26940 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26941 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26942 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26943 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26944 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26945 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26946 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26947 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26956 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26957 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26958 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26959 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26960 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26965 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26966 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26967 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26969 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26971 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26972 (sysdep_routines): Add memrchr_power8.
26973 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26974 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26975 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26977 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26978 (memrchr): Add __memrchr_power8 to ifunc list.
26979 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26981 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26984 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26985 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26987 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26988 (__posix_fallocate64_l64): Likewise.
26990 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26993 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26994 (__sched_setaffinity_new): Add libc_hidden_proto and
26997 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27000 * include/glob.h (__glob64): Add libc_hidden_proto.
27001 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27004 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27007 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27010 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27013 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27015 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27018 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27021 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27024 * csu/version.c (__libc_print_version): Add attribute_hidden.
27026 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27029 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27031 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27034 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27036 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27039 * nscd/nscd_helper.c (__nis_hash): New prototype.
27041 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27044 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27045 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27047 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27048 * termios/tcgetattr.c (__tcgetattr): Likewise.
27050 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27053 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27054 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27055 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27056 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27057 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27059 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27062 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27064 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27067 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27068 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27070 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27073 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27075 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27078 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27079 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27081 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27084 * include/ifreq.h: New file.
27085 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27086 (__ifreq): Likewise.
27087 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27088 (__ifreq): Likewise.
27090 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27093 * include/idna.h: New file.
27094 * inet/getnameinfo.c: Include <idna.h> instead of
27096 (__idna_to_unicode_lzlz): Removed.
27097 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27099 (__idna_to_ascii_lz): Removed.
27100 (__idna_to_unicode_lzlz): Likewise.
27102 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27105 * include/plural-exp.h: New file.
27106 * intl/plural-exp.c: Include <plural-exp.h> instead of
27109 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27112 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27113 "getsourcefilter.h".
27114 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27115 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27116 "getsourcefilter.h".
27117 (__get_sol): Removed.
27119 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27122 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27124 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27126 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27129 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27132 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27135 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27137 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27140 * include/search.h (__tdestroy): Add libc_hidden_proto.
27141 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27143 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27146 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27148 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27151 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27154 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27157 * include/signal.h (__kill): Add libc_hidden_proto.
27158 (__sigblock): Likewise.
27159 (__sigprocmask): Likewise.
27160 (__sigaltstack): Likewise.
27161 * signal/kill.c (__kill): Add libc_hidden_def.
27162 * signal/sigblock.c (__sigblock): Likewise.
27163 * signal/sigprocmask.c (__sigprocmask): Likewise.
27164 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27165 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27166 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27167 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27168 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27170 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27172 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27173 (__sigprocmask): Likewise.
27174 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27176 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27177 (__sigprocmask): Likewise.
27178 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27181 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27184 * include/string.h (__strsep): Add libc_hidden_proto.
27185 * string/strsep.c (__strsep): Add libc_hidden_def.
27187 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27190 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27192 (__spawni): Likewise.
27194 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27197 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27198 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27201 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27204 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27206 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27209 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27210 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27211 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27212 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27213 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27215 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27216 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27218 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27221 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27222 (__dcigettext): Likewise.
27224 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27227 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27229 (__get_nprocs): Likewise.
27230 (__get_phys_pages): Likewise.
27231 (__get_avphys_pages): Likewise.
27232 (__get_child_max): Add attribute_hidden.
27233 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
27234 (__get_nprocs): Likewise.
27235 (__get_phys_pages): Likewise.
27236 (__get_avphys_pages): Likewise.
27237 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
27239 (__get_nprocs): Likewise.
27240 (__get_phys_pages): Likewise.
27241 (__get_avphys_pages): Likewise.
27242 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
27244 (__get_nprocs_conf): Likewise.
27245 (__get_phys_pages): Likewise.
27246 (__get_avphys_pages): Likewise.
27248 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27251 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27253 (__netlink_close): Likewise.
27254 (__netlink_free_handle): Likewise.
27255 (__netlink_request): Likewise.
27257 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27260 * include/rpc/rpc.h (__rpc_thread_variables): Add
27262 (__rpc_thread_svc_cleanup): Likewise.
27263 (__rpc_thread_clnt_cleanup): Likewise.
27264 (__rpc_thread_key_cleanup): Likewise.
27266 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27269 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27270 (__writev): Likewise.
27271 * misc/readv.c (__readv): Add libc_hidden_def.
27272 * misc/writev.c (__writev): Likewise.
27273 * sysdeps/posix/readv.c (__readv): Likewise.
27274 * sysdeps/posix/writev.c (__writev): Likewise.
27275 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27276 (__readv): Likewise.
27277 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27278 (__writev): Likewise.
27280 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27283 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27284 (__regcomp): Add libc_hidden_proto.
27285 (__regexec): Likewise.
27286 (__regfree): Likewise.
27287 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27288 (__regfree): Likewise.
27289 * posix/regexec.c (__regexec): Likewise.
27291 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27294 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27295 (__getutent): Likewise.
27296 (__getutid): Likewise.
27297 (__getutline): Likewise.
27298 (__pututline): Likewise.
27299 (__getutent_r): Likewise.
27300 (__getutid_r): Likewise.
27301 (__getutline_r): Likewise.
27302 (__utmpname): Add attribute_hidden.
27303 (__setutent): Likewise.
27304 (__endutent): Likewise.
27305 * login/getutent.c (__getutent): Add libc_hidden_def.
27306 * login/getutent_r.c (__getutent_r): Likewise.
27307 (__pututline): Likewise.
27308 * login/getutid.c (__getutid): Likewise.
27309 * login/getutid_r.c (__getutid_r): Likewise.
27310 * login/getutline.c (__getutline): Likewise.
27311 * login/getutline_r.c (__getutline_r): Likewise.
27312 * login/updwtmp.c (__updwtmp): Likewise.
27314 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27317 * include/dirent.h (__opendir): Always add attribute_hidden.
27318 (__fdopendir): Likewise.
27319 (__closedir): Likewise.
27320 (__readdir): Likewise.
27321 (__readdir64): Add libc_hidden_proto.
27322 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
27323 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
27324 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
27325 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
27328 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27331 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
27332 * include/netdb.h (__gethostbyaddr_r): Likewise.
27333 (__gethostbyname_r): Likewise.
27334 (__gethostbyname2_r): Likewise.
27335 (__getnetbyaddr_r): Likewise.
27336 (__getnetbyname_r): Likewise.
27337 (__getservbyname_r): Likewise.
27338 (__getservbyport_r): Likewise.
27339 (__getprotobyname_r): Likewise.
27340 (__getprotobynumber_r): Likewise.
27341 (__getnetgrent_r): Likewise.
27342 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
27343 (__getrpcbynumber_r): Likewise.
27344 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
27346 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27349 * include/stdio.h (__fcloseall): Add attribute_hidden.
27350 (__getline): Likewise.
27351 (__path_search): Likewise.
27352 (__gen_tempname): Likewise.
27353 (__libc_message): Likewise.
27354 (__flockfile): Likewise.
27355 (__funlockfile): Likewise.
27356 (__fxprintf): Likewise.
27357 (__fxprintf_nocancel): Likewise.
27359 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27362 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27363 (__sgetsgent_r): Likewise.
27365 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27368 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27369 (__statfs64): Likewise.
27370 (__fstatfs64): Likewise.
27371 * include/sys/statvfs.h (__statvfs64): Likewise.
27372 (__fstatvfs64): Likewise.
27373 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27374 (__statfs_filesize_max): Likewise.
27375 (__statfs_symlinks): Likewise.
27376 (__statfs_chown_restricted): Likewise.
27378 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27381 * include/time.h (__tzstring): Add attribute_hidden.
27382 (__tzfile_read): Likewise.
27383 (__tzfile_compute): Likewise.
27384 (__tzfile_default): Likewise.
27385 (__tzset_parse_tz): Likewise.
27386 (__offtime): Likewise.
27387 (__asctime_r): Likewise.
27388 (__tzset): Likewise.
27389 (__tz_convert): Likewise.
27390 (__getdate_r): Likewise.
27391 (__getclktck): Likewise.
27393 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27396 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27397 (__nscd_unmap): Likewise.
27398 (__nscd_cache_search): Likewise.
27399 (__nscd_get_nl_timestamp): Likewise.
27400 (__nscd_getpwnam_r): Likewise.
27401 (__nscd_getpwuid_r): Likewise.
27402 (__nscd_getgrnam_r): Likewise.
27403 (__nscd_getgrgid_r): Likewise.
27404 (__nscd_gethostbyname_r): Likewise.
27405 (__nscd_gethostbyname2_r): Likewise.
27406 (__nscd_gethostbyaddr_r): Likewise.
27407 (__nscd_getai): Likewise.
27408 (__nscd_getgrouplist): Likewise.
27409 (__nscd_getservbyname_r): Likewise.
27410 (__nscd_getservbyport_r): Likewise.
27411 (__nscd_innetgr): Likewise.
27412 (__nscd_setnetgrent): Likewise.
27414 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27417 * include/gmp.h: Declare internal functions only if _ISOMAC is
27419 (__mpn_extract_double): Add attribute_hidden.
27420 (__mpn_extract_long_double): Likewise.
27421 (__mpn_extract_float128): Likewise.
27422 (__mpn_construct_float): Likewise.
27423 (__mpn_construct_double): Likewise.
27424 (__mpn_construct_long_double): Likewise.
27425 (__mpn_construct_float128): Likewise.
27426 (mpn_add_1): Likewise.
27427 (mpn_addmul_1): Likewise.
27428 (mpn_add_n): Likewise.
27429 (mpn_cmp): Likewise.
27430 (mpn_divrem): Likewise.
27431 (mpn_lshift): Likewise.
27432 (mpn_mul): Likewise.
27433 (mpn_mul_1): Likewise.
27434 (mpn_rshift): Likewise.
27435 (mpn_sub_1): Likewise.
27436 (mpn_submul_1): Likewise.
27437 (mpn_sub_n): Likewise.
27439 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27442 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27443 (__wcscat): Likewise.
27444 (__btowc): Likewise.
27445 (__wcrtomb): Likewise.
27446 (__mbsrtowcs): Likewise.
27447 (__wcsrtombs): Likewise.
27448 (__mbsnrtowcs): Likewise.
27449 (__wcsnrtombs): Likewise.
27450 (__wcsncpy): Likewise.
27451 (__wcpncpy): Likewise.
27452 (__wmemcpy): Likewise.
27453 (__wmempcpy): Likewise.
27454 (__wmemmove): Likewise.
27455 (__wcschrnul): Likewise.
27456 (__vfwscanf): Likewise.
27457 (__vswprintf): Likewise.
27458 (__fwprintf): Likewise.
27459 (__vfwprintf): Likewise.
27461 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27464 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27465 (__getgrgid_r): Likewise.
27466 (__getgrnam_r): Likewise.
27467 * include/pwd.h (__getpwuid_r): Likewise.
27468 (__getpwnam_r): Likewise.
27469 (__fgetpwent_r): Likewise.
27470 * include/shadow.h (__getspnam_r): Likewise.
27471 (__sgetspent_r): Likewise.
27472 (__fgetspent_r): Likewise.
27474 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27477 * include/unistd.h (__access): Add attribute_hidden.
27478 (__lseek64): Likewise.
27479 (__libc_pread64): Likewise.
27480 (__pipe2): Likewise.
27481 (__sleep): Likewise.
27482 (__chdir): Likewise.
27483 (__fchdir): Likewise.
27484 (__getcwd): Likewise.
27485 (__rmdir): Likewise.
27486 (__execvpe): Likewise.
27487 (__execve): Likewise.
27488 (__setsid): Likewise.
27489 (__getuid): Likewise.
27490 (__geteuid): Likewise.
27491 (__getgid): Likewise.
27492 (__getegid): Likewise.
27493 (__getgroups): Likewise.
27494 (__group_member): Likewise.
27495 (__ttyname_r): Likewise.
27496 (__isatty): Likewise.
27497 (__readlink): Likewise.
27498 (__unlink): Likewise.
27499 (__gethostname): Likewise.
27500 (__profil): Likewise.
27501 (__getdtablesize): Likewise.
27503 (__ftruncate): Likewise.
27504 (__ftruncate64): Likewise.
27506 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27509 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27510 * argp/argp-fs-xinl.c: Likewise.
27511 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27512 * argp/argp-parse.c: Include <argp.h>.
27513 * argp/argp-xinl.c: Likewise.
27514 * include/argp-fmtstream.h: New file.
27515 * include/argp.h (__argp_error): Add attribute_hidden.
27516 (__argp_failure): Likewise.
27517 (__argp_input): Likewise.
27518 (__argp_state_help): Likewise.
27520 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27523 * include/wchar.h (____wcstof_l_internal): New prototype.
27524 (____wcstod_l_internal): Likewise.
27525 (____wcstold_l_internal): Likewise.
27526 (____wcstol_l_internal): Likewise.
27527 (____wcstoul_l_internal): Likewise.
27528 (____wcstoll_l_internal): Likewise.
27529 (____wcstoull_l_internal): Likewise.
27530 (____wcstof128_l_internal): Likewise.
27531 * sysdeps/ieee754/float128/wcstof128.c
27532 (____wcstof128_l_internal): Removed.
27533 * sysdeps/ieee754/float128/wcstof128_l.c
27534 (____wcstof128_l_internal): Likewise.
27535 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27536 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27537 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27538 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27539 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27540 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27541 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27542 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27543 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27544 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27546 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27549 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27550 instead of <sys/statvfs.h>.
27551 (__internal_statvfs): Removed.
27552 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27553 instead of <sys/statvfs.h>.
27554 (__internal_statvfs64): Removed.
27555 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27556 "internal_statvfs.h" instead of <sys/statvfs.h>.
27557 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27558 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27559 instead of <sys/statvfs.h>.
27560 (__internal_statvfs): Removed.
27561 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27562 instead of <sys/statvfs.h>.
27563 (__internal_statvfs64): Removed.
27565 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27568 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27569 (__gconv_close): Likewise.
27570 (__gconv): Likewise.
27571 (__gconv_find_transform): Likewise.
27572 (__gconv_lookup_cache): Likewise.
27573 (__gconv_compare_alias_cache): Likewise.
27574 (__gconv_load_cache): Likewise.
27575 (__gconv_get_path): Likewise.
27576 (__gconv_close_transform): Likewise.
27577 (__gconv_release_cache): Likewise.
27578 (__gconv_find_shlib): Likewise.
27579 (__gconv_release_shlib): Likewise.
27580 (__gconv_get_builtin_trans): Likewise.
27581 (__gconv_compare_alias): Likewise.
27582 * include/dlfcn.h (_dlerror_run): Likewise.
27583 * include/stdio.h (__fortify_fail_abort): Likewise.
27584 * include/time.h (__tz_compute): Likewise.
27585 (__strptime_internal): Likewise.
27586 * intl/gettextP.h (_nl_find_domain): Likewise.
27587 (_nl_load_domain): Likewise.
27588 (_nl_find_msg): Likewise.
27589 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27590 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27591 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27592 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27593 (__gai_find_request): Likewise.
27594 (__gai_remove_request): Likewise.
27595 (__gai_notify): Likewise.
27596 (__gai_notify_only): Likewise.
27597 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27598 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27599 (_dl_non_dynamic_init): Likewise.
27600 (_dl_aux_init): Likewise.
27601 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27602 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27604 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27605 (__wcsmbs_clone_conv): Likewise.
27606 (__wcsmbs_named_conv): Likewise.
27608 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27611 * include/stdlib.h (__random): Add attribute_hidden.
27612 (__random_r): Likewise.
27613 (__srandom_r): Likewise.
27614 (__initstate_r): Likewise.
27615 (__setstate_r): Likewise.
27616 (__erand48_r): Likewise.
27617 (__nrand48_r): Likewise.
27618 (__jrand48_r): Likewise.
27619 (__srand48_r): Likewise.
27620 (__seed48_r): Likewise.
27621 (__lcong48_r): Likewise.
27622 (__drand48_iterate): Likewise.
27623 (__setenv): Likewise.
27624 (__unsetenv): Likewise.
27625 (__clearenv): Likewise.
27626 (__ptsname_r): Likewise.
27627 (__posix_openpt): Likewise.
27628 (__add_to_environ): Likewise.
27629 (__realpath): Add libc_hidden_proto.
27630 (__ecvt_r): Likewise.
27631 (__fcvt_r): Likewise.
27632 (__qecvt_r): Likewise.
27633 (__qfcvt_r): Likewise.
27634 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27635 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27637 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27640 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27641 * include/time.h (__mktime_internal): Likewise.
27642 * libio/iolibio.h (__fopen_internal): Likewise.
27644 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
27646 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27648 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27649 Correct offset used to restore PIC register.
27651 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
27654 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27655 code to load address of __getcontext_ret when generating PIC code.
27657 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27659 * elf/Makefile (tests-static-internal): Add
27660 tst-tls1-static-non-pie.
27661 (LDFLAGS-tst-tls1-static-non-pie): New.
27662 * elf/tst-tls1-static-non-pie.c: New file.
27664 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27666 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27667 (asinh): Define using libm_alias_double.
27668 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27669 (cbrt): Define using libm_alias_double.
27670 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27671 <libm-alias-double.h>.
27672 (copysign): Define using libm_alias_double.
27673 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27674 (erf): Define using libm_alias_double.
27676 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27677 (expm1): Define using libm_alias_double.
27678 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27679 (fabs): Define using libm_alias_double.
27680 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27682 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27683 <libm-alias-double.h>.
27684 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27686 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27687 <libm-alias-double.h>.
27688 (getpayload): Define using libm_alias_double.
27689 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27690 <libm-alias-double.h>.
27691 (llrint): Define using libm_alias_double.
27692 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27693 (lrint): Define using libm_alias_double.
27694 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27695 <libm-alias-double.h>.
27696 (nextup): Define using libm_alias_double.
27697 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27698 <libm-alias-double.h>.
27699 (roundeven): Define using libm_alias_double.
27700 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27702 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27703 <libm-alias-double.h>.
27704 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27705 using libm_alias_double.
27706 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27707 (cos): Define using libm_alias_double.
27709 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27710 <libm-alias-double.h>.
27711 (sincos): Define using libm_alias_double.
27712 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27713 (tanh): Define using libm_alias_double.
27714 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27715 <libm-alias-double.h>.
27716 (totalorder): Define using libm_alias_double.
27717 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27718 <libm-alias-double.h>.
27719 (totalordermag): Define using libm_alias_double.
27720 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27722 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27724 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27725 <libm-alias-double.h>.
27726 (getpayload): Define using libm_alias_double.
27727 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27728 <libm-alias-double.h>.
27729 (roundeven): Define using libm_alias_double.
27730 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27731 <libm-alias-double.h>.
27732 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27733 <libm-alias-double.h>.
27734 (totalorder): Define using libm_alias_double.
27735 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27736 <libm-alias-double.h>.
27737 (totalordermag): Define using libm_alias_double.
27738 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27739 libc compat symbol here.
27740 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27741 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27742 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27743 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27744 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27745 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27746 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27747 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27748 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27749 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27751 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27753 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27754 _dl_relocate_static_pie instead of _dl_start to compute load
27755 address in static PIE. Return 0 if _DYNAMIC is undefined for
27758 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27760 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27761 _DYNAMIC is undefined for static executable.
27763 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27765 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27767 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27771 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27773 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27774 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27775 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27776 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27777 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27778 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27779 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27780 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27781 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27782 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27783 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27784 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27785 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27786 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27787 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27788 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27789 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27791 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27793 * math/bits/cmathcalls.h (cimag): Remove inline.
27794 (creal): Remove inline.
27795 (conj): Remove inline.
27797 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27799 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27800 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27801 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27802 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27803 (issignalingf_inline): Likewise.
27804 (POWF_LOG2_TABLE_BITS): Likewise.
27805 (POWF_LOG2_POLY_ORDER): Likewise.
27806 (POWF_SCALE_BITS): Likewise.
27807 (POWF_SCALE): Likewise.
27808 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27809 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27810 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27812 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27814 * math/Makefile (type-float-routines): Add e_log2f_data.
27815 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27816 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27817 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27818 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27819 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27820 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27821 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27823 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27825 * math/Makefile (type-float-routines): Add e_logf_data.
27826 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27827 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27828 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27829 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27830 * sysdeps/i386/fpu/e_logf_data.c: New file.
27831 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27832 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27834 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27836 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27837 undefined _DYNAMIC in PIE libc.a.
27838 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27841 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27843 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27844 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27845 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27846 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27847 (__signbit): Remove.
27848 (__signbitl): Remove.
27849 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27850 (__signbit): Remove.
27851 (__signbitl): Remove.
27852 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27853 (__signbit): Remove.
27854 (__signbitl): Remove.
27855 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27856 (__signbit): Remove.
27857 (__signbitl): Remove.
27858 * sysdeps/tile/bits/mathinline.h: Delete file.
27859 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27860 (__signbit): Remove.
27861 (__signbitl): Remove.
27863 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27865 * math/math.h: Improve handling of C99 isgreater macros.
27866 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27867 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27868 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27869 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27870 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27872 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27874 * sysdeps/aarch64/libm-test-ulps: Update.
27876 2017-09-28 Joseph Myers <joseph@codesourcery.com>
27879 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27880 math_opt_barrier on argument when doing arithmetic on it.
27881 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27882 Likewise. Use math_force_eval not math_opt_barrier after
27884 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27885 math_opt_barrier on argument when doing arithmetic on it.
27886 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27889 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27891 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27893 (__freeifaddrs): Likewise.
27895 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27897 * include/dirent.h (__dirfd): New declaration.
27898 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27900 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27901 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27902 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27903 * include/unistd.h (__revoke): New declaration.
27904 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27906 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27907 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27909 * include/dirent.h (__seekdir): New declaration.
27910 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27911 redefine as weak alias.
27912 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27914 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27915 and use libc_hidden_def on them.
27916 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27918 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27919 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27920 instead of getifaddrs and freeifaddrs.
27922 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27925 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27926 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27927 (__dso_handle): Remove declaration.
27928 * dlfcn/tstatexit.c (__dso_handle): Removed.
27929 (main): Don't check __dso_handle.
27930 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27931 (main): Don't check __dso_handle.
27932 * include/dso_handle.h: New file.
27933 * malloc/mtrace.c: Include <dso_handle.h>.
27934 (mtrace): Pass __dso_handle directly.
27935 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27936 (__dso_handle): Remove declaration.
27937 (__pthread_atfork): Pass __dso_handle directly.
27938 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27939 (__dso_handle): Removed.
27940 * posix/wordexp-test.c: Include <dso_handle.h>.
27941 (__dso_handle): Remove declaration.
27942 (__app_register_atfork): Pass __dso_handle directly.
27943 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27944 (__dso_handle): Remove declaration.
27945 (at_quick_exit): Pass __dso_handle directly.
27946 * stdlib/atexit.c: Include <dso_handle.h>.
27947 (__dso_handle): Remove declaration.
27948 (atexit): Pass __dso_handle directly.
27949 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27950 (__dso_handle): Removed.
27952 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27954 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27957 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27959 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27960 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27961 values to correct default value for given type.
27963 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27966 * elf/Makefile (tests): Add tst-debug1.
27967 ($(objpfx)tst-debug1): New.
27968 ($(objpfx)tst-debug1.out): Likewise.
27969 ($(objpfx)tst-debug1mod1.so): Likewise.
27970 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27971 with p_filesz == 0.
27972 * elf/tst-debug1.c: New file.
27974 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27976 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27977 Define using __ifunc.
27979 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27981 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27984 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27987 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27989 2017-09-26 Florian Weimer <fweimer@redhat.com>
27991 * resolv/Makefile (tests-internal): Fix typo in comment.
27993 2017-09-26 Florian Weimer <fweimer@redhat.com>
27995 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27997 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27999 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28000 Use an union instead of a max_align_t array for __space,
28001 so that __space is the same size on all platforms.
28002 * malloc/scratch_buffer_grow_preserve.c
28003 (__libc_scratch_buffer_grow_preserve): Likewise.
28006 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28008 * posix/Makefile (routines): Add glob-lstat-compat and
28009 glob64-lstat-compat.
28010 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28011 * posix/glob-lstat-compat.c: New file.
28012 * posix/glob64-lstat-compat.c: Likewise.
28013 * posix/tst-glob_lstat_compat.c: Likewise.
28014 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28015 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28016 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28017 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28019 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28020 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28021 * posix/glob.c (glob_lstat): New function.
28022 (glob): Rename to __glob and add versioned symbol to 2.27.
28023 (glob_in_dir): Use glob_lstat.
28024 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28025 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28026 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28028 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28029 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28030 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28031 gl_lstat on glob call.
28032 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28033 and glob64 symbols.
28034 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28035 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28036 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28037 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28038 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28039 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28040 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28041 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28042 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28043 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28044 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28045 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28048 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28050 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28051 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28052 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28053 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28054 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28057 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28058 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28059 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28061 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28063 * configure.ac (AS): Require binutils 2.25 or later.
28064 * configure: Regenerated.
28066 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28069 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28072 2017-09-25 DJ Delorie <dj@redhat.com>
28075 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28078 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28080 * sysdeps/ieee754/dbl-64/sincos32.h
28081 [SINCCOS32_H]: Remove define.
28082 [SINCOS32_H]: Define.
28084 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28086 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28088 * math/w_exp2f.c: New file.
28089 * math/w_expf.c: New file.
28090 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28091 * math/w_expf_compat.c (__expf_compat): Likewise.
28092 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28093 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28094 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28095 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28096 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28097 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28098 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28099 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28100 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28101 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28102 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28103 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28104 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28105 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28114 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28115 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28116 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28117 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28118 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28123 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28124 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28125 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28127 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28129 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28130 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28131 (roundtoint, converttoint): Likewise.
28132 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28133 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28134 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28135 * sysdeps/ieee754/flt-32/math_config.h: New file.
28136 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28137 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28138 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28139 * sysdeps/i386/fpu/math_errf.c: New file.
28140 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28141 * sysdeps/ia64/fpu/math_errf.c: New file.
28142 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28143 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28145 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28147 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28148 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28149 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28150 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28151 to make sure that these symbols are defined.
28152 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28154 (__need_NULL): Do not define.
28155 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28157 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28158 CMGROUP_MAX, cmsgcred): Do not define.
28159 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28161 * bits/socket.h: Likewise.
28162 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28163 __gettimeofday instead of gettimeofday.
28164 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28165 instead of settimeofday.
28167 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28169 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28170 (asinhf): Define using libm_alias_float.
28171 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28172 (atanf): Define using libm_alias_float.
28173 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28174 (cbrtf): Define using libm_alias_float.
28175 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28176 (ceilf): Define using libm_alias_float.
28177 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28178 <libm-alias-float.h>.
28179 (copysignf): Define using libm_alias_float.
28180 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28181 (cosf): Define using libm_alias_float.
28182 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28183 (erff): Define using libm_alias_float.
28185 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28186 (expm1f): Define using libm_alias_float.
28187 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28188 (fabsf): Define using libm_alias_float.
28189 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28190 (floorf): Define using libm_alias_float.
28191 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28192 (frexpf): Define using libm_alias_float.
28193 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28195 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28196 <libm-alias-float.h>.
28197 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28199 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28200 <libm-alias-float.h>.
28201 (getpayloadf): Define using libm_alias_float.
28202 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28203 <libm-alias-float.h>.
28204 (llrintf): Define using libm_alias_float.
28205 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28206 <libm-alias-float.h>.
28207 (llroundf): Define using libm_alias_float.
28208 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28209 (logbf): Define using libm_alias_float.
28210 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28211 (lrintf): Define using libm_alias_float.
28212 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28213 (lroundf): Define using libm_alias_float.
28214 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28215 (modff): Define using libm_alias_float.
28216 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28217 <libm-alias-float.h>.
28218 (nearbyintf): Define using libm_alias_float.
28219 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28220 <libm-alias-float.h>.
28221 (nextafterf): Define using libm_alias_float.
28222 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28223 <libm-alias-float.h>.
28224 (nextupf): Define using libm_alias_float.
28225 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28226 <libm-alias-float.h>.
28227 (remquof): Define using libm_alias_float.
28228 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28229 (rintf): Define using libm_alias_float.
28230 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28231 <libm-alias-float.h>.
28232 (roundevenf): Define using libm_alias_float.
28233 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
28234 (roundf): Define using libm_alias_float.
28235 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
28236 using libm_alias_float.
28237 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
28238 <libm-alias-float.h>.
28239 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
28240 Define using libm_alias_float.
28241 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
28242 <libm-alias-float.h>.
28243 (sincosf): Define using libm_alias_float.
28244 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
28245 (sinf): Define using libm_alias_float.
28246 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
28247 (tanf): Define using libm_alias_float.
28248 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
28249 (tanhf): Define using libm_alias_float.
28250 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28251 <libm-alias-float.h>.
28252 (totalorderf): Define using libm_alias_float.
28253 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28254 <libm-alias-float.h>.
28255 (totalordermagf): Define using libm_alias_float.
28256 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28257 (truncf): Define using libm_alias_float.
28258 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28260 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28263 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28266 math/math.h: Let fpclassify use the builtin in C++ mode, even
28267 when optimazing for size.
28269 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28271 * csu/Makefile (generated): Do not add version-info.h.
28272 (before-compile): Likewise.
28273 (all-Banner-files): Remove variable.
28274 ($(objpfx)version-info.h): Remove rule.
28275 * csu/version.c (banner): Do not include "version-info.h".
28276 * libidn/Banner: Remove.
28277 * manual/contrib.texi (Simon Josefsson): New entry.
28279 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28281 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28282 Remove conditionals on LDBL_MANT_DIG.
28283 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28284 (__ieee754_lgammal_r): Likewise.
28286 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28288 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28290 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28291 _Float128 and L(). Replace _Float128 with long double and L(x)
28292 with xL, throughout the file.
28293 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28294 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28295 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28296 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28298 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28300 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28301 sysdeps/ieee754/ldbl-128ibm.
28302 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28303 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28304 of including it. Keep _Float128 and L() intact. These will be
28305 reviewed by a separate patch.
28306 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28307 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28308 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28309 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28311 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28314 (__finitef128): Define to __redirect___finitef128.
28315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28316 (__isinff128): Define to __redirect___isinff128.
28317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
28318 (__isnanf128): Define to __redirect___isnanf128.
28320 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28322 * sysdeps/powerpc/powerpc64le/Makefile
28323 (CFLAGS-tst-strtod-nan-locale.c): New variable.
28324 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
28326 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
28327 Carlos O'Donell <carlos@redhat.com>
28330 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
28331 * stdlib/test-dlclose-exit-race.c: New file.
28332 * stdlib/test-dlclose-exit-race-helper.c: New file.
28333 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
28335 2017-09-21 Joseph Myers <joseph@codesourcery.com>
28337 * crypt/Banner: Remove file.
28338 * nptl/Banner: Likewise.
28339 * resolv/Banner: Likewise.
28340 * soft-fp/Banner: Likewise.
28341 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
28342 ($(objpfx)version.d): Remove dependency on banner.h.
28343 ($(objpfx)version.os): Likewise.
28344 * nptl/version.c (banner): Do not include banner.h.
28345 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
28346 Jelinek and BIND code.
28348 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28349 Carlos O'Donell <carlos@redhat.com>
28351 * support/xdlfcn.h: New file.
28352 * support/xdlfcn.c: New file.
28353 * support/Makefile (libsupport-routines): Add xdlfcn.
28354 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28356 2017-09-20 Joseph Myers <joseph@codesourcery.com>
28359 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28360 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28361 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28362 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28363 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28364 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28365 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28366 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28368 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28369 Ricky Zhou <rickyz@google.com>
28370 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28373 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28375 (__new_exitfn): Fail registration when we finished at_exit processing.
28376 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28377 * stdlib/on_exit.c (__on_exit): Likewise.
28378 * stdlib/exit.c (__exit_funcs_done): New variable.
28379 (__run_exit_handlers): Use __exit_funcs_lock.
28380 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28382 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28383 (test-cxa_atexit-race, test-on_exit-race): New tests.
28384 * stdlib/test-atexit-race-common.c: New file.
28385 * stdlib/test-atexit-race.c: New file.
28386 * stdlib/test-at_quick_exit-race.c: New file.
28387 * stdlib/test-cxa_atexit-race.c: New file.
28388 * stdlib/test-on_exit-race.c: New file.
28390 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28392 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28393 * benchtests/exp2f-inputs: Copy of expf-inputs.
28394 * benchtests/log2f-inputs: Copy of logf-inputs.
28396 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28398 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28399 Explicitly take address of first element of array arguments in
28400 call to INLINE_SYSCALL.
28402 2017-09-19 Andreas Schwab <schwab@suse.de>
28405 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28407 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28409 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28410 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28411 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28412 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28413 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28414 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28415 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28416 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28417 * posix/Makefile (tests): Add tst-fexecve.
28418 * posix/tst-fexecve.c: New file.
28420 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28422 * benchtests/Makefile: Add logf benchmark.
28423 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28425 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28427 * benchtests/Makefile: Add expf benchmark.
28428 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28430 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28432 * csu/Makefile: Add -funwind-tables to libc-start.c.
28433 * debug/Makefile: Add -funwind-tables to backtrace.c.
28434 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28435 * sysdeps/arm/Makefile: Likewise.
28436 * sysdeps/i386/Makefile: Likewise.
28437 * sysdeps/m68k/Makefile: Likewise.
28438 * sysdeps/mips/Makefile: Likewise.
28439 * sysdeps/nios2/Makefile: Likewise.
28440 * sysdeps/sh/Makefile: Likewise.
28441 * sysdeps/sparc/Makefile: Likewise.
28443 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28445 * benchtests/Makefile (bench-math): Add trunc and truncf.
28446 (CFLAGS-bench-trunc.c): New variable.
28447 (CFLAGS-bench-truncf.c): Likewise.
28448 * benchtests/trunc-inputs: New file.
28449 * benchtests/truncf-inputs: Likewise.
28451 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28453 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28455 2017-09-18 Joseph Myers <joseph@codesourcery.com>
28457 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28458 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28460 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28461 (exp10l): Define as weak alias.
28462 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28463 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28465 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28466 (remainderl): Define as weak alias.
28468 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28469 (fmal): Define using libm_alias_ldouble.
28470 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28471 (acoshl): Define using libm_alias_ldouble.
28472 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28473 (acosl): Define using libm_alias_ldouble.
28474 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28475 (asinl): Define using libm_alias_ldouble.
28476 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28477 (atan2l): Define using libm_alias_ldouble.
28478 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28479 (atanhl): Define using libm_alias_ldouble.
28480 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28481 (coshl): Define using libm_alias_ldouble.
28482 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28483 (exp10l): Define using libm_alias_ldouble.
28484 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28485 (exp2l): Define using libm_alias_ldouble.
28486 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28487 (expl): Define using libm_alias_ldouble.
28488 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28489 (fmodl): Define using libm_alias_ldouble.
28490 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28491 (hypotl): Define using libm_alias_ldouble.
28492 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28493 (j0l): Define using libm_alias_ldouble.
28495 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28496 (j1l): Define using libm_alias_ldouble.
28498 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28499 (jnl): Define using libm_alias_ldouble.
28501 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28502 (log10l): Define using libm_alias_ldouble.
28503 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28504 (log2l): Define using libm_alias_ldouble.
28505 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28506 (logl): Define using libm_alias_ldouble.
28507 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28508 (powl): Define using libm_alias_ldouble.
28509 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28510 (remainderl): Define using libm_alias_ldouble.
28511 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28512 (sinhl): Define using libm_alias_ldouble.
28513 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28514 (sqrtl): Define using libm_alias_ldouble.
28515 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28516 (tgammal): Define using libm_alias_ldouble.
28517 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28518 (exp10l): Do not use long_double_symbol here.
28519 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28520 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28521 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28522 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28523 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28524 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28525 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28526 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28527 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28528 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28529 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28530 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28531 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28532 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28533 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28534 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28535 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28536 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28537 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28538 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28539 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28540 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28542 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28544 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28545 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28547 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28549 * io/read.c (read): Add libc_hidden_weak.
28550 * sysdeps/mach/hurd/read.c (read): Likewise.
28551 * io/write.c (write): Likewise.
28552 * sysdeps/mach/hurd/write.c (write): Likewise.
28553 * io/pread64.c (__pread64): Likewise.
28554 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28555 * posix/pread64.c (__pread64): Add libc_hidden_def.
28557 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28559 * benchtests/scripts/compare_strings.py: New option -g.
28560 (draw_graph): Print a message that a graph is being generated.
28561 (process_results): Generate graph only if -g is passed.
28562 (main): Process option -g.
28564 * benchtests/scripts/compare_strings.py (process_results):
28565 Better spacing for output.
28567 * benchtests/scripts/compare_strings.py: Use argparse.
28568 * benchtests/README: Document existence of compare_strings.py.
28570 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28572 * math/s_fma.c: Include <libm-alias-double.h>.
28573 (fma): Define using libm_alias_double.
28574 * math/s_nextafter.c: Include <libm-alias-double.h>.
28575 (nextafter): Define using libm_alias_double.
28576 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28577 (acos): Define using libm_alias_double.
28578 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28579 (aocsh): Define using libm_alias_double.
28580 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28581 (asin): Define using libm_alias_double.
28582 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28583 (atan2): Define using libm_alias_double.
28584 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28585 (atanh): Define using libm_alias_double.
28586 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28587 (cosh): Define using libm_alias_double.
28588 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28589 (exp10): Define using libm_alias_double.
28590 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28591 (exp2): Define using libm_alias_double.
28592 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28593 (exp): Define using libm_alias_double.
28594 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28595 (fmod): Define using libm_alias_double.
28596 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28597 (hypot): Define using libm_alias_double.
28598 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28599 (j0): Define using libm_alias_double.
28601 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28602 (j1): Define using libm_alias_double.
28604 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28605 (jn): Define using libm_alias_double.
28607 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28608 (log10): Define using libm_alias_double.
28609 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28610 (log2): Define using libm_alias_double.
28611 * math/w_log_compat.c: Include <libm-alias-double.h>.
28612 (log): Define using libm_alias_double.
28613 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28614 (pow): Define using libm_alias_double.
28615 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28616 (remainder): Define using libm_alias_double.
28617 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28618 (sinh): Define using libm_alias_double.
28619 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28620 (sqrt): Define using libm_alias_double.
28621 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28622 (tgamma): Define using libm_alias_double.
28623 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28624 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28625 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28626 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28627 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28628 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28629 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28630 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28631 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28632 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28633 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28634 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28635 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28636 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28637 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28638 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28639 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28640 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28641 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28642 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28643 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28644 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28645 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28646 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28647 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28649 * math/e_acoshl.c: Remove.
28650 * math/e_acosl.c: Likewise.
28651 * math/e_asinl.c: Likewise.
28652 * math/e_atan2l.c: Likewise.
28653 * math/e_atanhl.c: Likewise.
28654 * math/e_coshl.c: Likewise.
28655 * math/e_expl.c: Likewise.
28656 * math/e_fmodl.c: Likewise.
28657 * math/e_gammal_r.c: Likewise.
28658 * math/e_hypotl.c: Likewise.
28659 * math/e_j0l.c: Likewise.
28660 * math/e_j1l.c: Likewise.
28661 * math/e_jnl.c: Likewise.
28662 * math/e_lgammal_r.c: Likewise.
28663 * math/e_log10l.c: Likewise.
28664 * math/e_log2l.c: Likewise.
28665 * math/e_logl.c: Likewise.
28666 * math/e_powl.c: Likewise.
28667 * math/e_rem_pio2l.c: Likewise.
28668 * math/e_sinhl.c: Likewise.
28669 * math/e_sqrtf128.c: Likewise.
28670 * math/e_sqrtl.c: Likewise.
28671 * math/k_cosl.c: Likewise.
28672 * math/k_sinl.c: Likewise.
28673 * math/k_tanl.c: Likewise.
28674 * math/s_asinhl.c: Likewise.
28675 * math/s_atanl.c: Likewise.
28676 * math/s_cbrtl.c: Likewise.
28677 * math/s_erfl.c: Likewise.
28678 * math/s_expm1l.c: Likewise.
28679 * math/s_log1pl.c: Likewise.
28680 * math/s_tanhl.c: Likewise.
28682 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28685 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28686 [$(subdir) = math] (sysdep_calls): New variable. Has the
28687 previous contents of sysdep_routines, but re-sorted..
28688 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28690 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28691 defined in sysdep_calls and replace by the respective m_* names.
28692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28693 (compat_symbol): Undefine to avoid duplicated compat symbols in
28696 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28698 * math/s_fmaf.c: Include <libm-alias-float.h>.
28699 (fmaf): Define using libm_alias_float.
28700 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28701 (acosf): Define using libm_alias_float.
28702 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28703 (acoshf): Define using libm_alias_float.
28704 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28705 (asinf): Define using libm_alias_float.
28706 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28707 (atan2f): Define using libm_alias_float.
28708 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28709 (atanhf): Define using libm_alias_float.
28710 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28711 (coshf): Define using libm_alias_float.
28712 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28713 (exp10f): Define using libm_alias_float.
28714 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28715 (fmodf): Define using libm_alias_float.
28716 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28717 (hypotf): Define using libm_alias_float.
28718 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28719 (j0f): Define using libm_alias_float.
28721 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28722 (j1f): Define using libm_alias_float.
28724 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28725 (jnf): Define using libm_alias_float.
28727 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28728 (log10f): Define using libm_alias_float.
28729 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28730 (log2f): Define using libm_alias_float.
28731 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28732 (logf): Define using libm_alias_float.
28733 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28734 (powf): Define using libm_alias_float.
28735 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28736 (remainderf): Define using libm_alias_float.
28737 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28738 (sinhf): Define using libm_alias_float.
28739 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28740 (sqrtf): Define using libm_alias_float.
28741 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28742 (tgammaf): Define using libm_alias_float.
28744 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28746 * include/math.h (roundeven): Change hidden_proto call to
28748 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28750 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28751 (y0): Rename to __y0 and define as weak alias.
28752 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28753 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28755 (y0f): Rename to __y0f and define as weak alias.
28756 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28758 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28759 (y1): Rename to __y1 and define as weak alias.
28760 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28761 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28763 (y1f): Rename to __y1f and define as weak alias.
28764 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28766 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28767 (yn): Rename to __yn and define as weak alias.
28768 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28769 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28771 (ynf): Rename to __ynf and define as weak alias.
28772 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28773 (fromfp): Define as weak alias.
28774 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28775 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28776 (fromfpx): Define as weak alias.
28777 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28778 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28779 __getpayload and define as weak alias.
28780 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28781 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28782 __roundeven and define as weak alias.
28783 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28784 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28786 (setpayload): Define as weak alias.
28787 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28788 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28790 (setpayloadsig): Define as weak alias.
28791 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28792 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28793 __totalorder and define as weak alias.
28794 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28795 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28796 to __totalordermag and define as weak alias.
28797 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28798 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28799 (ufromfp): Define as weak alias.
28800 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28801 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28803 (ufromfpx): Define as weak alias.
28804 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28805 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28806 Rename to __getpayload and define as weak alias.
28807 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28808 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28809 Rename to __roundeven and define as weak alias.
28810 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28811 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28812 Rename to __totalorder and define as weak alias.
28813 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28814 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28815 (totalordermag): Rename to __totalordermag and define as weak
28817 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28818 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28820 (__roundevenl): Likewise.
28821 (__totalorderl): Likewise.
28822 (__totalordermagl): Likewise
28823 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28825 (fromfpf128): Define as weak alias.
28826 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28828 (fromfpxf128): Define as weak alias.
28829 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28831 (setpayloadf128): Define as weak alias.
28832 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28833 __setpayloadsigf128.
28834 (setpayloadsigf128): Define as weak alias.
28835 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28837 (ufromfpf128): Define as weak alias.
28838 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28840 (ufromfpxf128): Define as weak alias.
28841 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28842 (fromfpf): Define as weak alias.
28843 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28845 (fromfpxf): Define as weak alias.
28846 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28847 __getpayloadf and define as weak alias.
28848 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28849 __roundevenf and define as weak alias.
28850 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28852 (setpayloadf): Define as weak alias.
28853 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28855 (setpayloadsigf): Define as weak alias.
28856 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28857 __totalorderf and define as weak alias.
28858 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28859 Rename to __totalordermagf and define as weak alias.
28860 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28862 (ufromfpf): Define as weak alias.
28863 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28865 (ufromfpxf): Define as weak alias.
28866 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28868 (fromfpl): Define as weak alias.
28869 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28871 (fromfpxl): Define as weak alias.
28872 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28873 to __getpayloadl and define as weak alias.
28874 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28875 __roundevenl and define as weak alias.
28876 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28878 (setpayloadl): Define as weak alias.
28879 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28881 (setpayloadsigl): Define as weak alias.
28882 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28883 to __totalorderl and define as weak alias.
28884 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28885 Rename to __totalordermagl and define as weak alias.
28886 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28888 (ufromfpl): Define as weak alias.
28889 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28891 (ufromfpxl): Define as weak alias.
28892 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28894 (fromfpl): Define as weak alias.
28895 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28897 (fromfpxl): Define as weak alias.
28898 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28899 Rename to __getpayloadl and define as weak alias.
28900 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28901 to __roundevenl and define as weak alias. Call __roundeven
28902 instead of roundeven.
28903 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28905 (setpayloadl): Define as weak alias.
28906 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28908 (setpayloadsigl): Define as weak alias.
28909 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28910 Rename to __totalorderl and define as weak alias.
28911 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28912 Rename to __totalordermagl and define as weak alias.
28913 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28915 (ufromfpl): Define as weak alias.
28916 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28918 (ufromfpxl): Define as weak alias.
28919 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28921 (fromfpl): Define as weak alias.
28922 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28924 (fromfpxl): Define as weak alias.
28925 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28926 __getpayloadl and define as weak alias.
28927 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28928 __roundevenl and define as weak alias.
28929 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28931 (setpayloadl): Define as weak alias.
28932 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28934 (setpayloadsigl): Define as weak alias.
28935 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28936 __totalorderl and define as weak alias.
28937 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28938 Rename to __totalordermagl and define as weak alias.
28939 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28941 (ufromfpl): Define as weak alias.
28942 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28944 (ufromfpxl): Define as weak alias.
28946 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28948 * benchtests/bench-string.h (realloc_bufs): New function.
28949 (test_init): Call it.
28950 * benchtests/bench-memset-large.c (do_test): Likewise.
28951 * benchtests/bench-memset.c (do_test): Likewise.
28953 * benchtests/bench-memset-large.c: Print output in JSON
28955 * benchtests/bench-memset.c: Likewise.
28957 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28960 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28961 * iconvdata/Makefile: Add IBM858.
28962 * iconvdata/gconv-modules: Likewise.
28963 * iconvdata/tst-tables.sh: Likewise.
28964 * iconvdata/ibm858.c: New file.
28965 * localedata/charmaps/IBM858: Likewise.
28967 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28970 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28971 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28973 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28976 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28977 and add tel_int_fmt.
28979 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28981 * sysdeps/generic/libm-alias-float128.h: New file.
28982 * sysdeps/generic/math-type-macros-float128.h: Include
28983 <libm-alias-float128.h>.
28984 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28986 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28988 * sysdeps/generic/libm-alias-ldouble.h: New file.
28989 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28990 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28991 * sysdeps/generic/math-type-macros-ldouble.h: Include
28992 <libm-alias-ldouble.h>.
28993 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28994 libm_alias_ldouble.
28996 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28998 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28999 * math/w_exp_compat.c: ... here.
29000 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29001 * math/w_expf_compat.c: ... here.
29002 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29003 * math/w_expl_compat.c: ... here.
29004 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29005 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29006 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29007 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29009 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29011 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29013 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29015 (ldexpl): Only define as compat symbol for libc, not libm.
29016 (scalbnl): Define as compat symbol for libc here.
29017 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29018 define for [IS_IN (libc)].
29019 (__ldexpl_2): Remove alias.
29020 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29021 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29022 name in long_double_symbol call.
29023 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29024 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29025 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29026 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29027 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29029 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29030 Define as compat symbol.
29032 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29034 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29035 * sysdeps/unix/sysv/linux/alpha/Makefile
29036 [$(subdir) = csu] (sysdep_routines): Remove rule.
29038 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29040 * sysdeps/generic/libm-alias-double.h: New file.
29041 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29042 * sysdeps/generic/math-type-macros-double.h: Include
29043 <libm-alias-double.h>.
29044 [declare_mgen_alias] (declare_mgen_alias): Define to use
29046 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29047 (M_LIBM_NEED_COMPAT): Remove macro.
29048 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29049 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29050 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29052 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29053 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29054 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29055 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29056 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29057 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29058 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29059 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29060 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29061 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29062 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29063 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29064 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29065 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29066 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29067 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29068 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29069 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29070 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29071 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29072 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29073 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29074 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29075 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29076 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29077 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29078 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29079 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29080 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29082 (declare_mgen_alias): New macro.
29083 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29084 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29086 (M_LIBM_NEED_COMPAT): Remove macro.
29087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29088 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29089 <first-versions.h>.
29090 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29091 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29093 2017-09-12 Joseph Myers <joseph@codesourcery.com>
29095 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29096 (declare_mgen_alias_2): Remove.
29097 * sysdeps/generic/math-type-macros-double.h
29098 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29100 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29102 (ldexp): Define with declare_mgen_alias.
29103 (scalbn): Likewise.
29105 2017-09-12 Steve Ellcey <sellcey@cavium.com>
29107 * grp/initgroups.c: Include config.h.
29108 (DEFAULT_CONFIG): New macro.
29109 (internal_getgrouplist): Use DEFAULT_CONFIG.
29110 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29111 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29112 (DEFAULT_DEFCONFIG): New macro.
29113 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29114 * nss/grp-lookup.c: Include config.h
29115 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29116 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29117 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29118 * manual/nss.texi: Update default values section.
29120 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29123 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29125 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29126 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29127 Handle MathVec_Prefer_No_AVX512.
29128 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29129 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29132 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29134 * posix/sched_primax.c (__sched_get_priority_max): Add
29136 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29137 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29138 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29139 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29140 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29141 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29142 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29143 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29146 2017-09-11 Joseph Myers <joseph@codesourcery.com>
29148 * sysdeps/generic/libm-alias-float.h: New file.
29149 * sysdeps/generic/math-type-macros-float.h: Include
29150 <libm-alias-float.h>.
29151 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29153 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29156 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29157 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29158 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29159 (HWCAP_IMPORTANT): Likewise.
29160 (HWCAP_X86_64): New enum.
29161 (HWCAP_X86_AVX512_1): Updated.
29162 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29163 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29164 (modules-names): Add x86_64/tst-x86_64mod-1.
29165 (LDFLAGS-tst-x86_64mod-1.so): New.
29166 ($(objpfx)tst-x86_64-1): Likewise.
29167 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29168 (tst-x86_64-1-clean): Likewise.
29169 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29170 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29172 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29174 * po/sv.po: Update translations.
29175 * po/fr.po: Likewise.
29177 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29179 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29181 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29183 * elf/rtld-Rules: Fix $(error) use.
29185 2017-09-09 Mike FABIAN <mfabian@redhat.com>
29188 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29189 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29190 * localedata/locales/bn_BD: “Bengali” was still used in some
29191 comments. Change it to “Bangla”.
29193 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29195 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29197 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29199 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29200 thunderx2t99p1 to list of cpu names.
29201 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29202 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29204 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29206 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29207 Use strcmp instead of tunable_is_name.
29209 2017-09-08 Joseph Myers <joseph@codesourcery.com>
29211 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29212 (F_GET_RW_HINT): New macro.
29213 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29214 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29215 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29216 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29217 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29218 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29219 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29220 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29221 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29223 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29224 (F_ADD_SEALS): New macro.
29225 [__USE_GNU] (F_GET_SEALS): Likewise.
29226 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29227 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29228 [__USE_GNU] (F_SEAL_GROW): Likewise.
29229 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29231 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29233 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
29234 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
29235 * posix/glob_internal.h (__glob_pattern_type):
29236 * posix/glob.c (glob):
29237 * posix/glob_pattern_p.c (__glob_pattern_p):
29240 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
29241 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29242 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
29243 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
29244 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
29246 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
29247 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
29248 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29249 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29250 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29251 * sysdeps/wordsize-64/glob.c: Likewise.
29252 * sysdeps/wordsize-64/glob64.c: Likewise.
29253 * sysdeps/wordsize-64/globfree.c: Likewise.
29254 * sysdeps/wordsize-64/globfree64.c: Likewise.
29255 * sysdeps/unix/sysv/linux/glob.c: New file.
29256 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29257 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29258 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29259 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29260 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29261 adds !GLOB_NO_OLD_VERSION as an extra condition.
29262 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29263 using relative path instead of absolute one.
29264 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29265 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29266 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29267 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29268 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29269 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29272 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29273 (glob): Use the same scratch buffer for both getlogin_r and
29274 getpwnam_r. Don’t require preallocation of the login name. This
29275 simplifies storage allocation, and corrects the handling of
29279 * posix/glob.c (glob): Port recent patches to platforms
29280 lacking getpwnam_r.
29281 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29282 returns an error number rather than setting errno.
29284 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29285 instead of GCC extension.
29286 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29287 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29288 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29292 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29293 * posix/bug-glob1.c: Remove file.
29294 * posix/tst-glob_symlinks.c: New file.
29295 * posix/glob.c (__lstat64): New macro.
29296 (is_dir): New function.
29297 (glob, glob_in_dir): Match symlinks even if they are dangling.
29298 (link_stat, link_exists_p): Remove. All uses removed.
29302 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29303 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
29308 * posix/Makefile (routines): Add globfree, globfree64, and
29310 * posix/flexmember.h: New file.
29311 * posix/glob_internal.h: Likewise.
29312 * posix/glob_pattern_p.c: Likewise.
29313 * posix/globfree.c: Likewise.
29314 * posix/globfree64.c: Likewise.
29315 * sysdeps/gnu/globfree64.c: Likewise.
29316 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29317 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29318 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
29319 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29320 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29321 * sysdeps/wordsize-64/globfree.c: Likewise.
29322 * sysdeps/wordsize-64/globfree64.c: Likewise.
29323 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
29324 [NDEBUG): Remove comments.
29325 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
29326 (dirent_type): New type. Use uint_fast8_t not
29327 uint8_t, as C99 does not require uint8_t.
29328 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
29329 (struct readdir_result): Use dirent_type. Do not define skip_entry
29330 unless it is needed; this saves a byte on platforms lacking d_ino.
29331 (readdir_result_type, readdir_result_skip_entry):
29332 New functions, replacing ...
29333 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
29334 these functions, which were removed. This makes the callers
29335 easier to read. All callers changed.
29336 (D_INO_TO_RESULT): Now empty if there is no d_ino.
29337 (size_add_wrapv, glob_use_alloca): New static functions.
29338 (glob, glob_in_dir): Check for size_t overflow in several places,
29339 and fix some size_t checks that were not quite right.
29340 Remove old code using SHELL since Bash no longer
29342 (glob, prefix_array): Separate MS code better.
29343 (glob_in_dir): Remove old Amiga and VMS code.
29344 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
29346 (glob_in_dir): Do not rely on undefined behavior in accessing
29347 struct members beyond their bounds. Use a flexible array member
29349 (link_stat): Rename from link_exists2_p and return -1/0 instead of
29350 0/1. Caller changed.
29351 (glob): Fix memory leaks.
29352 * posix/glob64 (globfree64): Move to separate file.
29353 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
29354 (globfree64): Remove hidden alias.
29355 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29357 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29359 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29361 Move compat code to separate file.
29362 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29365 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29367 * resolv/tst-resolv-qtypes.c (domain): Changed to
29368 "const char domain[] =".
29370 2017-09-07 Joseph Myers <joseph@codesourcery.com>
29372 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29375 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29376 (TCP_MD5SIG_EXT): Likewise.
29377 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29378 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29379 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29381 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29383 2017-09-07 Mike FABIAN <mfabian@redhat.com>
29385 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29387 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
29390 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29392 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29394 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29395 before assuming that the file is empty. Avoid testing buffer content
29398 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29401 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29403 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29405 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29407 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29409 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29411 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29413 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29416 2017-09-06 Florian Weimer <fweimer@redhat.com>
29418 * malloc/dynarray_emplace_enlarge.c
29419 (__libc_dynarray_emplace_enlarge): Add missing else.
29421 2017-09-06 Florian Weimer <fweimer@redhat.com>
29424 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29425 case of failure to obtain the global conf object.
29427 2017-09-06 Florian Weimer <fweimer@redhat.com>
29430 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29431 dynarray allocation failure.
29433 2017-09-06 Florian Weimer <fweimer@redhat.com>
29435 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29436 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29437 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29439 (response): Call them. Add 'p', '6' flag processing.
29440 (test_reverse): New function.
29441 (test_get2_any): Call it.
29442 (test_no_inet6): Add 'p' test.
29443 (test_inet6): Likewise.
29445 2017-09-06 Florian Weimer <fweimer@redhat.com>
29447 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29448 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29450 (test_gai): Adjust query names. Add additional tests.
29451 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29452 test_get2. Adjust query names. Add additional tests.
29453 (test_no_inet6): New function, extracted from threadfunc.
29454 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29455 Add additional tests.
29457 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29460 * localedata/unicode-gen/utf8_gen.py: Set the width for
29461 characters with Prepended_Concatenation_Mark property to 1
29462 * localedata/charmaps/UTF-8: Updated using the improved script.
29464 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29467 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29468 use the range notation for all ranges of neighbouring characters
29469 with the same width.
29471 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29473 * sysdeps/generic/math-type-macros-double.h: Include
29474 <math-svid-compat.h>.
29475 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29476 * sysdeps/generic/math-type-macros-float.h: Include
29477 <math-svid-compat.h>.
29478 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29479 * sysdeps/generic/math-type-macros-ldouble.h: Include
29480 <math-svid-compat.h>.
29481 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29482 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29484 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29485 * math/w_acosf_compat.c: Likewise.
29486 * math/w_acosh_compat.c: Likewise.
29487 * math/w_acoshf_compat.c: Likewise.
29488 * math/w_acoshl_compat.c: Likewise.
29489 * math/w_acosl_compat.c: Likewise.
29490 * math/w_asin_compat.c: Likewise.
29491 * math/w_asinf_compat.c: Likewise.
29492 * math/w_asinl_compat.c: Likewise.
29493 * math/w_atan2_compat.c: Likewise.
29494 * math/w_atan2f_compat.c: Likewise.
29495 * math/w_atan2l_compat.c: Likewise.
29496 * math/w_atanh_compat.c: Likewise.
29497 * math/w_atanhf_compat.c: Likewise.
29498 * math/w_atanhl_compat.c: Likewise.
29499 * math/w_cosh_compat.c: Likewise.
29500 * math/w_coshf_compat.c: Likewise.
29501 * math/w_coshl_compat.c: Likewise.
29502 * math/w_exp10_compat.c: Likewise.
29503 * math/w_exp10f_compat.c: Likewise.
29504 * math/w_exp10l_compat.c: Likewise.
29505 * math/w_exp2_compat.c: Likewise.
29506 * math/w_exp2f_compat.c: Likewise.
29507 * math/w_exp2l_compat.c: Likewise.
29508 * math/w_fmod_compat.c: Likewise.
29509 * math/w_fmodf_compat.c: Likewise.
29510 * math/w_fmodl_compat.c: Likewise.
29511 * math/w_hypot_compat.c: Likewise.
29512 * math/w_hypotf_compat.c: Likewise.
29513 * math/w_hypotl_compat.c: Likewise.
29514 * math/w_j0_compat.c: Likewise.
29515 * math/w_j0f_compat.c: Likewise.
29516 * math/w_j0l_compat.c: Likewise.
29517 * math/w_j1_compat.c: Likewise.
29518 * math/w_j1f_compat.c: Likewise.
29519 * math/w_j1l_compat.c: Likewise.
29520 * math/w_jn_compat.c: Likewise.
29521 * math/w_jnf_compat.c: Likewise.
29522 * math/w_jnl_compat.c: Likewise.
29523 * math/w_lgamma_r_compat.c: Likewise.
29524 * math/w_lgammaf_r_compat.c: Likewise.
29525 * math/w_lgammal_r_compat.c: Likewise.
29526 * math/w_log10_compat.c: Likewise.
29527 * math/w_log10f_compat.c: Likewise.
29528 * math/w_log10l_compat.c: Likewise.
29529 * math/w_log2_compat.c: Likewise.
29530 * math/w_log2f_compat.c: Likewise.
29531 * math/w_log2l_compat.c: Likewise.
29532 * math/w_log_compat.c: Likewise.
29533 * math/w_logf_compat.c: Likewise.
29534 * math/w_logl_compat.c: Likewise.
29535 * math/w_pow_compat.c: Likewise.
29536 * math/w_powf_compat.c: Likewise.
29537 * math/w_powl_compat.c: Likewise.
29538 * math/w_remainder_compat.c: Likewise.
29539 * math/w_remainderf_compat.c: Likewise.
29540 * math/w_remainderl_compat.c: Likewise.
29541 * math/w_sinh_compat.c: Likewise.
29542 * math/w_sinhf_compat.c: Likewise.
29543 * math/w_sinhl_compat.c: Likewise.
29544 * math/w_sqrt_compat.c: Likewise.
29545 * math/w_sqrtf_compat.c: Likewise.
29546 * math/w_sqrtl_compat.c: Likewise.
29547 * math/w_tgamma_compat.c: Likewise.
29548 * math/w_tgammaf_compat.c: Likewise.
29549 * math/w_tgammal_compat.c: Likewise.
29550 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29551 [LIBM_SVID_COMPAT].
29552 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29553 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29554 [LIBM_SVID_COMPAT].
29555 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29556 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29557 [LIBM_SVID_COMPAT].
29558 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29559 * sysdeps/i386/fpu/w_sqrt.c: New file.
29560 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29561 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29562 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29563 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29564 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29565 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29566 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29567 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29568 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29569 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29570 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29571 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29572 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29573 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29574 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29575 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29576 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29577 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29578 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29579 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29580 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29581 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29582 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29583 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29584 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29585 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29586 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29587 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29588 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29589 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29590 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29591 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29592 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29593 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29594 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29595 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29596 * sysdeps/ia64/fpu/w_log.c: Likewise.
29597 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29598 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29599 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29600 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29601 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29602 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29603 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29604 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29605 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29606 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29607 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29608 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29609 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29610 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29611 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29612 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29613 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29614 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29615 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29616 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29617 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29618 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29619 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29620 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29621 [LIBM_SVID_COMPAT].
29622 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29623 * sysdeps/ieee754/k_standard.c: Likewise.
29624 * sysdeps/ieee754/k_standardf.c: Likewise.
29625 * sysdeps/ieee754/k_standardl.c: Likewise.
29626 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29627 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29628 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29629 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29630 long_double_symbol call on [LIBM_SVID_COMPAT].
29631 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29632 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29633 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29634 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29635 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29636 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29637 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29638 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29639 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29640 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29641 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29642 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29643 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29644 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29645 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29646 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29647 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29648 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29649 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29650 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29651 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29652 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29654 2017-09-05 Steve Ellcey <sellcey@cavium.com>
29656 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29657 * malloc/tst-mallocstate.c: Convert from test-skeleton
29658 to test-driver. Ifdef code using TEST_COMPAT macro.
29659 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29660 * math/test-matherr.c: Likewise.
29662 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29665 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29666 comparing word with byte-swapped constant.
29668 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
29671 * locale/iso-639.def: add Miskito.
29672 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29673 * localedata/locales/miq_NI: New file.
29675 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29678 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29679 (__mkdir): Likewise.
29680 * io/chmod.c (__chmod): Add libc_hidden_def.
29681 * io/mkdir.c (__mkdir): Likewise.
29682 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29683 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29684 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29685 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29687 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29689 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29693 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29694 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29696 2017-09-04 Florian Weimer <fweimer@redhat.com>
29698 * math/math.h: Issue warning if log is defined.
29700 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29702 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29703 kernel version to 4.13.
29705 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29707 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
29708 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29710 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29711 just <bits/types.h>.
29712 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29713 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29714 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
29715 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
29716 * misc/preadv2.c: Include <errno.h>.
29717 * misc/preadv64v2.c: Include <errno.h>.
29718 * misc/pwritev2.c: Include <errno.h>.
29719 * misc/pwritev64v2.c: Include <errno.h>.
29720 * sysdeps/posix/preadv2.c: Include <errno.h>.
29721 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29722 Fix <unistd.h> inclusion.
29723 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29724 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
29725 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29726 __strtoul_internal): New functions.
29727 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29728 * sysdeps/posix/system.c: Include <sigsetops.h>.
29729 * sysdeps/mach/hurd/i386/Makefile
29730 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29731 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29732 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29733 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29734 __feraiseexcept_renamed to feraiseexcept instead of
29735 __GI_feraiseexcept.
29736 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
29737 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
29738 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29739 RWF_NOWAIT): Define to 0 if undefined already.
29740 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29742 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29743 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
29745 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29747 * manual/math.texi (pow10): Do not document.
29748 (pow10f): Likewise.
29749 (pow10l): Likewise.
29750 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29751 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29752 * math/libm-test-exp10.inc (pow10_test): Remove.
29753 (do_test): Do not call pow10.
29754 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29755 [NO_LONG_DOUBLE] (pow10l): Likewise.
29756 * math/w_exp10f_compat.c (pow10f): Likewise.
29757 * math/w_exp10l_compat.c (pow10l): Likewise.
29758 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29759 (pow10): Make into compat symbol.
29760 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29761 (pow10f): Make into compat symbol.
29762 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29763 (pow10l): Make into compat symbol.
29764 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29766 (CFLAGS-nldbl-pow10.c): Remove variable..
29767 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29768 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29769 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29770 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29771 Undefine and redefine.
29772 (pow10l): Make into compat symbol.
29773 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29774 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29775 * sysdeps/arm/libm-test-ulps: Likewise.
29776 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29777 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29778 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29779 * sysdeps/microblaze/libm-test-ulps: Likewise.
29780 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29781 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29782 * sysdeps/nios2/libm-test-ulps: Likewise.
29783 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29784 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29785 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29786 * sysdeps/sh/libm-test-ulps: Likewise.
29787 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29788 * sysdeps/tile/libm-test-ulps: Likewise.
29789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29791 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29793 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29795 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29797 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29798 "../ChangeLog.old/ChangeLog.8".
29799 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29800 "../ChangeLog.old/ChangeLog.14".
29802 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29804 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29807 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29809 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29811 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29813 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29814 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29816 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29818 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29819 32 atexit handlers.
29821 2017-09-01 Zack Weinberg <zackw@panix.com>
29823 * math/math.h (HUGE_VAL): Improve commentary.
29825 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29826 Andreas Schwab <schwab@suse.de>
29829 * include/stdio.h (__gen_tempfd): New function.
29830 * stdio-common/Makefile (routines): Add gentempfd.
29831 * stdio-common/gentempfd.c: New file.
29832 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29833 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29834 unnamed file first.
29836 2017-09-01 Florian Weimer <fweimer@redhat.com>
29840 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29841 result to determine success or failure, not the errno value.
29842 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29843 (tst-nss-files-hosts-erange): Link with -ldl.
29844 * nss/tst-nss-files-hosts-erange.c: New file.
29845 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29846 (do_test): Add NO_DATA tests.
29847 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29848 (do_test): Call it.
29850 2017-09-01 Florian Weimer <fweimer@redhat.com>
29853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29854 coming from gethostbyname2_r.
29856 2017-09-01 Florian Weimer <fweimer@redhat.com>
29858 * support/namespace.h (struct support_chroot_configuration): Add
29860 (struct support_chroot): Add path_hosts, path_host_conf.
29861 * support/support_chroot.c (write_file): New function.
29862 (support_chroot_create): Call it to process /etc/resolv.conf,
29863 /etc/hosts, /etc/host.conf.
29864 (support_chroot_free): Update.
29866 2017-09-01 Florian Weimer <fweimer@redhat.com>
29868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29869 status indicates it is set.
29871 2017-09-01 Florian Weimer <fweimer@redhat.com>
29874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29875 function lookup failures more reliable.
29877 2017-09-01 Florian Weimer <fweimer@redhat.com>
29879 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29880 (getcanonname): Likewise.
29881 (gaih_inet): Likewise.
29883 2017-09-01 Florian Weimer <fweimer@redhat.com>
29885 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29886 (getcanonname): Likewise.
29887 (gaih_inet): Likewise.
29889 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29890 Richard Henderson <rth@twiddle.net>
29892 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29893 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29894 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29895 (IREG_SIZE, OREG_SIZE): New macros.
29896 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29897 (IREG_SIZE, OREG_SIZE): New macros.
29898 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29899 (IREG_SIZE): New macro.
29900 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29901 (IREG_SIZE): New macro.
29902 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29904 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29905 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29906 (__CONCATX): Handle exceptions correctly on large values that may
29908 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29909 Initialize if not already set.
29910 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29912 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29914 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29915 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29917 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29919 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29921 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29923 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29925 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29927 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29929 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29930 (NO_CANCELLATION): Likewise.
29931 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29933 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29935 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29937 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29938 (NO_CANCELLATION): Likewise.
29939 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29940 (NO_CANCELLATION): Likewise.
29941 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29943 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29945 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29947 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29949 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29951 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29952 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29954 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29956 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29959 2017-08-31 Florian Weimer <fweimer@redhat.com>
29961 * include/libc-symbols.h (internal_function): Remove.
29963 2017-08-31 Florian Weimer <fweimer@redhat.com>
29965 * stdlib/fmtmsg.c (internal_addseverity): Remove
29968 2017-08-31 Florian Weimer <fweimer@redhat.com>
29970 * stdio-common/printf_fp.c (group_number): Remove
29972 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29974 2017-08-31 Florian Weimer <fweimer@redhat.com>
29976 * posix/fnmatch.c (internal_function): Remove definition.
29977 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29978 * posix/regcomp.c (peek_token, init_word_char)
29979 (duplicate_node_closure, fetch_token, peek_token)
29980 (peek_token_bracket, build_range_exp, build_collating_symbol):
29982 * posix/regex_internal.c (re_string_construct_common)
29983 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29984 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29985 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29986 (re_string_translate_buffer, re_string_reconstruct)
29987 (re_string_peek_byte_case, re_string_fetch_byte_case)
29988 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29989 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29990 (re_node_set_add_intersect, re_node_set_init_union)
29991 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29992 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29993 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29994 (re_acquire_state_context): Likewise.
29995 * posix/regex_internal.h (internal_function): Remove definition.
29996 (re_string_realloc_buffers, build_wcs_buffer)
29997 (build_wcs_upper_buffer, build_upper_buffer)
29998 (re_string_translate_buffer, re_string_context_at)
29999 (re_string_char_size_at, re_string_wchar_at)
30000 (re_string_elem_size_at): Likewise.
30001 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30002 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30003 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30004 (re_search_internal, re_search_2_stub, re_search_stub)
30005 (re_copy_regs, prune_impossible_nodes, check_matching)
30006 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30007 (free_fail_stack_return, sift_states_iter_mb)
30008 (sift_states_backward, build_sifted_states)
30009 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30010 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30011 (check_subexp_limits, sift_states_bkref, merge_state_array)
30012 (find_recover_state, transit_state, merge_state_with_log)
30013 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30014 (transit_state_mb, transit_state_bkref, get_subexp)
30015 (get_subexp_sub, find_subexp_node, check_arrival)
30016 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30017 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30018 (check_node_accept_bytes, find_collation_sequence_value)
30019 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30020 (acquire_init_state_context, check_halt_node_context)
30021 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30022 (sub_epsilon_src_nodes): Likewise.
30023 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30024 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30025 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30026 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30027 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30028 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30029 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30030 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30031 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30032 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30033 (PREADV): Likewise.
30034 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30035 (PREADV): Likewise.
30036 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30037 (PWRITEV): Likewise.
30038 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30039 (PWRITEV): Likewise.
30040 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30041 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30043 2017-08-31 Florian Weimer <fweimer@redhat.com>
30045 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30046 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30047 Remove internal_function.
30048 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30049 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30050 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30051 (__deallocate_stack, __libc_pthread_init)
30052 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30053 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30054 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30056 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30057 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30058 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30060 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30061 (__pthread_mutex_unlock_usercnt): Likewise.
30063 2017-08-31 Florian Weimer <fweimer@redhat.com>
30065 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30066 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30067 (fts_safe_changedir): Remove internal_function.
30068 * io/ftw.c (internal_function): Remove definition.
30069 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30071 2017-08-31 Florian Weimer <fweimer@redhat.com>
30073 * inet/deadline.c (__deadline_current_time)
30074 (__deadline_from_timeval, __deadline_to_ms): Remove
30076 * inet/getnameinfo.c (nrl_domainname): Likewise.
30077 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30078 * inet/inet6_option.c (add_pad): Likewise.
30079 * inet/net-internal.h (__deadline_current_time)
30080 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30081 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30082 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30083 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30085 2017-08-31 Joseph Myers <joseph@codesourcery.com>
30087 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30088 include <bits/nan.h>.
30089 * math/Makefile (headers): Remove bits/nan.h.
30090 * bits/nan.h: Remove.
30091 * sysdeps/ieee754/bits/nan.h: Likewise.
30092 * sysdeps/mips/bits/nan.h: Likewise.
30094 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30095 not include <bits/inf.h>.
30096 * math/Makefile (headers): Remove bits/inf.h.
30097 * bits/inf.h: Remove.
30098 * sysdeps/ieee754/bits/inf.h: Likewise.
30100 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30101 bits/huge_vall.h or bits/huge_val_flt128.h.
30102 (HUGE_VAL): Define directly here.
30103 [__USE_ISOC99] (HUGE_VALF): Likewise.
30104 [__USE_ISOC99] (HUGE_VALL): Likewise.
30105 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30106 (HUGE_VAL_F128): Likewise.
30107 * math/Makefile (headers): Remove bits/huge_val.h,
30108 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30109 * bits/huge_val.h: Remove.
30110 * bits/huge_val_flt128.h: Likewise.
30111 * bits/huge_valf.h: Likewise.
30112 * bits/huge_vall.h: Likewise.
30113 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30114 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30115 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30116 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30117 * sysdeps/sh/bits/huge_val.h: Likewise.
30118 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30119 * sysdeps/x86/bits/huge_vall.h: Likewise.
30121 2017-08-31 Florian Weimer <fweimer@redhat.com>
30123 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30125 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30127 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30128 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30129 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30130 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30131 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30132 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30133 * elf/dl-libc.c (dlerror_run): Likewise.
30134 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30135 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30136 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30137 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30139 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30140 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30141 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30142 * elf/dl-profile.c (_dl_start_profile): Likewise.
30143 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30144 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30146 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30147 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30148 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30149 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30150 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30151 (_dl_allocate_tls_storage): Likewise.
30152 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30153 (_dl_check_all_versions): Likewise.
30154 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30155 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30156 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30157 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30158 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30159 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30160 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30161 internal_function from __dl_start.
30162 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30163 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30164 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30165 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30166 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30167 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30168 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30169 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30170 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30171 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30172 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30173 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30174 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30175 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30176 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30178 (struct rtld_global_ro): Remove internal_function from the
30179 _dl_lookup_symbol_x member.
30180 (_dl_symbol_value): Remove. No longer defined anywhere.
30181 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30183 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30184 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30185 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30186 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30187 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30188 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30189 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30190 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30191 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30192 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30193 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30194 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30196 2017-08-31 Florian Weimer <fweimer@redhat.com>
30198 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30199 Remove internal_function.
30200 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30202 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30205 2017-08-31 Florian Weimer <fweimer@redhat.com>
30207 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30208 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30209 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30211 2017-08-31 Florian Weimer <fweimer@redhat.com>
30213 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30214 (__gai_enqueue_request): Remove internal_function.
30215 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30216 (__gai_remove_request, __gai_notify, __gai_notify_only)
30217 (__gai_sigqueue): Likewise.
30218 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30219 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30220 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30221 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30224 2017-08-31 Florian Weimer <fweimer@redhat.com>
30226 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30227 * include/dirent.h (__opendirat, __getdents, __getdents64)
30228 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30229 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30230 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30231 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30233 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
30235 2017-08-31 Florian Weimer <fweimer@redhat.com>
30237 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
30239 (GETCWD_RETURN_TYPE): Likewise.
30241 2017-08-31 Florian Weimer <fweimer@redhat.com>
30243 * include/time.h (__tz_compute, __strptime_internal): Remove
30245 * time/strptime_l.c (__strptime_internal): Likewise.
30246 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
30248 2017-08-31 Florian Weimer <fweimer@redhat.com>
30250 * iconv/gconv.c (__gconv): Remove internal_function.
30251 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30252 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30253 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30254 (__gconv_release_cache): Likewise.
30255 * iconv/gconv_close.c (__gconv_close): Likewise.
30256 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30257 (read_conf_file, __gconv_get_path): Likewise.
30258 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30259 (__gconv_release_step, gen_steps, increment_counter)
30260 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30261 (__gconv_close_transform, free_modules_db): Likewise.
30262 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30264 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30265 (__gconv_find_transform, __gconv_lookup_cache)
30266 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30267 (__gconv_close_transform, __gconv_release_cache)
30268 (__gconv_loaded_object, __gconv_release_shlib)
30269 (__gconv_compare_alias): Likewise.
30270 * iconv/gconv_open.c (__gconv_open): Likewise.
30271 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30272 * iconv/iconvconfig.c (add_module): Likewise.
30273 * intl/dcigettext.c (plural_lookup, guess_category_value)
30274 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30275 * intl/eval-plural.h (plural_eval): Likewise.
30276 * intl/finddomain.c (_nl_find_domain): Likewise.
30277 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30278 (_nl_load_domain, _nl_find_msg): Likewise.
30279 (internal_function): Remove definition.
30280 * intl/loadinfo.h (internal_function): Likewise.
30281 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30283 * intl/localealias.c (internal_function): Remove definition.
30284 (read_alias_file): Remove internal_function.
30285 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30286 * intl/plural-exp.h (internal_function): Remove definition.
30287 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30289 * intl/plural.c: Regenerate.
30290 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30291 * locale/coll-lookup.c (__collidx_table_lookup)
30292 (__collseq_table_lookup): Likewise.
30293 * locale/coll-lookup.h (__collidx_table_lookup)
30294 (__collseq_table_lookup): Likewise.
30295 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30296 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30297 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30298 (_nl_unload_locale): Likewise.
30299 * locale/localeinfo.h (struct __locale_data): Remove
30300 internal_function from cleanup member.
30301 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30302 (_nl_remove_locale, _nl_load_locale_from_archive)
30303 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30304 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30305 (_nl_cleanup_time): Remove internal_function.
30306 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
30307 (_nl_parse_alt_digit): Likewise.
30308 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30309 (_nl_select_era_entry): Likewise.
30310 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30311 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30312 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30313 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30314 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30316 2017-08-31 Florian Weimer <fweimer@redhat.com>
30318 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
30319 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30320 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
30321 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
30323 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
30324 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
30325 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
30326 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30328 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
30330 2017-08-31 Florian Weimer <fweimer@redhat.com>
30332 * misc/getttyent.c (skip, value): Remove internal_function.
30333 * misc/syslog.c (openlog_internal): Likewise.
30334 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
30336 2017-08-31 Florian Weimer <fweimer@redhat.com>
30338 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
30339 (__nss_rewrite_field): Remove internal_function.
30340 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30341 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30342 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30343 * nss/nsswitch.c (nss_parse_file, nss_getline)
30344 (nss_parse_service_list, nss_new_service): Likewise.
30345 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
30346 * nss/valid_field.c (__nss_valid_field): Likewise.
30347 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30349 2017-08-31 Florian Weimer <fweimer@redhat.com>
30351 * malloc/arena.c (__malloc_fork_lock_parent)
30352 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
30353 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
30354 internal_function from defintions.
30355 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30356 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30357 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30358 internal_function from declarations.
30359 * malloc/malloc.c (internal_function): Do not define.
30360 (mem2mem_check): Remove internal_function from declaration.
30361 (munmap_chunk, mremap_chunk): Remove internal_function.
30362 * malloc/mtrace.c (tr_where): Likewise.
30364 2017-08-31 Florian Weimer <fweimer@redhat.com>
30366 * include/rpc/pmap_clnt.h (__get_socket): Remove
30368 * sunrpc/auth_des.c (synchronize): Likewise.
30369 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30370 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30371 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30372 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30373 (key_call): Likewise.
30374 * sunrpc/pm_getport.c (__get_socket): Likewise.
30375 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30376 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30377 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30378 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30379 (invalidate): Likewise.
30380 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30381 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30382 (set_input_fragment, get_input_bytes): Likewise.
30384 2017-08-31 Florian Weimer <fweimer@redhat.com>
30386 * malloc/malloc.c (_int_free): Remove locked variable and related
30389 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30392 * Makerules (build-module-helper-objlist): Filter out
30393 $(elf-objpfx)sofini.os.
30394 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30397 2017-08-31 Florian Weimer <fweimer@redhat.com>
30399 * libio/fcloseall.c: Assume weak_alias is defined.
30400 * libio/feof.c: Likewise.
30401 * libio/fileno.c: Likewise.
30402 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30403 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30405 (_IO_file_open): Call __open directly.
30406 (_IO_new_file_sync): Assume ESPIPE is defined.
30407 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30408 (_IO_new_file_write): Call __write directly.
30409 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30410 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30411 * libio/genops.c: Assume _LIBC is defined.
30412 (save_for_backup): Remove internal_function.
30413 * libio/getc.c: Assume weak_alias is defined.
30414 * libio/getwc.c: Likewise.
30415 * libio/iofclose.c: Assume _LIBC is defined.
30416 * libio/iofdopen.c: Likewise.
30417 (_IO_fcntl): Remove macro definition.
30418 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30419 Call __fcntl directly.
30420 * libio/iofflush.c: Assume weak_alias is defined.
30421 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30423 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30424 * libio/iofgets.c: Likewise.
30425 * libio/iofopen.c: Assume _LIBC is defined.
30426 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30427 * libio/iofputs.c: Assume weak_alias is defined.
30428 * libio/iofread.c: Likewise.
30429 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30430 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30431 * libio/ioftell.c: Assume weak_alias is defined.
30432 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30433 * libio/iofwide.c: Assume _LIBC is defined.
30434 (_IO_fwide): Drop SHARED conditional because it is implied by
30436 * libio/iofwrite.c: Assume weak_alias is defined.
30437 * libio/iogetdelim.c: Likewise.
30438 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30439 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30440 (_IO_getwline): Call __wmemcpy directly.
30441 * libio/iopopen.c: Assume _LIBC is defined.
30442 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30443 (_IO_close): Remove macro definitions.
30444 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30446 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30448 * libio/ioputs.c: Assume weak_alias is defined.
30449 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30450 * libio/iosetbuffer.c: Assume weak_alias is defined.
30451 * libio/iosetvbuf.c: Likewise.
30452 * libio/ioungetc.c: Likewise.
30453 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30454 libc_hidden_def, libc_hidden_weak, NULL are defined.
30455 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30456 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30458 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30460 (_IO_old_file_init_internal): Drop SHARED conditional because it
30461 is implied by SHLIB_COMPAT.
30462 (_IO_old_file_fopen): Call __open directly.
30463 (_IO_old_file_sync): Assume ESPIPE is defined.
30464 (_IO_old_file_write): Call __write directly.
30465 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30466 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30467 Call __fcntl directly.
30468 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30469 (_IO_old_fgetpos): Assume EIO is defined.
30470 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30471 (_IO_old_fgetpos64): Assume EIO is defined.
30472 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30473 (_IO_old_fsetpos): Assume EIO is defined.
30474 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30475 (_IO_old_fsetpos64): Assume EIO is defined.
30476 * libio/oldiopopen.c: Assume _LIBC is defined.
30477 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30478 (_IO_close): Remove macro definitions.
30479 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30481 (_IO_old_proc_close): Call __close, __waitpid directly.
30482 * libio/put.c: Assume weak_alias is defined.
30483 * libio/stdfiles.c: Assume _LIBC is defined.
30484 * libio/stdio.c: Likewise.
30485 * libio/wfileops.c: Likewise.
30486 (_IO_wfile_sync): Assume ESPIPE is defined.
30487 * libio/wgenops.c: Assume _LIBC is defined.
30488 (save_for_wbackup): Remove internal_function.
30490 2017-08-31 Florian Weimer <fweimer@redhat.com>
30492 * malloc/malloc.c (top_check): Change return type to void. Remove
30494 * malloc/hooks.c (top_check): Likewise.
30495 (malloc_check, realloc_check, memalign_check): Adjust.
30497 2017-08-30 Joseph Myers <joseph@codesourcery.com>
30500 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30501 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30502 sigcontext and namespace requirements.
30503 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30504 * sysdeps/m68k/sys/ucontext.h: Likewise.
30505 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30506 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30507 <bits/sigcontext.h>.
30508 (__ctx): Define earlier.
30509 (mcontext_t): Define structure contents rather than using struct
30511 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30512 __glibc_reserved1 instead of __reserved.
30513 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30514 <bits/sigcontext.h>.
30515 (__ctx): Define earlier.
30516 (mcontext_t): Define structure contents rather than using struct
30518 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30519 mcontext_t instead of struct sigcontext.
30520 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30521 <bits/sigcontext.h>.
30522 (__ctx): Define earlier.
30523 (mcontext_t): Define structure contents rather than using struct
30525 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30526 <bits/sigcontext.h>.
30527 (__ctx): Define earlier.
30528 (mcontext_t): Define structure contents rather than using struct
30530 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30531 mcontext_t instead of struct sigcontext.
30532 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30533 mcontext_t instead of struct sigcontext.
30534 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30535 <bits/sigcontext.h>.
30536 (__ctx): New macro.
30537 (struct __ia64_fpreg_mcontext): New type.
30538 (mcontext_t): Define structure contents rather than using struct
30540 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30541 (uc_sigmask): Define using __ctx.
30542 (uc_stack): Likewise.
30543 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30544 <bits/sigcontext.h>.
30545 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30546 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30547 <bits/sigcontext.h>.
30548 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30549 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30550 <bits/sigcontext.h>.
30551 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30552 <bits/sigcontext.h>.
30553 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30554 <bits/sigcontext.h>.
30555 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30556 <bits/sigcontext.h>.
30557 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30558 <bits/sigcontext.h>.
30559 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30560 <bits/sigcontext.h>.
30561 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30562 <bits/sigcontext.h>.
30563 (__ctx): Define earlier.
30564 (mcontext_t): Define structure contents rather than using struct
30566 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30567 <bits/sigcontext.h>. Include <bits/types.h>.
30568 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30569 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30570 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30571 (test-xfail-UNIX98/signal.h/conform): Likewise.
30572 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30573 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30574 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30575 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30576 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30577 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30578 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30579 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30580 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30582 2017-08-30 Florian Weimer <fweimer@redhat.com>
30584 * malloc/dynarray_emplace_enlarge.c
30585 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30586 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30587 * malloc/tst-dynarray.c (test_long_overflow): New function.
30588 (do_test): Call it.
30590 2017-08-30 Florian Weimer <fweimer@redhat.com>
30592 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30593 (set_arena_corrupt): Remove definitions.
30594 (mtrim): Do not check for corrupt arena.
30595 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30598 2017-08-30 Florian Weimer <fweimer@redhat.com>
30601 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30603 (ptmalloc_init): Do not set or use check_action.
30604 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30605 call to malloc_printerr. Remove return statement.
30606 (free_check): Likewise. Remove arena unlock.
30607 (top_check): Update comment. Adjust call to malloc_printerr.
30608 Remove heap repair code.
30609 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30610 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30611 (sysmalloc): Adjust call to malloc_printerr.
30612 (munmap_chunk, __libc_realloc): Likewise. Remove return
30614 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30615 Remove errout label and corresponding gotos.
30616 (_int_free): Likewise. Remove arena unlock.
30617 (do_set_mallopt_check): Do not set check_action.
30618 (malloc_printerr): Adjust parameter list. Do not mark arena as
30620 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30622 * manual/probes.texi (Memory Allocation Probes): Remove
30623 memory_mallopt_check_action.
30625 2017-08-30 Steve Ellcey <sellcey@cavium.com>
30627 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30628 Use pointer to uint64_t instead of long int for sp.
30630 2017-08-30 Florian Weimer <fweimer@redhat.com>
30633 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30634 without printing a backtrace. Do not leak any information in the
30636 * manual/memory.texi (Heap Consistency Checking): Update.
30637 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30639 2017-08-30 Florian Weimer <fweimer@redhat.com>
30641 Do not scale NPTL tests with available number of CPUs.
30642 * nptl/tst-cond16.c (count): Set to constant value of 8.
30643 * nptl/tst-cond18.c (count): Likewise.
30645 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30648 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30649 Define to take a second argument that is a macro that
30650 concatentates a suffix, not the suffix itself.
30651 (__CONCAT_d): New macro.
30652 (__CONCAT_f): Likewise.
30653 (__CONCAT_l): Likewise.
30655 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30657 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30660 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30661 Aurelien Jarno <aurelien@aurel32.net>
30662 Maciej W. Rozycki <macro@imgtec.com>
30665 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30666 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30667 `mips16-syscall6' and `mips16-syscall7'.
30668 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30669 (CFLAGS-mips16-syscall7.c): Remove.
30670 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30671 Remove `__mips16_syscall5', `__mips16_syscall6' and
30672 `__mips16_syscall7'.
30673 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30674 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30675 `__mips_syscall_return'.
30676 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30677 (__mips16_syscall1): Likewise.
30678 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30679 (__mips16_syscall2): Likewise.
30680 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30681 (__mips16_syscall3): Likewise.
30682 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30683 (__mips16_syscall4): Likewise.
30684 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30686 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30688 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30690 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30691 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30692 `__mips16_syscall5'. Remove prototype.
30693 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30694 `__mips16_syscall6'. Remove prototype.
30695 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30696 `__mips16_syscall7'. Remove prototype.
30697 (__nomips16, __mips16_syscall_return): Move to...
30698 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30699 (__nomips16, __mips_syscall_return): ... here.
30700 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30701 `__mips16_syscall_return' to `__mips_syscall_return'.
30702 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30703 `internal_syscall##nr'.
30704 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30705 `internal_syscall##nr'.
30706 (FORCE_FRAME_POINTER): Remove.
30707 (__mips_syscall5): New prototype.
30708 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30709 (__mips_syscall6): New prototype.
30710 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30711 (__mips_syscall7): New prototype.
30712 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30713 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30714 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30715 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30716 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30717 (sysdep_routines): Add libc-do-syscall.
30718 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30719 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30721 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30724 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30725 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30726 (advise_stack_range): New function.
30727 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30728 stack non required to advise_stack_range at allocatestack.c
30730 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30732 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30734 2017-08-29 Florian Weimer <fweimer@redhat.com>
30737 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30738 __end_fct. Mangle __end_fct after setting it to NULL.
30739 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30740 (modules-names, modules-names-tests): Add
30741 tst-gconv-init-failure-mod.
30742 (gconv-modules): New target.
30743 (tst-gconv-init-failure-mod.so): Link against libsupport.
30744 (tst-gconv-init-failure): Depend on gconv-modules,
30745 tst-gconv-init-failure-mod.so.
30746 * iconv/tst-gconv-init-failure-mod.c: New file.
30747 * iconv/tst-gconv-init-failure.c: Likewise.
30748 * iconv/test-gconv-modules: Likewise.
30750 2017-08-29 Florian Weimer <fweimer@redhat.com>
30753 * iconv/gconv_db.c (free_derivation): Remove redundant
30755 (gen_steps): Unconditionally mangle __btowc_fct after
30757 (increment_counter): Likewise. Do not call init_fct for internal
30760 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30763 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30764 (_MSUF_): Remove macro.
30765 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30767 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30768 (__REDIRFROM_X): New macro.
30769 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30771 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30772 (__REDIRTO_X): Likewise.
30773 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30775 (__MATH_REDIRCALL_2): Likewise.
30776 (__MATH_REDIRCALL_INTERNAL): Likewise.
30777 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30778 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30779 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30780 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30781 * math/test-finite-macros.c: New file.
30782 * math/Makefile (tests): Add test-finite-macros.
30783 (CFLAGS-test-finite-macros.c): New variable.
30785 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
30786 Jeff Law <law@redhat.com>
30789 Mangle NULL pointers in iconv/gconv.
30790 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30791 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30792 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30793 is non-NULL before demangling the end_fct. Check for NULL
30794 end_fct after demangling.
30795 (__gconv_release_step): Demangle the end_fct before checking
30796 it for NULL. Remove assert on __shlibc_handle != NULL.
30797 (gen_steps): Don't check btowc_fct for NULL before mangling.
30798 Demangle init_fct before checking for NULL.
30799 (increment_counter): Likewise.
30800 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30801 end_fct for NULL before mangling.
30802 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30805 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
30808 * locale/iso-639.def: add Morisyen.
30810 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30813 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30814 (iszero): New C++ implementation that does not use
30815 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30816 signaling nans are enabled, since __builtin_types_compatible_p
30817 is a C-only feature.
30818 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30819 defined, include ieee754_float128.h for access to the union and
30820 member ieee854_float128.ieee.
30821 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30822 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30823 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30824 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30825 options of test-math-zero on powerpc64le.
30827 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30829 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30830 Change double to float.
30832 2017-08-28 Joseph Myers <joseph@codesourcery.com>
30834 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30836 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30837 conditional code; define contents only for [LIBM_SVID_COMPAT].
30839 2017-08-28 Florian Weimer <fweimer@redhat.com>
30841 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30842 (abi-lp64_be-options): Remove.
30843 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30844 (abi-hard-options): Likewise.
30845 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30846 (abi-o32_hard-options, abi-o32_soft_2008-options)
30847 (abi-o32_hard_2008-options, abi-n32_soft-options)
30848 (abi-n32_hard-options, abi-n32_soft_2008-options)
30849 (abi-n32_hard_2008-options, abi-n64_soft-options)
30850 (abi-n64_hard-options, abi-n64_soft_2008-options)
30851 (abi-n64_hard_2008-options): Likewise.
30852 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30853 (abi-64-v1-options, abi-64-v2-options): Likewise.
30854 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30855 (abi-64-options): Likewise.
30856 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30857 (abi-64-options): Likewise.
30858 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30859 (abi-64-options): Likewise.
30860 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30861 (abi-64-options, abi-x32-options): Likewise.
30863 2017-08-28 Florian Weimer <fweimer@redhat.com>
30865 Store supported list of SYS_* system calls in the source tree.
30866 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30867 (bits/syscall.h): Generate from list file.
30868 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30869 [$(subdir) = misc] (tests): Add tst-syscall-list.
30870 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30871 [$(subdir) = misc] (tst-syscall-list-macros.list)
30872 [$(subdir) = misc] (tst-syscall-list-nr.list)
30873 (tst-syscall-list-sys.list): Helper targets for new
30874 tst-syscall-list test.
30875 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30876 tst-syscall-list.sh.
30877 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30878 target. Do not include bits/syscall.d.
30879 [$(subdir) = misc] (generated): Do not update.
30880 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30881 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30882 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30883 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30885 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30887 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30888 (tst-cxa_atexit, tst-on_exit): Likewise.
30889 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30890 tst-cxa_atexit, and tst-on_exit.
30891 * stdlib/tst-atexit-common.c: New file.
30892 * stdlib/tst-atexit.c: New file.
30893 * stdlib/tst-at_quick_exit.c: New file.
30894 * stdlib/tst-cxa_atexit.c: New file.
30895 * stdlib/tst-on_exit.c: New file.
30897 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30899 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30900 * mach/stack_chk_fail_local.c: New file.
30901 * hurd/stack_chk_fail_local.c: New file.
30902 * mach/Machrules ($(interface-library)-routines): Add
30903 stack_chk_fail_local.
30904 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30905 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30906 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30907 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30908 * hurd/Makefile (CFLAGS-hurdstartup.o,
30909 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30911 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30913 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30914 (index_cpu_*, index_arch_*): Removed.
30916 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30918 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30919 Use uint64_t instead of unsigned long.
30921 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30923 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30924 [__HAVE_DISTINCT_FLOAT128].
30926 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30927 of <bits/math-finite.h>.
30928 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30929 inclusion of <bits/math-finite.h>.
30930 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30931 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30932 __NO_LONG_DOUBLE_MATH].
30933 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30934 (__MATH_REDIRCALL_2): Likewise.
30935 (__MATH_REDIRCALL_INTERNAL): Likewise.
30936 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30937 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30938 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30952 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30953 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30954 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30955 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30957 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30958 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30959 w_sqrtf_compat-ppc32.
30961 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30963 * math/math.h [defined __cplusplus] (issignaling): In the long
30964 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30965 is not defined. Call __issignaling, otherwise.
30967 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30969 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30970 syscall definitions and replace __builtin_expect with __glibc_likely.
30971 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30973 (SYSCALL_CANCELLABLE): Removedefinition
30974 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30976 (PSEUDO_END): Likewise.
30977 [IS_IN (libpthread)] (CENABLE): Likewise.
30978 [IS_IN (libpthread)] (CDISABLE): Likewise.
30979 [IS_IN (libc)] (CENABLE): Likewise.
30980 [IS_IN (libc)] (CENABLE): Likewise.
30981 [IS_IN (librt)] (CDISABLE): Likewise.
30982 [IS_IN (librt)] (CDISABLE): Likewise.
30983 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30984 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30986 (PSEUDO_END): Likewise.
30987 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30988 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30989 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30990 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30991 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30992 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30993 (CENABLE): Likewise.
30994 (CDISABLE): Likewise.
30995 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30996 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30998 (PSEUDO_END): Likewise.
30999 [IS_IN (libpthread)] (CENABLE): Likewise.
31000 [IS_IN (libpthread)] (CDISABLE): Likewise.
31001 [IS_IN (libc)] (CENABLE): Likewise.
31002 [IS_IN (libc)] (CENABLE): Likewise.
31003 [IS_IN (librt)] (CDISABLE): Likewise.
31004 [IS_IN (librt)] (CDISABLE): Likewise.
31005 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31006 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31008 (PSEUDO_END): Likewise.
31009 [IS_IN (libpthread)] (CENABLE): Likewise.
31010 [IS_IN (libpthread)] (CDISABLE): Likewise.
31011 [IS_IN (libc)] (CENABLE): Likewise.
31012 [IS_IN (libc)] (CENABLE): Likewise.
31013 [IS_IN (librt)] (CDISABLE): Likewise.
31014 [IS_IN (librt)] (CDISABLE): Likewise.
31015 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31016 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31018 (PSEUDO_END): Likewise.
31019 [IS_IN (libpthread)] (CENABLE): Likewise.
31020 [IS_IN (libpthread)] (CDISABLE): Likewise.
31021 [IS_IN (libc)] (CENABLE): Likewise.
31022 [IS_IN (libc)] (CENABLE): Likewise.
31023 [IS_IN (librt)] (CDISABLE): Likewise.
31024 [IS_IN (librt)] (CDISABLE): Likewise.
31025 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31026 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31028 (PSEUDO_END): Likewise.
31029 [IS_IN (libpthread)] (CENABLE): Likewise.
31030 [IS_IN (libpthread)] (CDISABLE): Likewise.
31031 [IS_IN (libc)] (CENABLE): Likewise.
31032 [IS_IN (libc)] (CENABLE): Likewise.
31033 [IS_IN (librt)] (CDISABLE): Likewise.
31034 [IS_IN (librt)] (CDISABLE): Likewise.
31035 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31036 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31038 (PSEUDO_END): Likewise.
31039 [IS_IN (libpthread)] (CENABLE): Likewise.
31040 [IS_IN (libpthread)] (CDISABLE): Likewise.
31041 [IS_IN (libc)] (CENABLE): Likewise.
31042 [IS_IN (libc)] (CENABLE): Likewise.
31043 [IS_IN (librt)] (CDISABLE): Likewise.
31044 [IS_IN (librt)] (CDISABLE): Likewise.
31045 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31046 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31048 (PSEUDO_END): Likewise.
31049 [IS_IN (libpthread)] (CENABLE): Likewise.
31050 [IS_IN (libpthread)] (CDISABLE): Likewise.
31051 [IS_IN (libc)] (CENABLE): Likewise.
31052 [IS_IN (libc)] (CENABLE): Likewise.
31053 [IS_IN (librt)] (CDISABLE): Likewise.
31054 [IS_IN (librt)] (CDISABLE): Likewise.
31055 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31056 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31058 (PSEUDO_END): Likewise.
31059 [IS_IN (libpthread)] (CENABLE): Likewise.
31060 [IS_IN (libpthread)] (CDISABLE): Likewise.
31061 [IS_IN (libc)] (CENABLE): Likewise.
31062 [IS_IN (libc)] (CENABLE): Likewise.
31063 [IS_IN (librt)] (CDISABLE): Likewise.
31064 [IS_IN (librt)] (CDISABLE): Likewise.
31065 (SINGLE_THREAD_P): Likewise.
31066 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31068 (PSEUDO_END): Likewise.
31069 [IS_IN (libpthread)] (CENABLE): Likewise.
31070 [IS_IN (libpthread)] (CDISABLE): Likewise.
31071 [IS_IN (libc)] (CENABLE): Likewise.
31072 [IS_IN (libc)] (CENABLE): Likewise.
31073 [IS_IN (librt)] (CDISABLE): Likewise.
31074 [IS_IN (librt)] (CDISABLE): Likewise.
31075 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31076 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31078 (PSEUDO_END): Likewise.
31079 [IS_IN (libpthread)] (CENABLE): Likewise.
31080 [IS_IN (libpthread)] (CDISABLE): Likewise.
31081 [IS_IN (libc)] (CENABLE): Likewise.
31082 [IS_IN (libc)] (CENABLE): Likewise.
31083 [IS_IN (librt)] (CDISABLE): Likewise.
31084 [IS_IN (librt)] (CDISABLE): Likewise.
31085 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31086 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31087 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31088 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31089 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31091 (PSEUDO_END): Likewise.
31092 [IS_IN (libpthread)] (CENABLE): Likewise.
31093 [IS_IN (libpthread)] (CDISABLE): Likewise.
31094 [IS_IN (libc)] (CENABLE): Likewise.
31095 [IS_IN (libc)] (CENABLE): Likewise.
31096 [IS_IN (librt)] (CDISABLE): Likewise.
31097 [IS_IN (librt)] (CDISABLE): Likewise.
31098 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31099 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31101 (PSEUDO_END): Likewise.
31102 [IS_IN (libpthread)] (CENABLE): Likewise.
31103 [IS_IN (libpthread)] (CDISABLE): Likewise.
31104 [IS_IN (libc)] (CENABLE): Likewise.
31105 [IS_IN (libc)] (CENABLE): Likewise.
31106 [IS_IN (librt)] (CDISABLE): Likewise.
31107 [IS_IN (librt)] (CDISABLE): Likewise.
31108 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31109 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31111 (PSEUDO_END): Likewise.
31112 [IS_IN (libpthread)] (CENABLE): Likewise.
31113 [IS_IN (libpthread)] (CDISABLE): Likewise.
31114 [IS_IN (libc)] (CENABLE): Likewise.
31115 [IS_IN (libc)] (CENABLE): Likewise.
31116 [IS_IN (librt)] (CDISABLE): Likewise.
31117 [IS_IN (librt)] (CDISABLE): Likewise.
31118 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31119 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31120 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31121 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31122 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31124 (PSEUDO_END): Likewise.
31125 [IS_IN (libpthread)] (CENABLE): Likewise.
31126 [IS_IN (libpthread)] (CDISABLE): Likewise.
31127 [IS_IN (libc)] (CENABLE): Likewise.
31128 [IS_IN (libc)] (CENABLE): Likewise.
31129 [IS_IN (librt)] (CDISABLE): Likewise.
31130 [IS_IN (librt)] (CDISABLE): Likewise.
31131 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31132 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31134 (PSEUDO_END): Likewise.
31135 [IS_IN (libpthread)] (CENABLE): Likewise.
31136 [IS_IN (libpthread)] (CDISABLE): Likewise.
31137 [IS_IN (libc)] (CENABLE): Likewise.
31138 [IS_IN (libc)] (CENABLE): Likewise.
31139 [IS_IN (librt)] (CDISABLE): Likewise.
31140 [IS_IN (librt)] (CDISABLE): Likewise.
31141 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31143 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31145 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31147 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31149 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31151 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31154 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31155 middle and outer with size_t instead of int. Repleace %d and
31156 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31157 "MAX (outer, nchars - 64)" to support unsigned outer and
31158 nchars. Also exit loop when outer == 0.
31160 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31162 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31163 * include/signal.h (__sigsuspend_nocancel): Likewise.
31164 * include/time.h (__nanosleep_nocancel): Likewise.
31165 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31166 * login/utmp_file.c: Include non cancellable syscall header.
31167 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31170 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31172 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31173 .byte sequences with AVX512F instructions.
31174 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31175 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31176 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31177 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31179 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31182 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31183 Steve Ellcey <sellcey@cavium.com>
31185 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31186 Use PTR_REG macro in cmp instruction.
31188 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31190 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31191 Change the return type of the ifunc resolver to match the return
31192 type of the target function.
31194 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31196 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31197 (preadv64): Likewise.
31198 (pwrite64(: Likewise.
31199 (pwritev64): Likewise.
31201 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31202 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31203 (LOAD_ARGS_0): Likewise.
31204 (LOAD_ARGS_1): Likewise.
31205 (LOAD_ARGS_2): Likewise.
31206 (LOAD_ARGS_3): Likewise.
31207 (LOAD_ARGS_4): Likewise.
31208 (LOAD_ARGS_5): Likewise.
31209 (LOAD_ARGS_6): Likewise.
31210 (LOAD_REGS_0): Likewise.
31211 (LOAD_REGS_1): Likewise.
31212 (LOAD_REGS_2): Likewise.
31213 (LOAD_REGS_3): Likewise.
31214 (LOAD_REGS_4): Likewise.
31215 (LOAD_REGS_5): Likewise.
31216 (LOAD_REGS_6): Likewise.
31217 (ASM_ARGS_0): Likewise.
31218 (ASM_ARGS_1): Likewise.
31219 (ASM_ARGS_2): Likewise.
31220 (ASM_ARGS_3): Likewise.
31221 (ASM_ARGS_4): Likewise.
31222 (ASM_ARGS_5): Likewise.
31223 (ASM_ARGS_6): Likewise.
31224 (LOAD_ARGS_TYPES_1): Likewise.
31225 (LOAD_ARGS_TYPES_2): Likewise.
31226 (LOAD_ARGS_TYPES_3): Likewise.
31227 (LOAD_ARGS_TYPES_4): Likewise.
31228 (LOAD_ARGS_TYPES_5): Likewise.
31229 (LOAD_ARGS_TYPES_6): Likewise.
31230 (LOAD_REGS_TYPES_1): Likewise.
31231 (LOAD_REGS_TYPES_2): Likewise.
31232 (LOAD_REGS_TYPES_3): Likewise.
31233 (LOAD_REGS_TYPES_4): Likewise.
31234 (LOAD_REGS_TYPES_5): Likewise.
31235 (LOAD_REGS_TYPES_6): Likewise.
31236 (TYPEFY): New define.
31237 (ARGIFY): Likewise.
31238 (internal_syscall0): Likewise.
31239 (internal_syscall1): Likewise.
31240 (internal_syscall2): Likewise.
31241 (internal_syscall3): Likewise.
31242 (internal_syscall4): Likewise.
31243 (internal_syscall5): Likewise.
31244 (internal_syscall6): Likewise.
31245 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
31246 (INTERNAL_SYSCALL_NCS): Remove define.
31247 (internal_syscall1): Add define.
31249 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31251 * math/w_remainder_compat.c: Remove duplicate inclusion of
31252 math-svid-compat.h.
31253 * math/w_remainderf_compat.c: Likewise.
31254 * math/w_remainderl_compat.c: Likewise.
31256 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31260 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31263 * math/tgmath.h (__floating_type): Simplify definitions.
31264 (__real_integer_type): New macro.
31265 (__complex_integer_type): Likewise.
31266 (__expr_is_real): Likewise.
31267 (__tgmath_real_type_sub): Update comment to describe handling of
31269 (__tgmath_complex_type_sub): New macro.
31270 (__tgmath_complex_type): Likewise.
31271 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31272 (__TGMATH_CF128): Use __expr_is_real.
31273 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31275 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31276 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31277 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31280 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31282 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31284 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31286 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31289 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31290 nanosleep_not_cancel with __nanosleep_nocancel.
31291 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31292 (__nanosleep_nocancel): New macro.
31293 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31295 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31297 (__nanosleep_nocancel): New prototype.
31299 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31300 pause_not_cancel with __pause_nocancel.
31301 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31302 (__pause_nocancel): New macro.
31303 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31305 (__pause_nocancel): New prototype.
31306 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
31308 2017-08-22 Martin Sebor <msebor@redhat.com>
31310 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31311 to return a pointer to the same type as the target function.
31313 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31317 * include/printf.h (__printf_fphex): Add attribute_hidden.
31318 (__guess_grouping): New prototype.
31319 * stdio-common/printf_fp.c (__guess_grouping): Removed.
31320 * stdio-common/reg-printf.c (__register_printf_specifier): Add
31321 libc_hidden_proto and libc_hidden_def.
31322 * stdlib/strfmon_l.c (__guess_grouping): Removed.
31323 (__vstrfmon_l): Remove the third argument passed to
31326 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31328 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
31329 definition for issignaling that does not rely on __MATH_TG,
31330 since __MATH_TG uses __builtin_types_compatible_p, which is only
31331 available in C mode.
31332 (CFLAGS-test-math-issignaling.cc): New variable.
31333 * math/Makefile [CXX] (tests): Add test-math-issignaling.
31334 * math/test-math-issignaling.cc: New test for C++ implementation
31335 of type-generic issignaling.
31336 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31337 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
31338 options of test-math-issignaling on powerpc64le.
31340 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31342 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31344 (hidden_proto): Likewise.
31345 (hidden_tls_proto): Likewise.
31346 (__hidden_proto): Likewise.
31348 2017-08-22 Florian Weimer <fweimer@redhat.com>
31350 math: Statically link tests of internal functionality.
31351 * math/Makefile (tests): Remove atest-exp, atest-sincos,
31353 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
31354 (gmp-objs): Remove assignment.
31355 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31357 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31360 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31362 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31364 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31367 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31368 variable definitions above inclusion of ../Rules.
31370 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31372 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31373 case calling __builtin_unreachable.
31375 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31377 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31378 __waitpid_nocancel.
31379 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31380 (__waitpid_nocancel): New macro.
31381 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31383 (__waitpid_nocancel): Replace macro with a function.
31384 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31387 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31389 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31390 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31392 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31393 __writev_nocancel_nostatus.
31394 (write_call_graph): Likewise.
31395 (write_bb_counts): Likewise.
31396 * resolv/herror.c (herror): Likewise.
31397 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31399 (__writev_nocancel_nostatus): New macro.
31400 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31402 (__writev_nocancel_nostatus): New function.
31404 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31407 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31409 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31411 (hidden_proto): Likewise.
31412 (hidden_tls_proto): Likewise.
31413 (__hidden_proto): Likewise.
31416 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31417 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31426 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31427 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31428 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31429 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31430 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31431 GLIBC_2.0 sqrtl symbol.
31433 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31434 [__USE_MISC] (_LIB_VERSION): Likewise.
31435 [__USE_MISC] (struct exception): Likewise.
31436 [__USE_MISC] (matherr): Likewise.
31437 [__USE_MISC] (DOMAIN): Likewise.
31438 [__USE_MISC] (SING): Likewise.
31439 [__USE_MISC] (OVERFLOW): Likewise.
31440 [__USE_MISC] (UNDERFLOW): Likewise.
31441 [__USE_MISC] (TLOSS): Likewise.
31442 [__USE_MISC] (PLOSS): Likewise.
31443 [__USE_MISC] (HUGE): Likewise.
31444 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31445 * math/math-svid-compat.h: New file.
31446 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31448 * include/math.h [!_ISOMAC] (__matherr): Remove.
31449 * manual/arith.texi (FP Exceptions): Do not document matherr.
31450 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31451 (tests-internal): New variable.
31452 (install-lib): Do not add libieee.a.
31453 (non-lib.a): Likewise.
31454 (extra-objs): Do not add libieee.a and ieee-math.o.
31455 (CPPFLAGS-s_lib_version.c): Remove variable.
31456 ($(objpfx)libieee.a): Remove rule.
31457 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31458 * math/ieee-math.c: Remove.
31459 * math/libm-test-support.c (matherr): Remove.
31460 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31461 and license notices. Include <math-svid-compat.h> and
31463 (matherr): Undefine as macro. Use compat_symbol_reference.
31464 (_LIB_VERSION): Likewise.
31465 * math/test-matherr-2.c: New file.
31466 * math/test-matherr-3.c: Likewise.
31467 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31469 (__kernel_standard_f): Likewise.
31470 (__kernel_standard_l): Likewise.
31471 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31472 <math_private.h>. Include <math-svid-compat.h>.
31473 (_LIB_VERSION): Undefine as macro.
31474 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31475 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31476 [LIBM_SVID_COMPAT], use compat_symbol.
31477 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31478 <math_private.h>. Include <math-svid-compat.h>.
31479 (matherr): Undefine as macro.
31480 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31482 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31483 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31484 compat_symbol_reference.
31485 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31486 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31487 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31488 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31489 (MATHERR_D): Remove declaration.
31490 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31491 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31492 [LIBM_BUILD] (pmatherrf): Likewise.
31493 [LIBM_BUILD] (pmatherr): Likewise.
31494 [LIBM_BUILD] (pmatherrl): Likewise.
31495 (DOMAIN): Likewise.
31497 (OVERFLOW): Likewise.
31498 (UNDERFLOW): Likewise.
31501 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31502 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31504 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31505 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31507 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31508 * math/w_acos_compat.c: Likewise.
31509 * math/w_acosf_compat.c: Likewise.
31510 * math/w_acosh_compat.c: Likewise.
31511 * math/w_acoshf_compat.c: Likewise.
31512 * math/w_acoshl_compat.c: Likewise.
31513 * math/w_acosl_compat.c: Likewise.
31514 * math/w_asin_compat.c: Likewise.
31515 * math/w_asinf_compat.c: Likewise.
31516 * math/w_asinl_compat.c: Likewise.
31517 * math/w_atan2_compat.c: Likewise.
31518 * math/w_atan2f_compat.c: Likewise.
31519 * math/w_atan2l_compat.c: Likewise.
31520 * math/w_atanh_compat.c: Likewise.
31521 * math/w_atanhf_compat.c: Likewise.
31522 * math/w_atanhl_compat.c: Likewise.
31523 * math/w_cosh_compat.c: Likewise.
31524 * math/w_coshf_compat.c: Likewise.
31525 * math/w_coshl_compat.c: Likewise.
31526 * math/w_exp10_compat.c: Likewise.
31527 * math/w_exp10f_compat.c: Likewise.
31528 * math/w_exp10l_compat.c: Likewise.
31529 * math/w_exp2_compat.c: Likewise.
31530 * math/w_exp2f_compat.c: Likewise.
31531 * math/w_exp2l_compat.c: Likewise.
31532 * math/w_fmod_compat.c: Likewise.
31533 * math/w_fmodf_compat.c: Likewise.
31534 * math/w_fmodl_compat.c: Likewise.
31535 * math/w_hypot_compat.c: Likewise.
31536 * math/w_hypotf_compat.c: Likewise.
31537 * math/w_hypotl_compat.c: Likewise.
31538 * math/w_j0_compat.c: Likewise.
31539 * math/w_j0f_compat.c: Likewise.
31540 * math/w_j0l_compat.c: Likewise.
31541 * math/w_j1_compat.c: Likewise.
31542 * math/w_j1f_compat.c: Likewise.
31543 * math/w_j1l_compat.c: Likewise.
31544 * math/w_jn_compat.c: Likewise.
31545 * math/w_jnf_compat.c: Likewise.
31546 * math/w_jnl_compat.c: Likewise.
31547 * math/w_lgamma_main.c: Likewise.
31548 * math/w_lgamma_r_compat.c: Likewise.
31549 * math/w_lgammaf_main.c: Likewise.
31550 * math/w_lgammaf_r_compat.c: Likewise.
31551 * math/w_lgammal_main.c: Likewise.
31552 * math/w_lgammal_r_compat.c: Likewise.
31553 * math/w_log10_compat.c: Likewise.
31554 * math/w_log10f_compat.c: Likewise.
31555 * math/w_log10l_compat.c: Likewise.
31556 * math/w_log2_compat.c: Likewise.
31557 * math/w_log2f_compat.c: Likewise.
31558 * math/w_log2l_compat.c: Likewise.
31559 * math/w_log_compat.c: Likewise.
31560 * math/w_logf_compat.c: Likewise.
31561 * math/w_logl_compat.c: Likewise.
31562 * math/w_pow_compat.c: Likewise.
31563 * math/w_powf_compat.c: Likewise.
31564 * math/w_powl_compat.c: Likewise.
31565 * math/w_remainder_compat.c: Likewise.
31566 * math/w_remainderf_compat.c: Likewise.
31567 * math/w_remainderl_compat.c: Likewise.
31568 * math/w_scalb_compat.c: Likewise.
31569 * math/w_scalbf_compat.c: Likewise.
31570 * math/w_scalbl_compat.c: Likewise.
31571 * math/w_sinh_compat.c: Likewise.
31572 * math/w_sinhf_compat.c: Likewise.
31573 * math/w_sinhl_compat.c: Likewise.
31574 * math/w_sqrt_compat.c: Likewise.
31575 * math/w_sqrtf_compat.c: Likewise.
31576 * math/w_sqrtl_compat.c: Likewise.
31577 * math/w_tgamma_compat.c: Likewise.
31578 * math/w_tgammaf_compat.c: Likewise.
31579 * math/w_tgammal_compat.c: Likewise.
31580 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31581 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31582 * sysdeps/ieee754/k_standard.c: Likewise.
31583 * sysdeps/ieee754/k_standardf.c: Likewise.
31584 * sysdeps/ieee754/k_standardl.c: Likewise.
31585 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31586 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31587 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31588 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31589 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31590 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31591 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31592 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31593 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31598 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31599 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31600 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31601 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31603 2017-08-21 Florian Weimer <fweimer@redhat.com>
31606 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31607 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31608 Move before inclusion of ../Rules.
31610 2017-08-21 Florian Weimer <fweimer@redhat.com>
31613 * assert/assert.h (assert): Use static_cast (bool) for C++.
31614 Use the ternary operator in the warning branch for GNU C.
31615 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31616 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31617 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31618 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31619 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31621 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31624 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31625 (__syscall_clock_gettime): Add attribute_hidden.
31626 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31627 (__start_context): Likewise.
31629 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31631 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31633 (hidden_proto): Likewise.
31634 (hidden_tls_proto): Likewise.
31635 (__hidden_proto): Likewise.
31637 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31639 * include/libc-symbols.h (attribute_hidden): Enable hidden
31640 visibility in libc.a compiled with PIE.
31642 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31645 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31646 Add attribute_hidden.
31648 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31651 * Makerules (all-nonlib): Add $(others-extras).
31652 * catgets/Makefile (others-extras): New.
31653 * elf/Makefile (others-extras): Likewise.
31654 * nss/Makefile (others-extras): Likewise.
31656 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31659 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31660 * elf/dl-open.c: Include <libc-internal.h>.
31661 (__libc_multiple_libcs): Removed.
31662 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31664 * include/libc-internal.h (__libc_multiple_libcs): New.
31665 * misc/sbrk.c: Include <libc-internal.h>.
31666 (__libc_multiple_libcs): Removed.
31668 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31671 * grp/initgroups.c (__nss_group_database): Removed.
31672 (__nss_initgroups_database): Likewise.
31673 * nscd/gai.c (__nss_hosts_database): Likewise.
31674 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31675 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31676 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31677 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31678 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31679 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31681 * nss/nsswitch.c (__nss_database_custom): Define only if
31682 USE_NSCD is defined.
31683 (__nss_configure_lookup): Use __nss_database_custom only if
31684 USE_NSCD is defined.
31685 * nss/nsswitch.h (__nss_database_custom): Declare only if
31686 USE_NSCD is defined. Add attribute_hidden.
31687 (__nss_setent): Add attribute_hidden.
31688 (__nss_endent): Likewise.
31689 (__nss_getent_r): Likewise.
31690 (__nss_getent): Likewise.
31691 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31693 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31696 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31697 libc_hidden_proto and libc_hidden_def.
31699 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31702 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31703 Add libc_hidden_proto.
31704 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31705 Add libc_hidden_def.
31707 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31710 * gmon/Makefile (routines): Remove bb_init_func and
31712 (elide-routines.os): Removed.
31713 * gmon/bb_exit_func.c: Likewise.
31714 * gmon/bb_init_func.c: Likewise.
31715 * include/sys/gmon.h (__bb): Likewise.
31716 (__bb_init_func): Likewise.
31717 (__bb_exit_func): Likewise.
31718 * sysdeps/alpha/bb_init_func.S: Likewise.
31720 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31722 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31723 * include/setjmp.h (____longjmp_chk): Here. Add
31726 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31729 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31731 (__strspn_sse2): Likewise.
31733 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31735 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31736 (close_not_cancel_no_status): Likewise.
31737 (__close_nocancel): New macro.
31738 (__close_nocancel_nostatus): Likewise.
31739 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31741 (close_not_cancel): Likewise.
31742 (close_not_cancel_no_status): Likewise.
31743 (__close_nocancel): New prototype.
31744 (__close_nocancel_nostatus): New function.
31745 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31746 * catgets/open_catalog.c (__open_catalog): Replace
31747 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31748 * gmon/gmon.c (write_gmon): Likewise.
31749 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31750 * intl/loadmsgcat.c (close): Likewise.
31751 * io/ftw.c (open_dir_stream): Likewise.
31752 (ftw_startup): Likewise.
31753 * libio/fileops.c (_IO_file_open): Likewise.
31754 (_IO_file_close_mmap): Likewise.
31755 (_IO_file_close): Likewise.
31756 * libio/iopopen.c (_IO_dup2): Likewise.
31757 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31758 * locale/loadlocale.c (_nl_load_locale): Likewise.
31759 * login/utmp_file.c (pututline_file): Likewise.
31760 (endutent_file): Likewise.
31761 * misc/daemon.c (daemon): Likewise.
31762 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31763 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31764 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31765 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31766 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31767 * nscd/nscd_helper.c (open_socket): Likewise.
31768 (__nscd_open_socket): Likewise.
31769 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31770 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31771 (__nscd_innetgr): Likewise.
31772 * nss/nss_db/db-open.c (internal_setent): Likewise.
31773 * resolv/res-close.c (__res_iclose): Likewise.
31774 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31775 * sysdeps/posix/closedir.c (__closedir): Likewise.
31776 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31777 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31778 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31779 (opendir_tail): Likewise.
31780 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31781 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31782 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31783 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31784 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31785 (gethostid): Likewise.
31786 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31787 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31789 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31790 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31791 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31792 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31794 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31795 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31796 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31798 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31799 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31801 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31803 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31804 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31805 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31808 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31809 (openat_not_cancel_3): Likewise.
31810 (openat64_not_cancel_3): Likewise).
31811 (openat_not_cancel_3): Likewise).
31812 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31814 (openat_not_cancel_3): Likewise.
31815 (openat64_not_cancel): Likewise.
31816 (openat64_not_cancel_3): Likewise.
31817 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31818 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31819 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31820 __open{64}_nocancel.
31821 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31822 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31823 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31825 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31828 * include/argz.h (__argz_create_sep): New function prototype.
31829 (__argz_append): Likewise.
31830 (__argz_add): Likewise.
31831 (__argz_add_sep): Likewise.
31832 (__argz_delete): Likewise.
31833 (__argz_insert): Likewise.
31834 (__argz_replace): Likewise.
31835 * string/argz.h (__argz_create_sep): Removed.
31836 (__argz_append): Likewise.
31837 (__argz_add): Likewise.
31838 (__argz_add_sep): Likewise.
31839 (__argz_delete): Likewise.
31840 (__argz_insert): Likewise.
31841 (__argz_replace): Likewise.
31843 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31845 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31846 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31847 (GNU_PROPERTY_STACK_SIZE): Likewie.
31848 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31849 (GNU_PROPERTY_LOPROC): Likewise.
31850 (GNU_PROPERTY_HIPROC): Likewise.
31851 (GNU_PROPERTY_LOUSER): Likewise.
31852 (GNU_PROPERTY_HIUSER): Likewise.
31853 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31854 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31855 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31856 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31857 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31858 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31859 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31860 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31861 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31862 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31863 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31864 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31865 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31866 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31867 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31868 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31869 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31870 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31871 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31872 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31873 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31874 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31875 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31877 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31879 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31882 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31885 * math/math.h (isinf): Check if in C or C++ mode before using
31886 __builtin_types_compatible_p, since this is a C mode feature.
31888 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31890 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31891 (__write_nocancel): New macro.
31892 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31893 Rewrite as a function prototype.
31894 (write_not_cancel): Remove macro.
31895 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31896 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31897 (write_gmon): Likewise.
31898 * libio/fileops.c (_IO_new_file_write): Likewise.
31899 * login/utmp_file.c (pututline_file): Likewise.
31900 (updwtmp_file): Likewise.
31901 * stdio-common/psiginfo.c (psiginfo): Likewise.
31902 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31903 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31904 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31906 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31909 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31910 (__read_nocancel): New macro.
31911 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31913 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31915 (__read_nocancel): New prototype.
31916 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31917 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31918 with __read_nocancel.
31919 * intl/loadmsgcat.c (read): Likewise.
31920 * libio/fileops.c (_IO_file_read): Likewise.
31921 * locale/loadlocale.c (_nl_load_locale): Likewise.
31922 * login/utmp_file.c (getutent_r_file): Likewise.
31923 (internal_getut_r): Likewise.
31924 (getutline_r_file): Likewise.
31925 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31926 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31927 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31928 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31930 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31931 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31932 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31934 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31936 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31938 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31940 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31942 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31945 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31946 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31949 2017-08-17 DJ Delorie <dj@redhat.com>
31951 * bug17079.c: Update to new test harness.
31952 * test-digits-dots.c: Likewise.
31953 * test-netdb.c: Likewise.
31954 * tst-field.c: Likewise.
31955 * tst-nss-getpwent.c: Likewise.
31956 * tst-nss-static.c: Likewise.
31957 * tst-nss-test1.c: Likewise.
31958 * tst-nss-test2.c: Likewise.
31959 * tst-nss-test3.c: Likewise.
31960 * tst-nss-test4.c: Likewise.
31961 * tst-nss-test5.c: Likewise.
31963 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31965 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31966 (open_not_cancel_2): Likewise.
31967 (open_nocancel): New macro.
31968 (open64_nocancel): Likewise.
31969 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31970 (open_not_cancel_2): Likewise.
31971 (__open_nocancel): New prototype.
31972 (__open64_nocancel): Likewise.
31973 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31975 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31976 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31977 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31978 with __open_nocancel.
31979 * csu/check_fds.c (check_one_fd): Likewise.
31980 * gmon/gmon.c (write_gmon): Likewise.
31981 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31982 * intl/loadmsgcat.c (open): Likewise.
31983 * libio/fileops.c (_IO_file_open): Likewise.
31984 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31985 * locale/loadlocale.c (_nl_load_locale): Likewise.
31986 * login/utmp_file.c (setutent_file): Likewise.
31987 * misc/daemon.c (daemon): Likewise.
31988 * nss/nss_db/db-open.c (internal_setent): Likewise.
31989 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31990 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31991 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31992 (__opendir): Likewise.
31993 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31994 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31995 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31996 (gethostid): Likewise.
31997 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31998 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32000 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32001 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32002 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32003 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32005 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32007 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32009 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32011 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32013 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32015 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32016 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32018 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32020 * benchtests/bench-skeleton.c (main): Add support for
32021 latency benchmarking.
32022 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32024 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32026 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32027 the startup object.
32029 2017-08-17 Florian Weimer <fweimer@redhat.com>
32031 * include/sys/socket.h (__opensock): Remove internal_function.
32032 * socket/opensock.c (__opensock): Likewise.
32033 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32035 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32038 * signal/bits/types/__sigval_t.h: New file.
32039 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32040 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32041 and define sigval_t using __sigval_t.
32042 * include/bits/types/__sigval_t.h: New file.
32043 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32044 instead of <bits/types/__sigval_t.h>.
32045 (struct sigevent): Use __sigval_t instead of sigval_t.
32046 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32047 instead of <bits/types/__sigval_t.h>.
32048 (siginfo_t): Use __sigval_t instead of sigval_t.
32049 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32050 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32051 (struct sigevent): Use __sigval_t instead of sigval_t.
32052 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32053 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32054 (siginfo_t): Use __sigval_t instead of sigval_t.
32055 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32057 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32059 * NEWS: Remove "[Add new features here]" for 2.27.
32061 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32063 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32066 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32068 * NEWS: Mention x86-64 FMA optimization.
32070 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32073 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32075 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32076 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32077 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32079 2017-08-16 Andreas Schwab <schwab@suse.de>
32083 * elf/ldd.bash.in: Never run file directly.
32085 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32088 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32089 (L(SP_INF_0)): Likewise.
32091 2017-08-15 Florian Weimer <fweimer@redhat.com>
32093 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32096 2017-08-15 Florian Weimer <fweimer@redhat.com>
32098 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32099 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32100 BROKEN_THREAD_SIGNALS code.
32101 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32102 request_list): Remove caller_pid member used for
32103 BROKEN_THREAD_SIGNALS.
32104 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32105 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32106 Remove BROKEN_THREAD_SIGNALS support.
32107 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32108 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32110 2017-08-15 Florian Weimer <fweimer@redhat.com>
32112 * gmon/Makefile (tests): Add tst-gmon.
32113 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32115 (tests-special): Add tst-gmon-prof.out.
32116 (tst-gmon.out): Depend on clean-tst-gmon-data.
32117 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32118 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32119 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32121 * aclocal.m4 (GPROF): Set and substitute.
32122 * config.amke.in (GPROF): Set.
32123 * configure: Regenerate.
32125 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32127 * elf/elf.h A (NT_PPC_TAR): New macro.
32128 (NT_PPC_PPR): Likewise.
32129 (NT_PPC_DSCR): Likewise.
32130 (NT_PPC_EBB): Likewise.
32131 (NT_PPC_PMU): Likewise.
32132 (NT_PPC_TM_CGPR): Likewise.
32133 (NT_PPC_TM_CFPR): Likewise.
32134 (NT_PPC_TM_CVMX): Likewise.
32135 (NT_PPC_TM_CVSX): Likewise.
32136 (NT_PPC_TM_SPR): Likewise.
32137 (NT_PPC_TM_CTAR): Likewise.
32138 (NT_PPC_TM_CPPR): Likewise.
32139 (NT_PPC_TM_CDSCR): Likewise.
32141 2017-08-15 Florian Weimer <fweimer@redhat.com>
32143 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32144 regparm (2) instead of internal_function.
32145 (_MCOUNT_DECL): Adjust.
32147 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32149 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32150 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32152 2017-08-14 Joseph Myers <joseph@codesourcery.com>
32154 * conform/data/sys/wait.h-data (si_value): Do not expect for
32157 2017-08-14 Florian Weimer <fweimer@redhat.com>
32160 NSS: Create stubs for accidentally exported lookup functions.
32161 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32162 Remove declaration.
32163 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32164 (ether_hostton): Call __nss_ethers_lookup2 instead.
32165 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32166 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32167 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32168 (setup): Call __nss_netgroup_lookup2 instead.
32169 * nss/Makefile (routines): Add compat-lookup.
32170 * nss/Versions (GLIBC_2.27): Add symbol version.
32171 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32172 (DB_COMPAT_FCT): Remove.
32173 * nss/compat-lookup.c: New file.
32174 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32175 from databases.def.
32176 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32177 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32178 (netname2user): Call __nss_publickey_lookup2 instead.
32179 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32180 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32183 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32184 Sergei Trofimovich <slyfox@inbox.ru>
32187 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32188 Rename to MMAP2_PAGE_UNIT.
32189 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32190 __OFF_T_MATCHES_OFF64_T is not defined.
32191 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32193 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32194 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32196 2017-08-14 Florian Weimer <fweimer@redhat.com>
32198 i386: Do not set internal_function.
32199 * config.h.in (USE_REGPARMS, internal_function): Remove.
32200 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32201 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32203 2017-08-14 Florian Weimer <fweimer@redhat.com>
32205 * elf/dl-init.c (_dl_init): Remove internal_function.
32206 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32207 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32209 2017-08-14 Florian Weimer <fweimer@redhat.com>
32211 * elf/rtld.c (_dl_start): Remove internal_function.
32212 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32215 2017-08-14 Florian Weimer <fweimer@redhat.com>
32217 * elf/dl-fini.c (_dl_fini): Remove internal_function
32218 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32220 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32222 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
32223 (bit_cpu_SHSTK): Likewise.
32224 (index_cpu_IBT): Likewise.
32225 (index_cpu_SHSTK): Likewise.
32226 (reg_IBT): Likewise.
32227 (reg_SHSTK): Likewise.
32228 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32229 Handle index_cpu_IBT and index_cpu_SHSTK.
32231 2017-08-14 Mike FABIAN <mfabian@redhat.com>
32234 * po/fr.po: Fix spelling mistake.
32236 2017-08-13 Florian Weimer <fweimer@redhat.com>
32238 * elf/dl-addr.c (_dl_addr): Remove internal_function.
32239 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
32240 (_dl_catch_error, _dl_receive_error): Likewise.
32241 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
32242 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
32243 (_dl_deallocate_tls): Likewise.
32244 * include/dlfcn.h (_dl_addr): Likewise.
32245 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
32246 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
32247 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
32250 2017-08-13 Florian Weimer <fweimer@redhat.com>
32252 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32253 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32255 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32257 2017-08-13 Florian Weimer <fweimer@redhat.com>
32259 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32261 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32262 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32263 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32264 internal_function from _dl_make_stack_executable_hook member.
32265 (_dl_make_stack_executable): Remove internal_function.
32266 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32268 * sysdeps/unix/sysv/linux/dl-execstack.c
32269 (_dl_make_stack_executable): Likewise.
32271 2017-08-13 Florian Weimer <fweimer@redhat.com>
32273 * sysdeps/unix/sysv/linux/netlinkaccess.h
32274 (__netlink_assert_response): Remove internal_function.
32275 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32276 (__netlink_assert_response): Likewise.
32278 2017-08-13 Florian Weimer <fweimer@redhat.com>
32280 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32282 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32284 2017-08-13 Florian Weimer <fweimer@redhat.com>
32286 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32288 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32289 * inet/netgroup.h (__internal_setnetgrent)
32290 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32291 * inet/getnetgrent_r.c (__internal_setnetgrent)
32292 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32293 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32294 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32295 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32296 * nss/nsswitch.h (db_lookup_function): Likewise.
32298 2017-08-13 Florian Weimer <fweimer@redhat.com>
32300 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32301 Remove internal_function.
32302 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32303 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32304 message argument on the stack.
32305 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
32308 2017-08-12 Mike FABIAN <mfabian@redhat.com>
32310 Adapt test case data to the changes in the thousands
32314 * localedata/tst-langinfo.sh: Adapt test case data.
32315 * stdlib/tst-strfmon_l.c: Likewise.
32316 * stdlib/tst-strtod4.c: Likewise.
32317 * stdlib/tst-strtod5i.c: Likewise.
32319 2017-08-11 Florian Weimer <fweimer@redhat.com>
32322 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
32323 Suppress pedantic warning resulting from statement expression.
32324 (__ASSERT_FUNCTION): Add missing __extension__.
32326 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32328 * benchtests/bench-memmove-large.c: Print output in JSON
32330 * benchtests/bench-memmove.c: Likewise.
32332 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
32333 * benchtests/bench-memchr.c (do_one_test): Likewise.
32334 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
32335 * benchtests/bench-memcpy.c (do_one_test): Likewise.
32336 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
32337 * benchtests/bench-memmove.c (do_one_test): Likewise.
32338 * benchtests/bench-memset-large.c (do_one_test): Likewise.
32339 * benchtests/bench-memset.c (do_one_test): Likewise.
32340 * benchtests/bench-string.h (test_init): Remove memsets.
32342 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32345 (Computing the Width of an Integer Data Type): Rename section to
32346 "Width of an Integer Type". Remove inaccurate statement regarding
32347 lack of C language facilities for determining width of integer
32348 types, and reorder content to improve flow and context of
32351 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32353 * lang.texi (va_copy): Change standard from ISO to C99.
32354 (__va_copy): Add standard and header annotation.
32355 Update description for clarity of origins and current use.
32357 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32360 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32361 xssqrtqp requires operands to be in Vector Registers
32362 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32363 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32364 (__ieee754_sqrtf128): Likewise.
32366 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32368 * sysdeps/aarch64/memcmp.S (memcmp):
32369 Rewrite of optimized memcmp.
32371 2017-08-10 Florian Weimer <fweimer@redhat.com>
32373 Introduce ld.so exceptions.
32374 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32375 (_dl_exception_create, _dl_exception_create_format)
32376 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32377 (_dl_catch_exception): Declare.
32378 (_dl_catch_error): Update comment.
32379 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32380 errstring, malloced members with exception member.
32381 (_dl_out_of_memory): Remove.
32382 (fatal_error): New function, extracted from _dl_signal_error.
32383 (_dl_signal_exception, _dl_signal_cexception): New functions.
32384 (_dl_signal_error): Call _dl_exception_create to allocate an
32386 (_dl_catch_exception): New function, based on _dl_catch_error.
32387 (_dl_catch_error): Implement using _dl_catch_exception.
32388 * elf/dl-exception.c: New file.
32389 * elf/Makefile (dl-routines): Add dl-exception.
32390 (elide-routines.os): Likewise.
32391 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32392 _dl_exception_create_format, _dl_exception_free.
32393 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32394 _dl_signal_exception.
32395 * elf/dl-lookup.c (make_string): Remove.
32396 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32397 _dl_signal_cexception, _dl_exception_free.
32398 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32399 _dl_signal_exception.
32400 * elf/dl-sym.c (do_sym): Likewise.
32401 * elf/dl-version.c (make_string): Remove.
32402 (match_symbol): Use _dl_exception_create_format,
32403 _dl_signal_cexception, _dl_exception_free.
32404 (_dl_check_map_versions): Likewise.
32405 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32406 _dl_catch_exception.
32407 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32408 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32409 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32410 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32411 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32412 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32413 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32414 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32416 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32423 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32424 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32425 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32427 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32429 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32431 2017-08-10 Florian Weimer <fweimer@redhat.com>
32433 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32434 attribute_hidden, internal_function.
32435 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32438 2017-08-10 Florian Weimer <fweimer@redhat.com>
32440 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32441 function which calls __builtin_unreachable.
32443 2017-08-10 Mike FABIAN <mfabian@redhat.com>
32445 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32446 Indian monetary formatting
32447 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32450 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32452 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32453 Fix typo in comment.
32456 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32457 PTRACE_SEIZE_DEVEL): Remove.
32458 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32459 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32460 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32461 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32462 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32464 2017-08-09 Joseph Myers <joseph@codesourcery.com>
32466 * posix/bits/types.h (__qaddr_t): Remove.
32469 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32470 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32472 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32473 (ucontext_t): Use __ctx with uc_flags.
32474 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32475 (__ctxt): Likewise.
32476 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32478 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32479 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32481 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32482 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32484 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32486 (ucontext_t): Use __ctx with uc_flags.
32487 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32488 (ucontext_t): Use __ctx with uc_flags.
32489 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32490 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32491 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32492 (ucontext_t): Use __ctx with uc_flags.
32493 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32494 undefine further down.
32495 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32497 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32498 undefine further down.
32499 (ucontext_t): Use __ctx with uc_flags.
32500 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32501 undefine further down.
32502 (ucontext_t): Use __ctx with uc_flags.
32503 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32504 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32505 Rename uc_pad to __glibc_reserved1.
32506 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32507 undefine further down.
32508 (ucontext_t): Use __ctx with uc_flags.
32509 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32511 (ucontext_t): Use __ctx with uc_flags.
32512 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32513 __ctx with uc_flags.
32514 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32515 (ucontext_t): Use __ctx with uc_flags.
32516 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32517 __ctx with uc_flags.
32519 2017-08-09 Florian Weimer <fweimer@redhat.com>
32522 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32523 before early return.
32525 2017-08-09 Andreas Schwab <schwab@suse.de>
32528 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32532 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32533 tst-compat-forwarder.
32534 (modules-names): Add tst-compat-forwarder-mod.
32535 ($(objpfx)tst-compat-forwarder): Depend on
32536 $(objpfx)tst-compat-forwarder-mod.so.
32537 * nptl/tst-compat-forwarder.c: New file.
32538 * nptl/tst-compat-forwarder-mod.c: New file.
32540 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32542 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32545 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32546 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32548 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32550 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32551 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32552 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32553 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32555 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32558 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32561 * manual/setjmp.texi (getcontex): Document uc_stack value
32562 compatibility differences.
32564 2017-08-08 Joseph Myers <joseph@codesourcery.com>
32566 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32567 (old_malloc_hook): Likewise.
32568 (old_memalign_hook): Likewise.
32569 (old_realloc_hook): Likewise.
32570 (struct hdr): Likewise.
32572 (freehook): Likewise.
32573 (mallochook): Likewise.
32574 (memalignhook): Likewise.
32575 (reallochook): Likewise.
32576 (mprobe): Likewise.
32577 * malloc/mtrace.c (mallwatch): Likewise.
32578 (tr_old_free_hook): Likewise.
32579 (tr_old_malloc_hook): Likewise.
32580 (tr_old_realloc_hook): Likewise.
32581 (tr_old_memalign_hook): Likewise.
32582 (tr_where): Likewise.
32583 (lock_and_info): Likewise.
32584 (tr_freehook): Likewise.
32585 (tr_mallochook): Likewise.
32586 (tr_reallochook): Likewise.
32587 (tr_memalignhook): Likewise.
32588 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32589 * misc/mmap.c (__mmap): Likewise.
32590 * misc/mmap64.c (__mmap64): Likewise.
32591 * misc/mprotect.c (__mprotect): Likewise.
32592 * misc/msync.c (msync): Likewise.
32593 * misc/munmap.c (__munmap): Likewise.
32594 * posix/posix_madvise.c (posix_madvise): Likewise.
32595 * socket/send.c (__send): Likewise.
32596 * socket/sendto.c (__sendto): Likewise.
32597 * socket/setsockopt.c (__setsockopt): Likewise.
32598 * string/memcmp.c (__ptr_t): Remove macro.
32599 (MEMCMP): Use void * instead of ptr_t.
32600 * string/memrchr.c (__ptr_t): Remove macro.
32601 (__memrchr): Use void * instead of ptr_t.
32602 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32603 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32604 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32605 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32606 * sysdeps/mach/msync.c (msync): Likewise.
32607 * sysdeps/mach/munmap.c (__munmap): Likewise.
32608 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32610 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32611 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32612 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32613 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32614 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32615 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32616 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32617 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32619 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32620 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32621 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32622 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32623 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32624 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32625 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32626 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32627 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32629 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32630 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32631 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32632 (MEMCMP): Use void * instead of ptr_t.
32633 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32634 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32636 2017-08-08 Florian Weimer <fweimer@redhat.com>
32638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32641 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32644 * csu/libc-tls.c: Include <startup.h> first.
32645 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32646 * elf/dl-tunables.c: Include <startup.h> first.
32647 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32648 * sysdeps/generic/startup.h: New file.
32649 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32650 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32651 (I386_USE_SYSENTER): New. Defined to 0.
32653 2017-08-08 Andreas Schwab <schwab@suse.de>
32656 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32657 * nptl/pt-system.c (system): Likewise.
32659 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32662 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32664 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32665 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32666 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32667 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32668 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32669 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32670 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32672 2017-08-07 Joseph Myers <joseph@codesourcery.com>
32675 * bits/sigaction.h (struct sigaction): Define sa_handler and
32676 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32677 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32678 [__USE_XOPEN_EXTENDED].
32679 (SA_RESTART): Likewise.
32680 (SA_NODEFER): Likewise.
32681 (SA_RESETHAND): Likewise.
32682 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32683 (struct sigaction): Define sa_handler and sa_sigaction using union
32684 also for [__USE_XOPEN_EXTENDED].
32685 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32686 [__USE_XOPEN_EXTENDED].
32687 (SA_RESTART): Likewise.
32688 (SA_NODEFER): Likewise.
32689 (SA_RESETHAND): Likewise.
32690 * sysdeps/unix/sysv/linux/bits/sigaction.h
32691 (struct sigaction): Define sa_handler and sa_sigaction using union
32692 also for [__USE_XOPEN_EXTENDED].
32693 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32694 [__USE_XOPEN_EXTENDED].
32695 (SA_RESTART): Likewise.
32696 (SA_NODEFER): Likewise.
32697 (SA_RESETHAND): Likewise.
32698 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32699 (struct sigaction): Define sa_handler and sa_sigaction using union
32700 also for [__USE_XOPEN_EXTENDED].
32701 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32702 [__USE_XOPEN_EXTENDED].
32703 (SA_RESTART): Likewise.
32704 (SA_NODEFER): Likewise.
32705 (SA_RESETHAND): Likewise.
32706 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32707 (struct sigaction): Define sa_handler and sa_sigaction using union
32708 also for [__USE_XOPEN_EXTENDED].
32709 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32710 [__USE_XOPEN_EXTENDED].
32711 (SA_RESTART): Likewise.
32712 (SA_NODEFER): Likewise.
32713 (SA_RESETHAND): Likewise.
32714 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32715 (struct sigaction): Define sa_handler and sa_sigaction using union
32716 also for [__USE_XOPEN_EXTENDED].
32717 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32718 [__USE_XOPEN_EXTENDED].
32719 (SA_RESTART): Likewise.
32720 (SA_NODEFER): Likewise.
32721 (SA_RESETHAND): Likewise.
32722 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32723 (struct sigaction): Define sa_handler and sa_sigaction using union
32724 also for [__USE_XOPEN_EXTENDED].
32725 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32726 [__USE_XOPEN_EXTENDED].
32727 (SA_RESTART): Likewise.
32728 (SA_NODEFER): Likewise.
32729 (SA_RESETHAND): Likewise.
32730 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32731 (struct sigaction): Define sa_handler and sa_sigaction using union
32732 also for [__USE_XOPEN_EXTENDED].
32733 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32734 [__USE_XOPEN_EXTENDED].
32735 (SA_RESTART): Likewise.
32736 (SA_NODEFER): Likewise. Define directly rather than as alias.
32737 (SA_RESETHAND): Likewise.
32738 (SA_INTERRUPT): Define only for [__USE_MISC].
32739 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32740 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32742 (SA_STACK): Define only for [__USE_MISC].
32743 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32744 (struct sigaction): Define sa_handler and sa_sigaction using union
32745 also for [__USE_XOPEN_EXTENDED].
32746 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32747 [__USE_XOPEN_EXTENDED].
32748 (SA_RESTART): Likewise.
32749 (SA_NODEFER): Likewise.
32750 (SA_RESETHAND): Likewise.
32751 (SA_NOPTRACE): Define only for [__USE_MISC].
32753 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32754 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32755 (struct catalog_info): Likewise.
32756 * inet/htontest.c (lo): Likewise.
32758 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32759 * inet/inet_net.c (inet_network): Likewise.
32760 * inet/inet_netof.c (inet_netof): Likewise.
32761 * inet/rcmd.c (__ivaliduser): Likewise.
32762 (iruserok): Likewise.
32763 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32764 * locale/programs/locale-spec.c (locale_special): Likewise.
32765 * nis/nis_findserv.c (struct findserv_req): Likewise.
32766 (__nis_findfastest_with_timeout): Likewise.
32767 * nss/test-netdb.c (test_network): Likewise.
32768 * resolv/inet_neta.c (inet_neta): Likewise.
32769 * resolv/ns_date.c (ns_datetosecs): Likewise.
32770 (SECS_PER_DAY): Likewise.
32771 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32773 * resolv/res_comp.c (__putlong): Likewise.
32774 (__putshort): Likewise.
32775 (_getlong): Likewise.
32776 (_getshort): Likewise.
32777 * resolv/res_debug.c (p_time): Likewise.
32778 (precsize_ntoa): Likewise.
32779 (precsize_aton): Likewise.
32780 (latlon2ul): Likewise.
32781 (loc_aton): Likewise.
32782 (loc_ntoa): Likewise.
32783 * resolv/res_hconf.c (struct netaddr): Likewise.
32784 (_res_hconf_reorder_addrs): Likewise.
32785 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32786 (clnttcp_control): Likewise.
32787 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32788 (clntudp_control): Likewise.
32789 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32790 (clntunix_control): Likewise.
32791 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32792 * sunrpc/rpc/auth.h (union des_block): Likewise.
32793 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32794 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32795 (xdrrec_create): Likewise.
32796 (xdrrec_endofrecord): Likewise.
32797 (flush_out): Likewise.
32798 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32799 (xdrstdio_putlong): Likewise.
32800 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32803 * misc/sys/cdefs.h (__long_double_t): Remove.
32804 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32805 instead of __long_double_t,
32806 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32808 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32810 * benchtests/scripts/compare_strings.py: Avoid display error when
32811 running on a text terminal.
32813 * benchtests/scripts/compare_strings.py (main): Add an
32814 optional -base option.
32815 (process_results): New argument base_func.
32817 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32819 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32820 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32822 2017-08-07 Andreas Schwab <schwab@suse.de>
32824 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32825 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32826 * intl/Makefile ($(objpfx)tst-gettext.out)
32827 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32828 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32829 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32830 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32831 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32832 * posix/Makefile ($(objpfx)globtest.out)
32833 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32834 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32835 ($(objpfx)tst-printf.out): Likewise.
32836 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32837 ($(objpfx)tst-setcontext3.out): Likewise.
32839 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32841 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32842 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32843 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32844 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32845 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32847 (CFLAGS-doasin-fma.c): New.
32848 (CFLAGS-dosincos-fma.c): Likewise.
32849 (CFLAGS-e_asin-fma.c): Likewise.
32850 (CFLAGS-e_atan2-fma.c): Likewise.
32851 (CFLAGS-e_exp-fma.c): Likewise.
32852 (CFLAGS-e_log-fma.c): Likewise.
32853 (CFLAGS-e_pow-fma.c): Likewise.
32854 (CFLAGS-halfulp-fma.c): Likewise.
32855 (CFLAGS-mpa-fma.c): Likewise.
32856 (CFLAGS-mpatan-fma.c): Likewise.
32857 (CFLAGS-mpatan2-fma.c): Likewise.
32858 (CFLAGS-mpexp-fma.c): Likewise.
32859 (CFLAGS-mplog-fma.c): Likewise.
32860 (CFLAGS-mpsqrt-fma.c): Likewise.
32861 (CFLAGS-mptan-fma.c): Likewise.
32862 (CFLAGS-s_atan-fma.c): Likewise.
32863 (CFLAGS-sincos32-fma.c): Likewise.
32864 (CFLAGS-slowexp-fma.c): Likewise.
32865 (CFLAGS-slowpow-fma.c): Likewise.
32866 (CFLAGS-s_sin-fma.c): Likewise.
32867 (CFLAGS-s_tan-fma.c): Likewise.
32868 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32869 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32870 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32871 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32872 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32873 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32874 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32875 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32876 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32877 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32878 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32879 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32880 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32881 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32882 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32883 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32884 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32885 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32886 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32887 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32888 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32889 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32890 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32891 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32892 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32893 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32894 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32895 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32896 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32897 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32898 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32900 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32902 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32903 (min_of_type_f): New macro.
32904 (min_of_type_): Likewise.
32905 (min_of_type_l): Likewise.
32906 (min_of_type_f128): Likewise.
32907 (min_of_type): Define using __MATH_TG and taking an expression
32909 (math_check_force_underflow): Pass expression instead of type to
32911 (math_check_force_underflow_nonneg): Likewise.
32913 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32915 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32916 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32917 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32919 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32921 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32922 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32923 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32924 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32925 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32926 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32927 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32928 memmove_chk-nonshared and memset_chk-nonshared
32929 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32930 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32931 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32932 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32933 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32934 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32935 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32936 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32937 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32938 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32939 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32940 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32941 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32942 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32943 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32944 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32945 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32946 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32947 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32948 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32949 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32950 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32951 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32952 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32953 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32954 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32955 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32956 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32957 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32958 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32959 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32960 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32961 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32962 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32963 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32964 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32965 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32966 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32967 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32968 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32969 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32970 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32971 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32972 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32973 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32974 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32975 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32976 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32977 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32978 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32979 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32980 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32981 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32982 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32983 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32984 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32985 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32986 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32987 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32988 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32989 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32990 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32991 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32992 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32993 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32994 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32995 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32996 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32997 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32998 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32999 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33000 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33001 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33002 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33003 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33004 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33005 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33006 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33007 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33008 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33009 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33010 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33011 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33012 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33013 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33014 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33015 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33016 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33017 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33018 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33019 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33020 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33021 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33022 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33023 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33024 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33025 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33026 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33027 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33028 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33029 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33030 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33031 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33032 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33033 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33034 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33035 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33036 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33038 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33040 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33041 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33042 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33043 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33044 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33045 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33046 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33047 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33048 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33049 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33050 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33051 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33052 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33053 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33054 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33055 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33056 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33057 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33058 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33059 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33060 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33061 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33062 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33063 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33064 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33065 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33066 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33067 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33068 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33069 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33070 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33071 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33072 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33073 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33074 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33075 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33076 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33077 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33078 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33079 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33080 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33081 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33082 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33083 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33084 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33085 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33086 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33087 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33088 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33089 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33090 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33091 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33092 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33093 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33094 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33095 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33096 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33097 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33098 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33100 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33101 Don't include <sysdep.h> nor <init-arch.h>.
33102 (_ZGVbN2v_cos): Removed.
33103 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33105 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33106 Don't include <sysdep.h> nor <init-arch.h>.
33107 (_ZGVdN4v_cos): Removed.
33108 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33110 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33111 Don't include <sysdep.h> nor <init-arch.h>.
33112 (_ZGVeN8v_cos): Removed.
33113 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33115 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33116 Don't include <sysdep.h> nor <init-arch.h>.
33117 (_ZGVbN2v_exp): Removed.
33118 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33120 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33121 Don't include <sysdep.h> nor <init-arch.h>.
33122 (_ZGVdN4v_exp): Removed.
33123 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33125 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33126 Don't include <sysdep.h> nor <init-arch.h>.
33127 (_ZGVeN8v_exp): Removed.
33128 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33130 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33131 Don't include <sysdep.h> nor <init-arch.h>.
33132 (_ZGVbN2v_log): Removed.
33133 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33135 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33136 Don't include <sysdep.h> nor <init-arch.h>.
33137 (_ZGVdN4v_log): Removed.
33138 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33140 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33141 Don't include <sysdep.h> nor <init-arch.h>.
33142 (_ZGVeN8v_log): Removed.
33143 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33145 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33146 Don't include <sysdep.h> nor <init-arch.h>.
33147 (_ZGVbN2vv_pow): Removed.
33148 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33150 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33151 Don't include <sysdep.h> nor <init-arch.h>.
33152 (_ZGVdN4vv_pow): Removed.
33153 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33155 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33156 Don't include <sysdep.h> nor <init-arch.h>.
33157 (_ZGVeN8vv_pow): Removed.
33158 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33160 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33161 Don't include <sysdep.h> nor <init-arch.h>.
33162 (_ZGVbN2v_sin): Removed.
33163 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33165 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33166 Don't include <sysdep.h> nor <init-arch.h>.
33167 (_ZGVbN4v_sin): Removed.
33168 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33170 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33171 Don't include <sysdep.h> nor <init-arch.h>.
33172 (_ZGVbN8v_sin): Removed.
33173 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33175 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33176 Don't include <sysdep.h> nor <init-arch.h>.
33177 (_ZGVbN2vvv_sincos): Removed.
33178 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33180 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33181 Don't include <sysdep.h> nor <init-arch.h>.
33182 (_ZGVdN4vvv_sincos): Removed.
33183 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33185 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33186 Don't include <sysdep.h> nor <init-arch.h>.
33187 (_ZGVeN8vvv_sincos): Removed.
33188 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33190 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33191 Don't include <sysdep.h> nor <init-arch.h>.
33192 (_ZGVeN16v_cosf): Removed.
33193 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33195 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33196 Don't include <sysdep.h> nor <init-arch.h>.
33197 (_ZGVbN4v_cosf): Removed.
33198 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33200 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33201 Don't include <sysdep.h> nor <init-arch.h>.
33202 (_ZGVdN8v_cosf): Removed.
33203 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33205 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33206 Don't include <sysdep.h> nor <init-arch.h>.
33207 (_ZGVeN16v_expf): Removed.
33208 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33210 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33211 Don't include <sysdep.h> nor <init-arch.h>.
33212 (_ZGVbN4v_expf): Removed.
33213 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33215 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33216 Don't include <sysdep.h> nor <init-arch.h>.
33217 (_ZGVdN8v_expf): Removed.
33218 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33220 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33221 Don't include <sysdep.h> nor <init-arch.h>.
33222 (_ZGVeN16v_logf): Removed.
33223 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33225 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33226 Don't include <sysdep.h> nor <init-arch.h>.
33227 (_ZGVbN4v_logf): Removed.
33228 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33230 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33231 Don't include <sysdep.h> nor <init-arch.h>.
33232 (_ZGVdN8v_logf): Removed.
33233 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
33235 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
33236 Don't include <sysdep.h> nor <init-arch.h>.
33237 (_ZGVeN16vv_powf): Removed.
33238 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
33240 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
33241 Don't include <sysdep.h> nor <init-arch.h>.
33242 (_ZGVbN4vv_powf): Removed.
33243 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
33245 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
33246 Don't include <sysdep.h> nor <init-arch.h>.
33247 (_ZGVdN8vv_powf): Removed.
33248 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
33250 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33251 Don't include <sysdep.h> nor <init-arch.h>.
33252 (_ZGVeN16vvv_sincosf): Removed.
33253 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33255 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33256 Don't include <sysdep.h> nor <init-arch.h>.
33257 (_ZGVbN4vvv_sincosf): Removed.
33258 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33260 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33261 Don't include <sysdep.h> nor <init-arch.h>.
33262 (_ZGVdN8vvv_sincosf): Removed.
33263 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33265 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33266 Don't include <sysdep.h> nor <init-arch.h>.
33267 (_ZGVeN16v_sinf): Removed.
33268 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33270 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33271 Don't include <sysdep.h> nor <init-arch.h>.
33272 (_ZGVbN4v_sinf): Removed.
33273 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33275 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33276 Don't include <sysdep.h> nor <init-arch.h>.
33277 (_ZGVdN8v_sinf): Removed.
33279 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33281 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33282 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33283 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33284 s_rint-sse4_1 and s_rintf-sse4_1.
33285 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33286 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33287 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33288 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33289 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33290 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33291 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33292 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33293 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33294 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33295 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33296 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33298 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33299 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33300 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33301 (__ceilf): Removed.
33302 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33303 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33304 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33305 (__floor): Removed.
33306 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
33307 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
33308 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33309 (__floorf): Removed.
33310 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33311 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33312 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33313 (__nearbyint): Removed.
33314 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33315 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33316 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33317 (__nearbyintf): Removed.
33318 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
33319 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
33320 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33322 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
33323 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
33324 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33325 (__rintf): Removed.
33327 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33329 * sysdeps/i386/start.S (_start): Check Check PIC instead of
33330 SHARED. Avoid dynamic relocation against main in static PIE.
33332 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33335 * elf/Makefile (CFLAGS-tst-prelink.c): New.
33336 (LDFLAGS-tst-prelink): Likewise.
33338 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33340 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
33341 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
33342 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
33343 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
33344 (INTERNAL_SYSCALL_NCS): Likewise.
33345 (LOADARGS_1): Likewise.
33346 (LOADARGS_5): Likewise.
33347 (RESTOREARGS_1): Likewise.
33348 (RESTOREARGS_5): Likewise.
33350 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33352 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
33353 (MEMPCPY_SYMBOL): Likewise.
33354 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33355 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33356 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33358 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33359 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33361 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33362 (__hidden_ver1): Don't use in libc.a.
33363 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33364 (__mempcpy): Don't create a weak alias in libc.a.
33365 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33367 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33368 (__hidden_ver1): Don't use in libc.a.
33370 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33372 * config.make.in (have-insert): New.
33373 * configure.ac (libc_cv_insert): New. Set to yes if linker
33374 supports INSERT in linker script.
33375 (AC_SUBST(libc_cv_insert): New.
33376 * configure: Regenerated.
33377 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33378 if $(have-insert) == yes.
33380 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33382 * elf/Makefile (tests): Add vismain only if
33383 $(have-protected-data) == yes.
33384 (tests-pie): Likewise.
33386 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33389 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33390 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33392 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33395 * sysdeps/i386/i586/memset.S
33396 (__memset_zero_constant_len_parameter): Removed.
33397 * sysdeps/i386/i686/memset.S
33398 (__memset_zero_constant_len_parameter): Likewise.
33399 * sysdeps/i386/i686/multiarch/memset_chk.S
33400 (__memset_zero_constant_len_parameter): Likewise.
33401 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33404 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33406 * stdlib/getentropy.c (getentropy): Change return type to int.
33408 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33410 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33412 2017-08-03 Joseph Myers <joseph@codesourcery.com>
33414 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33416 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33417 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33419 (ieee_float_shape_type): Likewise.
33420 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33421 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33422 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33423 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33424 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33425 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33426 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33427 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33428 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33430 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33431 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33432 (__ieee754_yn): Likewise.
33433 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33434 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33435 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33437 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33438 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33439 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33440 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33441 (__erfc): Likewise.
33442 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33443 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33444 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33445 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33446 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33447 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33449 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33450 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33451 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33452 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33453 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33454 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33455 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33456 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33457 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33458 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33459 (__issignaling): Likewise.
33460 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33461 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33462 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33464 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33465 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33466 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33467 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33469 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33471 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33472 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33473 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33474 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33475 (__erfcf): Likewise.
33476 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33477 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33478 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33479 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33481 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33482 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33484 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33485 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33486 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33487 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33488 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33489 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33490 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33491 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33493 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33495 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33497 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33498 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33500 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33502 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33503 (__ieee754_ynl): Likewise.
33504 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33505 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33507 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33509 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33510 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33511 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33513 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33514 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33515 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33516 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33517 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33518 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33519 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33520 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33522 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33523 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33524 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33526 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33527 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33528 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33529 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33530 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33531 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33533 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33535 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33537 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33539 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33540 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33541 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33542 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33543 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33544 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33545 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33547 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33549 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33550 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33552 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33553 (__ieee754_remainderl): Likewise.
33554 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33555 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33556 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33557 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33559 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33560 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33562 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33563 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33564 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33565 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33566 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33567 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33569 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33570 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33571 (__ieee754_y0l): Likewise.
33574 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33575 (__ieee754_y1l): Likewise.
33578 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33579 (__ieee754_ynl): Likewise.
33580 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33581 (__ieee754_lgammal_r): Likewise.
33582 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33584 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33585 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33586 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33587 (__erfcl): Likewise.
33588 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33589 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33591 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33592 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33593 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33594 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33595 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33596 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33597 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33599 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33600 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33601 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33602 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33603 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33605 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33606 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33608 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33609 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33610 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33611 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33612 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33614 2017-08-03 Florian Weimer <fweimer@redhat.com>
33617 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33618 on memory allocation failure.
33620 2017-08-03 Alan Modra <amodra@gmail.com>
33622 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33623 tst-tlsopt-powerpc.c with function name change and no test harness.
33624 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33625 Call tls_get_addr_opt_test.
33626 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33627 (modules-names): Add mod-tlsopt-powerpc.
33628 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33629 (tst-tlsopt-powerpc): Depend on .so.
33630 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33631 define. Expand use in TLS_GD and TLS_LD.
33633 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33635 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33637 * sysdeps/posix/shm_open.c: Include <pthread.h>.
33639 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33642 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33643 comparing size with that of double.
33644 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33645 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33646 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33647 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33648 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33649 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33650 unsigned __int128 types.
33652 2017-08-02 Steve Ellcey <sellcey@cavium.com>
33654 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33655 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33656 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33657 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33658 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33660 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33662 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33664 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33666 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33668 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33669 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33670 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33671 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33672 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33673 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33674 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33676 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33679 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33680 bit-field expressions passed to sizeof or typeof.
33681 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33682 (__TGMATH_F128): Likewise.
33683 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33684 (__TGMATH_CF128): Likewise.
33685 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33686 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33687 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33688 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33689 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33690 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33691 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33692 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33693 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33694 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33695 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33696 (__TGMATH_UNARY_IMAG): Likewise.
33697 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33698 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33699 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33701 (define_vars_for_type): Handle bit_field type specially.
33702 (Tests.__init__): Declare structure with bit-field element.
33704 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33707 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33708 (MEMCPY_CHK): Define only if SHARED is defined.
33709 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33711 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33714 See ChangeLog.18 for earlier changes.